Reference: applications.core/environments@2023-10-01-preview

Detailed reference documentation for applications.core/environments@2023-10-01-preview

Schema

Top-Level Resource

Properties

PropertyTypeDescription
apiVersion‘2023-10-01-preview’The resource api version
(ReadOnly, DeployTimeConstant)
idstringThe resource id
(ReadOnly, DeployTimeConstant)
locationstringThe geo-location where the resource lives
namestringThe resource name
(Required, DeployTimeConstant, Identifier)
propertiesEnvironmentPropertiesEnvironment properties
(Required)
systemDataSystemDataMetadata pertaining to creation and last modification of the resource.
(ReadOnly)
tagsTrackedResourceTagsResource tags.
type‘Applications.Core/environments’The resource type
(ReadOnly, DeployTimeConstant)

EnvironmentProperties

Properties

PropertyTypeDescription
computeEnvironmentComputeRepresents backing compute resource
(Required)
extensionsExtension[]The environment extension.
providersProvidersThe Cloud providers configuration.
provisioningState‘Accepted’‘Canceled’
recipeConfigRecipeConfigPropertiesConfiguration for Recipes. Defines how each type of Recipe should be configured and run.
recipesEnvironmentPropertiesRecipesSpecifies Recipes linked to the Environment.
simulatedboolSimulated environment.

EnvironmentCompute

  • Discriminator: kind

Base Properties

PropertyTypeDescription
identityIdentitySettingsIdentitySettings is the external identity setting.
resourceIdstringThe resource id of the compute resource for application environment.

AzureContainerInstanceCompute

Properties
PropertyTypeDescription
kind‘aci’Discriminator property for EnvironmentCompute.
(Required)
resourceGroupstringThe resource group to use for the environment.

KubernetesCompute

Properties
PropertyTypeDescription
kind‘kubernetes’Discriminator property for EnvironmentCompute.
(Required)
namespacestringThe namespace to use for the environment.
(Required)

IdentitySettings

Properties

PropertyTypeDescription
kind‘azure.com.workload’‘systemAssigned’
managedIdentitystring[]The list of user assigned managed identities
oidcIssuerstringThe URI for your compute platform’s OIDC issuer
resourcestringThe resource ID of the provisioned identity

Extension

  • Discriminator: kind

Base Properties

  • none

AzureContainerInstanceExtension

Properties
PropertyTypeDescription
kind‘aci’Discriminator property for Extension.
(Required)
resourceGroupstringThe resource group of the application environment.
(Required)

DaprSidecarExtension

Properties
PropertyTypeDescription
appIdstringThe Dapr appId. Specifies the identifier used by Dapr for service invocation.
(Required)
appPortintThe Dapr appPort. Specifies the internal listening port for the application to handle requests from the Dapr sidecar.
configstringSpecifies the Dapr configuration to use for the resource.
kind‘daprSidecar’Discriminator property for Extension.
(Required)
protocol‘grpc’‘http’

KubernetesMetadataExtension

Properties
PropertyTypeDescription
annotationsKubernetesMetadataExtensionAnnotationsAnnotations to be applied to the Kubernetes resources output by the resource
kind‘kubernetesMetadata’Discriminator property for Extension.
(Required)
labelsKubernetesMetadataExtensionLabelsLabels to be applied to the Kubernetes resources output by the resource

KubernetesNamespaceExtension

Properties
PropertyTypeDescription
kind‘kubernetesNamespace’Discriminator property for Extension.
(Required)
namespacestringThe namespace of the application environment.
(Required)

ManualScalingExtension

Properties
PropertyTypeDescription
kind‘manualScaling’Discriminator property for Extension.
(Required)
replicasintReplica count.
(Required)

KubernetesMetadataExtensionAnnotations

Properties

  • none

Additional Properties

  • Additional Properties Type: string

KubernetesMetadataExtensionLabels

Properties

  • none

Additional Properties

  • Additional Properties Type: string

Providers

Properties

PropertyTypeDescription
awsProvidersAwsThe AWS cloud provider definition.
azureProvidersAzureThe Azure cloud provider definition.

ProvidersAws

Properties

PropertyTypeDescription
scopestringTarget scope for AWS resources to be deployed into. For example: ‘/planes/aws/aws/accounts/000000000000/regions/us-west-2’.
(Required)

ProvidersAzure

Properties

PropertyTypeDescription
scopestringTarget scope for Azure resources to be deployed into. For example: ‘/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testGroup’.
(Required)

RecipeConfigProperties

