state property

The state of the deployment.

A deployment can be in one of the following states:

  • Activating - The deployment is being created.
  • Active - The deployment was successfully created, and it's currently running on the container service. The container service can have only one deployment in an active state at a time.
  • Inactive - The deployment was previously successfully created, but it is not currently running on the container service.
  • Failed - The deployment failed. Use the GetContainerLog action to view the log events for the containers in the deployment to try to determine the reason for the failure.

Implementation

final ContainerServiceDeploymentState? state;