azure_mgmt_security 0.18.2 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-06-01-preview/generated/azure_mgmt_security.rb +34 -29
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/adaptive_application_controls.rb +81 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/alerts.rb +186 -28
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/app_whitelisting_group.rb +13 -1
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/app_whitelisting_put_group_data.rb +17 -1
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/azure_tracked_resource_location.rb +46 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/etag.rb +48 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_request.rb +11 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_request.rb +11 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/protection_mode.rb +80 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/tags.rb +55 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/tracked_resource.rb +125 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/vm_recommendation.rb +12 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/security_center.rb +1 -1
- data/lib/2017-08-01-preview/generated/azure_mgmt_security.rb +48 -23
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/advanced_threat_protection.rb +4 -2
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/compliances.rb +3 -2
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/device_security_groups.rb +54 -38
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/information_protection_policies.rb +24 -8
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/active_connections_not_in_allowed_range.rb +100 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/allowlist_custom_alert_rule.rb +9 -2
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/amqp_c2dmessages_not_in_allowed_range.rb +101 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/amqp_c2drejected_messages_not_in_allowed_range.rb +101 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/amqp_d2cmessages_not_in_allowed_range.rb +101 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/azure_tracked_resource_location.rb +46 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/connection_to_ip_not_allowed.rb +102 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/custom_alert_rule.rb +36 -13
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/denylist_custom_alert_rule.rb +9 -2
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/device_security_group.rb +8 -8
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/direct_method_invokes_not_in_allowed_range.rb +100 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/etag.rb +48 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/failed_local_logins_not_in_allowed_range.rb +100 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/file_uploads_not_in_allowed_range.rb +100 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/http_c2dmessages_not_in_allowed_range.rb +101 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/http_c2drejected_messages_not_in_allowed_range.rb +101 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/http_d2cmessages_not_in_allowed_range.rb +101 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/information_protection_policy.rb +12 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/information_type.rb +13 -2
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/kind.rb +46 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/list_custom_alert_rule.rb +9 -2
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/local_user_not_allowed.rb +102 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/mqtt_c2dmessages_not_in_allowed_range.rb +101 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/mqtt_c2drejected_messages_not_in_allowed_range.rb +101 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/mqtt_d2cmessages_not_in_allowed_range.rb +101 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/process_not_allowed.rb +102 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/queue_purges_not_in_allowed_range.rb +100 -0
- data/lib/{2019-01-01/generated/azure_mgmt_security/models/setting_kind.rb → 2017-08-01-preview/generated/azure_mgmt_security/models/rank.rb} +8 -5
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/sensitivity_label.rb +26 -2
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/tags.rb +55 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/threshold_custom_alert_rule.rb +8 -1
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/time_window_custom_alert_rule.rb +6 -17
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/tracked_resource.rb +125 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/twin_updates_not_in_allowed_range.rb +100 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/unauthorized_operations_not_in_allowed_range.rb +100 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/security_center.rb +1 -1
- data/lib/2017-08-01/generated/azure_mgmt_security.rb +5 -0
- data/lib/2017-08-01/generated/azure_mgmt_security/compliance_results.rb +3 -2
- data/lib/2017-08-01/generated/azure_mgmt_security/models/azure_tracked_resource_location.rb +46 -0
- data/lib/2017-08-01/generated/azure_mgmt_security/models/etag.rb +48 -0
- data/lib/2017-08-01/generated/azure_mgmt_security/models/kind.rb +46 -0
- data/lib/2017-08-01/generated/azure_mgmt_security/models/tags.rb +55 -0
- data/lib/2017-08-01/generated/azure_mgmt_security/models/tracked_resource.rb +125 -0
- data/lib/2017-08-01/generated/azure_mgmt_security/security_center.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_security.rb +5 -0
- data/lib/2018-06-01/generated/azure_mgmt_security/models/azure_tracked_resource_location.rb +46 -0
- data/lib/2018-06-01/generated/azure_mgmt_security/models/etag.rb +48 -0
- data/lib/2018-06-01/generated/azure_mgmt_security/models/kind.rb +46 -0
- data/lib/2018-06-01/generated/azure_mgmt_security/models/pricing.rb +4 -1
- data/lib/2018-06-01/generated/azure_mgmt_security/models/pricing_list.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_security/models/tags.rb +55 -0
- data/lib/2018-06-01/generated/azure_mgmt_security/models/tracked_resource.rb +125 -0
- data/lib/2018-06-01/generated/azure_mgmt_security/pricings.rb +9 -36
- data/lib/2018-06-01/generated/azure_mgmt_security/security_center.rb +1 -1
- data/lib/2019-01-01-preview/generated/azure_mgmt_security.rb +34 -5
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/alerts_suppression_rules.rb +514 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/assessments.rb +555 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/assessments_metadata.rb +311 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/assessments_metadata_subscription.rb +513 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/alerts_suppression_rule.rb +146 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/alerts_suppression_rules_list.rb +99 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/assessment_links.rb +47 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/assessment_status.rb +71 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/assessment_status_code.rb +17 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/assessment_type.rb +17 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/azure_resource_details.rb +62 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/azure_tracked_resource_location.rb +46 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/category.rb +19 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/etag.rb +48 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/expand_enum.rb +16 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/implementation_effort.rb +17 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/kind.rb +46 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/on_premise_resource_details.rb +95 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/on_premise_sql_resource_details.rb +104 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/resource_details.rb +48 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/rule_state.rb +17 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/scope_element.rb +65 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/security_assessment.rb +132 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/security_assessment_list.rb +101 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/security_assessment_metadata.rb +209 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/security_assessment_metadata_list.rb +100 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/severity.rb +17 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/suppression_alerts_scope.rb +57 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/tags.rb +55 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/threats.rb +22 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/tracked_resource.rb +125 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/user_impact.rb +17 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/security_center.rb +17 -5
- data/lib/2019-01-01/generated/azure_mgmt_security.rb +9 -5
- data/lib/2019-01-01/generated/azure_mgmt_security/alerts.rb +266 -60
- data/lib/2019-01-01/generated/azure_mgmt_security/models/azure_tracked_resource_location.rb +46 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/{data_export_setting.rb → data_export_settings.rb} +11 -4
- data/lib/2019-01-01/generated/azure_mgmt_security/models/etag.rb +48 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/kind.rb +46 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/setting.rb +7 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/setting_resource.rb +7 -11
- data/lib/2019-01-01/generated/azure_mgmt_security/models/tags.rb +55 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/tracked_resource.rb +125 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/security_center.rb +1 -1
- data/lib/2019-08-01/generated/azure_mgmt_security.rb +36 -21
- data/lib/2019-08-01/generated/azure_mgmt_security/{io_tsecurity_solutions_analytics_aggregated_alert.rb → iot_alert_types.rb} +47 -40
- data/lib/2019-08-01/generated/azure_mgmt_security/iot_alerts.rb +375 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/{io_tsecurity_solutions_analytics_recommendations.rb → iot_recommendation_types.rb} +52 -64
- data/lib/2019-08-01/generated/azure_mgmt_security/iot_recommendations.rb +360 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/iot_security_solution.rb +464 -32
- data/lib/2019-08-01/generated/azure_mgmt_security/{io_tsecurity_solutions_analytics.rb → iot_security_solution_analytics.rb} +24 -24
- data/lib/{2019-01-01-preview/generated/azure_mgmt_security/server_vulnerability_assessment_operations.rb → 2019-08-01/generated/azure_mgmt_security/iot_security_solutions_analytics_aggregated_alert.rb} +133 -143
- data/lib/2019-08-01/generated/azure_mgmt_security/iot_security_solutions_analytics_recommendation.rb +364 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/alert_intent.rb +30 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/alert_severity.rb +18 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/azure_tracked_resource_location.rb +46 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/etag.rb +48 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_alert.rb +40 -16
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_alert_list.rb +4 -3
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_alert_properties_top_devices_list_item.rb +74 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_recommendation.rb +14 -12
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_recommendation_list.rb +4 -3
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_alerted_device.rb +4 -4
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_device_alert.rb +5 -5
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_device_recommendation.rb +6 -6
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_solution_analytics_model.rb +42 -16
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_solution_analytics_model_list.rb +4 -3
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_solution_analytics_model_properties_devices_metrics_item.rb +3 -2
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_solution_model.rb +21 -6
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_solutions_list.rb +3 -2
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tseverity_metrics.rb +4 -4
- data/lib/2019-08-01/generated/azure_mgmt_security/models/iot_alert.rb +128 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/iot_alert_list.rb +114 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/iot_alert_type.rb +188 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/{io_tsecurity_alerted_devices_list.rb → iot_alert_type_list.rb} +9 -10
- data/lib/2019-08-01/generated/azure_mgmt_security/models/iot_recommendation.rb +109 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/iot_recommendation_list.rb +114 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/iot_recommendation_type.rb +184 -0
- data/lib/{2019-01-01-preview/generated/azure_mgmt_security/models/server_vulnerability_assessments_list.rb → 2019-08-01/generated/azure_mgmt_security/models/iot_recommendation_type_list.rb} +9 -9
- data/lib/2019-08-01/generated/azure_mgmt_security/models/kind.rb +46 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/recommendation_configuration_properties.rb +9 -7
- data/lib/2019-08-01/generated/azure_mgmt_security/models/recommendation_severity.rb +21 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/tags.rb +55 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/tracked_resource.rb +125 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/unmasked_ip_logging_status.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/update_iot_security_solution_data.rb +2 -2
- data/lib/2019-08-01/generated/azure_mgmt_security/models/user_defined_resources_properties.rb +1 -1
- data/lib/2019-08-01/generated/azure_mgmt_security/security_center.rb +26 -29
- data/lib/2020-01-01-preview/generated/azure_mgmt_security.rb +21 -7
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/connectors.rb +504 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/authentication_details_properties.rb +83 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/authentication_provisioning_state.rb +18 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/auto_provision.rb +16 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/aw_assume_role_authentication_details_properties.rb +117 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/aws_creds_authentication_details_properties.rb +115 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/{location.rb → azure_tracked_resource_location.rb} +4 -5
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/connector_setting.rb +91 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/connector_setting_list.rb +101 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/gcp_credentials_details_properties.rb +201 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/hybrid_compute_provisioning_state.rb +17 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/hybrid_compute_settings_properties.rb +112 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/permission_property.rb +18 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/proxy_server_properties.rb +58 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_details.rb +34 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_score.rb +17 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_item.rb +33 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/service_principal_properties.rb +58 -0
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/tracked_resource.rb +0 -1
- data/lib/2020-01-01-preview/generated/azure_mgmt_security/security_center.rb +5 -1
- data/lib/2020-01-01/generated/azure_mgmt_security.rb +57 -34
- data/lib/2020-01-01/generated/azure_mgmt_security/adaptive_application_controls.rb +28 -28
- data/lib/2020-01-01/generated/azure_mgmt_security/models/{app_whitelisting_group.rb → adaptive_application_control_group.rb} +7 -7
- data/lib/2020-01-01/generated/azure_mgmt_security/models/adaptive_application_control_groups.rb +56 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/{app_whitelisting_issue_summary.rb → adaptive_application_control_issue_summary.rb} +7 -7
- data/lib/2020-01-01/generated/azure_mgmt_security/models/azure_resource_link.rb +47 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/azure_tracked_resource_location.rb +46 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/control_type.rb +16 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/expand_controls_enum.rb +15 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/on_premise_sql_resource_details.rb +104 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/path_recommendation.rb +4 -2
- data/lib/2020-01-01/generated/azure_mgmt_security/models/provisioning_state.rb +17 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/resource_details.rb +1 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/secure_score_control_definition_item.rb +141 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/secure_score_control_definition_list.rb +101 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/secure_score_control_definition_source.rb +47 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/secure_score_control_details.rb +187 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/secure_score_control_list.rb +101 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/secure_score_control_score.rb +86 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/secure_score_item.rb +137 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/secure_scores_list.rb +101 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/security_solution.rb +130 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/security_solution_list.rb +99 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/security_solutions_reference_data.rb +162 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/models/{app_whitelisting_groups.rb → security_solutions_reference_data_list.rb} +9 -9
- data/lib/2020-01-01/generated/azure_mgmt_security/models/tracked_resource.rb +0 -1
- data/lib/2020-01-01/generated/azure_mgmt_security/models/vm_recommendation.rb +1 -1
- data/lib/2020-01-01/generated/azure_mgmt_security/secure_score_control_definitions.rb +423 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/secure_score_controls.rb +444 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/secure_scores.rb +326 -0
- data/lib/2020-01-01/generated/azure_mgmt_security/security_center.rb +22 -1
- data/lib/{2019-08-01/generated/azure_mgmt_security/io_tsecurity_solutions_analytics_aggregated_alerts.rb → 2020-01-01/generated/azure_mgmt_security/security_solutions.rb} +120 -39
- data/lib/2020-01-01/generated/azure_mgmt_security/security_solutions_reference_data_operations.rb +200 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security.rb +59 -0
- data/lib/{2019-01-01-preview/generated/azure_mgmt_security/models/server_vulnerability_assessment.rb → 2020-07-01-preview/generated/azure_mgmt_security/models/asc_location.rb} +11 -14
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/azure_tracked_resource_location.rb +46 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/baseline.rb +73 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/baseline_adjusted_result.rb +113 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/benchmark_reference.rb +57 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/etag.rb +48 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/kind.rb +46 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/query_check.rb +92 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/remediation.rb +87 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/resource.rb +80 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/rule_results.rb +74 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/rule_results_input.rb +75 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/rule_results_properties.rb +62 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/rule_severity.rb +19 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/rule_status.rb +17 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/rule_type.rb +18 -0
- data/lib/{2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_device_recommendations_list.rb → 2020-07-01-preview/generated/azure_mgmt_security/models/rules_results.rb} +10 -11
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/rules_results_input.rb +83 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/scan.rb +74 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/scan_properties.rb +192 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/scan_result.rb +74 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/scan_result_properties.rb +133 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/scan_results.rb +56 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/scan_state.rb +18 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/scan_trigger_type.rb +16 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/scans.rb +55 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/tags.rb +55 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/tracked_resource.rb +125 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/models/va_rule.rb +146 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/module_definition.rb +9 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/security_center.rb +135 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/sql_vulnerability_assessment_baseline_rules.rb +535 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/sql_vulnerability_assessment_scan_results.rb +237 -0
- data/lib/2020-07-01-preview/generated/azure_mgmt_security/sql_vulnerability_assessment_scans.rb +225 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security.rb +89 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/device_operations.rb +119 -0
- data/lib/{2019-08-01/generated/azure_mgmt_security/io_tsecurity_solutions_resource_group.rb → 2020-08-06-preview/generated/azure_mgmt_security/devices_for_hub.rb} +50 -48
- data/lib/{2019-08-01/generated/azure_mgmt_security/io_tsecurity_solutions.rb → 2020-08-06-preview/generated/azure_mgmt_security/devices_for_subscription.rb} +44 -33
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/iot_alert_types.rb +203 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/iot_alerts.rb +377 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/iot_defender_settings.rb +473 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/iot_recommendation_types.rb +203 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/iot_recommendations.rb +349 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/iot_sensors.rb +511 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/alert_intent.rb +30 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/alert_severity.rb +18 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/asc_location.rb +73 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/authorization_state.rb +16 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/azure_tracked_resource_location.rb +46 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/device.rb +397 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/device_criticality.rb +16 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/device_list.rb +100 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/device_status.rb +16 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/etag.rb +48 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/firmware.rb +121 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/iot_alert_list_model.rb +101 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/iot_alert_model.rb +128 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/iot_alert_type.rb +188 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/iot_alert_type_list.rb +55 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/iot_defender_settings_list.rb +56 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/iot_defender_settings_model.rb +96 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/iot_recommendation_list_model.rb +101 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/iot_recommendation_model.rb +109 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/iot_recommendation_type.rb +184 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/iot_recommendation_type_list.rb +55 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/iot_sensor.rb +73 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/iot_sensors_list.rb +56 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/ip_address.rb +95 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/kind.rb +46 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/mac_address.rb +87 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/mac_significance.rb +16 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/management_state.rb +16 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/network_interface.rb +79 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/on_premise_iot_sensor.rb +73 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/on_premise_iot_sensors_list.rb +56 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/package_download_info.rb +71 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/package_downloads.rb +76 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/package_downloads_central_manager.rb +71 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/package_downloads_central_manager_full.rb +71 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/package_downloads_central_manager_full_ovf.rb +121 -0
- data/lib/{2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_device_alerts_list.rb → 2020-08-06-preview/generated/azure_mgmt_security/models/package_downloads_sensor.rb} +26 -24
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/package_downloads_sensor_full.rb +70 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/package_downloads_sensor_full_ovf.rb +98 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/package_downloads_threat_intelligence.rb +46 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/programming_state.rb +16 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/protocol.rb +58 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/purdue_level.rb +17 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/recommendation_severity.rb +21 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/relation_to_ip_status.rb +16 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/resource.rb +80 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/scanning_functionality.rb +16 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/sensor.rb +59 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/site.rb +47 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/tags.rb +55 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/tracked_resource.rb +125 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/models/version_kind.rb +17 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/module_definition.rb +9 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/on_premise_iot_sensors.rb +482 -0
- data/lib/2020-08-06-preview/generated/azure_mgmt_security/security_center.rb +167 -0
- data/lib/azure_mgmt_security.rb +7 -5
- data/lib/profiles/latest/modules/security_profile_module.rb +851 -255
- data/lib/version.rb +1 -1
- metadata +247 -22
- data/lib/2019-08-01/generated/azure_mgmt_security/io_tsecurity_solutions_analytics_recommendation.rb +0 -133
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3da2fe925d2239597b18c69edfa48b0581b3a581960726efbfc5557e7be6d716
|
4
|
+
data.tar.gz: 25cd7c01b68db44e95b3332c016cd1c93d8a34300dfe43d47c0a4f215154cdd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a1030248754da108ef19cdbbd0eac15e18c76e5fab067b6d94d74b0360c3ffe32732ed4c0ac0075931f8405d244bcdfc6ebef35bff0df78c2ecb72fede85afe
|
7
|
+
data.tar.gz: ad4f985c9c991d5b94632fa7a3ef3b4a1ad5b4eafb9fcd7d83839c8b5389d441266c0576502a37bf962f8e5396321af0a76372d894bb2c07b21d605ed8e2975f
|
@@ -34,57 +34,62 @@ module Azure::Security::Mgmt::V2015_06_01_preview
|
|
34
34
|
autoload :SecurityCenter, '2015-06-01-preview/generated/azure_mgmt_security/security_center.rb'
|
35
35
|
|
36
36
|
module Models
|
37
|
-
autoload :
|
37
|
+
autoload :ExternalSecuritySolution, '2015-06-01-preview/generated/azure_mgmt_security/models/external_security_solution.rb'
|
38
38
|
autoload :Rule, '2015-06-01-preview/generated/azure_mgmt_security/models/rule.rb'
|
39
|
-
autoload :
|
40
|
-
autoload :
|
39
|
+
autoload :ExternalSecuritySolutionList, '2015-06-01-preview/generated/azure_mgmt_security/models/external_security_solution_list.rb'
|
40
|
+
autoload :AppWhitelistingPutGroupData, '2015-06-01-preview/generated/azure_mgmt_security/models/app_whitelisting_put_group_data.rb'
|
41
41
|
autoload :AdaptiveNetworkHardeningsList, '2015-06-01-preview/generated/azure_mgmt_security/models/adaptive_network_hardenings_list.rb'
|
42
|
+
autoload :DiscoveredSecuritySolution, '2015-06-01-preview/generated/azure_mgmt_security/models/discovered_security_solution.rb'
|
42
43
|
autoload :TopologyList, '2015-06-01-preview/generated/azure_mgmt_security/models/topology_list.rb'
|
43
|
-
autoload :
|
44
|
-
autoload :
|
45
|
-
autoload :
|
46
|
-
autoload :
|
44
|
+
autoload :DiscoveredSecuritySolutionList, '2015-06-01-preview/generated/azure_mgmt_security/models/discovered_security_solution_list.rb'
|
45
|
+
autoload :AzureTrackedResourceLocation, '2015-06-01-preview/generated/azure_mgmt_security/models/azure_tracked_resource_location.rb'
|
46
|
+
autoload :EffectiveNetworkSecurityGroups, '2015-06-01-preview/generated/azure_mgmt_security/models/effective_network_security_groups.rb'
|
47
|
+
autoload :ETag, '2015-06-01-preview/generated/azure_mgmt_security/models/etag.rb'
|
47
48
|
autoload :TopologySingleResource, '2015-06-01-preview/generated/azure_mgmt_security/models/topology_single_resource.rb'
|
48
|
-
autoload :
|
49
|
+
autoload :Resource, '2015-06-01-preview/generated/azure_mgmt_security/models/resource.rb'
|
50
|
+
autoload :TopologySingleResourceChild, '2015-06-01-preview/generated/azure_mgmt_security/models/topology_single_resource_child.rb'
|
51
|
+
autoload :AlertEntity, '2015-06-01-preview/generated/azure_mgmt_security/models/alert_entity.rb'
|
52
|
+
autoload :TopologySingleResourceParent, '2015-06-01-preview/generated/azure_mgmt_security/models/topology_single_resource_parent.rb'
|
53
|
+
autoload :TopologyResource, '2015-06-01-preview/generated/azure_mgmt_security/models/topology_resource.rb'
|
54
|
+
autoload :SecurityTaskList, '2015-06-01-preview/generated/azure_mgmt_security/models/security_task_list.rb'
|
55
|
+
autoload :ConnectedResource, '2015-06-01-preview/generated/azure_mgmt_security/models/connected_resource.rb'
|
56
|
+
autoload :SecurityTaskParameters, '2015-06-01-preview/generated/azure_mgmt_security/models/security_task_parameters.rb'
|
57
|
+
autoload :AllowedConnectionsResource, '2015-06-01-preview/generated/azure_mgmt_security/models/allowed_connections_resource.rb'
|
49
58
|
autoload :ConnectedWorkspace, '2015-06-01-preview/generated/azure_mgmt_security/models/connected_workspace.rb'
|
50
|
-
autoload :
|
59
|
+
autoload :Location, '2015-06-01-preview/generated/azure_mgmt_security/models/location.rb'
|
51
60
|
autoload :AadSolutionProperties, '2015-06-01-preview/generated/azure_mgmt_security/models/aad_solution_properties.rb'
|
52
|
-
autoload :AllowedConnectionsList, '2015-06-01-preview/generated/azure_mgmt_security/models/allowed_connections_list.rb'
|
53
|
-
autoload :TopologySingleResourceChild, '2015-06-01-preview/generated/azure_mgmt_security/models/topology_single_resource_child.rb'
|
54
61
|
autoload :AppWhitelistingIssueSummary, '2015-06-01-preview/generated/azure_mgmt_security/models/app_whitelisting_issue_summary.rb'
|
55
|
-
autoload :
|
62
|
+
autoload :OperationList, '2015-06-01-preview/generated/azure_mgmt_security/models/operation_list.rb'
|
56
63
|
autoload :PublisherInfo, '2015-06-01-preview/generated/azure_mgmt_security/models/publisher_info.rb'
|
57
|
-
autoload :
|
64
|
+
autoload :ExternalSecuritySolutionKind1, '2015-06-01-preview/generated/azure_mgmt_security/models/external_security_solution_kind1.rb'
|
58
65
|
autoload :PathRecommendation, '2015-06-01-preview/generated/azure_mgmt_security/models/path_recommendation.rb'
|
59
|
-
autoload :
|
66
|
+
autoload :ExternalSecuritySolutionProperties, '2015-06-01-preview/generated/azure_mgmt_security/models/external_security_solution_properties.rb'
|
60
67
|
autoload :AppWhitelistingGroups, '2015-06-01-preview/generated/azure_mgmt_security/models/app_whitelisting_groups.rb'
|
68
|
+
autoload :AadConnectivityState1, '2015-06-01-preview/generated/azure_mgmt_security/models/aad_connectivity_state1.rb'
|
69
|
+
autoload :TrackedResource, '2015-06-01-preview/generated/azure_mgmt_security/models/tracked_resource.rb'
|
61
70
|
autoload :JitNetworkAccessPortRule, '2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_port_rule.rb'
|
62
|
-
autoload :
|
71
|
+
autoload :Tags, '2015-06-01-preview/generated/azure_mgmt_security/models/tags.rb'
|
63
72
|
autoload :JitNetworkAccessPolicyVirtualMachine, '2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policy_virtual_machine.rb'
|
64
|
-
autoload :
|
73
|
+
autoload :AlertConfidenceReason, '2015-06-01-preview/generated/azure_mgmt_security/models/alert_confidence_reason.rb'
|
65
74
|
autoload :JitNetworkAccessRequestPort, '2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_request_port.rb'
|
66
|
-
autoload :
|
75
|
+
autoload :ConnectableResource, '2015-06-01-preview/generated/azure_mgmt_security/models/connectable_resource.rb'
|
67
76
|
autoload :JitNetworkAccessRequestVirtualMachine, '2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_request_virtual_machine.rb'
|
68
|
-
autoload :
|
77
|
+
autoload :ProtectionMode, '2015-06-01-preview/generated/azure_mgmt_security/models/protection_mode.rb'
|
69
78
|
autoload :JitNetworkAccessRequest, '2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_request.rb'
|
70
|
-
autoload :
|
79
|
+
autoload :UserRecommendation, '2015-06-01-preview/generated/azure_mgmt_security/models/user_recommendation.rb'
|
71
80
|
autoload :JitNetworkAccessPolicy, '2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policy.rb'
|
72
|
-
autoload :
|
81
|
+
autoload :AdaptiveNetworkHardeningEnforceRequest, '2015-06-01-preview/generated/azure_mgmt_security/models/adaptive_network_hardening_enforce_request.rb'
|
73
82
|
autoload :JitNetworkAccessPoliciesList, '2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policies_list.rb'
|
74
|
-
autoload :AppWhitelistingGroup, '2015-06-01-preview/generated/azure_mgmt_security/models/app_whitelisting_group.rb'
|
75
83
|
autoload :JitNetworkAccessPolicyInitiatePort, '2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_port.rb'
|
76
|
-
autoload :
|
84
|
+
autoload :AllowedConnectionsList, '2015-06-01-preview/generated/azure_mgmt_security/models/allowed_connections_list.rb'
|
77
85
|
autoload :JitNetworkAccessPolicyInitiateVirtualMachine, '2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_virtual_machine.rb'
|
78
|
-
autoload :
|
86
|
+
autoload :AppWhitelistingGroup, '2015-06-01-preview/generated/azure_mgmt_security/models/app_whitelisting_group.rb'
|
79
87
|
autoload :JitNetworkAccessPolicyInitiateRequest, '2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_request.rb'
|
80
|
-
autoload :
|
81
|
-
autoload :Kind, '2015-06-01-preview/generated/azure_mgmt_security/models/kind.rb'
|
82
|
-
autoload :AppWhitelistingPutGroupData, '2015-06-01-preview/generated/azure_mgmt_security/models/app_whitelisting_put_group_data.rb'
|
88
|
+
autoload :AlertList, '2015-06-01-preview/generated/azure_mgmt_security/models/alert_list.rb'
|
83
89
|
autoload :AscLocationList, '2015-06-01-preview/generated/azure_mgmt_security/models/asc_location_list.rb'
|
84
|
-
autoload :
|
90
|
+
autoload :Kind, '2015-06-01-preview/generated/azure_mgmt_security/models/kind.rb'
|
85
91
|
autoload :OperationDisplay, '2015-06-01-preview/generated/azure_mgmt_security/models/operation_display.rb'
|
86
|
-
autoload :
|
87
|
-
autoload :UserRecommendation, '2015-06-01-preview/generated/azure_mgmt_security/models/user_recommendation.rb'
|
92
|
+
autoload :VmRecommendation, '2015-06-01-preview/generated/azure_mgmt_security/models/vm_recommendation.rb'
|
88
93
|
autoload :Operation, '2015-06-01-preview/generated/azure_mgmt_security/models/operation.rb'
|
89
94
|
autoload :AdaptiveNetworkHardening, '2015-06-01-preview/generated/azure_mgmt_security/models/adaptive_network_hardening.rb'
|
90
95
|
autoload :AscLocation, '2015-06-01-preview/generated/azure_mgmt_security/models/asc_location.rb'
|
@@ -309,5 +309,86 @@ module Azure::Security::Mgmt::V2015_06_01_preview
|
|
309
309
|
promise.execute
|
310
310
|
end
|
311
311
|
|
312
|
+
#
|
313
|
+
# Delete an application control VM/server group
|
314
|
+
#
|
315
|
+
# @param group_name [String] Name of an application control VM/server group
|
316
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
317
|
+
# will be added to the HTTP request.
|
318
|
+
#
|
319
|
+
#
|
320
|
+
def delete(group_name, custom_headers:nil)
|
321
|
+
response = delete_async(group_name, custom_headers:custom_headers).value!
|
322
|
+
nil
|
323
|
+
end
|
324
|
+
|
325
|
+
#
|
326
|
+
# Delete an application control VM/server group
|
327
|
+
#
|
328
|
+
# @param group_name [String] Name of an application control VM/server group
|
329
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
330
|
+
# will be added to the HTTP request.
|
331
|
+
#
|
332
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
333
|
+
#
|
334
|
+
def delete_with_http_info(group_name, custom_headers:nil)
|
335
|
+
delete_async(group_name, custom_headers:custom_headers).value!
|
336
|
+
end
|
337
|
+
|
338
|
+
#
|
339
|
+
# Delete an application control VM/server group
|
340
|
+
#
|
341
|
+
# @param group_name [String] Name of an application control VM/server group
|
342
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
343
|
+
# to the HTTP request.
|
344
|
+
#
|
345
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
346
|
+
#
|
347
|
+
def delete_async(group_name, custom_headers:nil)
|
348
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
349
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'Pattern': '^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$'" if !@client.subscription_id.nil? && @client.subscription_id.match(Regexp.new('^^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$$')).nil?
|
350
|
+
fail ArgumentError, '@client.asc_location is nil' if @client.asc_location.nil?
|
351
|
+
fail ArgumentError, 'group_name is nil' if group_name.nil?
|
352
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
353
|
+
|
354
|
+
|
355
|
+
request_headers = {}
|
356
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
357
|
+
|
358
|
+
# Set Headers
|
359
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
360
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
361
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/applicationWhitelistings/{groupName}'
|
362
|
+
|
363
|
+
request_url = @base_url || @client.base_url
|
364
|
+
|
365
|
+
options = {
|
366
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
367
|
+
path_params: {'subscriptionId' => @client.subscription_id,'ascLocation' => @client.asc_location,'groupName' => group_name},
|
368
|
+
query_params: {'api-version' => @client.api_version},
|
369
|
+
headers: request_headers.merge(custom_headers || {}),
|
370
|
+
base_url: request_url
|
371
|
+
}
|
372
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
373
|
+
|
374
|
+
promise = promise.then do |result|
|
375
|
+
http_response = result.response
|
376
|
+
status_code = http_response.status
|
377
|
+
response_content = http_response.body
|
378
|
+
unless status_code == 200 || status_code == 202 || status_code == 204
|
379
|
+
error_model = JSON.load(response_content)
|
380
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
381
|
+
end
|
382
|
+
|
383
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
384
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
385
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
386
|
+
|
387
|
+
result
|
388
|
+
end
|
389
|
+
|
390
|
+
promise.execute
|
391
|
+
end
|
392
|
+
|
312
393
|
end
|
313
394
|
end
|
@@ -634,14 +634,12 @@ module Azure::Security::Mgmt::V2015_06_01_preview
|
|
634
634
|
# Update the alert's state
|
635
635
|
#
|
636
636
|
# @param alert_name [String] Name of the alert object
|
637
|
-
# @param alert_update_action_type [Enum] Type of the action to do on the alert.
|
638
|
-
# Possible values include: 'Dismiss', 'Reactivate'
|
639
637
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
640
638
|
# will be added to the HTTP request.
|
641
639
|
#
|
642
640
|
#
|
643
|
-
def
|
644
|
-
response =
|
641
|
+
def update_subscription_level_alert_state_to_dismiss(alert_name, custom_headers:nil)
|
642
|
+
response = update_subscription_level_alert_state_to_dismiss_async(alert_name, custom_headers:custom_headers).value!
|
645
643
|
nil
|
646
644
|
end
|
647
645
|
|
@@ -649,35 +647,30 @@ module Azure::Security::Mgmt::V2015_06_01_preview
|
|
649
647
|
# Update the alert's state
|
650
648
|
#
|
651
649
|
# @param alert_name [String] Name of the alert object
|
652
|
-
# @param alert_update_action_type [Enum] Type of the action to do on the alert.
|
653
|
-
# Possible values include: 'Dismiss', 'Reactivate'
|
654
650
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
655
651
|
# will be added to the HTTP request.
|
656
652
|
#
|
657
653
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
658
654
|
#
|
659
|
-
def
|
660
|
-
|
655
|
+
def update_subscription_level_alert_state_to_dismiss_with_http_info(alert_name, custom_headers:nil)
|
656
|
+
update_subscription_level_alert_state_to_dismiss_async(alert_name, custom_headers:custom_headers).value!
|
661
657
|
end
|
662
658
|
|
663
659
|
#
|
664
660
|
# Update the alert's state
|
665
661
|
#
|
666
662
|
# @param alert_name [String] Name of the alert object
|
667
|
-
# @param alert_update_action_type [Enum] Type of the action to do on the alert.
|
668
|
-
# Possible values include: 'Dismiss', 'Reactivate'
|
669
663
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
670
664
|
# to the HTTP request.
|
671
665
|
#
|
672
666
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
673
667
|
#
|
674
|
-
def
|
668
|
+
def update_subscription_level_alert_state_to_dismiss_async(alert_name, custom_headers:nil)
|
675
669
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
676
670
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
677
671
|
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'Pattern': '^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$'" if !@client.subscription_id.nil? && @client.subscription_id.match(Regexp.new('^^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$$')).nil?
|
678
672
|
fail ArgumentError, '@client.asc_location is nil' if @client.asc_location.nil?
|
679
673
|
fail ArgumentError, 'alert_name is nil' if alert_name.nil?
|
680
|
-
fail ArgumentError, 'alert_update_action_type is nil' if alert_update_action_type.nil?
|
681
674
|
|
682
675
|
|
683
676
|
request_headers = {}
|
@@ -686,13 +679,185 @@ module Azure::Security::Mgmt::V2015_06_01_preview
|
|
686
679
|
# Set Headers
|
687
680
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
688
681
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
689
|
-
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/
|
682
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/dismiss'
|
690
683
|
|
691
684
|
request_url = @base_url || @client.base_url
|
692
685
|
|
693
686
|
options = {
|
694
687
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
695
|
-
path_params: {'subscriptionId' => @client.subscription_id,'ascLocation' => @client.asc_location,'alertName' => alert_name
|
688
|
+
path_params: {'subscriptionId' => @client.subscription_id,'ascLocation' => @client.asc_location,'alertName' => alert_name},
|
689
|
+
query_params: {'api-version' => @client.api_version},
|
690
|
+
headers: request_headers.merge(custom_headers || {}),
|
691
|
+
base_url: request_url
|
692
|
+
}
|
693
|
+
promise = @client.make_request_async(:post, path_template, options)
|
694
|
+
|
695
|
+
promise = promise.then do |result|
|
696
|
+
http_response = result.response
|
697
|
+
status_code = http_response.status
|
698
|
+
response_content = http_response.body
|
699
|
+
unless status_code == 204
|
700
|
+
error_model = JSON.load(response_content)
|
701
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
702
|
+
end
|
703
|
+
|
704
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
705
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
706
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
707
|
+
|
708
|
+
result
|
709
|
+
end
|
710
|
+
|
711
|
+
promise.execute
|
712
|
+
end
|
713
|
+
|
714
|
+
#
|
715
|
+
# Update the alert's state
|
716
|
+
#
|
717
|
+
# @param alert_name [String] Name of the alert object
|
718
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
719
|
+
# will be added to the HTTP request.
|
720
|
+
#
|
721
|
+
#
|
722
|
+
def update_subscription_level_alert_state_to_reactivate(alert_name, custom_headers:nil)
|
723
|
+
response = update_subscription_level_alert_state_to_reactivate_async(alert_name, custom_headers:custom_headers).value!
|
724
|
+
nil
|
725
|
+
end
|
726
|
+
|
727
|
+
#
|
728
|
+
# Update the alert's state
|
729
|
+
#
|
730
|
+
# @param alert_name [String] Name of the alert object
|
731
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
732
|
+
# will be added to the HTTP request.
|
733
|
+
#
|
734
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
735
|
+
#
|
736
|
+
def update_subscription_level_alert_state_to_reactivate_with_http_info(alert_name, custom_headers:nil)
|
737
|
+
update_subscription_level_alert_state_to_reactivate_async(alert_name, custom_headers:custom_headers).value!
|
738
|
+
end
|
739
|
+
|
740
|
+
#
|
741
|
+
# Update the alert's state
|
742
|
+
#
|
743
|
+
# @param alert_name [String] Name of the alert object
|
744
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
745
|
+
# to the HTTP request.
|
746
|
+
#
|
747
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
748
|
+
#
|
749
|
+
def update_subscription_level_alert_state_to_reactivate_async(alert_name, custom_headers:nil)
|
750
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
751
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
752
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'Pattern': '^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$'" if !@client.subscription_id.nil? && @client.subscription_id.match(Regexp.new('^^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$$')).nil?
|
753
|
+
fail ArgumentError, '@client.asc_location is nil' if @client.asc_location.nil?
|
754
|
+
fail ArgumentError, 'alert_name is nil' if alert_name.nil?
|
755
|
+
|
756
|
+
|
757
|
+
request_headers = {}
|
758
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
759
|
+
|
760
|
+
# Set Headers
|
761
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
762
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
763
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/reactivate'
|
764
|
+
|
765
|
+
request_url = @base_url || @client.base_url
|
766
|
+
|
767
|
+
options = {
|
768
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
769
|
+
path_params: {'subscriptionId' => @client.subscription_id,'ascLocation' => @client.asc_location,'alertName' => alert_name},
|
770
|
+
query_params: {'api-version' => @client.api_version},
|
771
|
+
headers: request_headers.merge(custom_headers || {}),
|
772
|
+
base_url: request_url
|
773
|
+
}
|
774
|
+
promise = @client.make_request_async(:post, path_template, options)
|
775
|
+
|
776
|
+
promise = promise.then do |result|
|
777
|
+
http_response = result.response
|
778
|
+
status_code = http_response.status
|
779
|
+
response_content = http_response.body
|
780
|
+
unless status_code == 204
|
781
|
+
error_model = JSON.load(response_content)
|
782
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
783
|
+
end
|
784
|
+
|
785
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
786
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
787
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
788
|
+
|
789
|
+
result
|
790
|
+
end
|
791
|
+
|
792
|
+
promise.execute
|
793
|
+
end
|
794
|
+
|
795
|
+
#
|
796
|
+
# Update the alert's state
|
797
|
+
#
|
798
|
+
# @param alert_name [String] Name of the alert object
|
799
|
+
# @param resource_group_name [String] The name of the resource group within the
|
800
|
+
# user's subscription. The name is case insensitive.
|
801
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
802
|
+
# will be added to the HTTP request.
|
803
|
+
#
|
804
|
+
#
|
805
|
+
def update_resource_group_level_alert_state_to_dismiss(alert_name, resource_group_name, custom_headers:nil)
|
806
|
+
response = update_resource_group_level_alert_state_to_dismiss_async(alert_name, resource_group_name, custom_headers:custom_headers).value!
|
807
|
+
nil
|
808
|
+
end
|
809
|
+
|
810
|
+
#
|
811
|
+
# Update the alert's state
|
812
|
+
#
|
813
|
+
# @param alert_name [String] Name of the alert object
|
814
|
+
# @param resource_group_name [String] The name of the resource group within the
|
815
|
+
# user's subscription. The name is case insensitive.
|
816
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
817
|
+
# will be added to the HTTP request.
|
818
|
+
#
|
819
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
820
|
+
#
|
821
|
+
def update_resource_group_level_alert_state_to_dismiss_with_http_info(alert_name, resource_group_name, custom_headers:nil)
|
822
|
+
update_resource_group_level_alert_state_to_dismiss_async(alert_name, resource_group_name, custom_headers:custom_headers).value!
|
823
|
+
end
|
824
|
+
|
825
|
+
#
|
826
|
+
# Update the alert's state
|
827
|
+
#
|
828
|
+
# @param alert_name [String] Name of the alert object
|
829
|
+
# @param resource_group_name [String] The name of the resource group within the
|
830
|
+
# user's subscription. The name is case insensitive.
|
831
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
832
|
+
# to the HTTP request.
|
833
|
+
#
|
834
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
835
|
+
#
|
836
|
+
def update_resource_group_level_alert_state_to_dismiss_async(alert_name, resource_group_name, custom_headers:nil)
|
837
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
838
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
839
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'Pattern': '^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$'" if !@client.subscription_id.nil? && @client.subscription_id.match(Regexp.new('^^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$$')).nil?
|
840
|
+
fail ArgumentError, '@client.asc_location is nil' if @client.asc_location.nil?
|
841
|
+
fail ArgumentError, 'alert_name is nil' if alert_name.nil?
|
842
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
843
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
844
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
845
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
846
|
+
|
847
|
+
|
848
|
+
request_headers = {}
|
849
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
850
|
+
|
851
|
+
# Set Headers
|
852
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
853
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
854
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/dismiss'
|
855
|
+
|
856
|
+
request_url = @base_url || @client.base_url
|
857
|
+
|
858
|
+
options = {
|
859
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
860
|
+
path_params: {'subscriptionId' => @client.subscription_id,'ascLocation' => @client.asc_location,'alertName' => alert_name,'resourceGroupName' => resource_group_name},
|
696
861
|
query_params: {'api-version' => @client.api_version},
|
697
862
|
headers: request_headers.merge(custom_headers || {}),
|
698
863
|
base_url: request_url
|
@@ -722,16 +887,14 @@ module Azure::Security::Mgmt::V2015_06_01_preview
|
|
722
887
|
# Update the alert's state
|
723
888
|
#
|
724
889
|
# @param alert_name [String] Name of the alert object
|
725
|
-
# @param alert_update_action_type [Enum] Type of the action to do on the alert.
|
726
|
-
# Possible values include: 'Dismiss', 'Reactivate'
|
727
890
|
# @param resource_group_name [String] The name of the resource group within the
|
728
891
|
# user's subscription. The name is case insensitive.
|
729
892
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
730
893
|
# will be added to the HTTP request.
|
731
894
|
#
|
732
895
|
#
|
733
|
-
def
|
734
|
-
response =
|
896
|
+
def update_resource_group_level_alert_state_to_reactivate(alert_name, resource_group_name, custom_headers:nil)
|
897
|
+
response = update_resource_group_level_alert_state_to_reactivate_async(alert_name, resource_group_name, custom_headers:custom_headers).value!
|
735
898
|
nil
|
736
899
|
end
|
737
900
|
|
@@ -739,8 +902,6 @@ module Azure::Security::Mgmt::V2015_06_01_preview
|
|
739
902
|
# Update the alert's state
|
740
903
|
#
|
741
904
|
# @param alert_name [String] Name of the alert object
|
742
|
-
# @param alert_update_action_type [Enum] Type of the action to do on the alert.
|
743
|
-
# Possible values include: 'Dismiss', 'Reactivate'
|
744
905
|
# @param resource_group_name [String] The name of the resource group within the
|
745
906
|
# user's subscription. The name is case insensitive.
|
746
907
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -748,16 +909,14 @@ module Azure::Security::Mgmt::V2015_06_01_preview
|
|
748
909
|
#
|
749
910
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
750
911
|
#
|
751
|
-
def
|
752
|
-
|
912
|
+
def update_resource_group_level_alert_state_to_reactivate_with_http_info(alert_name, resource_group_name, custom_headers:nil)
|
913
|
+
update_resource_group_level_alert_state_to_reactivate_async(alert_name, resource_group_name, custom_headers:custom_headers).value!
|
753
914
|
end
|
754
915
|
|
755
916
|
#
|
756
917
|
# Update the alert's state
|
757
918
|
#
|
758
919
|
# @param alert_name [String] Name of the alert object
|
759
|
-
# @param alert_update_action_type [Enum] Type of the action to do on the alert.
|
760
|
-
# Possible values include: 'Dismiss', 'Reactivate'
|
761
920
|
# @param resource_group_name [String] The name of the resource group within the
|
762
921
|
# user's subscription. The name is case insensitive.
|
763
922
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -765,13 +924,12 @@ module Azure::Security::Mgmt::V2015_06_01_preview
|
|
765
924
|
#
|
766
925
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
767
926
|
#
|
768
|
-
def
|
927
|
+
def update_resource_group_level_alert_state_to_reactivate_async(alert_name, resource_group_name, custom_headers:nil)
|
769
928
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
770
929
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
771
930
|
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'Pattern': '^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$'" if !@client.subscription_id.nil? && @client.subscription_id.match(Regexp.new('^^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$$')).nil?
|
772
931
|
fail ArgumentError, '@client.asc_location is nil' if @client.asc_location.nil?
|
773
932
|
fail ArgumentError, 'alert_name is nil' if alert_name.nil?
|
774
|
-
fail ArgumentError, 'alert_update_action_type is nil' if alert_update_action_type.nil?
|
775
933
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
776
934
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
777
935
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
@@ -784,13 +942,13 @@ module Azure::Security::Mgmt::V2015_06_01_preview
|
|
784
942
|
# Set Headers
|
785
943
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
786
944
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
787
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/
|
945
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/reactivate'
|
788
946
|
|
789
947
|
request_url = @base_url || @client.base_url
|
790
948
|
|
791
949
|
options = {
|
792
950
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
793
|
-
path_params: {'subscriptionId' => @client.subscription_id,'ascLocation' => @client.asc_location,'alertName' => alert_name,'
|
951
|
+
path_params: {'subscriptionId' => @client.subscription_id,'ascLocation' => @client.asc_location,'alertName' => alert_name,'resourceGroupName' => resource_group_name},
|
794
952
|
query_params: {'api-version' => @client.api_version},
|
795
953
|
headers: request_headers.merge(custom_headers || {}),
|
796
954
|
base_url: request_url
|