azure-native.web.KubeEnvironment

Explore with Pulumi AI

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 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/go/azure/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
	})
}
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 pulumi
import pulumi_azure_native as azure_native

kube_environment = azure_native.web.KubeEnvironment("kubeEnvironment",
    location="East US",
    name="testkubeenv",
    resource_group_name="examplerg",
    static_ip="1.2.3.4")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const kubeEnvironment = new azure_native.web.KubeEnvironment("kubeEnvironment", {
    location: "East US",
    name: "testkubeenv",
    resourceGroupName: "examplerg",
    staticIp: "1.2.3.4",
});
resources:
  kubeEnvironment:
    type: azure-native:web:KubeEnvironment
    properties:
      location: East US
      name: testkubeenv
      resourceGroupName: examplerg
      staticIp: 1.2.3.4

Create KubeEnvironment Resource

new KubeEnvironment(name: string, args: KubeEnvironmentArgs, opts?: CustomResourceOptions);
@overload
def KubeEnvironment(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    aks_resource_id: Optional[str] = None,
                    app_logs_configuration: Optional[AppLogsConfigurationArgs] = None,
                    arc_configuration: Optional[ArcConfigurationArgs] = None,
                    extended_location: Optional[ExtendedLocationArgs] = None,
                    internal_load_balancer_enabled: Optional[bool] = None,
                    kind: Optional[str] = None,
                    location: Optional[str] = None,
                    name: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    static_ip: Optional[str] = None,
                    tags: Optional[Mapping[str, str]] = None)
@overload
def KubeEnvironment(resource_name: str,
                    args: KubeEnvironmentArgs,
                    opts: Optional[ResourceOptions] = None)
func NewKubeEnvironment(ctx *Context, name string, args KubeEnvironmentArgs, opts ...ResourceOption) (*KubeEnvironment, error)
public KubeEnvironment(string name, KubeEnvironmentArgs args, CustomResourceOptions? opts = null)
public KubeEnvironment(String name, KubeEnvironmentArgs args)
public KubeEnvironment(String name, KubeEnvironmentArgs args, CustomResourceOptions options)
type: azure-native:web:KubeEnvironment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args KubeEnvironmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args KubeEnvironmentArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args KubeEnvironmentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args KubeEnvironmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args KubeEnvironmentArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

KubeEnvironment Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The KubeEnvironment resource accepts the following input properties:

ResourceGroupName string

Name of the resource group to which the resource belongs.

AksResourceID string
AppLogsConfiguration Pulumi.AzureNative.Web.Inputs.AppLogsConfigurationArgs

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

ArcConfiguration Pulumi.AzureNative.Web.Inputs.ArcConfigurationArgs

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

ExtendedLocation Pulumi.AzureNative.Web.Inputs.ExtendedLocationArgs

Extended Location.

InternalLoadBalancerEnabled bool

Only visible within Vnet/Subnet

Kind string

Kind of resource.

Location string

Resource Location.

Name string

Name of the Kubernetes Environment.

StaticIp string

Static IP of the KubeEnvironment

Tags Dictionary<string, string>

Resource tags.

ResourceGroupName string

Name of the resource group to which the resource belongs.

AksResourceID string
AppLogsConfiguration AppLogsConfigurationArgs

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

ArcConfiguration ArcConfigurationArgs

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

ExtendedLocation ExtendedLocationArgs

Extended Location.

InternalLoadBalancerEnabled bool

Only visible within Vnet/Subnet

Kind string

Kind of resource.

Location string

Resource Location.

Name string

Name of the Kubernetes Environment.

StaticIp string

Static IP of the KubeEnvironment

Tags map[string]string

Resource tags.

resourceGroupName String

Name of the resource group to which the resource belongs.

aksResourceID String
appLogsConfiguration AppLogsConfigurationArgs

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

arcConfiguration ArcConfigurationArgs

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

extendedLocation ExtendedLocationArgs

Extended Location.

internalLoadBalancerEnabled Boolean

Only visible within Vnet/Subnet

kind String

Kind of resource.

location String

Resource Location.

name String

Name of the Kubernetes Environment.

staticIp String

Static IP of the KubeEnvironment

tags Map<String,String>

Resource tags.

resourceGroupName string

Name of the resource group to which the resource belongs.

aksResourceID string
appLogsConfiguration AppLogsConfigurationArgs

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

arcConfiguration ArcConfigurationArgs

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

extendedLocation ExtendedLocationArgs

Extended Location.

internalLoadBalancerEnabled boolean

Only visible within Vnet/Subnet

kind string

Kind of resource.

location string

Resource Location.

name string

Name of the Kubernetes Environment.

staticIp string

Static IP of the KubeEnvironment

tags {[key: string]: string}

Resource tags.

resource_group_name str

Name of the resource group to which the resource belongs.

