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.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-10-01-preview/generated/azure_mgmt_policy/policy_assignments.rb +24 -0
  3. data/lib/2015-10-01-preview/generated/azure_mgmt_policy/policy_client.rb +1 -1
  4. data/lib/2015-10-01-preview/generated/azure_mgmt_policy/policy_definitions.rb +10 -0
  5. data/lib/2016-04-01/generated/azure_mgmt_policy/policy_assignments.rb +24 -0
  6. data/lib/2016-04-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
  7. data/lib/2016-04-01/generated/azure_mgmt_policy/policy_definitions.rb +10 -0
  8. data/lib/2016-12-01/generated/azure_mgmt_policy/policy_assignments.rb +24 -0
  9. data/lib/2016-12-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
  10. data/lib/2016-12-01/generated/azure_mgmt_policy/policy_definitions.rb +26 -0
  11. data/lib/2017-06-01-preview/generated/azure_mgmt_policy/policy_assignments.rb +24 -0
  12. data/lib/2017-06-01-preview/generated/azure_mgmt_policy/policy_client.rb +1 -1
  13. data/lib/2017-06-01-preview/generated/azure_mgmt_policy/policy_set_definitions.rb +26 -0
  14. data/lib/2018-03-01/generated/azure_mgmt_policy/policy_assignments.rb +101 -84
  15. data/lib/2018-03-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
  16. data/lib/2018-03-01/generated/azure_mgmt_policy/policy_definitions.rb +26 -0
  17. data/lib/2018-03-01/generated/azure_mgmt_policy/policy_set_definitions.rb +26 -0
  18. data/lib/2018-05-01/generated/azure_mgmt_policy/policy_assignments.rb +101 -84
  19. data/lib/2018-05-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
  20. data/lib/2018-05-01/generated/azure_mgmt_policy/policy_definitions.rb +26 -0
  21. data/lib/2018-05-01/generated/azure_mgmt_policy/policy_set_definitions.rb +26 -0
  22. data/lib/2019-01-01/generated/azure_mgmt_policy.rb +42 -0
  23. data/lib/2019-01-01/generated/azure_mgmt_policy/models/error_response.rb +69 -0
  24. data/lib/2019-01-01/generated/azure_mgmt_policy/models/identity.rb +72 -0
  25. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_assignment.rb +196 -0
  26. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_assignment_list_result.rb +98 -0
  27. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_definition.rb +152 -0
  28. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_definition_list_result.rb +98 -0
  29. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_definition_reference.rb +58 -0
  30. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_set_definition.rb +151 -0
  31. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_set_definition_list_result.rb +99 -0
  32. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_sku.rb +59 -0
  33. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_type.rb +17 -0
  34. data/lib/2019-01-01/generated/azure_mgmt_policy/models/resource_identity_type.rb +16 -0
  35. data/lib/2019-01-01/generated/azure_mgmt_policy/module_definition.rb +9 -0
  36. data/lib/2019-01-01/generated/azure_mgmt_policy/policy_assignments.rb +1902 -0
  37. data/lib/2019-01-01/generated/azure_mgmt_policy/policy_client.rb +139 -0
  38. data/lib/2019-01-01/generated/azure_mgmt_policy/policy_definitions.rb +1391 -0
  39. data/lib/2019-01-01/generated/azure_mgmt_policy/policy_set_definitions.rb +1414 -0
  40. data/lib/azure_mgmt_policy.rb +6 -5
  41. data/lib/profiles/latest/modules/policy_profile_module.rb +28 -32
  42. data/lib/version.rb +1 -1
  43. metadata +23 -5
@@ -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 '2015-10-01-preview/generated/azure_mgmt_policy'
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 '2017-06-01-preview/generated/azure_mgmt_policy'
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 'profiles/v2017_03_09/policy_v2017_03_09_profile_client'
11
+ require '2015-10-01-preview/generated/azure_mgmt_policy'
12
12
  require 'profiles/latest/policy_latest_profile_client'
13
- require 'profiles/v2019_03_01_hybrid/policy_v2019_03_01_hybrid_profile_client'
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::V2018_05_01::PolicyAssignments
10
- PolicyDefinitions = Azure::Policy::Mgmt::V2018_05_01::PolicyDefinitions
11
- PolicySetDefinitions = Azure::Policy::Mgmt::V2018_05_01::PolicySetDefinitions
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::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
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::V2018_05_01::PolicyClient.new(configurable.credentials, base_url, options)
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::V2018_05_01::Models::PolicyDefinition
76
+ Azure::Policy::Mgmt::V2019_01_01::Models::PolicyDefinition
78
77
  end
79
78
  def policy_sku
80
- Azure::Policy::Mgmt::V2018_05_01::Models::PolicySku
79
+ Azure::Policy::Mgmt::V2019_01_01::Models::PolicySku
81
80
  end
82
81
  def policy_definition_list_result
83
- Azure::Policy::Mgmt::V2018_05_01::Models::PolicyDefinitionListResult
82
+ Azure::Policy::Mgmt::V2019_01_01::Models::PolicyDefinitionListResult
84
83
  end
85
84
  def policy_assignment
86
- Azure::Policy::Mgmt::V2018_05_01::Models::PolicyAssignment
85
+ Azure::Policy::Mgmt::V2019_01_01::Models::PolicyAssignment
87
86
  end
88
87
  def policy_definition_reference
89
- Azure::Policy::Mgmt::V2018_05_01::Models::PolicyDefinitionReference
88
+ Azure::Policy::Mgmt::V2019_01_01::Models::PolicyDefinitionReference
90
89
  end
91
90
  def error_response
92
- Azure::Policy::Mgmt::V2018_05_01::Models::ErrorResponse
91
+ Azure::Policy::Mgmt::V2019_01_01::Models::ErrorResponse
93
92
  end
94
93
  def policy_set_definition
95
- Azure::Policy::Mgmt::V2018_05_01::Models::PolicySetDefinition
94
+ Azure::Policy::Mgmt::V2019_01_01::Models::PolicySetDefinition
96
95
  end
97
96
  def policy_assignment_list_result
98
- Azure::Policy::Mgmt::V2018_05_01::Models::PolicyAssignmentListResult
97
+ Azure::Policy::Mgmt::V2019_01_01::Models::PolicyAssignmentListResult
99
98
  end
100
99
  def policy_set_definition_list_result
101
- Azure::Policy::Mgmt::V2018_05_01::Models::PolicySetDefinitionListResult
100
+ Azure::Policy::Mgmt::V2019_01_01::Models::PolicySetDefinitionListResult
102
101
  end
103
102
  def identity
104
- Azure::Policy::Mgmt::V2018_05_01::Models::Identity
103
+ Azure::Policy::Mgmt::V2019_01_01::Models::Identity
105
104
  end
106
105
  def resource_identity_type
107
- Azure::Policy::Mgmt::V2018_05_01::Models::ResourceIdentityType
106
+ Azure::Policy::Mgmt::V2019_01_01::Models::ResourceIdentityType
108
107
  end
109
108
  def policy_type
110
- Azure::Policy::Mgmt::V2018_05_01::Models::PolicyType
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
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::Policy::Mgmt
6
- VERSION = '0.17.4'
6
+ VERSION = '0.17.5'
7
7
  end
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
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-04-29 00:00:00.000000000 Z
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.0
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.0
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.6
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