azure_mgmt_policy_insights 0.17.4 → 0.17.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +20 -20
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights.rb +0 -0
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/column.rb +0 -0
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/operation.rb +0 -0
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/operation_display.rb +0 -0
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/operations_list_results.rb +0 -0
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_events_query_results.rb +0 -0
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_events_query_results_table.rb +0 -0
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_events_query_results_table_columns.rb +0 -0
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_events_query_results_table_metadata.rb +0 -0
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +0 -0
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results_table.rb +0 -0
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results_table_columns.rb +0 -0
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results_table_metadata.rb +0 -0
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_states_resource.rb +0 -0
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/query_failure.rb +0 -0
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/query_failure_error.rb +0 -0
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/query_options.rb +0 -0
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/module_definition.rb +0 -0
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/operations.rb +2 -0
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/policy_events.rb +8 -0
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/policy_states.rb +8 -0
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights.rb +0 -0
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/operation.rb +0 -0
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/operation_display.rb +0 -0
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/operations_list_results.rb +0 -0
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/policy_event.rb +0 -0
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/policy_events_query_results.rb +0 -0
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/policy_state.rb +0 -0
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +0 -0
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/policy_states_resource.rb +0 -0
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/query_failure.rb +0 -0
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/query_failure_error.rb +0 -0
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/query_options.rb +0 -0
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/module_definition.rb +0 -0
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/operations.rb +2 -0
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/policy_events.rb +10 -0
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/policy_states.rb +10 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights.rb +0 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/operation.rb +0 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/operation_display.rb +0 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/operations_list_results.rb +0 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/policy_assignment_summary.rb +0 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/policy_definition_summary.rb +0 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/policy_event.rb +0 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/policy_events_query_results.rb +0 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/policy_state.rb +0 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +0 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/policy_states_resource.rb +0 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/query_failure.rb +0 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/query_failure_error.rb +0 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/query_options.rb +0 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/summarize_results.rb +0 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/summary.rb +0 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/summary_results.rb +0 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/module_definition.rb +0 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/operations.rb +2 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/policy_events.rb +18 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/policy_states.rb +34 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights.rb +0 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/operation.rb +0 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/operation_display.rb +0 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/operations_list_results.rb +0 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/policy_assignment_summary.rb +0 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/policy_definition_summary.rb +0 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/policy_event.rb +0 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/policy_events_query_results.rb +0 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/policy_state.rb +0 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +0 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/policy_states_resource.rb +0 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/query_failure.rb +0 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/query_failure_error.rb +0 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/query_options.rb +0 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/summarize_results.rb +0 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/summary.rb +0 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/summary_results.rb +0 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/module_definition.rb +0 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/operations.rb +2 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_events.rb +18 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_states.rb +34 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/error_definition.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/error_response.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/if_not_exists_evaluation_details.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/operation.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/operation_display.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/operations_list_results.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_assignment_summary.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_definition_summary.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_details.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_evaluation_details.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_state.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_states_resource.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_tracked_resource.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_tracked_resources_query_results.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_failure.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_failure_error.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_options.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_deployment.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_deployment_summary.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_deployments_list_result.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_filters.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_list_result.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/summarize_results.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/summary.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/summary_results.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/tracked_resource_modification_details.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/typed_error_info.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/module_definition.rb +0 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/operations.rb +2 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_states.rb +34 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_tracked_resources.rb +16 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb +64 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights.rb +55 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/compliance_detail.rb +57 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/error_definition.rb +115 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/error_response.rb +47 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb +103 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/if_not_exists_evaluation_details.rb +59 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/operation.rb +59 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/operation_display.rb +79 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/operations_list_results.rb +70 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_assignment_summary.rb +110 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_definition_summary.rb +99 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_evaluation_details.rb +69 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_group_summary.rb +59 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata.rb +168 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata_collection.rb +101 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_state.rb +404 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +82 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_states_resource.rb +16 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/query_failure.rb +47 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/query_failure_error.rb +60 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/query_options.rb +123 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb +145 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/summarize_results.rb +83 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/summary.rb +91 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/summary_results.rb +140 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/typed_error_info.rb +59 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/module_definition.rb +9 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/operations.rb +109 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_insights_client.rb +136 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_metadata_operations.rb +316 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_states.rb +2025 -0
- data/lib/azure_mgmt_policy_insights.rb +3 -2
- data/lib/module_definition.rb +7 -7
- data/lib/profiles/latest/modules/policyinsights_profile_module.rb +39 -9
- data/lib/profiles/latest/policyinsights_latest_profile_client.rb +40 -40
- data/lib/profiles/latest/policyinsights_module_definition.rb +8 -8
- data/lib/version.rb +1 -1
- metadata +36 -5
data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb
ADDED
@@ -0,0 +1,82 @@
|
|
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::V2019_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Query results.
|
10
|
+
#
|
11
|
+
class PolicyStatesQueryResults
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] OData context string; used by OData clients to resolve
|
16
|
+
# type information based on metadata.
|
17
|
+
attr_accessor :odatacontext
|
18
|
+
|
19
|
+
# @return [Integer] OData entity count; represents the number of policy
|
20
|
+
# state records returned.
|
21
|
+
attr_accessor :odatacount
|
22
|
+
|
23
|
+
# @return [Array<PolicyState>] Query results.
|
24
|
+
attr_accessor :value
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for PolicyStatesQueryResults class as Ruby Hash.
|
29
|
+
# This will be used for serialization/deserialization.
|
30
|
+
#
|
31
|
+
def self.mapper()
|
32
|
+
{
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'PolicyStatesQueryResults',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'PolicyStatesQueryResults',
|
39
|
+
model_properties: {
|
40
|
+
odatacontext: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: '@odata\\.context',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
odatacount: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
serialized_name: '@odata\\.count',
|
52
|
+
constraints: {
|
53
|
+
InclusiveMinimum: 0
|
54
|
+
},
|
55
|
+
type: {
|
56
|
+
name: 'Number'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
value: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'value',
|
63
|
+
type: {
|
64
|
+
name: 'Sequence',
|
65
|
+
element: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'PolicyStateElementType',
|
69
|
+
type: {
|
70
|
+
name: 'Composite',
|
71
|
+
class_name: 'PolicyState'
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
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::PolicyInsights::Mgmt::V2019_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for PolicyStatesResource
|
10
|
+
#
|
11
|
+
module PolicyStatesResource
|
12
|
+
Default = "default"
|
13
|
+
Latest = "latest"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
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::V2019_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Error response.
|
10
|
+
#
|
11
|
+
class QueryFailure
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [QueryFailureError] Error definition.
|
16
|
+
attr_accessor :error
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for QueryFailure 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: 'QueryFailure',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'QueryFailure',
|
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: 'QueryFailureError'
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,60 @@
|
|
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::V2019_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Error definition.
|
10
|
+
#
|
11
|
+
class QueryFailureError
|
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
|
+
|
23
|
+
#
|
24
|
+
# Mapper for QueryFailureError 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: 'QueryFailure_error',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'QueryFailureError',
|
35
|
+
model_properties: {
|
36
|
+
code: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
read_only: true,
|
40
|
+
serialized_name: 'code',
|
41
|
+
type: {
|
42
|
+
name: 'String'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
message: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
read_only: true,
|
49
|
+
serialized_name: 'message',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
@@ -0,0 +1,123 @@
|
|
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::V2019_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Additional parameters for a set of operations.
|
10
|
+
#
|
11
|
+
class QueryOptions
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Integer] Maximum number of records to return.
|
16
|
+
attr_accessor :top
|
17
|
+
|
18
|
+
# @return [String] Ordering expression using OData notation. One or more
|
19
|
+
# comma-separated column names with an optional "desc" (the default) or
|
20
|
+
# "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc".
|
21
|
+
attr_accessor :order_by
|
22
|
+
|
23
|
+
# @return [String] Select expression using OData notation. Limits the
|
24
|
+
# columns on each record to just those requested, e.g.
|
25
|
+
# "$select=PolicyAssignmentId, ResourceId".
|
26
|
+
attr_accessor :select
|
27
|
+
|
28
|
+
# @return [DateTime] ISO 8601 formatted timestamp specifying the start
|
29
|
+
# time of the interval to query. When not specified, the service uses
|
30
|
+
# ($to - 1-day).
|
31
|
+
attr_accessor :from
|
32
|
+
|
33
|
+
# @return [DateTime] ISO 8601 formatted timestamp specifying the end time
|
34
|
+
# of the interval to query. When not specified, the service uses request
|
35
|
+
# time.
|
36
|
+
attr_accessor :to
|
37
|
+
|
38
|
+
# @return [String] OData filter expression.
|
39
|
+
attr_accessor :filter
|
40
|
+
|
41
|
+
# @return [String] OData apply expression for aggregations.
|
42
|
+
attr_accessor :apply
|
43
|
+
|
44
|
+
# @return [String] The $expand query parameter. For example, to expand
|
45
|
+
# policyEvaluationDetails, use $expand=policyEvaluationDetails
|
46
|
+
attr_accessor :expand
|
47
|
+
|
48
|
+
|
49
|
+
#
|
50
|
+
# Mapper for QueryOptions class as Ruby Hash.
|
51
|
+
# This will be used for serialization/deserialization.
|
52
|
+
#
|
53
|
+
def self.mapper()
|
54
|
+
{
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
type: {
|
58
|
+
name: 'Composite',
|
59
|
+
class_name: 'QueryOptions',
|
60
|
+
model_properties: {
|
61
|
+
top: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
type: {
|
65
|
+
name: 'Number'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
order_by: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
type: {
|
72
|
+
name: 'String'
|
73
|
+
}
|
74
|
+
},
|
75
|
+
select: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
type: {
|
79
|
+
name: 'String'
|
80
|
+
}
|
81
|
+
},
|
82
|
+
from: {
|
83
|
+
client_side_validation: true,
|
84
|
+
required: false,
|
85
|
+
type: {
|
86
|
+
name: 'DateTime'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
to: {
|
90
|
+
client_side_validation: true,
|
91
|
+
required: false,
|
92
|
+
type: {
|
93
|
+
name: 'DateTime'
|
94
|
+
}
|
95
|
+
},
|
96
|
+
filter: {
|
97
|
+
client_side_validation: true,
|
98
|
+
required: false,
|
99
|
+
type: {
|
100
|
+
name: 'String'
|
101
|
+
}
|
102
|
+
},
|
103
|
+
apply: {
|
104
|
+
client_side_validation: true,
|
105
|
+
required: false,
|
106
|
+
type: {
|
107
|
+
name: 'String'
|
108
|
+
}
|
109
|
+
},
|
110
|
+
expand: {
|
111
|
+
client_side_validation: true,
|
112
|
+
required: false,
|
113
|
+
type: {
|
114
|
+
name: 'String'
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
118
|
+
}
|
119
|
+
}
|
120
|
+
end
|
121
|
+
end
|
122
|
+
end
|
123
|
+
end
|
@@ -0,0 +1,145 @@
|
|
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::V2019_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Slim version of policy metadata resource definition, excluding properties
|
10
|
+
# with large strings
|
11
|
+
#
|
12
|
+
class SlimPolicyMetadata
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] The policy metadata identifier.
|
17
|
+
attr_accessor :metadata_id
|
18
|
+
|
19
|
+
# @return [String] The category of the policy metadata.
|
20
|
+
attr_accessor :category
|
21
|
+
|
22
|
+
# @return [String] The title of the policy metadata.
|
23
|
+
attr_accessor :title
|
24
|
+
|
25
|
+
# @return [String] The owner of the policy metadata.
|
26
|
+
attr_accessor :owner
|
27
|
+
|
28
|
+
# @return [String] Url for getting additional content about the resource
|
29
|
+
# metadata.
|
30
|
+
attr_accessor :additional_content_url
|
31
|
+
|
32
|
+
# @return Additional metadata.
|
33
|
+
attr_accessor :metadata
|
34
|
+
|
35
|
+
# @return [String] The ID of the policy metadata.
|
36
|
+
attr_accessor :id
|
37
|
+
|
38
|
+
# @return [String] The type of the policy metadata.
|
39
|
+
attr_accessor :type
|
40
|
+
|
41
|
+
# @return [String] The name of the policy metadata.
|
42
|
+
attr_accessor :name
|
43
|
+
|
44
|
+
|
45
|
+
#
|
46
|
+
# Mapper for SlimPolicyMetadata class as Ruby Hash.
|
47
|
+
# This will be used for serialization/deserialization.
|
48
|
+
#
|
49
|
+
def self.mapper()
|
50
|
+
{
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'SlimPolicyMetadata',
|
54
|
+
type: {
|
55
|
+
name: 'Composite',
|
56
|
+
class_name: 'SlimPolicyMetadata',
|
57
|
+
model_properties: {
|
58
|
+
metadata_id: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
read_only: true,
|
62
|
+
serialized_name: 'properties.metadataId',
|
63
|
+
type: {
|
64
|
+
name: 'String'
|
65
|
+
}
|
66
|
+
},
|
67
|
+
category: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
read_only: true,
|
71
|
+
serialized_name: 'properties.category',
|
72
|
+
type: {
|
73
|
+
name: 'String'
|
74
|
+
}
|
75
|
+
},
|
76
|
+
title: {
|
77
|
+
client_side_validation: true,
|
78
|
+
required: false,
|
79
|
+
read_only: true,
|
80
|
+
serialized_name: 'properties.title',
|
81
|
+
type: {
|
82
|
+
name: 'String'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
owner: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
read_only: true,
|
89
|
+
serialized_name: 'properties.owner',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
},
|
94
|
+
additional_content_url: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: false,
|
97
|
+
read_only: true,
|
98
|
+
serialized_name: 'properties.additionalContentUrl',
|
99
|
+
type: {
|
100
|
+
name: 'String'
|
101
|
+
}
|
102
|
+
},
|
103
|
+
metadata: {
|
104
|
+
client_side_validation: true,
|
105
|
+
required: false,
|
106
|
+
read_only: true,
|
107
|
+
serialized_name: 'properties.metadata',
|
108
|
+
type: {
|
109
|
+
name: 'Object'
|
110
|
+
}
|
111
|
+
},
|
112
|
+
id: {
|
113
|
+
client_side_validation: true,
|
114
|
+
required: false,
|
115
|
+
read_only: true,
|
116
|
+
serialized_name: 'id',
|
117
|
+
type: {
|
118
|
+
name: 'String'
|
119
|
+
}
|
120
|
+
},
|
121
|
+
type: {
|
122
|
+
client_side_validation: true,
|
123
|
+
required: false,
|
124
|
+
read_only: true,
|
125
|
+
serialized_name: 'type',
|
126
|
+
type: {
|
127
|
+
name: 'String'
|
128
|
+
}
|
129
|
+
},
|
130
|
+
name: {
|
131
|
+
client_side_validation: true,
|
132
|
+
required: false,
|
133
|
+
read_only: true,
|
134
|
+
serialized_name: 'name',
|
135
|
+
type: {
|
136
|
+
name: 'String'
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
end
|
143
|
+
end
|
144
|
+
end
|
145
|
+
end
|