azure_mgmt_policy 0.17.1 → 0.17.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/2015-10-01-preview/generated/azure_mgmt_policy/policy_assignments.rb +9 -9
- data/lib/2015-10-01-preview/generated/azure_mgmt_policy/policy_client.rb +1 -1
- data/lib/2016-04-01/generated/azure_mgmt_policy/policy_assignments.rb +9 -9
- data/lib/2016-04-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
- data/lib/2016-12-01/generated/azure_mgmt_policy/policy_assignments.rb +9 -9
- data/lib/2016-12-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
- data/lib/2017-06-01-preview/generated/azure_mgmt_policy/models/error_response.rb +1 -1
- data/lib/2017-06-01-preview/generated/azure_mgmt_policy/policy_assignments.rb +9 -9
- data/lib/2017-06-01-preview/generated/azure_mgmt_policy/policy_client.rb +1 -1
- data/lib/2018-03-01/generated/azure_mgmt_policy/models/error_response.rb +2 -2
- data/lib/2018-03-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
- data/lib/2018-05-01/generated/azure_mgmt_policy.rb +43 -0
- data/lib/2018-05-01/generated/azure_mgmt_policy/models/error_response.rb +69 -0
- data/lib/2018-05-01/generated/azure_mgmt_policy/models/identity.rb +72 -0
- data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_assignment.rb +196 -0
- data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_assignment_list_result.rb +98 -0
- data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_definition.rb +153 -0
- data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_definition_list_result.rb +98 -0
- data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_definition_reference.rb +58 -0
- data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_mode.rb +17 -0
- data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_set_definition.rb +151 -0
- data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_set_definition_list_result.rb +99 -0
- data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_sku.rb +59 -0
- data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_type.rb +17 -0
- data/lib/2018-05-01/generated/azure_mgmt_policy/models/resource_identity_type.rb +16 -0
- data/lib/2018-05-01/generated/azure_mgmt_policy/module_definition.rb +9 -0
- data/lib/2018-05-01/generated/azure_mgmt_policy/policy_assignments.rb +1885 -0
- data/lib/2018-05-01/generated/azure_mgmt_policy/policy_client.rb +139 -0
- data/lib/2018-05-01/generated/azure_mgmt_policy/policy_definitions.rb +1365 -0
- data/lib/2018-05-01/generated/azure_mgmt_policy/policy_set_definitions.rb +1388 -0
- data/lib/azure_mgmt_policy.rb +1 -0
- data/lib/profiles/latest/modules/policy_profile_module.rb +35 -27
- data/lib/version.rb +1 -1
- metadata +22 -3
data/lib/azure_mgmt_policy.rb
CHANGED
@@ -7,6 +7,7 @@ require '2016-04-01/generated/azure_mgmt_policy'
|
|
7
7
|
require '2018-03-01/generated/azure_mgmt_policy'
|
8
8
|
require '2016-12-01/generated/azure_mgmt_policy'
|
9
9
|
require '2017-06-01-preview/generated/azure_mgmt_policy'
|
10
|
+
require '2018-05-01/generated/azure_mgmt_policy'
|
10
11
|
require 'profiles/v2017_03_09/policy_v2017_03_09_profile_client'
|
11
12
|
require 'profiles/latest/policy_latest_profile_client'
|
12
13
|
require 'profiles/v2018_03_01/policy_v2018_03_01_profile_client'
|
@@ -6,22 +6,24 @@ require 'azure_mgmt_policy'
|
|
6
6
|
|
7
7
|
module Azure::Policy::Profiles::Latest
|
8
8
|
module Mgmt
|
9
|
-
PolicyAssignments = Azure::Policy::Mgmt::
|
10
|
-
PolicyDefinitions = Azure::Policy::Mgmt::
|
11
|
-
PolicySetDefinitions = Azure::Policy::Mgmt::
|
9
|
+
PolicyAssignments = Azure::Policy::Mgmt::V2018_05_01::PolicyAssignments
|
10
|
+
PolicyDefinitions = Azure::Policy::Mgmt::V2018_05_01::PolicyDefinitions
|
11
|
+
PolicySetDefinitions = Azure::Policy::Mgmt::V2018_05_01::PolicySetDefinitions
|
12
12
|
|
13
13
|
module Models
|
14
|
-
PolicyDefinition = Azure::Policy::Mgmt::
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
14
|
+
PolicyDefinition = Azure::Policy::Mgmt::V2018_05_01::Models::PolicyDefinition
|
15
|
+
PolicySku = Azure::Policy::Mgmt::V2018_05_01::Models::PolicySku
|
16
|
+
PolicyDefinitionListResult = Azure::Policy::Mgmt::V2018_05_01::Models::PolicyDefinitionListResult
|
17
|
+
PolicyAssignment = Azure::Policy::Mgmt::V2018_05_01::Models::PolicyAssignment
|
18
|
+
PolicyDefinitionReference = Azure::Policy::Mgmt::V2018_05_01::Models::PolicyDefinitionReference
|
19
|
+
ErrorResponse = Azure::Policy::Mgmt::V2018_05_01::Models::ErrorResponse
|
20
|
+
PolicySetDefinition = Azure::Policy::Mgmt::V2018_05_01::Models::PolicySetDefinition
|
21
|
+
PolicyAssignmentListResult = Azure::Policy::Mgmt::V2018_05_01::Models::PolicyAssignmentListResult
|
22
|
+
PolicySetDefinitionListResult = Azure::Policy::Mgmt::V2018_05_01::Models::PolicySetDefinitionListResult
|
23
|
+
Identity = Azure::Policy::Mgmt::V2018_05_01::Models::Identity
|
24
|
+
ResourceIdentityType = Azure::Policy::Mgmt::V2018_05_01::Models::ResourceIdentityType
|
25
|
+
PolicyType = Azure::Policy::Mgmt::V2018_05_01::Models::PolicyType
|
26
|
+
PolicyMode = Azure::Policy::Mgmt::V2018_05_01::Models::PolicyMode
|
25
27
|
end
|
26
28
|
|
27
29
|
#
|
@@ -43,7 +45,7 @@ module Azure::Policy::Profiles::Latest
|
|
43
45
|
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
44
46
|
@options = options[:options].nil? ? nil:options[:options]
|
45
47
|
|
46
|
-
@client_0 = Azure::Policy::Mgmt::
|
48
|
+
@client_0 = Azure::Policy::Mgmt::V2018_05_01::PolicyClient.new(configurable.credentials, base_url, options)
|
47
49
|
if(@client_0.respond_to?(:subscription_id))
|
48
50
|
@client_0.subscription_id = configurable.subscription_id
|
49
51
|
end
|
@@ -72,37 +74,43 @@ module Azure::Policy::Profiles::Latest
|
|
72
74
|
|
73
75
|
class ModelClasses
|
74
76
|
def policy_definition
|
75
|
-
Azure::Policy::Mgmt::
|
77
|
+
Azure::Policy::Mgmt::V2018_05_01::Models::PolicyDefinition
|
78
|
+
end
|
79
|
+
def policy_sku
|
80
|
+
Azure::Policy::Mgmt::V2018_05_01::Models::PolicySku
|
76
81
|
end
|
77
82
|
def policy_definition_list_result
|
78
|
-
Azure::Policy::Mgmt::
|
83
|
+
Azure::Policy::Mgmt::V2018_05_01::Models::PolicyDefinitionListResult
|
79
84
|
end
|
80
85
|
def policy_assignment
|
81
|
-
Azure::Policy::Mgmt::
|
86
|
+
Azure::Policy::Mgmt::V2018_05_01::Models::PolicyAssignment
|
82
87
|
end
|
83
88
|
def policy_definition_reference
|
84
|
-
Azure::Policy::Mgmt::
|
89
|
+
Azure::Policy::Mgmt::V2018_05_01::Models::PolicyDefinitionReference
|
85
90
|
end
|
86
91
|
def error_response
|
87
|
-
Azure::Policy::Mgmt::
|
92
|
+
Azure::Policy::Mgmt::V2018_05_01::Models::ErrorResponse
|
88
93
|
end
|
89
94
|
def policy_set_definition
|
90
|
-
Azure::Policy::Mgmt::
|
95
|
+
Azure::Policy::Mgmt::V2018_05_01::Models::PolicySetDefinition
|
91
96
|
end
|
92
97
|
def policy_assignment_list_result
|
93
|
-
Azure::Policy::Mgmt::
|
98
|
+
Azure::Policy::Mgmt::V2018_05_01::Models::PolicyAssignmentListResult
|
94
99
|
end
|
95
100
|
def policy_set_definition_list_result
|
96
|
-
Azure::Policy::Mgmt::
|
101
|
+
Azure::Policy::Mgmt::V2018_05_01::Models::PolicySetDefinitionListResult
|
97
102
|
end
|
98
|
-
def
|
99
|
-
Azure::Policy::Mgmt::
|
103
|
+
def identity
|
104
|
+
Azure::Policy::Mgmt::V2018_05_01::Models::Identity
|
105
|
+
end
|
106
|
+
def resource_identity_type
|
107
|
+
Azure::Policy::Mgmt::V2018_05_01::Models::ResourceIdentityType
|
100
108
|
end
|
101
109
|
def policy_type
|
102
|
-
Azure::Policy::Mgmt::
|
110
|
+
Azure::Policy::Mgmt::V2018_05_01::Models::PolicyType
|
103
111
|
end
|
104
112
|
def policy_mode
|
105
|
-
Azure::Policy::Mgmt::
|
113
|
+
Azure::Policy::Mgmt::V2018_05_01::Models::PolicyMode
|
106
114
|
end
|
107
115
|
end
|
108
116
|
end
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_policy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -148,6 +148,25 @@ files:
|
|
148
148
|
- lib/2018-03-01/generated/azure_mgmt_policy/policy_client.rb
|
149
149
|
- lib/2018-03-01/generated/azure_mgmt_policy/policy_definitions.rb
|
150
150
|
- lib/2018-03-01/generated/azure_mgmt_policy/policy_set_definitions.rb
|
151
|
+
- lib/2018-05-01/generated/azure_mgmt_policy.rb
|
152
|
+
- lib/2018-05-01/generated/azure_mgmt_policy/models/error_response.rb
|
153
|
+
- lib/2018-05-01/generated/azure_mgmt_policy/models/identity.rb
|
154
|
+
- lib/2018-05-01/generated/azure_mgmt_policy/models/policy_assignment.rb
|
155
|
+
- lib/2018-05-01/generated/azure_mgmt_policy/models/policy_assignment_list_result.rb
|
156
|
+
- lib/2018-05-01/generated/azure_mgmt_policy/models/policy_definition.rb
|
157
|
+
- lib/2018-05-01/generated/azure_mgmt_policy/models/policy_definition_list_result.rb
|
158
|
+
- lib/2018-05-01/generated/azure_mgmt_policy/models/policy_definition_reference.rb
|
159
|
+
- lib/2018-05-01/generated/azure_mgmt_policy/models/policy_mode.rb
|
160
|
+
- lib/2018-05-01/generated/azure_mgmt_policy/models/policy_set_definition.rb
|
161
|
+
- lib/2018-05-01/generated/azure_mgmt_policy/models/policy_set_definition_list_result.rb
|
162
|
+
- lib/2018-05-01/generated/azure_mgmt_policy/models/policy_sku.rb
|
163
|
+
- lib/2018-05-01/generated/azure_mgmt_policy/models/policy_type.rb
|
164
|
+
- lib/2018-05-01/generated/azure_mgmt_policy/models/resource_identity_type.rb
|
165
|
+
- lib/2018-05-01/generated/azure_mgmt_policy/module_definition.rb
|
166
|
+
- lib/2018-05-01/generated/azure_mgmt_policy/policy_assignments.rb
|
167
|
+
- lib/2018-05-01/generated/azure_mgmt_policy/policy_client.rb
|
168
|
+
- lib/2018-05-01/generated/azure_mgmt_policy/policy_definitions.rb
|
169
|
+
- lib/2018-05-01/generated/azure_mgmt_policy/policy_set_definitions.rb
|
151
170
|
- lib/azure_mgmt_policy.rb
|
152
171
|
- lib/module_definition.rb
|
153
172
|
- lib/profiles/latest/modules/policy_profile_module.rb
|
@@ -185,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
204
|
version: '0'
|
186
205
|
requirements: []
|
187
206
|
rubyforge_project:
|
188
|
-
rubygems_version: 2.
|
207
|
+
rubygems_version: 2.7.6
|
189
208
|
signing_key:
|
190
209
|
specification_version: 4
|
191
210
|
summary: Official Ruby client library to consume Microsoft Azure Resource Policy Management
|