Kube Environment
A Kubernetes cluster specialized for web workloads by Azure App Service API Version: 2021-01-01.
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",
});
});
Content copied to clipboard
package main
import (
web "github.com/pulumi/pulumi-azure-native-sdk/web"
"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
})
}
Content copied to clipboard
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());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:web:KubeEnvironment testkubeenv /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/testkubeenv
Content copied to clipboard
Properties
Link copied to clipboard
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
Default Domain Name for the cluster
Link copied to clipboard
Any errors that occurred during deployment or deployment validation
Link copied to clipboard
Extended Location.
Link copied to clipboard
Only visible within Vnet/Subnet
Link copied to clipboard
Provisioning state of the Kubernetes Environment.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard