UpdateServiceInstanceInput
¶
Source code in docs_src/capo_proton/types/update_service_instance_input.py
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
The client token of the service instance to update.
deployment_type
instance-attribute
¶
deployment_type: DeploymentUpdateType
The deployment type. It defines the mode for updating a service instance, as follows:
-
NONEIn this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
-
CURRENT_VERSIONIn this mode, the service instance is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include major or minor version parameters when you use this deployment type.
-
MINOR_VERSIONIn this mode, the service instance is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can also specify a different minor version of the current major version in use.
-
MAJOR_VERSIONIn this mode, the service instance is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can specify a different major version that's higher than the major version in use and a minor version.
service_name
instance-attribute
¶
service_name: ResourceName
The name of the service that the service instance belongs to.
spec
instance-attribute
¶
spec: NotRequired[SpecContents]
The formatted specification that defines the service instance update.
template_major_version
instance-attribute
¶
template_major_version: NotRequired[TemplateVersionPart]
The major version of the service template to update.
template_minor_version
instance-attribute
¶
template_minor_version: NotRequired[TemplateVersionPart]
The minor version of the service template to update.