Properties

PropertyTypeDescription
bicepBicepConfigPropertiesConfiguration for Bicep Recipes. Controls how Bicep plans and applies templates as part of Recipe deployment.
envEnvironmentVariablesThe environment variables injected during Terraform Recipe execution for the recipes in the environment.
envSecretsRecipeConfigPropertiesEnvSecretsEnvironment variables containing sensitive information can be stored as secrets. The secrets are stored in Applications.Core/SecretStores resource.
terraformTerraformConfigPropertiesConfiguration for Terraform Recipes. Controls how Terraform plans and applies templates as part of Recipe deployment.

BicepConfigProperties

Properties

PropertyTypeDescription
authenticationBicepConfigPropertiesAuthenticationAuthentication information used to access private bicep registries, which is a map of registry hostname to secret config that contains credential information.

BicepConfigPropertiesAuthentication

Properties

  • none

Additional Properties

RegistrySecretConfig

Properties

PropertyTypeDescription
secretstringThe ID of an Applications.Core/SecretStore resource containing credential information used to authenticate private container registry.The keys in the secretstore depends on the type.

EnvironmentVariables

Properties

  • none

Additional Properties

  • Additional Properties Type: string

RecipeConfigPropertiesEnvSecrets

Properties

  • none

Additional Properties

SecretReference

Properties

PropertyTypeDescription
keystringThe key for the secret in the secret store.
(Required)
sourcestringThe ID of an Applications.Core/SecretStore resource containing sensitive data required for recipe execution.
(Required)

TerraformConfigProperties

Properties

PropertyTypeDescription
authenticationAuthConfigAuthentication information used to access private Terraform module sources. Supported module sources: Git.
providersTerraformConfigPropertiesProvidersConfiguration for Terraform Recipe Providers. Controls how Terraform interacts with cloud providers, SaaS providers, and other APIs. For more information, please see: https://developer.hashicorp.com/terraform/language/providers/configuration.

AuthConfig

Properties

PropertyTypeDescription
gitGitAuthConfigAuthentication information used to access private Terraform modules from Git repository sources.

GitAuthConfig

Properties

PropertyTypeDescription
patGitAuthConfigPatPersonal Access Token (PAT) configuration used to authenticate to Git platforms.

GitAuthConfigPat

Properties

  • none

Additional Properties

SecretConfig

Properties

PropertyTypeDescription
secretstringThe ID of an Applications.Core/SecretStore resource containing the Git platform personal access token (PAT). The secret store must have a secret named ‘pat’, containing the PAT value. A secret named ‘username’ is optional, containing the username associated with the pat. By default no username is specified.

TerraformConfigPropertiesProviders

Properties

  • none

Additional Properties

ProviderConfigProperties

Properties

PropertyTypeDescription
secretsProviderConfigPropertiesSecretsSensitive data in provider configuration can be stored as secrets. The secrets are stored in Applications.Core/SecretStores resource.

Additional Properties

  • Additional Properties Type: any

ProviderConfigPropertiesSecrets

Properties

  • none

Additional Properties

EnvironmentPropertiesRecipes

Properties

  • none

Additional Properties

DictionaryOfRecipeProperties

Properties

  • none

Additional Properties

RecipeProperties

  • Discriminator: templateKind

Base Properties

PropertyTypeDescription
parametersanyAny object
templatePathstringPath to the template provided by the recipe. Currently only link to Azure Container Registry is supported.
(Required)

BicepRecipeProperties

Properties
PropertyTypeDescription
plainHttpboolConnect to the Bicep registry using HTTP (not-HTTPS). This should be used when the registry is known not to support HTTPS, for example in a locally-hosted registry. Defaults to false (use HTTPS/TLS).
templateKind‘bicep’Discriminator property for RecipeProperties.
(Required)

TerraformRecipeProperties

Properties
PropertyTypeDescription
templateKind’terraform’Discriminator property for RecipeProperties.
(Required)
templateVersionstringVersion of the template to deploy. For Terraform recipes using a module registry this is required, but must be omitted for other module sources.

SystemData

Properties

PropertyTypeDescription
createdAtstringThe timestamp of resource creation (UTC).
createdBystringThe identity that created the resource.
createdByType‘Application’‘Key’
lastModifiedAtstringThe timestamp of resource last modification (UTC)
lastModifiedBystringThe identity that last modified the resource.
lastModifiedByType‘Application’‘Key’

TrackedResourceTags

Properties

  • none

Additional Properties

  • Additional Properties Type: string