UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

120 lines (119 loc) 4.96 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets load balancer backend address pool. * * Uses Azure REST API version 2024-05-01. * * Other available API versions: 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-08-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-07-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native network [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getLoadBalancerBackendAddressPool(args: GetLoadBalancerBackendAddressPoolArgs, opts?: pulumi.InvokeOptions): Promise<GetLoadBalancerBackendAddressPoolResult>; export interface GetLoadBalancerBackendAddressPoolArgs { /** * The name of the backend address pool. */ backendAddressPoolName: string; /** * The name of the load balancer. */ loadBalancerName: string; /** * The name of the resource group. */ resourceGroupName: string; } /** * Pool of backend IP addresses. */ export interface GetLoadBalancerBackendAddressPoolResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * An array of references to IP addresses defined in network interfaces. */ readonly backendIPConfigurations: outputs.network.NetworkInterfaceIPConfigurationResponse[]; /** * Amount of seconds Load Balancer waits for before sending RESET to client and backend address. */ readonly drainPeriodInSeconds?: number; /** * A unique read-only string that changes whenever the resource is updated. */ readonly etag: string; /** * Resource ID. */ readonly id?: string; /** * An array of references to inbound NAT rules that use this backend address pool. */ readonly inboundNatRules: outputs.network.SubResourceResponse[]; /** * An array of backend addresses. */ readonly loadBalancerBackendAddresses?: outputs.network.LoadBalancerBackendAddressResponse[]; /** * An array of references to load balancing rules that use this backend address pool. */ readonly loadBalancingRules: outputs.network.SubResourceResponse[]; /** * The location of the backend address pool. */ readonly location?: string; /** * The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource. */ readonly name?: string; /** * A reference to an outbound rule that uses this backend address pool. */ readonly outboundRule: outputs.network.SubResourceResponse; /** * An array of references to outbound rules that use this backend address pool. */ readonly outboundRules: outputs.network.SubResourceResponse[]; /** * The provisioning state of the backend address pool resource. */ readonly provisioningState: string; /** * Backend address synchronous mode for the backend pool */ readonly syncMode?: string; /** * An array of gateway load balancer tunnel interfaces. */ readonly tunnelInterfaces?: outputs.network.GatewayLoadBalancerTunnelInterfaceResponse[]; /** * Type of the resource. */ readonly type: string; /** * A reference to a virtual network. */ readonly virtualNetwork?: outputs.network.SubResourceResponse; } /** * Gets load balancer backend address pool. * * Uses Azure REST API version 2024-05-01. * * Other available API versions: 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-08-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-07-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native network [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getLoadBalancerBackendAddressPoolOutput(args: GetLoadBalancerBackendAddressPoolOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLoadBalancerBackendAddressPoolResult>; export interface GetLoadBalancerBackendAddressPoolOutputArgs { /** * The name of the backend address pool. */ backendAddressPoolName: pulumi.Input<string>; /** * The name of the load balancer. */ loadBalancerName: pulumi.Input<string>; /** * The name of the resource group. */ resourceGroupName: pulumi.Input<string>; }