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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.web.kotlin
import com.pulumi.azurenative.web.AppServiceEnvironmentArgs.builder
import com.pulumi.azurenative.web.kotlin.enums.LoadBalancingMode
import com.pulumi.azurenative.web.kotlin.enums.UpgradePreference
import com.pulumi.azurenative.web.kotlin.inputs.AseV3NetworkingConfigurationArgs
import com.pulumi.azurenative.web.kotlin.inputs.AseV3NetworkingConfigurationArgsBuilder
import com.pulumi.azurenative.web.kotlin.inputs.CustomDnsSuffixConfigurationArgs
import com.pulumi.azurenative.web.kotlin.inputs.CustomDnsSuffixConfigurationArgsBuilder
import com.pulumi.azurenative.web.kotlin.inputs.NameValuePairArgs
import com.pulumi.azurenative.web.kotlin.inputs.NameValuePairArgsBuilder
import com.pulumi.azurenative.web.kotlin.inputs.VirtualNetworkProfileArgs
import com.pulumi.azurenative.web.kotlin.inputs.VirtualNetworkProfileArgsBuilder
import com.pulumi.core.Either
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.Int
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* App Service Environment ARM resource.
* Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-12-01.
* Other available API versions: 2019-08-01, 2020-10-01, 2021-01-15, 2023-01-01, 2023-12-01.
* ## Example Usage
* ### Create or update an App Service Environment.
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using AzureNative = Pulumi.AzureNative;
* return await Deployment.RunAsync(() =>
* {
* var appServiceEnvironment = new AzureNative.Web.AppServiceEnvironment("appServiceEnvironment", new()
* {
* Kind = "Asev3",
* Location = "South Central US",
* Name = "test-ase",
* ResourceGroupName = "test-rg",
* VirtualNetwork = new AzureNative.Web.Inputs.VirtualNetworkProfileArgs
* {
* Id = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/delegated",
* },
* });
* });
* ```
* ```go
* package main
* import (
* web "github.com/pulumi/pulumi-azure-native-sdk/web/v2"
* "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
* )
* func main() {
* pulumi.Run(func(ctx *pulumi.Context) error {
* _, err := web.NewAppServiceEnvironment(ctx, "appServiceEnvironment", &web.AppServiceEnvironmentArgs{
* Kind: pulumi.String("Asev3"),
* Location: pulumi.String("South Central US"),
* Name: pulumi.String("test-ase"),
* ResourceGroupName: pulumi.String("test-rg"),
* VirtualNetwork: &web.VirtualNetworkProfileArgs{
* Id: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/delegated"),
* },
* })
* 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.azurenative.web.AppServiceEnvironment;
* import com.pulumi.azurenative.web.AppServiceEnvironmentArgs;
* import com.pulumi.azurenative.web.inputs.VirtualNetworkProfileArgs;
* 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 appServiceEnvironment = new AppServiceEnvironment("appServiceEnvironment", AppServiceEnvironmentArgs.builder()
* .kind("Asev3")
* .location("South Central US")
* .name("test-ase")
* .resourceGroupName("test-rg")
* .virtualNetwork(VirtualNetworkProfileArgs.builder()
* .id("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/delegated")
* .build())
* .build());
* }
* }
* ```
* ## Import
* An existing resource can be imported using its type token, name, and identifier, e.g.
* ```sh
* $ pulumi import azure-native:web:AppServiceEnvironment test-ase /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}
* ```
* @property clusterSettings Custom settings for changing the behavior of the App Service Environment.
* @property customDnsSuffixConfiguration Full view of the custom domain suffix configuration for ASEv3.
* @property dedicatedHostCount Dedicated Host Count
* @property dnsSuffix DNS suffix of the App Service Environment.
* @property frontEndScaleFactor Scale factor for front-ends.
* @property internalLoadBalancingMode Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment.
* @property ipsslAddressCount Number of IP SSL addresses reserved for the App Service Environment.
* @property kind Kind of resource.
* @property location Resource Location.
* @property multiSize Front-end VM size, e.g. "Medium", "Large".
* @property name Name of the App Service Environment.
* @property networkingConfiguration Full view of networking configuration for an ASE.
* @property resourceGroupName Name of the resource group to which the resource belongs.
* @property tags Resource tags.
* @property upgradePreference Upgrade Preference
* @property userWhitelistedIpRanges User added ip ranges to whitelist on ASE db
* @property virtualNetwork Description of the Virtual Network.
* @property zoneRedundant Whether or not this App Service Environment is zone-redundant.
*/
public data class AppServiceEnvironmentArgs(
public val clusterSettings: Output>? = null,
public val customDnsSuffixConfiguration: Output? = null,
public val dedicatedHostCount: Output? = null,
public val dnsSuffix: Output? = null,
public val frontEndScaleFactor: Output? = null,
public val internalLoadBalancingMode: Output>? = null,
public val ipsslAddressCount: Output? = null,
public val kind: Output? = null,
public val location: Output? = null,
public val multiSize: Output? = null,
public val name: Output? = null,
public val networkingConfiguration: Output? = null,
public val resourceGroupName: Output? = null,
public val tags: Output