@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 11.7 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets the specified application gateway.
*
* Uses Azure REST API version 2024-05-01.
*
* Other available API versions: 2018-06-01, 2018-07-01, 2018-08-01, 2018-10-01, 2018-11-01, 2018-12-01, 2019-02-01, 2019-04-01, 2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-03-01, 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 getApplicationGateway(args: GetApplicationGatewayArgs, opts?: pulumi.InvokeOptions): Promise<GetApplicationGatewayResult>;
export interface GetApplicationGatewayArgs {
/**
* The name of the application gateway.
*/
applicationGatewayName: string;
/**
* The name of the resource group.
*/
resourceGroupName: string;
}
/**
* Application gateway resource.
*/
export interface GetApplicationGatewayResult {
/**
* Authentication certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*/
readonly authenticationCertificates?: outputs.network.ApplicationGatewayAuthenticationCertificateResponse[];
/**
* Autoscale Configuration.
*/
readonly autoscaleConfiguration?: outputs.network.ApplicationGatewayAutoscaleConfigurationResponse;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Backend address pool of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*/
readonly backendAddressPools?: outputs.network.ApplicationGatewayBackendAddressPoolResponse[];
/**
* Backend http settings of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*/
readonly backendHttpSettingsCollection?: outputs.network.ApplicationGatewayBackendHttpSettingsResponse[];
/**
* Backend settings of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*/
readonly backendSettingsCollection?: outputs.network.ApplicationGatewayBackendSettingsResponse[];
/**
* Custom error configurations of the application gateway resource.
*/
readonly customErrorConfigurations?: outputs.network.ApplicationGatewayCustomErrorResponse[];
/**
* The default predefined SSL Policy applied on the application gateway resource.
*/
readonly defaultPredefinedSslPolicy: string;
/**
* Whether FIPS is enabled on the application gateway resource.
*/
readonly enableFips?: boolean;
/**
* Whether HTTP2 is enabled on the application gateway resource.
*/
readonly enableHttp2?: boolean;
/**
* A unique read-only string that changes whenever the resource is updated.
*/
readonly etag: string;
/**
* Reference to the FirewallPolicy resource.
*/
readonly firewallPolicy?: outputs.network.SubResourceResponse;
/**
* If true, associates a firewall policy with an application gateway regardless whether the policy differs from the WAF Config.
*/
readonly forceFirewallPolicyAssociation?: boolean;
/**
* Frontend IP addresses of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*/
readonly frontendIPConfigurations?: outputs.network.ApplicationGatewayFrontendIPConfigurationResponse[];
/**
* Frontend ports of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*/
readonly frontendPorts?: outputs.network.ApplicationGatewayFrontendPortResponse[];
/**
* Subnets of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*/
readonly gatewayIPConfigurations?: outputs.network.ApplicationGatewayIPConfigurationResponse[];
/**
* Global Configuration.
*/
readonly globalConfiguration?: outputs.network.ApplicationGatewayGlobalConfigurationResponse;
/**
* Http listeners of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*/
readonly httpListeners?: outputs.network.ApplicationGatewayHttpListenerResponse[];
/**
* Resource ID.
*/
readonly id?: string;
/**
* The identity of the application gateway, if configured.
*/
readonly identity?: outputs.network.ManagedServiceIdentityResponse;
/**
* Listeners of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*/
readonly listeners?: outputs.network.ApplicationGatewayListenerResponse[];
/**
* Load distribution policies of the application gateway resource.
*/
readonly loadDistributionPolicies?: outputs.network.ApplicationGatewayLoadDistributionPolicyResponse[];
/**
* Resource location.
*/
readonly location?: string;
/**
* Resource name.
*/
readonly name: string;
/**
* Operational state of the application gateway resource.
*/
readonly operationalState: string;
/**
* Private Endpoint connections on application gateway.
*/
readonly privateEndpointConnections: outputs.network.ApplicationGatewayPrivateEndpointConnectionResponse[];
/**
* PrivateLink configurations on application gateway.
*/
readonly privateLinkConfigurations?: outputs.network.ApplicationGatewayPrivateLinkConfigurationResponse[];
/**
* Probes of the application gateway resource.
*/
readonly probes?: outputs.network.ApplicationGatewayProbeResponse[];
/**
* The provisioning state of the application gateway resource.
*/
readonly provisioningState: string;
/**
* Redirect configurations of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*/
readonly redirectConfigurations?: outputs.network.ApplicationGatewayRedirectConfigurationResponse[];
/**
* Request routing rules of the application gateway resource.
*/
readonly requestRoutingRules?: outputs.network.ApplicationGatewayRequestRoutingRuleResponse[];
/**
* The resource GUID property of the application gateway resource.
*/
readonly resourceGuid: string;
/**
* Rewrite rules for the application gateway resource.
*/
readonly rewriteRuleSets?: outputs.network.ApplicationGatewayRewriteRuleSetResponse[];
/**
* Routing rules of the application gateway resource.
*/
readonly routingRules?: outputs.network.ApplicationGatewayRoutingRuleResponse[];
/**
* SKU of the application gateway resource.
*/
readonly sku?: outputs.network.ApplicationGatewaySkuResponse;
/**
* SSL certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*/
readonly sslCertificates?: outputs.network.ApplicationGatewaySslCertificateResponse[];
/**
* SSL policy of the application gateway resource.
*/
readonly sslPolicy?: outputs.network.ApplicationGatewaySslPolicyResponse;
/**
* SSL profiles of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*/
readonly sslProfiles?: outputs.network.ApplicationGatewaySslProfileResponse[];
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* Trusted client certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*/
readonly trustedClientCertificates?: outputs.network.ApplicationGatewayTrustedClientCertificateResponse[];
/**
* Trusted Root certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*/
readonly trustedRootCertificates?: outputs.network.ApplicationGatewayTrustedRootCertificateResponse[];
/**
* Resource type.
*/
readonly type: string;
/**
* URL path map of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*/
readonly urlPathMaps?: outputs.network.ApplicationGatewayUrlPathMapResponse[];
/**
* Web application firewall configuration.
*/
readonly webApplicationFirewallConfiguration?: outputs.network.ApplicationGatewayWebApplicationFirewallConfigurationResponse;
/**
* A list of availability zones denoting where the resource needs to come from.
*/
readonly zones?: string[];
}
/**
* Gets the specified application gateway.
*
* Uses Azure REST API version 2024-05-01.
*
* Other available API versions: 2018-06-01, 2018-07-01, 2018-08-01, 2018-10-01, 2018-11-01, 2018-12-01, 2019-02-01, 2019-04-01, 2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-03-01, 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 getApplicationGatewayOutput(args: GetApplicationGatewayOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetApplicationGatewayResult>;
export interface GetApplicationGatewayOutputArgs {
/**
* The name of the application gateway.
*/
applicationGatewayName: pulumi.Input<string>;
/**
* The name of the resource group.
*/
resourceGroupName: pulumi.Input<string>;
}