azure_mgmt_authorization 0.18.3 → 0.18.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 00e8ee5e94530c827eed3e594304dd5d126f8c9df3cd53197cf7df4da4ca036c
4
- data.tar.gz: 0eab9e34e6392c363247865a6fc2c497c657d57cbde0bdf805ff571a752b757a
3
+ metadata.gz: 090533aec9b334bfcba1b7bbe1f4d99285423f6d2d44a691f03d8a0c6a62ac50
4
+ data.tar.gz: 8e62435c077d0a9e57a12aa374f7e0c0caf83dee82569351f058ffd62b87d422
5
5
  SHA512:
6
- metadata.gz: e2e26cbd2966bcb3fcd363874a2cba91daa4cdfcce381cdd33a5d18b260418193c75c62cd8eb853e58f31b43c7ec5af161864345d7a2d403d74f228adf8c5919
7
- data.tar.gz: cd2cd7b6a727635cbcfeb40e121204bb383b81cc6ad33388a49163610e511137c429f4821e44d5979d5fce37f087df86cf983561b1ee0660681e0c83c17fb5ef
6
+ metadata.gz: 3cec5344d7aed3ff94de9d2b5668988cdb34fc23b41f4ca0c378d36318a3d0a147cd4c2d63789a0b5727a36412643885c5da195b66d12e639e35d46d0b9b77ab
7
+ data.tar.gz: d16b621e4ec715cfff0b71663a15e015b6f999dfbb60ee86b4e91c24572129865781eb8f60c60fa1b2b4dc0ae10df491c669b1d7ef234e8a5af7b88aec62b26c
@@ -124,7 +124,7 @@ module Azure::Authorization::Mgmt::V2015_06_01_preview
124
124
  #
125
125
  def add_telemetry
126
126
  sdk_information = 'azure_mgmt_authorization'
127
- sdk_information = "#{sdk_information}/0.18.3"
127
+ sdk_information = "#{sdk_information}/0.18.4"
128
128
  add_user_agent_information(sdk_information)
129
129
  end
130
130
  end
@@ -133,7 +133,7 @@ module Azure::Authorization::Mgmt::V2015_07_01_preview
133
133
  #
134
134
  def add_telemetry
135
135
  sdk_information = 'azure_mgmt_authorization'
136
- sdk_information = "#{sdk_information}/0.18.3"
136
+ sdk_information = "#{sdk_information}/0.18.4"
137
137
  add_user_agent_information(sdk_information)
138
138
  end
139
139
  end
@@ -141,7 +141,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
141
141
  #
142
142
  def add_telemetry
143
143
  sdk_information = 'azure_mgmt_authorization'
144
- sdk_information = "#{sdk_information}/0.18.3"
144
+ sdk_information = "#{sdk_information}/0.18.4"
145
145
  add_user_agent_information(sdk_information)
146
146
  end
147
147
  end
@@ -124,7 +124,7 @@ module Azure::Authorization::Mgmt::V2017_10_01_preview
124
124
  #
125
125
  def add_telemetry
126
126
  sdk_information = 'azure_mgmt_authorization'
127
- sdk_information = "#{sdk_information}/0.18.3"
127
+ sdk_information = "#{sdk_information}/0.18.4"
128
128
  add_user_agent_information(sdk_information)
129
129
  end
130
130
  end
@@ -137,7 +137,7 @@ module Azure::Authorization::Mgmt::V2018_01_01_preview
137
137
  #
138
138
  def add_telemetry
139
139
  sdk_information = 'azure_mgmt_authorization'
140
- sdk_information = "#{sdk_information}/0.18.3"
140
+ sdk_information = "#{sdk_information}/0.18.4"
141
141
  add_user_agent_information(sdk_information)
142
142
  end
143
143
  end
@@ -124,7 +124,7 @@ module Azure::Authorization::Mgmt::V2018_07_01_preview
124
124
  #
125
125
  def add_telemetry
126
126
  sdk_information = 'azure_mgmt_authorization'
127
- sdk_information = "#{sdk_information}/0.18.3"
127
+ sdk_information = "#{sdk_information}/0.18.4"
128
128
  add_user_agent_information(sdk_information)
129
129
  end
130
130
  end
@@ -124,7 +124,7 @@ module Azure::Authorization::Mgmt::V2018_09_01_preview
124
124
  #
125
125
  def add_telemetry
126
126
  sdk_information = 'azure_mgmt_authorization'
