azure_mgmt_policy 0.17.5 → 0.17.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-10-01-preview/generated/azure_mgmt_policy/policy_client.rb +1 -1
  3. data/lib/2016-04-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
  4. data/lib/2016-12-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
  5. data/lib/2017-06-01-preview/generated/azure_mgmt_policy/policy_client.rb +1 -1
  6. data/lib/2018-03-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
  7. data/lib/2018-05-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
  8. data/lib/2019-01-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
  9. data/lib/2019-06-01/generated/azure_mgmt_policy.rb +43 -0
  10. data/lib/2019-06-01/generated/azure_mgmt_policy/models/enforcement_mode.rb +16 -0
  11. data/lib/2019-06-01/generated/azure_mgmt_policy/models/error_response.rb +69 -0
  12. data/lib/2019-06-01/generated/azure_mgmt_policy/models/identity.rb +72 -0
  13. data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_assignment.rb +209 -0
  14. data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_assignment_list_result.rb +98 -0
  15. data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_definition.rb +152 -0
  16. data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_definition_list_result.rb +98 -0
  17. data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_definition_reference.rb +58 -0
  18. data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_set_definition.rb +151 -0
  19. data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_set_definition_list_result.rb +99 -0
  20. data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_sku.rb +59 -0
  21. data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_type.rb +17 -0
  22. data/lib/2019-06-01/generated/azure_mgmt_policy/models/resource_identity_type.rb +16 -0
  23. data/lib/2019-06-01/generated/azure_mgmt_policy/module_definition.rb +9 -0
  24. data/lib/2019-06-01/generated/azure_mgmt_policy/policy_assignments.rb +1902 -0
  25. data/lib/2019-06-01/generated/azure_mgmt_policy/policy_client.rb +139 -0
  26. data/lib/2019-06-01/generated/azure_mgmt_policy/policy_definitions.rb +1391 -0
  27. data/lib/2019-06-01/generated/azure_mgmt_policy/policy_set_definitions.rb +1414 -0
  28. data/lib/azure_mgmt_policy.rb +1 -0
  29. data/lib/profiles/latest/modules/policy_profile_module.rb +32 -28
  30. data/lib/version.rb +1 -1
  31. metadata +21 -2
@@ -8,6 +8,7 @@ require '2016-12-01/generated/azure_mgmt_policy'
8
8
  require '2018-03-01/generated/azure_mgmt_policy'
9
9
  require '2019-01-01/generated/azure_mgmt_policy'
10
10
  require '2018-05-01/generated/azure_mgmt_policy'
11
+ require '2019-06-01/generated/azure_mgmt_policy'
11
12
  require '2015-10-01-preview/generated/azure_mgmt_policy'
12
13
  require 'profiles/latest/policy_latest_profile_client'
13
14
  require 'profiles/v2017_03_09/policy_v2017_03_09_profile_client'
@@ -6,23 +6,24 @@ require 'azure_mgmt_policy'
6
6
 
7
7
  module Azure::Policy::Profiles::Latest
8
8
  module 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
9
+ PolicyAssignments = Azure::Policy::Mgmt::V2019_06_01::PolicyAssignments
10
+ PolicyDefinitions = Azure::Policy::Mgmt::V2019_06_01::PolicyDefinitions
11
+ PolicySetDefinitions = Azure::Policy::Mgmt::V2019_06_01::PolicySetDefinitions
12
12
 
13
13
  module Models
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
14
+ PolicyDefinition = Azure::Policy::Mgmt::V2019_06_01::Models::PolicyDefinition
15
+ PolicySku = Azure::Policy::Mgmt::V2019_06_01::Models::PolicySku
16
+ PolicyDefinitionListResult = Azure::Policy::Mgmt::V2019_06_01::Models::PolicyDefinitionListResult
17
+ PolicyAssignment = Azure::Policy::Mgmt::V2019_06_01::Models::PolicyAssignment
18
+ PolicyDefinitionReference = Azure::Policy::Mgmt::V2019_06_01::Models::PolicyDefinitionReference
19
+ ErrorResponse = Azure::Policy::Mgmt::V2019_06_01::Models::ErrorResponse
20
+ PolicySetDefinition = Azure::Policy::Mgmt::V2019_06_01::Models::PolicySetDefinition
21
+ PolicyAssignmentListResult = Azure::Policy::Mgmt::V2019_06_01::Models::PolicyAssignmentListResult
22
+ PolicySetDefinitionListResult = Azure::Policy::Mgmt::V2019_06_01::Models::PolicySetDefinitionListResult
23
+ Identity = Azure::Policy::Mgmt::V2019_06_01::Models::Identity
24
+ EnforcementMode = Azure::Policy::Mgmt::V2019_06_01::Models::EnforcementMode
25
+ ResourceIdentityType = Azure::Policy::Mgmt::V2019_06_01::Models::ResourceIdentityType
26
+ PolicyType = Azure::Policy::Mgmt::V2019_06_01::Models::PolicyType
26
27
  end
27
28
 
28
29
  #
@@ -44,7 +45,7 @@ module Azure::Policy::Profiles::Latest
44
45
  @base_url = options[:base_url].nil? ? nil:options[:base_url]
45
46
  @options = options[:options].nil? ? nil:options[:options]
46
47
 
47
- @client_0 = Azure::Policy::Mgmt::V2019_01_01::PolicyClient.new(configurable.credentials, base_url, options)
48
+ @client_0 = Azure::Policy::Mgmt::V2019_06_01::PolicyClient.new(configurable.credentials, base_url, options)
48
49
  if(@client_0.respond_to?(:subscription_id))
49
50
  @client_0.subscription_id = configurable.subscription_id
50
51
  end
@@ -73,40 +74,43 @@ module Azure::Policy::Profiles::Latest
73
74
 
