In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.
Periodic probe of App Instance liveness. App Instance will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
Periodic probe of App Instance service readiness. App Instance will be removed from service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
The requested resource quantity for required CPU and Memory. It is recommended that using this field to represent the required CPU and Memory, the old field cpu and memoryInGB will be deprecated later.
StartupProbe indicates that the App Instance has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a App Instance's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
Optional duration in seconds the App Instance needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the App Instance are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 90 seconds.
Indicates whether disable the liveness and readiness probe
bool
DeploymentSettingsEnvironmentVariables
Name
Description
Value
{customized property}
string
Probe
Name
Description
Value
disableProbe
Indicate whether the probe is disabled.
bool (required)
failureThreshold
Minimum consecutive failures for the probe to be considered failed after having succeeded. Minimum value is 1.
int
initialDelaySeconds
Number of seconds after the App Instance has started before probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
int
periodSeconds
How often (in seconds) to perform the probe. Minimum value is 1.
The type of the action to take to perform the health check.
'ExecAction' (required)
command
Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is not run inside a shell, so traditional shell instructions (',', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
string[]
HttpGetAction
Name
Description
Value
type
The type of the action to take to perform the health check.
'HTTPGetAction' (required)
path
Path to access on the HTTP server.
string
scheme
Scheme to use for connecting to the host. Defaults to HTTP.
Possible enum values: - "HTTP" means that the scheme used will be http:// - "HTTPS" means that the scheme used will be https://
'HTTP' 'HTTPS'
TCPSocketAction
Name
Description
Value
type
The type of the action to take to perform the health check.
'TCPSocketAction' (required)
ResourceRequests
Name
Description
Value
cpu
Required CPU. 1 core can be represented by 1 or 1000m. This should be 500m or 1 for Basic tier, and {500m, 1, 2, 3, 4} for Standard tier.
string
memory
Required memory. 1 GB can be represented by 1Gi or 1024Mi. This should be {512Mi, 1Gi, 2Gi} for Basic tier, and {512Mi, 1Gi, 2Gi, ..., 8Gi} for Standard tier.
string
Scale
Name
Description
Value
maxReplicas
Optional. Maximum number of container replicas. Defaults to 10 if not set.
Periodic probe of App Instance liveness. App Instance will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
Periodic probe of App Instance service readiness. App Instance will be removed from service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
The requested resource quantity for required CPU and Memory. It is recommended that using this field to represent the required CPU and Memory, the old field cpu and memoryInGB will be deprecated later.
StartupProbe indicates that the App Instance has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a App Instance's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
Optional duration in seconds the App Instance needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the App Instance are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 90 seconds.
int
DeploymentSettingsAddonConfigs
Name
Description
Value
{customized property}
ApmReference
Name
Description
Value
resourceId
Resource Id of the APM
string (required)
ContainerProbeSettings
Name
Description
Value
disableProbe
Indicates whether disable the liveness and readiness probe
bool
DeploymentSettingsEnvironmentVariables
Name
Description
Value
{customized property}
string
Probe
Name
Description
Value
disableProbe
Indicate whether the probe is disabled.
bool (required)
failureThreshold
Minimum consecutive failures for the probe to be considered failed after having succeeded. Minimum value is 1.
int
initialDelaySeconds
Number of seconds after the App Instance has started before probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
int
periodSeconds
How often (in seconds) to perform the probe. Minimum value is 1.
The type of the action to take to perform the health check.
'ExecAction' (required)
command
Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is not run inside a shell, so traditional shell instructions (',', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
string[]
HttpGetAction
Name
Description
Value
type
The type of the action to take to perform the health check.
'HTTPGetAction' (required)
path
Path to access on the HTTP server.
string
scheme
Scheme to use for connecting to the host. Defaults to HTTP.
Possible enum values: - "HTTP" means that the scheme used will be http:// - "HTTPS" means that the scheme used will be https://
'HTTP' 'HTTPS'
TCPSocketAction
Name
Description
Value
type
The type of the action to take to perform the health check.
'TCPSocketAction' (required)
ResourceRequests
Name
Description
Value
cpu
Required CPU. 1 core can be represented by 1 or 1000m. This should be 500m or 1 for Basic tier, and {500m, 1, 2, 3, 4} for Standard tier.
string
memory
Required memory. 1 GB can be represented by 1Gi or 1024Mi. This should be {512Mi, 1Gi, 2Gi} for Basic tier, and {512Mi, 1Gi, 2Gi, ..., 8Gi} for Standard tier.
string
Scale
Name
Description
Value
maxReplicas
Optional. Maximum number of container replicas. Defaults to 10 if not set.
Periodic probe of App Instance liveness. App Instance will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
Periodic probe of App Instance service readiness. App Instance will be removed from service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
The requested resource quantity for required CPU and Memory. It is recommended that using this field to represent the required CPU and Memory, the old field cpu and memoryInGB will be deprecated later.
StartupProbe indicates that the App Instance has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a App Instance's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
Optional duration in seconds the App Instance needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the App Instance are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 90 seconds.
int
DeploymentSettingsAddonConfigs
Name
Description
Value
{customized property}
ApmReference
Name
Description
Value
resourceId
Resource Id of the APM
string (required)
ContainerProbeSettings
Name
Description
Value
disableProbe
Indicates whether disable the liveness and readiness probe
bool
DeploymentSettingsEnvironmentVariables
Name
Description
Value
{customized property}
string
Probe
Name
Description
Value
disableProbe
Indicate whether the probe is disabled.
bool (required)
failureThreshold
Minimum consecutive failures for the probe to be considered failed after having succeeded. Minimum value is 1.
int
initialDelaySeconds
Number of seconds after the App Instance has started before probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
int
periodSeconds
How often (in seconds) to perform the probe. Minimum value is 1.
The type of the action to take to perform the health check.
"ExecAction" (required)
command
Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is not run inside a shell, so traditional shell instructions (',', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
string[]
HttpGetAction
Name
Description
Value
type
The type of the action to take to perform the health check.
"HTTPGetAction" (required)
path
Path to access on the HTTP server.
string
scheme
Scheme to use for connecting to the host. Defaults to HTTP.
Possible enum values: - "HTTP" means that the scheme used will be http:// - "HTTPS" means that the scheme used will be https://
"HTTP" "HTTPS"
TCPSocketAction
Name
Description
Value
type
The type of the action to take to perform the health check.
"TCPSocketAction" (required)
ResourceRequests
Name
Description
Value
cpu
Required CPU. 1 core can be represented by 1 or 1000m. This should be 500m or 1 for Basic tier, and {500m, 1, 2, 3, 4} for Standard tier.
string
memory
Required memory. 1 GB can be represented by 1Gi or 1024Mi. This should be {512Mi, 1Gi, 2Gi} for Basic tier, and {512Mi, 1Gi, 2Gi, ..., 8Gi} for Standard tier.
string
Scale
Name
Description
Value
maxReplicas
Optional. Maximum number of container replicas. Defaults to 10 if not set.