Reference: applications.core/environments@2023-10-01-preview
Detailed reference documentation for applications.core/environments@2023-10-01-preview
Schema
Top-Level Resource
Properties
| Property | Type | Description |
|---|---|---|
| apiVersion | ‘2023-10-01-preview’ | The resource api version (ReadOnly, DeployTimeConstant) |
| compute | EnvironmentCompute | The compute resource used by application environment. (ReadOnly) |
| extensions | Extension[] | The environment extension. (ReadOnly) |
| id | string | The resource id (ReadOnly, DeployTimeConstant) |
| location | string | The geo-location where the resource lives |
| name | string | The resource name (Required, DeployTimeConstant, Identifier) |
| properties | EnvironmentProperties | The resource-specific properties for this resource. (Required) |
| providers | Providers | Cloud providers configuration for the environment. (ReadOnly) |
| provisioningState | ‘Accepted’ | ‘Canceled’ |
| recipeConfig | RecipeConfigProperties | Configuration for Recipes. Defines how each type of Recipe should be configured and run. (ReadOnly) |
| recipes | Record | Specifies Recipes linked to the Environment. (ReadOnly) |
| simulated | bool | Simulated environment. (ReadOnly) |
| systemData | SystemData | Azure Resource Manager metadata containing createdBy and modifiedBy information. (ReadOnly) |
| tags | Record | Resource tags. |
| type | ‘Applications.Core/environments’ | The resource type (ReadOnly, DeployTimeConstant) |
EnvironmentCompute
- Discriminator: kind
Base Properties
| Property | Type | Description |
|---|---|---|
| identity | IdentitySettings | Configuration for supported external identity providers |
| resourceId | string | The resource id of the compute resource for application environment. |
AzureContainerInstanceCompute
Properties
| Property | Type | Description |
|---|---|---|
| kind | ‘aci’ | The Azure container instance compute kind (Required) |
| resourceGroup | string | The resource group to use for the environment. |
KubernetesCompute
Properties
| Property | Type | Description |
|---|---|---|
| kind | ‘kubernetes’ | The Kubernetes compute kind (Required) |
| namespace | string | The namespace to use for the environment. (Required) |
IdentitySettings
Properties
| Property | Type | Description |
|---|---|---|
| kind | ‘azure.com.workload’ | ‘systemAssigned’ |
| managedIdentity | string[] | The list of user assigned managed identities |
| oidcIssuer | string | The URI for your compute platform’s OIDC issuer |
| resource | string | The resource ID of the provisioned identity |
Extension
- Discriminator: kind
Base Properties
- none
AzureContainerInstanceExtension
Properties
| Property | Type | Description |
|---|---|---|
| kind | ‘aci’ | The kind of the resource. (Required) |
| resourceGroup | string | The resource group of the application environment. (Required) |
DaprSidecarExtension
Properties
| Property | Type | Description |
|---|---|---|
| appId | string | The Dapr appId. Specifies the identifier used by Dapr for service invocation. (Required) |
| appPort | int | The Dapr appPort. Specifies the internal listening port for the application to handle requests from the Dapr sidecar. |
| config | string | Specifies the Dapr configuration to use for the resource. |
| kind | ‘daprSidecar’ | Specifies the extension of the resource (Required) |
| protocol | ‘grpc’ | ‘http’ |
KubernetesMetadataExtension
Properties
| Property | Type | Description |
|---|---|---|
| annotations | Record | Annotations to be applied to the Kubernetes resources output by the resource |
| kind | ‘kubernetesMetadata’ | The kind of the resource. (Required) |
| labels | Record | Labels to be applied to the Kubernetes resources output by the resource |
KubernetesNamespaceExtension
Properties
| Property | Type | Description |
|---|---|---|
| kind | ‘kubernetesNamespace’ | The kind of the resource. (Required) |
| namespace | string | The namespace of the application environment. (Required) |
ManualScalingExtension
Properties
| Property | Type | Description |
|---|---|---|
| kind | ‘manualScaling’ | Specifies the extension of the resource (Required) |
| replicas | int | Replica count. (Required) |
Record
Properties
- none
Additional Properties
- Additional Properties Type: string
Record
Properties
- none
Additional Properties
- Additional Properties Type: string
EnvironmentProperties
Properties
| Property | Type | Description |
|---|---|---|
| compute | EnvironmentCompute | The compute resource used by application environment. (Required) |
| extensions | Extension[] | The environment extension. |
| providers | Providers | Cloud providers configuration for the environment. |
| provisioningState | ‘Accepted’ | ‘Canceled’ |
| recipeConfig | RecipeConfigProperties | Configuration for Recipes. Defines how each type of Recipe should be configured and run. |
| recipes | Record | Specifies Recipes linked to the Environment. |
| simulated | bool | Simulated environment. |
Providers
Properties
| Property | Type | Description |
|---|---|---|
| aws | ProvidersAws | The AWS cloud provider configuration. |
| azure | ProvidersAzure | The Azure cloud provider configuration. |
ProvidersAws
Properties
| Property | Type | Description |
|---|---|---|
| scope | string | Target scope for AWS resources to be deployed into. For example: ‘/planes/aws/aws/accounts/000000000000/regions/us-west-2’. (Required) |
ProvidersAzure
Properties
| Property | Type | Description |
|---|---|---|
| scope | string | Target scope for Azure resources to be deployed into. For example: ‘/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testGroup’. (Required) |
RecipeConfigProperties
Properties
| Property | Type | Description |
|---|---|---|
| bicep | BicepConfigProperties | Configuration for Bicep Recipes. Controls how Bicep plans and applies templates as part of Recipe deployment. |
| env | EnvironmentVariables | Environment variables injected during recipe execution for the recipes in the environment, currently supported for Terraform recipes. |
| envSecrets | Record | Environment variables containing sensitive information can be stored as secrets. The secrets are stored in Applications.Core/SecretStores resource. |
| terraform | TerraformConfigProperties | Configuration for Terraform Recipes. Controls how Terraform plans and applies templates as part of Recipe deployment. |
BicepConfigProperties
Properties
| Property | Type | Description |
|---|---|---|
| authentication | Record | Authentication 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
- Additional Properties Type: RegistrySecretConfig
RegistrySecretConfig
Properties
| Property | Type | Description |
|---|---|---|
| secret | string | The 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
- Additional Properties Type: SecretReference
SecretReference
Properties
| Property | Type | Description |
|---|---|---|
| key | string | The key for the secret in the secret store. (Required) |
| source | string | The ID of an Applications.Core/SecretStore resource containing sensitive data required for recipe execution. (Required) |
TerraformConfigProperties
Properties
| Property | Type | Description |
|---|---|---|
| authentication | AuthConfig | Authentication information used to access private Terraform module sources. Supported module sources: Git. |
| providers | Record | Configuration 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
| Property | Type | Description |
|---|---|---|
| git | GitAuthConfig | Authentication information used to access private Terraform modules from Git repository sources. |
GitAuthConfig
Properties
| Property | Type | Description |
|---|---|---|
| pat | Record | Personal Access Token (PAT) configuration used to authenticate to Git platforms. |
Record
Properties
- none
Additional Properties
- Additional Properties Type: SecretConfig
SecretConfig
Properties
| Property | Type | Description |
|---|---|---|
| secret | string | The 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
- Additional Properties Type: ProviderConfigProperties[]
ProviderConfigProperties
Properties
| Property | Type | Description |
|---|---|---|
| secrets | Record | Sensitive 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
- Additional Properties Type: SecretReference
Record
Properties
- none
Additional Properties
- Additional Properties Type: Record
Record
Properties
- none
Additional Properties
- Additional Properties Type: RecipeProperties
RecipeProperties
- Discriminator: templateKind
Base Properties
| Property | Type | Description |
|---|---|---|
| parameters | Record | Key/value parameters to pass to the recipe template at deployment. |
| templatePath | string | Path to the template provided by the recipe. Currently only link to Azure Container Registry is supported. (Required) |
BicepRecipeProperties
Properties
| Property | Type | Description |
|---|---|---|
| plainHttp | bool | Connect 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
| Property | Type | Description |
|---|---|---|
| templateKind | ’terraform’ | The Terraform template kind. (Required) |
| templateVersion | string | Version 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
- Additional Properties Type: RecipeProperties
SystemData
Properties
| Property | Type | Description |
|---|---|---|
| createdAt | string | The timestamp of resource creation (UTC). |
| createdBy | string | The identity that created the resource. |
| createdByType | ‘Application’ | ‘Key’ |
| lastModifiedAt | string | The timestamp of resource last modification (UTC) |
| lastModifiedBy | string | The identity that last modified the resource. |
| lastModifiedByType | ‘Application’ | ‘Key’ |
Record
Properties
- none
Additional Properties
- Additional Properties Type: string
Feedback
Was this page helpful?
Glad to hear it! Please feel free to star our repo and join our Discord server to stay up to date with the project.
Sorry to hear that. If you would like to also contribute a suggestion visit and tell us how we can improve.