Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.azure.network.kotlin.ApplicationGatewayArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.network.kotlin
import com.pulumi.azure.network.ApplicationGatewayArgs.builder
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayAuthenticationCertificateArgs
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayAuthenticationCertificateArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayAutoscaleConfigurationArgs
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayAutoscaleConfigurationArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayBackendAddressPoolArgs
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayBackendAddressPoolArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayBackendHttpSettingArgs
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayBackendHttpSettingArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayCustomErrorConfigurationArgs
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayCustomErrorConfigurationArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayFrontendIpConfigurationArgs
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayFrontendIpConfigurationArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayFrontendPortArgs
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayFrontendPortArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayGatewayIpConfigurationArgs
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayGatewayIpConfigurationArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayGlobalArgs
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayGlobalArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayHttpListenerArgs
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayHttpListenerArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayIdentityArgs
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayIdentityArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayPrivateLinkConfigurationArgs
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayPrivateLinkConfigurationArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayProbeArgs
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayProbeArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayRedirectConfigurationArgs
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayRedirectConfigurationArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayRequestRoutingRuleArgs
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayRequestRoutingRuleArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayRewriteRuleSetArgs
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayRewriteRuleSetArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewaySkuArgs
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewaySkuArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewaySslCertificateArgs
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewaySslCertificateArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewaySslPolicyArgs
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewaySslPolicyArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewaySslProfileArgs
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewaySslProfileArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayTrustedClientCertificateArgs
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayTrustedClientCertificateArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayTrustedRootCertificateArgs
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayTrustedRootCertificateArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayUrlPathMapArgs
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayUrlPathMapArgsBuilder
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayWafConfigurationArgs
import com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayWafConfigurationArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as azure from "@pulumi/azure";
* const example = new azure.core.ResourceGroup("example", {
* name: "example-resources",
* location: "West Europe",
* });
* const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
* name: "example-network",
* resourceGroupName: example.name,
* location: example.location,
* addressSpaces: ["10.254.0.0/16"],
* });
* const exampleSubnet = new azure.network.Subnet("example", {
* name: "example",
* resourceGroupName: example.name,
* virtualNetworkName: exampleVirtualNetwork.name,
* addressPrefixes: ["10.254.0.0/24"],
* });
* const examplePublicIp = new azure.network.PublicIp("example", {
* name: "example-pip",
* resourceGroupName: example.name,
* location: example.location,
* allocationMethod: "Dynamic",
* });
* const backendAddressPoolName = pulumi.interpolate`${exampleVirtualNetwork.name}-beap`;
* const frontendPortName = pulumi.interpolate`${exampleVirtualNetwork.name}-feport`;
* const frontendIpConfigurationName = pulumi.interpolate`${exampleVirtualNetwork.name}-feip`;
* const httpSettingName = pulumi.interpolate`${exampleVirtualNetwork.name}-be-htst`;
* const listenerName = pulumi.interpolate`${exampleVirtualNetwork.name}-httplstn`;
* const requestRoutingRuleName = pulumi.interpolate`${exampleVirtualNetwork.name}-rqrt`;
* const redirectConfigurationName = pulumi.interpolate`${exampleVirtualNetwork.name}-rdrcfg`;
* const network = new azure.network.ApplicationGateway("network", {
* name: "example-appgateway",
* resourceGroupName: example.name,
* location: example.location,
* sku: {
* name: "Standard_v2",
* tier: "Standard_v2",
* capacity: 2,
* },
* gatewayIpConfigurations: [{
* name: "my-gateway-ip-configuration",
* subnetId: exampleSubnet.id,
* }],
* frontendPorts: [{
* name: frontendPortName,
* port: 80,
* }],
* frontendIpConfigurations: [{
* name: frontendIpConfigurationName,
* publicIpAddressId: examplePublicIp.id,
* }],
* backendAddressPools: [{
* name: backendAddressPoolName,
* }],
* backendHttpSettings: [{
* name: httpSettingName,
* cookieBasedAffinity: "Disabled",
* path: "/path1/",
* port: 80,
* protocol: "Http",
* requestTimeout: 60,
* }],
* httpListeners: [{
* name: listenerName,
* frontendIpConfigurationName: frontendIpConfigurationName,
* frontendPortName: frontendPortName,
* protocol: "Http",
* }],
* requestRoutingRules: [{
* name: requestRoutingRuleName,
* priority: 9,
* ruleType: "Basic",
* httpListenerName: listenerName,
* backendAddressPoolName: backendAddressPoolName,
* backendHttpSettingsName: httpSettingName,
* }],
* });
* ```
* ```python
* import pulumi
* import pulumi_azure as azure
* example = azure.core.ResourceGroup("example",
* name="example-resources",
* location="West Europe")
* example_virtual_network = azure.network.VirtualNetwork("example",
* name="example-network",
* resource_group_name=example.name,
* location=example.location,
* address_spaces=["10.254.0.0/16"])
* example_subnet = azure.network.Subnet("example",
* name="example",
* resource_group_name=example.name,
* virtual_network_name=example_virtual_network.name,
* address_prefixes=["10.254.0.0/24"])
* example_public_ip = azure.network.PublicIp("example",
* name="example-pip",
* resource_group_name=example.name,
* location=example.location,
* allocation_method="Dynamic")
* backend_address_pool_name = example_virtual_network.name.apply(lambda name: f"{name}-beap")
* frontend_port_name = example_virtual_network.name.apply(lambda name: f"{name}-feport")
* frontend_ip_configuration_name = example_virtual_network.name.apply(lambda name: f"{name}-feip")
* http_setting_name = example_virtual_network.name.apply(lambda name: f"{name}-be-htst")
* listener_name = example_virtual_network.name.apply(lambda name: f"{name}-httplstn")
* request_routing_rule_name = example_virtual_network.name.apply(lambda name: f"{name}-rqrt")
* redirect_configuration_name = example_virtual_network.name.apply(lambda name: f"{name}-rdrcfg")
* network = azure.network.ApplicationGateway("network",
* name="example-appgateway",
* resource_group_name=example.name,
* location=example.location,
* sku={
* "name": "Standard_v2",
* "tier": "Standard_v2",
* "capacity": 2,
* },
* gateway_ip_configurations=[{
* "name": "my-gateway-ip-configuration",
* "subnet_id": example_subnet.id,
* }],
* frontend_ports=[{
* "name": frontend_port_name,
* "port": 80,
* }],
* frontend_ip_configurations=[{
* "name": frontend_ip_configuration_name,
* "public_ip_address_id": example_public_ip.id,
* }],
* backend_address_pools=[{
* "name": backend_address_pool_name,
* }],
* backend_http_settings=[{
* "name": http_setting_name,
* "cookie_based_affinity": "Disabled",
* "path": "/path1/",
* "port": 80,
* "protocol": "Http",
* "request_timeout": 60,
* }],
* http_listeners=[{
* "name": listener_name,
* "frontend_ip_configuration_name": frontend_ip_configuration_name,
* "frontend_port_name": frontend_port_name,
* "protocol": "Http",
* }],
* request_routing_rules=[{
* "name": request_routing_rule_name,
* "priority": 9,
* "rule_type": "Basic",
* "http_listener_name": listener_name,
* "backend_address_pool_name": backend_address_pool_name,
* "backend_http_settings_name": http_setting_name,
* }])
* ```
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using Azure = Pulumi.Azure;
* return await Deployment.RunAsync(() =>
* {
* var example = new Azure.Core.ResourceGroup("example", new()
* {
* Name = "example-resources",
* Location = "West Europe",
* });
* var exampleVirtualNetwork = new Azure.Network.VirtualNetwork("example", new()
* {
* Name = "example-network",
* ResourceGroupName = example.Name,
* Location = example.Location,
* AddressSpaces = new[]
* {
* "10.254.0.0/16",
* },
* });
* var exampleSubnet = new Azure.Network.Subnet("example", new()
* {
* Name = "example",
* ResourceGroupName = example.Name,
* VirtualNetworkName = exampleVirtualNetwork.Name,
* AddressPrefixes = new[]
* {
* "10.254.0.0/24",
* },
* });
* var examplePublicIp = new Azure.Network.PublicIp("example", new()
* {
* Name = "example-pip",
* ResourceGroupName = example.Name,
* Location = example.Location,
* AllocationMethod = "Dynamic",
* });
* var backendAddressPoolName = exampleVirtualNetwork.Name.Apply(name => $"{name}-beap");
* var frontendPortName = exampleVirtualNetwork.Name.Apply(name => $"{name}-feport");
* var frontendIpConfigurationName = exampleVirtualNetwork.Name.Apply(name => $"{name}-feip");
* var httpSettingName = exampleVirtualNetwork.Name.Apply(name => $"{name}-be-htst");
* var listenerName = exampleVirtualNetwork.Name.Apply(name => $"{name}-httplstn");
* var requestRoutingRuleName = exampleVirtualNetwork.Name.Apply(name => $"{name}-rqrt");
* var redirectConfigurationName = exampleVirtualNetwork.Name.Apply(name => $"{name}-rdrcfg");
* var network = new Azure.Network.ApplicationGateway("network", new()
* {
* Name = "example-appgateway",
* ResourceGroupName = example.Name,
* Location = example.Location,
* Sku = new Azure.Network.Inputs.ApplicationGatewaySkuArgs
* {
* Name = "Standard_v2",
* Tier = "Standard_v2",
* Capacity = 2,
* },
* GatewayIpConfigurations = new[]
* {
* new Azure.Network.Inputs.ApplicationGatewayGatewayIpConfigurationArgs
* {
* Name = "my-gateway-ip-configuration",
* SubnetId = exampleSubnet.Id,
* },
* },
* FrontendPorts = new[]
* {
* new Azure.Network.Inputs.ApplicationGatewayFrontendPortArgs
* {
* Name = frontendPortName,
* Port = 80,
* },
* },
* FrontendIpConfigurations = new[]
* {
* new Azure.Network.Inputs.ApplicationGatewayFrontendIpConfigurationArgs
* {
* Name = frontendIpConfigurationName,
* PublicIpAddressId = examplePublicIp.Id,
* },
* },
* BackendAddressPools = new[]
* {
* new Azure.Network.Inputs.ApplicationGatewayBackendAddressPoolArgs
* {
* Name = backendAddressPoolName,
* },
* },
* BackendHttpSettings = new[]
* {
* new Azure.Network.Inputs.ApplicationGatewayBackendHttpSettingArgs
* {
* Name = httpSettingName,
* CookieBasedAffinity = "Disabled",
* Path = "/path1/",
* Port = 80,
* Protocol = "Http",
* RequestTimeout = 60,
* },
* },
* HttpListeners = new[]
* {
* new Azure.Network.Inputs.ApplicationGatewayHttpListenerArgs
* {
* Name = listenerName,
* FrontendIpConfigurationName = frontendIpConfigurationName,
* FrontendPortName = frontendPortName,
* Protocol = "Http",
* },
* },
* RequestRoutingRules = new[]
* {
* new Azure.Network.Inputs.ApplicationGatewayRequestRoutingRuleArgs
* {
* Name = requestRoutingRuleName,
* Priority = 9,
* RuleType = "Basic",
* HttpListenerName = listenerName,
* BackendAddressPoolName = backendAddressPoolName,
* BackendHttpSettingsName = httpSettingName,
* },
* },
* });
* });
* ```
* ```go
* package main
* import (
* "fmt"
* "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
* "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
* "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
* )
* func main() {
* pulumi.Run(func(ctx *pulumi.Context) error {
* example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
* Name: pulumi.String("example-resources"),
* Location: pulumi.String("West Europe"),
* })
* if err != nil {
* return err
* }
* exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
* Name: pulumi.String("example-network"),
* ResourceGroupName: example.Name,
* Location: example.Location,
* AddressSpaces: pulumi.StringArray{
* pulumi.String("10.254.0.0/16"),
* },
* })
* if err != nil {
* return err
* }
* exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
* Name: pulumi.String("example"),
* ResourceGroupName: example.Name,
* VirtualNetworkName: exampleVirtualNetwork.Name,
* AddressPrefixes: pulumi.StringArray{
* pulumi.String("10.254.0.0/24"),
* },
* })
* if err != nil {
* return err
* }
* examplePublicIp, err := network.NewPublicIp(ctx, "example", &network.PublicIpArgs{
* Name: pulumi.String("example-pip"),
* ResourceGroupName: example.Name,
* Location: example.Location,
* AllocationMethod: pulumi.String("Dynamic"),
* })
* if err != nil {
* return err
* }
* backendAddressPoolName := exampleVirtualNetwork.Name.ApplyT(func(name string) (string, error) {
* return fmt.Sprintf("%v-beap", name), nil
* }).(pulumi.StringOutput)
* frontendPortName := exampleVirtualNetwork.Name.ApplyT(func(name string) (string, error) {
* return fmt.Sprintf("%v-feport", name), nil
* }).(pulumi.StringOutput)
* frontendIpConfigurationName := exampleVirtualNetwork.Name.ApplyT(func(name string) (string, error) {
* return fmt.Sprintf("%v-feip", name), nil
* }).(pulumi.StringOutput)
* httpSettingName := exampleVirtualNetwork.Name.ApplyT(func(name string) (string, error) {
* return fmt.Sprintf("%v-be-htst", name), nil
* }).(pulumi.StringOutput)
* listenerName := exampleVirtualNetwork.Name.ApplyT(func(name string) (string, error) {
* return fmt.Sprintf("%v-httplstn", name), nil
* }).(pulumi.StringOutput)
* requestRoutingRuleName := exampleVirtualNetwork.Name.ApplyT(func(name string) (string, error) {
* return fmt.Sprintf("%v-rqrt", name), nil
* }).(pulumi.StringOutput)
* _ = exampleVirtualNetwork.Name.ApplyT(func(name string) (string, error) {
* return fmt.Sprintf("%v-rdrcfg", name), nil
* }).(pulumi.StringOutput)
* _, err = network.NewApplicationGateway(ctx, "network", &network.ApplicationGatewayArgs{
* Name: pulumi.String("example-appgateway"),
* ResourceGroupName: example.Name,
* Location: example.Location,
* Sku: &network.ApplicationGatewaySkuArgs{
* Name: pulumi.String("Standard_v2"),
* Tier: pulumi.String("Standard_v2"),
* Capacity: pulumi.Int(2),
* },
* GatewayIpConfigurations: network.ApplicationGatewayGatewayIpConfigurationArray{
* &network.ApplicationGatewayGatewayIpConfigurationArgs{
* Name: pulumi.String("my-gateway-ip-configuration"),
* SubnetId: exampleSubnet.ID(),
* },
* },
* FrontendPorts: network.ApplicationGatewayFrontendPortArray{
* &network.ApplicationGatewayFrontendPortArgs{
* Name: pulumi.String(frontendPortName),
* Port: pulumi.Int(80),
* },
* },
* FrontendIpConfigurations: network.ApplicationGatewayFrontendIpConfigurationArray{
* &network.ApplicationGatewayFrontendIpConfigurationArgs{
* Name: pulumi.String(frontendIpConfigurationName),
* PublicIpAddressId: examplePublicIp.ID(),
* },
* },
* BackendAddressPools: network.ApplicationGatewayBackendAddressPoolArray{
* &network.ApplicationGatewayBackendAddressPoolArgs{
* Name: pulumi.String(backendAddressPoolName),
* },
* },
* BackendHttpSettings: network.ApplicationGatewayBackendHttpSettingArray{
* &network.ApplicationGatewayBackendHttpSettingArgs{
* Name: pulumi.String(httpSettingName),
* CookieBasedAffinity: pulumi.String("Disabled"),
* Path: pulumi.String("/path1/"),
* Port: pulumi.Int(80),
* Protocol: pulumi.String("Http"),
* RequestTimeout: pulumi.Int(60),
* },
* },
* HttpListeners: network.ApplicationGatewayHttpListenerArray{
* &network.ApplicationGatewayHttpListenerArgs{
* Name: pulumi.String(listenerName),
* FrontendIpConfigurationName: pulumi.String(frontendIpConfigurationName),
* FrontendPortName: pulumi.String(frontendPortName),
* Protocol: pulumi.String("Http"),
* },
* },
* RequestRoutingRules: network.ApplicationGatewayRequestRoutingRuleArray{
* &network.ApplicationGatewayRequestRoutingRuleArgs{
* Name: pulumi.String(requestRoutingRuleName),
* Priority: pulumi.Int(9),
* RuleType: pulumi.String("Basic"),
* HttpListenerName: pulumi.String(listenerName),
* BackendAddressPoolName: pulumi.String(backendAddressPoolName),
* BackendHttpSettingsName: pulumi.String(httpSettingName),
* },
* },
* })
* if err != nil {
* return err
* }
* return nil
* })
* }
* ```
* ```java
* package generated_program;
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.core.ResourceGroup;
* import com.pulumi.azure.core.ResourceGroupArgs;
* import com.pulumi.azure.network.VirtualNetwork;
* import com.pulumi.azure.network.VirtualNetworkArgs;
* import com.pulumi.azure.network.Subnet;
* import com.pulumi.azure.network.SubnetArgs;
* import com.pulumi.azure.network.PublicIp;
* import com.pulumi.azure.network.PublicIpArgs;
* import com.pulumi.azure.network.ApplicationGateway;
* import com.pulumi.azure.network.ApplicationGatewayArgs;
* import com.pulumi.azure.network.inputs.ApplicationGatewaySkuArgs;
* import com.pulumi.azure.network.inputs.ApplicationGatewayGatewayIpConfigurationArgs;
* import com.pulumi.azure.network.inputs.ApplicationGatewayFrontendPortArgs;
* import com.pulumi.azure.network.inputs.ApplicationGatewayFrontendIpConfigurationArgs;
* import com.pulumi.azure.network.inputs.ApplicationGatewayBackendAddressPoolArgs;
* import com.pulumi.azure.network.inputs.ApplicationGatewayBackendHttpSettingArgs;
* import com.pulumi.azure.network.inputs.ApplicationGatewayHttpListenerArgs;
* import com.pulumi.azure.network.inputs.ApplicationGatewayRequestRoutingRuleArgs;
* 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 ResourceGroup("example", ResourceGroupArgs.builder()
* .name("example-resources")
* .location("West Europe")
* .build());
* var exampleVirtualNetwork = new VirtualNetwork("exampleVirtualNetwork", VirtualNetworkArgs.builder()
* .name("example-network")
* .resourceGroupName(example.name())
* .location(example.location())
* .addressSpaces("10.254.0.0/16")
* .build());
* var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()
* .name("example")
* .resourceGroupName(example.name())
* .virtualNetworkName(exampleVirtualNetwork.name())
* .addressPrefixes("10.254.0.0/24")
* .build());
* var examplePublicIp = new PublicIp("examplePublicIp", PublicIpArgs.builder()
* .name("example-pip")
* .resourceGroupName(example.name())
* .location(example.location())
* .allocationMethod("Dynamic")
* .build());
* final var backendAddressPoolName = exampleVirtualNetwork.name().applyValue(name -> String.format("%s-beap", name));
* final var frontendPortName = exampleVirtualNetwork.name().applyValue(name -> String.format("%s-feport", name));
* final var frontendIpConfigurationName = exampleVirtualNetwork.name().applyValue(name -> String.format("%s-feip", name));
* final var httpSettingName = exampleVirtualNetwork.name().applyValue(name -> String.format("%s-be-htst", name));
* final var listenerName = exampleVirtualNetwork.name().applyValue(name -> String.format("%s-httplstn", name));
* final var requestRoutingRuleName = exampleVirtualNetwork.name().applyValue(name -> String.format("%s-rqrt", name));
* final var redirectConfigurationName = exampleVirtualNetwork.name().applyValue(name -> String.format("%s-rdrcfg", name));
* var network = new ApplicationGateway("network", ApplicationGatewayArgs.builder()
* .name("example-appgateway")
* .resourceGroupName(example.name())
* .location(example.location())
* .sku(ApplicationGatewaySkuArgs.builder()
* .name("Standard_v2")
* .tier("Standard_v2")
* .capacity(2)
* .build())
* .gatewayIpConfigurations(ApplicationGatewayGatewayIpConfigurationArgs.builder()
* .name("my-gateway-ip-configuration")
* .subnetId(exampleSubnet.id())
* .build())
* .frontendPorts(ApplicationGatewayFrontendPortArgs.builder()
* .name(frontendPortName)
* .port(80)
* .build())
* .frontendIpConfigurations(ApplicationGatewayFrontendIpConfigurationArgs.builder()
* .name(frontendIpConfigurationName)
* .publicIpAddressId(examplePublicIp.id())
* .build())
* .backendAddressPools(ApplicationGatewayBackendAddressPoolArgs.builder()
* .name(backendAddressPoolName)
* .build())
* .backendHttpSettings(ApplicationGatewayBackendHttpSettingArgs.builder()
* .name(httpSettingName)
* .cookieBasedAffinity("Disabled")
* .path("/path1/")
* .port(80)
* .protocol("Http")
* .requestTimeout(60)
* .build())
* .httpListeners(ApplicationGatewayHttpListenerArgs.builder()
* .name(listenerName)
* .frontendIpConfigurationName(frontendIpConfigurationName)
* .frontendPortName(frontendPortName)
* .protocol("Http")
* .build())
* .requestRoutingRules(ApplicationGatewayRequestRoutingRuleArgs.builder()
* .name(requestRoutingRuleName)
* .priority(9)
* .ruleType("Basic")
* .httpListenerName(listenerName)
* .backendAddressPoolName(backendAddressPoolName)
* .backendHttpSettingsName(httpSettingName)
* .build())
* .build());
* }
* }
* ```
* ```yaml
* resources:
* example:
* type: azure:core:ResourceGroup
* properties:
* name: example-resources
* location: West Europe
* exampleVirtualNetwork:
* type: azure:network:VirtualNetwork
* name: example
* properties:
* name: example-network
* resourceGroupName: ${example.name}
* location: ${example.location}
* addressSpaces:
* - 10.254.0.0/16
* exampleSubnet:
* type: azure:network:Subnet
* name: example
* properties:
* name: example
* resourceGroupName: ${example.name}
* virtualNetworkName: ${exampleVirtualNetwork.name}
* addressPrefixes:
* - 10.254.0.0/24
* examplePublicIp:
* type: azure:network:PublicIp
* name: example
* properties:
* name: example-pip
* resourceGroupName: ${example.name}
* location: ${example.location}
* allocationMethod: Dynamic
* network:
* type: azure:network:ApplicationGateway
* properties:
* name: example-appgateway
* resourceGroupName: ${example.name}
* location: ${example.location}
* sku:
* name: Standard_v2
* tier: Standard_v2
* capacity: 2
* gatewayIpConfigurations:
* - name: my-gateway-ip-configuration
* subnetId: ${exampleSubnet.id}
* frontendPorts:
* - name: ${frontendPortName}
* port: 80
* frontendIpConfigurations:
* - name: ${frontendIpConfigurationName}
* publicIpAddressId: ${examplePublicIp.id}
* backendAddressPools:
* - name: ${backendAddressPoolName}
* backendHttpSettings:
* - name: ${httpSettingName}
* cookieBasedAffinity: Disabled
* path: /path1/
* port: 80
* protocol: Http
* requestTimeout: 60
* httpListeners:
* - name: ${listenerName}
* frontendIpConfigurationName: ${frontendIpConfigurationName}
* frontendPortName: ${frontendPortName}
* protocol: Http
* requestRoutingRules:
* - name: ${requestRoutingRuleName}
* priority: 9
* ruleType: Basic
* httpListenerName: ${listenerName}
* backendAddressPoolName: ${backendAddressPoolName}
* backendHttpSettingsName: ${httpSettingName}
* variables:
* backendAddressPoolName: ${exampleVirtualNetwork.name}-beap
* frontendPortName: ${exampleVirtualNetwork.name}-feport
* frontendIpConfigurationName: ${exampleVirtualNetwork.name}-feip
* httpSettingName: ${exampleVirtualNetwork.name}-be-htst
* listenerName: ${exampleVirtualNetwork.name}-httplstn
* requestRoutingRuleName: ${exampleVirtualNetwork.name}-rqrt
* redirectConfigurationName: ${exampleVirtualNetwork.name}-rdrcfg
* ```
*
* ## Import
* Application Gateway's can be imported using the `resource id`, e.g.
* ```sh
* $ pulumi import azure:network/applicationGateway:ApplicationGateway example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/applicationGateways/myGateway1
* ```
* @property authenticationCertificates One or more `authentication_certificate` blocks as defined below.
* @property autoscaleConfiguration An `autoscale_configuration` block as defined below.
* @property backendAddressPools One or more `backend_address_pool` blocks as defined below.
* @property backendHttpSettings One or more `backend_http_settings` blocks as defined below.
* @property customErrorConfigurations One or more `custom_error_configuration` blocks as defined below.
* @property enableHttp2 Is HTTP2 enabled on the application gateway resource? Defaults to `false`.
* @property fipsEnabled Is FIPS enabled on the Application Gateway?
* @property firewallPolicyId The ID of the Web Application Firewall Policy.
* @property forceFirewallPolicyAssociation Is the Firewall Policy associated with the Application Gateway?
* @property frontendIpConfigurations One or more `frontend_ip_configuration` blocks as defined below.
* @property frontendPorts One or more `frontend_port` blocks as defined below.
* @property gatewayIpConfigurations One or more `gateway_ip_configuration` blocks as defined below.
* @property global A `global` block as defined below.
* @property httpListeners One or more `http_listener` blocks as defined below.
* @property identity An `identity` block as defined below.
* @property location The Azure region where the Application Gateway should exist. Changing this forces a new resource to be created.
* @property name The name of the Application Gateway. Changing this forces a new resource to be created.
* @property privateLinkConfigurations One or more `private_link_configuration` blocks as defined below.
* @property probes One or more `probe` blocks as defined below.
* @property redirectConfigurations One or more `redirect_configuration` blocks as defined below.
* @property requestRoutingRules One or more `request_routing_rule` blocks as defined below.
* @property resourceGroupName The name of the resource group in which to the Application Gateway should exist. Changing this forces a new resource to be created.
* @property rewriteRuleSets One or more `rewrite_rule_set` blocks as defined below. Only valid for v2 SKUs.
* @property sku A `sku` block as defined below.
* @property sslCertificates One or more `ssl_certificate` blocks as defined below.
* @property sslPolicy a `ssl_policy` block as defined below.
* @property sslProfiles One or more `ssl_profile` blocks as defined below.
* @property tags A mapping of tags to assign to the resource.
* @property trustedClientCertificates One or more `trusted_client_certificate` blocks as defined below.
* @property trustedRootCertificates One or more `trusted_root_certificate` blocks as defined below.
* @property urlPathMaps One or more `url_path_map` blocks as defined below.
* @property wafConfiguration A `waf_configuration` block as defined below.
* @property zones Specifies a list of Availability Zones in which this Application Gateway should be located. Changing this forces a new Application Gateway to be created.
* > **Please Note**: Availability Zones are not supported in all regions at this time, please check the [official documentation](https://docs.microsoft.com/azure/availability-zones/az-overview) for more information. They are also only supported for [v2 SKUs](https://docs.microsoft.com/azure/application-gateway/application-gateway-autoscaling-zone-redundant)
*/
public data class ApplicationGatewayArgs(
public val authenticationCertificates: Output>? = null,
public val autoscaleConfiguration: Output? = null,
public val backendAddressPools: Output>? = null,
public val backendHttpSettings: Output>? = null,
public val customErrorConfigurations: Output>? = null,
public val enableHttp2: Output? = null,
public val fipsEnabled: Output? = null,
public val firewallPolicyId: Output? = null,
public val forceFirewallPolicyAssociation: Output? = null,
public val frontendIpConfigurations: Output>? =
null,
public val frontendPorts: Output>? = null,
public val gatewayIpConfigurations: Output>? =
null,
public val global: Output? = null,
public val httpListeners: Output>? = null,
public val identity: Output? = null,
public val location: Output? = null,
public val name: Output? = null,
public val privateLinkConfigurations: Output>? = null,
public val probes: Output>? = null,
public val redirectConfigurations: Output>? =
null,
public val requestRoutingRules: Output>? = null,
public val resourceGroupName: Output? = null,
public val rewriteRuleSets: Output>? = null,
public val sku: Output? = null,
public val sslCertificates: Output>? = null,
public val sslPolicy: Output? = null,
public val sslProfiles: Output>? = null,
public val tags: Output>? = null,
public val trustedClientCertificates: Output>? = null,
public val trustedRootCertificates: Output>? =
null,
public val urlPathMaps: Output>? = null,
public val wafConfiguration: Output? = null,
public val zones: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.network.ApplicationGatewayArgs =
com.pulumi.azure.network.ApplicationGatewayArgs.builder()
.authenticationCertificates(
authenticationCertificates?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.autoscaleConfiguration(
autoscaleConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.backendAddressPools(
backendAddressPools?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.backendHttpSettings(
backendHttpSettings?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.customErrorConfigurations(
customErrorConfigurations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.enableHttp2(enableHttp2?.applyValue({ args0 -> args0 }))
.fipsEnabled(fipsEnabled?.applyValue({ args0 -> args0 }))
.firewallPolicyId(firewallPolicyId?.applyValue({ args0 -> args0 }))
.forceFirewallPolicyAssociation(forceFirewallPolicyAssociation?.applyValue({ args0 -> args0 }))
.frontendIpConfigurations(
frontendIpConfigurations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.frontendPorts(
frontendPorts?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.gatewayIpConfigurations(
gatewayIpConfigurations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.global(global?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.httpListeners(
httpListeners?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.identity(identity?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.location(location?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.privateLinkConfigurations(
privateLinkConfigurations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.probes(probes?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.redirectConfigurations(
redirectConfigurations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.requestRoutingRules(
requestRoutingRules?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.resourceGroupName(resourceGroupName?.applyValue({ args0 -> args0 }))
.rewriteRuleSets(
rewriteRuleSets?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.sku(sku?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.sslCertificates(
sslCertificates?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.sslPolicy(sslPolicy?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.sslProfiles(
sslProfiles?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.key.to(args0.value) }).toMap() }))
.trustedClientCertificates(
trustedClientCertificates?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.trustedRootCertificates(
trustedRootCertificates?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.urlPathMaps(
urlPathMaps?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.wafConfiguration(wafConfiguration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.zones(zones?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [ApplicationGatewayArgs].
*/
@PulumiTagMarker
public class ApplicationGatewayArgsBuilder internal constructor() {
private var authenticationCertificates:
Output>? = null
private var autoscaleConfiguration: Output? = null
private var backendAddressPools: Output>? = null
private var backendHttpSettings: Output>? = null
private var customErrorConfigurations:
Output>? = null
private var enableHttp2: Output? = null
private var fipsEnabled: Output? = null
private var firewallPolicyId: Output? = null
private var forceFirewallPolicyAssociation: Output? = null
private var frontendIpConfigurations: Output>? =
null
private var frontendPorts: Output>? = null
private var gatewayIpConfigurations: Output>? =
null
private var global: Output? = null
private var httpListeners: Output>? = null
private var identity: Output? = null
private var location: Output? = null
private var name: Output? = null
private var privateLinkConfigurations:
Output>? = null
private var probes: Output>? = null
private var redirectConfigurations: Output>? =
null
private var requestRoutingRules: Output>? = null
private var resourceGroupName: Output? = null
private var rewriteRuleSets: Output>? = null
private var sku: Output? = null
private var sslCertificates: Output>? = null
private var sslPolicy: Output? = null
private var sslProfiles: Output>? = null
private var tags: Output>? = null
private var trustedClientCertificates:
Output>? = null
private var trustedRootCertificates: Output>? =
null
private var urlPathMaps: Output>? = null
private var wafConfiguration: Output? = null
private var zones: Output>? = null
/**
* @param value One or more `authentication_certificate` blocks as defined below.
*/
@JvmName("luiteudmvwfcssfr")
public suspend fun authenticationCertificates(`value`: Output>) {
this.authenticationCertificates = value
}
@JvmName("hdatrrsrgqjaotpn")
public suspend fun authenticationCertificates(vararg values: Output) {
this.authenticationCertificates = Output.all(values.asList())
}
/**
* @param values One or more `authentication_certificate` blocks as defined below.
*/
@JvmName("jscypocxhaqhmwcm")
public suspend fun authenticationCertificates(values: List>) {
this.authenticationCertificates = Output.all(values)
}
/**
* @param value An `autoscale_configuration` block as defined below.
*/
@JvmName("bhewjlaricpjlyqc")
public suspend fun autoscaleConfiguration(`value`: Output) {
this.autoscaleConfiguration = value
}
/**
* @param value One or more `backend_address_pool` blocks as defined below.
*/
@JvmName("wurbybsavreukprl")
public suspend fun backendAddressPools(`value`: Output>) {
this.backendAddressPools = value
}
@JvmName("koajioepxuokqoxl")
public suspend fun backendAddressPools(vararg values: Output) {
this.backendAddressPools = Output.all(values.asList())
}
/**
* @param values One or more `backend_address_pool` blocks as defined below.
*/
@JvmName("nxbmjsgbrurpyhea")
public suspend fun backendAddressPools(values: List>) {
this.backendAddressPools = Output.all(values)
}
/**
* @param value One or more `backend_http_settings` blocks as defined below.
*/
@JvmName("moufbywbfhwvhplx")
public suspend fun backendHttpSettings(`value`: Output>) {
this.backendHttpSettings = value
}
@JvmName("dgvnjjnnlcsjlmjk")
public suspend fun backendHttpSettings(vararg values: Output) {
this.backendHttpSettings = Output.all(values.asList())
}
/**
* @param values One or more `backend_http_settings` blocks as defined below.
*/
@JvmName("bnjgiadskbwwrvga")
public suspend fun backendHttpSettings(values: List>) {
this.backendHttpSettings = Output.all(values)
}
/**
* @param value One or more `custom_error_configuration` blocks as defined below.
*/
@JvmName("ktxroraomifupque")
public suspend fun customErrorConfigurations(`value`: Output>) {
this.customErrorConfigurations = value
}
@JvmName("ganvsvwekwqamwwj")
public suspend fun customErrorConfigurations(vararg values: Output) {
this.customErrorConfigurations = Output.all(values.asList())
}
/**
* @param values One or more `custom_error_configuration` blocks as defined below.
*/
@JvmName("imxyolcxdguvrpff")
public suspend fun customErrorConfigurations(values: List>) {
this.customErrorConfigurations = Output.all(values)
}
/**
* @param value Is HTTP2 enabled on the application gateway resource? Defaults to `false`.
*/
@JvmName("jaktobvqwtctcfte")
public suspend fun enableHttp2(`value`: Output) {
this.enableHttp2 = value
}
/**
* @param value Is FIPS enabled on the Application Gateway?
*/
@JvmName("irvfnmwtyeqdxsqq")
public suspend fun fipsEnabled(`value`: Output) {
this.fipsEnabled = value
}
/**
* @param value The ID of the Web Application Firewall Policy.
*/
@JvmName("dusfmpakunpyxiay")
public suspend fun firewallPolicyId(`value`: Output) {
this.firewallPolicyId = value
}
/**
* @param value Is the Firewall Policy associated with the Application Gateway?
*/
@JvmName("eosmkifnayftmckn")
public suspend fun forceFirewallPolicyAssociation(`value`: Output) {
this.forceFirewallPolicyAssociation = value
}
/**
* @param value One or more `frontend_ip_configuration` blocks as defined below.
*/
@JvmName("vafjmpvijcnaslcr")
public suspend fun frontendIpConfigurations(`value`: Output>) {
this.frontendIpConfigurations = value
}
@JvmName("lgdiohfainyawsjt")
public suspend fun frontendIpConfigurations(vararg values: Output) {
this.frontendIpConfigurations = Output.all(values.asList())
}
/**
* @param values One or more `frontend_ip_configuration` blocks as defined below.
*/
@JvmName("wrfckepevxcitxsu")
public suspend fun frontendIpConfigurations(values: List>) {
this.frontendIpConfigurations = Output.all(values)
}
/**
* @param value One or more `frontend_port` blocks as defined below.
*/
@JvmName("yrvysohdprscefre")
public suspend fun frontendPorts(`value`: Output>) {
this.frontendPorts = value
}
@JvmName("mhsxjwypsaoljvdq")
public suspend fun frontendPorts(vararg values: Output) {
this.frontendPorts = Output.all(values.asList())
}
/**
* @param values One or more `frontend_port` blocks as defined below.
*/
@JvmName("aarwtvbdjiikkiif")
public suspend fun frontendPorts(values: List>) {
this.frontendPorts = Output.all(values)
}
/**
* @param value One or more `gateway_ip_configuration` blocks as defined below.
*/
@JvmName("myqjnvgjsffvsnsr")
public suspend fun gatewayIpConfigurations(`value`: Output>) {
this.gatewayIpConfigurations = value
}
@JvmName("roqtnohvcovbpccc")
public suspend fun gatewayIpConfigurations(vararg values: Output) {
this.gatewayIpConfigurations = Output.all(values.asList())
}
/**
* @param values One or more `gateway_ip_configuration` blocks as defined below.
*/
@JvmName("uwuncphommuaobmb")
public suspend fun gatewayIpConfigurations(values: List>) {
this.gatewayIpConfigurations = Output.all(values)
}
/**
* @param value A `global` block as defined below.
*/
@JvmName("vwxjwdbuvnflsowc")
public suspend fun global(`value`: Output) {
this.global = value
}
/**
* @param value One or more `http_listener` blocks as defined below.
*/
@JvmName("kvqqgrookpghvqtj")
public suspend fun httpListeners(`value`: Output>) {
this.httpListeners = value
}
@JvmName("xqeqttodfuwsmhhi")
public suspend fun httpListeners(vararg values: Output) {
this.httpListeners = Output.all(values.asList())
}
/**
* @param values One or more `http_listener` blocks as defined below.
*/
@JvmName("gdxbggxmfctpuqvj")
public suspend fun httpListeners(values: List>) {
this.httpListeners = Output.all(values)
}
/**
* @param value An `identity` block as defined below.
*/
@JvmName("ruqovdmtpiftqtiq")
public suspend fun identity(`value`: Output) {
this.identity = value
}
/**
* @param value The Azure region where the Application Gateway should exist. Changing this forces a new resource to be created.
*/
@JvmName("wsuxsciensaotktt")
public suspend fun location(`value`: Output) {
this.location = value
}
/**
* @param value The name of the Application Gateway. Changing this forces a new resource to be created.
*/
@JvmName("lhbljtvhouifdcvs")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value One or more `private_link_configuration` blocks as defined below.
*/
@JvmName("abgobiqkgcjykdgd")
public suspend fun privateLinkConfigurations(`value`: Output>) {
this.privateLinkConfigurations = value
}
@JvmName("nrkmmethxijqdhlm")
public suspend fun privateLinkConfigurations(vararg values: Output) {
this.privateLinkConfigurations = Output.all(values.asList())
}
/**
* @param values One or more `private_link_configuration` blocks as defined below.
*/
@JvmName("vgbiqdetnqxkjqqc")
public suspend fun privateLinkConfigurations(values: List>) {
this.privateLinkConfigurations = Output.all(values)
}
/**
* @param value One or more `probe` blocks as defined below.
*/
@JvmName("pvjiaijcjkvklsjf")
public suspend fun probes(`value`: Output>) {
this.probes = value
}
@JvmName("tcjjgdlbihqxnwrc")
public suspend fun probes(vararg values: Output) {
this.probes = Output.all(values.asList())
}
/**
* @param values One or more `probe` blocks as defined below.
*/
@JvmName("reckpksdmwfweoto")
public suspend fun probes(values: List>) {
this.probes = Output.all(values)
}
/**
* @param value One or more `redirect_configuration` blocks as defined below.
*/
@JvmName("gnyykmncauajdrab")
public suspend fun redirectConfigurations(`value`: Output>) {
this.redirectConfigurations = value
}
@JvmName("akaittyvgfmkgokt")
public suspend fun redirectConfigurations(vararg values: Output) {
this.redirectConfigurations = Output.all(values.asList())
}
/**
* @param values One or more `redirect_configuration` blocks as defined below.
*/
@JvmName("uulhvobjyfdtoevk")
public suspend fun redirectConfigurations(values: List>) {
this.redirectConfigurations = Output.all(values)
}
/**
* @param value One or more `request_routing_rule` blocks as defined below.
*/
@JvmName("ktlqypnjhshejxyl")
public suspend fun requestRoutingRules(`value`: Output>) {
this.requestRoutingRules = value
}
@JvmName("hqvrsrdyxobculjm")
public suspend fun requestRoutingRules(vararg values: Output) {
this.requestRoutingRules = Output.all(values.asList())
}
/**
* @param values One or more `request_routing_rule` blocks as defined below.
*/
@JvmName("uqwaloeoqcdfvkjw")
public suspend fun requestRoutingRules(values: List>) {
this.requestRoutingRules = Output.all(values)
}
/**
* @param value The name of the resource group in which to the Application Gateway should exist. Changing this forces a new resource to be created.
*/
@JvmName("aqkcnydxpemnwirl")
public suspend fun resourceGroupName(`value`: Output) {
this.resourceGroupName = value
}
/**
* @param value One or more `rewrite_rule_set` blocks as defined below. Only valid for v2 SKUs.
*/
@JvmName("lxvxjtknpkvdpbpa")
public suspend fun rewriteRuleSets(`value`: Output>) {
this.rewriteRuleSets = value
}
@JvmName("iwdwdvlopcxelnon")
public suspend fun rewriteRuleSets(vararg values: Output) {
this.rewriteRuleSets = Output.all(values.asList())
}
/**
* @param values One or more `rewrite_rule_set` blocks as defined below. Only valid for v2 SKUs.
*/
@JvmName("ouwtuwjawhpqletp")
public suspend fun rewriteRuleSets(values: List>) {
this.rewriteRuleSets = Output.all(values)
}
/**
* @param value A `sku` block as defined below.
*/
@JvmName("dmillfvbfsblxole")
public suspend fun sku(`value`: Output) {
this.sku = value
}
/**
* @param value One or more `ssl_certificate` blocks as defined below.
*/
@JvmName("uctyygmguekdtxln")
public suspend fun sslCertificates(`value`: Output>) {
this.sslCertificates = value
}
@JvmName("leitbnekgmkxpkvp")
public suspend fun sslCertificates(vararg values: Output) {
this.sslCertificates = Output.all(values.asList())
}
/**
* @param values One or more `ssl_certificate` blocks as defined below.
*/
@JvmName("dxxgbnjsgfonkomi")
public suspend fun sslCertificates(values: List>) {
this.sslCertificates = Output.all(values)
}
/**
* @param value a `ssl_policy` block as defined below.
*/
@JvmName("twqtfpqathlykeid")
public suspend fun sslPolicy(`value`: Output) {
this.sslPolicy = value
}
/**
* @param value One or more `ssl_profile` blocks as defined below.
*/
@JvmName("lgqlwvnhcfxtcrew")
public suspend fun sslProfiles(`value`: Output>) {
this.sslProfiles = value
}
@JvmName("wcaphksppqmpohkw")
public suspend fun sslProfiles(vararg values: Output) {
this.sslProfiles = Output.all(values.asList())
}
/**
* @param values One or more `ssl_profile` blocks as defined below.
*/
@JvmName("hgqppjqxkwkxpjdi")
public suspend fun sslProfiles(values: List>) {
this.sslProfiles = Output.all(values)
}
/**
* @param value A mapping of tags to assign to the resource.
*/
@JvmName("lktpsvrcalqtojmp")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
/**
* @param value One or more `trusted_client_certificate` blocks as defined below.
*/
@JvmName("awcvkfviwxrjvwix")
public suspend fun trustedClientCertificates(`value`: Output>) {
this.trustedClientCertificates = value
}
@JvmName("xvksnxcygoxkgcvd")
public suspend fun trustedClientCertificates(vararg values: Output) {
this.trustedClientCertificates = Output.all(values.asList())
}
/**
* @param values One or more `trusted_client_certificate` blocks as defined below.
*/
@JvmName("hxgkerxmflbgedxt")
public suspend fun trustedClientCertificates(values: List>) {
this.trustedClientCertificates = Output.all(values)
}
/**
* @param value One or more `trusted_root_certificate` blocks as defined below.
*/
@JvmName("vexapocrnqxhmitf")
public suspend fun trustedRootCertificates(`value`: Output>) {
this.trustedRootCertificates = value
}
@JvmName("ompfoukknddwidba")
public suspend fun trustedRootCertificates(vararg values: Output) {
this.trustedRootCertificates = Output.all(values.asList())
}
/**
* @param values One or more `trusted_root_certificate` blocks as defined below.
*/
@JvmName("rcybmibcqfouuklf")
public suspend fun trustedRootCertificates(values: List>) {
this.trustedRootCertificates = Output.all(values)
}
/**
* @param value One or more `url_path_map` blocks as defined below.
*/
@JvmName("cxjrciyikqhktvlx")
public suspend fun urlPathMaps(`value`: Output>) {
this.urlPathMaps = value
}
@JvmName("tlooundaiiwaylcv")
public suspend fun urlPathMaps(vararg values: Output) {
this.urlPathMaps = Output.all(values.asList())
}
/**
* @param values One or more `url_path_map` blocks as defined below.
*/
@JvmName("folgaprmodnsmkqr")
public suspend fun urlPathMaps(values: List>) {
this.urlPathMaps = Output.all(values)
}
/**
* @param value A `waf_configuration` block as defined below.
*/
@JvmName("mccdrnigfmfscgiv")
public suspend fun wafConfiguration(`value`: Output) {
this.wafConfiguration = value
}
/**
* @param value Specifies a list of Availability Zones in which this Application Gateway should be located. Changing this forces a new Application Gateway to be created.
* > **Please Note**: Availability Zones are not supported in all regions at this time, please check the [official documentation](https://docs.microsoft.com/azure/availability-zones/az-overview) for more information. They are also only supported for [v2 SKUs](https://docs.microsoft.com/azure/application-gateway/application-gateway-autoscaling-zone-redundant)
*/
@JvmName("gqukthndyyogwcfm")
public suspend fun zones(`value`: Output>) {
this.zones = value
}
@JvmName("fbdseydxvprkqxel")
public suspend fun zones(vararg values: Output) {
this.zones = Output.all(values.asList())
}
/**
* @param values Specifies a list of Availability Zones in which this Application Gateway should be located. Changing this forces a new Application Gateway to be created.
* > **Please Note**: Availability Zones are not supported in all regions at this time, please check the [official documentation](https://docs.microsoft.com/azure/availability-zones/az-overview) for more information. They are also only supported for [v2 SKUs](https://docs.microsoft.com/azure/application-gateway/application-gateway-autoscaling-zone-redundant)
*/
@JvmName("bylcmuxlbsgxwppl")
public suspend fun zones(values: List>) {
this.zones = Output.all(values)
}
/**
* @param value One or more `authentication_certificate` blocks as defined below.
*/
@JvmName("jygfdrdukrqbyjge")
public suspend fun authenticationCertificates(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.authenticationCertificates = mapped
}
/**
* @param argument One or more `authentication_certificate` blocks as defined below.
*/
@JvmName("ckrkfyxlmbwmoeiy")
public suspend fun authenticationCertificates(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ApplicationGatewayAuthenticationCertificateArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.authenticationCertificates = mapped
}
/**
* @param argument One or more `authentication_certificate` blocks as defined below.
*/
@JvmName("sncjxxlfvkeavywy")
public suspend fun authenticationCertificates(vararg argument: suspend ApplicationGatewayAuthenticationCertificateArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ApplicationGatewayAuthenticationCertificateArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.authenticationCertificates = mapped
}
/**
* @param argument One or more `authentication_certificate` blocks as defined below.
*/
@JvmName("dljbaumuenluhryo")
public suspend fun authenticationCertificates(argument: suspend ApplicationGatewayAuthenticationCertificateArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
ApplicationGatewayAuthenticationCertificateArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.authenticationCertificates = mapped
}
/**
* @param values One or more `authentication_certificate` blocks as defined below.
*/
@JvmName("tjjiiluryluikbgn")
public suspend fun authenticationCertificates(vararg values: ApplicationGatewayAuthenticationCertificateArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.authenticationCertificates = mapped
}
/**
* @param value An `autoscale_configuration` block as defined below.
*/
@JvmName("kfliogfneqnvewse")
public suspend fun autoscaleConfiguration(`value`: ApplicationGatewayAutoscaleConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.autoscaleConfiguration = mapped
}
/**
* @param argument An `autoscale_configuration` block as defined below.
*/
@JvmName("jtsrgvwaxmcclasm")
public suspend fun autoscaleConfiguration(argument: suspend ApplicationGatewayAutoscaleConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = ApplicationGatewayAutoscaleConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.autoscaleConfiguration = mapped
}
/**
* @param value One or more `backend_address_pool` blocks as defined below.
*/
@JvmName("bpercpkindvgoqki")
public suspend fun backendAddressPools(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.backendAddressPools = mapped
}
/**
* @param argument One or more `backend_address_pool` blocks as defined below.
*/
@JvmName("cniqbdairqthqvme")
public suspend fun backendAddressPools(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ApplicationGatewayBackendAddressPoolArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.backendAddressPools = mapped
}
/**
* @param argument One or more `backend_address_pool` blocks as defined below.
*/
@JvmName("ftdfohuvsxdlital")
public suspend fun backendAddressPools(vararg argument: suspend ApplicationGatewayBackendAddressPoolArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ApplicationGatewayBackendAddressPoolArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.backendAddressPools = mapped
}
/**
* @param argument One or more `backend_address_pool` blocks as defined below.
*/
@JvmName("dehxlmqmwebkrqsp")
public suspend fun backendAddressPools(argument: suspend ApplicationGatewayBackendAddressPoolArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
ApplicationGatewayBackendAddressPoolArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.backendAddressPools = mapped
}
/**
* @param values One or more `backend_address_pool` blocks as defined below.
*/
@JvmName("xciyewkpvtnuvesa")
public suspend fun backendAddressPools(vararg values: ApplicationGatewayBackendAddressPoolArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.backendAddressPools = mapped
}
/**
* @param value One or more `backend_http_settings` blocks as defined below.
*/
@JvmName("xtvjsyetplshfjvc")
public suspend fun backendHttpSettings(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.backendHttpSettings = mapped
}
/**
* @param argument One or more `backend_http_settings` blocks as defined below.
*/
@JvmName("hyriwdbljmrfexxy")
public suspend fun backendHttpSettings(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ApplicationGatewayBackendHttpSettingArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.backendHttpSettings = mapped
}
/**
* @param argument One or more `backend_http_settings` blocks as defined below.
*/
@JvmName("yvuyiluvfwpgejwt")
public suspend fun backendHttpSettings(vararg argument: suspend ApplicationGatewayBackendHttpSettingArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ApplicationGatewayBackendHttpSettingArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.backendHttpSettings = mapped
}
/**
* @param argument One or more `backend_http_settings` blocks as defined below.
*/
@JvmName("yqludkngcnpfxsyt")
public suspend fun backendHttpSettings(argument: suspend ApplicationGatewayBackendHttpSettingArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
ApplicationGatewayBackendHttpSettingArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.backendHttpSettings = mapped
}
/**
* @param values One or more `backend_http_settings` blocks as defined below.
*/
@JvmName("mwgrvgefymlbjtei")
public suspend fun backendHttpSettings(vararg values: ApplicationGatewayBackendHttpSettingArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.backendHttpSettings = mapped
}
/**
* @param value One or more `custom_error_configuration` blocks as defined below.
*/
@JvmName("ltytvoyjafkrgtua")
public suspend fun customErrorConfigurations(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.customErrorConfigurations = mapped
}
/**
* @param argument One or more `custom_error_configuration` blocks as defined below.
*/
@JvmName("mlasvpkulnlospgf")
public suspend fun customErrorConfigurations(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ApplicationGatewayCustomErrorConfigurationArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.customErrorConfigurations = mapped
}
/**
* @param argument One or more `custom_error_configuration` blocks as defined below.
*/
@JvmName("rjgfhuhqvuratrgt")
public suspend fun customErrorConfigurations(vararg argument: suspend ApplicationGatewayCustomErrorConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ApplicationGatewayCustomErrorConfigurationArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.customErrorConfigurations = mapped
}
/**
* @param argument One or more `custom_error_configuration` blocks as defined below.
*/
@JvmName("rqniqvchivegittl")
public suspend fun customErrorConfigurations(argument: suspend ApplicationGatewayCustomErrorConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
ApplicationGatewayCustomErrorConfigurationArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.customErrorConfigurations = mapped
}
/**
* @param values One or more `custom_error_configuration` blocks as defined below.
*/
@JvmName("otrxxxahctgidrnc")
public suspend fun customErrorConfigurations(vararg values: ApplicationGatewayCustomErrorConfigurationArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.customErrorConfigurations = mapped
}
/**
* @param value Is HTTP2 enabled on the application gateway resource? Defaults to `false`.
*/
@JvmName("mmhcxbtouelhhero")
public suspend fun enableHttp2(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enableHttp2 = mapped
}
/**
* @param value Is FIPS enabled on the Application Gateway?
*/
@JvmName("kukwwlmajmqometh")
public suspend fun fipsEnabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fipsEnabled = mapped
}
/**
* @param value The ID of the Web Application Firewall Policy.
*/
@JvmName("duloqlpjeeplrlpc")
public suspend fun firewallPolicyId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.firewallPolicyId = mapped
}
/**
* @param value Is the Firewall Policy associated with the Application Gateway?
*/
@JvmName("pckdiwplqxmecjop")
public suspend fun forceFirewallPolicyAssociation(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.forceFirewallPolicyAssociation = mapped
}
/**
* @param value One or more `frontend_ip_configuration` blocks as defined below.
*/
@JvmName("wwmpwbsboworldop")
public suspend fun frontendIpConfigurations(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.frontendIpConfigurations = mapped
}
/**
* @param argument One or more `frontend_ip_configuration` blocks as defined below.
*/
@JvmName("umfqohtucivkrfvw")
public suspend fun frontendIpConfigurations(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ApplicationGatewayFrontendIpConfigurationArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.frontendIpConfigurations = mapped
}
/**
* @param argument One or more `frontend_ip_configuration` blocks as defined below.
*/
@JvmName("xvthjuwbvnuxhure")
public suspend fun frontendIpConfigurations(vararg argument: suspend ApplicationGatewayFrontendIpConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ApplicationGatewayFrontendIpConfigurationArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.frontendIpConfigurations = mapped
}
/**
* @param argument One or more `frontend_ip_configuration` blocks as defined below.
*/
@JvmName("gqgatfqmfbsiccvx")
public suspend fun frontendIpConfigurations(argument: suspend ApplicationGatewayFrontendIpConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
ApplicationGatewayFrontendIpConfigurationArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.frontendIpConfigurations = mapped
}
/**
* @param values One or more `frontend_ip_configuration` blocks as defined below.
*/
@JvmName("fhssgjxufaftweff")
public suspend fun frontendIpConfigurations(vararg values: ApplicationGatewayFrontendIpConfigurationArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.frontendIpConfigurations = mapped
}
/**
* @param value One or more `frontend_port` blocks as defined below.
*/
@JvmName("iqrqkjrdemdnppdb")
public suspend fun frontendPorts(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.frontendPorts = mapped
}
/**
* @param argument One or more `frontend_port` blocks as defined below.
*/
@JvmName("pakumrdkjdhjuakp")
public suspend fun frontendPorts(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ApplicationGatewayFrontendPortArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.frontendPorts = mapped
}
/**
* @param argument One or more `frontend_port` blocks as defined below.
*/
@JvmName("yptdopcintswlggm")
public suspend fun frontendPorts(vararg argument: suspend ApplicationGatewayFrontendPortArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ApplicationGatewayFrontendPortArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.frontendPorts = mapped
}
/**
* @param argument One or more `frontend_port` blocks as defined below.
*/
@JvmName("rtxbufotlfimgfqi")
public suspend fun frontendPorts(argument: suspend ApplicationGatewayFrontendPortArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
ApplicationGatewayFrontendPortArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.frontendPorts = mapped
}
/**
* @param values One or more `frontend_port` blocks as defined below.
*/
@JvmName("phaeywhondvpxwbq")
public suspend fun frontendPorts(vararg values: ApplicationGatewayFrontendPortArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.frontendPorts = mapped
}
/**
* @param value One or more `gateway_ip_configuration` blocks as defined below.
*/
@JvmName("vosouqhxpuqoitiu")
public suspend fun gatewayIpConfigurations(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.gatewayIpConfigurations = mapped
}
/**
* @param argument One or more `gateway_ip_configuration` blocks as defined below.
*/
@JvmName("ciymukcfnydmennm")
public suspend fun gatewayIpConfigurations(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ApplicationGatewayGatewayIpConfigurationArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.gatewayIpConfigurations = mapped
}
/**
* @param argument One or more `gateway_ip_configuration` blocks as defined below.
*/
@JvmName("iirqyksigdwhnrva")
public suspend fun gatewayIpConfigurations(vararg argument: suspend ApplicationGatewayGatewayIpConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ApplicationGatewayGatewayIpConfigurationArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.gatewayIpConfigurations = mapped
}
/**
* @param argument One or more `gateway_ip_configuration` blocks as defined below.
*/
@JvmName("ubfhiwnlhbyprmxb")
public suspend fun gatewayIpConfigurations(argument: suspend ApplicationGatewayGatewayIpConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
ApplicationGatewayGatewayIpConfigurationArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.gatewayIpConfigurations = mapped
}
/**
* @param values One or more `gateway_ip_configuration` blocks as defined below.
*/
@JvmName("ugqaucwgjybhense")
public suspend fun gatewayIpConfigurations(vararg values: ApplicationGatewayGatewayIpConfigurationArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.gatewayIpConfigurations = mapped
}
/**
* @param value A `global` block as defined below.
*/
@JvmName("bppcxssmftssnibs")
public suspend fun global(`value`: ApplicationGatewayGlobalArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.global = mapped
}
/**
* @param argument A `global` block as defined below.
*/
@JvmName("ipdbnlvyxmctuims")
public suspend fun global(argument: suspend ApplicationGatewayGlobalArgsBuilder.() -> Unit) {
val toBeMapped = ApplicationGatewayGlobalArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.global = mapped
}
/**
* @param value One or more `http_listener` blocks as defined below.
*/
@JvmName("utypgrebfsreqcdq")
public suspend fun httpListeners(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.httpListeners = mapped
}
/**
* @param argument One or more `http_listener` blocks as defined below.
*/
@JvmName("ansgudnkxdwvmbgb")
public suspend fun httpListeners(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ApplicationGatewayHttpListenerArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.httpListeners = mapped
}
/**
* @param argument One or more `http_listener` blocks as defined below.
*/
@JvmName("dxgkpxmbhyccjriy")
public suspend fun httpListeners(vararg argument: suspend ApplicationGatewayHttpListenerArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ApplicationGatewayHttpListenerArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.httpListeners = mapped
}
/**
* @param argument One or more `http_listener` blocks as defined below.
*/
@JvmName("khyfdwcquuxgbdlb")
public suspend fun httpListeners(argument: suspend ApplicationGatewayHttpListenerArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
ApplicationGatewayHttpListenerArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.httpListeners = mapped
}
/**
* @param values One or more `http_listener` blocks as defined below.
*/
@JvmName("kjtmkkoqbcgommhu")
public suspend fun httpListeners(vararg values: ApplicationGatewayHttpListenerArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.httpListeners = mapped
}
/**
* @param value An `identity` block as defined below.
*/
@JvmName("kktoygpnriiwqlhl")
public suspend fun identity(`value`: ApplicationGatewayIdentityArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.identity = mapped
}
/**
* @param argument An `identity` block as defined below.
*/
@JvmName("vmresgkvqrdrqose")
public suspend fun identity(argument: suspend ApplicationGatewayIdentityArgsBuilder.() -> Unit) {
val toBeMapped = ApplicationGatewayIdentityArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.identity = mapped
}
/**
* @param value The Azure region where the Application Gateway should exist. Changing this forces a new resource to be created.
*/
@JvmName("xtycfxppwjlrwvsb")
public suspend fun location(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.location = mapped
}
/**
* @param value The name of the Application Gateway. Changing this forces a new resource to be created.
*/
@JvmName("dicpolhfblxvaxnt")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value One or more `private_link_configuration` blocks as defined below.
*/
@JvmName("uewvputduwjkciaa")
public suspend fun privateLinkConfigurations(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.privateLinkConfigurations = mapped
}
/**
* @param argument One or more `private_link_configuration` blocks as defined below.
*/
@JvmName("ikvjoswqtefekxqi")
public suspend fun privateLinkConfigurations(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ApplicationGatewayPrivateLinkConfigurationArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.privateLinkConfigurations = mapped
}
/**
* @param argument One or more `private_link_configuration` blocks as defined below.
*/
@JvmName("ejidyukrdcdjbstn")
public suspend fun privateLinkConfigurations(vararg argument: suspend ApplicationGatewayPrivateLinkConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ApplicationGatewayPrivateLinkConfigurationArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.privateLinkConfigurations = mapped
}
/**
* @param argument One or more `private_link_configuration` blocks as defined below.
*/
@JvmName("ratncrcocwitordn")
public suspend fun privateLinkConfigurations(argument: suspend ApplicationGatewayPrivateLinkConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
ApplicationGatewayPrivateLinkConfigurationArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.privateLinkConfigurations = mapped
}
/**
* @param values One or more `private_link_configuration` blocks as defined below.
*/
@JvmName("ovedtwtjbgeibjov")
public suspend fun privateLinkConfigurations(vararg values: ApplicationGatewayPrivateLinkConfigurationArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.privateLinkConfigurations = mapped
}
/**
* @param value One or more `probe` blocks as defined below.
*/
@JvmName("rtwjvhihaqrueumi")
public suspend fun probes(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.probes = mapped
}
/**
* @param argument One or more `probe` blocks as defined below.
*/
@JvmName("tnipmkxsrktexmiy")
public suspend fun probes(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ApplicationGatewayProbeArgsBuilder().applySuspend {
it()
}.build()
}
val mapped = of(toBeMapped)
this.probes = mapped
}
/**
* @param argument One or more `probe` blocks as defined below.
*/
@JvmName("vcghnatqbipgsamg")
public suspend fun probes(vararg argument: suspend ApplicationGatewayProbeArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ApplicationGatewayProbeArgsBuilder().applySuspend {
it()
}.build()
}
val mapped = of(toBeMapped)
this.probes = mapped
}
/**
* @param argument One or more `probe` blocks as defined below.
*/
@JvmName("yhwsyoiyhbivrglh")
public suspend fun probes(argument: suspend ApplicationGatewayProbeArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
ApplicationGatewayProbeArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.probes = mapped
}
/**
* @param values One or more `probe` blocks as defined below.
*/
@JvmName("nejnpjvxduisdknr")
public suspend fun probes(vararg values: ApplicationGatewayProbeArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.probes = mapped
}
/**
* @param value One or more `redirect_configuration` blocks as defined below.
*/
@JvmName("uniokwxefhpmjmiq")
public suspend fun redirectConfigurations(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.redirectConfigurations = mapped
}
/**
* @param argument One or more `redirect_configuration` blocks as defined below.
*/
@JvmName("exerfytyookagood")
public suspend fun redirectConfigurations(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ApplicationGatewayRedirectConfigurationArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.redirectConfigurations = mapped
}
/**
* @param argument One or more `redirect_configuration` blocks as defined below.
*/
@JvmName("enhxfadxolbjpncf")
public suspend fun redirectConfigurations(vararg argument: suspend ApplicationGatewayRedirectConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ApplicationGatewayRedirectConfigurationArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.redirectConfigurations = mapped
}
/**
* @param argument One or more `redirect_configuration` blocks as defined below.
*/
@JvmName("lenqbevkqdcmoxle")
public suspend fun redirectConfigurations(argument: suspend ApplicationGatewayRedirectConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
ApplicationGatewayRedirectConfigurationArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.redirectConfigurations = mapped
}
/**
* @param values One or more `redirect_configuration` blocks as defined below.
*/
@JvmName("epgcidlgoukurptv")
public suspend fun redirectConfigurations(vararg values: ApplicationGatewayRedirectConfigurationArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.redirectConfigurations = mapped
}
/**
* @param value One or more `request_routing_rule` blocks as defined below.
*/
@JvmName("rioagnqxjrfygcif")
public suspend fun requestRoutingRules(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.requestRoutingRules = mapped
}
/**
* @param argument One or more `request_routing_rule` blocks as defined below.
*/
@JvmName("eylrgutvsbiqquat")
public suspend fun requestRoutingRules(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ApplicationGatewayRequestRoutingRuleArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.requestRoutingRules = mapped
}
/**
* @param argument One or more `request_routing_rule` blocks as defined below.
*/
@JvmName("aysvmophhfvptlmk")
public suspend fun requestRoutingRules(vararg argument: suspend ApplicationGatewayRequestRoutingRuleArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ApplicationGatewayRequestRoutingRuleArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.requestRoutingRules = mapped
}
/**
* @param argument One or more `request_routing_rule` blocks as defined below.
*/
@JvmName("uewaeqebejqkxctn")
public suspend fun requestRoutingRules(argument: suspend ApplicationGatewayRequestRoutingRuleArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
ApplicationGatewayRequestRoutingRuleArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.requestRoutingRules = mapped
}
/**
* @param values One or more `request_routing_rule` blocks as defined below.
*/
@JvmName("bbmederkjqoxhlwg")
public suspend fun requestRoutingRules(vararg values: ApplicationGatewayRequestRoutingRuleArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.requestRoutingRules = mapped
}
/**
* @param value The name of the resource group in which to the Application Gateway should exist. Changing this forces a new resource to be created.
*/
@JvmName("weotibocqjssdixk")
public suspend fun resourceGroupName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.resourceGroupName = mapped
}
/**
* @param value One or more `rewrite_rule_set` blocks as defined below. Only valid for v2 SKUs.
*/
@JvmName("gtpeagmsgvopqelp")
public suspend fun rewriteRuleSets(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.rewriteRuleSets = mapped
}
/**
* @param argument One or more `rewrite_rule_set` blocks as defined below. Only valid for v2 SKUs.
*/
@JvmName("ftdvhtvsdofjoqca")
public suspend fun rewriteRuleSets(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ApplicationGatewayRewriteRuleSetArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.rewriteRuleSets = mapped
}
/**
* @param argument One or more `rewrite_rule_set` blocks as defined below. Only valid for v2 SKUs.
*/
@JvmName("dmiykhargvkcsibk")
public suspend fun rewriteRuleSets(vararg argument: suspend ApplicationGatewayRewriteRuleSetArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ApplicationGatewayRewriteRuleSetArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.rewriteRuleSets = mapped
}
/**
* @param argument One or more `rewrite_rule_set` blocks as defined below. Only valid for v2 SKUs.
*/
@JvmName("lanaoowfwumqbomm")
public suspend fun rewriteRuleSets(argument: suspend ApplicationGatewayRewriteRuleSetArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
ApplicationGatewayRewriteRuleSetArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.rewriteRuleSets = mapped
}
/**
* @param values One or more `rewrite_rule_set` blocks as defined below. Only valid for v2 SKUs.
*/
@JvmName("elrfgeomytkwaaju")
public suspend fun rewriteRuleSets(vararg values: ApplicationGatewayRewriteRuleSetArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.rewriteRuleSets = mapped
}
/**
* @param value A `sku` block as defined below.
*/
@JvmName("lutquqsmgpprpxct")
public suspend fun sku(`value`: ApplicationGatewaySkuArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sku = mapped
}
/**
* @param argument A `sku` block as defined below.
*/
@JvmName("rwslhlpstmiwyomy")
public suspend fun sku(argument: suspend ApplicationGatewaySkuArgsBuilder.() -> Unit) {
val toBeMapped = ApplicationGatewaySkuArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.sku = mapped
}
/**
* @param value One or more `ssl_certificate` blocks as defined below.
*/
@JvmName("qkckvnslhddiatcd")
public suspend fun sslCertificates(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sslCertificates = mapped
}
/**
* @param argument One or more `ssl_certificate` blocks as defined below.
*/
@JvmName("bcddyocmapsgwkwo")
public suspend fun sslCertificates(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ApplicationGatewaySslCertificateArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.sslCertificates = mapped
}
/**
* @param argument One or more `ssl_certificate` blocks as defined below.
*/
@JvmName("kjflxhwjeaebpvwl")
public suspend fun sslCertificates(vararg argument: suspend ApplicationGatewaySslCertificateArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ApplicationGatewaySslCertificateArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.sslCertificates = mapped
}
/**
* @param argument One or more `ssl_certificate` blocks as defined below.
*/
@JvmName("pumovrftocmkitca")
public suspend fun sslCertificates(argument: suspend ApplicationGatewaySslCertificateArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
ApplicationGatewaySslCertificateArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.sslCertificates = mapped
}
/**
* @param values One or more `ssl_certificate` blocks as defined below.
*/
@JvmName("xopcktjeyoihioxo")
public suspend fun sslCertificates(vararg values: ApplicationGatewaySslCertificateArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.sslCertificates = mapped
}
/**
* @param value a `ssl_policy` block as defined below.
*/
@JvmName("gfqrfmbdqetmkdnh")
public suspend fun sslPolicy(`value`: ApplicationGatewaySslPolicyArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sslPolicy = mapped
}
/**
* @param argument a `ssl_policy` block as defined below.
*/
@JvmName("mqbdomdgmmcoimsh")
public suspend fun sslPolicy(argument: suspend ApplicationGatewaySslPolicyArgsBuilder.() -> Unit) {
val toBeMapped = ApplicationGatewaySslPolicyArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.sslPolicy = mapped
}
/**
* @param value One or more `ssl_profile` blocks as defined below.
*/
@JvmName("sijdghxlxstyncxb")
public suspend fun sslProfiles(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sslProfiles = mapped
}
/**
* @param argument One or more `ssl_profile` blocks as defined below.
*/
@JvmName("hhljlfrhlidrrnak")
public suspend fun sslProfiles(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ApplicationGatewaySslProfileArgsBuilder().applySuspend {
it()
}.build()
}
val mapped = of(toBeMapped)
this.sslProfiles = mapped
}
/**
* @param argument One or more `ssl_profile` blocks as defined below.
*/
@JvmName("htvquoneqepkrdna")
public suspend fun sslProfiles(vararg argument: suspend ApplicationGatewaySslProfileArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ApplicationGatewaySslProfileArgsBuilder().applySuspend {
it()
}.build()
}
val mapped = of(toBeMapped)
this.sslProfiles = mapped
}
/**
* @param argument One or more `ssl_profile` blocks as defined below.
*/
@JvmName("xymsolymivcmvcyo")
public suspend fun sslProfiles(argument: suspend ApplicationGatewaySslProfileArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
ApplicationGatewaySslProfileArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.sslProfiles = mapped
}
/**
* @param values One or more `ssl_profile` blocks as defined below.
*/
@JvmName("voejafvgqyneemxs")
public suspend fun sslProfiles(vararg values: ApplicationGatewaySslProfileArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.sslProfiles = mapped
}
/**
* @param value A mapping of tags to assign to the resource.
*/
@JvmName("htqjgmbqwrkdenlp")
public suspend fun tags(`value`: Map?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tags = mapped
}
/**
* @param values A mapping of tags to assign to the resource.
*/
@JvmName("brutpffbbbfdchox")
public fun tags(vararg values: Pair) {
val toBeMapped = values.toMap()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.tags = mapped
}
/**
* @param value One or more `trusted_client_certificate` blocks as defined below.
*/
@JvmName("hrjwltwxphmkocww")
public suspend fun trustedClientCertificates(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.trustedClientCertificates = mapped
}
/**
* @param argument One or more `trusted_client_certificate` blocks as defined below.
*/
@JvmName("egouegpsffkjjjmv")
public suspend fun trustedClientCertificates(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ApplicationGatewayTrustedClientCertificateArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.trustedClientCertificates = mapped
}
/**
* @param argument One or more `trusted_client_certificate` blocks as defined below.
*/
@JvmName("dkhdwgbvrsaeltij")
public suspend fun trustedClientCertificates(vararg argument: suspend ApplicationGatewayTrustedClientCertificateArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ApplicationGatewayTrustedClientCertificateArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.trustedClientCertificates = mapped
}
/**
* @param argument One or more `trusted_client_certificate` blocks as defined below.
*/
@JvmName("nvbmakuybmupvxri")
public suspend fun trustedClientCertificates(argument: suspend ApplicationGatewayTrustedClientCertificateArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
ApplicationGatewayTrustedClientCertificateArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.trustedClientCertificates = mapped
}
/**
* @param values One or more `trusted_client_certificate` blocks as defined below.
*/
@JvmName("xjljuwhkhybxlncd")
public suspend fun trustedClientCertificates(vararg values: ApplicationGatewayTrustedClientCertificateArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.trustedClientCertificates = mapped
}
/**
* @param value One or more `trusted_root_certificate` blocks as defined below.
*/
@JvmName("boykwsrufyqasfjh")
public suspend fun trustedRootCertificates(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.trustedRootCertificates = mapped
}
/**
* @param argument One or more `trusted_root_certificate` blocks as defined below.
*/
@JvmName("ehfqpkuiqxrtxmnt")
public suspend fun trustedRootCertificates(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ApplicationGatewayTrustedRootCertificateArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.trustedRootCertificates = mapped
}
/**
* @param argument One or more `trusted_root_certificate` blocks as defined below.
*/
@JvmName("ijptghsbbasfmtli")
public suspend fun trustedRootCertificates(vararg argument: suspend ApplicationGatewayTrustedRootCertificateArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ApplicationGatewayTrustedRootCertificateArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.trustedRootCertificates = mapped
}
/**
* @param argument One or more `trusted_root_certificate` blocks as defined below.
*/
@JvmName("xcfjjsoefsdilsqe")
public suspend fun trustedRootCertificates(argument: suspend ApplicationGatewayTrustedRootCertificateArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
ApplicationGatewayTrustedRootCertificateArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.trustedRootCertificates = mapped
}
/**
* @param values One or more `trusted_root_certificate` blocks as defined below.
*/
@JvmName("majbbmvsvmwllovp")
public suspend fun trustedRootCertificates(vararg values: ApplicationGatewayTrustedRootCertificateArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.trustedRootCertificates = mapped
}
/**
* @param value One or more `url_path_map` blocks as defined below.
*/
@JvmName("epigtacmwmblooru")
public suspend fun urlPathMaps(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.urlPathMaps = mapped
}
/**
* @param argument One or more `url_path_map` blocks as defined below.
*/
@JvmName("ravlasdpttqylcqg")
public suspend fun urlPathMaps(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ApplicationGatewayUrlPathMapArgsBuilder().applySuspend {
it()
}.build()
}
val mapped = of(toBeMapped)
this.urlPathMaps = mapped
}
/**
* @param argument One or more `url_path_map` blocks as defined below.
*/
@JvmName("trwttvjaygwhcnyq")
public suspend fun urlPathMaps(vararg argument: suspend ApplicationGatewayUrlPathMapArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ApplicationGatewayUrlPathMapArgsBuilder().applySuspend {
it()
}.build()
}
val mapped = of(toBeMapped)
this.urlPathMaps = mapped
}
/**
* @param argument One or more `url_path_map` blocks as defined below.
*/
@JvmName("lbpooxoikfquphdi")
public suspend fun urlPathMaps(argument: suspend ApplicationGatewayUrlPathMapArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
ApplicationGatewayUrlPathMapArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.urlPathMaps = mapped
}
/**
* @param values One or more `url_path_map` blocks as defined below.
*/
@JvmName("myabneuftfglbuas")
public suspend fun urlPathMaps(vararg values: ApplicationGatewayUrlPathMapArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.urlPathMaps = mapped
}
/**
* @param value A `waf_configuration` block as defined below.
*/
@JvmName("xoaqxcfakmtkilin")
public suspend fun wafConfiguration(`value`: ApplicationGatewayWafConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.wafConfiguration = mapped
}
/**
* @param argument A `waf_configuration` block as defined below.
*/
@JvmName("ojgudiqfoxaugpmj")
public suspend fun wafConfiguration(argument: suspend ApplicationGatewayWafConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = ApplicationGatewayWafConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.wafConfiguration = mapped
}
/**
* @param value Specifies a list of Availability Zones in which this Application Gateway should be located. Changing this forces a new Application Gateway to be created.
* > **Please Note**: Availability Zones are not supported in all regions at this time, please check the [official documentation](https://docs.microsoft.com/azure/availability-zones/az-overview) for more information. They are also only supported for [v2 SKUs](https://docs.microsoft.com/azure/application-gateway/application-gateway-autoscaling-zone-redundant)
*/
@JvmName("hoxtocbistyfokei")
public suspend fun zones(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.zones = mapped
}
/**
* @param values Specifies a list of Availability Zones in which this Application Gateway should be located. Changing this forces a new Application Gateway to be created.
* > **Please Note**: Availability Zones are not supported in all regions at this time, please check the [official documentation](https://docs.microsoft.com/azure/availability-zones/az-overview) for more information. They are also only supported for [v2 SKUs](https://docs.microsoft.com/azure/application-gateway/application-gateway-autoscaling-zone-redundant)
*/
@JvmName("bmxiaildewminguf")
public suspend fun zones(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.zones = mapped
}
internal fun build(): ApplicationGatewayArgs = ApplicationGatewayArgs(
authenticationCertificates = authenticationCertificates,
autoscaleConfiguration = autoscaleConfiguration,
backendAddressPools = backendAddressPools,
backendHttpSettings = backendHttpSettings,
customErrorConfigurations = customErrorConfigurations,
enableHttp2 = enableHttp2,
fipsEnabled = fipsEnabled,
firewallPolicyId = firewallPolicyId,
forceFirewallPolicyAssociation = forceFirewallPolicyAssociation,
frontendIpConfigurations = frontendIpConfigurations,
frontendPorts = frontendPorts,
gatewayIpConfigurations = gatewayIpConfigurations,
global = global,
httpListeners = httpListeners,
identity = identity,
location = location,
name = name,
privateLinkConfigurations = privateLinkConfigurations,
probes = probes,
redirectConfigurations = redirectConfigurations,
requestRoutingRules = requestRoutingRules,
resourceGroupName = resourceGroupName,
rewriteRuleSets = rewriteRuleSets,
sku = sku,
sslCertificates = sslCertificates,
sslPolicy = sslPolicy,
sslProfiles = sslProfiles,
tags = tags,
trustedClientCertificates = trustedClientCertificates,
trustedRootCertificates = trustedRootCertificates,
urlPathMaps = urlPathMaps,
wafConfiguration = wafConfiguration,
zones = zones,
)
}