Skip to content

ServiceInstanceState

Source code in docs_src/capo_proton/types/service_instance_state.py
class ServiceInstanceState(TypedDict, closed=True):
    spec: "capo_proton.types.spec_contents.SpecContents"
    """<p>The service spec that was used to create the service instance.</p>"""
    template_name: "capo_proton.types.resource_name.ResourceName"
    """<p>The name of the service template that was used to create the service instance.</p>"""
    template_major_version: (
        "capo_proton.types.template_version_part.TemplateVersionPart"
    )
    """<p>The major version of the service template that was used to create the service pipeline.</p>"""
    template_minor_version: (
        "capo_proton.types.template_version_part.TemplateVersionPart"
    )
    """<p>The minor version of the service template that was used to create the service pipeline.</p>"""
    last_successful_component_deployment_ids: NotRequired[
        "capo_proton.types.component_deployment_id_list.ComponentDeploymentIdList"
    ]
    """<p>The IDs for the last successful components deployed for this service instance.</p>"""
    last_successful_environment_deployment_id: NotRequired[
        "capo_proton.types.deployment_id.DeploymentId"
    ]
    """<p>The ID for the last successful environment deployed for this service instance.</p>"""
    last_successful_service_pipeline_deployment_id: NotRequired[
        "capo_proton.types.deployment_id.DeploymentId"
    ]
    """<p>The ID for the last successful service pipeline deployed for this service instance.</p>"""

last_successful_component_deployment_ids instance-attribute

last_successful_component_deployment_ids: NotRequired[ComponentDeploymentIdList]

The IDs for the last successful components deployed for this service instance.

last_successful_environment_deployment_id instance-attribute

last_successful_environment_deployment_id: NotRequired[DeploymentId]

The ID for the last successful environment deployed for this service instance.

last_successful_service_pipeline_deployment_id instance-attribute

last_successful_service_pipeline_deployment_id: NotRequired[DeploymentId]

The ID for the last successful service pipeline deployed for this service instance.

spec instance-attribute

The service spec that was used to create the service instance.

template_major_version instance-attribute

template_major_version: TemplateVersionPart

The major version of the service template that was used to create the service pipeline.

template_minor_version instance-attribute

template_minor_version: TemplateVersionPart

The minor version of the service template that was used to create the service pipeline.

template_name instance-attribute

template_name: ResourceName

The name of the service template that was used to create the service instance.