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