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)
computeEnvironmentComputeThe compute resource used by application environment.
(ReadOnly)
extensionsExtension[]The environment extension.
(ReadOnly)
idstringThe resource id
(ReadOnly, DeployTimeConstant)
locationstringThe geo-location where the resource lives
namestringThe resource name
(Required, DeployTimeConstant, Identifier)
propertiesEnvironmentPropertiesThe resource-specific properties for this resource.
(Required)
providersProvidersCloud providers configuration for the environment.
(ReadOnly)
provisioningState‘Accepted’‘Canceled’
recipeConfigRecipeConfigPropertiesConfiguration for Recipes. Defines how each type of Recipe should be configured and run.
(ReadOnly)
recipesRecordSpecifies Recipes linked to the Environment.
(ReadOnly)
simulatedboolSimulated environment.
(ReadOnly)
systemDataSystemDataAzure Resource Manager metadata containing createdBy and modifiedBy information.
(ReadOnly)
tagsRecordResource tags.
type‘Applications.Core/environments’The resource type
(ReadOnly, DeployTimeConstant)

EnvironmentCompute

  • Discriminator: kind

Base Properties

PropertyTypeDescription
identityIdentitySettingsConfiguration for supported external identity providers
resourceIdstringThe resource id of the compute resource for application environment.

AzureContainerInstanceCompute

Properties
PropertyTypeDescription
kind‘aci’The Azure container instance compute kind
(Required)
resourceGroupstringThe resource group to use for the environment.

KubernetesCompute

Properties
PropertyTypeDescription
kind‘kubernetes’The Kubernetes compute kind
(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’The kind of the resource.
(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’Specifies the extension of the resource
(Required)
protocol‘grpc’‘http’

KubernetesMetadataExtension

Properties
PropertyTypeDescription
annotationsRecordAnnotations to be applied to the Kubernetes resources output by the resource
kind‘kubernetesMetadata’The kind of the resource.
(Required)
labelsRecordLabels to be applied to the Kubernetes resources output by the resource

KubernetesNamespaceExtension

Properties
PropertyTypeDescription
kind‘kubernetesNamespace’The kind of the resource.
(Required)
namespacestringThe namespace of the application environment.
(Required)

ManualScalingExtension

Properties
PropertyTypeDescription
kind‘manualScaling’Specifies the extension of the resource
(Required)
replicasintReplica count.
(Required)

Record

Properties

  • none

Additional Properties

  • Additional Properties Type: string

Record

Properties

  • none

Additional Properties

  • Additional Properties Type: string

EnvironmentProperties

Properties

PropertyTypeDescription
computeEnvironmentComputeThe compute resource used by application environment.
(Required)
extensionsExtension[]The environment extension.
providersProvidersCloud providers configuration for the environment.
provisioningState‘Accepted’‘Canceled’
recipeConfigRecipeConfigPropertiesConfiguration for Recipes. Defines how each type of Recipe should be configured and run.
recipesRecordSpecifies Recipes linked to the Environment.
simulatedboolSimulated environment.

Providers

Properties

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

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.
envEnvironmentVariablesEnvironment variables injected during recipe execution for the recipes in the environment, currently supported for Terraform recipes.
envSecretsRecordEnvironment 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
authenticationRecordAuthentication information used to access private bicep registries, which is a map of registry hostname to secret config that contains credential information.

Record

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

Record

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.
providersRecordConfiguration 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
patRecordPersonal Access Token (PAT) configuration used to authenticate to Git platforms.

Record

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.

Record

Properties

  • none

Additional Properties

ProviderConfigProperties

Properties

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

Additional Properties

  • Additional Properties Type: any

Record

Properties

  • none

Additional Properties

Record

Properties

  • none

Additional Properties

  • Additional Properties Type: Record

Record

Properties

  • none

Additional Properties

RecipeProperties

  • Discriminator: templateKind

Base Properties

PropertyTypeDescription
parametersRecordKey/value parameters to pass to the recipe template at deployment.
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’The Bicep template kind.
(Required)

TerraformRecipeProperties

Properties
PropertyTypeDescription
templateKind’terraform’The Terraform template kind.
(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.

Record

Properties

  • none

Additional Properties

  • Additional Properties Type: any

Record

Properties

  • none

Additional Properties

  • Additional Properties Type: Record

Record

Properties

  • none

Additional Properties

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’

Record

Properties

  • none

Additional Properties

  • Additional Properties Type: string