azure_mgmt_policy_insights 0.17.2 → 0.17.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights.rb +27 -11
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb +103 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/if_not_exists_evaluation_details.rb +59 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/operation.rb +59 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/operation_display.rb +79 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/operations_list_results.rb +70 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_assignment_summary.rb +91 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_definition_summary.rb +81 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_evaluation_details.rb +69 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_state.rb +384 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +82 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_states_resource.rb +16 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_options.rb +69 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/summarize_results.rb +83 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/summary.rb +92 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/summary_results.rb +76 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/operations.rb +107 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +9 -1
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_states.rb +2093 -0
- data/lib/profiles/latest/modules/policyinsights_profile_module.rb +91 -79
- data/lib/version.rb +1 -1
- metadata +18 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cbcca36bfeaec44d91671e49081dae8c1097db3ffa6268813b3dbb0d5e4126b
|
4
|
+
data.tar.gz: aa447bc7448b9bdd80949eae8e7e8f096cf37d7a981d49fdc295d6af807139bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02dc7af60d5b24230082e8dacf80e1c61d448f1a5772f3fdf384e996680257632b29878b5a298ea4828ad08a31fa63e05b8f0bde55ead52e6da1b20e51da90aa
|
7
|
+
data.tar.gz: 270c9fe2ba38ecfdeba64572de3625d9565e7082b6b224014f592b0bd9ce5fc9cf969b4019cd759639cabc5fdcd212236843b8c1b9f801f2f4274968071cd901
|
@@ -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.
|
132
|
+
sdk_information = "#{sdk_information}/0.17.3"
|
133
133
|
add_user_agent_information(sdk_information)
|
134
134
|
end
|
135
135
|
end
|
@@ -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.
|
132
|
+
sdk_information = "#{sdk_information}/0.17.3"
|
133
133
|
add_user_agent_information(sdk_information)
|
134
134
|
end
|
135
135
|
end
|
@@ -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.
|
132
|
+
sdk_information = "#{sdk_information}/0.17.3"
|
133
133
|
add_user_agent_information(sdk_information)
|
134
134
|
end
|
135
135
|
end
|
@@ -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.
|
132
|
+
sdk_information = "#{sdk_information}/0.17.3"
|
133
133
|
add_user_agent_information(sdk_information)
|
134
134
|
end
|
135
135
|
end
|
@@ -22,24 +22,40 @@ require 'ms_rest_azure'
|
|
22
22
|
module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
23
23
|
autoload :PolicyTrackedResources, '2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_tracked_resources.rb'
|
24
24
|
autoload :Remediations, '2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb'
|
25
|
+
autoload :PolicyStates, '2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_states.rb'
|
26
|
+
autoload :Operations, '2018-07-01-preview/generated/azure_mgmt_policy_insights/operations.rb'
|
25
27
|
autoload :PolicyInsightsClient, '2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb'
|
26
28
|
|
27
29
|
module Models
|
28
|
-
autoload :
|
29
|
-
autoload :
|
30
|
+
autoload :ErrorResponse, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/error_response.rb'
|
31
|
+
autoload :ExpressionEvaluationDetails, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb'
|
32
|
+
autoload :TrackedResourceModificationDetails, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/tracked_resource_modification_details.rb'
|
33
|
+
autoload :IfNotExistsEvaluationDetails, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/if_not_exists_evaluation_details.rb'
|
34
|
+
autoload :PolicyTrackedResourcesQueryResults, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_tracked_resources_query_results.rb'
|
35
|
+
autoload :PolicyEvaluationDetails, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_evaluation_details.rb'
|
36
|
+
autoload :QueryFailure, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_failure.rb'
|
37
|
+
autoload :PolicyState, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_state.rb'
|
38
|
+
autoload :RemediationDeploymentSummary, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_deployment_summary.rb'
|
39
|
+
autoload :PolicyStatesQueryResults, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb'
|
30
40
|
autoload :RemediationListResult, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_list_result.rb'
|
41
|
+
autoload :SummaryResults, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/summary_results.rb'
|
42
|
+
autoload :ErrorDefinition, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/error_definition.rb'
|
43
|
+
autoload :PolicyDefinitionSummary, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_definition_summary.rb'
|
44
|
+
autoload :RemediationDeploymentsListResult, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_deployments_list_result.rb'
|
45
|
+
autoload :PolicyAssignmentSummary, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_assignment_summary.rb'
|
31
46
|
autoload :PolicyTrackedResource, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_tracked_resource.rb'
|
47
|
+
autoload :Summary, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/summary.rb'
|
48
|
+
autoload :RemediationFilters, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_filters.rb'
|
49
|
+
autoload :SummarizeResults, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/summarize_results.rb'
|
32
50
|
autoload :TypedErrorInfo, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/typed_error_info.rb'
|
51
|
+
autoload :OperationDisplay, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/operation_display.rb'
|
52
|
+
autoload :PolicyDetails, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_details.rb'
|
53
|
+
autoload :Operation, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/operation.rb'
|
54
|
+
autoload :Remediation, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation.rb'
|
55
|
+
autoload :OperationsListResults, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/operations_list_results.rb'
|
33
56
|
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
57
|
autoload :QueryOptions, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_options.rb'
|
43
|
-
autoload :
|
58
|
+
autoload :RemediationDeployment, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_deployment.rb'
|
59
|
+
autoload :PolicyStatesResource, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_states_resource.rb'
|
44
60
|
end
|
45
61
|
end
|
@@ -0,0 +1,103 @@
|
|
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
|
+
# Evaluation details of policy language expressions.
|
10
|
+
#
|
11
|
+
class ExpressionEvaluationDetails
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Evaluation result.
|
16
|
+
attr_accessor :result
|
17
|
+
|
18
|
+
# @return [String] Expression evaluated.
|
19
|
+
attr_accessor :expression
|
20
|
+
|
21
|
+
# @return [String] Property path if the expression is a field or an
|
22
|
+
# alias.
|
23
|
+
attr_accessor :path
|
24
|
+
|
25
|
+
# @return [String] Value of the expression.
|
26
|
+
attr_accessor :expression_value
|
27
|
+
|
28
|
+
# @return [String] Target value to be compared with the expression value.
|
29
|
+
attr_accessor :target_value
|
30
|
+
|
31
|
+
# @return [String] Operator to compare the expression value and the
|
32
|
+
# target value.
|
33
|
+
attr_accessor :operator
|
34
|
+
|
35
|
+
|
36
|
+
#
|
37
|
+
# Mapper for ExpressionEvaluationDetails class as Ruby Hash.
|
38
|
+
# This will be used for serialization/deserialization.
|
39
|
+
#
|
40
|
+
def self.mapper()
|
41
|
+
{
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'ExpressionEvaluationDetails',
|
45
|
+
type: {
|
46
|
+
name: 'Composite',
|
47
|
+
class_name: 'ExpressionEvaluationDetails',
|
48
|
+
model_properties: {
|
49
|
+
result: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'result',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
expression: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'expression',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
path: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'path',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
expression_value: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'expressionValue',
|
77
|
+
type: {
|
78
|
+
name: 'String'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
target_value: {
|
82
|
+
client_side_validation: true,
|
83
|
+
required: false,
|
84
|
+
serialized_name: 'targetValue',
|
85
|
+
type: {
|
86
|
+
name: 'String'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
operator: {
|
90
|
+
client_side_validation: true,
|
91
|
+
required: false,
|
92
|
+
serialized_name: 'operator',
|
93
|
+
type: {
|
94
|
+
name: 'String'
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
@@ -0,0 +1,59 @@
|
|
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
|
+
# Evaluation details of IfNotExists effect.
|
10
|
+
#
|
11
|
+
class IfNotExistsEvaluationDetails
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] ID of the last evaluated resource for IfNotExists
|
16
|
+
# effect.
|
17
|
+
attr_accessor :resource_id
|
18
|
+
|
19
|
+
# @return [Integer] Total number of resources to which the existence
|
20
|
+
# condition is applicable.
|
21
|
+
attr_accessor :total_resources
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for IfNotExistsEvaluationDetails class as Ruby Hash.
|
26
|
+
# This will be used for serialization/deserialization.
|
27
|
+
#
|
28
|
+
def self.mapper()
|
29
|
+
{
|
30
|
+
client_side_validation: true,
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'IfNotExistsEvaluationDetails',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'IfNotExistsEvaluationDetails',
|
36
|
+
model_properties: {
|
37
|
+
resource_id: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'resourceId',
|
41
|
+
type: {
|
42
|
+
name: 'String'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
total_resources: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'totalResources',
|
49
|
+
type: {
|
50
|
+
name: 'Number'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,59 @@
|
|
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
|
+
# Operation definition.
|
10
|
+
#
|
11
|
+
class Operation
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Operation name.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [OperationDisplay] Display metadata associated with the
|
19
|
+
# operation.
|
20
|
+
attr_accessor :display
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for Operation 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: 'Operation',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'Operation',
|
35
|
+
model_properties: {
|
36
|
+
name: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'name',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
display: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'display',
|
48
|
+
type: {
|
49
|
+
name: 'Composite',
|
50
|
+
class_name: 'OperationDisplay'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,79 @@
|
|
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
|
+
# Display metadata associated with the operation.
|
10
|
+
#
|
11
|
+
class OperationDisplay
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Resource provider name.
|
16
|
+
attr_accessor :provider
|
17
|
+
|
18
|
+
# @return [String] Resource name on which the operation is performed.
|
19
|
+
attr_accessor :resource
|
20
|
+
|
21
|
+
# @return [String] Operation name.
|
22
|
+
attr_accessor :operation
|
23
|
+
|
24
|
+
# @return [String] Operation description.
|
25
|
+
attr_accessor :description
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for OperationDisplay class as Ruby Hash.
|
30
|
+
# This will be used for serialization/deserialization.
|
31
|
+
#
|
32
|
+
def self.mapper()
|
33
|
+
{
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'Operation_display',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'OperationDisplay',
|
40
|
+
model_properties: {
|
41
|
+
provider: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'provider',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
resource: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'resource',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
operation: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'operation',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
description: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'description',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/operations_list_results.rb
ADDED
@@ -0,0 +1,70 @@
|
|
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
|
+
# List of available operations.
|
10
|
+
#
|
11
|
+
class OperationsListResults
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Integer] OData entity count; represents the number of
|
16
|
+
# operations returned.
|
17
|
+
attr_accessor :odatacount
|
18
|
+
|
19
|
+
# @return [Array<Operation>] List of available operations.
|
20
|
+
attr_accessor :value
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for OperationsListResults 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: 'OperationsListResults',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'OperationsListResults',
|
35
|
+
model_properties: {
|
36
|
+
odatacount: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: '@odata\\.count',
|
40
|
+
constraints: {
|
41
|
+
InclusiveMinimum: 1
|
42
|
+
},
|
43
|
+
type: {
|
44
|
+
name: 'Number'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
value: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
serialized_name: 'value',
|
51
|
+
type: {
|
52
|
+
name: 'Sequence',
|
53
|
+
element: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
serialized_name: 'OperationElementType',
|
57
|
+
type: {
|
58
|
+
name: 'Composite',
|
59
|
+
class_name: 'Operation'
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|