Skip to content

Latest commit

 

History

History
48 lines (39 loc) · 2.64 KB

File metadata and controls

48 lines (39 loc) · 2.64 KB

DeploymentUpdate

Properties

Name Type Description Notes
name str Name of the deployment. [optional]
description str Description of the deployment. [optional]
tags Dict[str, str] Descriptive tags for the deployment. [optional]
image_uri str URI of the image to attach. [optional]
image_tag_id str Image tag ID to attach. [optional]
image_enforce_trusted bool Enable image trust validation before attaching. [optional] [default to True]
environment_variables Dict[str, str] Mapping of environment variable keys to values. [optional]
external_repo_attachments List[ExternalRepoAttachmentNested] List of external repo attachments. [optional]
extra_packages ExtraPackages Addtitional packages to install on start. [optional]
config_files Dict[str, ConfigFileEntry] User-defined config files written to $HOME at pod startup. Keys are relative paths; values contain content and mode. [optional]
start_script str Shell script that runs on start before the primary command. [optional]
working_dir str Initial working directory. [optional]
instance_size str Instance size of the deployment. [optional]
is_spot bool Enables running on spot instance sizes. [optional]
start_dind bool Enables docker-in-docker. [optional]
command str Command that runs on start. [optional]
scale int Number of pod replicas. [optional]
subdomain str Subdomain for the deployment URL. [optional]
healthcheck str Healthcheck path on the deployment's primary port. [optional]
start_ssh bool Enable SSH access on the deployment. [optional]

Example

from saturn_api.models.deployment_update import DeploymentUpdate

# TODO update the JSON string below
json = "{}"
# create an instance of DeploymentUpdate from a JSON string
deployment_update_instance = DeploymentUpdate.from_json(json)
# print the JSON string representation of the object
print(DeploymentUpdate.to_json())

# convert the object into a dict
deployment_update_dict = deployment_update_instance.to_dict()
# create an instance of DeploymentUpdate from a dict
deployment_update_from_dict = DeploymentUpdate.from_dict(deployment_update_dict)

[Back to Model list] [Back to API list] [Back to README]