Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.83 KB

File metadata and controls

37 lines (28 loc) · 1.83 KB

CreateEnvironmentRequest

Properties

Name Type Description Notes
env_name str Environment name (e.g., 'staging', 'development')
min_capacity int Minimum number of instances [optional]
max_capacity int Maximum number of instances [optional]
clone_configuration_from str Clone configuration from an existing environment [optional]
compose_definition Compose [optional]
image_suffix str Optional image tag suffix for cloning [optional]
spot_configuration SpotConfiguration [optional]
environment List[CreateEnvironmentRequestEnvironmentInner] Environment variables to inject [optional]
merge_environment bool Whether to merge environment variables with cloned ones (true) or replace them (false). Default: false [optional]

Example

from quantcdn.models.create_environment_request import CreateEnvironmentRequest

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

# convert the object into a dict
create_environment_request_dict = create_environment_request_instance.to_dict()
# create an instance of CreateEnvironmentRequest from a dict
create_environment_request_from_dict = CreateEnvironmentRequest.from_dict(create_environment_request_dict)

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