volcengine-python-sdk 4.0.21__py2.py3-none-any.whl → 4.0.23__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of volcengine-python-sdk might be problematic. Click here for more details.
- {volcengine_python_sdk-4.0.21.dist-info → volcengine_python_sdk-4.0.23.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-4.0.21.dist-info → volcengine_python_sdk-4.0.23.dist-info}/RECORD +489 -115
- {volcengine_python_sdk-4.0.21.dist-info → volcengine_python_sdk-4.0.23.dist-info}/top_level.txt +1 -0
- volcenginesdkarkruntime/_utils/_key_agreement.py +23 -0
- volcenginesdkarkruntime/resources/chat/completions.py +13 -3
- volcenginesdkarkruntime/resources/responses/responses.py +5 -1
- volcenginesdkcloudmonitor/__init__.py +309 -0
- volcenginesdkcloudmonitor/api/__init__.py +6 -0
- volcenginesdkcloudmonitor/api/cloudmonitor_api.py +6048 -0
- volcenginesdkcloudmonitor/models/__init__.py +305 -0
- volcenginesdkcloudmonitor/models/alert_notification_for_list_preset_alert_templates_output.py +305 -0
- volcenginesdkcloudmonitor/models/applied_rule_for_list_alert_templates_output.py +201 -0
- volcenginesdkcloudmonitor/models/applied_rule_for_list_preset_alert_templates_output.py +149 -0
- volcenginesdkcloudmonitor/models/apply_object_for_apply_object_groups_by_alert_template_input.py +331 -0
- volcenginesdkcloudmonitor/models/apply_object_groups_by_alert_template_request.py +177 -0
- volcenginesdkcloudmonitor/models/apply_object_groups_by_alert_template_response.py +123 -0
- volcenginesdkcloudmonitor/models/condition_for_create_alert_template_input.py +227 -0
- volcenginesdkcloudmonitor/models/condition_for_create_rule_input.py +253 -0
- volcenginesdkcloudmonitor/models/condition_for_list_alert_templates_output.py +227 -0
- volcenginesdkcloudmonitor/models/condition_for_list_preset_alert_templates_output.py +227 -0
- volcenginesdkcloudmonitor/models/condition_for_list_rules_by_ids_output.py +279 -0
- volcenginesdkcloudmonitor/models/condition_for_list_rules_output.py +279 -0
- volcenginesdkcloudmonitor/models/condition_for_update_alert_template_input.py +227 -0
- volcenginesdkcloudmonitor/models/condition_for_update_rule_input.py +253 -0
- volcenginesdkcloudmonitor/models/contact_for_list_contact_group_by_ids_output.py +201 -0
- volcenginesdkcloudmonitor/models/contact_for_list_contact_groups_output.py +201 -0
- volcenginesdkcloudmonitor/models/contact_group_for_list_contacts_output.py +253 -0
- volcenginesdkcloudmonitor/models/convert_tag_for_create_rule_input.py +149 -0
- volcenginesdkcloudmonitor/models/convert_tag_for_list_rules_by_ids_output.py +149 -0
- volcenginesdkcloudmonitor/models/convert_tag_for_list_rules_output.py +149 -0
- volcenginesdkcloudmonitor/models/convert_tag_for_update_rule_input.py +149 -0
- volcenginesdkcloudmonitor/models/create_alert_template_request.py +282 -0
- volcenginesdkcloudmonitor/models/create_alert_template_response.py +123 -0
- volcenginesdkcloudmonitor/models/create_contact_group_request.py +176 -0
- volcenginesdkcloudmonitor/models/create_contact_group_response.py +123 -0
- volcenginesdkcloudmonitor/models/create_contacts_request.py +177 -0
- volcenginesdkcloudmonitor/models/create_contacts_response.py +123 -0
- volcenginesdkcloudmonitor/models/create_event_rule_request.py +537 -0
- volcenginesdkcloudmonitor/models/create_event_rule_response.py +123 -0
- volcenginesdkcloudmonitor/models/create_notification_request.py +204 -0
- volcenginesdkcloudmonitor/models/create_notification_response.py +123 -0
- volcenginesdkcloudmonitor/models/create_notify_template_request.py +277 -0
- volcenginesdkcloudmonitor/models/create_notify_template_response.py +123 -0
- volcenginesdkcloudmonitor/models/create_object_group_request.py +150 -0
- volcenginesdkcloudmonitor/models/create_object_group_response.py +123 -0
- volcenginesdkcloudmonitor/models/create_rule_request.py +850 -0
- volcenginesdkcloudmonitor/models/create_rule_response.py +123 -0
- volcenginesdkcloudmonitor/models/create_silence_policy_request.py +256 -0
- volcenginesdkcloudmonitor/models/create_silence_policy_response.py +123 -0
- volcenginesdkcloudmonitor/models/create_webhook_request.py +191 -0
- volcenginesdkcloudmonitor/models/create_webhook_response.py +123 -0
- volcenginesdkcloudmonitor/models/data_for_create_event_rule_output.py +123 -0
- volcenginesdkcloudmonitor/models/data_for_delete_event_rule_output.py +123 -0
- volcenginesdkcloudmonitor/models/data_for_disable_event_rule_output.py +123 -0
- volcenginesdkcloudmonitor/models/data_for_enable_event_rule_output.py +123 -0
- volcenginesdkcloudmonitor/models/data_for_get_metric_data_output.py +331 -0
- volcenginesdkcloudmonitor/models/data_for_get_top_data_output.py +175 -0
- volcenginesdkcloudmonitor/models/data_for_list_alert_group_output.py +513 -0
- volcenginesdkcloudmonitor/models/data_for_list_alert_templates_output.py +409 -0
- volcenginesdkcloudmonitor/models/data_for_list_contact_group_by_ids_output.py +279 -0
- volcenginesdkcloudmonitor/models/data_for_list_contact_groups_output.py +279 -0
- volcenginesdkcloudmonitor/models/data_for_list_contacts_by_ids_output.py +201 -0
- volcenginesdkcloudmonitor/models/data_for_list_contacts_output.py +227 -0
- volcenginesdkcloudmonitor/models/data_for_list_default_notify_templates_output.py +227 -0
- volcenginesdkcloudmonitor/models/data_for_list_event_rules_output.py +669 -0
- volcenginesdkcloudmonitor/models/data_for_list_events_output.py +279 -0
- volcenginesdkcloudmonitor/models/data_for_list_notifications_output.py +305 -0
- volcenginesdkcloudmonitor/models/data_for_list_notify_templates_output.py +331 -0
- volcenginesdkcloudmonitor/models/data_for_list_object_groups_output.py +305 -0
- volcenginesdkcloudmonitor/models/data_for_list_preset_alert_templates_output.py +435 -0
- volcenginesdkcloudmonitor/models/data_for_list_rules_by_ids_output.py +929 -0
- volcenginesdkcloudmonitor/models/data_for_list_rules_output.py +929 -0
- volcenginesdkcloudmonitor/models/data_for_list_send_alert_output.py +253 -0
- volcenginesdkcloudmonitor/models/data_for_list_silence_policy_output.py +409 -0
- volcenginesdkcloudmonitor/models/data_for_list_webhooks_by_ids_output.py +305 -0
- volcenginesdkcloudmonitor/models/data_for_list_webhooks_output.py +305 -0
- volcenginesdkcloudmonitor/models/data_for_tag_resources_output.py +149 -0
- volcenginesdkcloudmonitor/models/data_for_update_event_rule_output.py +123 -0
- volcenginesdkcloudmonitor/models/data_point_for_get_metric_data_output.py +149 -0
- volcenginesdkcloudmonitor/models/delete_alert_templates_by_ids_request.py +123 -0
- volcenginesdkcloudmonitor/models/delete_alert_templates_by_ids_response.py +123 -0
- volcenginesdkcloudmonitor/models/delete_contact_group_by_ids_request.py +123 -0
- volcenginesdkcloudmonitor/models/delete_contact_group_by_ids_response.py +123 -0
- volcenginesdkcloudmonitor/models/delete_contacts_by_ids_request.py +123 -0
- volcenginesdkcloudmonitor/models/delete_contacts_by_ids_response.py +123 -0
- volcenginesdkcloudmonitor/models/delete_event_rule_request.py +123 -0
- volcenginesdkcloudmonitor/models/delete_event_rule_response.py +123 -0
- volcenginesdkcloudmonitor/models/delete_notifications_by_ids_request.py +123 -0
- volcenginesdkcloudmonitor/models/delete_notifications_by_ids_response.py +123 -0
- volcenginesdkcloudmonitor/models/delete_notify_templates_by_ids_request.py +123 -0
- volcenginesdkcloudmonitor/models/delete_notify_templates_by_ids_response.py +123 -0
- volcenginesdkcloudmonitor/models/delete_object_group_request.py +124 -0
- volcenginesdkcloudmonitor/models/delete_object_group_response.py +123 -0
- volcenginesdkcloudmonitor/models/delete_rules_by_ids_request.py +123 -0
- volcenginesdkcloudmonitor/models/delete_rules_by_ids_response.py +123 -0
- volcenginesdkcloudmonitor/models/delete_silence_policy_by_ids_request.py +123 -0
- volcenginesdkcloudmonitor/models/delete_silence_policy_by_ids_response.py +123 -0
- volcenginesdkcloudmonitor/models/delete_webhooks_by_ids_request.py +123 -0
- volcenginesdkcloudmonitor/models/delete_webhooks_by_ids_response.py +123 -0
- volcenginesdkcloudmonitor/models/dimension_conditions_for_create_object_group_input.py +201 -0
- volcenginesdkcloudmonitor/models/dimension_conditions_for_create_rule_input.py +201 -0
- volcenginesdkcloudmonitor/models/dimension_conditions_for_list_rules_by_ids_output.py +201 -0
- volcenginesdkcloudmonitor/models/dimension_conditions_for_list_rules_output.py +201 -0
- volcenginesdkcloudmonitor/models/dimension_conditions_for_update_object_group_input.py +201 -0
- volcenginesdkcloudmonitor/models/dimension_conditions_for_update_rule_input.py +201 -0
- volcenginesdkcloudmonitor/models/dimension_for_get_metric_data_input.py +149 -0
- volcenginesdkcloudmonitor/models/dimension_for_get_metric_data_output.py +149 -0
- volcenginesdkcloudmonitor/models/dimension_for_get_top_data_input.py +149 -0
- volcenginesdkcloudmonitor/models/disable_event_rule_request.py +123 -0
- volcenginesdkcloudmonitor/models/disable_event_rule_response.py +123 -0
- volcenginesdktransitrouter/models/accept_shared_transit_router_request.py → volcenginesdkcloudmonitor/models/disable_preset_alert_template_request.py +22 -22
- volcenginesdkcloudmonitor/models/disable_preset_alert_template_response.py +123 -0
- volcenginesdkcloudmonitor/models/effect_time_for_create_silence_policy_input.py +149 -0
- volcenginesdkcloudmonitor/models/effect_time_for_list_silence_policy_output.py +149 -0
- volcenginesdkcloudmonitor/models/effect_time_for_update_silence_policy_input.py +149 -0
- volcenginesdkcloudmonitor/models/effective_time_for_create_event_rule_input.py +149 -0
- volcenginesdkcloudmonitor/models/effective_time_for_update_event_rule_input.py +149 -0
- volcenginesdkcloudmonitor/models/enable_event_rule_request.py +123 -0
- volcenginesdkcloudmonitor/models/enable_event_rule_response.py +123 -0
- volcenginesdkcloudmonitor/models/enable_preset_alert_template_request.py +387 -0
- volcenginesdkcloudmonitor/models/enable_preset_alert_template_response.py +123 -0
- volcenginesdkcloudmonitor/models/get_metric_data_request.py +308 -0
- volcenginesdkcloudmonitor/models/get_metric_data_response.py +123 -0
- volcenginesdkcloudmonitor/models/get_top_data_request.py +357 -0
- volcenginesdkcloudmonitor/models/get_top_data_response.py +123 -0
- volcenginesdkcloudmonitor/models/instance_for_get_metric_data_input.py +123 -0
- volcenginesdkcloudmonitor/models/instance_for_get_top_data_input.py +123 -0
- volcenginesdkcloudmonitor/models/level_condition_for_create_alert_template_input.py +156 -0
- volcenginesdkcloudmonitor/models/level_condition_for_create_rule_input.py +149 -0
- volcenginesdkcloudmonitor/models/level_condition_for_list_alert_templates_output.py +149 -0
- volcenginesdkcloudmonitor/models/level_condition_for_list_preset_alert_templates_output.py +149 -0
- volcenginesdkcloudmonitor/models/level_condition_for_list_rules_by_ids_output.py +149 -0
- volcenginesdkcloudmonitor/models/level_condition_for_list_rules_output.py +149 -0
- volcenginesdkcloudmonitor/models/level_condition_for_update_alert_template_input.py +156 -0
- volcenginesdkcloudmonitor/models/level_condition_for_update_rule_input.py +149 -0
- volcenginesdkcloudmonitor/models/list_alert_group_request.py +357 -0
- volcenginesdkcloudmonitor/models/list_alert_group_response.py +253 -0
- volcenginesdkcloudmonitor/models/list_alert_templates_request.py +253 -0
- volcenginesdkcloudmonitor/models/list_alert_templates_response.py +201 -0
- volcenginesdkcloudmonitor/models/list_contact_group_by_ids_request.py +123 -0
- volcenginesdkcloudmonitor/models/list_contact_group_by_ids_response.py +123 -0
- volcenginesdkcloudmonitor/models/list_contact_groups_request.py +175 -0
- volcenginesdkcloudmonitor/models/list_contact_groups_response.py +201 -0
- volcenginesdkcloudmonitor/models/list_contacts_by_ids_request.py +123 -0
- volcenginesdkcloudmonitor/models/list_contacts_by_ids_response.py +123 -0
- volcenginesdktransitrouter/models/describe_transit_router_grant_rules_request.py → volcenginesdkcloudmonitor/models/list_contacts_request.py +69 -44
- volcenginesdkcloudmonitor/models/list_contacts_response.py +201 -0
- volcenginesdkcloudmonitor/models/list_default_notify_templates_request.py +198 -0
- volcenginesdkcloudmonitor/models/list_default_notify_templates_response.py +123 -0
- volcenginesdkcloudmonitor/models/list_event_rules_request.py +279 -0
- volcenginesdkcloudmonitor/models/list_event_rules_response.py +253 -0
- volcenginesdkcloudmonitor/models/list_events_request.py +364 -0
- volcenginesdkcloudmonitor/models/list_events_response.py +253 -0
- volcenginesdkcloudmonitor/models/list_notifications_request.py +261 -0
- volcenginesdkcloudmonitor/models/list_notifications_response.py +201 -0
- volcenginesdkcloudmonitor/models/list_notify_templates_request.py +275 -0
- volcenginesdkcloudmonitor/models/list_notify_templates_response.py +201 -0
- volcenginesdkcloudmonitor/models/list_object_groups_request.py +227 -0
- volcenginesdktransitrouter/models/describe_transit_router_grant_rules_response.py → volcenginesdkcloudmonitor/models/list_object_groups_response.py +47 -47
- volcenginesdkcloudmonitor/models/list_preset_alert_templates_request.py +227 -0
- volcenginesdkcloudmonitor/models/list_preset_alert_templates_response.py +201 -0
- volcenginesdkcloudmonitor/models/list_rules_by_ids_request.py +123 -0
- volcenginesdkcloudmonitor/models/list_rules_by_ids_response.py +123 -0
- volcenginesdkcloudmonitor/models/list_rules_request.py +357 -0
- volcenginesdkcloudmonitor/models/list_rules_response.py +201 -0
- volcenginesdkcloudmonitor/models/list_send_alert_request.py +176 -0
- volcenginesdkcloudmonitor/models/list_send_alert_response.py +201 -0
- volcenginesdkcloudmonitor/models/list_silence_policy_request.py +305 -0
- volcenginesdkcloudmonitor/models/list_silence_policy_response.py +201 -0
- volcenginesdkcloudmonitor/models/list_webhooks_by_ids_request.py +123 -0
- volcenginesdkcloudmonitor/models/list_webhooks_by_ids_response.py +123 -0
- volcenginesdkcloudmonitor/models/list_webhooks_request.py +331 -0
- volcenginesdkcloudmonitor/models/list_webhooks_response.py +253 -0
- volcenginesdkcloudmonitor/models/message_queue_for_create_event_rule_input.py +331 -0
- volcenginesdkcloudmonitor/models/message_queue_for_list_event_rules_output.py +227 -0
- volcenginesdkcloudmonitor/models/message_queue_for_update_event_rule_input.py +331 -0
- volcenginesdkcloudmonitor/models/meta_condition_for_create_object_group_input.py +175 -0
- volcenginesdkcloudmonitor/models/meta_condition_for_create_rule_input.py +175 -0
- volcenginesdkcloudmonitor/models/meta_condition_for_create_silence_policy_input.py +149 -0
- volcenginesdkcloudmonitor/models/meta_condition_for_list_rules_by_ids_output.py +175 -0
- volcenginesdkcloudmonitor/models/meta_condition_for_list_rules_output.py +175 -0
- volcenginesdkcloudmonitor/models/meta_condition_for_list_silence_policy_output.py +149 -0
- volcenginesdkcloudmonitor/models/meta_condition_for_update_object_group_input.py +175 -0
- volcenginesdkcloudmonitor/models/meta_condition_for_update_rule_input.py +175 -0
- volcenginesdkcloudmonitor/models/meta_condition_for_update_silence_policy_input.py +149 -0
- volcenginesdkcloudmonitor/models/meta_for_create_object_group_input.py +175 -0
- volcenginesdkcloudmonitor/models/meta_for_create_rule_input.py +175 -0
- volcenginesdkcloudmonitor/models/meta_for_create_silence_policy_input.py +175 -0
- volcenginesdkcloudmonitor/models/meta_for_list_rules_by_ids_output.py +175 -0
- volcenginesdkcloudmonitor/models/meta_for_list_rules_output.py +175 -0
- volcenginesdktransitrouter/models/delete_transit_router_grant_rule_request.py → volcenginesdkcloudmonitor/models/meta_for_list_silence_policy_output.py +61 -37
- volcenginesdkcloudmonitor/models/meta_for_update_object_group_input.py +175 -0
- volcenginesdkcloudmonitor/models/meta_for_update_rule_input.py +175 -0
- volcenginesdkcloudmonitor/models/meta_for_update_silence_policy_input.py +175 -0
- volcenginesdkcloudmonitor/models/metric_data_result_for_get_metric_data_output.py +175 -0
- volcenginesdkcloudmonitor/models/modify_state_of_silence_policy_by_ids_request.py +157 -0
- volcenginesdkcloudmonitor/models/modify_state_of_silence_policy_by_ids_response.py +123 -0
- volcenginesdkcloudmonitor/models/no_data_for_create_alert_template_input.py +175 -0
- volcenginesdkcloudmonitor/models/no_data_for_create_rule_input.py +149 -0
- volcenginesdkcloudmonitor/models/no_data_for_list_alert_templates_output.py +175 -0
- volcenginesdkcloudmonitor/models/no_data_for_list_preset_alert_templates_output.py +175 -0
- volcenginesdkcloudmonitor/models/no_data_for_update_alert_template_input.py +175 -0
- volcenginesdkcloudmonitor/models/no_data_for_update_rule_input.py +149 -0
- volcenginesdkcloudmonitor/models/notification_for_create_notification_input.py +242 -0
- volcenginesdkcloudmonitor/models/notification_for_list_notifications_output.py +227 -0
- volcenginesdkcloudmonitor/models/notification_for_update_notification_input.py +242 -0
- volcenginesdkcloudmonitor/models/notify_template_for_apply_object_groups_by_alert_template_input.py +156 -0
- volcenginesdkcloudmonitor/models/notify_template_for_create_event_rule_input.py +156 -0
- volcenginesdkcloudmonitor/models/notify_template_for_create_notification_input.py +156 -0
- volcenginesdkcloudmonitor/models/notify_template_for_create_rule_input.py +156 -0
- volcenginesdkcloudmonitor/models/notify_template_for_enable_preset_alert_template_input.py +156 -0
- volcenginesdkcloudmonitor/models/notify_template_for_list_alert_templates_output.py +149 -0
- volcenginesdkcloudmonitor/models/notify_template_for_list_event_rules_output.py +149 -0
- volcenginesdkcloudmonitor/models/notify_template_for_list_notifications_output.py +149 -0
- volcenginesdkcloudmonitor/models/notify_template_for_list_preset_alert_templates_output.py +149 -0
- volcenginesdkcloudmonitor/models/notify_template_for_list_rules_by_ids_output.py +149 -0
- volcenginesdkcloudmonitor/models/notify_template_for_list_rules_output.py +149 -0
- volcenginesdkcloudmonitor/models/notify_template_for_update_event_rule_input.py +156 -0
- volcenginesdkcloudmonitor/models/notify_template_for_update_notification_input.py +156 -0
- volcenginesdkcloudmonitor/models/notify_template_for_update_rule_input.py +156 -0
- volcenginesdkcloudmonitor/models/object_for_create_object_group_input.py +227 -0
- volcenginesdkcloudmonitor/models/object_for_list_object_groups_output.py +279 -0
- volcenginesdkcloudmonitor/models/object_for_update_object_group_input.py +227 -0
- volcenginesdkcloudmonitor/models/object_group_for_list_alert_templates_output.py +357 -0
- volcenginesdkcloudmonitor/models/project_condition_for_create_object_group_input.py +123 -0
- volcenginesdkcloudmonitor/models/project_condition_for_create_rule_input.py +123 -0
- volcenginesdkcloudmonitor/models/project_condition_for_list_rules_by_ids_output.py +123 -0
- volcenginesdkcloudmonitor/models/project_condition_for_list_rules_output.py +123 -0
- volcenginesdkcloudmonitor/models/project_condition_for_update_object_group_input.py +123 -0
- volcenginesdkcloudmonitor/models/project_condition_for_update_rule_input.py +123 -0
- volcenginesdkcloudmonitor/models/range_for_create_silence_policy_input.py +201 -0
- volcenginesdkcloudmonitor/models/range_for_list_silence_policy_output.py +201 -0
- volcenginesdkcloudmonitor/models/range_for_update_silence_policy_input.py +201 -0
- volcenginesdkcloudmonitor/models/recovery_notify_for_create_alert_template_input.py +123 -0
- volcenginesdkcloudmonitor/models/recovery_notify_for_create_rule_input.py +123 -0
- volcenginesdkcloudmonitor/models/recovery_notify_for_list_alert_templates_output.py +123 -0
- volcenginesdkcloudmonitor/models/recovery_notify_for_list_preset_alert_templates_output.py +123 -0
- volcenginesdkcloudmonitor/models/recovery_notify_for_list_rules_by_ids_output.py +123 -0
- volcenginesdkcloudmonitor/models/recovery_notify_for_list_rules_output.py +123 -0
- volcenginesdkcloudmonitor/models/recovery_notify_for_update_alert_template_input.py +123 -0
- volcenginesdkcloudmonitor/models/recovery_notify_for_update_rule_input.py +123 -0
- volcenginesdkcloudmonitor/models/rule_for_list_object_groups_output.py +201 -0
- volcenginesdkcloudmonitor/models/send_result_for_list_send_alert_output.py +227 -0
- volcenginesdkcloudmonitor/models/set_state_of_rules_by_ids_request.py +157 -0
- volcenginesdkcloudmonitor/models/set_state_of_rules_by_ids_response.py +123 -0
- volcenginesdkcloudmonitor/models/silence_conditions_for_create_silence_policy_input.py +175 -0
- volcenginesdkcloudmonitor/models/silence_conditions_for_list_silence_policy_output.py +201 -0
- volcenginesdkcloudmonitor/models/silence_conditions_for_update_silence_policy_input.py +175 -0
- volcenginesdkcloudmonitor/models/tag_condition_for_create_object_group_input.py +149 -0
- volcenginesdkcloudmonitor/models/tag_condition_for_create_rule_input.py +149 -0
- volcenginesdkcloudmonitor/models/tag_condition_for_list_rules_by_ids_output.py +149 -0
- volcenginesdkcloudmonitor/models/tag_condition_for_list_rules_output.py +149 -0
- volcenginesdkcloudmonitor/models/tag_condition_for_update_object_group_input.py +149 -0
- volcenginesdkcloudmonitor/models/tag_condition_for_update_rule_input.py +149 -0
- volcenginesdkcloudmonitor/models/tag_for_create_object_group_input.py +175 -0
- volcenginesdkcloudmonitor/models/tag_for_create_rule_input.py +175 -0
- volcenginesdkcloudmonitor/models/tag_for_list_rules_by_ids_output.py +175 -0
- volcenginesdkcloudmonitor/models/tag_for_list_rules_output.py +175 -0
- volcenginesdkcloudmonitor/models/tag_for_tag_resources_input.py +149 -0
- volcenginesdkcloudmonitor/models/tag_for_update_object_group_input.py +175 -0
- volcenginesdkcloudmonitor/models/tag_for_update_rule_input.py +175 -0
- volcenginesdkcloudmonitor/models/tag_resources_request.py +176 -0
- volcenginesdkcloudmonitor/models/tag_resources_response.py +123 -0
- volcenginesdkcloudmonitor/models/template_detail_for_list_object_groups_output.py +149 -0
- volcenginesdkcloudmonitor/models/template_rule_for_create_alert_template_input.py +279 -0
- volcenginesdkcloudmonitor/models/template_rule_for_list_alert_templates_output.py +331 -0
- volcenginesdkcloudmonitor/models/template_rule_for_list_preset_alert_templates_output.py +331 -0
- volcenginesdkcloudmonitor/models/template_rule_for_update_alert_template_input.py +279 -0
- volcenginesdkcloudmonitor/models/tls_target_for_create_event_rule_input.py +227 -0
- volcenginesdkcloudmonitor/models/tls_target_for_list_event_rules_output.py +227 -0
- volcenginesdkcloudmonitor/models/tls_target_for_update_event_rule_input.py +227 -0
- volcenginesdkcloudmonitor/models/top_data_result_for_get_top_data_output.py +149 -0
- volcenginesdkcloudmonitor/models/untag_resources_request.py +176 -0
- volcenginesdkcloudmonitor/models/untag_resources_response.py +123 -0
- volcenginesdkcloudmonitor/models/update_alert_template_request.py +309 -0
- volcenginesdkcloudmonitor/models/update_alert_template_response.py +123 -0
- volcenginesdktransitrouter/models/create_transit_router_grant_rule_request.py → volcenginesdkcloudmonitor/models/update_contact_group_request.py +40 -41
- volcenginesdkcloudmonitor/models/update_contact_group_response.py +123 -0
- volcenginesdkcloudmonitor/models/update_contact_group_with_contacts_request.py +150 -0
- volcenginesdkcloudmonitor/models/update_contact_group_with_contacts_response.py +123 -0
- volcenginesdkcloudmonitor/models/update_contacts_request.py +204 -0
- volcenginesdkcloudmonitor/models/update_contacts_response.py +123 -0
- volcenginesdkcloudmonitor/models/update_contacts_with_contact_groups_request.py +150 -0
- volcenginesdkcloudmonitor/models/update_contacts_with_contact_groups_response.py +123 -0
- volcenginesdkcloudmonitor/models/update_event_rule_request.py +564 -0
- volcenginesdkcloudmonitor/models/update_event_rule_response.py +123 -0
- volcenginesdkcloudmonitor/models/update_notification_request.py +231 -0
- volcenginesdkcloudmonitor/models/update_notification_response.py +123 -0
- volcenginesdkcloudmonitor/models/update_notify_template_request.py +304 -0
- volcenginesdkcloudmonitor/models/update_notify_template_response.py +123 -0
- volcenginesdkcloudmonitor/models/update_object_group_request.py +177 -0
- volcenginesdkcloudmonitor/models/update_object_group_response.py +123 -0
- volcenginesdkcloudmonitor/models/update_rule_request.py +851 -0
- volcenginesdkcloudmonitor/models/update_rule_response.py +123 -0
- volcenginesdkcloudmonitor/models/update_silence_policy_request.py +283 -0
- volcenginesdkcloudmonitor/models/update_silence_policy_response.py +123 -0
- volcenginesdkcloudmonitor/models/update_webhook_request.py +205 -0
- volcenginesdkcloudmonitor/models/update_webhook_response.py +123 -0
- volcenginesdkcore/api_client.py +74 -7
- volcenginesdkcore/auth/__init__.py +1 -1
- volcenginesdkcore/auth/providers/__init__.py +2 -0
- volcenginesdkcore/auth/providers/provider.py +4 -0
- volcenginesdkcore/auth/providers/sts_oidc_provider.py +96 -0
- volcenginesdkcore/auth/providers/sts_provider.py +9 -4
- volcenginesdkcore/auth/providers/sts_saml_provider.py +100 -0
- volcenginesdkcore/configuration.py +17 -4
- volcenginesdkcore/endpoint/providers/default_provider.py +59 -4
- volcenginesdkcore/interceptor/interceptors/request.py +1 -0
- volcenginesdkcore/interceptor/interceptors/sign_request_interceptor.py +7 -0
- volcenginesdkcore/observability/__init__.py +0 -0
- volcenginesdkcore/observability/debugger.py +235 -0
- volcenginesdkcore/rest.py +67 -1
- volcenginesdkcore/retryer/retry_condition.py +8 -3
- volcenginesdkcore/signv4.py +8 -0
- volcenginesdkecs/__init__.py +12 -0
- volcenginesdkecs/api/ecs_api.py +291 -0
- volcenginesdkecs/models/__init__.py +12 -0
- volcenginesdkecs/models/create_hpc_cluster_request.py +53 -1
- volcenginesdkecs/models/describe_hpc_clusters_request.py +53 -1
- volcenginesdkecs/models/describe_system_event_default_action_request.py +124 -0
- volcenginesdkecs/models/describe_system_event_default_action_response.py +175 -0
- volcenginesdkecs/models/extra_info_for_describe_system_event_default_action_output.py +95 -0
- volcenginesdkecs/models/hpc_cluster_for_describe_hpc_clusters_output.py +53 -1
- volcenginesdkecs/models/instance_for_describe_instances_output.py +27 -1
- volcenginesdkecs/models/modify_system_event_default_action_request.py +210 -0
- volcenginesdkecs/models/modify_system_event_default_action_response.py +149 -0
- volcenginesdkecs/models/rdma_network_interface_detail_for_describe_instances_output.py +227 -0
- volcenginesdkecs/models/related_system_event_for_describe_system_event_default_action_output.py +383 -0
- volcenginesdkecs/models/report_instances_status_request.py +280 -0
- volcenginesdktransitrouter/models/reject_shared_transit_router_response.py → volcenginesdkecs/models/report_instances_status_response.py +6 -6
- volcenginesdkecs/models/tag_filter_for_describe_hpc_clusters_input.py +149 -0
- volcenginesdkecs/models/tag_for_create_hpc_cluster_input.py +149 -0
- volcenginesdkecs/models/tag_for_describe_hpc_clusters_output.py +149 -0
- volcenginesdkprivatezone/__init__.py +1 -1
- volcenginesdkprivatezone/models/__init__.py +1 -1
- volcenginesdkprivatezone/models/{ip_configs_for_update_resolver_endpoint_input.py → ip_config_for_update_resolver_endpoint_input.py} +21 -21
- volcenginesdkprivatezone/models/update_resolver_endpoint_request.py +3 -3
- volcenginesdkredis/__init__.py +2 -0
- volcenginesdkredis/api/redis_api.py +97 -0
- volcenginesdkredis/models/__init__.py +2 -0
- volcenginesdkredis/models/instance_for_describe_db_instances_output.py +27 -1
- volcenginesdkredis/models/modify_db_instance_private_dns_visibility_request.py +177 -0
- volcenginesdkredis/models/modify_db_instance_private_dns_visibility_response.py +95 -0
- volcenginesdkredis/models/visit_addr_for_describe_db_instance_detail_output.py +29 -3
- volcenginesdktag/models/get_tag_keys_request.py +60 -1
- volcenginesdktag/models/get_tag_values_request.py +62 -3
- volcenginesdktag/models/get_tags_request.py +34 -1
- volcenginesdktransitrouter/__init__.py +1 -13
- volcenginesdktransitrouter/api/transitrouter_api.py +0 -582
- volcenginesdktransitrouter/models/__init__.py +1 -13
- volcenginesdktransitrouter/models/create_transit_router_vpc_attachment_request.py +27 -1
- volcenginesdktransitrouter/models/describe_transit_router_flow_logs_response.py +79 -1
- volcenginesdktransitrouter/models/describe_transit_router_multicast_groups_response.py +79 -1
- volcenginesdktransitrouter/models/describe_transit_router_route_entries_request.py +27 -1
- volcenginesdktransitrouter/models/describe_transit_router_route_entries_response.py +3 -55
- volcenginesdktransitrouter/models/models.py +1960 -1935
- volcenginesdktransitrouter/models/modify_transit_router_vpc_attachment_attributes_request.py +27 -1
- volcenginesdktransitrouter/models/modify_transit_router_vpn_attachment_attributes_request.py +27 -1
- volcenginesdktransitrouter/models/tag_for_describe_transit_router_flow_logs_output.py +149 -0
- volcenginesdktransitrouter/models/transit_router_attachment_for_describe_transit_router_peer_attachments_output.py +3 -3
- volcenginesdktransitrouter/models/transit_router_attachment_for_describe_transit_router_vpc_attachments_output.py +53 -1
- volcenginesdktransitrouter/models/transit_router_attachment_for_describe_transit_router_vpn_attachments_output.py +30 -4
- volcenginesdktransitrouter/models/transit_router_flow_log_for_describe_transit_router_flow_logs_output.py +27 -1
- volcenginesdktransitrouter/models/transit_router_for_describe_transit_routers_output.py +27 -1
- volcenginesdktransitrouter/models/transit_router_route_entry_for_describe_transit_router_route_entries_output.py +53 -1
- volcenginesdkvedbm/__init__.py +54 -0
- volcenginesdkvedbm/api/vedbm_api.py +2193 -253
- volcenginesdkvedbm/models/__init__.py +54 -0
- volcenginesdkvedbm/models/authorized_allow_list_for_describe_instance_allow_lists_output.py +279 -0
- volcenginesdkvedbm/models/cancel_schedule_events_request.py +149 -0
- volcenginesdktransitrouter/models/accept_shared_transit_router_response.py → volcenginesdkvedbm/models/cancel_schedule_events_response.py +6 -6
- volcenginesdkvedbm/models/change_master_request.py +151 -0
- volcenginesdkvedbm/models/change_master_response.py +95 -0
- volcenginesdkvedbm/models/charge_item_price_for_describe_db_instance_price_detail_output.py +227 -0
- volcenginesdkvedbm/models/charge_item_price_for_describe_exist_db_instance_price_output.py +227 -0
- volcenginesdkvedbm/models/charge_item_price_for_describe_storage_payable_price_output.py +227 -0
- volcenginesdkvedbm/models/config_item_price_for_describe_db_instance_price_detail_output.py +331 -0
- volcenginesdkvedbm/models/config_item_price_for_describe_exist_db_instance_price_output.py +331 -0
- volcenginesdkvedbm/models/create_db_instance_request.py +1 -1
- volcenginesdkvedbm/models/describe_availability_zones_request.py +123 -0
- volcenginesdkvedbm/models/describe_availability_zones_response.py +149 -0
- volcenginesdkvedbm/models/describe_db_instance_parameter_change_history_request.py +256 -0
- volcenginesdkvedbm/models/describe_db_instance_parameter_change_history_response.py +149 -0
- volcenginesdkvedbm/models/describe_db_instance_price_detail_request.py +328 -0
- volcenginesdkvedbm/models/describe_db_instance_price_detail_response.py +279 -0
- volcenginesdkvedbm/models/describe_db_instance_specs_request.py +95 -0
- volcenginesdkvedbm/models/describe_db_instance_specs_response.py +149 -0
- volcenginesdktransitrouter/models/reject_shared_transit_router_request.py → volcenginesdkvedbm/models/describe_db_instance_version_request.py +22 -22
- volcenginesdkvedbm/models/describe_db_instance_version_response.py +175 -0
- volcenginesdkvedbm/models/describe_exist_db_instance_price_request.py +248 -0
- volcenginesdkvedbm/models/describe_exist_db_instance_price_response.py +279 -0
- volcenginesdkvedbm/models/describe_instance_allow_lists_request.py +124 -0
- volcenginesdkvedbm/models/describe_instance_allow_lists_response.py +149 -0
- volcenginesdkvedbm/models/describe_modifiable_parameters_request.py +199 -0
- volcenginesdkvedbm/models/describe_modifiable_parameters_response.py +123 -0
- volcenginesdkvedbm/models/describe_regions_request.py +95 -0
- volcenginesdkvedbm/models/describe_regions_response.py +123 -0
- volcenginesdkvedbm/models/describe_schedule_events_request.py +347 -0
- volcenginesdkvedbm/models/describe_schedule_events_response.py +149 -0
- volcenginesdkvedbm/models/describe_storage_payable_price_request.py +131 -0
- volcenginesdkvedbm/models/describe_storage_payable_price_response.py +123 -0
- volcenginesdkvedbm/models/instance_for_describe_exist_db_instance_price_input.py +208 -0
- volcenginesdkvedbm/models/modify_allow_list_request.py +1 -1
- volcenginesdkvedbm/models/modify_db_endpoint_address_request.py +237 -0
- volcenginesdktransitrouter/models/create_transit_router_grant_rule_response.py → volcenginesdkvedbm/models/modify_db_endpoint_address_response.py +6 -6
- volcenginesdkvedbm/models/modify_db_endpoint_dns_request.py +95 -0
- volcenginesdkvedbm/models/modify_db_endpoint_dns_response.py +95 -0
- volcenginesdkvedbm/models/modify_db_instance_charge_type_request.py +295 -0
- volcenginesdkvedbm/models/modify_db_instance_charge_type_response.py +149 -0
- volcenginesdkvedbm/models/modify_db_instance_deletion_protection_policy_request.py +158 -0
- volcenginesdktransitrouter/models/modify_transit_router_grant_rule_attributes_response.py → volcenginesdkvedbm/models/modify_db_instance_deletion_protection_policy_response.py +6 -6
- volcenginesdkvedbm/models/modify_db_instance_maintenance_window_request.py +151 -0
- volcenginesdkvedbm/models/modify_db_instance_maintenance_window_response.py +95 -0
- volcenginesdkvedbm/models/modify_db_node_config_request.py +176 -0
- volcenginesdkvedbm/models/modify_db_node_config_response.py +95 -0
- volcenginesdkvedbm/models/modify_schedule_events_request.py +182 -0
- volcenginesdkvedbm/models/modify_schedule_events_response.py +95 -0
- volcenginesdkvedbm/models/node_for_describe_db_instance_detail_output.py +27 -1
- volcenginesdkvedbm/models/node_for_describe_db_instances_output.py +27 -1
- volcenginesdkvedbm/models/node_spec_for_describe_db_instance_specs_output.py +305 -0
- volcenginesdkvedbm/models/node_spec_for_describe_exist_db_instance_price_input.py +182 -0
- volcenginesdkvedbm/models/parameter_change_history_for_describe_db_instance_parameter_change_history_output.py +227 -0
- volcenginesdkvedbm/models/parameter_for_describe_modifiable_parameters_output.py +357 -0
- volcenginesdkvedbm/models/region_for_describe_regions_output.py +149 -0
- volcenginesdkvedbm/models/restart_db_instance_request.py +29 -3
- volcenginesdkvedbm/models/restore_to_new_instance_request.py +1 -1
- volcenginesdkvedbm/models/schedule_tasks_info_for_describe_schedule_events_output.py +435 -0
- volcenginesdktransitrouter/models/modify_transit_router_grant_rule_attributes_request.py → volcenginesdkvedbm/models/zone_for_describe_availability_zones_output.py +39 -41
- volcenginesdkvod20250101/__init__.py +18 -0
- volcenginesdkvod20250101/api/vod20250101_api.py +194 -0
- volcenginesdkvod20250101/models/__init__.py +18 -0
- volcenginesdkvod20250101/models/bilingual_subtitle_for_get_ai_translation_project_output.py +253 -0
- volcenginesdkvod20250101/models/clip_audio_for_create_ai_translation_utterance_output.py +253 -0
- volcenginesdkvod20250101/models/clip_video_for_create_ai_translation_utterance_output.py +253 -0
- volcenginesdkvod20250101/models/convert_highlight_cuts_for_get_execution_output.py +149 -0
- volcenginesdkvod20250101/models/convert_highlight_for_get_execution_output.py +27 -1
- volcenginesdkvod20250101/models/create_ai_translation_utterance_request.py +232 -0
- volcenginesdkvod20250101/models/create_ai_translation_utterance_response.py +201 -0
- volcenginesdkvod20250101/models/highlight_cuts_for_get_execution_output.py +201 -0
- volcenginesdkvod20250101/models/highlight_cuts_for_start_execution_input.py +201 -0
- volcenginesdkvod20250101/models/highlight_for_get_execution_output.py +53 -1
- volcenginesdkvod20250101/models/highlight_for_start_execution_input.py +53 -1
- volcenginesdkvod20250101/models/opening_hook_for_get_execution_output.py +227 -0
- volcenginesdkvod20250101/models/opening_hook_for_start_execution_input.py +227 -0
- volcenginesdkvod20250101/models/project_info_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/remove_ai_translation_utterance_request.py +178 -0
- volcenginesdktransitrouter/models/delete_transit_router_grant_rule_response.py → volcenginesdkvod20250101/models/remove_ai_translation_utterance_response.py +6 -6
- volcenginesdkvod20250101/models/source_clip_for_create_ai_translation_utterance_output.py +279 -0
- volcenginesdkvod20250101/models/source_utterance_for_create_ai_translation_utterance_output.py +357 -0
- volcenginesdkvod20250101/models/storyboard_for_get_execution_output.py +253 -0
- volcenginesdkvod20250101/models/subtitle_recognition_config_for_get_ai_translation_project_output.py +81 -3
- volcenginesdkvod20250101/models/subtitle_recognition_config_for_list_ai_translation_project_output.py +81 -3
- volcenginesdkvod20250101/models/subtitle_recognition_config_for_submit_ai_translation_workflow_input.py +81 -3
- volcenginesdkvod20250101/models/target_clip_for_create_ai_translation_utterance_output.py +279 -0
- volcenginesdkvod20250101/models/target_utterance_for_create_ai_translation_utterance_output.py +357 -0
- volcenginesdkvod20250101/models/trim_for_create_ai_translation_utterance_output.py +149 -0
- volcenginesdkvod20250101/models/update_ai_translation_utterances_request.py +27 -1
- volcenginesdkvod20250101/models/vision_for_get_execution_output.py +53 -1
- volcenginesdkvod20250101/models/vision_for_start_execution_input.py +53 -1
- volcenginesdkvpn/__init__.py +4 -0
- volcenginesdkvpn/models/__init__.py +4 -0
- volcenginesdkvpn/models/bgp_config_for_modify_vpn_connection_tunnel_attributes_input.py +149 -0
- volcenginesdkvpn/models/bgp_info_for_describe_vpn_connection_attributes_output.py +3 -3
- volcenginesdkvpn/models/bgp_info_for_describe_vpn_connections_output.py +3 -3
- volcenginesdkvpn/models/convert_bgp_config_for_create_vpn_connection_input.py +149 -0
- volcenginesdkvpn/models/convert_bgp_config_for_modify_vpn_connection_attributes_input.py +149 -0
- volcenginesdkvpn/models/create_customer_gateway_request.py +34 -1
- volcenginesdkvpn/models/create_ssl_vpn_server_request.py +34 -1
- volcenginesdkvpn/models/create_vpn_connection_request.py +27 -1
- volcenginesdkvpn/models/create_vpn_gateway_request.py +53 -1
- volcenginesdkvpn/models/customer_gateway_for_describe_customer_gateways_output.py +27 -1
- volcenginesdkvpn/models/describe_customer_gateways_request.py +27 -1
- volcenginesdkvpn/models/describe_vpn_connection_attributes_response.py +27 -1
- volcenginesdkvpn/models/describe_vpn_gateway_attributes_response.py +53 -1
- volcenginesdkvpn/models/describe_vpn_gateways_request.py +79 -1
- volcenginesdkvpn/models/modify_ssl_vpn_server_request.py +34 -1
- volcenginesdkvpn/models/modify_vpn_connection_attributes_request.py +53 -1
- volcenginesdkvpn/models/modify_vpn_connection_tunnel_attributes_request.py +27 -1
- volcenginesdkvpn/models/ssl_vpn_server_for_describe_ssl_vpn_servers_output.py +27 -1
- volcenginesdkvpn/models/tunnel_bgp_info_for_describe_vpn_connection_attributes_output.py +279 -0
- volcenginesdkvpn/models/tunnel_option_for_create_vpn_connection_input.py +27 -1
- volcenginesdkvpn/models/tunnel_option_for_describe_vpn_connection_attributes_output.py +27 -1
- volcenginesdkvpn/models/tunnel_option_for_describe_vpn_connections_output.py +27 -1
- volcenginesdkvpn/models/tunnel_option_for_modify_vpn_connection_attributes_input.py +27 -1
- volcenginesdkvpn/models/vpn_gateway_for_describe_vpn_gateways_billing_output.py +53 -1
- volcenginesdkvpn/models/vpn_gateway_for_describe_vpn_gateways_output.py +53 -1
- volcenginesdktransitrouter/models/transit_router_grant_rule_for_describe_transit_router_grant_rules_output.py +0 -253
- {volcengine_python_sdk-4.0.21.dist-info → volcengine_python_sdk-4.0.23.dist-info}/WHEEL +0 -0
- {volcengine_python_sdk-4.0.21.dist-info → volcengine_python_sdk-4.0.23.dist-info}/licenses/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.21.dist-info → volcengine_python_sdk-4.0.23.dist-info}/licenses/NOTICE.md +0 -0
|
@@ -0,0 +1,850 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
cloudmonitor
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class CreateRuleRequest(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'alert_methods': 'list[str]',
|
|
37
|
+
'condition_operator': 'str',
|
|
38
|
+
'conditions': 'list[ConditionForCreateRuleInput]',
|
|
39
|
+
'contact_group_ids': 'list[str]',
|
|
40
|
+
'description': 'str',
|
|
41
|
+
'dimension_conditions': 'DimensionConditionsForCreateRuleInput',
|
|
42
|
+
'effect_end_at': 'str',
|
|
43
|
+
'effect_start_at': 'str',
|
|
44
|
+
'enable_state': 'str',
|
|
45
|
+
'evaluation_count': 'int',
|
|
46
|
+
'level': 'str',
|
|
47
|
+
'level_conditions': 'list[LevelConditionForCreateRuleInput]',
|
|
48
|
+
'multiple_conditions': 'bool',
|
|
49
|
+
'namespace': 'str',
|
|
50
|
+
'no_data': 'NoDataForCreateRuleInput',
|
|
51
|
+
'notification_id': 'str',
|
|
52
|
+
'notify_templates': 'list[NotifyTemplateForCreateRuleInput]',
|
|
53
|
+
'original_dimensions': 'dict(str, list[str])',
|
|
54
|
+
'project_name': 'str',
|
|
55
|
+
'recovery_notify': 'RecoveryNotifyForCreateRuleInput',
|
|
56
|
+
'regions': 'list[str]',
|
|
57
|
+
'rule_name': 'str',
|
|
58
|
+
'rule_type': 'str',
|
|
59
|
+
'silence_time': 'int',
|
|
60
|
+
'sub_namespace': 'str',
|
|
61
|
+
'tags': 'list[ConvertTagForCreateRuleInput]',
|
|
62
|
+
'webhook': 'str',
|
|
63
|
+
'webhook_ids': 'list[str]'
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
attribute_map = {
|
|
67
|
+
'alert_methods': 'AlertMethods',
|
|
68
|
+
'condition_operator': 'ConditionOperator',
|
|
69
|
+
'conditions': 'Conditions',
|
|
70
|
+
'contact_group_ids': 'ContactGroupIds',
|
|
71
|
+
'description': 'Description',
|
|
72
|
+
'dimension_conditions': 'DimensionConditions',
|
|
73
|
+
'effect_end_at': 'EffectEndAt',
|
|
74
|
+
'effect_start_at': 'EffectStartAt',
|
|
75
|
+
'enable_state': 'EnableState',
|
|
76
|
+
'evaluation_count': 'EvaluationCount',
|
|
77
|
+
'level': 'Level',
|
|
78
|
+
'level_conditions': 'LevelConditions',
|
|
79
|
+
'multiple_conditions': 'MultipleConditions',
|
|
80
|
+
'namespace': 'Namespace',
|
|
81
|
+
'no_data': 'NoData',
|
|
82
|
+
'notification_id': 'NotificationId',
|
|
83
|
+
'notify_templates': 'NotifyTemplates',
|
|
84
|
+
'original_dimensions': 'OriginalDimensions',
|
|
85
|
+
'project_name': 'ProjectName',
|
|
86
|
+
'recovery_notify': 'RecoveryNotify',
|
|
87
|
+
'regions': 'Regions',
|
|
88
|
+
'rule_name': 'RuleName',
|
|
89
|
+
'rule_type': 'RuleType',
|
|
90
|
+
'silence_time': 'SilenceTime',
|
|
91
|
+
'sub_namespace': 'SubNamespace',
|
|
92
|
+
'tags': 'Tags',
|
|
93
|
+
'webhook': 'Webhook',
|
|
94
|
+
'webhook_ids': 'WebhookIds'
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
def __init__(self, alert_methods=None, condition_operator=None, conditions=None, contact_group_ids=None, description=None, dimension_conditions=None, effect_end_at=None, effect_start_at=None, enable_state=None, evaluation_count=None, level=None, level_conditions=None, multiple_conditions=None, namespace=None, no_data=None, notification_id=None, notify_templates=None, original_dimensions=None, project_name=None, recovery_notify=None, regions=None, rule_name=None, rule_type=None, silence_time=None, sub_namespace=None, tags=None, webhook=None, webhook_ids=None, _configuration=None): # noqa: E501
|
|
98
|
+
"""CreateRuleRequest - a model defined in Swagger""" # noqa: E501
|
|
99
|
+
if _configuration is None:
|
|
100
|
+
_configuration = Configuration()
|
|
101
|
+
self._configuration = _configuration
|
|
102
|
+
|
|
103
|
+
self._alert_methods = None
|
|
104
|
+
self._condition_operator = None
|
|
105
|
+
self._conditions = None
|
|
106
|
+
self._contact_group_ids = None
|
|
107
|
+
self._description = None
|
|
108
|
+
self._dimension_conditions = None
|
|
109
|
+
self._effect_end_at = None
|
|
110
|
+
self._effect_start_at = None
|
|
111
|
+
self._enable_state = None
|
|
112
|
+
self._evaluation_count = None
|
|
113
|
+
self._level = None
|
|
114
|
+
self._level_conditions = None
|
|
115
|
+
self._multiple_conditions = None
|
|
116
|
+
self._namespace = None
|
|
117
|
+
self._no_data = None
|
|
118
|
+
self._notification_id = None
|
|
119
|
+
self._notify_templates = None
|
|
120
|
+
self._original_dimensions = None
|
|
121
|
+
self._project_name = None
|
|
122
|
+
self._recovery_notify = None
|
|
123
|
+
self._regions = None
|
|
124
|
+
self._rule_name = None
|
|
125
|
+
self._rule_type = None
|
|
126
|
+
self._silence_time = None
|
|
127
|
+
self._sub_namespace = None
|
|
128
|
+
self._tags = None
|
|
129
|
+
self._webhook = None
|
|
130
|
+
self._webhook_ids = None
|
|
131
|
+
self.discriminator = None
|
|
132
|
+
|
|
133
|
+
if alert_methods is not None:
|
|
134
|
+
self.alert_methods = alert_methods
|
|
135
|
+
if condition_operator is not None:
|
|
136
|
+
self.condition_operator = condition_operator
|
|
137
|
+
if conditions is not None:
|
|
138
|
+
self.conditions = conditions
|
|
139
|
+
if contact_group_ids is not None:
|
|
140
|
+
self.contact_group_ids = contact_group_ids
|
|
141
|
+
if description is not None:
|
|
142
|
+
self.description = description
|
|
143
|
+
if dimension_conditions is not None:
|
|
144
|
+
self.dimension_conditions = dimension_conditions
|
|
145
|
+
self.effect_end_at = effect_end_at
|
|
146
|
+
self.effect_start_at = effect_start_at
|
|
147
|
+
self.enable_state = enable_state
|
|
148
|
+
self.evaluation_count = evaluation_count
|
|
149
|
+
self.level = level
|
|
150
|
+
if level_conditions is not None:
|
|
151
|
+
self.level_conditions = level_conditions
|
|
152
|
+
if multiple_conditions is not None:
|
|
153
|
+
self.multiple_conditions = multiple_conditions
|
|
154
|
+
self.namespace = namespace
|
|
155
|
+
if no_data is not None:
|
|
156
|
+
self.no_data = no_data
|
|
157
|
+
if notification_id is not None:
|
|
158
|
+
self.notification_id = notification_id
|
|
159
|
+
if notify_templates is not None:
|
|
160
|
+
self.notify_templates = notify_templates
|
|
161
|
+
if original_dimensions is not None:
|
|
162
|
+
self.original_dimensions = original_dimensions
|
|
163
|
+
if project_name is not None:
|
|
164
|
+
self.project_name = project_name
|
|
165
|
+
if recovery_notify is not None:
|
|
166
|
+
self.recovery_notify = recovery_notify
|
|
167
|
+
if regions is not None:
|
|
168
|
+
self.regions = regions
|
|
169
|
+
self.rule_name = rule_name
|
|
170
|
+
self.rule_type = rule_type
|
|
171
|
+
self.silence_time = silence_time
|
|
172
|
+
self.sub_namespace = sub_namespace
|
|
173
|
+
if tags is not None:
|
|
174
|
+
self.tags = tags
|
|
175
|
+
if webhook is not None:
|
|
176
|
+
self.webhook = webhook
|
|
177
|
+
if webhook_ids is not None:
|
|
178
|
+
self.webhook_ids = webhook_ids
|
|
179
|
+
|
|
180
|
+
@property
|
|
181
|
+
def alert_methods(self):
|
|
182
|
+
"""Gets the alert_methods of this CreateRuleRequest. # noqa: E501
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
:return: The alert_methods of this CreateRuleRequest. # noqa: E501
|
|
186
|
+
:rtype: list[str]
|
|
187
|
+
"""
|
|
188
|
+
return self._alert_methods
|
|
189
|
+
|
|
190
|
+
@alert_methods.setter
|
|
191
|
+
def alert_methods(self, alert_methods):
|
|
192
|
+
"""Sets the alert_methods of this CreateRuleRequest.
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
:param alert_methods: The alert_methods of this CreateRuleRequest. # noqa: E501
|
|
196
|
+
:type: list[str]
|
|
197
|
+
"""
|
|
198
|
+
allowed_values = ["Email", "Phone", "SMS", "Webhook"] # noqa: E501
|
|
199
|
+
if (self._configuration.client_side_validation and
|
|
200
|
+
not set(alert_methods).issubset(set(allowed_values))): # noqa: E501
|
|
201
|
+
raise ValueError(
|
|
202
|
+
"Invalid values for `alert_methods` [{0}], must be a subset of [{1}]" # noqa: E501
|
|
203
|
+
.format(", ".join(map(str, set(alert_methods) - set(allowed_values))), # noqa: E501
|
|
204
|
+
", ".join(map(str, allowed_values)))
|
|
205
|
+
)
|
|
206
|
+
|
|
207
|
+
self._alert_methods = alert_methods
|
|
208
|
+
|
|
209
|
+
@property
|
|
210
|
+
def condition_operator(self):
|
|
211
|
+
"""Gets the condition_operator of this CreateRuleRequest. # noqa: E501
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
:return: The condition_operator of this CreateRuleRequest. # noqa: E501
|
|
215
|
+
:rtype: str
|
|
216
|
+
"""
|
|
217
|
+
return self._condition_operator
|
|
218
|
+
|
|
219
|
+
@condition_operator.setter
|
|
220
|
+
def condition_operator(self, condition_operator):
|
|
221
|
+
"""Sets the condition_operator of this CreateRuleRequest.
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
:param condition_operator: The condition_operator of this CreateRuleRequest. # noqa: E501
|
|
225
|
+
:type: str
|
|
226
|
+
"""
|
|
227
|
+
|
|
228
|
+
self._condition_operator = condition_operator
|
|
229
|
+
|
|
230
|
+
@property
|
|
231
|
+
def conditions(self):
|
|
232
|
+
"""Gets the conditions of this CreateRuleRequest. # noqa: E501
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
:return: The conditions of this CreateRuleRequest. # noqa: E501
|
|
236
|
+
:rtype: list[ConditionForCreateRuleInput]
|
|
237
|
+
"""
|
|
238
|
+
return self._conditions
|
|
239
|
+
|
|
240
|
+
@conditions.setter
|
|
241
|
+
def conditions(self, conditions):
|
|
242
|
+
"""Sets the conditions of this CreateRuleRequest.
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
:param conditions: The conditions of this CreateRuleRequest. # noqa: E501
|
|
246
|
+
:type: list[ConditionForCreateRuleInput]
|
|
247
|
+
"""
|
|
248
|
+
|
|
249
|
+
self._conditions = conditions
|
|
250
|
+
|
|
251
|
+
@property
|
|
252
|
+
def contact_group_ids(self):
|
|
253
|
+
"""Gets the contact_group_ids of this CreateRuleRequest. # noqa: E501
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
:return: The contact_group_ids of this CreateRuleRequest. # noqa: E501
|
|
257
|
+
:rtype: list[str]
|
|
258
|
+
"""
|
|
259
|
+
return self._contact_group_ids
|
|
260
|
+
|
|
261
|
+
@contact_group_ids.setter
|
|
262
|
+
def contact_group_ids(self, contact_group_ids):
|
|
263
|
+
"""Sets the contact_group_ids of this CreateRuleRequest.
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
:param contact_group_ids: The contact_group_ids of this CreateRuleRequest. # noqa: E501
|
|
267
|
+
:type: list[str]
|
|
268
|
+
"""
|
|
269
|
+
|
|
270
|
+
self._contact_group_ids = contact_group_ids
|
|
271
|
+
|
|
272
|
+
@property
|
|
273
|
+
def description(self):
|
|
274
|
+
"""Gets the description of this CreateRuleRequest. # noqa: E501
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
:return: The description of this CreateRuleRequest. # noqa: E501
|
|
278
|
+
:rtype: str
|
|
279
|
+
"""
|
|
280
|
+
return self._description
|
|
281
|
+
|
|
282
|
+
@description.setter
|
|
283
|
+
def description(self, description):
|
|
284
|
+
"""Sets the description of this CreateRuleRequest.
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
:param description: The description of this CreateRuleRequest. # noqa: E501
|
|
288
|
+
:type: str
|
|
289
|
+
"""
|
|
290
|
+
|
|
291
|
+
self._description = description
|
|
292
|
+
|
|
293
|
+
@property
|
|
294
|
+
def dimension_conditions(self):
|
|
295
|
+
"""Gets the dimension_conditions of this CreateRuleRequest. # noqa: E501
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
:return: The dimension_conditions of this CreateRuleRequest. # noqa: E501
|
|
299
|
+
:rtype: DimensionConditionsForCreateRuleInput
|
|
300
|
+
"""
|
|
301
|
+
return self._dimension_conditions
|
|
302
|
+
|
|
303
|
+
@dimension_conditions.setter
|
|
304
|
+
def dimension_conditions(self, dimension_conditions):
|
|
305
|
+
"""Sets the dimension_conditions of this CreateRuleRequest.
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
:param dimension_conditions: The dimension_conditions of this CreateRuleRequest. # noqa: E501
|
|
309
|
+
:type: DimensionConditionsForCreateRuleInput
|
|
310
|
+
"""
|
|
311
|
+
|
|
312
|
+
self._dimension_conditions = dimension_conditions
|
|
313
|
+
|
|
314
|
+
@property
|
|
315
|
+
def effect_end_at(self):
|
|
316
|
+
"""Gets the effect_end_at of this CreateRuleRequest. # noqa: E501
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
:return: The effect_end_at of this CreateRuleRequest. # noqa: E501
|
|
320
|
+
:rtype: str
|
|
321
|
+
"""
|
|
322
|
+
return self._effect_end_at
|
|
323
|
+
|
|
324
|
+
@effect_end_at.setter
|
|
325
|
+
def effect_end_at(self, effect_end_at):
|
|
326
|
+
"""Sets the effect_end_at of this CreateRuleRequest.
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
:param effect_end_at: The effect_end_at of this CreateRuleRequest. # noqa: E501
|
|
330
|
+
:type: str
|
|
331
|
+
"""
|
|
332
|
+
if self._configuration.client_side_validation and effect_end_at is None:
|
|
333
|
+
raise ValueError("Invalid value for `effect_end_at`, must not be `None`") # noqa: E501
|
|
334
|
+
|
|
335
|
+
self._effect_end_at = effect_end_at
|
|
336
|
+
|
|
337
|
+
@property
|
|
338
|
+
def effect_start_at(self):
|
|
339
|
+
"""Gets the effect_start_at of this CreateRuleRequest. # noqa: E501
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
:return: The effect_start_at of this CreateRuleRequest. # noqa: E501
|
|
343
|
+
:rtype: str
|
|
344
|
+
"""
|
|
345
|
+
return self._effect_start_at
|
|
346
|
+
|
|
347
|
+
@effect_start_at.setter
|
|
348
|
+
def effect_start_at(self, effect_start_at):
|
|
349
|
+
"""Sets the effect_start_at of this CreateRuleRequest.
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
:param effect_start_at: The effect_start_at of this CreateRuleRequest. # noqa: E501
|
|
353
|
+
:type: str
|
|
354
|
+
"""
|
|
355
|
+
if self._configuration.client_side_validation and effect_start_at is None:
|
|
356
|
+
raise ValueError("Invalid value for `effect_start_at`, must not be `None`") # noqa: E501
|
|
357
|
+
|
|
358
|
+
self._effect_start_at = effect_start_at
|
|
359
|
+
|
|
360
|
+
@property
|
|
361
|
+
def enable_state(self):
|
|
362
|
+
"""Gets the enable_state of this CreateRuleRequest. # noqa: E501
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
:return: The enable_state of this CreateRuleRequest. # noqa: E501
|
|
366
|
+
:rtype: str
|
|
367
|
+
"""
|
|
368
|
+
return self._enable_state
|
|
369
|
+
|
|
370
|
+
@enable_state.setter
|
|
371
|
+
def enable_state(self, enable_state):
|
|
372
|
+
"""Sets the enable_state of this CreateRuleRequest.
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
:param enable_state: The enable_state of this CreateRuleRequest. # noqa: E501
|
|
376
|
+
:type: str
|
|
377
|
+
"""
|
|
378
|
+
if self._configuration.client_side_validation and enable_state is None:
|
|
379
|
+
raise ValueError("Invalid value for `enable_state`, must not be `None`") # noqa: E501
|
|
380
|
+
|
|
381
|
+
self._enable_state = enable_state
|
|
382
|
+
|
|
383
|
+
@property
|
|
384
|
+
def evaluation_count(self):
|
|
385
|
+
"""Gets the evaluation_count of this CreateRuleRequest. # noqa: E501
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
:return: The evaluation_count of this CreateRuleRequest. # noqa: E501
|
|
389
|
+
:rtype: int
|
|
390
|
+
"""
|
|
391
|
+
return self._evaluation_count
|
|
392
|
+
|
|
393
|
+
@evaluation_count.setter
|
|
394
|
+
def evaluation_count(self, evaluation_count):
|
|
395
|
+
"""Sets the evaluation_count of this CreateRuleRequest.
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
:param evaluation_count: The evaluation_count of this CreateRuleRequest. # noqa: E501
|
|
399
|
+
:type: int
|
|
400
|
+
"""
|
|
401
|
+
if self._configuration.client_side_validation and evaluation_count is None:
|
|
402
|
+
raise ValueError("Invalid value for `evaluation_count`, must not be `None`") # noqa: E501
|
|
403
|
+
|
|
404
|
+
self._evaluation_count = evaluation_count
|
|
405
|
+
|
|
406
|
+
@property
|
|
407
|
+
def level(self):
|
|
408
|
+
"""Gets the level of this CreateRuleRequest. # noqa: E501
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
:return: The level of this CreateRuleRequest. # noqa: E501
|
|
412
|
+
:rtype: str
|
|
413
|
+
"""
|
|
414
|
+
return self._level
|
|
415
|
+
|
|
416
|
+
@level.setter
|
|
417
|
+
def level(self, level):
|
|
418
|
+
"""Sets the level of this CreateRuleRequest.
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
:param level: The level of this CreateRuleRequest. # noqa: E501
|
|
422
|
+
:type: str
|
|
423
|
+
"""
|
|
424
|
+
if self._configuration.client_side_validation and level is None:
|
|
425
|
+
raise ValueError("Invalid value for `level`, must not be `None`") # noqa: E501
|
|
426
|
+
|
|
427
|
+
self._level = level
|
|
428
|
+
|
|
429
|
+
@property
|
|
430
|
+
def level_conditions(self):
|
|
431
|
+
"""Gets the level_conditions of this CreateRuleRequest. # noqa: E501
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
:return: The level_conditions of this CreateRuleRequest. # noqa: E501
|
|
435
|
+
:rtype: list[LevelConditionForCreateRuleInput]
|
|
436
|
+
"""
|
|
437
|
+
return self._level_conditions
|
|
438
|
+
|
|
439
|
+
@level_conditions.setter
|
|
440
|
+
def level_conditions(self, level_conditions):
|
|
441
|
+
"""Sets the level_conditions of this CreateRuleRequest.
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
:param level_conditions: The level_conditions of this CreateRuleRequest. # noqa: E501
|
|
445
|
+
:type: list[LevelConditionForCreateRuleInput]
|
|
446
|
+
"""
|
|
447
|
+
|
|
448
|
+
self._level_conditions = level_conditions
|
|
449
|
+
|
|
450
|
+
@property
|
|
451
|
+
def multiple_conditions(self):
|
|
452
|
+
"""Gets the multiple_conditions of this CreateRuleRequest. # noqa: E501
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
:return: The multiple_conditions of this CreateRuleRequest. # noqa: E501
|
|
456
|
+
:rtype: bool
|
|
457
|
+
"""
|
|
458
|
+
return self._multiple_conditions
|
|
459
|
+
|
|
460
|
+
@multiple_conditions.setter
|
|
461
|
+
def multiple_conditions(self, multiple_conditions):
|
|
462
|
+
"""Sets the multiple_conditions of this CreateRuleRequest.
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
:param multiple_conditions: The multiple_conditions of this CreateRuleRequest. # noqa: E501
|
|
466
|
+
:type: bool
|
|
467
|
+
"""
|
|
468
|
+
|
|
469
|
+
self._multiple_conditions = multiple_conditions
|
|
470
|
+
|
|
471
|
+
@property
|
|
472
|
+
def namespace(self):
|
|
473
|
+
"""Gets the namespace of this CreateRuleRequest. # noqa: E501
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
:return: The namespace of this CreateRuleRequest. # noqa: E501
|
|
477
|
+
:rtype: str
|
|
478
|
+
"""
|
|
479
|
+
return self._namespace
|
|
480
|
+
|
|
481
|
+
@namespace.setter
|
|
482
|
+
def namespace(self, namespace):
|
|
483
|
+
"""Sets the namespace of this CreateRuleRequest.
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
:param namespace: The namespace of this CreateRuleRequest. # noqa: E501
|
|
487
|
+
:type: str
|
|
488
|
+
"""
|
|
489
|
+
if self._configuration.client_side_validation and namespace is None:
|
|
490
|
+
raise ValueError("Invalid value for `namespace`, must not be `None`") # noqa: E501
|
|
491
|
+
|
|
492
|
+
self._namespace = namespace
|
|
493
|
+
|
|
494
|
+
@property
|
|
495
|
+
def no_data(self):
|
|
496
|
+
"""Gets the no_data of this CreateRuleRequest. # noqa: E501
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
:return: The no_data of this CreateRuleRequest. # noqa: E501
|
|
500
|
+
:rtype: NoDataForCreateRuleInput
|
|
501
|
+
"""
|
|
502
|
+
return self._no_data
|
|
503
|
+
|
|
504
|
+
@no_data.setter
|
|
505
|
+
def no_data(self, no_data):
|
|
506
|
+
"""Sets the no_data of this CreateRuleRequest.
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
:param no_data: The no_data of this CreateRuleRequest. # noqa: E501
|
|
510
|
+
:type: NoDataForCreateRuleInput
|
|
511
|
+
"""
|
|
512
|
+
|
|
513
|
+
self._no_data = no_data
|
|
514
|
+
|
|
515
|
+
@property
|
|
516
|
+
def notification_id(self):
|
|
517
|
+
"""Gets the notification_id of this CreateRuleRequest. # noqa: E501
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
:return: The notification_id of this CreateRuleRequest. # noqa: E501
|
|
521
|
+
:rtype: str
|
|
522
|
+
"""
|
|
523
|
+
return self._notification_id
|
|
524
|
+
|
|
525
|
+
@notification_id.setter
|
|
526
|
+
def notification_id(self, notification_id):
|
|
527
|
+
"""Sets the notification_id of this CreateRuleRequest.
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
:param notification_id: The notification_id of this CreateRuleRequest. # noqa: E501
|
|
531
|
+
:type: str
|
|
532
|
+
"""
|
|
533
|
+
|
|
534
|
+
self._notification_id = notification_id
|
|
535
|
+
|
|
536
|
+
@property
|
|
537
|
+
def notify_templates(self):
|
|
538
|
+
"""Gets the notify_templates of this CreateRuleRequest. # noqa: E501
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
:return: The notify_templates of this CreateRuleRequest. # noqa: E501
|
|
542
|
+
:rtype: list[NotifyTemplateForCreateRuleInput]
|
|
543
|
+
"""
|
|
544
|
+
return self._notify_templates
|
|
545
|
+
|
|
546
|
+
@notify_templates.setter
|
|
547
|
+
def notify_templates(self, notify_templates):
|
|
548
|
+
"""Sets the notify_templates of this CreateRuleRequest.
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
:param notify_templates: The notify_templates of this CreateRuleRequest. # noqa: E501
|
|
552
|
+
:type: list[NotifyTemplateForCreateRuleInput]
|
|
553
|
+
"""
|
|
554
|
+
|
|
555
|
+
self._notify_templates = notify_templates
|
|
556
|
+
|
|
557
|
+
@property
|
|
558
|
+
def original_dimensions(self):
|
|
559
|
+
"""Gets the original_dimensions of this CreateRuleRequest. # noqa: E501
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
:return: The original_dimensions of this CreateRuleRequest. # noqa: E501
|
|
563
|
+
:rtype: dict(str, list[str])
|
|
564
|
+
"""
|
|
565
|
+
return self._original_dimensions
|
|
566
|
+
|
|
567
|
+
@original_dimensions.setter
|
|
568
|
+
def original_dimensions(self, original_dimensions):
|
|
569
|
+
"""Sets the original_dimensions of this CreateRuleRequest.
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
:param original_dimensions: The original_dimensions of this CreateRuleRequest. # noqa: E501
|
|
573
|
+
:type: dict(str, list[str])
|
|
574
|
+
"""
|
|
575
|
+
|
|
576
|
+
self._original_dimensions = original_dimensions
|
|
577
|
+
|
|
578
|
+
@property
|
|
579
|
+
def project_name(self):
|
|
580
|
+
"""Gets the project_name of this CreateRuleRequest. # noqa: E501
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
:return: The project_name of this CreateRuleRequest. # noqa: E501
|
|
584
|
+
:rtype: str
|
|
585
|
+
"""
|
|
586
|
+
return self._project_name
|
|
587
|
+
|
|
588
|
+
@project_name.setter
|
|
589
|
+
def project_name(self, project_name):
|
|
590
|
+
"""Sets the project_name of this CreateRuleRequest.
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
:param project_name: The project_name of this CreateRuleRequest. # noqa: E501
|
|
594
|
+
:type: str
|
|
595
|
+
"""
|
|
596
|
+
|
|
597
|
+
self._project_name = project_name
|
|
598
|
+
|
|
599
|
+
@property
|
|
600
|
+
def recovery_notify(self):
|
|
601
|
+
"""Gets the recovery_notify of this CreateRuleRequest. # noqa: E501
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
:return: The recovery_notify of this CreateRuleRequest. # noqa: E501
|
|
605
|
+
:rtype: RecoveryNotifyForCreateRuleInput
|
|
606
|
+
"""
|
|
607
|
+
return self._recovery_notify
|
|
608
|
+
|
|
609
|
+
@recovery_notify.setter
|
|
610
|
+
def recovery_notify(self, recovery_notify):
|
|
611
|
+
"""Sets the recovery_notify of this CreateRuleRequest.
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
:param recovery_notify: The recovery_notify of this CreateRuleRequest. # noqa: E501
|
|
615
|
+
:type: RecoveryNotifyForCreateRuleInput
|
|
616
|
+
"""
|
|
617
|
+
|
|
618
|
+
self._recovery_notify = recovery_notify
|
|
619
|
+
|
|
620
|
+
@property
|
|
621
|
+
def regions(self):
|
|
622
|
+
"""Gets the regions of this CreateRuleRequest. # noqa: E501
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
:return: The regions of this CreateRuleRequest. # noqa: E501
|
|
626
|
+
:rtype: list[str]
|
|
627
|
+
"""
|
|
628
|
+
return self._regions
|
|
629
|
+
|
|
630
|
+
@regions.setter
|
|
631
|
+
def regions(self, regions):
|
|
632
|
+
"""Sets the regions of this CreateRuleRequest.
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
:param regions: The regions of this CreateRuleRequest. # noqa: E501
|
|
636
|
+
:type: list[str]
|
|
637
|
+
"""
|
|
638
|
+
|
|
639
|
+
self._regions = regions
|
|
640
|
+
|
|
641
|
+
@property
|
|
642
|
+
def rule_name(self):
|
|
643
|
+
"""Gets the rule_name of this CreateRuleRequest. # noqa: E501
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
:return: The rule_name of this CreateRuleRequest. # noqa: E501
|
|
647
|
+
:rtype: str
|
|
648
|
+
"""
|
|
649
|
+
return self._rule_name
|
|
650
|
+
|
|
651
|
+
@rule_name.setter
|
|
652
|
+
def rule_name(self, rule_name):
|
|
653
|
+
"""Sets the rule_name of this CreateRuleRequest.
|
|
654
|
+
|
|
655
|
+
|
|
656
|
+
:param rule_name: The rule_name of this CreateRuleRequest. # noqa: E501
|
|
657
|
+
:type: str
|
|
658
|
+
"""
|
|
659
|
+
if self._configuration.client_side_validation and rule_name is None:
|
|
660
|
+
raise ValueError("Invalid value for `rule_name`, must not be `None`") # noqa: E501
|
|
661
|
+
|
|
662
|
+
self._rule_name = rule_name
|
|
663
|
+
|
|
664
|
+
@property
|
|
665
|
+
def rule_type(self):
|
|
666
|
+
"""Gets the rule_type of this CreateRuleRequest. # noqa: E501
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
:return: The rule_type of this CreateRuleRequest. # noqa: E501
|
|
670
|
+
:rtype: str
|
|
671
|
+
"""
|
|
672
|
+
return self._rule_type
|
|
673
|
+
|
|
674
|
+
@rule_type.setter
|
|
675
|
+
def rule_type(self, rule_type):
|
|
676
|
+
"""Sets the rule_type of this CreateRuleRequest.
|
|
677
|
+
|
|
678
|
+
|
|
679
|
+
:param rule_type: The rule_type of this CreateRuleRequest. # noqa: E501
|
|
680
|
+
:type: str
|
|
681
|
+
"""
|
|
682
|
+
if self._configuration.client_side_validation and rule_type is None:
|
|
683
|
+
raise ValueError("Invalid value for `rule_type`, must not be `None`") # noqa: E501
|
|
684
|
+
allowed_values = ["static", "dynamic"] # noqa: E501
|
|
685
|
+
if (self._configuration.client_side_validation and
|
|
686
|
+
rule_type not in allowed_values):
|
|
687
|
+
raise ValueError(
|
|
688
|
+
"Invalid value for `rule_type` ({0}), must be one of {1}" # noqa: E501
|
|
689
|
+
.format(rule_type, allowed_values)
|
|
690
|
+
)
|
|
691
|
+
|
|
692
|
+
self._rule_type = rule_type
|
|
693
|
+
|
|
694
|
+
@property
|
|
695
|
+
def silence_time(self):
|
|
696
|
+
"""Gets the silence_time of this CreateRuleRequest. # noqa: E501
|
|
697
|
+
|
|
698
|
+
|
|
699
|
+
:return: The silence_time of this CreateRuleRequest. # noqa: E501
|
|
700
|
+
:rtype: int
|
|
701
|
+
"""
|
|
702
|
+
return self._silence_time
|
|
703
|
+
|
|
704
|
+
@silence_time.setter
|
|
705
|
+
def silence_time(self, silence_time):
|
|
706
|
+
"""Sets the silence_time of this CreateRuleRequest.
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
:param silence_time: The silence_time of this CreateRuleRequest. # noqa: E501
|
|
710
|
+
:type: int
|
|
711
|
+
"""
|
|
712
|
+
if self._configuration.client_side_validation and silence_time is None:
|
|
713
|
+
raise ValueError("Invalid value for `silence_time`, must not be `None`") # noqa: E501
|
|
714
|
+
|
|
715
|
+
self._silence_time = silence_time
|
|
716
|
+
|
|
717
|
+
@property
|
|
718
|
+
def sub_namespace(self):
|
|
719
|
+
"""Gets the sub_namespace of this CreateRuleRequest. # noqa: E501
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
:return: The sub_namespace of this CreateRuleRequest. # noqa: E501
|
|
723
|
+
:rtype: str
|
|
724
|
+
"""
|
|
725
|
+
return self._sub_namespace
|
|
726
|
+
|
|
727
|
+
@sub_namespace.setter
|
|
728
|
+
def sub_namespace(self, sub_namespace):
|
|
729
|
+
"""Sets the sub_namespace of this CreateRuleRequest.
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
:param sub_namespace: The sub_namespace of this CreateRuleRequest. # noqa: E501
|
|
733
|
+
:type: str
|
|
734
|
+
"""
|
|
735
|
+
if self._configuration.client_side_validation and sub_namespace is None:
|
|
736
|
+
raise ValueError("Invalid value for `sub_namespace`, must not be `None`") # noqa: E501
|
|
737
|
+
|
|
738
|
+
self._sub_namespace = sub_namespace
|
|
739
|
+
|
|
740
|
+
@property
|
|
741
|
+
def tags(self):
|
|
742
|
+
"""Gets the tags of this CreateRuleRequest. # noqa: E501
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
:return: The tags of this CreateRuleRequest. # noqa: E501
|
|
746
|
+
:rtype: list[ConvertTagForCreateRuleInput]
|
|
747
|
+
"""
|
|
748
|
+
return self._tags
|
|
749
|
+
|
|
750
|
+
@tags.setter
|
|
751
|
+
def tags(self, tags):
|
|
752
|
+
"""Sets the tags of this CreateRuleRequest.
|
|
753
|
+
|
|
754
|
+
|
|
755
|
+
:param tags: The tags of this CreateRuleRequest. # noqa: E501
|
|
756
|
+
:type: list[ConvertTagForCreateRuleInput]
|
|
757
|
+
"""
|
|
758
|
+
|
|
759
|
+
self._tags = tags
|
|
760
|
+
|
|
761
|
+
@property
|
|
762
|
+
def webhook(self):
|
|
763
|
+
"""Gets the webhook of this CreateRuleRequest. # noqa: E501
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
:return: The webhook of this CreateRuleRequest. # noqa: E501
|
|
767
|
+
:rtype: str
|
|
768
|
+
"""
|
|
769
|
+
return self._webhook
|
|
770
|
+
|
|
771
|
+
@webhook.setter
|
|
772
|
+
def webhook(self, webhook):
|
|
773
|
+
"""Sets the webhook of this CreateRuleRequest.
|
|
774
|
+
|
|
775
|
+
|
|
776
|
+
:param webhook: The webhook of this CreateRuleRequest. # noqa: E501
|
|
777
|
+
:type: str
|
|
778
|
+
"""
|
|
779
|
+
|
|
780
|
+
self._webhook = webhook
|
|
781
|
+
|
|
782
|
+
@property
|
|
783
|
+
def webhook_ids(self):
|
|
784
|
+
"""Gets the webhook_ids of this CreateRuleRequest. # noqa: E501
|
|
785
|
+
|
|
786
|
+
|
|
787
|
+
:return: The webhook_ids of this CreateRuleRequest. # noqa: E501
|
|
788
|
+
:rtype: list[str]
|
|
789
|
+
"""
|
|
790
|
+
return self._webhook_ids
|
|
791
|
+
|
|
792
|
+
@webhook_ids.setter
|
|
793
|
+
def webhook_ids(self, webhook_ids):
|
|
794
|
+
"""Sets the webhook_ids of this CreateRuleRequest.
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
:param webhook_ids: The webhook_ids of this CreateRuleRequest. # noqa: E501
|
|
798
|
+
:type: list[str]
|
|
799
|
+
"""
|
|
800
|
+
|
|
801
|
+
self._webhook_ids = webhook_ids
|
|
802
|
+
|
|
803
|
+
def to_dict(self):
|
|
804
|
+
"""Returns the model properties as a dict"""
|
|
805
|
+
result = {}
|
|
806
|
+
|
|
807
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
808
|
+
value = getattr(self, attr)
|
|
809
|
+
if isinstance(value, list):
|
|
810
|
+
result[attr] = list(map(
|
|
811
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
812
|
+
value
|
|
813
|
+
))
|
|
814
|
+
elif hasattr(value, "to_dict"):
|
|
815
|
+
result[attr] = value.to_dict()
|
|
816
|
+
elif isinstance(value, dict):
|
|
817
|
+
result[attr] = dict(map(
|
|
818
|
+
lambda item: (item[0], item[1].to_dict())
|
|
819
|
+
if hasattr(item[1], "to_dict") else item,
|
|
820
|
+
value.items()
|
|
821
|
+
))
|
|
822
|
+
else:
|
|
823
|
+
result[attr] = value
|
|
824
|
+
if issubclass(CreateRuleRequest, dict):
|
|
825
|
+
for key, value in self.items():
|
|
826
|
+
result[key] = value
|
|
827
|
+
|
|
828
|
+
return result
|
|
829
|
+
|
|
830
|
+
def to_str(self):
|
|
831
|
+
"""Returns the string representation of the model"""
|
|
832
|
+
return pprint.pformat(self.to_dict())
|
|
833
|
+
|
|
834
|
+
def __repr__(self):
|
|
835
|
+
"""For `print` and `pprint`"""
|
|
836
|
+
return self.to_str()
|
|
837
|
+
|
|
838
|
+
def __eq__(self, other):
|
|
839
|
+
"""Returns true if both objects are equal"""
|
|
840
|
+
if not isinstance(other, CreateRuleRequest):
|
|
841
|
+
return False
|
|
842
|
+
|
|
843
|
+
return self.to_dict() == other.to_dict()
|
|
844
|
+
|
|
845
|
+
def __ne__(self, other):
|
|
846
|
+
"""Returns true if both objects are not equal"""
|
|
847
|
+
if not isinstance(other, CreateRuleRequest):
|
|
848
|
+
return True
|
|
849
|
+
|
|
850
|
+
return self.to_dict() != other.to_dict()
|