azure_sdk 0.51.1 → 0.52.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +20 -20
- data/lib/azure_sdk.rb +9 -9
- data/lib/azure_sdk/version.rb +1 -1
- data/lib/latest/latest_profile_client.rb +0 -0
- data/lib/latest/module_definition.rb +6 -6
- data/lib/latest/modules/adhybridhealthservice_profile_module.rb +481 -481
- data/lib/latest/modules/advisor_profile_module.rb +119 -119
- data/lib/latest/modules/alertsmanagement_profile_module.rb +259 -259
- data/lib/latest/modules/analysisservices_profile_module.rb +159 -159
- data/lib/latest/modules/anomalydetector_profile_module.rb +69 -69
- data/lib/latest/modules/apimanagement_profile_module.rb +1069 -1069
- data/lib/latest/modules/appconfiguration_profile_module.rb +175 -107
- data/lib/latest/modules/attestation_profile_module.rb +95 -95
- data/lib/latest/modules/authorization_profile_module.rb +167 -167
- data/lib/latest/modules/automation_profile_module.rb +663 -663
- data/lib/latest/modules/autosuggest_profile_module.rb +121 -121
- data/lib/latest/modules/azurestack_profile_module.rb +0 -0
- data/lib/latest/modules/batch_profile_module.rb +417 -417
- data/lib/latest/modules/batchai_profile_module.rb +425 -425
- data/lib/latest/modules/billing_profile_module.rb +107 -107
- data/lib/latest/modules/botservice_profile_module.rb +293 -293
- data/lib/latest/modules/cdn_profile_module.rb +325 -325
- data/lib/latest/modules/cognitiveservices_profile_module.rb +201 -207
- data/lib/latest/modules/commerce_profile_module.rb +99 -99
- data/lib/latest/modules/compute_profile_module.rb +1235 -1235
- data/lib/latest/modules/computervision_profile_module.rb +233 -233
- data/lib/latest/modules/consumption_profile_module.rb +345 -345
- data/lib/latest/modules/containerinstance_profile_module.rb +253 -253
- data/lib/latest/modules/containerregistry_profile_module.rb +575 -575
- data/lib/latest/modules/containerservice_profile_module.rb +385 -385
- data/lib/latest/modules/contentmoderator_profile_module.rb +287 -287
- data/lib/latest/modules/cosmosdb_profile_module.rb +679 -679
- data/lib/latest/modules/costmanagement_profile_module.rb +207 -207
- data/lib/latest/modules/customerinsights_profile_module.rb +497 -497
- data/lib/latest/modules/customimagesearch_profile_module.rb +143 -143
- data/lib/latest/modules/customsearch_profile_module.rb +123 -123
- data/lib/latest/modules/customvisionprediction_profile_module.rb +69 -69
- data/lib/latest/modules/customvisiontraining_profile_module.rb +241 -241
- data/lib/latest/modules/databox_profile_module.rb +309 -309
- data/lib/latest/modules/datafactory_profile_module.rb +2701 -2159
- data/lib/latest/modules/datalakeanalytics_profile_module.rb +253 -253
- data/lib/latest/modules/datalakestore_profile_module.rb +247 -247
- data/lib/latest/modules/datamigration_profile_module.rb +1307 -1307
- data/lib/latest/modules/datashare_profile_module.rb +383 -383
- data/lib/latest/modules/deploymentmanager_profile_module.rb +261 -261
- data/lib/latest/modules/devspaces_profile_module.rb +119 -119
- data/lib/latest/modules/devtestlabs_profile_module.rb +849 -849
- data/lib/latest/modules/dns_profile_module.rb +143 -143
- data/lib/latest/modules/edgegateway_profile_module.rb +463 -463
- data/lib/latest/modules/entitysearch_profile_module.rb +231 -231
- data/lib/latest/modules/eventgrid_profile_module.rb +679 -679
- data/lib/latest/modules/eventhub_profile_module.rb +195 -195
- data/lib/latest/modules/face_profile_module.rb +297 -297
- data/lib/latest/modules/features_profile_module.rb +73 -73
- data/lib/latest/modules/formrecognizer_profile_module.rb +169 -169
- data/lib/latest/modules/graphrbac_profile_module.rb +225 -225
- data/lib/latest/modules/hanaonazure_profile_module.rb +137 -137
- data/lib/latest/modules/hdinsight_profile_module.rb +415 -415
- data/lib/latest/modules/imagesearch_profile_module.rb +279 -279
- data/lib/latest/modules/importexport_profile_module.rb +135 -135
- data/lib/latest/modules/iotcentral_profile_module.rb +111 -111
- data/lib/latest/modules/iothub_profile_module.rb +377 -377
- data/lib/latest/modules/keyvault_profile_module.rb +623 -623
- data/lib/latest/modules/kusto_profile_module.rb +349 -297
- data/lib/latest/modules/labservices_profile_module.rb +357 -357
- data/lib/latest/modules/links_profile_module.rb +83 -83
- data/lib/latest/modules/localsearch_profile_module.rb +151 -151
- data/lib/latest/modules/locks_profile_module.rb +79 -79
- data/lib/latest/modules/logic_profile_module.rb +787 -787
- data/lib/latest/modules/luisauthoring_profile_module.rb +497 -497
- data/lib/latest/modules/luisruntime_profile_module.rb +91 -91
- data/lib/latest/modules/machinelearning_profile_module.rb +211 -211
- data/lib/latest/modules/machinelearningservices_profile_module.rb +293 -293
- data/lib/latest/modules/maintenance_profile_module.rb +121 -121
- data/lib/latest/modules/managedapplications_profile_module.rb +123 -123
- data/lib/latest/modules/managedserviceidentity_profile_module.rb +75 -75
- data/lib/latest/modules/mariadb_profile_module.rb +233 -233
- data/lib/latest/modules/marketplaceordering_profile_module.rb +79 -79
- data/lib/latest/modules/mediaservices_profile_module.rb +871 -871
- data/lib/latest/modules/migrate_profile_module.rb +243 -243
- data/lib/latest/modules/mixedreality_profile_module.rb +125 -125
- data/lib/latest/modules/monitor_profile_module.rb +723 -723
- data/lib/latest/modules/mysql_profile_module.rb +233 -233
- data/lib/latest/modules/netapp_profile_module.rb +209 -209
- data/lib/latest/modules/network_profile_module.rb +2489 -2489
- data/lib/latest/modules/newssearch_profile_module.rb +143 -143
- data/lib/latest/modules/notificationhubs_profile_module.rb +189 -189
- data/lib/latest/modules/operationalinsights_profile_module.rb +259 -259
- data/lib/latest/modules/operationsmanagement_profile_module.rb +123 -123
- data/lib/latest/modules/peering_profile_module.rb +259 -259
- data/lib/latest/modules/personalizer_profile_module.rb +83 -83
- data/lib/latest/modules/policy_profile_module.rb +105 -105
- data/lib/latest/modules/policyinsights_profile_module.rb +223 -223
- data/lib/latest/modules/portal_profile_module.rb +95 -95
- data/lib/latest/modules/postgresql_profile_module.rb +233 -233
- data/lib/latest/modules/powerbidedicated_profile_module.rb +123 -123
- data/lib/latest/modules/powerbiembedded_profile_module.rb +127 -127
- data/lib/latest/modules/privatedns_profile_module.rb +137 -137
- data/lib/latest/modules/qnamaker_profile_module.rb +215 -219
- data/lib/latest/modules/qnamakerruntime_profile_module.rb +123 -123
- data/lib/latest/modules/recoveryservices_profile_module.rb +211 -211
- data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +1301 -1301
- data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1465 -1465
- data/lib/latest/modules/redis_profile_module.rb +209 -209
- data/lib/latest/modules/relay_profile_module.rb +163 -163
- data/lib/latest/modules/reservations_profile_module.rb +359 -237
- data/lib/latest/modules/resourcegraph_profile_module.rb +129 -129
- data/lib/latest/modules/resourcehealth_profile_module.rb +111 -111
- data/lib/latest/modules/resources_profile_module.rb +321 -321
- data/lib/latest/modules/resourcesmanagement_profile_module.rb +163 -163
- data/lib/latest/modules/scheduler_profile_module.rb +227 -227
- data/lib/latest/modules/search_profile_module.rb +127 -127
- data/lib/latest/modules/security_profile_module.rb +733 -733
- data/lib/latest/modules/serialconsole_profile_module.rb +73 -73
- data/lib/latest/modules/servicebus_profile_module.rb +309 -309
- data/lib/latest/modules/servicefabric_profile_module.rb +2711 -2711
- data/lib/latest/modules/signalr_profile_module.rb +161 -161
- data/lib/latest/modules/spellcheck_profile_module.rb +101 -101
- data/lib/latest/modules/sql_profile_module.rb +1765 -1765
- data/lib/latest/modules/sqlvirtualmachine_profile_module.rb +235 -235
- data/lib/latest/modules/storage_profile_module.rb +569 -549
- data/lib/latest/modules/storagecache_profile_module.rb +173 -173
- data/lib/latest/modules/storagesync_profile_module.rb +275 -275
- data/lib/latest/modules/storsimple8000series_profile_module.rb +715 -715
- data/lib/latest/modules/streamanalytics_profile_module.rb +349 -349
- data/lib/latest/modules/subscriptions_profile_module.rb +207 -207
- data/lib/latest/modules/textanalytics_profile_module.rb +125 -125
- data/lib/latest/modules/timeseriesinsights_profile_module.rb +0 -0
- data/lib/latest/modules/trafficmanager_profile_module.rb +173 -173
- data/lib/latest/modules/videosearch_profile_module.rb +175 -175
- data/lib/latest/modules/visualsearch_profile_module.rb +235 -235
- data/lib/latest/modules/vmwarecloudsimple_profile_module.rb +247 -247
- data/lib/latest/modules/web_profile_module.rb +1419 -1419
- data/lib/latest/modules/websearch_profile_module.rb +211 -211
- data/lib/v2017_03_09/module_definition.rb +6 -6
- data/lib/v2017_03_09/modules/authorization_profile_module.rb +141 -141
- data/lib/v2017_03_09/modules/compute_profile_module.rb +469 -469
- data/lib/v2017_03_09/modules/dns_profile_module.rb +139 -139
- data/lib/v2017_03_09/modules/features_profile_module.rb +73 -73
- data/lib/v2017_03_09/modules/keyvault_profile_module.rb +559 -559
- data/lib/v2017_03_09/modules/links_profile_module.rb +83 -83
- data/lib/v2017_03_09/modules/locks_profile_module.rb +61 -61
- data/lib/v2017_03_09/modules/network_profile_module.rb +555 -555
- data/lib/v2017_03_09/modules/policy_profile_module.rb +71 -71
- data/lib/v2017_03_09/modules/resources_profile_module.rb +255 -255
- data/lib/v2017_03_09/modules/storage_profile_module.rb +163 -163
- data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +101 -101
- data/lib/v2017_03_09/v2017_03_09_profile_client.rb +170 -170
- data/lib/v2018_03_01/module_definition.rb +6 -6
- data/lib/v2018_03_01/modules/authorization_profile_module.rb +133 -133
- data/lib/v2018_03_01/modules/compute_profile_module.rb +755 -755
- data/lib/v2018_03_01/modules/dns_profile_module.rb +139 -139
- data/lib/v2018_03_01/modules/keyvault_profile_module.rb +559 -559
- data/lib/v2018_03_01/modules/locks_profile_module.rb +79 -79
- data/lib/v2018_03_01/modules/network_profile_module.rb +1321 -1321
- data/lib/v2018_03_01/modules/policy_profile_module.rb +75 -75
- data/lib/v2018_03_01/modules/resources_profile_module.rb +271 -271
- data/lib/v2018_03_01/modules/storage_profile_module.rb +163 -163
- data/lib/v2018_03_01/modules/subscriptions_profile_module.rb +101 -101
- data/lib/v2018_03_01/modules/web_profile_module.rb +1223 -1223
- data/lib/v2018_03_01/v2018_03_01_profile_client.rb +160 -160
- data/lib/v2019_03_01_hybrid/module_definition.rb +6 -6
- data/lib/v2019_03_01_hybrid/modules/authorization_profile_module.rb +133 -133
- data/lib/v2019_03_01_hybrid/modules/compute_profile_module.rb +855 -855
- data/lib/v2019_03_01_hybrid/modules/dns_profile_module.rb +139 -139
- data/lib/v2019_03_01_hybrid/modules/keyvault_profile_module.rb +559 -559
- data/lib/v2019_03_01_hybrid/modules/locks_profile_module.rb +79 -79
- data/lib/v2019_03_01_hybrid/modules/monitor_profile_module.rb +285 -285
- data/lib/v2019_03_01_hybrid/modules/network_profile_module.rb +1261 -1261
- data/lib/v2019_03_01_hybrid/modules/policy_profile_module.rb +75 -75
- data/lib/v2019_03_01_hybrid/modules/resources_profile_module.rb +289 -289
- data/lib/v2019_03_01_hybrid/modules/storage_profile_module.rb +283 -283
- data/lib/v2019_03_01_hybrid/modules/subscriptions_profile_module.rb +101 -101
- data/lib/v2019_03_01_hybrid/modules/web_profile_module.rb +1457 -1457
- data/lib/v2019_03_01_hybrid/v2019_03_01_hybrid_profile_client.rb +170 -170
- metadata +27 -26
@@ -1,225 +1,225 @@
|
|
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_graph_rbac'
|
6
|
-
|
7
|
-
module Azure::Profiles::Latest
|
8
|
-
module GraphRbac
|
9
|
-
Objects = Azure::GraphRbac::V1_6::Objects
|
10
|
-
Applications = Azure::GraphRbac::V1_6::Applications
|
11
|
-
Groups = Azure::GraphRbac::V1_6::Groups
|
12
|
-
ServicePrincipals = Azure::GraphRbac::V1_6::ServicePrincipals
|
13
|
-
Users = Azure::GraphRbac::V1_6::Users
|
14
|
-
Domains = Azure::GraphRbac::V1_6::Domains
|
15
|
-
|
16
|
-
module Models
|
17
|
-
GroupAddMemberParameters = Azure::GraphRbac::V1_6::Models::GroupAddMemberParameters
|
18
|
-
GraphError = Azure::GraphRbac::V1_6::Models::GraphError
|
19
|
-
GroupCreateParameters = Azure::GraphRbac::V1_6::Models::GroupCreateParameters
|
20
|
-
KeyCredential = Azure::GraphRbac::V1_6::Models::KeyCredential
|
21
|
-
ResourceAccess = Azure::GraphRbac::V1_6::Models::ResourceAccess
|
22
|
-
GroupListResult = Azure::GraphRbac::V1_6::Models::GroupListResult
|
23
|
-
ApplicationCreateParameters = Azure::GraphRbac::V1_6::Models::ApplicationCreateParameters
|
24
|
-
GroupGetMemberGroupsParameters = Azure::GraphRbac::V1_6::Models::GroupGetMemberGroupsParameters
|
25
|
-
UserGetMemberGroupsResult = Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsResult
|
26
|
-
ApplicationListResult = Azure::GraphRbac::V1_6::Models::ApplicationListResult
|
27
|
-
GroupGetMemberGroupsResult = Azure::GraphRbac::V1_6::Models::GroupGetMemberGroupsResult
|
28
|
-
KeyCredentialListResult = Azure::GraphRbac::V1_6::Models::KeyCredentialListResult
|
29
|
-
CheckGroupMembershipParameters = Azure::GraphRbac::V1_6::Models::CheckGroupMembershipParameters
|
30
|
-
KeyCredentialsUpdateParameters = Azure::GraphRbac::V1_6::Models::KeyCredentialsUpdateParameters
|
31
|
-
CheckGroupMembershipResult = Azure::GraphRbac::V1_6::Models::CheckGroupMembershipResult
|
32
|
-
PasswordCredentialsUpdateParameters = Azure::GraphRbac::V1_6::Models::PasswordCredentialsUpdateParameters
|
33
|
-
ServicePrincipalCreateParameters = Azure::GraphRbac::V1_6::Models::ServicePrincipalCreateParameters
|
34
|
-
GetObjectsResult = Azure::GraphRbac::V1_6::Models::GetObjectsResult
|
35
|
-
DomainListResult = Azure::GraphRbac::V1_6::Models::DomainListResult
|
36
|
-
PasswordCredential = Azure::GraphRbac::V1_6::Models::PasswordCredential
|
37
|
-
ServicePrincipalListResult = Azure::GraphRbac::V1_6::Models::ServicePrincipalListResult
|
38
|
-
ApplicationUpdateParameters = Azure::GraphRbac::V1_6::Models::ApplicationUpdateParameters
|
39
|
-
PasswordProfile = Azure::GraphRbac::V1_6::Models::PasswordProfile
|
40
|
-
DirectoryObjectListResult = Azure::GraphRbac::V1_6::Models::DirectoryObjectListResult
|
41
|
-
UserBase = Azure::GraphRbac::V1_6::Models::UserBase
|
42
|
-
AADObject = Azure::GraphRbac::V1_6::Models::AADObject
|
43
|
-
Domain = Azure::GraphRbac::V1_6::Models::Domain
|
44
|
-
RequiredResourceAccess = Azure::GraphRbac::V1_6::Models::RequiredResourceAccess
|
45
|
-
GetObjectsParameters = Azure::GraphRbac::V1_6::Models::GetObjectsParameters
|
46
|
-
PasswordCredentialListResult = Azure::GraphRbac::V1_6::Models::PasswordCredentialListResult
|
47
|
-
SignInName = Azure::GraphRbac::V1_6::Models::SignInName
|
48
|
-
ApplicationAddOwnerParameters = Azure::GraphRbac::V1_6::Models::ApplicationAddOwnerParameters
|
49
|
-
UserListResult = Azure::GraphRbac::V1_6::Models::UserListResult
|
50
|
-
DirectoryObject = Azure::GraphRbac::V1_6::Models::DirectoryObject
|
51
|
-
UserGetMemberGroupsParameters = Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsParameters
|
52
|
-
Application = Azure::GraphRbac::V1_6::Models::Application
|
53
|
-
ADGroup = Azure::GraphRbac::V1_6::Models::ADGroup
|
54
|
-
ServicePrincipal = Azure::GraphRbac::V1_6::Models::ServicePrincipal
|
55
|
-
UserCreateParameters = Azure::GraphRbac::V1_6::Models::UserCreateParameters
|
56
|
-
UserUpdateParameters = Azure::GraphRbac::V1_6::Models::UserUpdateParameters
|
57
|
-
User = Azure::GraphRbac::V1_6::Models::User
|
58
|
-
UserType = Azure::GraphRbac::V1_6::Models::UserType
|
59
|
-
end
|
60
|
-
|
61
|
-
class GraphRbacDataClass
|
62
|
-
attr_reader :objects, :applications, :groups, :service_principals, :users, :domains, :configurable, :base_url, :options, :model_classes
|
63
|
-
|
64
|
-
def initialize(configurable, base_url=nil, options=nil)
|
65
|
-
@configurable, @base_url, @options = configurable, base_url, options
|
66
|
-
|
67
|
-
@client_0 = Azure::GraphRbac::V1_6::GraphRbacClient.new(configurable.credentials, base_url, options)
|
68
|
-
if(@client_0.respond_to?(:subscription_id))
|
69
|
-
@client_0.subscription_id = configurable.subscription_id
|
70
|
-
end
|
71
|
-
add_telemetry(@client_0)
|
72
|
-
@objects = @client_0.objects
|
73
|
-
@applications = @client_0.applications
|
74
|
-
@groups = @client_0.groups
|
75
|
-
@service_principals = @client_0.service_principals
|
76
|
-
@users = @client_0.users
|
77
|
-
@domains = @client_0.domains
|
78
|
-
|
79
|
-
@model_classes = ModelClasses.new
|
80
|
-
end
|
81
|
-
|
82
|
-
def add_telemetry(client)
|
83
|
-
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/GraphRbac"
|
84
|
-
client.add_user_agent_information(profile_information)
|
85
|
-
end
|
86
|
-
|
87
|
-
def method_missing(method, *args)
|
88
|
-
if @client_0.respond_to?method
|
89
|
-
@client_0.send(method, *args)
|
90
|
-
else
|
91
|
-
super
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
|
-
class ModelClasses
|
96
|
-
def group_add_member_parameters
|
97
|
-
Azure::GraphRbac::V1_6::Models::GroupAddMemberParameters
|
98
|
-
end
|
99
|
-
def graph_error
|
100
|
-
Azure::GraphRbac::V1_6::Models::GraphError
|
101
|
-
end
|
102
|
-
def group_create_parameters
|
103
|
-
Azure::GraphRbac::V1_6::Models::GroupCreateParameters
|
104
|
-
end
|
105
|
-
def key_credential
|
106
|
-
Azure::GraphRbac::V1_6::Models::KeyCredential
|
107
|
-
end
|
108
|
-
def resource_access
|
109
|
-
Azure::GraphRbac::V1_6::Models::ResourceAccess
|
110
|
-
end
|
111
|
-
def group_list_result
|
112
|
-
Azure::GraphRbac::V1_6::Models::GroupListResult
|
113
|
-
end
|
114
|
-
def application_create_parameters
|
115
|
-
Azure::GraphRbac::V1_6::Models::ApplicationCreateParameters
|
116
|
-
end
|
117
|
-
def group_get_member_groups_parameters
|
118
|
-
Azure::GraphRbac::V1_6::Models::GroupGetMemberGroupsParameters
|
119
|
-
end
|
120
|
-
def user_get_member_groups_result
|
121
|
-
Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsResult
|
122
|
-
end
|
123
|
-
def application_list_result
|
124
|
-
Azure::GraphRbac::V1_6::Models::ApplicationListResult
|
125
|
-
end
|
126
|
-
def group_get_member_groups_result
|
127
|
-
Azure::GraphRbac::V1_6::Models::GroupGetMemberGroupsResult
|
128
|
-
end
|
129
|
-
def key_credential_list_result
|
130
|
-
Azure::GraphRbac::V1_6::Models::KeyCredentialListResult
|
131
|
-
end
|
132
|
-
def check_group_membership_parameters
|
133
|
-
Azure::GraphRbac::V1_6::Models::CheckGroupMembershipParameters
|
134
|
-
end
|
135
|
-
def key_credentials_update_parameters
|
136
|
-
Azure::GraphRbac::V1_6::Models::KeyCredentialsUpdateParameters
|
137
|
-
end
|
138
|
-
def check_group_membership_result
|
139
|
-
Azure::GraphRbac::V1_6::Models::CheckGroupMembershipResult
|
140
|
-
end
|
141
|
-
def password_credentials_update_parameters
|
142
|
-
Azure::GraphRbac::V1_6::Models::PasswordCredentialsUpdateParameters
|
143
|
-
end
|
144
|
-
def service_principal_create_parameters
|
145
|
-
Azure::GraphRbac::V1_6::Models::ServicePrincipalCreateParameters
|
146
|
-
end
|
147
|
-
def get_objects_result
|
148
|
-
Azure::GraphRbac::V1_6::Models::GetObjectsResult
|
149
|
-
end
|
150
|
-
def domain_list_result
|
151
|
-
Azure::GraphRbac::V1_6::Models::DomainListResult
|
152
|
-
end
|
153
|
-
def password_credential
|
154
|
-
Azure::GraphRbac::V1_6::Models::PasswordCredential
|
155
|
-
end
|
156
|
-
def service_principal_list_result
|
157
|
-
Azure::GraphRbac::V1_6::Models::ServicePrincipalListResult
|
158
|
-
end
|
159
|
-
def application_update_parameters
|
160
|
-
Azure::GraphRbac::V1_6::Models::ApplicationUpdateParameters
|
161
|
-
end
|
162
|
-
def password_profile
|
163
|
-
Azure::GraphRbac::V1_6::Models::PasswordProfile
|
164
|
-
end
|
165
|
-
def directory_object_list_result
|
166
|
-
Azure::GraphRbac::V1_6::Models::DirectoryObjectListResult
|
167
|
-
end
|
168
|
-
def user_base
|
169
|
-
Azure::GraphRbac::V1_6::Models::UserBase
|
170
|
-
end
|
171
|
-
def aadobject
|
172
|
-
Azure::GraphRbac::V1_6::Models::AADObject
|
173
|
-
end
|
174
|
-
def domain
|
175
|
-
Azure::GraphRbac::V1_6::Models::Domain
|
176
|
-
end
|
177
|
-
def required_resource_access
|
178
|
-
Azure::GraphRbac::V1_6::Models::RequiredResourceAccess
|
179
|
-
end
|
180
|
-
def get_objects_parameters
|
181
|
-
Azure::GraphRbac::V1_6::Models::GetObjectsParameters
|
182
|
-
end
|
183
|
-
def password_credential_list_result
|
184
|
-
Azure::GraphRbac::V1_6::Models::PasswordCredentialListResult
|
185
|
-
end
|
186
|
-
def sign_in_name
|
187
|
-
Azure::GraphRbac::V1_6::Models::SignInName
|
188
|
-
end
|
189
|
-
def application_add_owner_parameters
|
190
|
-
Azure::GraphRbac::V1_6::Models::ApplicationAddOwnerParameters
|
191
|
-
end
|
192
|
-
def user_list_result
|
193
|
-
Azure::GraphRbac::V1_6::Models::UserListResult
|
194
|
-
end
|
195
|
-
def directory_object
|
196
|
-
Azure::GraphRbac::V1_6::Models::DirectoryObject
|
197
|
-
end
|
198
|
-
def user_get_member_groups_parameters
|
199
|
-
Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsParameters
|
200
|
-
end
|
201
|
-
def application
|
202
|
-
Azure::GraphRbac::V1_6::Models::Application
|
203
|
-
end
|
204
|
-
def adgroup
|
205
|
-
Azure::GraphRbac::V1_6::Models::ADGroup
|
206
|
-
end
|
207
|
-
def service_principal
|
208
|
-
Azure::GraphRbac::V1_6::Models::ServicePrincipal
|
209
|
-
end
|
210
|
-
def user_create_parameters
|
211
|
-
Azure::GraphRbac::V1_6::Models::UserCreateParameters
|
212
|
-
end
|
213
|
-
def user_update_parameters
|
214
|
-
Azure::GraphRbac::V1_6::Models::UserUpdateParameters
|
215
|
-
end
|
216
|
-
def user
|
217
|
-
Azure::GraphRbac::V1_6::Models::User
|
218
|
-
end
|
219
|
-
def user_type
|
220
|
-
Azure::GraphRbac::V1_6::Models::UserType
|
221
|
-
end
|
222
|
-
end
|
223
|
-
end
|
224
|
-
end
|
225
|
-
end
|
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_graph_rbac'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module GraphRbac
|
9
|
+
Objects = Azure::GraphRbac::V1_6::Objects
|
10
|
+
Applications = Azure::GraphRbac::V1_6::Applications
|
11
|
+
Groups = Azure::GraphRbac::V1_6::Groups
|
12
|
+
ServicePrincipals = Azure::GraphRbac::V1_6::ServicePrincipals
|
13
|
+
Users = Azure::GraphRbac::V1_6::Users
|
14
|
+
Domains = Azure::GraphRbac::V1_6::Domains
|
15
|
+
|
16
|
+
module Models
|
17
|
+
GroupAddMemberParameters = Azure::GraphRbac::V1_6::Models::GroupAddMemberParameters
|
18
|
+
GraphError = Azure::GraphRbac::V1_6::Models::GraphError
|
19
|
+
GroupCreateParameters = Azure::GraphRbac::V1_6::Models::GroupCreateParameters
|
20
|
+
KeyCredential = Azure::GraphRbac::V1_6::Models::KeyCredential
|
21
|
+
ResourceAccess = Azure::GraphRbac::V1_6::Models::ResourceAccess
|
22
|
+
GroupListResult = Azure::GraphRbac::V1_6::Models::GroupListResult
|
23
|
+
ApplicationCreateParameters = Azure::GraphRbac::V1_6::Models::ApplicationCreateParameters
|
24
|
+
GroupGetMemberGroupsParameters = Azure::GraphRbac::V1_6::Models::GroupGetMemberGroupsParameters
|
25
|
+
UserGetMemberGroupsResult = Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsResult
|
26
|
+
ApplicationListResult = Azure::GraphRbac::V1_6::Models::ApplicationListResult
|
27
|
+
GroupGetMemberGroupsResult = Azure::GraphRbac::V1_6::Models::GroupGetMemberGroupsResult
|
28
|
+
KeyCredentialListResult = Azure::GraphRbac::V1_6::Models::KeyCredentialListResult
|
29
|
+
CheckGroupMembershipParameters = Azure::GraphRbac::V1_6::Models::CheckGroupMembershipParameters
|
30
|
+
KeyCredentialsUpdateParameters = Azure::GraphRbac::V1_6::Models::KeyCredentialsUpdateParameters
|
31
|
+
CheckGroupMembershipResult = Azure::GraphRbac::V1_6::Models::CheckGroupMembershipResult
|
32
|
+
PasswordCredentialsUpdateParameters = Azure::GraphRbac::V1_6::Models::PasswordCredentialsUpdateParameters
|
33
|
+
ServicePrincipalCreateParameters = Azure::GraphRbac::V1_6::Models::ServicePrincipalCreateParameters
|
34
|
+
GetObjectsResult = Azure::GraphRbac::V1_6::Models::GetObjectsResult
|
35
|
+
DomainListResult = Azure::GraphRbac::V1_6::Models::DomainListResult
|
36
|
+
PasswordCredential = Azure::GraphRbac::V1_6::Models::PasswordCredential
|
37
|
+
ServicePrincipalListResult = Azure::GraphRbac::V1_6::Models::ServicePrincipalListResult
|
38
|
+
ApplicationUpdateParameters = Azure::GraphRbac::V1_6::Models::ApplicationUpdateParameters
|
39
|
+
PasswordProfile = Azure::GraphRbac::V1_6::Models::PasswordProfile
|
40
|
+
DirectoryObjectListResult = Azure::GraphRbac::V1_6::Models::DirectoryObjectListResult
|
41
|
+
UserBase = Azure::GraphRbac::V1_6::Models::UserBase
|
42
|
+
AADObject = Azure::GraphRbac::V1_6::Models::AADObject
|
43
|
+
Domain = Azure::GraphRbac::V1_6::Models::Domain
|
44
|
+
RequiredResourceAccess = Azure::GraphRbac::V1_6::Models::RequiredResourceAccess
|
45
|
+
GetObjectsParameters = Azure::GraphRbac::V1_6::Models::GetObjectsParameters
|
46
|
+
PasswordCredentialListResult = Azure::GraphRbac::V1_6::Models::PasswordCredentialListResult
|
47
|
+
SignInName = Azure::GraphRbac::V1_6::Models::SignInName
|
48
|
+
ApplicationAddOwnerParameters = Azure::GraphRbac::V1_6::Models::ApplicationAddOwnerParameters
|
49
|
+
UserListResult = Azure::GraphRbac::V1_6::Models::UserListResult
|
50
|
+
DirectoryObject = Azure::GraphRbac::V1_6::Models::DirectoryObject
|
51
|
+
UserGetMemberGroupsParameters = Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsParameters
|
52
|
+
Application = Azure::GraphRbac::V1_6::Models::Application
|
53
|
+
ADGroup = Azure::GraphRbac::V1_6::Models::ADGroup
|
54
|
+
ServicePrincipal = Azure::GraphRbac::V1_6::Models::ServicePrincipal
|
55
|
+
UserCreateParameters = Azure::GraphRbac::V1_6::Models::UserCreateParameters
|
56
|
+
UserUpdateParameters = Azure::GraphRbac::V1_6::Models::UserUpdateParameters
|
57
|
+
User = Azure::GraphRbac::V1_6::Models::User
|
58
|
+
UserType = Azure::GraphRbac::V1_6::Models::UserType
|
59
|
+
end
|
60
|
+
|
61
|
+
class GraphRbacDataClass
|
62
|
+
attr_reader :objects, :applications, :groups, :service_principals, :users, :domains, :configurable, :base_url, :options, :model_classes
|
63
|
+
|
64
|
+
def initialize(configurable, base_url=nil, options=nil)
|
65
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
66
|
+
|
67
|
+
@client_0 = Azure::GraphRbac::V1_6::GraphRbacClient.new(configurable.credentials, base_url, options)
|
68
|
+
if(@client_0.respond_to?(:subscription_id))
|
69
|
+
@client_0.subscription_id = configurable.subscription_id
|
70
|
+
end
|
71
|
+
add_telemetry(@client_0)
|
72
|
+
@objects = @client_0.objects
|
73
|
+
@applications = @client_0.applications
|
74
|
+
@groups = @client_0.groups
|
75
|
+
@service_principals = @client_0.service_principals
|
76
|
+
@users = @client_0.users
|
77
|
+
@domains = @client_0.domains
|
78
|
+
|
79
|
+
@model_classes = ModelClasses.new
|
80
|
+
end
|
81
|
+
|
82
|
+
def add_telemetry(client)
|
83
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/GraphRbac"
|
84
|
+
client.add_user_agent_information(profile_information)
|
85
|
+
end
|
86
|
+
|
87
|
+
def method_missing(method, *args)
|
88
|
+
if @client_0.respond_to?method
|
89
|
+
@client_0.send(method, *args)
|
90
|
+
else
|
91
|
+
super
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
class ModelClasses
|
96
|
+
def group_add_member_parameters
|
97
|
+
Azure::GraphRbac::V1_6::Models::GroupAddMemberParameters
|
98
|
+
end
|
99
|
+
def graph_error
|
100
|
+
Azure::GraphRbac::V1_6::Models::GraphError
|
101
|
+
end
|
102
|
+
def group_create_parameters
|
103
|
+
Azure::GraphRbac::V1_6::Models::GroupCreateParameters
|
104
|
+
end
|
105
|
+
def key_credential
|
106
|
+
Azure::GraphRbac::V1_6::Models::KeyCredential
|
107
|
+
end
|
108
|
+
def resource_access
|
109
|
+
Azure::GraphRbac::V1_6::Models::ResourceAccess
|
110
|
+
end
|
111
|
+
def group_list_result
|
112
|
+
Azure::GraphRbac::V1_6::Models::GroupListResult
|
113
|
+
end
|
114
|
+
def application_create_parameters
|
115
|
+
Azure::GraphRbac::V1_6::Models::ApplicationCreateParameters
|
116
|
+
end
|
117
|
+
def group_get_member_groups_parameters
|
118
|
+
Azure::GraphRbac::V1_6::Models::GroupGetMemberGroupsParameters
|
119
|
+
end
|
120
|
+
def user_get_member_groups_result
|
121
|
+
Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsResult
|
122
|
+
end
|
123
|
+
def application_list_result
|
124
|
+
Azure::GraphRbac::V1_6::Models::ApplicationListResult
|
125
|
+
end
|
126
|
+
def group_get_member_groups_result
|
127
|
+
Azure::GraphRbac::V1_6::Models::GroupGetMemberGroupsResult
|
128
|
+
end
|
129
|
+
def key_credential_list_result
|
130
|
+
Azure::GraphRbac::V1_6::Models::KeyCredentialListResult
|
131
|
+
end
|
132
|
+
def check_group_membership_parameters
|
133
|
+
Azure::GraphRbac::V1_6::Models::CheckGroupMembershipParameters
|
134
|
+
end
|
135
|
+
def key_credentials_update_parameters
|
136
|
+
Azure::GraphRbac::V1_6::Models::KeyCredentialsUpdateParameters
|
137
|
+
end
|
138
|
+
def check_group_membership_result
|
139
|
+
Azure::GraphRbac::V1_6::Models::CheckGroupMembershipResult
|
140
|
+
end
|
141
|
+
def password_credentials_update_parameters
|
142
|
+
Azure::GraphRbac::V1_6::Models::PasswordCredentialsUpdateParameters
|
143
|
+
end
|
144
|
+
def service_principal_create_parameters
|
145
|
+
Azure::GraphRbac::V1_6::Models::ServicePrincipalCreateParameters
|
146
|
+
end
|
147
|
+
def get_objects_result
|
148
|
+
Azure::GraphRbac::V1_6::Models::GetObjectsResult
|
149
|
+
end
|
150
|
+
def domain_list_result
|
151
|
+
Azure::GraphRbac::V1_6::Models::DomainListResult
|
152
|
+
end
|
153
|
+
def password_credential
|
154
|
+
Azure::GraphRbac::V1_6::Models::PasswordCredential
|
155
|
+
end
|
156
|
+
def service_principal_list_result
|
157
|
+
Azure::GraphRbac::V1_6::Models::ServicePrincipalListResult
|
158
|
+
end
|
159
|
+
def application_update_parameters
|
160
|
+
Azure::GraphRbac::V1_6::Models::ApplicationUpdateParameters
|
161
|
+
end
|
162
|
+
def password_profile
|
163
|
+
Azure::GraphRbac::V1_6::Models::PasswordProfile
|
164
|
+
end
|
165
|
+
def directory_object_list_result
|
166
|
+
Azure::GraphRbac::V1_6::Models::DirectoryObjectListResult
|
167
|
+
end
|
168
|
+
def user_base
|
169
|
+
Azure::GraphRbac::V1_6::Models::UserBase
|
170
|
+
end
|
171
|
+
def aadobject
|
172
|
+
Azure::GraphRbac::V1_6::Models::AADObject
|
173
|
+
end
|
174
|
+
def domain
|
175
|
+
Azure::GraphRbac::V1_6::Models::Domain
|
176
|
+
end
|
177
|
+
def required_resource_access
|
178
|
+
Azure::GraphRbac::V1_6::Models::RequiredResourceAccess
|
179
|
+
end
|
180
|
+
def get_objects_parameters
|
181
|
+
Azure::GraphRbac::V1_6::Models::GetObjectsParameters
|
182
|
+
end
|
183
|
+
def password_credential_list_result
|
184
|
+
Azure::GraphRbac::V1_6::Models::PasswordCredentialListResult
|
185
|
+
end
|
186
|
+
def sign_in_name
|
187
|
+
Azure::GraphRbac::V1_6::Models::SignInName
|
188
|
+
end
|
189
|
+
def application_add_owner_parameters
|
190
|
+
Azure::GraphRbac::V1_6::Models::ApplicationAddOwnerParameters
|
191
|
+
end
|
192
|
+
def user_list_result
|
193
|
+
Azure::GraphRbac::V1_6::Models::UserListResult
|
194
|
+
end
|
195
|
+
def directory_object
|
196
|
+
Azure::GraphRbac::V1_6::Models::DirectoryObject
|
197
|
+
end
|
198
|
+
def user_get_member_groups_parameters
|
199
|
+
Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsParameters
|
200
|
+
end
|
201
|
+
def application
|
202
|
+
Azure::GraphRbac::V1_6::Models::Application
|
203
|
+
end
|
204
|
+
def adgroup
|
205
|
+
Azure::GraphRbac::V1_6::Models::ADGroup
|
206
|
+
end
|
207
|
+
def service_principal
|
208
|
+
Azure::GraphRbac::V1_6::Models::ServicePrincipal
|
209
|
+
end
|
210
|
+
def user_create_parameters
|
211
|
+
Azure::GraphRbac::V1_6::Models::UserCreateParameters
|
212
|
+
end
|
213
|
+
def user_update_parameters
|
214
|
+
Azure::GraphRbac::V1_6::Models::UserUpdateParameters
|
215
|
+
end
|
216
|
+
def user
|
217
|
+
Azure::GraphRbac::V1_6::Models::User
|
218
|
+
end
|
219
|
+
def user_type
|
220
|
+
Azure::GraphRbac::V1_6::Models::UserType
|
221
|
+
end
|
222
|
+
end
|
223
|
+
end
|
224
|
+
end
|
225
|
+
end
|
@@ -1,137 +1,137 @@
|
|
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_hanaonazure'
|
6
|
-
|
7
|
-
module Azure::Profiles::Latest
|
8
|
-
module Hanaonazure
|
9
|
-
module Mgmt
|
10
|
-
Operations = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Operations
|
11
|
-
HanaInstances = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::HanaInstances
|
12
|
-
SapMonitors = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::SapMonitors
|
13
|
-
|
14
|
-
module Models
|
15
|
-
HanaInstancesListResult = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaInstancesListResult
|
16
|
-
Display = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Display
|
17
|
-
HardwareProfile = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HardwareProfile
|
18
|
-
Operation = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Operation
|
19
|
-
StorageProfile = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::StorageProfile
|
20
|
-
OperationList = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::OperationList
|
21
|
-
IpAddress = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::IpAddress
|
22
|
-
ErrorResponse = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::ErrorResponse
|
23
|
-
NetworkProfile = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::NetworkProfile
|
24
|
-
Disk = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Disk
|
25
|
-
Tags = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Tags
|
26
|
-
Resource = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Resource
|
27
|
-
MonitoringDetails = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::MonitoringDetails
|
28
|
-
OSProfile = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::OSProfile
|
29
|
-
SapMonitorListResult = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::SapMonitorListResult
|
30
|
-
HanaInstance = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaInstance
|
31
|
-
SapMonitor = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::SapMonitor
|
32
|
-
HanaHardwareTypeNamesEnum = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaHardwareTypeNamesEnum
|
33
|
-
HanaInstanceSizeNamesEnum = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaInstanceSizeNamesEnum
|
34
|
-
HanaInstancePowerStateEnum = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaInstancePowerStateEnum
|
35
|
-
HanaProvisioningStatesEnum = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaProvisioningStatesEnum
|
36
|
-
end
|
37
|
-
|
38
|
-
class HanaonazureManagementClass
|
39
|
-
attr_reader :operations, :hana_instances, :sap_monitors, :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::Hanaonazure::Mgmt::V2017_11_03_preview::HanaManagementClient.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
|
-
@operations = @client_0.operations
|
50
|
-
@hana_instances = @client_0.hana_instances
|
51
|
-
@sap_monitors = @client_0.sap_monitors
|
52
|
-
|
53
|
-
@model_classes = ModelClasses.new
|
54
|
-
end
|
55
|
-
|
56
|
-
def add_telemetry(client)
|
57
|
-
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Hanaonazure/Mgmt"
|
58
|
-
client.add_user_agent_information(profile_information)
|
59
|
-
end
|
60
|
-
|
61
|
-
def method_missing(method, *args)
|
62
|
-
if @client_0.respond_to?method
|
63
|
-
@client_0.send(method, *args)
|
64
|
-
else
|
65
|
-
super
|
66
|
-
end
|
67
|
-
end
|
68
|
-
|
69
|
-
class ModelClasses
|
70
|
-
def hana_instances_list_result
|
71
|
-
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaInstancesListResult
|
72
|
-
end
|
73
|
-
def display
|
74
|
-
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Display
|
75
|
-
end
|
76
|
-
def hardware_profile
|
77
|
-
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HardwareProfile
|
78
|
-
end
|
79
|
-
def operation
|
80
|
-
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Operation
|
81
|
-
end
|
82
|
-
def storage_profile
|
83
|
-
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::StorageProfile
|
84
|
-
end
|
85
|
-
def operation_list
|
86
|
-
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::OperationList
|
87
|
-
end
|
88
|
-
def ip_address
|
89
|
-
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::IpAddress
|
90
|
-
end
|
91
|
-
def error_response
|
92
|
-
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::ErrorResponse
|
93
|
-
end
|
94
|
-
def network_profile
|
95
|
-
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::NetworkProfile
|
96
|
-
end
|
97
|
-
def disk
|
98
|
-
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Disk
|
99
|
-
end
|
100
|
-
def tags
|
101
|
-
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Tags
|
102
|
-
end
|
103
|
-
def resource
|
104
|
-
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Resource
|
105
|
-
end
|
106
|
-
def monitoring_details
|
107
|
-
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::MonitoringDetails
|
108
|
-
end
|
109
|
-
def osprofile
|
110
|
-
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::OSProfile
|
111
|
-
end
|
112
|
-
def sap_monitor_list_result
|
113
|
-
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::SapMonitorListResult
|
114
|
-
end
|
115
|
-
def hana_instance
|
116
|
-
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaInstance
|
117
|
-
end
|
118
|
-
def sap_monitor
|
119
|
-
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::SapMonitor
|
120
|
-
end
|
121
|
-
def hana_hardware_type_names_enum
|
122
|
-
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaHardwareTypeNamesEnum
|
123
|
-
end
|
124
|
-
def hana_instance_size_names_enum
|
125
|
-
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaInstanceSizeNamesEnum
|
126
|
-
end
|
127
|
-
def hana_instance_power_state_enum
|
128
|
-
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaInstancePowerStateEnum
|
129
|
-
end
|
130
|
-
def hana_provisioning_states_enum
|
131
|
-
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaProvisioningStatesEnum
|
132
|
-
end
|
133
|
-
end
|
134
|
-
end
|
135
|
-
end
|
136
|
-
end
|
137
|
-
end
|
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_hanaonazure'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module Hanaonazure
|
9
|
+
module Mgmt
|
10
|
+
Operations = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Operations
|
11
|
+
HanaInstances = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::HanaInstances
|
12
|
+
SapMonitors = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::SapMonitors
|
13
|
+
|
14
|
+
module Models
|
15
|
+
HanaInstancesListResult = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaInstancesListResult
|
16
|
+
Display = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Display
|
17
|
+
HardwareProfile = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HardwareProfile
|
18
|
+
Operation = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Operation
|
19
|
+
StorageProfile = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::StorageProfile
|
20
|
+
OperationList = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::OperationList
|
21
|
+
IpAddress = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::IpAddress
|
22
|
+
ErrorResponse = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::ErrorResponse
|
23
|
+
NetworkProfile = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::NetworkProfile
|
24
|
+
Disk = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Disk
|
25
|
+
Tags = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Tags
|
26
|
+
Resource = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Resource
|
27
|
+
MonitoringDetails = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::MonitoringDetails
|
28
|
+
OSProfile = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::OSProfile
|
29
|
+
SapMonitorListResult = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::SapMonitorListResult
|
30
|
+
HanaInstance = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaInstance
|
31
|
+
SapMonitor = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::SapMonitor
|
32
|
+
HanaHardwareTypeNamesEnum = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaHardwareTypeNamesEnum
|
33
|
+
HanaInstanceSizeNamesEnum = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaInstanceSizeNamesEnum
|
34
|
+
HanaInstancePowerStateEnum = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaInstancePowerStateEnum
|
35
|
+
HanaProvisioningStatesEnum = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaProvisioningStatesEnum
|
36
|
+
end
|
37
|
+
|
38
|
+
class HanaonazureManagementClass
|
39
|
+
attr_reader :operations, :hana_instances, :sap_monitors, :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::Hanaonazure::Mgmt::V2017_11_03_preview::HanaManagementClient.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
|
+
@operations = @client_0.operations
|
50
|
+
@hana_instances = @client_0.hana_instances
|
51
|
+
@sap_monitors = @client_0.sap_monitors
|
52
|
+
|
53
|
+
@model_classes = ModelClasses.new
|
54
|
+
end
|
55
|
+
|
56
|
+
def add_telemetry(client)
|
57
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Hanaonazure/Mgmt"
|
58
|
+
client.add_user_agent_information(profile_information)
|
59
|
+
end
|
60
|
+
|
61
|
+
def method_missing(method, *args)
|
62
|
+
if @client_0.respond_to?method
|
63
|
+
@client_0.send(method, *args)
|
64
|
+
else
|
65
|
+
super
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
class ModelClasses
|
70
|
+
def hana_instances_list_result
|
71
|
+
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaInstancesListResult
|
72
|
+
end
|
73
|
+
def display
|
74
|
+
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Display
|
75
|
+
end
|
76
|
+
def hardware_profile
|
77
|
+
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HardwareProfile
|
78
|
+
end
|
79
|
+
def operation
|
80
|
+
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Operation
|
81
|
+
end
|
82
|
+
def storage_profile
|
83
|
+
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::StorageProfile
|
84
|
+
end
|
85
|
+
def operation_list
|
86
|
+
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::OperationList
|
87
|
+
end
|
88
|
+
def ip_address
|
89
|
+
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::IpAddress
|
90
|
+
end
|
91
|
+
def error_response
|
92
|
+
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::ErrorResponse
|
93
|
+
end
|
94
|
+
def network_profile
|
95
|
+
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::NetworkProfile
|
96
|
+
end
|
97
|
+
def disk
|
98
|
+
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Disk
|
99
|
+
end
|
100
|
+
def tags
|
101
|
+
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Tags
|
102
|
+
end
|
103
|
+
def resource
|
104
|
+
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Resource
|
105
|
+
end
|
106
|
+
def monitoring_details
|
107
|
+
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::MonitoringDetails
|
108
|
+
end
|
109
|
+
def osprofile
|
110
|
+
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::OSProfile
|
111
|
+
end
|
112
|
+
def sap_monitor_list_result
|
113
|
+
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::SapMonitorListResult
|
114
|
+
end
|
115
|
+
def hana_instance
|
116
|
+
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaInstance
|
117
|
+
end
|
118
|
+
def sap_monitor
|
119
|
+
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::SapMonitor
|
120
|
+
end
|
121
|
+
def hana_hardware_type_names_enum
|
122
|
+
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaHardwareTypeNamesEnum
|
123
|
+
end
|
124
|
+
def hana_instance_size_names_enum
|
125
|
+
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaInstanceSizeNamesEnum
|
126
|
+
end
|
127
|
+
def hana_instance_power_state_enum
|
128
|
+
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaInstancePowerStateEnum
|
129
|
+
end
|
130
|
+
def hana_provisioning_states_enum
|
131
|
+
Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaProvisioningStatesEnum
|
132
|
+
end
|
133
|
+
end
|
134
|
+
end
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|