CreateLimitRequest
¶
Source code in docs_src/capo_deadline/types/create_limit_request.py
amount_requirement_name
instance-attribute
¶
amount_requirement_name: AmountRequirementName
The value that you specify as the name in the amounts field of the hostRequirements in a step of a job template to declare the limit requirement.
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
The unique token which the server uses to recognize retries of the same request.
description
instance-attribute
¶
description: Description
A description of the limit. A description helps you identify the purpose of the limit.
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
display_name
instance-attribute
¶
display_name: ResourceName
The display name of the limit.
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
max_count
instance-attribute
¶
max_count: MaxCount
The maximum number of resources constrained by this limit. When all of the resources are in use, steps that require the limit won't be scheduled until the resource is available.
The maxCount must not be 0. If the value is -1, there is no restriction on the number of resources that can be acquired for this limit.