KubeEnvironmentArgs

data class KubeEnvironmentArgs(val aksResourceID: Output<String>? = null, val appLogsConfiguration: Output<AppLogsConfigurationArgs>? = null, val arcConfiguration: Output<ArcConfigurationArgs>? = null, val containerAppsConfiguration: Output<ContainerAppsConfigurationArgs>? = null, val environmentType: Output<String>? = null, val extendedLocation: Output<ExtendedLocationArgs>? = null, val internalLoadBalancerEnabled: Output<Boolean>? = null, val kind: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val resourceGroupName: Output<String>? = null, val staticIp: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<KubeEnvironmentArgs>

A Kubernetes cluster specialized for web workloads by Azure App Service Uses Azure REST API version 2024-04-01. In version 2.x of the Azure Native provider, it used API version 2022-09-01. Other available API versions: 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native web [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Example Usage

Create kube environments

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var kubeEnvironment = new AzureNative.Web.KubeEnvironment("kubeEnvironment", new()
{
Location = "East US",
Name = "testkubeenv",
ResourceGroupName = "examplerg",
StaticIp = "1.2.3.4",
});
});
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.NewKubeEnvironment(ctx, "kubeEnvironment", &web.KubeEnvironmentArgs{
Location: pulumi.String("East US"),
Name: pulumi.String("testkubeenv"),
ResourceGroupName: pulumi.String("examplerg"),
StaticIp: pulumi.String("1.2.3.4"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.web.KubeEnvironment;
import com.pulumi.azurenative.web.KubeEnvironmentArgs;
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 kubeEnvironment = new KubeEnvironment("kubeEnvironment", KubeEnvironmentArgs.builder()
.location("East US")
.name("testkubeenv")
.resourceGroupName("examplerg")
.staticIp("1.2.3.4")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:web:KubeEnvironment testkubeenv /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}

Constructors

Link copied to clipboard
constructor(aksResourceID: Output<String>? = null, appLogsConfiguration: Output<AppLogsConfigurationArgs>? = null, arcConfiguration: Output<ArcConfigurationArgs>? = null, containerAppsConfiguration: Output<ContainerAppsConfigurationArgs>? = null, environmentType: Output<String>? = null, extendedLocation: Output<ExtendedLocationArgs>? = null, internalLoadBalancerEnabled: Output<Boolean>? = null, kind: Output<String>? = null, location: Output<String>? = null, name: Output<String>? = null, resourceGroupName: Output<String>? = null, staticIp: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val aksResourceID: Output<String>? = null
Link copied to clipboard

Cluster configuration which enables the log daemon to export app logs to a destination. Currently only "log-analytics" is supported

Link copied to clipboard

Cluster configuration which determines the ARC cluster components types. Eg: Choosing between BuildService kind, FrontEnd Service ArtifactsStorageType etc.

Link copied to clipboard

Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration

Link copied to clipboard
val environmentType: Output<String>? = null

Type of Kubernetes Environment. Only supported for Container App Environments with value as Managed

Link copied to clipboard

Extended Location.

Link copied to clipboard

Only visible within Vnet/Subnet

Link copied to clipboard
val kind: Output<String>? = null

Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind.

Link copied to clipboard
val location: Output<String>? = null

Resource Location.

Link copied to clipboard
val name: Output<String>? = null

Name of the Kubernetes Environment.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

Name of the resource group to which the resource belongs.

Link copied to clipboard
val staticIp: Output<String>? = null

Static IP of the KubeEnvironment

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Resource tags.

Functions

Link copied to clipboard
open override fun toJava(): KubeEnvironmentArgs