Access to this page requires authorization. You can try or changing directories . Access to this page requires authorization. You can try changing directories .

Examples

Add hostname without binding.

az containerapp hostname add -n my-containerapp -g MyResourceGroup --hostname MyHostname

Required Parameters

--hostname

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Examples

Add or update hostname and binding with a provided certificate.

az containerapp hostname bind -n my-containerapp -g MyResourceGroup --hostname MyHostname --certificate MyCertificateId

Look for or create a managed certificate and bind with the hostname if no certificate or thumbprint is provided.

az containerapp hostname bind -n my-containerapp -g MyResourceGroup --hostname MyHostname

Required Parameters

--hostname

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Examples

Add or update hostname and binding with a provided certificate.

az containerapp hostname bind -n my-containerapp -g MyResourceGroup --hostname MyHostname --certificate MyCertificateId

Look for or create a managed certificate and bind with the hostname if no certificate or thumbprint is provided.

az containerapp hostname bind -n my-containerapp -g MyResourceGroup --hostname MyHostname

Required Parameters

--hostname

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Examples

Delete secrets from a container app.

az containerapp hostname delete -n my-containerapp -g MyResourceGroup --hostname MyHostname

Required Parameters

--hostname

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Examples

List the hostnames of a container app.

az containerapp hostname list -n my-containerapp -g MyResourceGroup

Required Parameters

--name -n

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--location -l