127
- sdk_information = "#{sdk_information}/0.18.3"
127
+ sdk_information = "#{sdk_information}/0.18.4"
128
128
  add_user_agent_information(sdk_information)
129
129
  end
130
130
  end
@@ -11,4 +11,5 @@ require '2015-07-01/generated/azure_mgmt_authorization'
11
11
  require '2017-10-01-preview/generated/azure_mgmt_authorization'
12
12
  require 'profiles/v2017_03_09/authorization_v2017_03_09_profile_client'
13
13
  require 'profiles/latest/authorization_latest_profile_client'
14
+ require 'profiles/v2019_03_01_hybrid/authorization_v2019_03_01_hybrid_profile_client'
14
15
  require 'profiles/v2018_03_01/authorization_v2018_03_01_profile_client'
@@ -0,0 +1,8 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure end
6
+ module Azure::Authorization end
7
+ module Azure::Authorization::Profiles end
8
+ module Azure::Authorization::Profiles::V2019_03_01_Hybrid end
@@ -0,0 +1,40 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'profiles/v2019_03_01_hybrid/authorization_module_definition'
6
+ require 'profiles/v2019_03_01_hybrid/modules/authorization_profile_module'
7
+
8
+ module Azure::Authorization::Profiles::V2019_03_01_Hybrid
9
+ module Mgmt
10
+ #
11
+ # Client class for the V2019_03_01_Hybrid profile SDK.
12
+ #
13
+ class Client < AuthorizationManagementClass
14
+ include MsRestAzure::Common::Configurable
15
+
16
+ #
17
+ # Initializes a new instance of the Client class.
18
+ # @param options [Hash] hash of client options.
19
+ # options = {
20
+ # tenant_id: 'YOUR TENANT ID',
21
+ # client_id: 'YOUR CLIENT ID',
22
+ # client_secret: 'YOUR CLIENT SECRET',
23
+ # subscription_id: 'YOUR SUBSCRIPTION ID',
24
+ # credentials: credentials,
25
+ # active_directory_settings: active_directory_settings,
26
+ # base_url: 'YOUR BASE URL',
27
+ # options: options
28
+ # }
29
+ # 'credentials' are optional and if not passed in the hash, will be obtained
30
+ # from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
31
+ #
32
+ # Also, base_url, active_directory_settings & options are optional.
33
+ #
34
+ def initialize(options = {})
35
+ super(options)
36
+ end
37
+
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,145 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'azure_mgmt_authorization'
6
+
7
+ module Azure::Authorization::Profiles::V2019_03_01_Hybrid
8
+ module Mgmt
9
+ Permissions = Azure::Authorization::Mgmt::V2015_07_01::Permissions
10
+ ProviderOperationsMetadataOperations = Azure::Authorization::Mgmt::V2015_07_01::ProviderOperationsMetadataOperations
11
+ RoleAssignments = Azure::Authorization::Mgmt::V2015_07_01::RoleAssignments
12
+ RoleDefinitions = Azure::Authorization::Mgmt::V2015_07_01::RoleDefinitions
13
+ ClassicAdministrators = Azure::Authorization::Mgmt::V2015_07_01::ClassicAdministrators
14
+
15
+ module Models
16
+ RoleAssignment = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignment
17
+ RoleAssignmentListResult = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentListResult
18
+ RoleDefinitionFilter = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionFilter
19
+ RoleAssignmentProperties = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentProperties
20
+ PermissionGetResult = Azure::Authorization::Mgmt::V2015_07_01::Models::PermissionGetResult
21
+ RoleAssignmentCreateParameters = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentCreateParameters
22
+ ResourceType = Azure::Authorization::Mgmt::V2015_07_01::Models::ResourceType
23
+ RoleDefinitionProperties = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionProperties
24
+ ProviderOperationsMetadataListResult = Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperationsMetadataListResult
25
+ RoleDefinition = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinition
26
+ RoleAssignmentFilter = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentFilter
27
+ RoleDefinitionListResult = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionListResult
28
+ ProviderOperation = Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperation
29
+ ClassicAdministratorProperties = Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministratorProperties
30
+ RoleAssignmentPropertiesWithScope = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentPropertiesWithScope
31
+ ClassicAdministrator = Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministrator
32
+ ProviderOperationsMetadata = Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperationsMetadata
33
+ ClassicAdministratorListResult = Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministratorListResult
34
+ Permission = Azure::Authorization::Mgmt::V2015_07_01::Models::Permission
35
+ end
36
+
37
+ #
38
+ # AuthorizationManagementClass
39
+ #
40
+ class AuthorizationManagementClass
41
+ attr_reader :permissions, :provider_operations_metadata_operations, :role_assignments, :role_definitions, :classic_administrators, :configurable, :base_url, :options, :model_classes
42
+
43
+ def initialize(options = {})
44
+ if options.is_a?(Hash) && options.length == 0
45
+ @options = setup_default_options
46
+ else
47
+ @options = options
48
+ end
49
+
50
+ reset!(options)
51
+
52
+ @configurable = self
53
+ @base_url = options[:base_url].nil? ? nil:options[:base_url]
54
+ @options = options[:options].nil? ? nil:options[:options]
55
+
56
+ @client_0 = Azure::Authorization::Mgmt::V2015_07_01::AuthorizationManagementClient.new(configurable.credentials, base_url, options)
57
+ if(@client_0.respond_to?(:subscription_id))
58
+ @client_0.subscription_id = configurable.subscription_id
59
+ end
60
+ add_telemetry(@client_0)
61
+ @permissions = @client_0.permissions
62
+ @provider_operations_metadata_operations = @client_0.provider_operations_metadata_operations
63
+ @role_assignments = @client_0.role_assignments
64
+ @role_definitions = @client_0.role_definitions
65
+ @classic_administrators = @client_0.classic_administrators
66
+
67
+ @model_classes = ModelClasses.new
68
+ end
69
+
70
+ def add_telemetry(client)
71
+ profile_information = 'Profiles/V2019_03_01_Hybrid/Authorization/Mgmt'
72
+ client.add_user_agent_information(profile_information)
73
+ end
74
+
75
+ def method_missing(method, *args)
76
+ if @client_0.respond_to?method
77
+ @client_0.send(method, *args)
78
+ else
79
+ super
80
+ end
81
+ end
82
+
83
+ end
84
+
85
+ class ModelClasses
86
+ def role_assignment
87
+ Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignment
88
+ end
89
+ def role_assignment_list_result
90
+ Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentListResult
91
+ end
92
+ def role_definition_filter
93
+ Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionFilter
94
+ end
95
+ def role_assignment_properties
96
+ Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentProperties
97
+ end
98
+ def permission_get_result
99
+ Azure::Authorization::Mgmt::V2015_07_01::Models::PermissionGetResult
100
+ end
101
+ def role_assignment_create_parameters
102
+ Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentCreateParameters
103
+ end
104
+ def resource_type
105
+ Azure::Authorization::Mgmt::V2015_07_01::Models::ResourceType
106
+ end
107
+ def role_definition_properties
108
+ Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionProperties
109
+ end
110
+ def provider_operations_metadata_list_result
111
+ Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperationsMetadataListResult
112
+ end
113
+ def role_definition
114
+ Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinition
115
+ end
116
+ def role_assignment_filter
117
+ Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentFilter
118
+ end
119
+ def role_definition_list_result
120
+ Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionListResult
121
+ end
122
+ def provider_operation
123
+ Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperation
124
+ end
125
+ def classic_administrator_properties
126
+ Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministratorProperties
127
+ end
128
+ def role_assignment_properties_with_scope
129
+ Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentPropertiesWithScope
130
+ end
131
+ def classic_administrator
132
+ Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministrator
133
+ end
134
+ def provider_operations_metadata
135
+ Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperationsMetadata
136
+ end
137
+ def classic_administrator_list_result
138
+ Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministratorListResult
139
+ end
140
+ def permission
141
+ Azure::Authorization::Mgmt::V2015_07_01::Models::Permission
142
+ end
143
+ end
144
+ end
145
+ 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::Authorization::Mgmt
6
- VERSION = '0.18.3'
6
+ VERSION = '0.18.4'
7
7
  end
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.3
4
+ version: 0.18.4
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-03-13 00:00:00.000000000 Z
11
+ date: 2019-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -193,6 +193,9 @@ files:
193
193
  - lib/profiles/v2018_03_01/authorization_module_definition.rb
194
194
  - lib/profiles/v2018_03_01/authorization_v2018_03_01_profile_client.rb
195
195
  - lib/profiles/v2018_03_01/modules/authorization_profile_module.rb
196
+ - lib/profiles/v2019_03_01_hybrid/authorization_module_definition.rb
197
+ - lib/profiles/v2019_03_01_hybrid/authorization_v2019_03_01_hybrid_profile_client.rb
198
+ - lib/profiles/v2019_03_01_hybrid/modules/authorization_profile_module.rb
196
199
  - lib/version.rb
197
200
  homepage: https://aka.ms/azure-sdk-for-ruby
198
201
  licenses: