azure_mgmt_security 0.17.2 → 0.18.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 +109 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/adaptive_application_controls.rb +313 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/adaptive_network_hardenings.rb +539 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/alerts.rb +1280 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/allowed_connections.rb +535 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/discovered_security_solutions.rb +532 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/external_security_solutions.rb +525 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/jit_network_access_policies.rb +1295 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/locations.rb +330 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/aad_connectivity_state.rb +17 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/aad_connectivity_state1.rb +48 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/aad_external_security_solution.rb +99 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/aad_solution_properties.rb +83 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/adaptive_network_hardening.rb +116 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/adaptive_network_hardening_enforce_request.rb +77 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/adaptive_network_hardenings_list.rb +99 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/alert.rb +375 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/alert_confidence_reason.rb +59 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/alert_entity.rb +66 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/alert_list.rb +99 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/allowed_connections_list.rb +100 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/allowed_connections_resource.rb +118 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/app_whitelisting_group.rb +191 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/app_whitelisting_groups.rb +56 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/app_whitelisting_issue_summary.rb +61 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/app_whitelisting_put_group_data.rb +86 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/asc_location.rb +73 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/asc_location_list.rb +100 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/ata_external_security_solution.rb +98 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/ata_solution_properties.rb +87 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/cef_external_security_solution.rb +98 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/cef_solution_properties.rb +109 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/connectable_resource.rb +91 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/connected_resource.rb +71 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/connected_workspace.rb +47 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/connection_type.rb +16 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/direction.rb +16 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/discovered_security_solution.rb +129 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/discovered_security_solution_list.rb +99 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/effective_network_security_groups.rb +66 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/external_security_solution.rb +98 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/external_security_solution_kind.rb +17 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/external_security_solution_kind1.rb +47 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/external_security_solution_list.rb +101 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/external_security_solution_properties.rb +88 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policies_list.rb +99 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policy.rb +149 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_port.rb +70 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_request.rb +57 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_virtual_machine.rb +70 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_policy_virtual_machine.rb +81 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_port_rule.rb +103 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_request.rb +78 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_request_port.rb +128 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/jit_network_access_request_virtual_machine.rb +69 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/kind.rb +46 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/location.rb +47 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/operation.rb +71 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/operation_display.rb +84 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/operation_list.rb +99 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/path_recommendation.rb +156 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/protocol.rb +17 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/publisher_info.rb +84 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/reported_severity.rb +18 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/resource.rb +80 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/rule.rb +111 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/security_family.rb +18 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/security_task.rb +123 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/security_task_list.rb +100 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/security_task_parameters.rb +67 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/status.rb +16 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/status_reason.rb +17 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/topology_list.rb +100 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/topology_resource.rb +118 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/topology_single_resource.rb +154 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/topology_single_resource_child.rb +49 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/topology_single_resource_parent.rb +49 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/transport_protocol.rb +16 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/user_recommendation.rb +58 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/models/vm_recommendation.rb +69 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/module_definition.rb +9 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/operations.rb +218 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/security_center.rb +175 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/tasks.rb +1055 -0
- data/lib/2015-06-01-preview/generated/azure_mgmt_security/topology.rb +530 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security.rb +72 -13
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/advanced_threat_protection.rb +222 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/auto_provisioning_settings.rb +12 -4
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/compliances.rb +9 -3
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/device_security_groups.rb +523 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/information_protection_policies.rb +447 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/io_tsecurity_solutions.rb +230 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/io_tsecurity_solutions_analytics.rb +227 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/io_tsecurity_solutions_analytics_aggregated_alert.rb +224 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/io_tsecurity_solutions_analytics_aggregated_alerts.rb +243 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/io_tsecurity_solutions_analytics_recommendation.rb +133 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/io_tsecurity_solutions_analytics_recommendations.rb +243 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/io_tsecurity_solutions_resource_group.rb +242 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/iot_security_solution.rb +459 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/advanced_threat_protection_setting.rb +74 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/allowlist_custom_alert_rule.rb +99 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/asc_location.rb +73 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/custom_alert_rule.rb +81 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/data_export_setting.rb +81 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/data_source.rb +15 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/denylist_custom_alert_rule.rb +99 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/device_security_group.rb +146 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/device_security_group_list.rb +100 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/export_data.rb +15 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/information_protection_keyword.rb +80 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/information_protection_policy.rb +116 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/information_protection_policy_list.rb +100 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/information_type.rb +114 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_aggregated_alert.rb +238 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_aggregated_alert_list.rb +100 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_aggregated_recommendation.rb +212 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_aggregated_recommendation_list.rb +101 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_alerted_device.rb +60 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_alerted_devices_list.rb +68 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_device_alert.rb +73 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_device_alerts_list.rb +67 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_device_recommendation.rb +73 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_device_recommendations_list.rb +68 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_solution_analytics_model.rb +149 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_solution_analytics_model_list.rb +68 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_solution_analytics_model_properties_devices_metrics_item.rb +61 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_solution_model.rb +248 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tsecurity_solutions_list.rb +99 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/io_tseverity_metrics.rb +68 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/list_custom_alert_rule.rb +82 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/recommendation_config_status.rb +16 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/recommendation_configuration_properties.rb +79 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/recommendation_type.rb +30 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/reported_severity.rb +18 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/security_contact.rb +1 -1
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/security_solution_status.rb +16 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/sensitivity_label.rb +68 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/setting.rb +70 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/setting_kind.rb +16 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/setting_resource.rb +75 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/settings_list.rb +99 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/tags_resource.rb +55 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/threshold_custom_alert_rule.rb +92 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/time_window_custom_alert_rule.rb +115 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/update_iot_security_solution_data.rb +84 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/user_defined_resources_properties.rb +68 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/models/value_type.rb +16 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/pricings.rb +23 -7
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/security_center.rb +200 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/security_contacts.rb +18 -6
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/settings.rb +420 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_security/workspace_settings.rb +38 -16
- data/lib/2017-08-01/generated/azure_mgmt_security.rb +33 -0
- data/lib/2017-08-01/generated/azure_mgmt_security/compliance_results.rb +329 -0
- data/lib/2017-08-01/generated/azure_mgmt_security/models/asc_location.rb +73 -0
- data/lib/2017-08-01/generated/azure_mgmt_security/models/compliance_result.rb +76 -0
- data/lib/2017-08-01/generated/azure_mgmt_security/models/compliance_result_list.rb +99 -0
- data/lib/2017-08-01/generated/azure_mgmt_security/models/resource.rb +80 -0
- data/lib/2017-08-01/generated/azure_mgmt_security/models/resource_status.rb +18 -0
- data/lib/2017-08-01/generated/azure_mgmt_security/module_definition.rb +9 -0
- data/lib/2017-08-01/generated/azure_mgmt_security/security_center.rb +128 -0
- data/lib/2018-06-01/generated/azure_mgmt_security.rb +33 -0
- data/lib/2018-06-01/generated/azure_mgmt_security/models/asc_location.rb +73 -0
- data/lib/2018-06-01/generated/azure_mgmt_security/models/pricing.rb +90 -0
- data/lib/2018-06-01/generated/azure_mgmt_security/models/pricing_list.rb +55 -0
- data/lib/2018-06-01/generated/azure_mgmt_security/models/pricing_tier.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_security/models/resource.rb +80 -0
- data/lib/2018-06-01/generated/azure_mgmt_security/module_definition.rb +9 -0
- data/lib/2018-06-01/generated/azure_mgmt_security/pricings.rb +332 -0
- data/lib/{2017-08-01-preview/generated/azure_mgmt_security/security_management_client.rb → 2018-06-01/generated/azure_mgmt_security/security_center.rb} +5 -21
- data/lib/2019-01-01-preview/generated/azure_mgmt_security.rb +42 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/asc_location.rb +73 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/regulatory_compliance_assessment.rb +166 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/regulatory_compliance_assessment_list.rb +99 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/regulatory_compliance_control.rb +126 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/regulatory_compliance_control_list.rb +100 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/regulatory_compliance_standard.rb +127 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/regulatory_compliance_standard_list.rb +99 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/resource.rb +80 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/server_vulnerability_assessment.rb +76 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/server_vulnerability_assessments_list.rb +55 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/models/state.rb +18 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/module_definition.rb +9 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/regulatory_compliance_assessments.rb +359 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/regulatory_compliance_controls.rb +343 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/regulatory_compliance_standards.rb +320 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/security_center.rb +145 -0
- data/lib/2019-01-01-preview/generated/azure_mgmt_security/server_vulnerability_assessment_operations.rb +462 -0
- data/lib/2019-01-01/generated/azure_mgmt_security.rb +41 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/alerts.rb +1280 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/alert.rb +375 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/alert_confidence_reason.rb +59 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/alert_entity.rb +66 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/alert_list.rb +99 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/asc_location.rb +73 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/data_export_setting.rb +81 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/reported_severity.rb +18 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/resource.rb +80 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/setting.rb +70 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/setting_kind.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/setting_resource.rb +75 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/models/settings_list.rb +99 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/module_definition.rb +9 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/security_center.rb +139 -0
- data/lib/2019-01-01/generated/azure_mgmt_security/settings.rb +420 -0
- data/lib/2019-08-01/generated/azure_mgmt_security.rb +63 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/io_tsecurity_solutions.rb +230 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/io_tsecurity_solutions_analytics.rb +227 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/io_tsecurity_solutions_analytics_aggregated_alert.rb +224 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/io_tsecurity_solutions_analytics_aggregated_alerts.rb +243 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/io_tsecurity_solutions_analytics_recommendation.rb +133 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/io_tsecurity_solutions_analytics_recommendations.rb +243 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/io_tsecurity_solutions_resource_group.rb +242 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/iot_security_solution.rb +459 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/asc_location.rb +73 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/data_source.rb +15 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/export_data.rb +15 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_alert.rb +238 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_alert_list.rb +100 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_recommendation.rb +212 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_recommendation_list.rb +101 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_alerted_device.rb +60 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_alerted_devices_list.rb +56 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_device_alert.rb +73 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_device_alerts_list.rb +67 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_device_recommendation.rb +73 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_device_recommendations_list.rb +56 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_solution_analytics_model.rb +149 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_solution_analytics_model_list.rb +68 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_solution_analytics_model_properties_devices_metrics_item.rb +61 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_solution_model.rb +248 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_solutions_list.rb +99 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/io_tseverity_metrics.rb +68 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/recommendation_config_status.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/recommendation_configuration_properties.rb +79 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/recommendation_type.rb +30 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/reported_severity.rb +18 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/resource.rb +80 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/security_solution_status.rb +16 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/tags_resource.rb +55 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/update_iot_security_solution_data.rb +84 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/models/user_defined_resources_properties.rb +68 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/module_definition.rb +9 -0
- data/lib/2019-08-01/generated/azure_mgmt_security/security_center.rb +164 -0
- data/lib/azure_mgmt_security.rb +6 -0
- data/lib/profiles/latest/modules/security_profile_module.rb +652 -40
- data/lib/version.rb +1 -1
- metadata +242 -6
@@ -0,0 +1,84 @@
|
|
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::V2017_08_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class UpdateIotSecuritySolutionData < TagsResource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [UserDefinedResourcesProperties]
|
17
|
+
attr_accessor :user_defined_resources
|
18
|
+
|
19
|
+
# @return [Array<RecommendationConfigurationProperties>]
|
20
|
+
attr_accessor :recommendations_configuration
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for UpdateIotSecuritySolutionData 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: 'UpdateIotSecuritySolutionData',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'UpdateIotSecuritySolutionData',
|
35
|
+
model_properties: {
|
36
|
+
tags: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'tags',
|
40
|
+
type: {
|
41
|
+
name: 'Dictionary',
|
42
|
+
value: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'StringElementType',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
},
|
52
|
+
user_defined_resources: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'userDefinedResources',
|
56
|
+
type: {
|
57
|
+
name: 'Composite',
|
58
|
+
class_name: 'UserDefinedResourcesProperties'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
recommendations_configuration: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'recommendationsConfiguration',
|
65
|
+
type: {
|
66
|
+
name: 'Sequence',
|
67
|
+
element: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'RecommendationConfigurationPropertiesElementType',
|
71
|
+
type: {
|
72
|
+
name: 'Composite',
|
73
|
+
class_name: 'RecommendationConfigurationProperties'
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
@@ -0,0 +1,68 @@
|
|
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::V2017_08_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Properties of the solution's user defined resources.
|
10
|
+
#
|
11
|
+
class UserDefinedResourcesProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Azure Resource Graph query which represents the
|
16
|
+
# security solution's user defined resources. Required to start with
|
17
|
+
# "where type != "Microsoft.Devices/IotHubs""
|
18
|
+
attr_accessor :query
|
19
|
+
|
20
|
+
# @return [Array<String>] List of Azure subscription ids on which the
|
21
|
+
# user defined resources query should be executed.
|
22
|
+
attr_accessor :query_subscriptions
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for UserDefinedResourcesProperties class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'UserDefinedResourcesProperties',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'UserDefinedResourcesProperties',
|
37
|
+
model_properties: {
|
38
|
+
query: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: true,
|
41
|
+
serialized_name: 'query',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
query_subscriptions: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: true,
|
49
|
+
serialized_name: 'querySubscriptions',
|
50
|
+
type: {
|
51
|
+
name: 'Sequence',
|
52
|
+
element: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'StringElementType',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
@@ -0,0 +1,16 @@
|
|
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::V2017_08_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ValueType
|
10
|
+
#
|
11
|
+
module ValueType
|
12
|
+
IpCidr = "IpCidr"
|
13
|
+
String = "String"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -18,7 +18,7 @@ module Azure::Security::Mgmt::V2017_08_01_preview
|
|
18
18
|
@client = client
|
19
19
|
end
|
20
20
|
|
21
|
-
# @return [
|
21
|
+
# @return [SecurityCenter] reference to the SecurityCenter
|
22
22
|
attr_reader :client
|
23
23
|
|
24
24
|
#
|
@@ -55,7 +55,7 @@ module Azure::Security::Mgmt::V2017_08_01_preview
|
|
55
55
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
56
56
|
#
|
57
57
|
def list_async(custom_headers:nil)
|
58
|
-
@client.api_version
|
58
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
59
59
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
60
60
|
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?
|
61
61
|
|
@@ -89,6 +89,8 @@ module Azure::Security::Mgmt::V2017_08_01_preview
|
|
89
89
|
end
|
90
90
|
|
91
91
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
92
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
93
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
92
94
|
# Deserialize Response
|
93
95
|
if status_code == 200
|
94
96
|
begin
|
@@ -146,7 +148,7 @@ module Azure::Security::Mgmt::V2017_08_01_preview
|
|
146
148
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
147
149
|
#
|
148
150
|
def list_by_resource_group_async(resource_group_name, custom_headers:nil)
|
149
|
-
@client.api_version
|
151
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
150
152
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
151
153
|
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?
|
152
154
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -184,6 +186,8 @@ module Azure::Security::Mgmt::V2017_08_01_preview
|
|
184
186
|
end
|
185
187
|
|
186
188
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
189
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
190
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
187
191
|
# Deserialize Response
|
188
192
|
if status_code == 200
|
189
193
|
begin
|
@@ -241,7 +245,7 @@ module Azure::Security::Mgmt::V2017_08_01_preview
|
|
241
245
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
242
246
|
#
|
243
247
|
def get_subscription_pricing_async(pricing_name, custom_headers:nil)
|
244
|
-
@client.api_version
|
248
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
245
249
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
246
250
|
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?
|
247
251
|
fail ArgumentError, 'pricing_name is nil' if pricing_name.nil?
|
@@ -276,6 +280,8 @@ module Azure::Security::Mgmt::V2017_08_01_preview
|
|
276
280
|
end
|
277
281
|
|
278
282
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
283
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
284
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
279
285
|
# Deserialize Response
|
280
286
|
if status_code == 200
|
281
287
|
begin
|
@@ -333,7 +339,7 @@ module Azure::Security::Mgmt::V2017_08_01_preview
|
|
333
339
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
334
340
|
#
|
335
341
|
def update_subscription_pricing_async(pricing_name, pricing, custom_headers:nil)
|
336
|
-
@client.api_version
|
342
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
337
343
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
338
344
|
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?
|
339
345
|
fail ArgumentError, 'pricing_name is nil' if pricing_name.nil?
|
@@ -376,6 +382,8 @@ module Azure::Security::Mgmt::V2017_08_01_preview
|
|
376
382
|
end
|
377
383
|
|
378
384
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
385
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
386
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
379
387
|
# Deserialize Response
|
380
388
|
if status_code == 200
|
381
389
|
begin
|
@@ -436,7 +444,7 @@ module Azure::Security::Mgmt::V2017_08_01_preview
|
|
436
444
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
437
445
|
#
|
438
446
|
def get_resource_group_pricing_async(resource_group_name, pricing_name, custom_headers:nil)
|
439
|
-
@client.api_version
|
447
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
440
448
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
441
449
|
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?
|
442
450
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -475,6 +483,8 @@ module Azure::Security::Mgmt::V2017_08_01_preview
|
|
475
483
|
end
|
476
484
|
|
477
485
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
486
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
487
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
478
488
|
# Deserialize Response
|
479
489
|
if status_code == 200
|
480
490
|
begin
|
@@ -538,7 +548,7 @@ module Azure::Security::Mgmt::V2017_08_01_preview
|
|
538
548
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
539
549
|
#
|
540
550
|
def create_or_update_resource_group_pricing_async(resource_group_name, pricing_name, pricing, custom_headers:nil)
|
541
|
-
@client.api_version
|
551
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
542
552
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
543
553
|
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?
|
544
554
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -585,6 +595,8 @@ module Azure::Security::Mgmt::V2017_08_01_preview
|
|
585
595
|
end
|
586
596
|
|
587
597
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
598
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
599
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
588
600
|
# Deserialize Response
|
589
601
|
if status_code == 200
|
590
602
|
begin
|
@@ -673,6 +685,8 @@ module Azure::Security::Mgmt::V2017_08_01_preview
|
|
673
685
|
end
|
674
686
|
|
675
687
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
688
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
689
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
676
690
|
# Deserialize Response
|
677
691
|
if status_code == 200
|
678
692
|
begin
|
@@ -761,6 +775,8 @@ module Azure::Security::Mgmt::V2017_08_01_preview
|
|
761
775
|
end
|
762
776
|
|
763
777
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
778
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
779
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
764
780
|
# Deserialize Response
|
765
781
|
if status_code == 200
|
766
782
|
begin
|
@@ -0,0 +1,200 @@
|
|
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::V2017_08_01_preview
|
7
|
+
#
|
8
|
+
# A service client - single point of access to the REST API.
|
9
|
+
#
|
10
|
+
class SecurityCenter < MsRestAzure::AzureServiceClient
|
11
|
+
include MsRestAzure
|
12
|
+
include MsRestAzure::Serialization
|
13
|
+
|
14
|
+
# @return [String] the base URI of the service.
|
15
|
+
attr_accessor :base_url
|
16
|
+
|
17
|
+
# @return Credentials needed for the client to connect to Azure.
|
18
|
+
attr_reader :credentials
|
19
|
+
|
20
|
+
# @return [String] API version for the operation
|
21
|
+
attr_reader :api_version
|
22
|
+
|
23
|
+
# @return [String] Azure subscription ID
|
24
|
+
attr_accessor :subscription_id
|
25
|
+
|
26
|
+
# @return [String] The preferred language for the response.
|
27
|
+
attr_accessor :accept_language
|
28
|
+
|
29
|
+
# @return [Integer] The retry timeout in seconds for Long Running
|
30
|
+
# Operations. Default value is 30.
|
31
|
+
attr_accessor :long_running_operation_retry_timeout
|
32
|
+
|
33
|
+
# @return [Boolean] Whether a unique x-ms-client-request-id should be
|
34
|
+
# generated. When set to true a unique x-ms-client-request-id value is
|
35
|
+
# generated and included in each request. Default is true.
|
36
|
+
attr_accessor :generate_client_request_id
|
37
|
+
|
38
|
+
# @return [AdvancedThreatProtection] advanced_threat_protection
|
39
|
+
attr_reader :advanced_threat_protection
|
40
|
+
|
41
|
+
# @return [AutoProvisioningSettings] auto_provisioning_settings
|
42
|
+
attr_reader :auto_provisioning_settings
|
43
|
+
|
44
|
+
# @return [Compliances] compliances
|
45
|
+
attr_reader :compliances
|
46
|
+
|
47
|
+
# @return [DeviceSecurityGroups] device_security_groups
|
48
|
+
attr_reader :device_security_groups
|
49
|
+
|
50
|
+
# @return [InformationProtectionPolicies] information_protection_policies
|
51
|
+
attr_reader :information_protection_policies
|
52
|
+
|
53
|
+
# @return [IoTSecuritySolutionsAnalytics] io_tsecurity_solutions_analytics
|
54
|
+
attr_reader :io_tsecurity_solutions_analytics
|
55
|
+
|
56
|
+
# @return [IoTSecuritySolutionsAnalyticsAggregatedAlerts]
|
57
|
+
# io_tsecurity_solutions_analytics_aggregated_alerts
|
58
|
+
attr_reader :io_tsecurity_solutions_analytics_aggregated_alerts
|
59
|
+
|
60
|
+
# @return [IoTSecuritySolutionsAnalyticsAggregatedAlert]
|
61
|
+
# io_tsecurity_solutions_analytics_aggregated_alert
|
62
|
+
attr_reader :io_tsecurity_solutions_analytics_aggregated_alert
|
63
|
+
|
64
|
+
# @return [IoTSecuritySolutionsAnalyticsRecommendation]
|
65
|
+
# io_tsecurity_solutions_analytics_recommendation
|
66
|
+
attr_reader :io_tsecurity_solutions_analytics_recommendation
|
67
|
+
|
68
|
+
# @return [IoTSecuritySolutionsAnalyticsRecommendations]
|
69
|
+
# io_tsecurity_solutions_analytics_recommendations
|
70
|
+
attr_reader :io_tsecurity_solutions_analytics_recommendations
|
71
|
+
|
72
|
+
# @return [IoTSecuritySolutions] io_tsecurity_solutions
|
73
|
+
attr_reader :io_tsecurity_solutions
|
74
|
+
|
75
|
+
# @return [IoTSecuritySolutionsResourceGroup]
|
76
|
+
# io_tsecurity_solutions_resource_group
|
77
|
+
attr_reader :io_tsecurity_solutions_resource_group
|
78
|
+
|
79
|
+
# @return [IotSecuritySolution] iot_security_solution
|
80
|
+
attr_reader :iot_security_solution
|
81
|
+
|
82
|
+
# @return [Pricings] pricings
|
83
|
+
attr_reader :pricings
|
84
|
+
|
85
|
+
# @return [SecurityContacts] security_contacts
|
86
|
+
attr_reader :security_contacts
|
87
|
+
|
88
|
+
# @return [Settings] settings
|
89
|
+
attr_reader :settings
|
90
|
+
|
91
|
+
# @return [WorkspaceSettings] workspace_settings
|
92
|
+
attr_reader :workspace_settings
|
93
|
+
|
94
|
+
#
|
95
|
+
# Creates initializes a new instance of the SecurityCenter class.
|
96
|
+
# @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
|
97
|
+
# @param base_url [String] the base URI of the service.
|
98
|
+
# @param options [Array] filters to be applied to the HTTP requests.
|
99
|
+
#
|
100
|
+
def initialize(credentials = nil, base_url = nil, options = nil)
|
101
|
+
super(credentials, options)
|
102
|
+
@base_url = base_url || 'https://management.azure.com'
|
103
|
+
|
104
|
+
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
105
|
+
@credentials = credentials
|
106
|
+
|
107
|
+
@advanced_threat_protection = AdvancedThreatProtection.new(self)
|
108
|
+
@auto_provisioning_settings = AutoProvisioningSettings.new(self)
|
109
|
+
@compliances = Compliances.new(self)
|
110
|
+
@device_security_groups = DeviceSecurityGroups.new(self)
|
111
|
+
@information_protection_policies = InformationProtectionPolicies.new(self)
|
112
|
+
@io_tsecurity_solutions_analytics = IoTSecuritySolutionsAnalytics.new(self)
|
113
|
+
@io_tsecurity_solutions_analytics_aggregated_alerts = IoTSecuritySolutionsAnalyticsAggregatedAlerts.new(self)
|
114
|
+
@io_tsecurity_solutions_analytics_aggregated_alert = IoTSecuritySolutionsAnalyticsAggregatedAlert.new(self)
|
115
|
+
@io_tsecurity_solutions_analytics_recommendation = IoTSecuritySolutionsAnalyticsRecommendation.new(self)
|
116
|
+
@io_tsecurity_solutions_analytics_recommendations = IoTSecuritySolutionsAnalyticsRecommendations.new(self)
|
117
|
+
@io_tsecurity_solutions = IoTSecuritySolutions.new(self)
|
118
|
+
@io_tsecurity_solutions_resource_group = IoTSecuritySolutionsResourceGroup.new(self)
|
119
|
+
@iot_security_solution = IotSecuritySolution.new(self)
|
120
|
+
@pricings = Pricings.new(self)
|
121
|
+
@security_contacts = SecurityContacts.new(self)
|
122
|
+
@settings = Settings.new(self)
|
123
|
+
@workspace_settings = WorkspaceSettings.new(self)
|
124
|
+
@api_version = '2017-08-01-preview'
|
125
|
+
@accept_language = 'en-US'
|
126
|
+
@long_running_operation_retry_timeout = 30
|
127
|
+
@generate_client_request_id = true
|
128
|
+
add_telemetry
|
129
|
+
end
|
130
|
+
|
131
|
+
#
|
132
|
+
# Makes a request and returns the body of the response.
|
133
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
134
|
+
# @param path [String] the path, relative to {base_url}.
|
135
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
136
|
+
# @return [Hash{String=>String}] containing the body of the response.
|
137
|
+
# Example:
|
138
|
+
#
|
139
|
+
# request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
|
140
|
+
# path = "/path"
|
141
|
+
# options = {
|
142
|
+
# body: request_content,
|
143
|
+
# query_params: {'api-version' => '2016-02-01'}
|
144
|
+
# }
|
145
|
+
# result = @client.make_request(:put, path, options)
|
146
|
+
#
|
147
|
+
def make_request(method, path, options = {})
|
148
|
+
result = make_request_with_http_info(method, path, options)
|
149
|
+
result.body unless result.nil?
|
150
|
+
end
|
151
|
+
|
152
|
+
#
|
153
|
+
# Makes a request and returns the operation response.
|
154
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
155
|
+
# @param path [String] the path, relative to {base_url}.
|
156
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
157
|
+
# @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
|
158
|
+
#
|
159
|
+
def make_request_with_http_info(method, path, options = {})
|
160
|
+
result = make_request_async(method, path, options).value!
|
161
|
+
result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
|
162
|
+
result
|
163
|
+
end
|
164
|
+
|
165
|
+
#
|
166
|
+
# Makes a request asynchronously.
|
167
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
168
|
+
# @param path [String] the path, relative to {base_url}.
|
169
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
170
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
171
|
+
#
|
172
|
+
def make_request_async(method, path, options = {})
|
173
|
+
fail ArgumentError, 'method is nil' if method.nil?
|
174
|
+
fail ArgumentError, 'path is nil' if path.nil?
|
175
|
+
|
176
|
+
request_url = options[:base_url] || @base_url
|
177
|
+
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
|
178
|
+
@request_headers['Content-Type'] = options[:headers]['Content-Type']
|
179
|
+
end
|
180
|
+
|
181
|
+
request_headers = @request_headers
|
182
|
+
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
|
183
|
+
options.merge!({headers: request_headers.merge(options[:headers] || {})})
|
184
|
+
options.merge!({credentials: @credentials}) unless @credentials.nil?
|
185
|
+
|
186
|
+
super(request_url, method, path, options)
|
187
|
+
end
|
188
|
+
|
189
|
+
|
190
|
+
private
|
191
|
+
#
|
192
|
+
# Adds telemetry information.
|
193
|
+
#
|
194
|
+
def add_telemetry
|
195
|
+
sdk_information = 'azure_mgmt_security'
|
196
|
+
sdk_information = "#{sdk_information}/0.18.0"
|
197
|
+
add_user_agent_information(sdk_information)
|
198
|
+
end
|
199
|
+
end
|
200
|
+
end
|