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
@@ -0,0 +1,58 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Security::Mgmt::V2020_01_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# For a non-Azure machine that is not connected directly to the internet,
|
10
|
+
# specify a proxy server that the non-Azure machine can use.
|
11
|
+
#
|
12
|
+
class ProxyServerProperties
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Proxy server IP
|
17
|
+
attr_accessor :ip
|
18
|
+
|
19
|
+
# @return [String] Proxy server port
|
20
|
+
attr_accessor :port
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for ProxyServerProperties class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
client_side_validation: true,
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'ProxyServerProperties',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'ProxyServerProperties',
|
35
|
+
model_properties: {
|
36
|
+
ip: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'ip',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
port: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'port',
|
48
|
+
type: {
|
49
|
+
name: 'String'
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_details.rb
CHANGED
@@ -22,6 +22,10 @@ module Azure::Security::Mgmt::V2020_01_01_preview
|
|
22
22
|
# @return [Float] Current score
|
23
23
|
attr_accessor :current
|
24
24
|
|
25
|
+
# @return [Float] Ratio of the current score divided by the maximum.
|
26
|
+
# Rounded to 4 digits after the decimal point
|
27
|
+
attr_accessor :percentage
|
28
|
+
|
25
29
|
# @return [Integer] Number of healthy resources in the control
|
26
30
|
attr_accessor :healthy_resource_count
|
27
31
|
|
@@ -31,6 +35,11 @@ module Azure::Security::Mgmt::V2020_01_01_preview
|
|
31
35
|
# @return [Integer] Number of not applicable resources in the control
|
32
36
|
attr_accessor :not_applicable_resource_count
|
33
37
|
|
38
|
+
# @return [Integer] The relative weight for this specific control in each
|
39
|
+
# of your subscriptions. Used when calculating an aggregated score for
|
40
|
+
# this control across all of your subscriptions.
|
41
|
+
attr_accessor :weight
|
42
|
+
|
34
43
|
# @return [SecureScoreControlDefinitionItem]
|
35
44
|
attr_accessor :definition
|
36
45
|
|
@@ -108,6 +117,19 @@ module Azure::Security::Mgmt::V2020_01_01_preview
|
|
108
117
|
name: 'Double'
|
109
118
|
}
|
110
119
|
},
|
120
|
+
percentage: {
|
121
|
+
client_side_validation: true,
|
122
|
+
required: false,
|
123
|
+
read_only: true,
|
124
|
+
serialized_name: 'properties.score.percentage',
|
125
|
+
constraints: {
|
126
|
+
InclusiveMaximum: 1,
|
127
|
+
InclusiveMinimum: 0
|
128
|
+
},
|
129
|
+
type: {
|
130
|
+
name: 'Double'
|
131
|
+
}
|
132
|
+
},
|
111
133
|
healthy_resource_count: {
|
112
134
|
client_side_validation: true,
|
113
135
|
required: false,
|
@@ -135,6 +157,18 @@ module Azure::Security::Mgmt::V2020_01_01_preview
|
|
135
157
|
name: 'Number'
|
136
158
|
}
|
137
159
|
},
|
160
|
+
weight: {
|
161
|
+
client_side_validation: true,
|
162
|
+
required: false,
|
163
|
+
read_only: true,
|
164
|
+
serialized_name: 'properties.weight',
|
165
|
+
constraints: {
|
166
|
+
InclusiveMinimum: 0
|
167
|
+
},
|
168
|
+
type: {
|
169
|
+
name: 'Number'
|
170
|
+
}
|
171
|
+
},
|
138
172
|
definition: {
|
139
173
|
client_side_validation: true,
|
140
174
|
required: false,
|
data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_score.rb
CHANGED
@@ -20,6 +20,10 @@ module Azure::Security::Mgmt::V2020_01_01_preview
|
|
20
20
|
# 0.00
|
21
21
|
attr_accessor :current
|
22
22
|
|
23
|
+
# @return [Float] Ratio of the current score divided by the maximum.
|
24
|
+
# Rounded to 4 digits after the decimal point
|
25
|
+
attr_accessor :percentage
|
26
|
+
|
23
27
|
|
24
28
|
#
|
25
29
|
# Mapper for SecureScoreControlScore class as Ruby Hash.
|
@@ -59,6 +63,19 @@ module Azure::Security::Mgmt::V2020_01_01_preview
|
|
59
63
|
type: {
|
60
64
|
name: 'Double'
|
61
65
|
}
|
66
|
+
},
|
67
|
+
percentage: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
read_only: true,
|
71
|
+
serialized_name: 'percentage',
|
72
|
+
constraints: {
|
73
|
+
InclusiveMaximum: 1,
|
74
|
+
InclusiveMinimum: 0
|
75
|
+
},
|
76
|
+
type: {
|
77
|
+
name: 'Double'
|
78
|
+
}
|
62
79
|
}
|
63
80
|
}
|
64
81
|
}
|
@@ -21,6 +21,14 @@ module Azure::Security::Mgmt::V2020_01_01_preview
|
|
21
21
|
# @return [Float] Current score
|
22
22
|
attr_accessor :current
|
23
23
|
|
24
|
+
# @return [Float] Ratio of the current score divided by the maximum.
|
25
|
+
# Rounded to 4 digits after the decimal point
|
26
|
+
attr_accessor :percentage
|
27
|
+
|
28
|
+
# @return [Integer] The relative weight for each subscription. Used when
|
29
|
+
# calculating an aggregated secure score for multiple subscriptions.
|
30
|
+
attr_accessor :weight
|
31
|
+
|
24
32
|
|
25
33
|
#
|
26
34
|
# Mapper for SecureScoreItem class as Ruby Hash.
|
@@ -94,6 +102,31 @@ module Azure::Security::Mgmt::V2020_01_01_preview
|
|
94
102
|
type: {
|
95
103
|
name: 'Double'
|
96
104
|
}
|
105
|
+
},
|
106
|
+
percentage: {
|
107
|
+
client_side_validation: true,
|
108
|
+
required: false,
|
109
|
+
read_only: true,
|
110
|
+
serialized_name: 'properties.score.percentage',
|
111
|
+
constraints: {
|
112
|
+
InclusiveMaximum: 1,
|
113
|
+
InclusiveMinimum: 0
|
114
|
+
},
|
115
|
+
type: {
|
116
|
+
name: 'Double'
|
117
|
+
}
|
118
|
+
},
|
119
|
+
weight: {
|
120
|
+
client_side_validation: true,
|
121
|
+
required: false,
|
122
|
+
read_only: true,
|
123
|
+
serialized_name: 'properties.weight',
|
124
|
+
constraints: {
|
125
|
+
InclusiveMinimum: 0
|
126
|
+
},
|
127
|
+
type: {
|
128
|
+
name: 'Number'
|
129
|
+
}
|
97
130
|
}
|
98
131
|
}
|
99
132
|
}
|
data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/service_principal_properties.rb
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Security::Mgmt::V2020_01_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Details of the service principal.
|
10
|
+
#
|
11
|
+
class ServicePrincipalProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Application ID of service principal.
|
16
|
+
attr_accessor :application_id
|
17
|
+
|
18
|
+
# @return [String] A secret string that the application uses to prove its
|
19
|
+
# identity, also can be referred to as application password (write only).
|
20
|
+
attr_accessor :secret
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for ServicePrincipalProperties class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
client_side_validation: true,
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'ServicePrincipalProperties',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'ServicePrincipalProperties',
|
35
|
+
model_properties: {
|
36
|
+
application_id: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'applicationId',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
secret: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'secret',
|
48
|
+
type: {
|
49
|
+
name: 'String'
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -44,6 +44,9 @@ module Azure::Security::Mgmt::V2020_01_01_preview
|
|
44
44
|
# @return [SecureScoreControlDefinitions] secure_score_control_definitions
|
45
45
|
attr_reader :secure_score_control_definitions
|
46
46
|
|
47
|
+
# @return [Connectors] connectors
|
48
|
+
attr_reader :connectors
|
49
|
+
|
47
50
|
#
|
48
51
|
# Creates initializes a new instance of the SecurityCenter class.
|
49
52
|
# @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
|
@@ -60,6 +63,7 @@ module Azure::Security::Mgmt::V2020_01_01_preview
|
|
60
63
|
@secure_scores = SecureScores.new(self)
|
61
64
|
@secure_score_controls = SecureScoreControls.new(self)
|
62
65
|
@secure_score_control_definitions = SecureScoreControlDefinitions.new(self)
|
66
|
+
@connectors = Connectors.new(self)
|
63
67
|
@api_version = '2020-01-01-preview'
|
64
68
|
@accept_language = 'en-US'
|
65
69
|
@long_running_operation_retry_timeout = 30
|
@@ -132,7 +136,7 @@ module Azure::Security::Mgmt::V2020_01_01_preview
|
|
132
136
|
#
|
133
137
|
def add_telemetry
|
134
138
|
sdk_information = 'azure_mgmt_security'
|
135
|
-
sdk_information = "#{sdk_information}/0.
|
139
|
+
sdk_information = "#{sdk_information}/0.19.0"
|
136
140
|
add_user_agent_information(sdk_information)
|
137
141
|
end
|
138
142
|
end
|
@@ -26,73 +26,90 @@ module Azure::Security::Mgmt::V2020_01_01
|
|
26
26
|
autoload :AssessmentsMetadata, '2020-01-01/generated/azure_mgmt_security/assessments_metadata.rb'
|
27
27
|
autoload :Assessments, '2020-01-01/generated/azure_mgmt_security/assessments.rb'
|
28
28
|
autoload :DiscoveredSecuritySolutions, '2020-01-01/generated/azure_mgmt_security/discovered_security_solutions.rb'
|
29
|
+
autoload :SecuritySolutions, '2020-01-01/generated/azure_mgmt_security/security_solutions.rb'
|
30
|
+
autoload :SecuritySolutionsReferenceDataOperations, '2020-01-01/generated/azure_mgmt_security/security_solutions_reference_data_operations.rb'
|
29
31
|
autoload :ExternalSecuritySolutions, '2020-01-01/generated/azure_mgmt_security/external_security_solutions.rb'
|
30
32
|
autoload :JitNetworkAccessPolicies, '2020-01-01/generated/azure_mgmt_security/jit_network_access_policies.rb'
|
31
33
|
autoload :ServerVulnerabilityAssessmentOperations, '2020-01-01/generated/azure_mgmt_security/server_vulnerability_assessment_operations.rb'
|
32
34
|
autoload :Topology, '2020-01-01/generated/azure_mgmt_security/topology.rb'
|
35
|
+
autoload :SecureScores, '2020-01-01/generated/azure_mgmt_security/secure_scores.rb'
|
36
|
+
autoload :SecureScoreControls, '2020-01-01/generated/azure_mgmt_security/secure_score_controls.rb'
|
37
|
+
autoload :SecureScoreControlDefinitions, '2020-01-01/generated/azure_mgmt_security/secure_score_control_definitions.rb'
|
33
38
|
autoload :SecurityCenter, '2020-01-01/generated/azure_mgmt_security/security_center.rb'
|
34
39
|
|
35
40
|
module Models
|
36
|
-
autoload :
|
41
|
+
autoload :SecuritySolution, '2020-01-01/generated/azure_mgmt_security/models/security_solution.rb'
|
37
42
|
autoload :Rule, '2020-01-01/generated/azure_mgmt_security/models/rule.rb'
|
38
|
-
autoload :
|
43
|
+
autoload :SecuritySolutionList, '2020-01-01/generated/azure_mgmt_security/models/security_solution_list.rb'
|
44
|
+
autoload :AzureResourceLink, '2020-01-01/generated/azure_mgmt_security/models/azure_resource_link.rb'
|
45
|
+
autoload :SecurityAssessmentList, '2020-01-01/generated/azure_mgmt_security/models/security_assessment_list.rb'
|
46
|
+
autoload :AdaptiveNetworkHardeningEnforceRequest, '2020-01-01/generated/azure_mgmt_security/models/adaptive_network_hardening_enforce_request.rb'
|
47
|
+
autoload :SecureScoreControlDefinitionSource, '2020-01-01/generated/azure_mgmt_security/models/secure_score_control_definition_source.rb'
|
48
|
+
autoload :TrackedResource, '2020-01-01/generated/azure_mgmt_security/models/tracked_resource.rb'
|
49
|
+
autoload :SecureScoreControlScore, '2020-01-01/generated/azure_mgmt_security/models/secure_score_control_score.rb'
|
50
|
+
autoload :Kind, '2020-01-01/generated/azure_mgmt_security/models/kind.rb'
|
51
|
+
autoload :SecureScoresList, '2020-01-01/generated/azure_mgmt_security/models/secure_scores_list.rb'
|
52
|
+
autoload :Tags, '2020-01-01/generated/azure_mgmt_security/models/tags.rb'
|
53
|
+
autoload :DiscoveredSecuritySolution, '2020-01-01/generated/azure_mgmt_security/models/discovered_security_solution.rb'
|
54
|
+
autoload :DiscoveredSecuritySolutionList, '2020-01-01/generated/azure_mgmt_security/models/discovered_security_solution_list.rb'
|
55
|
+
autoload :ConnectableResource, '2020-01-01/generated/azure_mgmt_security/models/connectable_resource.rb'
|
39
56
|
autoload :EffectiveNetworkSecurityGroups, '2020-01-01/generated/azure_mgmt_security/models/effective_network_security_groups.rb'
|
40
|
-
autoload :
|
41
|
-
autoload :JitNetworkAccessPolicy, '2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy.rb'
|
42
|
-
autoload :JitNetworkAccessPolicyInitiatePort, '2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_port.rb'
|
43
|
-
autoload :AssessmentLinks, '2020-01-01/generated/azure_mgmt_security/models/assessment_links.rb'
|
44
|
-
autoload :Location, '2020-01-01/generated/azure_mgmt_security/models/location.rb'
|
45
|
-
autoload :SecurityAssessmentPartnerData, '2020-01-01/generated/azure_mgmt_security/models/security_assessment_partner_data.rb'
|
46
|
-
autoload :ETag, '2020-01-01/generated/azure_mgmt_security/models/etag.rb'
|
57
|
+
autoload :AllowedConnectionsList, '2020-01-01/generated/azure_mgmt_security/models/allowed_connections_list.rb'
|
47
58
|
autoload :TopologyList, '2020-01-01/generated/azure_mgmt_security/models/topology_list.rb'
|
48
|
-
autoload :Resource, '2020-01-01/generated/azure_mgmt_security/models/resource.rb'
|
49
|
-
autoload :SecurityAssessmentList, '2020-01-01/generated/azure_mgmt_security/models/security_assessment_list.rb'
|
50
|
-
autoload :ConnectedResource, '2020-01-01/generated/azure_mgmt_security/models/connected_resource.rb'
|
51
|
-
autoload :TopologyResource, '2020-01-01/generated/azure_mgmt_security/models/topology_resource.rb'
|
52
|
-
autoload :AllowedConnectionsResource, '2020-01-01/generated/azure_mgmt_security/models/allowed_connections_resource.rb'
|
53
|
-
autoload :TopologySingleResource, '2020-01-01/generated/azure_mgmt_security/models/topology_single_resource.rb'
|
54
59
|
autoload :ProtectionMode, '2020-01-01/generated/azure_mgmt_security/models/protection_mode.rb'
|
55
|
-
autoload :
|
60
|
+
autoload :SecuritySolutionsReferenceData, '2020-01-01/generated/azure_mgmt_security/models/security_solutions_reference_data.rb'
|
56
61
|
autoload :VmRecommendation, '2020-01-01/generated/azure_mgmt_security/models/vm_recommendation.rb'
|
57
|
-
autoload :
|
62
|
+
autoload :SecuritySolutionsReferenceDataList, '2020-01-01/generated/azure_mgmt_security/models/security_solutions_reference_data_list.rb'
|
58
63
|
autoload :UserRecommendation, '2020-01-01/generated/azure_mgmt_security/models/user_recommendation.rb'
|
59
64
|
autoload :ExternalSecuritySolution, '2020-01-01/generated/azure_mgmt_security/models/external_security_solution.rb'
|
60
|
-
autoload :
|
65
|
+
autoload :AdaptiveApplicationControlGroup, '2020-01-01/generated/azure_mgmt_security/models/adaptive_application_control_group.rb'
|
61
66
|
autoload :ExternalSecuritySolutionList, '2020-01-01/generated/azure_mgmt_security/models/external_security_solution_list.rb'
|
62
67
|
autoload :SecurityAssessmentMetadataPartnerData, '2020-01-01/generated/azure_mgmt_security/models/security_assessment_metadata_partner_data.rb'
|
68
|
+
autoload :TopologyResource, '2020-01-01/generated/azure_mgmt_security/models/topology_resource.rb'
|
69
|
+
autoload :SecureScoreControlList, '2020-01-01/generated/azure_mgmt_security/models/secure_score_control_list.rb'
|
70
|
+
autoload :TopologySingleResource, '2020-01-01/generated/azure_mgmt_security/models/topology_single_resource.rb'
|
71
|
+
autoload :ResourceDetails, '2020-01-01/generated/azure_mgmt_security/models/resource_details.rb'
|
63
72
|
autoload :TopologySingleResourceChild, '2020-01-01/generated/azure_mgmt_security/models/topology_single_resource_child.rb'
|
64
|
-
autoload :
|
73
|
+
autoload :AssessmentLinks, '2020-01-01/generated/azure_mgmt_security/models/assessment_links.rb'
|
65
74
|
autoload :TopologySingleResourceParent, '2020-01-01/generated/azure_mgmt_security/models/topology_single_resource_parent.rb'
|
66
|
-
autoload :
|
67
|
-
autoload :ServerVulnerabilityAssessmentsList, '2020-01-01/generated/azure_mgmt_security/models/server_vulnerability_assessments_list.rb'
|
68
|
-
autoload :Kind, '2020-01-01/generated/azure_mgmt_security/models/kind.rb'
|
69
|
-
autoload :JitNetworkAccessPolicyInitiateRequest, '2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_request.rb'
|
75
|
+
autoload :AdaptiveNetworkHardeningsList, '2020-01-01/generated/azure_mgmt_security/models/adaptive_network_hardenings_list.rb'
|
70
76
|
autoload :ConnectedWorkspace, '2020-01-01/generated/azure_mgmt_security/models/connected_workspace.rb'
|
71
|
-
autoload :
|
77
|
+
autoload :AzureTrackedResourceLocation, '2020-01-01/generated/azure_mgmt_security/models/azure_tracked_resource_location.rb'
|
72
78
|
autoload :AadSolutionProperties, '2020-01-01/generated/azure_mgmt_security/models/aad_solution_properties.rb'
|
73
|
-
autoload :
|
74
|
-
autoload :
|
75
|
-
autoload :
|
79
|
+
autoload :Resource, '2020-01-01/generated/azure_mgmt_security/models/resource.rb'
|
80
|
+
autoload :ServerVulnerabilityAssessmentsList, '2020-01-01/generated/azure_mgmt_security/models/server_vulnerability_assessments_list.rb'
|
81
|
+
autoload :AllowedConnectionsResource, '2020-01-01/generated/azure_mgmt_security/models/allowed_connections_resource.rb'
|
76
82
|
autoload :ExternalSecuritySolutionKind1, '2020-01-01/generated/azure_mgmt_security/models/external_security_solution_kind1.rb'
|
77
|
-
autoload :
|
83
|
+
autoload :AdaptiveApplicationControlIssueSummary, '2020-01-01/generated/azure_mgmt_security/models/adaptive_application_control_issue_summary.rb'
|
78
84
|
autoload :ExternalSecuritySolutionProperties, '2020-01-01/generated/azure_mgmt_security/models/external_security_solution_properties.rb'
|
79
|
-
autoload :
|
85
|
+
autoload :PathRecommendation, '2020-01-01/generated/azure_mgmt_security/models/path_recommendation.rb'
|
80
86
|
autoload :AadConnectivityState1, '2020-01-01/generated/azure_mgmt_security/models/aad_connectivity_state1.rb'
|
81
|
-
autoload :AppWhitelistingIssueSummary, '2020-01-01/generated/azure_mgmt_security/models/app_whitelisting_issue_summary.rb'
|
82
|
-
autoload :JitNetworkAccessPortRule, '2020-01-01/generated/azure_mgmt_security/models/jit_network_access_port_rule.rb'
|
83
87
|
autoload :SecurityAssessmentMetadataProperties, '2020-01-01/generated/azure_mgmt_security/models/security_assessment_metadata_properties.rb'
|
88
|
+
autoload :JitNetworkAccessPortRule, '2020-01-01/generated/azure_mgmt_security/models/jit_network_access_port_rule.rb'
|
89
|
+
autoload :AssessmentStatus, '2020-01-01/generated/azure_mgmt_security/models/assessment_status.rb'
|
84
90
|
autoload :JitNetworkAccessPolicyVirtualMachine, '2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy_virtual_machine.rb'
|
85
|
-
autoload :
|
91
|
+
autoload :SecureScoreControlDefinitionList, '2020-01-01/generated/azure_mgmt_security/models/secure_score_control_definition_list.rb'
|
86
92
|
autoload :JitNetworkAccessRequestPort, '2020-01-01/generated/azure_mgmt_security/models/jit_network_access_request_port.rb'
|
87
|
-
autoload :
|
93
|
+
autoload :ConnectedResource, '2020-01-01/generated/azure_mgmt_security/models/connected_resource.rb'
|
88
94
|
autoload :JitNetworkAccessRequestVirtualMachine, '2020-01-01/generated/azure_mgmt_security/models/jit_network_access_request_virtual_machine.rb'
|
89
|
-
autoload :
|
95
|
+
autoload :PublisherInfo, '2020-01-01/generated/azure_mgmt_security/models/publisher_info.rb'
|
90
96
|
autoload :JitNetworkAccessRequest, '2020-01-01/generated/azure_mgmt_security/models/jit_network_access_request.rb'
|
97
|
+
autoload :SecurityAssessmentMetadataList, '2020-01-01/generated/azure_mgmt_security/models/security_assessment_metadata_list.rb'
|
98
|
+
autoload :JitNetworkAccessPolicy, '2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy.rb'
|
99
|
+
autoload :ETag, '2020-01-01/generated/azure_mgmt_security/models/etag.rb'
|
100
|
+
autoload :JitNetworkAccessPoliciesList, '2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policies_list.rb'
|
101
|
+
autoload :AdaptiveApplicationControlGroups, '2020-01-01/generated/azure_mgmt_security/models/adaptive_application_control_groups.rb'
|
102
|
+
autoload :JitNetworkAccessPolicyInitiatePort, '2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_port.rb'
|
103
|
+
autoload :Location, '2020-01-01/generated/azure_mgmt_security/models/location.rb'
|
104
|
+
autoload :JitNetworkAccessPolicyInitiateVirtualMachine, '2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_virtual_machine.rb'
|
105
|
+
autoload :SecurityAssessmentPartnerData, '2020-01-01/generated/azure_mgmt_security/models/security_assessment_partner_data.rb'
|
106
|
+
autoload :JitNetworkAccessPolicyInitiateRequest, '2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_request.rb'
|
91
107
|
autoload :AdaptiveNetworkHardening, '2020-01-01/generated/azure_mgmt_security/models/adaptive_network_hardening.rb'
|
92
108
|
autoload :AscLocation, '2020-01-01/generated/azure_mgmt_security/models/asc_location.rb'
|
93
109
|
autoload :SecurityAssessmentMetadata, '2020-01-01/generated/azure_mgmt_security/models/security_assessment_metadata.rb'
|
94
110
|
autoload :SecurityAssessment, '2020-01-01/generated/azure_mgmt_security/models/security_assessment.rb'
|
95
111
|
autoload :OnPremiseResourceDetails, '2020-01-01/generated/azure_mgmt_security/models/on_premise_resource_details.rb'
|
112
|
+
autoload :OnPremiseSqlResourceDetails, '2020-01-01/generated/azure_mgmt_security/models/on_premise_sql_resource_details.rb'
|
96
113
|
autoload :AzureResourceDetails, '2020-01-01/generated/azure_mgmt_security/models/azure_resource_details.rb'
|
97
114
|
autoload :CefSolutionProperties, '2020-01-01/generated/azure_mgmt_security/models/cef_solution_properties.rb'
|
98
115
|
autoload :CefExternalSecuritySolution, '2020-01-01/generated/azure_mgmt_security/models/cef_external_security_solution.rb'
|
@@ -100,6 +117,9 @@ module Azure::Security::Mgmt::V2020_01_01
|
|
100
117
|
autoload :AtaExternalSecuritySolution, '2020-01-01/generated/azure_mgmt_security/models/ata_external_security_solution.rb'
|
101
118
|
autoload :AadExternalSecuritySolution, '2020-01-01/generated/azure_mgmt_security/models/aad_external_security_solution.rb'
|
102
119
|
autoload :ServerVulnerabilityAssessment, '2020-01-01/generated/azure_mgmt_security/models/server_vulnerability_assessment.rb'
|
120
|
+
autoload :SecureScoreItem, '2020-01-01/generated/azure_mgmt_security/models/secure_score_item.rb'
|
121
|
+
autoload :SecureScoreControlDefinitionItem, '2020-01-01/generated/azure_mgmt_security/models/secure_score_control_definition_item.rb'
|
122
|
+
autoload :SecureScoreControlDetails, '2020-01-01/generated/azure_mgmt_security/models/secure_score_control_details.rb'
|
103
123
|
autoload :Direction, '2020-01-01/generated/azure_mgmt_security/models/direction.rb'
|
104
124
|
autoload :TransportProtocol, '2020-01-01/generated/azure_mgmt_security/models/transport_protocol.rb'
|
105
125
|
autoload :Category, '2020-01-01/generated/azure_mgmt_security/models/category.rb'
|
@@ -110,12 +130,15 @@ module Azure::Security::Mgmt::V2020_01_01
|
|
110
130
|
autoload :AssessmentType, '2020-01-01/generated/azure_mgmt_security/models/assessment_type.rb'
|
111
131
|
autoload :AssessmentStatusCode, '2020-01-01/generated/azure_mgmt_security/models/assessment_status_code.rb'
|
112
132
|
autoload :SecurityFamily, '2020-01-01/generated/azure_mgmt_security/models/security_family.rb'
|
133
|
+
autoload :ProvisioningState, '2020-01-01/generated/azure_mgmt_security/models/provisioning_state.rb'
|
113
134
|
autoload :AadConnectivityState, '2020-01-01/generated/azure_mgmt_security/models/aad_connectivity_state.rb'
|
114
135
|
autoload :ExternalSecuritySolutionKind, '2020-01-01/generated/azure_mgmt_security/models/external_security_solution_kind.rb'
|
115
136
|
autoload :Protocol, '2020-01-01/generated/azure_mgmt_security/models/protocol.rb'
|
116
137
|
autoload :Status, '2020-01-01/generated/azure_mgmt_security/models/status.rb'
|
117
138
|
autoload :StatusReason, '2020-01-01/generated/azure_mgmt_security/models/status_reason.rb'
|
139
|
+
autoload :ControlType, '2020-01-01/generated/azure_mgmt_security/models/control_type.rb'
|
118
140
|
autoload :ConnectionType, '2020-01-01/generated/azure_mgmt_security/models/connection_type.rb'
|
119
141
|
autoload :ExpandEnum, '2020-01-01/generated/azure_mgmt_security/models/expand_enum.rb'
|
142
|
+
autoload :ExpandControlsEnum, '2020-01-01/generated/azure_mgmt_security/models/expand_controls_enum.rb'
|
120
143
|
end
|
121
144
|
end
|
@@ -22,14 +22,14 @@ module Azure::Security::Mgmt::V2020_01_01
|
|
22
22
|
attr_reader :client
|
23
23
|
|
24
24
|
#
|
25
|
-
# Gets a list of application control
|
25
|
+
# Gets a list of application control machine groups for the subscription.
|
26
26
|
#
|
27
27
|
# @param include_path_recommendations [Boolean] Include the policy rules
|
28
28
|
# @param summary [Boolean] Return output in a summarized form
|
29
29
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
30
30
|
# will be added to the HTTP request.
|
31
31
|
#
|
32
|
-
# @return [
|
32
|
+
# @return [AdaptiveApplicationControlGroups] operation results.
|
33
33
|
#
|
34
34
|
def list(include_path_recommendations:nil, summary:nil, custom_headers:nil)
|
35
35
|
response = list_async(include_path_recommendations:include_path_recommendations, summary:summary, custom_headers:custom_headers).value!
|
@@ -37,7 +37,7 @@ module Azure::Security::Mgmt::V2020_01_01
|
|
37
37
|
end
|
38
38
|
|
39
39
|
#
|
40
|
-
# Gets a list of application control
|
40
|
+
# Gets a list of application control machine groups for the subscription.
|
41
41
|
#
|
42
42
|
# @param include_path_recommendations [Boolean] Include the policy rules
|
43
43
|
# @param summary [Boolean] Return output in a summarized form
|
@@ -51,7 +51,7 @@ module Azure::Security::Mgmt::V2020_01_01
|
|
51
51
|
end
|
52
52
|
|
53
53
|
#
|
54
|
-
# Gets a list of application control
|
54
|
+
# Gets a list of application control machine groups for the subscription.
|
55
55
|
#
|
56
56
|
# @param include_path_recommendations [Boolean] Include the policy rules
|
57
57
|
# @param summary [Boolean] Return output in a summarized form
|
@@ -101,7 +101,7 @@ module Azure::Security::Mgmt::V2020_01_01
|
|
101
101
|
if status_code == 200
|
102
102
|
begin
|
103
103
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
104
|
-
result_mapper = Azure::Security::Mgmt::V2020_01_01::Models::
|
104
|
+
result_mapper = Azure::Security::Mgmt::V2020_01_01::Models::AdaptiveApplicationControlGroups.mapper()
|
105
105
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
106
106
|
rescue Exception => e
|
107
107
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -117,11 +117,11 @@ module Azure::Security::Mgmt::V2020_01_01
|
|
117
117
|
#
|
118
118
|
# Gets an application control VM/server group.
|
119
119
|
#
|
120
|
-
# @param group_name [String] Name of an application control
|
120
|
+
# @param group_name [String] Name of an application control machine group
|
121
121
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
122
122
|
# will be added to the HTTP request.
|
123
123
|
#
|
124
|
-
# @return [
|
124
|
+
# @return [AdaptiveApplicationControlGroup] operation results.
|
125
125
|
#
|
126
126
|
def get(group_name, custom_headers:nil)
|
127
127
|
response = get_async(group_name, custom_headers:custom_headers).value!
|
@@ -131,7 +131,7 @@ module Azure::Security::Mgmt::V2020_01_01
|
|
131
131
|
#
|
132
132
|
# Gets an application control VM/server group.
|
133
133
|
#
|
134
|
-
# @param group_name [String] Name of an application control
|
134
|
+
# @param group_name [String] Name of an application control machine group
|
135
135
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
136
136
|
# will be added to the HTTP request.
|
137
137
|
#
|
@@ -144,7 +144,7 @@ module Azure::Security::Mgmt::V2020_01_01
|
|
144
144
|
#
|
145
145
|
# Gets an application control VM/server group.
|
146
146
|
#
|
147
|
-
# @param group_name [String] Name of an application control
|
147
|
+
# @param group_name [String] Name of an application control machine group
|
148
148
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
149
149
|
# to the HTTP request.
|
150
150
|
#
|
@@ -193,7 +193,7 @@ module Azure::Security::Mgmt::V2020_01_01
|
|
193
193
|
if status_code == 200
|
194
194
|
begin
|
195
195
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
196
|
-
result_mapper = Azure::Security::Mgmt::V2020_01_01::Models::
|
196
|
+
result_mapper = Azure::Security::Mgmt::V2020_01_01::Models::AdaptiveApplicationControlGroup.mapper()
|
197
197
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
198
198
|
rescue Exception => e
|
199
199
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -207,14 +207,14 @@ module Azure::Security::Mgmt::V2020_01_01
|
|
207
207
|
end
|
208
208
|
|
209
209
|
#
|
210
|
-
# Update an application control
|
210
|
+
# Update an application control machine group
|
211
211
|
#
|
212
|
-
# @param group_name [String] Name of an application control
|
213
|
-
# @param body [
|
212
|
+
# @param group_name [String] Name of an application control machine group
|
213
|
+
# @param body [AdaptiveApplicationControlGroup]
|
214
214
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
215
215
|
# will be added to the HTTP request.
|
216
216
|
#
|
217
|
-
# @return [
|
217
|
+
# @return [AdaptiveApplicationControlGroup] operation results.
|
218
218
|
#
|
219
219
|
def put(group_name, body, custom_headers:nil)
|
220
220
|
response = put_async(group_name, body, custom_headers:custom_headers).value!
|
@@ -222,10 +222,10 @@ module Azure::Security::Mgmt::V2020_01_01
|
|
222
222
|
end
|
223
223
|
|
224
224
|
#
|
225
|
-
# Update an application control
|
225
|
+
# Update an application control machine group
|
226
226
|
#
|
227
|
-
# @param group_name [String] Name of an application control
|
228
|
-
# @param body [
|
227
|
+
# @param group_name [String] Name of an application control machine group
|
228
|
+
# @param body [AdaptiveApplicationControlGroup]
|
229
229
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
230
230
|
# will be added to the HTTP request.
|
231
231
|
#
|
@@ -236,10 +236,10 @@ module Azure::Security::Mgmt::V2020_01_01
|
|
236
236
|
end
|
237
237
|
|
238
238
|
#
|
239
|
-
# Update an application control
|
239
|
+
# Update an application control machine group
|
240
240
|
#
|
241
|
-
# @param group_name [String] Name of an application control
|
242
|
-
# @param body [
|
241
|
+
# @param group_name [String] Name of an application control machine group
|
242
|
+
# @param body [AdaptiveApplicationControlGroup]
|
243
243
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
244
244
|
# to the HTTP request.
|
245
245
|
#
|
@@ -262,7 +262,7 @@ module Azure::Security::Mgmt::V2020_01_01
|
|
262
262
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
263
263
|
|
264
264
|
# Serialize Request
|
265
|
-
request_mapper = Azure::Security::Mgmt::V2020_01_01::Models::
|
265
|
+
request_mapper = Azure::Security::Mgmt::V2020_01_01::Models::AdaptiveApplicationControlGroup.mapper()
|
266
266
|
request_content = @client.serialize(request_mapper, body)
|
267
267
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
268
268
|
|
@@ -296,7 +296,7 @@ module Azure::Security::Mgmt::V2020_01_01
|
|
296
296
|
if status_code == 200
|
297
297
|
begin
|
298
298
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
299
|
-
result_mapper = Azure::Security::Mgmt::V2020_01_01::Models::
|
299
|
+
result_mapper = Azure::Security::Mgmt::V2020_01_01::Models::AdaptiveApplicationControlGroup.mapper()
|
300
300
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
301
301
|
rescue Exception => e
|
302
302
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -310,9 +310,9 @@ module Azure::Security::Mgmt::V2020_01_01
|
|
310
310
|
end
|
311
311
|
|
312
312
|
#
|
313
|
-
# Delete an application control
|
313
|
+
# Delete an application control machine group
|
314
314
|
#
|
315
|
-
# @param group_name [String] Name of an application control
|
315
|
+
# @param group_name [String] Name of an application control machine group
|
316
316
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
317
317
|
# will be added to the HTTP request.
|
318
318
|
#
|
@@ -323,9 +323,9 @@ module Azure::Security::Mgmt::V2020_01_01
|
|
323
323
|
end
|
324
324
|
|
325
325
|
#
|
326
|
-
# Delete an application control
|
326
|
+
# Delete an application control machine group
|
327
327
|
#
|
328
|
-
# @param group_name [String] Name of an application control
|
328
|
+
# @param group_name [String] Name of an application control machine group
|
329
329
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
330
330
|
# will be added to the HTTP request.
|
331
331
|
#
|
@@ -336,9 +336,9 @@ module Azure::Security::Mgmt::V2020_01_01
|
|
336
336
|
end
|
337
337
|
|
338
338
|
#
|
339
|
-
# Delete an application control
|
339
|
+
# Delete an application control machine group
|
340
340
|
#
|
341
|
-
# @param group_name [String] Name of an application control
|
341
|
+
# @param group_name [String] Name of an application control machine group
|
342
342
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
343
343
|
# to the HTTP request.
|
344
344
|
#
|