aks_resource_id str
app_logs_configuration AppLogsConfigurationArgs

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

arc_configuration ArcConfigurationArgs

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

extended_location ExtendedLocationArgs

Extended Location.

internal_load_balancer_enabled bool

Only visible within Vnet/Subnet

kind str

Kind of resource.

location str

Resource Location.

name str

Name of the Kubernetes Environment.

static_ip str

Static IP of the KubeEnvironment

tags Mapping[str, str]

Resource tags.

resourceGroupName String

Name of the resource group to which the resource belongs.

aksResourceID String
appLogsConfiguration Property Map

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

arcConfiguration Property Map

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

extendedLocation Property Map

Extended Location.

internalLoadBalancerEnabled Boolean

Only visible within Vnet/Subnet

kind String

Kind of resource.

location String

Resource Location.

name String

Name of the Kubernetes Environment.

staticIp String

Static IP of the KubeEnvironment

tags Map<String>

Resource tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the KubeEnvironment resource produces the following output properties:

DefaultDomain string

Default Domain Name for the cluster

DeploymentErrors string

Any errors that occurred during deployment or deployment validation

Id string

The provider-assigned unique ID for this managed resource.

ProvisioningState string

Provisioning state of the Kubernetes Environment.

Type string

Resource type.

DefaultDomain string

Default Domain Name for the cluster

DeploymentErrors string

Any errors that occurred during deployment or deployment validation

Id string

The provider-assigned unique ID for this managed resource.

ProvisioningState string

Provisioning state of the Kubernetes Environment.

Type string

Resource type.

defaultDomain String

Default Domain Name for the cluster

deploymentErrors String

Any errors that occurred during deployment or deployment validation

id String

The provider-assigned unique ID for this managed resource.

provisioningState String

Provisioning state of the Kubernetes Environment.

type String

Resource type.

defaultDomain string

Default Domain Name for the cluster

deploymentErrors string

Any errors that occurred during deployment or deployment validation

id string

The provider-assigned unique ID for this managed resource.

provisioningState string

Provisioning state of the Kubernetes Environment.

type string

Resource type.

default_domain str

Default Domain Name for the cluster

deployment_errors str

Any errors that occurred during deployment or deployment validation

id str

The provider-assigned unique ID for this managed resource.

provisioning_state str

Provisioning state of the Kubernetes Environment.

type str

Resource type.

defaultDomain String

Default Domain Name for the cluster

deploymentErrors String

Any errors that occurred during deployment or deployment validation

id String

The provider-assigned unique ID for this managed resource.

provisioningState String

Provisioning state of the Kubernetes Environment.

type String

Resource type.

Supporting Types

AppLogsConfiguration

AppLogsConfigurationResponse

ArcConfiguration

ArcConfigurationResponse

ExtendedLocation

Name string

Name of extended location.

Name string

Name of extended location.

name String

Name of extended location.

name string

Name of extended location.

name str

Name of extended location.

name String

Name of extended location.

ExtendedLocationResponse

Type string

Type of extended location.

Name string

Name of extended location.

Type string

Type of extended location.

Name string

Name of extended location.

type String

Type of extended location.

name String

Name of extended location.

type string

Type of extended location.

name string

Name of extended location.

type str

Type of extended location.

name str

Name of extended location.

type String

Type of extended location.

name String

Name of extended location.

FrontEndConfiguration

FrontEndConfigurationResponse

Kind string
Kind string
kind String
kind string
kind str
kind String

FrontEndServiceType

NodePort
NodePort
LoadBalancer
LoadBalancer
FrontEndServiceTypeNodePort
NodePort
FrontEndServiceTypeLoadBalancer
LoadBalancer
NodePort
NodePort
LoadBalancer
LoadBalancer
NodePort
NodePort
LoadBalancer
LoadBalancer
NODE_PORT
NodePort
LOAD_BALANCER
LoadBalancer
"NodePort"
NodePort
"LoadBalancer"
LoadBalancer

LogAnalyticsConfiguration

CustomerId string
SharedKey string
CustomerId string
SharedKey string
customerId String
sharedKey String
customerId string
sharedKey string
customerId String
sharedKey String

LogAnalyticsConfigurationResponse

CustomerId string
CustomerId string
customerId String
customerId string
customerId String

StorageType

LocalNode
LocalNode
NetworkFileSystem
NetworkFileSystem
StorageTypeLocalNode
LocalNode
StorageTypeNetworkFileSystem
NetworkFileSystem
LocalNode
LocalNode
NetworkFileSystem
NetworkFileSystem
LocalNode
LocalNode
NetworkFileSystem
NetworkFileSystem
LOCAL_NODE
LocalNode
NETWORK_FILE_SYSTEM
NetworkFileSystem
"LocalNode"
LocalNode
"NetworkFileSystem"
NetworkFileSystem

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 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0