azure_mgmt_authorization 0.18.1 → 0.18.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-06-01-preview/generated/azure_mgmt_authorization/authorization_management_client.rb +1 -1
- data/lib/2015-07-01-preview/generated/azure_mgmt_authorization/authorization_management_client.rb +1 -1
- data/lib/2015-07-01/generated/azure_mgmt_authorization/authorization_management_client.rb +1 -1
- data/lib/2017-10-01-preview/generated/azure_mgmt_authorization/authorization_management_client.rb +1 -1
- data/lib/2018-01-01-preview/generated/azure_mgmt_authorization.rb +9 -9
- data/lib/2018-01-01-preview/generated/azure_mgmt_authorization/authorization_management_client.rb +5 -5
- data/lib/2018-01-01-preview/generated/azure_mgmt_authorization/permissions.rb +1 -5
- data/lib/2018-01-01-preview/generated/azure_mgmt_authorization/provider_operations_metadata_operations.rb +1 -5
- data/lib/2018-01-01-preview/generated/azure_mgmt_authorization/role_assignments.rb +1 -5
- data/lib/2018-01-01-preview/generated/azure_mgmt_authorization/role_definitions.rb +1 -5
- data/lib/2018-07-01-preview/generated/azure_mgmt_authorization.rb +33 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_authorization/authorization_management_client.rb +131 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_authorization/deny_assignments.rb +1226 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_authorization/models/deny_assignment.rb +191 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_authorization/models/deny_assignment_filter.rb +71 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_authorization/models/deny_assignment_list_result.rb +98 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_authorization/models/deny_assignment_permission.rb +115 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_authorization/models/principal.rb +65 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_authorization/module_definition.rb +9 -0
- data/lib/2018-09-01-preview/generated/azure_mgmt_authorization.rb +33 -0
- data/lib/2018-09-01-preview/generated/azure_mgmt_authorization/authorization_management_client.rb +131 -0
- data/lib/2018-09-01-preview/generated/azure_mgmt_authorization/models/principal_type.rb +24 -0
- data/lib/2018-09-01-preview/generated/azure_mgmt_authorization/models/role_assignment.rb +115 -0
- data/lib/2018-09-01-preview/generated/azure_mgmt_authorization/models/role_assignment_create_parameters.rb +85 -0
- data/lib/2018-09-01-preview/generated/azure_mgmt_authorization/models/role_assignment_filter.rb +57 -0
- data/lib/2018-09-01-preview/generated/azure_mgmt_authorization/models/role_assignment_list_result.rb +98 -0
- data/lib/2018-09-01-preview/generated/azure_mgmt_authorization/module_definition.rb +9 -0
- data/lib/2018-09-01-preview/generated/azure_mgmt_authorization/role_assignments.rb +1492 -0
- data/lib/azure_mgmt_authorization.rb +2 -0
- data/lib/profiles/latest/modules/authorization_profile_module.rb +72 -30
- data/lib/version.rb +1 -1
- metadata +20 -2
@@ -4,6 +4,8 @@
|
|
4
4
|
|
5
5
|
require '2018-01-01-preview/generated/azure_mgmt_authorization'
|
6
6
|
require '2015-06-01-preview/generated/azure_mgmt_authorization'
|
7
|
+
require '2018-09-01-preview/generated/azure_mgmt_authorization'
|
8
|
+
require '2018-07-01-preview/generated/azure_mgmt_authorization'
|
7
9
|
require '2015-07-01-preview/generated/azure_mgmt_authorization'
|
8
10
|
require '2015-07-01/generated/azure_mgmt_authorization'
|
9
11
|
require '2017-10-01-preview/generated/azure_mgmt_authorization'
|
@@ -9,32 +9,39 @@ module Azure::Authorization::Profiles::Latest
|
|
9
9
|
ClassicAdministrators = Azure::Authorization::Mgmt::V2015_06_01_preview::ClassicAdministrators
|
10
10
|
ProviderOperationsMetadataOperations = Azure::Authorization::Mgmt::V2018_01_01_preview::ProviderOperationsMetadataOperations
|
11
11
|
Permissions = Azure::Authorization::Mgmt::V2018_01_01_preview::Permissions
|
12
|
-
RoleAssignments = Azure::Authorization::Mgmt::V2018_01_01_preview::RoleAssignments
|
13
12
|
RoleDefinitions = Azure::Authorization::Mgmt::V2018_01_01_preview::RoleDefinitions
|
13
|
+
DenyAssignments = Azure::Authorization::Mgmt::V2018_07_01_preview::DenyAssignments
|
14
|
+
RoleAssignments = Azure::Authorization::Mgmt::V2018_09_01_preview::RoleAssignments
|
14
15
|
|
15
16
|
module Models
|
16
17
|
ClassicAdministratorListResult = Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministratorListResult
|
17
18
|
ClassicAdministrator = Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministrator
|
18
|
-
RoleDefinitionFilter = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinitionFilter
|
19
|
-
RoleDefinition = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinition
|
20
19
|
ResourceType = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ResourceType
|
21
|
-
|
20
|
+
RoleDefinitionFilter = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinitionFilter
|
22
21
|
ProviderOperationsMetadataListResult = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperationsMetadataListResult
|
23
|
-
|
24
|
-
|
25
|
-
RoleAssignment = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleAssignment
|
22
|
+
Permission = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::Permission
|
23
|
+
RoleDefinition = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinition
|
26
24
|
ProviderOperationsMetadata = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperationsMetadata
|
27
|
-
|
25
|
+
RoleDefinitionListResult = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinitionListResult
|
28
26
|
ProviderOperation = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperation
|
29
|
-
|
30
|
-
|
27
|
+
PermissionGetResult = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::PermissionGetResult
|
28
|
+
Principal = Azure::Authorization::Mgmt::V2018_07_01_preview::Models::Principal
|
29
|
+
DenyAssignment = Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignment
|
30
|
+
DenyAssignmentPermission = Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentPermission
|
31
|
+
DenyAssignmentListResult = Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentListResult
|
32
|
+
DenyAssignmentFilter = Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentFilter
|
33
|
+
RoleAssignmentListResult = Azure::Authorization::Mgmt::V2018_09_01_preview::Models::RoleAssignmentListResult
|
34
|
+
RoleAssignmentFilter = Azure::Authorization::Mgmt::V2018_09_01_preview::Models::RoleAssignmentFilter
|
35
|
+
RoleAssignmentCreateParameters = Azure::Authorization::Mgmt::V2018_09_01_preview::Models::RoleAssignmentCreateParameters
|
36
|
+
RoleAssignment = Azure::Authorization::Mgmt::V2018_09_01_preview::Models::RoleAssignment
|
37
|
+
PrincipalType = Azure::Authorization::Mgmt::V2018_09_01_preview::Models::PrincipalType
|
31
38
|
end
|
32
39
|
|
33
40
|
#
|
34
41
|
# AuthorizationManagementClass
|
35
42
|
#
|
36
43
|
class AuthorizationManagementClass
|
37
|
-
attr_reader :classic_administrators, :provider_operations_metadata_operations, :permissions, :
|
44
|
+
attr_reader :classic_administrators, :provider_operations_metadata_operations, :permissions, :role_definitions, :deny_assignments, :role_assignments, :configurable, :base_url, :options, :model_classes
|
38
45
|
|
39
46
|
def initialize(options = {})
|
40
47
|
if options.is_a?(Hash) && options.length == 0
|
@@ -63,9 +70,22 @@ module Azure::Authorization::Profiles::Latest
|
|
63
70
|
add_telemetry(@client_1)
|
64
71
|
@provider_operations_metadata_operations = @client_1.provider_operations_metadata_operations
|
65
72
|
@permissions = @client_1.permissions
|
66
|
-
@role_assignments = @client_1.role_assignments
|
67
73
|
@role_definitions = @client_1.role_definitions
|
68
74
|
|
75
|
+
@client_2 = Azure::Authorization::Mgmt::V2018_07_01_preview::AuthorizationManagementClient.new(configurable.credentials, base_url, options)
|
76
|
+
if(@client_2.respond_to?(:subscription_id))
|
77
|
+
@client_2.subscription_id = configurable.subscription_id
|
78
|
+
end
|
79
|
+
add_telemetry(@client_2)
|
80
|
+
@deny_assignments = @client_2.deny_assignments
|
81
|
+
|
82
|
+
@client_3 = Azure::Authorization::Mgmt::V2018_09_01_preview::AuthorizationManagementClient.new(configurable.credentials, base_url, options)
|
83
|
+
if(@client_3.respond_to?(:subscription_id))
|
84
|
+
@client_3.subscription_id = configurable.subscription_id
|
85
|
+
end
|
86
|
+
add_telemetry(@client_3)
|
87
|
+
@role_assignments = @client_3.role_assignments
|
88
|
+
|
69
89
|
@model_classes = ModelClasses.new
|
70
90
|
end
|
71
91
|
|
@@ -75,7 +95,11 @@ module Azure::Authorization::Profiles::Latest
|
|
75
95
|
end
|
76
96
|
|
77
97
|
def method_missing(method, *args)
|
78
|
-
if @
|
98
|
+
if @client_3.respond_to?method
|
99
|
+
@client_3.send(method, *args)
|
100
|
+
elsif @client_2.respond_to?method
|
101
|
+
@client_2.send(method, *args)
|
102
|
+
elsif @client_1.respond_to?method
|
79
103
|
@client_1.send(method, *args)
|
80
104
|
elsif @client_0.respond_to?method
|
81
105
|
@client_0.send(method, *args)
|
@@ -93,44 +117,62 @@ module Azure::Authorization::Profiles::Latest
|
|
93
117
|
def classic_administrator
|
94
118
|
Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministrator
|
95
119
|
end
|
120
|
+
def resource_type
|
121
|
+
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ResourceType
|
122
|
+
end
|
96
123
|
def role_definition_filter
|
97
124
|
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinitionFilter
|
98
125
|
end
|
126
|
+
def provider_operations_metadata_list_result
|
127
|
+
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperationsMetadataListResult
|
128
|
+
end
|
129
|
+
def permission
|
130
|
+
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::Permission
|
131
|
+
end
|
99
132
|
def role_definition
|
100
133
|
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinition
|
101
134
|
end
|
102
|
-
def
|
103
|
-
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::
|
135
|
+
def provider_operations_metadata
|
136
|
+
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperationsMetadata
|
104
137
|
end
|
105
138
|
def role_definition_list_result
|
106
139
|
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinitionListResult
|
107
140
|
end
|
108
|
-
def
|
109
|
-
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::
|
110
|
-
end
|
111
|
-
def role_assignment_filter
|
112
|
-
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleAssignmentFilter
|
141
|
+
def provider_operation
|
142
|
+
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperation
|
113
143
|
end
|
114
144
|
def permission_get_result
|
115
145
|
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::PermissionGetResult
|
116
146
|
end
|
117
|
-
def
|
118
|
-
Azure::Authorization::Mgmt::
|
147
|
+
def principal
|
148
|
+
Azure::Authorization::Mgmt::V2018_07_01_preview::Models::Principal
|
119
149
|
end
|
120
|
-
def
|
121
|
-
Azure::Authorization::Mgmt::
|
150
|
+
def deny_assignment
|
151
|
+
Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignment
|
152
|
+
end
|
153
|
+
def deny_assignment_permission
|
154
|
+
Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentPermission
|
155
|
+
end
|
156
|
+
def deny_assignment_list_result
|
157
|
+
Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentListResult
|
158
|
+
end
|
159
|
+
def deny_assignment_filter
|
160
|
+
Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentFilter
|
122
161
|
end
|
123
162
|
def role_assignment_list_result
|
124
|
-
Azure::Authorization::Mgmt::
|
163
|
+
Azure::Authorization::Mgmt::V2018_09_01_preview::Models::RoleAssignmentListResult
|
125
164
|
end
|
126
|
-
def
|
127
|
-
Azure::Authorization::Mgmt::
|
165
|
+
def role_assignment_filter
|
166
|
+
Azure::Authorization::Mgmt::V2018_09_01_preview::Models::RoleAssignmentFilter
|
128
167
|
end
|
129
168
|
def role_assignment_create_parameters
|
130
|
-
Azure::Authorization::Mgmt::
|
169
|
+
Azure::Authorization::Mgmt::V2018_09_01_preview::Models::RoleAssignmentCreateParameters
|
131
170
|
end
|
132
|
-
def
|
133
|
-
Azure::Authorization::Mgmt::
|
171
|
+
def role_assignment
|
172
|
+
Azure::Authorization::Mgmt::V2018_09_01_preview::Models::RoleAssignment
|
173
|
+
end
|
174
|
+
def principal_type
|
175
|
+
Azure::Authorization::Mgmt::V2018_09_01_preview::Models::PrincipalType
|
134
176
|
end
|
135
177
|
end
|
136
178
|
end
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_authorization
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.18.
|
4
|
+
version: 0.18.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: 2018-
|
11
|
+
date: 2018-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -164,6 +164,24 @@ files:
|
|
164
164
|
- lib/2018-01-01-preview/generated/azure_mgmt_authorization/provider_operations_metadata_operations.rb
|
165
165
|
- lib/2018-01-01-preview/generated/azure_mgmt_authorization/role_assignments.rb
|
166
166
|
- lib/2018-01-01-preview/generated/azure_mgmt_authorization/role_definitions.rb
|
167
|
+
- lib/2018-07-01-preview/generated/azure_mgmt_authorization.rb
|
168
|
+
- lib/2018-07-01-preview/generated/azure_mgmt_authorization/authorization_management_client.rb
|
169
|
+
- lib/2018-07-01-preview/generated/azure_mgmt_authorization/deny_assignments.rb
|
170
|
+
- lib/2018-07-01-preview/generated/azure_mgmt_authorization/models/deny_assignment.rb
|
171
|
+
- lib/2018-07-01-preview/generated/azure_mgmt_authorization/models/deny_assignment_filter.rb
|
172
|
+
- lib/2018-07-01-preview/generated/azure_mgmt_authorization/models/deny_assignment_list_result.rb
|
173
|
+
- lib/2018-07-01-preview/generated/azure_mgmt_authorization/models/deny_assignment_permission.rb
|
174
|
+
- lib/2018-07-01-preview/generated/azure_mgmt_authorization/models/principal.rb
|
175
|
+
- lib/2018-07-01-preview/generated/azure_mgmt_authorization/module_definition.rb
|
176
|
+
- lib/2018-09-01-preview/generated/azure_mgmt_authorization.rb
|
177
|
+
- lib/2018-09-01-preview/generated/azure_mgmt_authorization/authorization_management_client.rb
|
178
|
+
- lib/2018-09-01-preview/generated/azure_mgmt_authorization/models/principal_type.rb
|
179
|
+
- lib/2018-09-01-preview/generated/azure_mgmt_authorization/models/role_assignment.rb
|
180
|
+
- lib/2018-09-01-preview/generated/azure_mgmt_authorization/models/role_assignment_create_parameters.rb
|
181
|
+
- lib/2018-09-01-preview/generated/azure_mgmt_authorization/models/role_assignment_filter.rb
|
182
|
+
- lib/2018-09-01-preview/generated/azure_mgmt_authorization/models/role_assignment_list_result.rb
|
183
|
+
- lib/2018-09-01-preview/generated/azure_mgmt_authorization/module_definition.rb
|
184
|
+
- lib/2018-09-01-preview/generated/azure_mgmt_authorization/role_assignments.rb
|
167
185
|
- lib/azure_mgmt_authorization.rb
|
168
186
|
- lib/module_definition.rb
|
169
187
|
- lib/profiles/latest/authorization_latest_profile_client.rb
|