import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Load Balancer's Backend Address Pool. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.lb.getLB({ * name: "example-lb", * resourceGroupName: "example-resources", * }); * const exampleGetBackendAddressPool = example.then(example => azure.lb.getBackendAddressPool({ * name: "first", * loadbalancerId: example.id, * })); * export const backendAddressPoolId = exampleGetBackendAddressPool.then(exampleGetBackendAddressPool => exampleGetBackendAddressPool.id); * export const backendIpConfigurationIds = beap.backendIpConfigurations.map(__item => __item.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Network` - 2023-09-01 */ export declare function getBackendAddressPool(args: GetBackendAddressPoolArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBackendAddressPool. */ export interface GetBackendAddressPoolArgs { /** * The ID of the Load Balancer in which the Backend Address Pool exists. */ loadbalancerId: string; /** * Specifies the name of the Backend Address Pool. */ name: string; } /** * A collection of values returned by getBackendAddressPool. */ export interface GetBackendAddressPoolResult { /** * A list of `backendAddress` block as defined below. */ readonly backendAddresses: outputs.lb.GetBackendAddressPoolBackendAddress[]; /** * A list of references to IP addresses defined in network interfaces. */ readonly backendIpConfigurations: outputs.lb.GetBackendAddressPoolBackendIpConfiguration[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * A list of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool. */ readonly inboundNatRules: string[]; /** * A list of the Load Balancing Rules associated with this Backend Address Pool. */ readonly loadBalancingRules: string[]; readonly loadbalancerId: string; /** * The name of the Backend Address. */ readonly name: string; /** * A list of the Load Balancing Outbound Rules associated with this Backend Address Pool. */ readonly outboundRules: string[]; } /** * Use this data source to access information about an existing Load Balancer's Backend Address Pool. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.lb.getLB({ * name: "example-lb", * resourceGroupName: "example-resources", * }); * const exampleGetBackendAddressPool = example.then(example => azure.lb.getBackendAddressPool({ * name: "first", * loadbalancerId: example.id, * })); * export const backendAddressPoolId = exampleGetBackendAddressPool.then(exampleGetBackendAddressPool => exampleGetBackendAddressPool.id); * export const backendIpConfigurationIds = beap.backendIpConfigurations.map(__item => __item.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Network` - 2023-09-01 */ export declare function getBackendAddressPoolOutput(args: GetBackendAddressPoolOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBackendAddressPool. */ export interface GetBackendAddressPoolOutputArgs { /** * The ID of the Load Balancer in which the Backend Address Pool exists. */ loadbalancerId: pulumi.Input; /** * Specifies the name of the Backend Address Pool. */ name: pulumi.Input; }