azure_mgmt_policy 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/lib/2015-10-01-preview/generated/azure_mgmt_policy/policy_assignments.rb +24 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_policy/policy_client.rb +1 -1
- data/lib/2015-10-01-preview/generated/azure_mgmt_policy/policy_definitions.rb +10 -0
- data/lib/2016-04-01/generated/azure_mgmt_policy/policy_assignments.rb +24 -0
- data/lib/2016-04-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
- data/lib/2016-04-01/generated/azure_mgmt_policy/policy_definitions.rb +10 -0
- data/lib/2016-12-01/generated/azure_mgmt_policy/policy_assignments.rb +24 -0
- data/lib/2016-12-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
- data/lib/2016-12-01/generated/azure_mgmt_policy/policy_definitions.rb +26 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_policy/policy_assignments.rb +24 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_policy/policy_client.rb +1 -1
- data/lib/2017-06-01-preview/generated/azure_mgmt_policy/policy_set_definitions.rb +26 -0
- data/lib/2018-03-01/generated/azure_mgmt_policy/policy_assignments.rb +101 -84
- data/lib/2018-03-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
- data/lib/2018-03-01/generated/azure_mgmt_policy/policy_definitions.rb +26 -0
- data/lib/2018-03-01/generated/azure_mgmt_policy/policy_set_definitions.rb +26 -0
- data/lib/2018-05-01/generated/azure_mgmt_policy/policy_assignments.rb +101 -84
- data/lib/2018-05-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
- data/lib/2018-05-01/generated/azure_mgmt_policy/policy_definitions.rb +26 -0
- data/lib/2018-05-01/generated/azure_mgmt_policy/policy_set_definitions.rb +26 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy.rb +42 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/models/error_response.rb +69 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/models/identity.rb +72 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_assignment.rb +196 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_assignment_list_result.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_definition.rb +152 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_definition_list_result.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_definition_reference.rb +58 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_set_definition.rb +151 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_set_definition_list_result.rb +99 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_sku.rb +59 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_type.rb +17 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/models/resource_identity_type.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/module_definition.rb +9 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/policy_assignments.rb +1902 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/policy_client.rb +139 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/policy_definitions.rb +1391 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/policy_set_definitions.rb +1414 -0
- data/lib/azure_mgmt_policy.rb +6 -5
- data/lib/profiles/latest/modules/policy_profile_module.rb +28 -32
- data/lib/version.rb +1 -1
- metadata +23 -5
data/lib/azure_mgmt_policy.rb
CHANGED
@@ -2,13 +2,14 @@
|
|
2
2
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
4
|
|
5
|
-
require '
|
5
|
+
require '2017-06-01-preview/generated/azure_mgmt_policy'
|
6
6
|
require '2016-04-01/generated/azure_mgmt_policy'
|
7
|
-
require '2018-03-01/generated/azure_mgmt_policy'
|
8
7
|
require '2016-12-01/generated/azure_mgmt_policy'
|
9
|
-
require '
|
8
|
+
require '2018-03-01/generated/azure_mgmt_policy'
|
9
|
+
require '2019-01-01/generated/azure_mgmt_policy'
|
10
10
|
require '2018-05-01/generated/azure_mgmt_policy'
|
11
|
-
require '
|
11
|
+
require '2015-10-01-preview/generated/azure_mgmt_policy'
|
12
12
|
require 'profiles/latest/policy_latest_profile_client'
|
13
|
-
require 'profiles/
|
13
|
+
require 'profiles/v2017_03_09/policy_v2017_03_09_profile_client'
|
14
14
|
require 'profiles/v2018_03_01/policy_v2018_03_01_profile_client'
|
15
|
+
require 'profiles/v2019_03_01_hybrid/policy_v2019_03_01_hybrid_profile_client'
|
@@ -6,24 +6,23 @@ 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::V2019_01_01::PolicyAssignments
|
10
|
+
PolicyDefinitions = Azure::Policy::Mgmt::V2019_01_01::PolicyDefinitions
|
11
|
+
PolicySetDefinitions = Azure::Policy::Mgmt::V2019_01_01::PolicySetDefinitions
|
12
12
|
|
13
13
|
module Models
|
14
|
-
PolicyDefinition = Azure::Policy::Mgmt::
|
15
|
-
PolicySku = Azure::Policy::Mgmt::
|
16
|
-
PolicyDefinitionListResult = Azure::Policy::Mgmt::
|
17
|
-
PolicyAssignment = Azure::Policy::Mgmt::
|
18
|
-
PolicyDefinitionReference = Azure::Policy::Mgmt::
|
19
|
-
ErrorResponse = Azure::Policy::Mgmt::
|
20
|
-
PolicySetDefinition = Azure::Policy::Mgmt::
|
21
|
-
PolicyAssignmentListResult = Azure::Policy::Mgmt::
|
22
|
-
PolicySetDefinitionListResult = Azure::Policy::Mgmt::
|
23
|
-
Identity = Azure::Policy::Mgmt::
|
24
|
-
ResourceIdentityType = Azure::Policy::Mgmt::
|
25
|
-
PolicyType = Azure::Policy::Mgmt::
|
26
|
-
PolicyMode = Azure::Policy::Mgmt::V2018_05_01::Models::PolicyMode
|
14
|
+
PolicyDefinition = Azure::Policy::Mgmt::V2019_01_01::Models::PolicyDefinition
|
15
|
+
PolicySku = Azure::Policy::Mgmt::V2019_01_01::Models::PolicySku
|
16
|
+
PolicyDefinitionListResult = Azure::Policy::Mgmt::V2019_01_01::Models::PolicyDefinitionListResult
|
17
|
+
PolicyAssignment = Azure::Policy::Mgmt::V2019_01_01::Models::PolicyAssignment
|
18
|
+
PolicyDefinitionReference = Azure::Policy::Mgmt::V2019_01_01::Models::PolicyDefinitionReference
|
19
|
+
ErrorResponse = Azure::Policy::Mgmt::V2019_01_01::Models::ErrorResponse
|
20
|
+
PolicySetDefinition = Azure::Policy::Mgmt::V2019_01_01::Models::PolicySetDefinition
|
21
|
+
PolicyAssignmentListResult = Azure::Policy::Mgmt::V2019_01_01::Models::PolicyAssignmentListResult
|
22
|
+
PolicySetDefinitionListResult = Azure::Policy::Mgmt::V2019_01_01::Models::PolicySetDefinitionListResult
|
23
|
+
Identity = Azure::Policy::Mgmt::V2019_01_01::Models::Identity
|
24
|
+
ResourceIdentityType = Azure::Policy::Mgmt::V2019_01_01::Models::ResourceIdentityType
|
25
|
+
PolicyType = Azure::Policy::Mgmt::V2019_01_01::Models::PolicyType
|
27
26
|
end
|
28
27
|
|
29
28
|
#
|
@@ -45,7 +44,7 @@ module Azure::Policy::Profiles::Latest
|
|
45
44
|
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
46
45
|
@options = options[:options].nil? ? nil:options[:options]
|
47
46
|
|
48
|
-
@client_0 = Azure::Policy::Mgmt::
|
47
|
+
@client_0 = Azure::Policy::Mgmt::V2019_01_01::PolicyClient.new(configurable.credentials, base_url, options)
|
49
48
|
if(@client_0.respond_to?(:subscription_id))
|
50
49
|
@client_0.subscription_id = configurable.subscription_id
|
51
50
|
end
|
@@ -74,43 +73,40 @@ module Azure::Policy::Profiles::Latest
|
|
74
73
|
|
75
74
|
class ModelClasses
|
76
75
|
def policy_definition
|
77
|
-
Azure::Policy::Mgmt::
|
76
|
+
Azure::Policy::Mgmt::V2019_01_01::Models::PolicyDefinition
|
78
77
|
end
|
79
78
|
def policy_sku
|
80
|
-
Azure::Policy::Mgmt::
|
79
|
+
Azure::Policy::Mgmt::V2019_01_01::Models::PolicySku
|
81
80
|
end
|
82
81
|
def policy_definition_list_result
|
83
|
-
Azure::Policy::Mgmt::
|
82
|
+
Azure::Policy::Mgmt::V2019_01_01::Models::PolicyDefinitionListResult
|
84
83
|
end
|
85
84
|
def policy_assignment
|
86
|
-
Azure::Policy::Mgmt::
|
85
|
+
Azure::Policy::Mgmt::V2019_01_01::Models::PolicyAssignment
|
87
86
|
end
|
88
87
|
def policy_definition_reference
|
89
|
-
Azure::Policy::Mgmt::
|
88
|
+
Azure::Policy::Mgmt::V2019_01_01::Models::PolicyDefinitionReference
|
90
89
|
end
|
91
90
|
def error_response
|
92
|
-
Azure::Policy::Mgmt::
|
91
|
+
Azure::Policy::Mgmt::V2019_01_01::Models::ErrorResponse
|
93
92
|
end
|
94
93
|
def policy_set_definition
|
95
|
-
Azure::Policy::Mgmt::
|
94
|
+
Azure::Policy::Mgmt::V2019_01_01::Models::PolicySetDefinition
|
96
95
|
end
|
97
96
|
def policy_assignment_list_result
|
98
|
-
Azure::Policy::Mgmt::
|
97
|
+
Azure::Policy::Mgmt::V2019_01_01::Models::PolicyAssignmentListResult
|
99
98
|
end
|
100
99
|
def policy_set_definition_list_result
|
101
|
-
Azure::Policy::Mgmt::
|
100
|
+
Azure::Policy::Mgmt::V2019_01_01::Models::PolicySetDefinitionListResult
|
102
101
|
end
|
103
102
|
def identity
|
104
|
-
Azure::Policy::Mgmt::
|
103
|
+
Azure::Policy::Mgmt::V2019_01_01::Models::Identity
|
105
104
|
end
|
106
105
|
def resource_identity_type
|
107
|
-
Azure::Policy::Mgmt::
|
106
|
+
Azure::Policy::Mgmt::V2019_01_01::Models::ResourceIdentityType
|
108
107
|
end
|
109
108
|
def policy_type
|
110
|
-
Azure::Policy::Mgmt::
|
111
|
-
end
|
112
|
-
def policy_mode
|
113
|
-
Azure::Policy::Mgmt::V2018_05_01::Models::PolicyMode
|
109
|
+
Azure::Policy::Mgmt::V2019_01_01::Models::PolicyType
|
114
110
|
end
|
115
111
|
end
|
116
112
|
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.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.11.
|
75
|
+
version: 0.11.1
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.11.
|
82
|
+
version: 0.11.1
|
83
83
|
description: Microsoft Azure Resource Policy Management Client Library for Ruby
|
84
84
|
email: azrubyteam@microsoft.com
|
85
85
|
executables: []
|
@@ -167,6 +167,24 @@ files:
|
|
167
167
|
- lib/2018-05-01/generated/azure_mgmt_policy/policy_client.rb
|
168
168
|
- lib/2018-05-01/generated/azure_mgmt_policy/policy_definitions.rb
|
169
169
|
- lib/2018-05-01/generated/azure_mgmt_policy/policy_set_definitions.rb
|
170
|
+
- lib/2019-01-01/generated/azure_mgmt_policy.rb
|
171
|
+
- lib/2019-01-01/generated/azure_mgmt_policy/models/error_response.rb
|
172
|
+
- lib/2019-01-01/generated/azure_mgmt_policy/models/identity.rb
|
173
|
+
- lib/2019-01-01/generated/azure_mgmt_policy/models/policy_assignment.rb
|
174
|
+
- lib/2019-01-01/generated/azure_mgmt_policy/models/policy_assignment_list_result.rb
|
175
|
+
- lib/2019-01-01/generated/azure_mgmt_policy/models/policy_definition.rb
|
176
|
+
- lib/2019-01-01/generated/azure_mgmt_policy/models/policy_definition_list_result.rb
|
177
|
+
- lib/2019-01-01/generated/azure_mgmt_policy/models/policy_definition_reference.rb
|
178
|
+
- lib/2019-01-01/generated/azure_mgmt_policy/models/policy_set_definition.rb
|
179
|
+
- lib/2019-01-01/generated/azure_mgmt_policy/models/policy_set_definition_list_result.rb
|
180
|
+
- lib/2019-01-01/generated/azure_mgmt_policy/models/policy_sku.rb
|
181
|
+
- lib/2019-01-01/generated/azure_mgmt_policy/models/policy_type.rb
|
182
|
+
- lib/2019-01-01/generated/azure_mgmt_policy/models/resource_identity_type.rb
|
183
|
+
- lib/2019-01-01/generated/azure_mgmt_policy/module_definition.rb
|
184
|
+
- lib/2019-01-01/generated/azure_mgmt_policy/policy_assignments.rb
|
185
|
+
- lib/2019-01-01/generated/azure_mgmt_policy/policy_client.rb
|
186
|
+
- lib/2019-01-01/generated/azure_mgmt_policy/policy_definitions.rb
|
187
|
+
- lib/2019-01-01/generated/azure_mgmt_policy/policy_set_definitions.rb
|
170
188
|
- lib/azure_mgmt_policy.rb
|
171
189
|
- lib/module_definition.rb
|
172
190
|
- lib/profiles/latest/modules/policy_profile_module.rb
|
@@ -207,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
207
225
|
version: '0'
|
208
226
|
requirements: []
|
209
227
|
rubyforge_project:
|
210
|
-
rubygems_version: 2.7.
|
228
|
+
rubygems_version: 2.7.8
|
211
229
|
signing_key:
|
212
230
|
specification_version: 4
|
213
231
|
summary: Official Ruby client library to consume Microsoft Azure Resource Policy Management
|