74
75
  class ModelClasses
75
76
  def policy_definition
76
- Azure::Policy::Mgmt::V2019_01_01::Models::PolicyDefinition
77
+ Azure::Policy::Mgmt::V2019_06_01::Models::PolicyDefinition
77
78
  end
78
79
  def policy_sku
79
- Azure::Policy::Mgmt::V2019_01_01::Models::PolicySku
80
+ Azure::Policy::Mgmt::V2019_06_01::Models::PolicySku
80
81
  end
81
82
  def policy_definition_list_result
82
- Azure::Policy::Mgmt::V2019_01_01::Models::PolicyDefinitionListResult
83
+ Azure::Policy::Mgmt::V2019_06_01::Models::PolicyDefinitionListResult
83
84
  end
84
85
  def policy_assignment
85
- Azure::Policy::Mgmt::V2019_01_01::Models::PolicyAssignment
86
+ Azure::Policy::Mgmt::V2019_06_01::Models::PolicyAssignment
86
87
  end
87
88
  def policy_definition_reference
88
- Azure::Policy::Mgmt::V2019_01_01::Models::PolicyDefinitionReference
89
+ Azure::Policy::Mgmt::V2019_06_01::Models::PolicyDefinitionReference
89
90
  end
90
91
  def error_response
91
- Azure::Policy::Mgmt::V2019_01_01::Models::ErrorResponse
92
+ Azure::Policy::Mgmt::V2019_06_01::Models::ErrorResponse
92
93
  end
93
94
  def policy_set_definition
94
- Azure::Policy::Mgmt::V2019_01_01::Models::PolicySetDefinition
95
+ Azure::Policy::Mgmt::V2019_06_01::Models::PolicySetDefinition
95
96
  end
96
97
  def policy_assignment_list_result
97
- Azure::Policy::Mgmt::V2019_01_01::Models::PolicyAssignmentListResult
98
+ Azure::Policy::Mgmt::V2019_06_01::Models::PolicyAssignmentListResult
98
99
  end
99
100
  def policy_set_definition_list_result
100
- Azure::Policy::Mgmt::V2019_01_01::Models::PolicySetDefinitionListResult
101
+ Azure::Policy::Mgmt::V2019_06_01::Models::PolicySetDefinitionListResult
101
102
  end
102
103
  def identity
103
- Azure::Policy::Mgmt::V2019_01_01::Models::Identity
104
+ Azure::Policy::Mgmt::V2019_06_01::Models::Identity
105
+ end
106
+ def enforcement_mode
107
+ Azure::Policy::Mgmt::V2019_06_01::Models::EnforcementMode
104
108
  end
105
109
  def resource_identity_type
106
- Azure::Policy::Mgmt::V2019_01_01::Models::ResourceIdentityType
110
+ Azure::Policy::Mgmt::V2019_06_01::Models::ResourceIdentityType
107
111
  end
108
112
  def policy_type
109
- Azure::Policy::Mgmt::V2019_01_01::Models::PolicyType
113
+ Azure::Policy::Mgmt::V2019_06_01::Models::PolicyType
110
114
  end
111
115
  end
112
116
  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.5'
6
+ VERSION = '0.17.6'
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.5
4
+ version: 0.17.6
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-08-19 00:00:00.000000000 Z
11
+ date: 2019-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -185,6 +185,25 @@ files:
185
185
  - lib/2019-01-01/generated/azure_mgmt_policy/policy_client.rb
186
186
  - lib/2019-01-01/generated/azure_mgmt_policy/policy_definitions.rb
187
187
  - lib/2019-01-01/generated/azure_mgmt_policy/policy_set_definitions.rb
188
+ - lib/2019-06-01/generated/azure_mgmt_policy.rb
189
+ - lib/2019-06-01/generated/azure_mgmt_policy/models/enforcement_mode.rb
190
+ - lib/2019-06-01/generated/azure_mgmt_policy/models/error_response.rb
191
+ - lib/2019-06-01/generated/azure_mgmt_policy/models/identity.rb
192
+ - lib/2019-06-01/generated/azure_mgmt_policy/models/policy_assignment.rb
193
+ - lib/2019-06-01/generated/azure_mgmt_policy/models/policy_assignment_list_result.rb
194
+ - lib/2019-06-01/generated/azure_mgmt_policy/models/policy_definition.rb
195
+ - lib/2019-06-01/generated/azure_mgmt_policy/models/policy_definition_list_result.rb
196
+ - lib/2019-06-01/generated/azure_mgmt_policy/models/policy_definition_reference.rb
197
+ - lib/2019-06-01/generated/azure_mgmt_policy/models/policy_set_definition.rb
198
+ - lib/2019-06-01/generated/azure_mgmt_policy/models/policy_set_definition_list_result.rb
199
+ - lib/2019-06-01/generated/azure_mgmt_policy/models/policy_sku.rb
200
+ - lib/2019-06-01/generated/azure_mgmt_policy/models/policy_type.rb
201
+ - lib/2019-06-01/generated/azure_mgmt_policy/models/resource_identity_type.rb
202
+ - lib/2019-06-01/generated/azure_mgmt_policy/module_definition.rb
203
+ - lib/2019-06-01/generated/azure_mgmt_policy/policy_assignments.rb
204
+ - lib/2019-06-01/generated/azure_mgmt_policy/policy_client.rb
205
+ - lib/2019-06-01/generated/azure_mgmt_policy/policy_definitions.rb
206
+ - lib/2019-06-01/generated/azure_mgmt_policy/policy_set_definitions.rb
188
207
  - lib/azure_mgmt_policy.rb
189
208
  - lib/module_definition.rb
190
209
  - lib/profiles/latest/modules/policy_profile_module.rb