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,851 @@
|
|
|
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 UpdateRuleRequest(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[ConditionForUpdateRuleInput]',
|
|
39
|
+
'contact_group_ids': 'list[str]',
|
|
40
|
+
'description': 'str',
|
|
41
|
+
'dimension_conditions': 'DimensionConditionsForUpdateRuleInput',
|
|
42
|
+
'effect_end_at': 'str',
|
|
43
|
+
'effect_start_at': 'str',
|
|
44
|
+
'enable_state': 'str',
|
|
45
|
+
'evaluation_count': 'int',
|
|
46
|
+
'id': 'str',
|
|
47
|
+
'level': 'str',
|
|
48
|
+
'level_conditions': 'list[LevelConditionForUpdateRuleInput]',
|
|
49
|
+
'multiple_conditions': 'bool',
|
|
50
|
+
'namespace': 'str',
|
|
51
|
+
'no_data': 'NoDataForUpdateRuleInput',
|
|
52
|
+
'notification_id': 'str',
|
|
53
|
+
'notify_templates': 'list[NotifyTemplateForUpdateRuleInput]',
|
|
54
|
+
'original_dimensions': 'dict(str, list[str])',
|
|
55
|
+
'recovery_notify': 'RecoveryNotifyForUpdateRuleInput',
|
|
56
|
+
'regions': 'list[str]',
|
|
57
|
+
'rule_name': 'str',
|
|
58
|
+
'rule_type': 'str',
|
|
59
|
+
'silence_time': 'int',
|
|
60
|
+
'sub_namespace': 'str',
|
|
61
|
+
'tags': 'list[ConvertTagForUpdateRuleInput]',
|
|
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
|
+
'id': 'Id',
|
|
78
|
+
'level': 'Level',
|
|
79
|
+
'level_conditions': 'LevelConditions',
|
|
80
|
+
'multiple_conditions': 'MultipleConditions',
|
|
81
|
+
'namespace': 'Namespace',
|
|
82
|
+
'no_data': 'NoData',
|
|
83
|
+
'notification_id': 'NotificationId',
|
|
84
|
+
'notify_templates': 'NotifyTemplates',
|
|
85
|
+
'original_dimensions': 'OriginalDimensions',
|
|
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, id=None, level=None, level_conditions=None, multiple_conditions=None, namespace=None, no_data=None, notification_id=None, notify_templates=None, original_dimensions=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
|
+
"""UpdateRuleRequest - 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._id = None
|
|
114
|
+
self._level = None
|
|
115
|
+
self._level_conditions = None
|
|
116
|
+
self._multiple_conditions = None
|
|
117
|
+
self._namespace = None
|
|
118
|
+
self._no_data = None
|
|
119
|
+
self._notification_id = None
|
|
120
|
+
self._notify_templates = None
|
|
121
|
+
self._original_dimensions = 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.id = id
|
|
150
|
+
self.level = level
|
|
151
|
+
if level_conditions is not None:
|
|
152
|
+
self.level_conditions = level_conditions
|
|
153
|
+
if multiple_conditions is not None:
|
|
154
|
+
self.multiple_conditions = multiple_conditions
|
|
155
|
+
self.namespace = namespace
|
|
156
|
+
if no_data is not None:
|
|
157
|
+
self.no_data = no_data
|
|
158
|
+
if notification_id is not None:
|
|
159
|
+
self.notification_id = notification_id
|
|
160
|
+
if notify_templates is not None:
|
|
161
|
+
self.notify_templates = notify_templates
|
|
162
|
+
if original_dimensions is not None:
|
|
163
|
+
self.original_dimensions = original_dimensions
|
|
164
|
+
if recovery_notify is not None:
|
|
165
|
+
self.recovery_notify = recovery_notify
|
|
166
|
+
if regions is not None:
|
|
167
|
+
self.regions = regions
|
|
168
|
+
self.rule_name = rule_name
|
|
169
|
+
self.rule_type = rule_type
|
|
170
|
+
self.silence_time = silence_time
|
|
171
|
+
self.sub_namespace = sub_namespace
|
|
172
|
+
if tags is not None:
|
|
173
|
+
self.tags = tags
|
|
174
|
+
if webhook is not None:
|
|
175
|
+
self.webhook = webhook
|
|
176
|
+
if webhook_ids is not None:
|
|
177
|
+
self.webhook_ids = webhook_ids
|
|
178
|
+
|
|
179
|
+
@property
|
|
180
|
+
def alert_methods(self):
|
|
181
|
+
"""Gets the alert_methods of this UpdateRuleRequest. # noqa: E501
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
:return: The alert_methods of this UpdateRuleRequest. # noqa: E501
|
|
185
|
+
:rtype: list[str]
|
|
186
|
+
"""
|
|
187
|
+
return self._alert_methods
|
|
188
|
+
|
|
189
|
+
@alert_methods.setter
|
|
190
|
+
def alert_methods(self, alert_methods):
|
|
191
|
+
"""Sets the alert_methods of this UpdateRuleRequest.
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
:param alert_methods: The alert_methods of this UpdateRuleRequest. # noqa: E501
|
|
195
|
+
:type: list[str]
|
|
196
|
+
"""
|
|
197
|
+
allowed_values = ["Email", "Phone", "SMS", "Webhook"] # noqa: E501
|
|
198
|
+
if (self._configuration.client_side_validation and
|
|
199
|
+
not set(alert_methods).issubset(set(allowed_values))): # noqa: E501
|
|
200
|
+
raise ValueError(
|
|
201
|
+
"Invalid values for `alert_methods` [{0}], must be a subset of [{1}]" # noqa: E501
|
|
202
|
+
.format(", ".join(map(str, set(alert_methods) - set(allowed_values))), # noqa: E501
|
|
203
|
+
", ".join(map(str, allowed_values)))
|
|
204
|
+
)
|
|
205
|
+
|
|
206
|
+
self._alert_methods = alert_methods
|
|
207
|
+
|
|
208
|
+
@property
|
|
209
|
+
def condition_operator(self):
|
|
210
|
+
"""Gets the condition_operator of this UpdateRuleRequest. # noqa: E501
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
:return: The condition_operator of this UpdateRuleRequest. # noqa: E501
|
|
214
|
+
:rtype: str
|
|
215
|
+
"""
|
|
216
|
+
return self._condition_operator
|
|
217
|
+
|
|
218
|
+
@condition_operator.setter
|
|
219
|
+
def condition_operator(self, condition_operator):
|
|
220
|
+
"""Sets the condition_operator of this UpdateRuleRequest.
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
:param condition_operator: The condition_operator of this UpdateRuleRequest. # noqa: E501
|
|
224
|
+
:type: str
|
|
225
|
+
"""
|
|
226
|
+
|
|
227
|
+
self._condition_operator = condition_operator
|
|
228
|
+
|
|
229
|
+
@property
|
|
230
|
+
def conditions(self):
|
|
231
|
+
"""Gets the conditions of this UpdateRuleRequest. # noqa: E501
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
:return: The conditions of this UpdateRuleRequest. # noqa: E501
|
|
235
|
+
:rtype: list[ConditionForUpdateRuleInput]
|
|
236
|
+
"""
|
|
237
|
+
return self._conditions
|
|
238
|
+
|
|
239
|
+
@conditions.setter
|
|
240
|
+
def conditions(self, conditions):
|
|
241
|
+
"""Sets the conditions of this UpdateRuleRequest.
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
:param conditions: The conditions of this UpdateRuleRequest. # noqa: E501
|
|
245
|
+
:type: list[ConditionForUpdateRuleInput]
|
|
246
|
+
"""
|
|
247
|
+
|
|
248
|
+
self._conditions = conditions
|
|
249
|
+
|
|
250
|
+
@property
|
|
251
|
+
def contact_group_ids(self):
|
|
252
|
+
"""Gets the contact_group_ids of this UpdateRuleRequest. # noqa: E501
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
:return: The contact_group_ids of this UpdateRuleRequest. # noqa: E501
|
|
256
|
+
:rtype: list[str]
|
|
257
|
+
"""
|
|
258
|
+
return self._contact_group_ids
|
|
259
|
+
|
|
260
|
+
@contact_group_ids.setter
|
|
261
|
+
def contact_group_ids(self, contact_group_ids):
|
|
262
|
+
"""Sets the contact_group_ids of this UpdateRuleRequest.
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
:param contact_group_ids: The contact_group_ids of this UpdateRuleRequest. # noqa: E501
|
|
266
|
+
:type: list[str]
|
|
267
|
+
"""
|
|
268
|
+
|
|
269
|
+
self._contact_group_ids = contact_group_ids
|
|
270
|
+
|
|
271
|
+
@property
|
|
272
|
+
def description(self):
|
|
273
|
+
"""Gets the description of this UpdateRuleRequest. # noqa: E501
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
:return: The description of this UpdateRuleRequest. # noqa: E501
|
|
277
|
+
:rtype: str
|
|
278
|
+
"""
|
|
279
|
+
return self._description
|
|
280
|
+
|
|
281
|
+
@description.setter
|
|
282
|
+
def description(self, description):
|
|
283
|
+
"""Sets the description of this UpdateRuleRequest.
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
:param description: The description of this UpdateRuleRequest. # noqa: E501
|
|
287
|
+
:type: str
|
|
288
|
+
"""
|
|
289
|
+
|
|
290
|
+
self._description = description
|
|
291
|
+
|
|
292
|
+
@property
|
|
293
|
+
def dimension_conditions(self):
|
|
294
|
+
"""Gets the dimension_conditions of this UpdateRuleRequest. # noqa: E501
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
:return: The dimension_conditions of this UpdateRuleRequest. # noqa: E501
|
|
298
|
+
:rtype: DimensionConditionsForUpdateRuleInput
|
|
299
|
+
"""
|
|
300
|
+
return self._dimension_conditions
|
|
301
|
+
|
|
302
|
+
@dimension_conditions.setter
|
|
303
|
+
def dimension_conditions(self, dimension_conditions):
|
|
304
|
+
"""Sets the dimension_conditions of this UpdateRuleRequest.
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
:param dimension_conditions: The dimension_conditions of this UpdateRuleRequest. # noqa: E501
|
|
308
|
+
:type: DimensionConditionsForUpdateRuleInput
|
|
309
|
+
"""
|
|
310
|
+
|
|
311
|
+
self._dimension_conditions = dimension_conditions
|
|
312
|
+
|
|
313
|
+
@property
|
|
314
|
+
def effect_end_at(self):
|
|
315
|
+
"""Gets the effect_end_at of this UpdateRuleRequest. # noqa: E501
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
:return: The effect_end_at of this UpdateRuleRequest. # noqa: E501
|
|
319
|
+
:rtype: str
|
|
320
|
+
"""
|
|
321
|
+
return self._effect_end_at
|
|
322
|
+
|
|
323
|
+
@effect_end_at.setter
|
|
324
|
+
def effect_end_at(self, effect_end_at):
|
|
325
|
+
"""Sets the effect_end_at of this UpdateRuleRequest.
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
:param effect_end_at: The effect_end_at of this UpdateRuleRequest. # noqa: E501
|
|
329
|
+
:type: str
|
|
330
|
+
"""
|
|
331
|
+
if self._configuration.client_side_validation and effect_end_at is None:
|
|
332
|
+
raise ValueError("Invalid value for `effect_end_at`, must not be `None`") # noqa: E501
|
|
333
|
+
|
|
334
|
+
self._effect_end_at = effect_end_at
|
|
335
|
+
|
|
336
|
+
@property
|
|
337
|
+
def effect_start_at(self):
|
|
338
|
+
"""Gets the effect_start_at of this UpdateRuleRequest. # noqa: E501
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
:return: The effect_start_at of this UpdateRuleRequest. # noqa: E501
|
|
342
|
+
:rtype: str
|
|
343
|
+
"""
|
|
344
|
+
return self._effect_start_at
|
|
345
|
+
|
|
346
|
+
@effect_start_at.setter
|
|
347
|
+
def effect_start_at(self, effect_start_at):
|
|
348
|
+
"""Sets the effect_start_at of this UpdateRuleRequest.
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
:param effect_start_at: The effect_start_at of this UpdateRuleRequest. # noqa: E501
|
|
352
|
+
:type: str
|
|
353
|
+
"""
|
|
354
|
+
if self._configuration.client_side_validation and effect_start_at is None:
|
|
355
|
+
raise ValueError("Invalid value for `effect_start_at`, must not be `None`") # noqa: E501
|
|
356
|
+
|
|
357
|
+
self._effect_start_at = effect_start_at
|
|
358
|
+
|
|
359
|
+
@property
|
|
360
|
+
def enable_state(self):
|
|
361
|
+
"""Gets the enable_state of this UpdateRuleRequest. # noqa: E501
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
:return: The enable_state of this UpdateRuleRequest. # noqa: E501
|
|
365
|
+
:rtype: str
|
|
366
|
+
"""
|
|
367
|
+
return self._enable_state
|
|
368
|
+
|
|
369
|
+
@enable_state.setter
|
|
370
|
+
def enable_state(self, enable_state):
|
|
371
|
+
"""Sets the enable_state of this UpdateRuleRequest.
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
:param enable_state: The enable_state of this UpdateRuleRequest. # noqa: E501
|
|
375
|
+
:type: str
|
|
376
|
+
"""
|
|
377
|
+
if self._configuration.client_side_validation and enable_state is None:
|
|
378
|
+
raise ValueError("Invalid value for `enable_state`, must not be `None`") # noqa: E501
|
|
379
|
+
|
|
380
|
+
self._enable_state = enable_state
|
|
381
|
+
|
|
382
|
+
@property
|
|
383
|
+
def evaluation_count(self):
|
|
384
|
+
"""Gets the evaluation_count of this UpdateRuleRequest. # noqa: E501
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
:return: The evaluation_count of this UpdateRuleRequest. # noqa: E501
|
|
388
|
+
:rtype: int
|
|
389
|
+
"""
|
|
390
|
+
return self._evaluation_count
|
|
391
|
+
|
|
392
|
+
@evaluation_count.setter
|
|
393
|
+
def evaluation_count(self, evaluation_count):
|
|
394
|
+
"""Sets the evaluation_count of this UpdateRuleRequest.
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
:param evaluation_count: The evaluation_count of this UpdateRuleRequest. # noqa: E501
|
|
398
|
+
:type: int
|
|
399
|
+
"""
|
|
400
|
+
if self._configuration.client_side_validation and evaluation_count is None:
|
|
401
|
+
raise ValueError("Invalid value for `evaluation_count`, must not be `None`") # noqa: E501
|
|
402
|
+
|
|
403
|
+
self._evaluation_count = evaluation_count
|
|
404
|
+
|
|
405
|
+
@property
|
|
406
|
+
def id(self):
|
|
407
|
+
"""Gets the id of this UpdateRuleRequest. # noqa: E501
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
:return: The id of this UpdateRuleRequest. # noqa: E501
|
|
411
|
+
:rtype: str
|
|
412
|
+
"""
|
|
413
|
+
return self._id
|
|
414
|
+
|
|
415
|
+
@id.setter
|
|
416
|
+
def id(self, id):
|
|
417
|
+
"""Sets the id of this UpdateRuleRequest.
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
:param id: The id of this UpdateRuleRequest. # noqa: E501
|
|
421
|
+
:type: str
|
|
422
|
+
"""
|
|
423
|
+
if self._configuration.client_side_validation and id is None:
|
|
424
|
+
raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501
|
|
425
|
+
|
|
426
|
+
self._id = id
|
|
427
|
+
|
|
428
|
+
@property
|
|
429
|
+
def level(self):
|
|
430
|
+
"""Gets the level of this UpdateRuleRequest. # noqa: E501
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
:return: The level of this UpdateRuleRequest. # noqa: E501
|
|
434
|
+
:rtype: str
|
|
435
|
+
"""
|
|
436
|
+
return self._level
|
|
437
|
+
|
|
438
|
+
@level.setter
|
|
439
|
+
def level(self, level):
|
|
440
|
+
"""Sets the level of this UpdateRuleRequest.
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
:param level: The level of this UpdateRuleRequest. # noqa: E501
|
|
444
|
+
:type: str
|
|
445
|
+
"""
|
|
446
|
+
if self._configuration.client_side_validation and level is None:
|
|
447
|
+
raise ValueError("Invalid value for `level`, must not be `None`") # noqa: E501
|
|
448
|
+
|
|
449
|
+
self._level = level
|
|
450
|
+
|
|
451
|
+
@property
|
|
452
|
+
def level_conditions(self):
|
|
453
|
+
"""Gets the level_conditions of this UpdateRuleRequest. # noqa: E501
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
:return: The level_conditions of this UpdateRuleRequest. # noqa: E501
|
|
457
|
+
:rtype: list[LevelConditionForUpdateRuleInput]
|
|
458
|
+
"""
|
|
459
|
+
return self._level_conditions
|
|
460
|
+
|
|
461
|
+
@level_conditions.setter
|
|
462
|
+
def level_conditions(self, level_conditions):
|
|
463
|
+
"""Sets the level_conditions of this UpdateRuleRequest.
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
:param level_conditions: The level_conditions of this UpdateRuleRequest. # noqa: E501
|
|
467
|
+
:type: list[LevelConditionForUpdateRuleInput]
|
|
468
|
+
"""
|
|
469
|
+
|
|
470
|
+
self._level_conditions = level_conditions
|
|
471
|
+
|
|
472
|
+
@property
|
|
473
|
+
def multiple_conditions(self):
|
|
474
|
+
"""Gets the multiple_conditions of this UpdateRuleRequest. # noqa: E501
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
:return: The multiple_conditions of this UpdateRuleRequest. # noqa: E501
|
|
478
|
+
:rtype: bool
|
|
479
|
+
"""
|
|
480
|
+
return self._multiple_conditions
|
|
481
|
+
|
|
482
|
+
@multiple_conditions.setter
|
|
483
|
+
def multiple_conditions(self, multiple_conditions):
|
|
484
|
+
"""Sets the multiple_conditions of this UpdateRuleRequest.
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
:param multiple_conditions: The multiple_conditions of this UpdateRuleRequest. # noqa: E501
|
|
488
|
+
:type: bool
|
|
489
|
+
"""
|
|
490
|
+
|
|
491
|
+
self._multiple_conditions = multiple_conditions
|
|
492
|
+
|
|
493
|
+
@property
|
|
494
|
+
def namespace(self):
|
|
495
|
+
"""Gets the namespace of this UpdateRuleRequest. # noqa: E501
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
:return: The namespace of this UpdateRuleRequest. # noqa: E501
|
|
499
|
+
:rtype: str
|
|
500
|
+
"""
|
|
501
|
+
return self._namespace
|
|
502
|
+
|
|
503
|
+
@namespace.setter
|
|
504
|
+
def namespace(self, namespace):
|
|
505
|
+
"""Sets the namespace of this UpdateRuleRequest.
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
:param namespace: The namespace of this UpdateRuleRequest. # noqa: E501
|
|
509
|
+
:type: str
|
|
510
|
+
"""
|
|
511
|
+
if self._configuration.client_side_validation and namespace is None:
|
|
512
|
+
raise ValueError("Invalid value for `namespace`, must not be `None`") # noqa: E501
|
|
513
|
+
|
|
514
|
+
self._namespace = namespace
|
|
515
|
+
|
|
516
|
+
@property
|
|
517
|
+
def no_data(self):
|
|
518
|
+
"""Gets the no_data of this UpdateRuleRequest. # noqa: E501
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
:return: The no_data of this UpdateRuleRequest. # noqa: E501
|
|
522
|
+
:rtype: NoDataForUpdateRuleInput
|
|
523
|
+
"""
|
|
524
|
+
return self._no_data
|
|
525
|
+
|
|
526
|
+
@no_data.setter
|
|
527
|
+
def no_data(self, no_data):
|
|
528
|
+
"""Sets the no_data of this UpdateRuleRequest.
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
:param no_data: The no_data of this UpdateRuleRequest. # noqa: E501
|
|
532
|
+
:type: NoDataForUpdateRuleInput
|
|
533
|
+
"""
|
|
534
|
+
|
|
535
|
+
self._no_data = no_data
|
|
536
|
+
|
|
537
|
+
@property
|
|
538
|
+
def notification_id(self):
|
|
539
|
+
"""Gets the notification_id of this UpdateRuleRequest. # noqa: E501
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
:return: The notification_id of this UpdateRuleRequest. # noqa: E501
|
|
543
|
+
:rtype: str
|
|
544
|
+
"""
|
|
545
|
+
return self._notification_id
|
|
546
|
+
|
|
547
|
+
@notification_id.setter
|
|
548
|
+
def notification_id(self, notification_id):
|
|
549
|
+
"""Sets the notification_id of this UpdateRuleRequest.
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
:param notification_id: The notification_id of this UpdateRuleRequest. # noqa: E501
|
|
553
|
+
:type: str
|
|
554
|
+
"""
|
|
555
|
+
|
|
556
|
+
self._notification_id = notification_id
|
|
557
|
+
|
|
558
|
+
@property
|
|
559
|
+
def notify_templates(self):
|
|
560
|
+
"""Gets the notify_templates of this UpdateRuleRequest. # noqa: E501
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
:return: The notify_templates of this UpdateRuleRequest. # noqa: E501
|
|
564
|
+
:rtype: list[NotifyTemplateForUpdateRuleInput]
|
|
565
|
+
"""
|
|
566
|
+
return self._notify_templates
|
|
567
|
+
|
|
568
|
+
@notify_templates.setter
|
|
569
|
+
def notify_templates(self, notify_templates):
|
|
570
|
+
"""Sets the notify_templates of this UpdateRuleRequest.
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
:param notify_templates: The notify_templates of this UpdateRuleRequest. # noqa: E501
|
|
574
|
+
:type: list[NotifyTemplateForUpdateRuleInput]
|
|
575
|
+
"""
|
|
576
|
+
|
|
577
|
+
self._notify_templates = notify_templates
|
|
578
|
+
|
|
579
|
+
@property
|
|
580
|
+
def original_dimensions(self):
|
|
581
|
+
"""Gets the original_dimensions of this UpdateRuleRequest. # noqa: E501
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
:return: The original_dimensions of this UpdateRuleRequest. # noqa: E501
|
|
585
|
+
:rtype: dict(str, list[str])
|
|
586
|
+
"""
|
|
587
|
+
return self._original_dimensions
|
|
588
|
+
|
|
589
|
+
@original_dimensions.setter
|
|
590
|
+
def original_dimensions(self, original_dimensions):
|
|
591
|
+
"""Sets the original_dimensions of this UpdateRuleRequest.
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
:param original_dimensions: The original_dimensions of this UpdateRuleRequest. # noqa: E501
|
|
595
|
+
:type: dict(str, list[str])
|
|
596
|
+
"""
|
|
597
|
+
|
|
598
|
+
self._original_dimensions = original_dimensions
|
|
599
|
+
|
|
600
|
+
@property
|
|
601
|
+
def recovery_notify(self):
|
|
602
|
+
"""Gets the recovery_notify of this UpdateRuleRequest. # noqa: E501
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
:return: The recovery_notify of this UpdateRuleRequest. # noqa: E501
|
|
606
|
+
:rtype: RecoveryNotifyForUpdateRuleInput
|
|
607
|
+
"""
|
|
608
|
+
return self._recovery_notify
|
|
609
|
+
|
|
610
|
+
@recovery_notify.setter
|
|
611
|
+
def recovery_notify(self, recovery_notify):
|
|
612
|
+
"""Sets the recovery_notify of this UpdateRuleRequest.
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
:param recovery_notify: The recovery_notify of this UpdateRuleRequest. # noqa: E501
|
|
616
|
+
:type: RecoveryNotifyForUpdateRuleInput
|
|
617
|
+
"""
|
|
618
|
+
|
|
619
|
+
self._recovery_notify = recovery_notify
|
|
620
|
+
|
|
621
|
+
@property
|
|
622
|
+
def regions(self):
|
|
623
|
+
"""Gets the regions of this UpdateRuleRequest. # noqa: E501
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
:return: The regions of this UpdateRuleRequest. # noqa: E501
|
|
627
|
+
:rtype: list[str]
|
|
628
|
+
"""
|
|
629
|
+
return self._regions
|
|
630
|
+
|
|
631
|
+
@regions.setter
|
|
632
|
+
def regions(self, regions):
|
|
633
|
+
"""Sets the regions of this UpdateRuleRequest.
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
:param regions: The regions of this UpdateRuleRequest. # noqa: E501
|
|
637
|
+
:type: list[str]
|
|
638
|
+
"""
|
|
639
|
+
|
|
640
|
+
self._regions = regions
|
|
641
|
+
|
|
642
|
+
@property
|
|
643
|
+
def rule_name(self):
|
|
644
|
+
"""Gets the rule_name of this UpdateRuleRequest. # noqa: E501
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
:return: The rule_name of this UpdateRuleRequest. # noqa: E501
|
|
648
|
+
:rtype: str
|
|
649
|
+
"""
|
|
650
|
+
return self._rule_name
|
|
651
|
+
|
|
652
|
+
@rule_name.setter
|
|
653
|
+
def rule_name(self, rule_name):
|
|
654
|
+
"""Sets the rule_name of this UpdateRuleRequest.
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
:param rule_name: The rule_name of this UpdateRuleRequest. # noqa: E501
|
|
658
|
+
:type: str
|
|
659
|
+
"""
|
|
660
|
+
if self._configuration.client_side_validation and rule_name is None:
|
|
661
|
+
raise ValueError("Invalid value for `rule_name`, must not be `None`") # noqa: E501
|
|
662
|
+
|
|
663
|
+
self._rule_name = rule_name
|
|
664
|
+
|
|
665
|
+
@property
|
|
666
|
+
def rule_type(self):
|
|
667
|
+
"""Gets the rule_type of this UpdateRuleRequest. # noqa: E501
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
:return: The rule_type of this UpdateRuleRequest. # noqa: E501
|
|
671
|
+
:rtype: str
|
|
672
|
+
"""
|
|
673
|
+
return self._rule_type
|
|
674
|
+
|
|
675
|
+
@rule_type.setter
|
|
676
|
+
def rule_type(self, rule_type):
|
|
677
|
+
"""Sets the rule_type of this UpdateRuleRequest.
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
:param rule_type: The rule_type of this UpdateRuleRequest. # noqa: E501
|
|
681
|
+
:type: str
|
|
682
|
+
"""
|
|
683
|
+
if self._configuration.client_side_validation and rule_type is None:
|
|
684
|
+
raise ValueError("Invalid value for `rule_type`, must not be `None`") # noqa: E501
|
|
685
|
+
allowed_values = ["static", "dynamic"] # noqa: E501
|
|
686
|
+
if (self._configuration.client_side_validation and
|
|
687
|
+
rule_type not in allowed_values):
|
|
688
|
+
raise ValueError(
|
|
689
|
+
"Invalid value for `rule_type` ({0}), must be one of {1}" # noqa: E501
|
|
690
|
+
.format(rule_type, allowed_values)
|
|
691
|
+
)
|
|
692
|
+
|
|
693
|
+
self._rule_type = rule_type
|
|
694
|
+
|
|
695
|
+
@property
|
|
696
|
+
def silence_time(self):
|
|
697
|
+
"""Gets the silence_time of this UpdateRuleRequest. # noqa: E501
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
:return: The silence_time of this UpdateRuleRequest. # noqa: E501
|
|
701
|
+
:rtype: int
|
|
702
|
+
"""
|
|
703
|
+
return self._silence_time
|
|
704
|
+
|
|
705
|
+
@silence_time.setter
|
|
706
|
+
def silence_time(self, silence_time):
|
|
707
|
+
"""Sets the silence_time of this UpdateRuleRequest.
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
:param silence_time: The silence_time of this UpdateRuleRequest. # noqa: E501
|
|
711
|
+
:type: int
|
|
712
|
+
"""
|
|
713
|
+
if self._configuration.client_side_validation and silence_time is None:
|
|
714
|
+
raise ValueError("Invalid value for `silence_time`, must not be `None`") # noqa: E501
|
|
715
|
+
|
|
716
|
+
self._silence_time = silence_time
|
|
717
|
+
|
|
718
|
+
@property
|
|
719
|
+
def sub_namespace(self):
|
|
720
|
+
"""Gets the sub_namespace of this UpdateRuleRequest. # noqa: E501
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
:return: The sub_namespace of this UpdateRuleRequest. # noqa: E501
|
|
724
|
+
:rtype: str
|
|
725
|
+
"""
|
|
726
|
+
return self._sub_namespace
|
|
727
|
+
|
|
728
|
+
@sub_namespace.setter
|
|
729
|
+
def sub_namespace(self, sub_namespace):
|
|
730
|
+
"""Sets the sub_namespace of this UpdateRuleRequest.
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
:param sub_namespace: The sub_namespace of this UpdateRuleRequest. # noqa: E501
|
|
734
|
+
:type: str
|
|
735
|
+
"""
|
|
736
|
+
if self._configuration.client_side_validation and sub_namespace is None:
|
|
737
|
+
raise ValueError("Invalid value for `sub_namespace`, must not be `None`") # noqa: E501
|
|
738
|
+
|
|
739
|
+
self._sub_namespace = sub_namespace
|
|
740
|
+
|
|
741
|
+
@property
|
|
742
|
+
def tags(self):
|
|
743
|
+
"""Gets the tags of this UpdateRuleRequest. # noqa: E501
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
:return: The tags of this UpdateRuleRequest. # noqa: E501
|
|
747
|
+
:rtype: list[ConvertTagForUpdateRuleInput]
|
|
748
|
+
"""
|
|
749
|
+
return self._tags
|
|
750
|
+
|
|
751
|
+
@tags.setter
|
|
752
|
+
def tags(self, tags):
|
|
753
|
+
"""Sets the tags of this UpdateRuleRequest.
|
|
754
|
+
|
|
755
|
+
|
|
756
|
+
:param tags: The tags of this UpdateRuleRequest. # noqa: E501
|
|
757
|
+
:type: list[ConvertTagForUpdateRuleInput]
|
|
758
|
+
"""
|
|
759
|
+
|
|
760
|
+
self._tags = tags
|
|
761
|
+
|
|
762
|
+
@property
|
|
763
|
+
def webhook(self):
|
|
764
|
+
"""Gets the webhook of this UpdateRuleRequest. # noqa: E501
|
|
765
|
+
|
|
766
|
+
|
|
767
|
+
:return: The webhook of this UpdateRuleRequest. # noqa: E501
|
|
768
|
+
:rtype: str
|
|
769
|
+
"""
|
|
770
|
+
return self._webhook
|
|
771
|
+
|
|
772
|
+
@webhook.setter
|
|
773
|
+
def webhook(self, webhook):
|
|
774
|
+
"""Sets the webhook of this UpdateRuleRequest.
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
:param webhook: The webhook of this UpdateRuleRequest. # noqa: E501
|
|
778
|
+
:type: str
|
|
779
|
+
"""
|
|
780
|
+
|
|
781
|
+
self._webhook = webhook
|
|
782
|
+
|
|
783
|
+
@property
|
|
784
|
+
def webhook_ids(self):
|
|
785
|
+
"""Gets the webhook_ids of this UpdateRuleRequest. # noqa: E501
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
:return: The webhook_ids of this UpdateRuleRequest. # noqa: E501
|
|
789
|
+
:rtype: list[str]
|
|
790
|
+
"""
|
|
791
|
+
return self._webhook_ids
|
|
792
|
+
|
|
793
|
+
@webhook_ids.setter
|
|
794
|
+
def webhook_ids(self, webhook_ids):
|
|
795
|
+
"""Sets the webhook_ids of this UpdateRuleRequest.
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
:param webhook_ids: The webhook_ids of this UpdateRuleRequest. # noqa: E501
|
|
799
|
+
:type: list[str]
|
|
800
|
+
"""
|
|
801
|
+
|
|
802
|
+
self._webhook_ids = webhook_ids
|
|
803
|
+
|
|
804
|
+
def to_dict(self):
|
|
805
|
+
"""Returns the model properties as a dict"""
|
|
806
|
+
result = {}
|
|
807
|
+
|
|
808
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
809
|
+
value = getattr(self, attr)
|
|
810
|
+
if isinstance(value, list):
|
|
811
|
+
result[attr] = list(map(
|
|
812
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
813
|
+
value
|
|
814
|
+
))
|
|
815
|
+
elif hasattr(value, "to_dict"):
|
|
816
|
+
result[attr] = value.to_dict()
|
|
817
|
+
elif isinstance(value, dict):
|
|
818
|
+
result[attr] = dict(map(
|
|
819
|
+
lambda item: (item[0], item[1].to_dict())
|
|
820
|
+
if hasattr(item[1], "to_dict") else item,
|
|
821
|
+
value.items()
|
|
822
|
+
))
|
|
823
|
+
else:
|
|
824
|
+
result[attr] = value
|
|
825
|
+
if issubclass(UpdateRuleRequest, dict):
|
|
826
|
+
for key, value in self.items():
|
|
827
|
+
result[key] = value
|
|
828
|
+
|
|
829
|
+
return result
|
|
830
|
+
|
|
831
|
+
def to_str(self):
|
|
832
|
+
"""Returns the string representation of the model"""
|
|
833
|
+
return pprint.pformat(self.to_dict())
|
|
834
|
+
|
|
835
|
+
def __repr__(self):
|
|
836
|
+
"""For `print` and `pprint`"""
|
|
837
|
+
return self.to_str()
|
|
838
|
+
|
|
839
|
+
def __eq__(self, other):
|
|
840
|
+
"""Returns true if both objects are equal"""
|
|
841
|
+
if not isinstance(other, UpdateRuleRequest):
|
|
842
|
+
return False
|
|
843
|
+
|
|
844
|
+
return self.to_dict() == other.to_dict()
|
|
845
|
+
|
|
846
|
+
def __ne__(self, other):
|
|
847
|
+
"""Returns true if both objects are not equal"""
|
|
848
|
+
if not isinstance(other, UpdateRuleRequest):
|
|
849
|
+
return True
|
|
850
|
+
|
|
851
|
+
return self.to_dict() != other.to_dict()
|