1. Packages
  2. Azure Native
  3. API Docs
  4. app
  5. ConnectedEnvironment
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.9.0 published on Wednesday, Sep 27, 2023 by Pulumi

azure-native.app.ConnectedEnvironment

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.9.0 published on Wednesday, Sep 27, 2023 by Pulumi

    An environment for Kubernetes cluster specialized for web workloads by Azure App Service Azure REST API version: 2022-10-01.

    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/",
            ExtendedLocation = new AzureNative.App.Inputs.ExtendedLocationArgs
            {
                Name = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation",
                Type = "CustomLocation",
            },
            Location = "East US",
            ResourceGroupName = "examplerg",
            StaticIp = "1.2.3.4",
        });
    
    });
    
    package main
    
    import (
    	"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/"),
    			ExtendedLocation: &app.ExtendedLocationArgs{
    				Name: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation"),
    				Type: pulumi.String("CustomLocation"),
    			},
    			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 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(Map.ofEntries(
                    Map.entry("certificatePassword", "private key password"),
                    Map.entry("certificateValue", "Y2VydA=="),
                    Map.entry("dnsSuffix", "www.my-name.com")
                ))
                .daprAIConnectionString("InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://northcentralus-0.in.applicationinsights.azure.com/")
                .extendedLocation(Map.ofEntries(
                    Map.entry("name", "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation"),
                    Map.entry("type", "CustomLocation")
                ))
                .location("East US")
                .resourceGroupName("examplerg")
                .staticIp("1.2.3.4")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    connected_environment = azure_native.app.ConnectedEnvironment("connectedEnvironment",
        connected_environment_name="testenv",
        custom_domain_configuration=azure_native.app.CustomDomainConfigurationArgs(
            certificate_password="private key password",
            certificate_value="Y2VydA==",
            dns_suffix="www.my-name.com",
        ),
        dapr_ai_connection_string="InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://northcentralus-0.in.applicationinsights.azure.com/",
        extended_location=azure_native.app.ExtendedLocationArgs(
            name="/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation",
            type="CustomLocation",
        ),
        location="East US",
        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 connectedEnvironment = new azure_native.app.ConnectedEnvironment("connectedEnvironment", {
        connectedEnvironmentName: "testenv",
        customDomainConfiguration: {
            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/",
        extendedLocation: {
            name: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation",
            type: "CustomLocation",
        },
        location: "East US",
        resourceGroupName: "examplerg",
        staticIp: "1.2.3.4",
    });
    
    resources:
      connectedEnvironment:
        type: azure-native:app:ConnectedEnvironment
        properties:
          connectedEnvironmentName: testenv
          customDomainConfiguration:
            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/
          extendedLocation:
            name: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation
            type: CustomLocation
          location: East US
          resourceGroupName: examplerg
          staticIp: 1.2.3.4
    

    Create ConnectedEnvironment Resource

    new ConnectedEnvironment(name: string, args: ConnectedEnvironmentArgs, opts?: CustomResourceOptions);
    @overload
    def ConnectedEnvironment(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             connected_environment_name: Optional[str] = None,
                             custom_domain_configuration: Optional[CustomDomainConfigurationArgs] = None,
                             dapr_ai_connection_string: Optional[str] = None,
                             extended_location: Optional[ExtendedLocationArgs] = None,
                             location: Optional[str] = None,
                             resource_group_name: Optional[str] = None,
                             static_ip: Optional[str] = None,
                             tags: Optional[Mapping[str, str]] = None)
    @overload
    def ConnectedEnvironment(resource_name: str,
                             args: ConnectedEnvironmentArgs,
                             opts: Optional[ResourceOptions] = None)
    func NewConnectedEnvironment(ctx *Context, name string, args ConnectedEnvironmentArgs, opts ...ResourceOption) (*ConnectedEnvironment, error)
    public ConnectedEnvironment(string name, ConnectedEnvironmentArgs args, CustomResourceOptions? opts = null)
    public ConnectedEnvironment(String name, ConnectedEnvironmentArgs args)
    public ConnectedEnvironment(String name, ConnectedEnvironmentArgs args, CustomResourceOptions options)
    
    type: azure-native:app:ConnectedEnvironment
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args ConnectedEnvironmentArgs
    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 ConnectedEnvironmentArgs
    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 ConnectedEnvironmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConnectedEnvironmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConnectedEnvironmentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    ConnectedEnvironment 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 ConnectedEnvironment resource accepts the following input properties:

    ResourceGroupName string

    The name of the resource group. The name is case insensitive.

    ConnectedEnvironmentName string

    Name of the connectedEnvironment.

    CustomDomainConfiguration Pulumi.AzureNative.App.Inputs.CustomDomainConfiguration

    Custom domain configuration for the environment

    DaprAIConnectionString string

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

    ExtendedLocation Pulumi.AzureNative.App.Inputs.ExtendedLocation

    The complex type of the extended location.

    Location string

    The geo-location where the resource lives

    StaticIp string

    Static IP of the connectedEnvironment

    Tags Dictionary<string, string>

    Resource tags.

    ResourceGroupName string

    The name of the resource group. The name is case insensitive.

    ConnectedEnvironmentName string

    Name of the connectedEnvironment.

    CustomDomainConfiguration CustomDomainConfigurationArgs

    Custom domain configuration for the environment

    DaprAIConnectionString string

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

    ExtendedLocation ExtendedLocationArgs

    The complex type of the extended location.

    Location string

    The geo-location where the resource lives

    StaticIp string

    Static IP of the connectedEnvironment

    Tags map[string]string

    Resource tags.

    resourceGroupName String

    The name of the resource group. The name is case insensitive.

    connectedEnvironmentName String

    Name of the connectedEnvironment.

    customDomainConfiguration CustomDomainConfiguration

    Custom domain configuration for the environment

    daprAIConnectionString String

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

    extendedLocation ExtendedLocation

    The complex type of the extended location.

    location String

    The geo-location where the resource lives

    staticIp String

    Static IP of the connectedEnvironment

    tags Map<String,String>

    Resource tags.

    resourceGroupName string

    The name of the resource group. The name is case insensitive.

    connectedEnvironmentName string

    Name of the connectedEnvironment.

    customDomainConfiguration CustomDomainConfiguration

    Custom domain configuration for the environment

    daprAIConnectionString string

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

    extendedLocation ExtendedLocation

    The complex type of the extended location.

    location string

    The geo-location where the resource lives

    staticIp string

    Static IP of the connectedEnvironment

    tags {[key: string]: string}

    Resource tags.

    resource_group_name str

    The name of the resource group. The name is case insensitive.

    connected_environment_name str

    Name of the connectedEnvironment.

    custom_domain_configuration CustomDomainConfigurationArgs

    Custom domain configuration for the environment

    dapr_ai_connection_string str

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

    extended_location ExtendedLocationArgs

    The complex type of the extended location.

    location str

    The geo-location where the resource lives

    static_ip str

    Static IP of the connectedEnvironment

    tags Mapping[str, str]

    Resource tags.

    resourceGroupName String

    The name of the resource group. The name is case insensitive.

    connectedEnvironmentName String

    Name of the connectedEnvironment.

    customDomainConfiguration Property Map

    Custom domain configuration for the environment

    daprAIConnectionString String

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

    extendedLocation Property Map

    The complex type of the extended location.

    location String

    The geo-location where the resource lives

    staticIp String

    Static IP of the connectedEnvironment

    tags Map<String>

    Resource tags.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ConnectedEnvironment 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.

    Name string

    The name of the resource

    ProvisioningState string

    Provisioning state of the Kubernetes Environment.

    SystemData Pulumi.AzureNative.App.Outputs.SystemDataResponse

    Azure Resource Manager metadata containing createdBy and modifiedBy information.

    Type string

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

    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.

    Name string

    The name of the resource

    ProvisioningState string

    Provisioning state of the Kubernetes Environment.

    SystemData SystemDataResponse

    Azure Resource Manager metadata containing createdBy and modifiedBy information.

    Type string

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

    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.

    name String

    The name of the resource

    provisioningState String

    Provisioning state of the Kubernetes Environment.

    systemData SystemDataResponse

    Azure Resource Manager metadata containing createdBy and modifiedBy information.

    type String

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

    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.

    name string

    The name of the resource

    provisioningState string

    Provisioning state of the Kubernetes Environment.

    systemData SystemDataResponse

    Azure Resource Manager metadata containing createdBy and modifiedBy information.

    type string

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

    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.

    name str

    The name of the resource

    provisioning_state str

    Provisioning state of the Kubernetes Environment.

    system_data SystemDataResponse

    Azure Resource Manager metadata containing createdBy and modifiedBy information.

    type str

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

    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.

    name String

    The name of the resource

    provisioningState String

    Provisioning state of the Kubernetes Environment.

    systemData Property Map

    Azure Resource Manager metadata containing createdBy and modifiedBy information.

    type String

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

    Supporting Types

    CustomDomainConfiguration, CustomDomainConfigurationArgs

    CertificatePassword string

    Certificate password

    CertificateValue string

    PFX or PEM blob

    DnsSuffix string

    Dns suffix for the environment domain

    CertificatePassword string

    Certificate password

    CertificateValue string

    PFX or PEM blob

    DnsSuffix string

    Dns suffix for the environment domain

    certificatePassword String

    Certificate password

    certificateValue String

    PFX or PEM blob

    dnsSuffix String

    Dns suffix for the environment domain

    certificatePassword string

    Certificate password

    certificateValue string

    PFX or PEM blob

    dnsSuffix string

    Dns suffix for the environment domain

    certificate_password str

    Certificate password

    certificate_value str

    PFX or PEM blob

    dns_suffix str

    Dns suffix for the environment domain

    certificatePassword String

    Certificate password

    certificateValue String

    PFX or PEM blob

    dnsSuffix String

    Dns suffix for the environment domain

    CustomDomainConfigurationResponse, CustomDomainConfigurationResponseArgs

    CustomDomainVerificationId string

    Id used to verify domain name ownership

    ExpirationDate string

    Certificate expiration date.

    SubjectName string

    Subject name of the certificate.

    Thumbprint string

    Certificate thumbprint.

    CertificatePassword string

    Certificate password

    CertificateValue string

    PFX or PEM blob

    DnsSuffix string

    Dns suffix for the environment domain

    CustomDomainVerificationId string

    Id used to verify domain name ownership

    ExpirationDate string

    Certificate expiration date.

    SubjectName string

    Subject name of the certificate.

    Thumbprint string

    Certificate thumbprint.

    CertificatePassword string

    Certificate password

    CertificateValue string

    PFX or PEM blob

    DnsSuffix string

    Dns suffix for the environment domain

    customDomainVerificationId String

    Id used to verify domain name ownership

    expirationDate String

    Certificate expiration date.

    subjectName String

    Subject name of the certificate.

    thumbprint String

    Certificate thumbprint.

    certificatePassword String

    Certificate password

    certificateValue String

    PFX or PEM blob

    dnsSuffix String

    Dns suffix for the environment domain

    customDomainVerificationId string

    Id used to verify domain name ownership

    expirationDate string

    Certificate expiration date.

    subjectName string

    Subject name of the certificate.

    thumbprint string

    Certificate thumbprint.

    certificatePassword string

    Certificate password

    certificateValue string

    PFX or PEM blob

    dnsSuffix string

    Dns suffix for the environment domain

    custom_domain_verification_id str

    Id used to verify domain name ownership

    expiration_date str

    Certificate expiration date.

    subject_name str

    Subject name of the certificate.

    thumbprint str

    Certificate thumbprint.

    certificate_password str

    Certificate password

    certificate_value str

    PFX or PEM blob

    dns_suffix str

    Dns suffix for the environment domain

    customDomainVerificationId String

    Id used to verify domain name ownership

    expirationDate String

    Certificate expiration date.

    subjectName String

    Subject name of the certificate.

    thumbprint String

    Certificate thumbprint.

    certificatePassword String

    Certificate password

    certificateValue String

    PFX or PEM blob

    dnsSuffix String

    Dns suffix for the environment domain

    ExtendedLocation, ExtendedLocationArgs

    Name string

    The name of the extended location.

    Type string | Pulumi.AzureNative.App.ExtendedLocationTypes

    The type of the extended location.

    Name string

    The name of the extended location.

    Type string | ExtendedLocationTypes

    The type of the extended location.

    name String

    The name of the extended location.

    type String | ExtendedLocationTypes

    The type of the extended location.

    name string

    The name of the extended location.

    type string | ExtendedLocationTypes

    The type of the extended location.

    name str

    The name of the extended location.

    type str | ExtendedLocationTypes

    The type of the extended location.

    name String

    The name of the extended location.

    type String | "CustomLocation"

    The type of the extended location.

    ExtendedLocationResponse, ExtendedLocationResponseArgs

    Name string

    The name of the extended location.

    Type string

    The type of the extended location.

    Name string

    The name of the extended location.

    Type string

    The type of the extended location.

    name String

    The name of the extended location.

    type String

    The type of the extended location.

    name string

    The name of the extended location.

    type string

    The type of the extended location.

    name str

    The name of the extended location.

    type str

    The type of the extended location.

    name String

    The name of the extended location.

    type String

    The type of the extended location.

    ExtendedLocationTypes, ExtendedLocationTypesArgs

    CustomLocation
    CustomLocation
    ExtendedLocationTypesCustomLocation
    CustomLocation
    CustomLocation
    CustomLocation
    CustomLocation
    CustomLocation
    CUSTOM_LOCATION
    CustomLocation
    "CustomLocation"
    CustomLocation

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string

    The timestamp of resource creation (UTC).

    CreatedBy string

    The identity that created the resource.

    CreatedByType string

    The type of identity that created the resource.

    LastModifiedAt string

    The timestamp of resource last modification (UTC)

    LastModifiedBy string

    The identity that last modified the resource.

    LastModifiedByType string

    The type of identity that last modified the resource.

    CreatedAt string

    The timestamp of resource creation (UTC).

    CreatedBy string

    The identity that created the resource.

    CreatedByType string

    The type of identity that created the resource.

    LastModifiedAt string

    The timestamp of resource last modification (UTC)

    LastModifiedBy string

    The identity that last modified the resource.

    LastModifiedByType string

    The type of identity that last modified the resource.

    createdAt String

    The timestamp of resource creation (UTC).

    createdBy String

    The identity that created the resource.

    createdByType String

    The type of identity that created the resource.

    lastModifiedAt String

    The timestamp of resource last modification (UTC)

    lastModifiedBy String

    The identity that last modified the resource.

    lastModifiedByType String

    The type of identity that last modified the resource.

    createdAt string

    The timestamp of resource creation (UTC).

    createdBy string

    The identity that created the resource.

    createdByType string

    The type of identity that created the resource.

    lastModifiedAt string

    The timestamp of resource last modification (UTC)

    lastModifiedBy string

    The identity that last modified the resource.

    lastModifiedByType string

    The type of identity that last modified the resource.

    created_at str

    The timestamp of resource creation (UTC).

    created_by str

    The identity that created the resource.

    created_by_type str

    The type of identity that created the resource.

    last_modified_at str

    The timestamp of resource last modification (UTC)

    last_modified_by str

    The identity that last modified the resource.

    last_modified_by_type str

    The type of identity that last modified the resource.

    createdAt String

    The timestamp of resource creation (UTC).

    createdBy String

    The identity that created the resource.

    createdByType String

    The type of identity that created the resource.

    lastModifiedAt String

    The timestamp of resource last modification (UTC)

    lastModifiedBy String

    The identity that last modified the resource.

    lastModifiedByType String

    The type of identity that last modified the resource.

    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} 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.9.0 published on Wednesday, Sep 27, 2023 by Pulumi