Skip to content

ContainerServiceStateDetail

Source code in docs_src/capo_lightsail/types/container_service_state_detail.py
class ContainerServiceStateDetail(TypedDict, closed=True):
    code: NotRequired[
        "capo_lightsail.types.container_service_state_detail_code.ContainerServiceStateDetailCode"
    ]
    """<p>The state code of the container service.</p> <p>The following state codes are possible:</p> <ul> <li> <p>The following state codes are possible if your container service is in a <code>DEPLOYING</code> or <code>UPDATING</code> state:</p> <ul> <li> <p> <code>CREATING_SYSTEM_RESOURCES</code> - The system resources for your container service are being created.</p> </li> <li> <p> <code>CREATING_NETWORK_INFRASTRUCTURE</code> - The network infrastructure for your container service are being created.</p> </li> <li> <p> <code>PROVISIONING_CERTIFICATE</code> - The SSL/TLS certificate for your container service is being created.</p> </li> <li> <p> <code>PROVISIONING_SERVICE</code> - Your container service is being provisioned.</p> </li> <li> <p> <code>CREATING_DEPLOYMENT</code> - Your deployment is being created on your container service.</p> </li> <li> <p> <code>EVALUATING_HEALTH_CHECK</code> - The health of your deployment is being evaluated.</p> </li> <li> <p> <code>ACTIVATING_DEPLOYMENT</code> - Your deployment is being activated.</p> </li> </ul> </li> <li> <p>The following state codes are possible if your container service is in a <code>PENDING</code> state:</p> <ul> <li> <p> <code>CERTIFICATE_LIMIT_EXCEEDED</code> - The SSL/TLS certificate required for your container service exceeds the maximum number of certificates allowed for your account.</p> </li> <li> <p> <code>UNKNOWN_ERROR</code> - An error was experienced when your container service was being created.</p> </li> </ul> </li> </ul>"""
    message: NotRequired["capo_lightsail.types.string.string"]
    """<p>A message that provides more information for the state code.</p> <note> <p>The state detail is populated only when a container service is in a <code>PENDING</code>, <code>DEPLOYING</code>, or <code>UPDATING</code> state.</p> </note>"""

code instance-attribute

The state code of the container service.

The following state codes are possible:

  • The following state codes are possible if your container service is in a DEPLOYING or UPDATING state:

    • CREATING_SYSTEM_RESOURCES - The system resources for your container service are being created.

    • CREATING_NETWORK_INFRASTRUCTURE - The network infrastructure for your container service are being created.

    • PROVISIONING_CERTIFICATE - The SSL/TLS certificate for your container service is being created.

    • PROVISIONING_SERVICE - Your container service is being provisioned.

    • CREATING_DEPLOYMENT - Your deployment is being created on your container service.

    • EVALUATING_HEALTH_CHECK - The health of your deployment is being evaluated.

    • ACTIVATING_DEPLOYMENT - Your deployment is being activated.

  • The following state codes are possible if your container service is in a PENDING state:

    • CERTIFICATE_LIMIT_EXCEEDED - The SSL/TLS certificate required for your container service exceeds the maximum number of certificates allowed for your account.

    • UNKNOWN_ERROR - An error was experienced when your container service was being created.

message instance-attribute

message: NotRequired[string]

A message that provides more information for the state code.

The state detail is populated only when a container service is in a PENDING, DEPLOYING, or UPDATING state.