ConnectedEnvironment

class ConnectedEnvironment : KotlinCustomResource

An environment for Kubernetes cluster specialized for web workloads by Azure App Service Uses Azure REST API version 2024-03-01. In version 2.x of the Azure Native provider, it used API version 2022-10-01. Other available API versions: 2022-10-01, 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview, 2023-11-02-preview, 2024-02-02-preview, 2024-08-02-preview, 2024-10-02-preview, 2025-01-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native app [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 connectedEnvironment = new AzureNative.App.ConnectedEnvironment("connectedEnvironment", new()
{
ConnectedEnvironmentName = "testenv",
CustomDomainConfiguration = new AzureNative.App.Inputs.CustomDomainConfigurationArgs
{
CertificatePassword = "private key password",
CertificateValue = "Y2VydA==",
DnsSuffix = "www.my-name.com",
},
DaprAIConnectionString = "InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://northcentralus-0.in.applicationinsights.azure.com/",
Location = "East US",
ResourceGroupName = "examplerg",
StaticIp = "1.2.3.4",
});
});
package main
import (
app "github.com/pulumi/pulumi-azure-native-sdk/app/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := app.NewConnectedEnvironment(ctx, "connectedEnvironment", &app.ConnectedEnvironmentArgs{
ConnectedEnvironmentName: pulumi.String("testenv"),
CustomDomainConfiguration: &app.CustomDomainConfigurationArgs{
CertificatePassword: pulumi.String("private key password"),
CertificateValue: pulumi.String("Y2VydA=="),
DnsSuffix: pulumi.String("www.my-name.com"),
},
DaprAIConnectionString: pulumi.String("InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://northcentralus-0.in.applicationinsights.azure.com/"),
Location: pulumi.String("East US"),
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.app.ConnectedEnvironment;
import com.pulumi.azurenative.app.ConnectedEnvironmentArgs;
import com.pulumi.azurenative.app.inputs.CustomDomainConfigurationArgs;
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 connectedEnvironment = new ConnectedEnvironment("connectedEnvironment", ConnectedEnvironmentArgs.builder()
.connectedEnvironmentName("testenv")
.customDomainConfiguration(CustomDomainConfigurationArgs.builder()
.certificatePassword("private key password")
.certificateValue("Y2VydA==")
.dnsSuffix("www.my-name.com")
.build())
.daprAIConnectionString("InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://northcentralus-0.in.applicationinsights.azure.com/")
.location("East US")
.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:app:ConnectedEnvironment testenv /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard

Custom domain configuration for the environment

Link copied to clipboard

Application Insights connection string used by Dapr to export Service to Service communication telemetry

Link copied to clipboard
val defaultDomain: Output<String>

Default Domain Name for the cluster

Link copied to clipboard

Any errors that occurred during deployment or deployment validation

Link copied to clipboard

The complex type of the extended location.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

Provisioning state of the Kubernetes Environment.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val staticIp: Output<String>?

Static IP of the connectedEnvironment

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

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

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>