azure_sdk 0.18.6 → 0.18.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/azure_sdk.rb +1 -0
- data/lib/azure_sdk/version.rb +1 -1
- data/lib/latest/modules/compute_profile_module.rb +140 -128
- data/lib/latest/modules/dns_profile_module.rb +42 -30
- data/lib/latest/modules/features_profile_module.rb +18 -6
- data/lib/latest/modules/links_profile_module.rb +23 -9
- data/lib/latest/modules/locks_profile_module.rb +21 -7
- data/lib/latest/modules/mediaservices_profile_module.rb +512 -424
- data/lib/latest/modules/resources_profile_module.rb +92 -78
- data/lib/latest/modules/subscriptions_profile_module.rb +27 -13
- data/lib/latest/modules/web_profile_module.rb +315 -285
- data/lib/v2017_03_09/modules/authorization_profile_module.rb +141 -0
- data/lib/v2017_03_09/modules/dns_profile_module.rb +139 -0
- data/lib/v2017_03_09/modules/features_profile_module.rb +18 -6
- data/lib/v2017_03_09/modules/keyvault_profile_module.rb +559 -0
- data/lib/v2017_03_09/modules/links_profile_module.rb +23 -9
- data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +27 -13
- data/lib/v2017_03_09/v2017_03_09_profile_client.rb +56 -25
- data/lib/v2018_03_01/module_definition.rb +7 -0
- data/lib/v2018_03_01/modules/authorization_profile_module.rb +133 -0
- data/lib/v2018_03_01/modules/compute_profile_module.rb +755 -0
- data/lib/v2018_03_01/modules/dns_profile_module.rb +139 -0
- data/lib/v2018_03_01/modules/keyvault_profile_module.rb +559 -0
- data/lib/v2018_03_01/modules/locks_profile_module.rb +79 -0
- data/lib/v2018_03_01/modules/network_profile_module.rb +1309 -0
- data/lib/v2018_03_01/modules/policy_profile_module.rb +75 -0
- data/lib/v2018_03_01/modules/resources_profile_module.rb +259 -0
- data/lib/v2018_03_01/modules/storage_profile_module.rb +163 -0
- data/lib/v2018_03_01/modules/subscriptions_profile_module.rb +101 -0
- data/lib/v2018_03_01/modules/web_profile_module.rb +1223 -0
- data/lib/v2018_03_01/v2018_03_01_profile_client.rb +160 -0
- metadata +49 -33
@@ -7,18 +7,22 @@ require 'azure_mgmt_links'
|
|
7
7
|
module Azure::Profiles::V2017_03_09
|
8
8
|
module Links
|
9
9
|
module Mgmt
|
10
|
+
Operations = Azure::Links::Mgmt::V2016_09_01::Operations
|
10
11
|
ResourceLinks = Azure::Links::Mgmt::V2016_09_01::ResourceLinks
|
11
12
|
|
12
13
|
module Models
|
13
|
-
ResourceLink = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink
|
14
|
-
ResourceLinkFilter = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkFilter
|
15
14
|
ResourceLinkResult = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkResult
|
15
|
+
OperationDisplay = Azure::Links::Mgmt::V2016_09_01::Models::OperationDisplay
|
16
16
|
ResourceLinkProperties = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkProperties
|
17
|
+
Operation = Azure::Links::Mgmt::V2016_09_01::Models::Operation
|
18
|
+
ResourceLinkFilter = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkFilter
|
19
|
+
OperationListResult = Azure::Links::Mgmt::V2016_09_01::Models::OperationListResult
|
20
|
+
ResourceLink = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink
|
17
21
|
Filter = Azure::Links::Mgmt::V2016_09_01::Models::Filter
|
18
22
|
end
|
19
23
|
|
20
24
|
class LinksManagementClass
|
21
|
-
attr_reader :resource_links, :configurable, :base_url, :options, :model_classes
|
25
|
+
attr_reader :operations, :resource_links, :configurable, :base_url, :options, :model_classes
|
22
26
|
|
23
27
|
def initialize(configurable, base_url=nil, options=nil)
|
24
28
|
@configurable, @base_url, @options = configurable, base_url, options
|
@@ -28,6 +32,7 @@ module Azure::Profiles::V2017_03_09
|
|
28
32
|
@client_0.subscription_id = configurable.subscription_id
|
29
33
|
end
|
30
34
|
add_telemetry(@client_0)
|
35
|
+
@operations = @client_0.operations
|
31
36
|
@resource_links = @client_0.resource_links
|
32
37
|
|
33
38
|
@model_classes = ModelClasses.new
|
@@ -47,18 +52,27 @@ module Azure::Profiles::V2017_03_09
|
|
47
52
|
end
|
48
53
|
|
49
54
|
class ModelClasses
|
50
|
-
def resource_link
|
51
|
-
Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink
|
52
|
-
end
|
53
|
-
def resource_link_filter
|
54
|
-
Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkFilter
|
55
|
-
end
|
56
55
|
def resource_link_result
|
57
56
|
Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkResult
|
58
57
|
end
|
58
|
+
def operation_display
|
59
|
+
Azure::Links::Mgmt::V2016_09_01::Models::OperationDisplay
|
60
|
+
end
|
59
61
|
def resource_link_properties
|
60
62
|
Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkProperties
|
61
63
|
end
|
64
|
+
def operation
|
65
|
+
Azure::Links::Mgmt::V2016_09_01::Models::Operation
|
66
|
+
end
|
67
|
+
def resource_link_filter
|
68
|
+
Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkFilter
|
69
|
+
end
|
70
|
+
def operation_list_result
|
71
|
+
Azure::Links::Mgmt::V2016_09_01::Models::OperationListResult
|
72
|
+
end
|
73
|
+
def resource_link
|
74
|
+
Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink
|
75
|
+
end
|
62
76
|
def filter
|
63
77
|
Azure::Links::Mgmt::V2016_09_01::Models::Filter
|
64
78
|
end
|
@@ -7,23 +7,27 @@ require 'azure_mgmt_subscriptions'
|
|
7
7
|
module Azure::Profiles::V2017_03_09
|
8
8
|
module Subscriptions
|
9
9
|
module Mgmt
|
10
|
+
Operations = Azure::Subscriptions::Mgmt::V2016_06_01::Operations
|
10
11
|
Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions
|
11
12
|
Tenants = Azure::Subscriptions::Mgmt::V2016_06_01::Tenants
|
12
13
|
|
13
14
|
module Models
|
14
|
-
Subscription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription
|
15
|
-
SubscriptionListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult
|
16
|
-
LocationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult
|
17
15
|
TenantIdDescription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription
|
18
16
|
Location = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location
|
19
17
|
TenantListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantListResult
|
20
18
|
SubscriptionPolicies = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionPolicies
|
19
|
+
OperationDisplay = Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationDisplay
|
20
|
+
SubscriptionListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult
|
21
|
+
Operation = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Operation
|
22
|
+
Subscription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription
|
23
|
+
OperationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationListResult
|
24
|
+
LocationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult
|
21
25
|
SubscriptionState = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState
|
22
26
|
SpendingLimit = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit
|
23
27
|
end
|
24
28
|
|
25
29
|
class SubscriptionsManagementClass
|
26
|
-
attr_reader :subscriptions, :tenants, :configurable, :base_url, :options, :model_classes
|
30
|
+
attr_reader :operations, :subscriptions, :tenants, :configurable, :base_url, :options, :model_classes
|
27
31
|
|
28
32
|
def initialize(configurable, base_url=nil, options=nil)
|
29
33
|
@configurable, @base_url, @options = configurable, base_url, options
|
@@ -33,6 +37,7 @@ module Azure::Profiles::V2017_03_09
|
|
33
37
|
@client_0.subscription_id = configurable.subscription_id
|
34
38
|
end
|
35
39
|
add_telemetry(@client_0)
|
40
|
+
@operations = @client_0.operations
|
36
41
|
@subscriptions = @client_0.subscriptions
|
37
42
|
@tenants = @client_0.tenants
|
38
43
|
|
@@ -53,15 +58,6 @@ module Azure::Profiles::V2017_03_09
|
|
53
58
|
end
|
54
59
|
|
55
60
|
class ModelClasses
|
56
|
-
def subscription
|
57
|
-
Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription
|
58
|
-
end
|
59
|
-
def subscription_list_result
|
60
|
-
Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult
|
61
|
-
end
|
62
|
-
def location_list_result
|
63
|
-
Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult
|
64
|
-
end
|
65
61
|
def tenant_id_description
|
66
62
|
Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription
|
67
63
|
end
|
@@ -74,6 +70,24 @@ module Azure::Profiles::V2017_03_09
|
|
74
70
|
def subscription_policies
|
75
71
|
Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionPolicies
|
76
72
|
end
|
73
|
+
def operation_display
|
74
|
+
Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationDisplay
|
75
|
+
end
|
76
|
+
def subscription_list_result
|
77
|
+
Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult
|
78
|
+
end
|
79
|
+
def operation
|
80
|
+
Azure::Subscriptions::Mgmt::V2016_06_01::Models::Operation
|
81
|
+
end
|
82
|
+
def subscription
|
83
|
+
Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription
|
84
|
+
end
|
85
|
+
def operation_list_result
|
86
|
+
Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationListResult
|
87
|
+
end
|
88
|
+
def location_list_result
|
89
|
+
Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult
|
90
|
+
end
|
77
91
|
def subscription_state
|
78
92
|
Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState
|
79
93
|
end
|
@@ -3,15 +3,18 @@
|
|
3
3
|
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
4
|
|
5
5
|
require 'v2017_03_09/module_definition'
|
6
|
-
require 'v2017_03_09/modules/
|
7
|
-
require 'v2017_03_09/modules/network_profile_module'
|
8
|
-
require 'v2017_03_09/modules/compute_profile_module'
|
9
|
-
require 'v2017_03_09/modules/features_profile_module'
|
10
|
-
require 'v2017_03_09/modules/links_profile_module'
|
6
|
+
require 'v2017_03_09/modules/authorization_profile_module'
|
11
7
|
require 'v2017_03_09/modules/locks_profile_module'
|
12
8
|
require 'v2017_03_09/modules/policy_profile_module'
|
9
|
+
require 'v2017_03_09/modules/compute_profile_module'
|
10
|
+
require 'v2017_03_09/modules/keyvault_profile_module'
|
11
|
+
require 'v2017_03_09/modules/network_profile_module'
|
12
|
+
require 'v2017_03_09/modules/dns_profile_module'
|
13
13
|
require 'v2017_03_09/modules/resources_profile_module'
|
14
|
+
require 'v2017_03_09/modules/links_profile_module'
|
14
15
|
require 'v2017_03_09/modules/subscriptions_profile_module'
|
16
|
+
require 'v2017_03_09/modules/storage_profile_module'
|
17
|
+
require 'v2017_03_09/modules/features_profile_module'
|
15
18
|
|
16
19
|
module Azure::Profiles::V2017_03_09
|
17
20
|
#
|
@@ -20,7 +23,7 @@ module Azure::Profiles::V2017_03_09
|
|
20
23
|
class Client
|
21
24
|
include MsRestAzure::Common::Configurable
|
22
25
|
|
23
|
-
attr_reader :
|
26
|
+
attr_reader :authorization, :locks, :policy, :compute, :key_vault, :network, :dns, :resources, :links, :subscriptions, :storage, :features
|
24
27
|
|
25
28
|
#
|
26
29
|
# Initializes a new instance of the Client class.
|
@@ -52,70 +55,74 @@ module Azure::Profiles::V2017_03_09
|
|
52
55
|
base_url = options[:base_url].nil? ? nil:options[:base_url]
|
53
56
|
sdk_options = options[:options].nil? ? nil:options[:options]
|
54
57
|
|
55
|
-
@
|
56
|
-
@network = NetworkAdapter.new(self, base_url, sdk_options)
|
57
|
-
@compute = ComputeAdapter.new(self, base_url, sdk_options)
|
58
|
-
@features = FeaturesAdapter.new(self, base_url, sdk_options)
|
59
|
-
@links = LinksAdapter.new(self, base_url, sdk_options)
|
58
|
+
@authorization = AuthorizationAdapter.new(self, base_url, sdk_options)
|
60
59
|
@locks = LocksAdapter.new(self, base_url, sdk_options)
|
61
60
|
@policy = PolicyAdapter.new(self, base_url, sdk_options)
|
61
|
+
@compute = ComputeAdapter.new(self, base_url, sdk_options)
|
62
|
+
@key_vault = KeyVaultAdapter.new(self, base_url, sdk_options)
|
63
|
+
@network = NetworkAdapter.new(self, base_url, sdk_options)
|
64
|
+
@dns = DnsAdapter.new(self, base_url, sdk_options)
|
62
65
|
@resources = ResourcesAdapter.new(self, base_url, sdk_options)
|
66
|
+
@links = LinksAdapter.new(self, base_url, sdk_options)
|
63
67
|
@subscriptions = SubscriptionsAdapter.new(self, base_url, sdk_options)
|
68
|
+
@storage = StorageAdapter.new(self, base_url, sdk_options)
|
69
|
+
@features = FeaturesAdapter.new(self, base_url, sdk_options)
|
64
70
|
end
|
65
71
|
|
66
|
-
class
|
72
|
+
class AuthorizationAdapter
|
67
73
|
attr_accessor :mgmt
|
68
74
|
|
69
75
|
def initialize(context, base_url, options)
|
70
|
-
@mgmt = Azure::Profiles::V2017_03_09::
|
76
|
+
@mgmt = Azure::Profiles::V2017_03_09::Authorization::Mgmt::AuthorizationManagementClass.new(context, base_url, options)
|
71
77
|
end
|
72
78
|
end
|
73
79
|
|
74
|
-
class
|
80
|
+
class LocksAdapter
|
75
81
|
attr_accessor :mgmt
|
76
82
|
|
77
83
|
def initialize(context, base_url, options)
|
78
|
-
@mgmt = Azure::Profiles::V2017_03_09::
|
84
|
+
@mgmt = Azure::Profiles::V2017_03_09::Locks::Mgmt::LocksManagementClass.new(context, base_url, options)
|
79
85
|
end
|
80
86
|
end
|
81
87
|
|
82
|
-
class
|
88
|
+
class PolicyAdapter
|
83
89
|
attr_accessor :mgmt
|
84
90
|
|
85
91
|
def initialize(context, base_url, options)
|
86
|
-
@mgmt = Azure::Profiles::V2017_03_09::
|
92
|
+
@mgmt = Azure::Profiles::V2017_03_09::Policy::Mgmt::PolicyManagementClass.new(context, base_url, options)
|
87
93
|
end
|
88
94
|
end
|
89
95
|
|
90
|
-
class
|
96
|
+
class ComputeAdapter
|
91
97
|
attr_accessor :mgmt
|
92
98
|
|
93
99
|
def initialize(context, base_url, options)
|
94
|
-
@mgmt = Azure::Profiles::V2017_03_09::
|
100
|
+
@mgmt = Azure::Profiles::V2017_03_09::Compute::Mgmt::ComputeManagementClass.new(context, base_url, options)
|
95
101
|
end
|
96
102
|
end
|
97
103
|
|
98
|
-
class
|
104
|
+
class KeyVaultAdapter < Azure::Profiles::V2017_03_09::KeyVault::KeyVaultDataClass
|
99
105
|
attr_accessor :mgmt
|
100
106
|
|
101
107
|
def initialize(context, base_url, options)
|
102
|
-
|
108
|
+
super(context)
|
109
|
+
@mgmt = Azure::Profiles::V2017_03_09::KeyVault::Mgmt::KeyVaultManagementClass.new(context, base_url, options)
|
103
110
|
end
|
104
111
|
end
|
105
112
|
|
106
|
-
class
|
113
|
+
class NetworkAdapter
|
107
114
|
attr_accessor :mgmt
|
108
115
|
|
109
116
|
def initialize(context, base_url, options)
|
110
|
-
@mgmt = Azure::Profiles::V2017_03_09::
|
117
|
+
@mgmt = Azure::Profiles::V2017_03_09::Network::Mgmt::NetworkManagementClass.new(context, base_url, options)
|
111
118
|
end
|
112
119
|
end
|
113
120
|
|
114
|
-
class
|
121
|
+
class DnsAdapter
|
115
122
|
attr_accessor :mgmt
|
116
123
|
|
117
124
|
def initialize(context, base_url, options)
|
118
|
-
@mgmt = Azure::Profiles::V2017_03_09::
|
125
|
+
@mgmt = Azure::Profiles::V2017_03_09::Dns::Mgmt::DnsManagementClass.new(context, base_url, options)
|
119
126
|
end
|
120
127
|
end
|
121
128
|
|
@@ -127,6 +134,14 @@ module Azure::Profiles::V2017_03_09
|
|
127
134
|
end
|
128
135
|
end
|
129
136
|
|
137
|
+
class LinksAdapter
|
138
|
+
attr_accessor :mgmt
|
139
|
+
|
140
|
+
def initialize(context, base_url, options)
|
141
|
+
@mgmt = Azure::Profiles::V2017_03_09::Links::Mgmt::LinksManagementClass.new(context, base_url, options)
|
142
|
+
end
|
143
|
+
end
|
144
|
+
|
130
145
|
class SubscriptionsAdapter
|
131
146
|
attr_accessor :mgmt
|
132
147
|
|
@@ -135,5 +150,21 @@ module Azure::Profiles::V2017_03_09
|
|
135
150
|
end
|
136
151
|
end
|
137
152
|
|
153
|
+
class StorageAdapter
|
154
|
+
attr_accessor :mgmt
|
155
|
+
|
156
|
+
def initialize(context, base_url, options)
|
157
|
+
@mgmt = Azure::Profiles::V2017_03_09::Storage::Mgmt::StorageManagementClass.new(context, base_url, options)
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
class FeaturesAdapter
|
162
|
+
attr_accessor :mgmt
|
163
|
+
|
164
|
+
def initialize(context, base_url, options)
|
165
|
+
@mgmt = Azure::Profiles::V2017_03_09::Features::Mgmt::FeaturesManagementClass.new(context, base_url, options)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
138
169
|
end
|
139
170
|
end
|
@@ -0,0 +1,7 @@
|
|
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::Profiles end
|
7
|
+
module Azure::Profiles::V2018_03_01 end
|
@@ -0,0 +1,133 @@
|
|
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::Profiles::V2018_03_01
|
8
|
+
module Authorization
|
9
|
+
module Mgmt
|
10
|
+
Permissions = Azure::Authorization::Mgmt::V2015_07_01::Permissions
|
11
|
+
ProviderOperationsMetadataOperations = Azure::Authorization::Mgmt::V2015_07_01::ProviderOperationsMetadataOperations
|
12
|
+
RoleAssignments = Azure::Authorization::Mgmt::V2015_07_01::RoleAssignments
|
13
|
+
RoleDefinitions = Azure::Authorization::Mgmt::V2015_07_01::RoleDefinitions
|
14
|
+
ClassicAdministrators = Azure::Authorization::Mgmt::V2015_07_01::ClassicAdministrators
|
15
|
+
|
16
|
+
module Models
|
17
|
+
RoleAssignment = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignment
|
18
|
+
RoleAssignmentListResult = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentListResult
|
19
|
+
RoleDefinitionFilter = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionFilter
|
20
|
+
RoleAssignmentProperties = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentProperties
|
21
|
+
PermissionGetResult = Azure::Authorization::Mgmt::V2015_07_01::Models::PermissionGetResult
|
22
|
+
RoleAssignmentCreateParameters = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentCreateParameters
|
23
|
+
ResourceType = Azure::Authorization::Mgmt::V2015_07_01::Models::ResourceType
|
24
|
+
RoleDefinitionProperties = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionProperties
|
25
|
+
ProviderOperationsMetadataListResult = Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperationsMetadataListResult
|
26
|
+
RoleDefinition = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinition
|
27
|
+
RoleAssignmentFilter = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentFilter
|
28
|
+
RoleDefinitionListResult = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionListResult
|
29
|
+
ProviderOperation = Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperation
|
30
|
+
ClassicAdministratorProperties = Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministratorProperties
|
31
|
+
RoleAssignmentPropertiesWithScope = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentPropertiesWithScope
|
32
|
+
ClassicAdministrator = Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministrator
|
33
|
+
ProviderOperationsMetadata = Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperationsMetadata
|
34
|
+
ClassicAdministratorListResult = Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministratorListResult
|
35
|
+
Permission = Azure::Authorization::Mgmt::V2015_07_01::Models::Permission
|
36
|
+
end
|
37
|
+
|
38
|
+
class AuthorizationManagementClass
|
39
|
+
attr_reader :permissions, :provider_operations_metadata_operations, :role_assignments, :role_definitions, :classic_administrators, :configurable, :base_url, :options, :model_classes
|
40
|
+
|
41
|
+
def initialize(configurable, base_url=nil, options=nil)
|
42
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
43
|
+
|
44
|
+
@client_0 = Azure::Authorization::Mgmt::V2015_07_01::AuthorizationManagementClient.new(configurable.credentials, base_url, options)
|
45
|
+
if(@client_0.respond_to?(:subscription_id))
|
46
|
+
@client_0.subscription_id = configurable.subscription_id
|
47
|
+
end
|
48
|
+
add_telemetry(@client_0)
|
49
|
+
@permissions = @client_0.permissions
|
50
|
+
@provider_operations_metadata_operations = @client_0.provider_operations_metadata_operations
|
51
|
+
@role_assignments = @client_0.role_assignments
|
52
|
+
@role_definitions = @client_0.role_definitions
|
53
|
+
@classic_administrators = @client_0.classic_administrators
|
54
|
+
|
55
|
+
@model_classes = ModelClasses.new
|
56
|
+
end
|
57
|
+
|
58
|
+
def add_telemetry(client)
|
59
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/V2018_03_01/Authorization/Mgmt"
|
60
|
+
client.add_user_agent_information(profile_information)
|
61
|
+
end
|
62
|
+
|
63
|
+
def method_missing(method, *args)
|
64
|
+
if @client_0.respond_to?method
|
65
|
+
@client_0.send(method, *args)
|
66
|
+
else
|
67
|
+
super
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
class ModelClasses
|
72
|
+
def role_assignment
|
73
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignment
|
74
|
+
end
|
75
|
+
def role_assignment_list_result
|
76
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentListResult
|
77
|
+
end
|
78
|
+
def role_definition_filter
|
79
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionFilter
|
80
|
+
end
|
81
|
+
def role_assignment_properties
|
82
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentProperties
|
83
|
+
end
|
84
|
+
def permission_get_result
|
85
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::PermissionGetResult
|
86
|
+
end
|
87
|
+
def role_assignment_create_parameters
|
88
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentCreateParameters
|
89
|
+
end
|
90
|
+
def resource_type
|
91
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::ResourceType
|
92
|
+
end
|
93
|
+
def role_definition_properties
|
94
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionProperties
|
95
|
+
end
|
96
|
+
def provider_operations_metadata_list_result
|
97
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperationsMetadataListResult
|
98
|
+
end
|
99
|
+
def role_definition
|
100
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinition
|
101
|
+
end
|
102
|
+
def role_assignment_filter
|
103
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentFilter
|
104
|
+
end
|
105
|
+
def role_definition_list_result
|
106
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionListResult
|
107
|
+
end
|
108
|
+
def provider_operation
|
109
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperation
|
110
|
+
end
|
111
|
+
def classic_administrator_properties
|
112
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministratorProperties
|
113
|
+
end
|
114
|
+
def role_assignment_properties_with_scope
|
115
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentPropertiesWithScope
|
116
|
+
end
|
117
|
+
def classic_administrator
|
118
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministrator
|
119
|
+
end
|
120
|
+
def provider_operations_metadata
|
121
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperationsMetadata
|
122
|
+
end
|
123
|
+
def classic_administrator_list_result
|
124
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministratorListResult
|
125
|
+
end
|
126
|
+
def permission
|
127
|
+
Azure::Authorization::Mgmt::V2015_07_01::Models::Permission
|
128
|
+
end
|
129
|
+
end
|
130
|
+
end
|
131
|
+
end
|
132
|
+
end
|
133
|
+
end
|