Name |
Type |
Description |
Notes |
monitor_type |
str |
|
|
alert_rules |
List[ResourceAlertRule] |
Array of alert rules. Only one alert per severity is allowed. |
|
sampling_interval |
str |
Duration between monitor samples. Format: positive integer followed by 's' for seconds, 'm' for minutes, 'h' for hours. |
|
from flightctl.models.resource_monitor_spec import ResourceMonitorSpec
# TODO update the JSON string below
json = "{}"
# create an instance of ResourceMonitorSpec from a JSON string
resource_monitor_spec_instance = ResourceMonitorSpec.from_json(json)
# print the JSON string representation of the object
print(ResourceMonitorSpec.to_json())
# convert the object into a dict
resource_monitor_spec_dict = resource_monitor_spec_instance.to_dict()
# create an instance of ResourceMonitorSpec from a dict
resource_monitor_spec_from_dict = ResourceMonitorSpec.from_dict(resource_monitor_spec_dict)
[Back to Model list] [Back to API list] [Back to README]