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

Detailed reference documentation for applications.core/containers@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)
propertiesContainerPropertiesContainer properties
(Required)
systemDataSystemDataMetadata pertaining to creation and last modification of the resource.
(ReadOnly)
tagsTrackedResourceTagsResource tags.
type‘Applications.Core/containers’The resource type
(ReadOnly, DeployTimeConstant)

ContainerProperties

Properties

PropertyTypeDescription
applicationstringFully qualified resource ID for the application
(Required)
connectionsContainerPropertiesConnectionsSpecifies a connection to another resource.
containerContainerDefinition of a container
(Required)
environmentstringFully qualified resource ID for the environment that the application is linked to
extensionsExtension[]Extensions spec of the resource
identityIdentitySettingsIdentitySettings is the external identity setting.
provisioningState‘Accepted’‘Canceled’
resourceProvisioning‘internal’‘manual’
resourcesResourceReference[]A collection of references to resources associated with the container
restartPolicy‘Always’‘Never’
runtimesRuntimesPropertiesThe properties for runtime configuration
statusResourceStatusStatus of a resource.
(ReadOnly)

ContainerPropertiesConnections

Properties

  • none

Additional Properties

ConnectionProperties

Properties

PropertyTypeDescription
disableDefaultEnvVarsbooldefault environment variable override
iamIamPropertiesIAM properties
sourcestringThe source of the connection
(Required)

IamProperties

Properties

PropertyTypeDescription
kind‘azure’‘string’
rolesstring[]RBAC permissions to be assigned on the source resource

Container

Properties

PropertyTypeDescription
argsstring[]Arguments to the entrypoint. Overrides the container image’s CMD
commandstring[]Entrypoint array. Overrides the container image’s ENTRYPOINT
envContainerEnvenvironment
imagestringThe registry and image to download and run in your container
(Required)
imagePullPolicy‘Always’‘IfNotPresent’
livenessProbeHealthProbePropertiesProperties for readiness/liveness probe
portsContainerPortscontainer ports
readinessProbeHealthProbePropertiesProperties for readiness/liveness probe
volumesContainerVolumescontainer volumes
workingDirstringWorking directory for the container

ContainerEnv

Properties

  • none

Additional Properties

EnvironmentVariable

Properties

PropertyTypeDescription
valuestringThe value of the environment variable
valueFromEnvironmentVariableReferenceThe reference to the variable

EnvironmentVariableReference

Properties

PropertyTypeDescription
secretRefSecretReferenceThis secret is used within a recipe. Secrets are encrypted, often have fine-grained access control, auditing and are recommended to be used to hold sensitive data.
(Required)

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)

HealthProbeProperties

  • Discriminator: kind

Base Properties

PropertyTypeDescription
failureThresholdintThreshold number of times the probe fails after which a failure would be reported
initialDelaySecondsintInitial delay in seconds before probing for readiness/liveness
periodSecondsintInterval for the readiness/liveness probe in seconds
timeoutSecondsintNumber of seconds after which the readiness/liveness probe times out. Defaults to 5 seconds

ExecHealthProbeProperties

Properties
PropertyTypeDescription
commandstringCommand to execute to probe readiness/liveness
(Required)
kind’exec'Discriminator property for HealthProbeProperties.
(Required)

HttpGetHealthProbeProperties

Properties
PropertyTypeDescription
containerPortintThe listening port number
(Required)
headersHttpGetHealthProbePropertiesHeadersCustom HTTP headers to add to the get request
kind‘httpGet’Discriminator property for HealthProbeProperties.
(Required)
pathstringThe route to make the HTTP request on
(Required)

TcpHealthProbeProperties

Properties
PropertyTypeDescription
containerPortintThe listening port number
(Required)
kind’tcp'Discriminator property for HealthProbeProperties.
(Required)

HttpGetHealthProbePropertiesHeaders

Properties

  • none

Additional Properties

  • Additional Properties Type: string

ContainerPorts

Properties

  • none

Additional Properties

ContainerPortProperties

Properties

PropertyTypeDescription
containerPortintThe listening port number
(Required)
portintSpecifies the port that will be exposed by this container. Must be set when value different from containerPort is desired
protocol‘TCP’‘UDP’
schemestringSpecifies the URL scheme of the communication protocol. Consumers can use the scheme to construct a URL. The value defaults to ‘http’ or ‘https’ depending on the port value

ContainerVolumes

Properties

  • none

Additional Properties

  • Additional Properties Type: Volume

Volume

  • Discriminator: kind

Base Properties

PropertyTypeDescription
mountPathstringThe path where the volume is mounted

EphemeralVolume

Properties
PropertyTypeDescription
kind’ephemeral’Discriminator property for Volume.
(Required)
managedStore‘disk’‘memory’

PersistentVolume

Properties
PropertyTypeDescription
kind‘persistent’Discriminator property for Volume.
(Required)
permission‘read’‘write’
sourcestringThe source of the volume
(Required)

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

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

ResourceReference

Properties

PropertyTypeDescription
idstringResource id of an existing resource
(Required)

RuntimesProperties

Properties

PropertyTypeDescription
aciACIRuntimePropertiesThe runtime configuration properties for Kubernetes
kubernetesKubernetesRuntimePropertiesThe runtime configuration properties for Kubernetes

ACIRuntimeProperties

Properties

PropertyTypeDescription
gatewayIDstringThe ID of the gateway that is providing L7 traffic for the container

KubernetesRuntimeProperties

Properties

PropertyTypeDescription
basestringThe serialized YAML manifest which represents the base Kubernetes resources to deploy, such as Deployment, Service, ServiceAccount, Secrets, and ConfigMaps.
podKubernetesPodSpecA strategic merge patch that will be applied to the PodSpec object when this container is being deployed.

KubernetesPodSpec

Properties

  • none

Additional Properties

  • Additional Properties Type: any

ResourceStatus

Properties

PropertyTypeDescription
computeEnvironmentComputeRepresents backing compute resource
outputResourcesOutputResource[]Properties of an output resource
recipeRecipeStatusRecipe status at deployment time for a resource.
(ReadOnly)

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)

OutputResource

Properties

PropertyTypeDescription
idstringThe UCP resource ID of the underlying resource.
localIdstringThe logical identifier scoped to the owning Radius resource. This is only needed or used when a resource has a dependency relationship. LocalIDs do not have any particular format or meaning beyond being compared to determine dependency relationships.
radiusManagedboolDetermines whether Radius manages the lifecycle of the underlying resource.

RecipeStatus

Properties

PropertyTypeDescription
templateKindstringTemplateKind is the kind of the recipe template used by the portable resource upon deployment.
(Required)
templatePathstringTemplatePath is the path of the recipe consumed by the portable resource upon deployment.
(Required)
templateVersionstringTemplateVersion is the version number of the template.

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