Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.23 KB

File metadata and controls

33 lines (25 loc) · 1.23 KB

Rule

Правило для балансировщика

Properties

Name Type Description Notes
id object ID для каждого экземпляра правила для балансировщика. Автоматически генерируется при создании.
balancer_proto object Протокол балансировщика.
balancer_port object Порт балансировщика.
server_proto object Протокол сервера.
server_port object Порт сервера.

Example

from timeweb_cloud_api.models.rule import Rule

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

# convert the object into a dict
rule_dict = rule_instance.to_dict()
# create an instance of Rule from a dict
rule_form_dict = rule.from_dict(rule_dict)

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