import * as pulumi from "@pulumi/pulumi"; /** * Manages an association between an Application Gateway for Containers and a Subnet. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-rg", * location: "westeurope", * }); * const exampleLicationLoadBalancer = new azure.appconfiguration.LicationLoadBalancer("example", { * name: "example-alb", * location: example.location, * resourceGroupName: example.name, * }); * const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", { * name: "example-vnet", * addressSpaces: ["10.0.0.0/16"], * location: example.location, * resourceGroupName: example.name, * }); * const exampleSubnet = new azure.network.Subnet("example", { * name: "example-subnet", * resourceGroupName: example.name, * virtualNetworkName: exampleVirtualNetwork.name, * addressPrefixes: ["10.0.1.0/24"], * delegations: [{ * name: "delegation", * serviceDelegation: { * name: "Microsoft.ServiceNetworking/trafficControllers", * actions: ["Microsoft.Network/virtualNetworks/subnets/join/action"], * }, * }], * }); * const exampleLicationLoadBalancerSubnetAssociation = new azure.appconfiguration.LicationLoadBalancerSubnetAssociation("example", { * name: "example", * applicationLoadBalancerId: exampleLicationLoadBalancer.id, * subnetId: exampleSubnet.id, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.ServiceNetworking` - 2025-01-01 * * ## Import * * Application Gateway for Containers Associations can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:appconfiguration/licationLoadBalancerSubnetAssociation:LicationLoadBalancerSubnetAssociation example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/alb1/associations/association1 * ``` */ export declare class LicationLoadBalancerSubnetAssociation extends pulumi.CustomResource { /** * Get an existing LicationLoadBalancerSubnetAssociation resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: LicationLoadBalancerSubnetAssociationState, opts?: pulumi.CustomResourceOptions): LicationLoadBalancerSubnetAssociation; /** * Returns true if the given object is an instance of LicationLoadBalancerSubnetAssociation. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is LicationLoadBalancerSubnetAssociation; /** * The ID of the Application Gateway for Containers. Changing this forces a new resource to be created. */ readonly applicationLoadBalancerId: pulumi.Output; /** * The name which should be used for this Application Gateway for Containers Association. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * The ID of the subnet which the Application Gateway for Containers associated to. * * > **Note:** The subnet to be used must have a delegation for `Microsoft.ServiceNetworking/trafficControllers` as shown in the example above. */ readonly subnetId: pulumi.Output; /** * A mapping of tags which should be assigned to the Application Gateway for Containers Association. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a LicationLoadBalancerSubnetAssociation resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: LicationLoadBalancerSubnetAssociationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LicationLoadBalancerSubnetAssociation resources. */ export interface LicationLoadBalancerSubnetAssociationState { /** * The ID of the Application Gateway for Containers. Changing this forces a new resource to be created. */ applicationLoadBalancerId?: pulumi.Input; /** * The name which should be used for this Application Gateway for Containers Association. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The ID of the subnet which the Application Gateway for Containers associated to. * * > **Note:** The subnet to be used must have a delegation for `Microsoft.ServiceNetworking/trafficControllers` as shown in the example above. */ subnetId?: pulumi.Input; /** * A mapping of tags which should be assigned to the Application Gateway for Containers Association. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a LicationLoadBalancerSubnetAssociation resource. */ export interface LicationLoadBalancerSubnetAssociationArgs { /** * The ID of the Application Gateway for Containers. Changing this forces a new resource to be created. */ applicationLoadBalancerId: pulumi.Input; /** * The name which should be used for this Application Gateway for Containers Association. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The ID of the subnet which the Application Gateway for Containers associated to. * * > **Note:** The subnet to be used must have a delegation for `Microsoft.ServiceNetworking/trafficControllers` as shown in the example above. */ subnetId: pulumi.Input; /** * A mapping of tags which should be assigned to the Application Gateway for Containers Association. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }