azure_mgmt_policy_insights 0.17.0 → 0.17.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_events_query_results_table_columns.rb +1 -1
  3. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results_table_columns.rb +1 -1
  4. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
  5. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/policy_event.rb +1 -1
  6. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/policy_state.rb +1 -1
  7. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
  8. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/policy_event.rb +1 -1
  9. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/policy_state.rb +1 -1
  10. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
  11. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/policy_event.rb +1 -1
  12. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/policy_state.rb +1 -1
  13. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/query_failure_error.rb +2 -0
  14. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
  15. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights.rb +45 -0
  16. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/error_definition.rb +115 -0
  17. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/error_response.rb +47 -0
  18. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_details.rb +108 -0
  19. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_tracked_resource.rb +102 -0
  20. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_tracked_resources_query_results.rb +100 -0
  21. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_failure.rb +47 -0
  22. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_failure_error.rb +60 -0
  23. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_options.rb +54 -0
  24. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation.rb +158 -0
  25. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_deployment.rb +124 -0
  26. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_deployment_summary.rb +72 -0
  27. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_deployments_list_result.rb +101 -0
  28. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_filters.rb +55 -0
  29. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_list_result.rb +100 -0
  30. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/tracked_resource_modification_details.rb +76 -0
  31. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/typed_error_info.rb +59 -0
  32. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/module_definition.rb +9 -0
  33. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +135 -0
  34. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_tracked_resources.rb +860 -0
  35. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb +3230 -0
  36. data/lib/azure_mgmt_policy_insights.rb +1 -0
  37. data/lib/profiles/latest/modules/policyinsights_profile_module.rb +78 -14
  38. data/lib/version.rb +1 -1
  39. metadata +24 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: e550548a9b34d79e87bed664fcff1b6f0ded50b5
4
- data.tar.gz: be6d4a4b6f42df95a6a67e8ee29fc772529f4d7d
2
+ SHA256:
3
+ metadata.gz: 149bcd4f9b8321061c40307b0b46934fca1c6f29b2bc94188c1d6b040cbeeb4e
4
+ data.tar.gz: 4513de047c5d3675fb2a87adb2c08244c4d5588708864988f3d10464acae96e5
5
5
  SHA512:
6
- metadata.gz: 5f0e08aa17fece7dbc35e0e34e0858bf7eefbae3cac04302da874daaec2b17e089d1f791570c946d23049982ae5f18e6bb1eafba07c92304f50d696f3e9e7714
7
- data.tar.gz: 63bcad33ffe059b16fcf707070cca86bed39a7467ff6e83bdc33d266a22d7c68c0926bdc622b8dcee2b352529601b212d9da9822abbcc4f39c005762e1a13b89
6
+ metadata.gz: eeee20d0f1f9c322babf90cb1d70687194b328c7cfe45f00fb77e40540cd5f5e1aa8fd860bd036e74bcdc3b6d5a04c0b8bc27c0430d141ddf246a4544d442a4d
7
+ data.tar.gz: ebabe8f1fc7b2ffddd5c5760037540ec23c005affba45be2ccf4ce11c7900821a6b2aac656bc25ddc90c05e56d0d3caf48a1136d5581416e27f3cc724c7b8463
@@ -91,7 +91,7 @@ module Azure::PolicyInsights::Mgmt::V2017_08_09_preview
91
91
  # assignment is for a policy set.
92
92
  attr_accessor :policy_set_definition_parameters
93
93
 
94
- # @return [Column] Comma seperated list of management group IDs, which
94
+ # @return [Column] Comma separated list of management group IDs, which
95
95
  # represent the hierarchy of the management groups the resource is under.
96
96
  attr_accessor :management_group_ids
97
97
 
@@ -91,7 +91,7 @@ module Azure::PolicyInsights::Mgmt::V2017_08_09_preview
91
91
  # assignment is for a policy set.
92
92
  attr_accessor :policy_set_definition_parameters
93
93
 
94
- # @return [Column] Comma seperated list of management group IDs, which
94
+ # @return [Column] Comma separated list of management group IDs, which
95
95
  # represent the hierarchy of the management groups the resource is under.
96
96
  attr_accessor :management_group_ids
97
97
 
@@ -129,7 +129,7 @@ module Azure::PolicyInsights::Mgmt::V2017_08_09_preview
129
129
  #
130
130
  def add_telemetry
131
131
  sdk_information = 'azure_mgmt_policy_insights'
132
- sdk_information = "#{sdk_information}/0.17.0"
132
+ sdk_information = "#{sdk_information}/0.17.1"
133
133
  add_user_agent_information(sdk_information)
134
134
  end
135
135
  end
@@ -99,7 +99,7 @@ module Azure::PolicyInsights::Mgmt::V2017_10_17_preview
99
99
  # assignment is for a policy set.
100
100
  attr_accessor :policy_set_definition_parameters
101
101
 
102
- # @return [String] Comma seperated list of management group IDs, which
102
+ # @return [String] Comma separated list of management group IDs, which
103
103
  # represent the hierarchy of the management groups the resource is under.
104
104
  attr_accessor :management_group_ids
105
105
 
@@ -99,7 +99,7 @@ module Azure::PolicyInsights::Mgmt::V2017_10_17_preview
99
99
  # assignment is for a policy set.
100
100
  attr_accessor :policy_set_definition_parameters
101
101
 
102
- # @return [String] Comma seperated list of management group IDs, which
102
+ # @return [String] Comma separated list of management group IDs, which
103
103
  # represent the hierarchy of the management groups the resource is under.
104
104
  attr_accessor :management_group_ids
105
105
 
@@ -129,7 +129,7 @@ module Azure::PolicyInsights::Mgmt::V2017_10_17_preview
129
129
  #
130
130
  def add_telemetry
131
131
  sdk_information = 'azure_mgmt_policy_insights'
132
- sdk_information = "#{sdk_information}/0.17.0"
132
+ sdk_information = "#{sdk_information}/0.17.1"
133
133
  add_user_agent_information(sdk_information)
134
134
  end
135
135
  end
@@ -99,7 +99,7 @@ module Azure::PolicyInsights::Mgmt::V2017_12_12_preview
99
99
  # assignment is for a policy set.
100
100
  attr_accessor :policy_set_definition_parameters
101
101
 
102
- # @return [String] Comma seperated list of management group IDs, which
102
+ # @return [String] Comma separated list of management group IDs, which
103
103
  # represent the hierarchy of the management groups the resource is under.
104
104
  attr_accessor :management_group_ids
105
105
 
@@ -99,7 +99,7 @@ module Azure::PolicyInsights::Mgmt::V2017_12_12_preview
99
99
  # assignment is for a policy set.
100
100
  attr_accessor :policy_set_definition_parameters
101
101
 
102
- # @return [String] Comma seperated list of management group IDs, which
102
+ # @return [String] Comma separated list of management group IDs, which
103
103
  # represent the hierarchy of the management groups the resource is under.
104
104
  attr_accessor :management_group_ids
105
105
 
@@ -129,7 +129,7 @@ module Azure::PolicyInsights::Mgmt::V2017_12_12_preview
129
129
  #
130
130
  def add_telemetry
131
131
  sdk_information = 'azure_mgmt_policy_insights'
132
- sdk_information = "#{sdk_information}/0.17.0"
132
+ sdk_information = "#{sdk_information}/0.17.1"
133
133
  add_user_agent_information(sdk_information)
134
134
  end
135
135
  end
@@ -99,7 +99,7 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
99
99
  # assignment is for a policy set.
100
100
  attr_accessor :policy_set_definition_parameters
101
101
 
102
- # @return [String] Comma seperated list of management group IDs, which
102
+ # @return [String] Comma separated list of management group IDs, which
103
103
  # represent the hierarchy of the management groups the resource is under.
104
104
  attr_accessor :management_group_ids
105
105
 
@@ -99,7 +99,7 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
99
99
  # assignment is for a policy set.
100
100
  attr_accessor :policy_set_definition_parameters
101
101
 
102
- # @return [String] Comma seperated list of management group IDs, which
102
+ # @return [String] Comma separated list of management group IDs, which
103
103
  # represent the hierarchy of the management groups the resource is under.
104
104
  attr_accessor :management_group_ids
105
105
 
@@ -36,6 +36,7 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
36
36
  code: {
37
37
  client_side_validation: true,
38
38
  required: false,
39
+ read_only: true,
39
40
  serialized_name: 'code',
40
41
  type: {
41
42
  name: 'String'
@@ -44,6 +45,7 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
44
45
  message: {
45
46
  client_side_validation: true,
46
47
  required: false,
48
+ read_only: true,
47
49
  serialized_name: 'message',
48
50
  type: {
49
51
  name: 'String'
@@ -129,7 +129,7 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
129
129
  #
130
130
  def add_telemetry
131
131
  sdk_information = 'azure_mgmt_policy_insights'
132
- sdk_information = "#{sdk_information}/0.17.0"
132
+ sdk_information = "#{sdk_information}/0.17.1"
133
133
  add_user_agent_information(sdk_information)
134
134
  end
135
135
  end
@@ -0,0 +1,45 @@
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
+ require 'uri'
7
+ require 'cgi'
8
+ require 'date'
9
+ require 'json'
10
+ require 'base64'
11
+ require 'erb'
12
+ require 'securerandom'
13
+ require 'time'
14
+ require 'timeliness'
15
+ require 'faraday'
16
+ require 'faraday-cookie_jar'
17
+ require 'concurrent'
18
+ require 'ms_rest'
19
+ require '2018-07-01-preview/generated/azure_mgmt_policy_insights/module_definition'
20
+ require 'ms_rest_azure'
21
+
22
+ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
23
+ autoload :PolicyTrackedResources, '2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_tracked_resources.rb'
24
+ autoload :Remediations, '2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb'
25
+ autoload :PolicyInsightsClient, '2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb'
26
+
27
+ module Models
28
+ autoload :Remediation, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation.rb'
29
+ autoload :PolicyDetails, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_details.rb'
30
+ autoload :RemediationListResult, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_list_result.rb'
31
+ autoload :PolicyTrackedResource, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_tracked_resource.rb'
32
+ autoload :TypedErrorInfo, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/typed_error_info.rb'
33
+ autoload :QueryFailureError, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_failure_error.rb'
34
+ autoload :ErrorDefinition, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/error_definition.rb'
35
+ autoload :RemediationFilters, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_filters.rb'
36
+ autoload :RemediationDeployment, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_deployment.rb'
37
+ autoload :TrackedResourceModificationDetails, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/tracked_resource_modification_details.rb'
38
+ autoload :RemediationDeploymentsListResult, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_deployments_list_result.rb'
39
+ autoload :QueryFailure, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_failure.rb'
40
+ autoload :ErrorResponse, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/error_response.rb'
41
+ autoload :PolicyTrackedResourcesQueryResults, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_tracked_resources_query_results.rb'
42
+ autoload :QueryOptions, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_options.rb'
43
+ autoload :RemediationDeploymentSummary, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_deployment_summary.rb'
44
+ end
45
+ end
@@ -0,0 +1,115 @@
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::PolicyInsights::Mgmt::V2018_07_01_preview
7
+ module Models
8
+ #
9
+ # Error definition.
10
+ #
11
+ class ErrorDefinition
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Service specific error code which serves as the
16
+ # substatus for the HTTP error code.
17
+ attr_accessor :code
18
+
19
+ # @return [String] Description of the error.
20
+ attr_accessor :message
21
+
22
+ # @return [String] The target of the error.
23
+ attr_accessor :target
24
+
25
+ # @return [Array<ErrorDefinition>] Internal error details.
26
+ attr_accessor :details
27
+
28
+ # @return [Array<TypedErrorInfo>] Additional scenario specific error
29
+ # details.
30
+ attr_accessor :additional_info
31
+
32
+
33
+ #
34
+ # Mapper for ErrorDefinition class as Ruby Hash.
35
+ # This will be used for serialization/deserialization.
36
+ #
37
+ def self.mapper()
38
+ {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'ErrorDefinition',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'ErrorDefinition',
45
+ model_properties: {
46
+ code: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ read_only: true,
50
+ serialized_name: 'code',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ message: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ read_only: true,
59
+ serialized_name: 'message',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ },
64
+ target: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ read_only: true,
68
+ serialized_name: 'target',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ },
73
+ details: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ read_only: true,
77
+ serialized_name: 'details',
78
+ type: {
79
+ name: 'Sequence',
80
+ element: {
81
+ client_side_validation: true,
82
+ required: false,
83
+ serialized_name: 'ErrorDefinitionElementType',
84
+ type: {
85
+ name: 'Composite',
86
+ class_name: 'ErrorDefinition'
87
+ }
88
+ }
89
+ }
90
+ },
91
+ additional_info: {
92
+ client_side_validation: true,
93
+ required: false,
94
+ read_only: true,
95
+ serialized_name: 'additionalInfo',
96
+ type: {
97
+ name: 'Sequence',
98
+ element: {
99
+ client_side_validation: true,
100
+ required: false,
101
+ serialized_name: 'TypedErrorInfoElementType',
102
+ type: {
103
+ name: 'Composite',
104
+ class_name: 'TypedErrorInfo'
105
+ }
106
+ }
107
+ }
108
+ }
109
+ }
110
+ }
111
+ }
112
+ end
113
+ end
114
+ end
115
+ end
@@ -0,0 +1,47 @@
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::PolicyInsights::Mgmt::V2018_07_01_preview
7
+ module Models
8
+ #
9
+ # Error response.
10
+ #
11
+ class ErrorResponse
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ErrorDefinition] The error details.
16
+ attr_accessor :error
17
+
18
+
19
+ #
20
+ # Mapper for ErrorResponse class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'ErrorResponse',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'ErrorResponse',
31
+ model_properties: {
32
+ error: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'error',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'ErrorDefinition'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,108 @@
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::PolicyInsights::Mgmt::V2018_07_01_preview
7
+ module Models
8
+ #
9
+ # The policy details.
10
+ #
11
+ class PolicyDetails
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The ID of the policy definition.
16
+ attr_accessor :policy_definition_id
17
+
18
+ # @return [String] The ID of the policy assignment.
19
+ attr_accessor :policy_assignment_id
20
+
21
+ # @return [String] The display name of the policy assignment.
22
+ attr_accessor :policy_assignment_display_name
23
+
24
+ # @return [String] The scope of the policy assignment.
25
+ attr_accessor :policy_assignment_scope
26
+
27
+ # @return [String] The ID of the policy set definition.
28
+ attr_accessor :policy_set_definition_id
29
+
30
+ # @return [String] The policy definition reference ID within the policy
31
+ # set definition.
32
+ attr_accessor :policy_definition_reference_id
33
+
34
+
35
+ #
36
+ # Mapper for PolicyDetails class as Ruby Hash.
37
+ # This will be used for serialization/deserialization.
38
+ #
39
+ def self.mapper()
40
+ {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'PolicyDetails',
44
+ type: {
45
+ name: 'Composite',
46
+ class_name: 'PolicyDetails',
47
+ model_properties: {
48
+ policy_definition_id: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ read_only: true,
52
+ serialized_name: 'policyDefinitionId',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ policy_assignment_id: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ read_only: true,
61
+ serialized_name: 'policyAssignmentId',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ policy_assignment_display_name: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ read_only: true,
70
+ serialized_name: 'policyAssignmentDisplayName',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ policy_assignment_scope: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ read_only: true,
79
+ serialized_name: 'policyAssignmentScope',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ },
84
+ policy_set_definition_id: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ read_only: true,
88
+ serialized_name: 'policySetDefinitionId',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ },
93
+ policy_definition_reference_id: {
94
+ client_side_validation: true,
95
+ required: false,
96
+ read_only: true,
97
+ serialized_name: 'policyDefinitionReferenceId',
98
+ type: {
99
+ name: 'String'
100
+ }
101
+ }
102
+ }
103
+ }
104
+ }
105
+ end
106
+ end
107
+ end
108
+ end