azure_sdk 0.15.2 → 0.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/azure_sdk/version.rb +1 -1
- data/lib/latest/latest_profile_client.rb +645 -61
- data/lib/latest/module_definition.rb +1 -118
- data/lib/latest/modules/analysisservices_profile_module.rb +139 -84
- data/lib/latest/modules/authorization_profile_module.rb +113 -100
- data/lib/latest/modules/automation_profile_module.rb +597 -580
- data/lib/latest/modules/batch_profile_module.rb +357 -132
- data/lib/latest/modules/billing_profile_module.rb +77 -64
- data/lib/latest/modules/cdn_profile_module.rb +277 -216
- data/lib/latest/modules/cognitiveservices_profile_module.rb +121 -108
- data/lib/latest/modules/commerce_profile_module.rb +79 -66
- data/lib/latest/modules/compute_profile_module.rb +783 -730
- data/lib/latest/modules/computervision_profile_module.rb +189 -0
- data/lib/latest/modules/consumption_profile_module.rb +153 -54
- data/lib/latest/modules/containerinstance_profile_module.rb +163 -106
- data/lib/latest/modules/containerregistry_profile_module.rb +203 -190
- data/lib/latest/modules/containerservice_profile_module.rb +93 -80
- data/lib/latest/modules/contentmoderator_profile_module.rb +295 -0
- data/lib/latest/modules/customerinsights_profile_module.rb +477 -464
- data/lib/latest/modules/customsearch_profile_module.rb +123 -0
- data/lib/latest/modules/datalakeanalytics_profile_module.rb +233 -152
- data/lib/latest/modules/datalakestore_profile_module.rb +201 -128
- data/lib/latest/modules/devtestlabs_profile_module.rb +697 -656
- data/lib/latest/modules/dns_profile_module.rb +99 -94
- data/lib/latest/modules/entitysearch_profile_module.rb +231 -0
- data/lib/latest/modules/eventgrid_profile_module.rb +220 -99
- data/lib/latest/modules/eventhub_profile_module.rb +165 -152
- data/lib/latest/modules/face_profile_module.rb +241 -0
- data/lib/latest/modules/features_profile_module.rb +41 -28
- data/lib/latest/modules/graphrbac_profile_module.rb +225 -0
- data/lib/latest/modules/imagesearch_profile_module.rb +279 -0
- data/lib/latest/modules/iothub_profile_module.rb +265 -252
- data/lib/latest/modules/keyvault_profile_module.rb +155 -88
- data/lib/latest/modules/links_profile_module.rb +49 -36
- data/lib/latest/modules/locks_profile_module.rb +45 -32
- data/lib/latest/modules/logic_profile_module.rb +593 -580
- data/lib/latest/modules/machinelearning_profile_module.rb +177 -164
- data/lib/latest/modules/managedapplications_profile_module.rb +103 -90
- data/lib/latest/modules/managedserviceidentity_profile_module.rb +55 -42
- data/lib/latest/modules/marketplaceordering_profile_module.rb +59 -46
- data/lib/latest/modules/mediaservices_profile_module.rb +103 -90
- data/lib/latest/modules/mobileengagement_profile_module.rb +397 -384
- data/lib/latest/modules/monitor_profile_module.rb +403 -323
- data/lib/latest/modules/network_profile_module.rb +1245 -1148
- data/lib/latest/modules/newssearch_profile_module.rb +143 -0
- data/lib/latest/modules/notificationhubs_profile_module.rb +155 -142
- data/lib/latest/modules/operationalinsights_profile_module.rb +218 -188
- data/lib/latest/modules/policy_profile_module.rb +84 -68
- data/lib/latest/modules/powerbiembedded_profile_module.rb +107 -94
- data/lib/latest/modules/recoveryservices_profile_module.rb +176 -188
- data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +1133 -728
- data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1367 -1354
- data/lib/latest/modules/redis_profile_module.rb +165 -152
- data/lib/latest/modules/relay_profile_module.rb +143 -130
- data/lib/latest/modules/resources_profile_module.rb +227 -214
- data/lib/latest/modules/resourcesmanagement_profile_module.rb +81 -74
- data/lib/latest/modules/scheduler_profile_module.rb +207 -198
- data/lib/latest/modules/search_profile_module.rb +103 -76
- data/lib/latest/modules/servermanagement_profile_module.rb +155 -142
- data/lib/latest/modules/servicebus_profile_module.rb +247 -234
- data/lib/latest/modules/servicefabric_profile_module.rb +269 -120
- data/lib/latest/modules/spellcheck_profile_module.rb +101 -0
- data/lib/latest/modules/sql_profile_module.rb +1075 -918
- data/lib/latest/modules/storage_profile_module.rb +263 -250
- data/lib/latest/modules/storsimple8000series_profile_module.rb +695 -682
- data/lib/latest/modules/streamanalytics_profile_module.rb +329 -316
- data/lib/latest/modules/subscriptions_profile_module.rb +67 -54
- data/lib/latest/modules/textanalytics_profile_module.rb +105 -0
- data/lib/latest/modules/trafficmanager_profile_module.rb +140 -124
- data/lib/latest/modules/videosearch_profile_module.rb +175 -0
- data/lib/latest/modules/web_profile_module.rb +1289 -1138
- data/lib/latest/modules/websearch_profile_module.rb +211 -0
- data/lib/v2017_03_09/module_definition.rb +1 -20
- data/lib/v2017_03_09/modules/compute_profile_module.rb +437 -424
- data/lib/v2017_03_09/modules/features_profile_module.rb +41 -28
- data/lib/v2017_03_09/modules/links_profile_module.rb +49 -36
- data/lib/v2017_03_09/modules/locks_profile_module.rb +41 -28
- data/lib/v2017_03_09/modules/network_profile_module.rb +535 -522
- data/lib/v2017_03_09/modules/policy_profile_module.rb +51 -38
- data/lib/v2017_03_09/modules/resources_profile_module.rb +223 -210
- data/lib/v2017_03_09/modules/storage_profile_module.rb +143 -130
- data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +67 -54
- data/lib/v2017_03_09/v2017_03_09_profile_client.rb +103 -10
- metadata +312 -133
- data/lib/latest/modules/graph_profile_module.rb +0 -202
@@ -5,42 +5,55 @@
|
|
5
5
|
require 'azure_mgmt_features'
|
6
6
|
|
7
7
|
module Azure::Profiles::Latest
|
8
|
-
module Features
|
9
|
-
|
8
|
+
module Features
|
9
|
+
module Mgmt
|
10
|
+
Features = Azure::Features::Mgmt::V2015_12_01::Features
|
11
|
+
|
12
|
+
module Models
|
13
|
+
FeatureResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult
|
14
|
+
FeatureOperationsListResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureOperationsListResult
|
15
|
+
FeatureProperties = Azure::Features::Mgmt::V2015_12_01::Models::FeatureProperties
|
16
|
+
end
|
10
17
|
|
11
|
-
|
12
|
-
|
13
|
-
FeatureOperationsListResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureOperationsListResult
|
14
|
-
FeatureProperties = Azure::Features::Mgmt::V2015_12_01::Models::FeatureProperties
|
15
|
-
end
|
18
|
+
class FeaturesManagementClass
|
19
|
+
attr_reader :features, :configurable, :base_url, :options, :model_classes
|
16
20
|
|
17
|
-
|
18
|
-
|
19
|
-
#
|
20
|
-
class FeaturesClass
|
21
|
-
attr_reader :features, :configurable, :base_url, :options, :model_classes
|
21
|
+
def initialize(configurable, base_url=nil, options=nil)
|
22
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
22
23
|
|
23
|
-
|
24
|
-
|
24
|
+
@client_0 = Azure::Features::Mgmt::V2015_12_01::FeatureClient.new(configurable.credentials, base_url, options)
|
25
|
+
if(@client_0.respond_to?(:subscription_id))
|
26
|
+
@client_0.subscription_id = configurable.subscription_id
|
27
|
+
end
|
28
|
+
add_telemetry(@client_0)
|
29
|
+
@features = @client_0.features
|
25
30
|
|
26
|
-
|
27
|
-
if(client_0.respond_to?(:subscription_id))
|
28
|
-
client_0.subscription_id = configurable.subscription_id
|
31
|
+
@model_classes = ModelClasses.new
|
29
32
|
end
|
30
|
-
@features = client_0.features
|
31
|
-
|
32
|
-
@model_classes = ModelClasses.new
|
33
|
-
end
|
34
33
|
|
35
|
-
|
36
|
-
|
37
|
-
|
34
|
+
def add_telemetry(client)
|
35
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Features/Mgmt"
|
36
|
+
client.add_user_agent_information(profile_information)
|
38
37
|
end
|
39
|
-
|
40
|
-
|
38
|
+
|
39
|
+
def method_missing(method, *args)
|
40
|
+
if @client_0.respond_to?method
|
41
|
+
@client_0.send(method, *args)
|
42
|
+
else
|
43
|
+
super
|
44
|
+
end
|
41
45
|
end
|
42
|
-
|
43
|
-
|
46
|
+
|
47
|
+
class ModelClasses
|
48
|
+
def feature_result
|
49
|
+
Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult
|
50
|
+
end
|
51
|
+
def feature_operations_list_result
|
52
|
+
Azure::Features::Mgmt::V2015_12_01::Models::FeatureOperationsListResult
|
53
|
+
end
|
54
|
+
def feature_properties
|
55
|
+
Azure::Features::Mgmt::V2015_12_01::Models::FeatureProperties
|
56
|
+
end
|
44
57
|
end
|
45
58
|
end
|
46
59
|
end
|
@@ -0,0 +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
|
@@ -0,0 +1,279 @@
|
|
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_cognitiveservices_imagesearch'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module ImageSearch
|
9
|
+
ImagesOperations = Azure::CognitiveServices::ImageSearch::V1_0::ImagesOperations
|
10
|
+
|
11
|
+
module Models
|
12
|
+
RelatedSearchesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RelatedSearchesModule
|
13
|
+
InsightsTag = Azure::CognitiveServices::ImageSearch::V1_0::Models::InsightsTag
|
14
|
+
RecognizedEntitiesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntitiesModule
|
15
|
+
PropertiesItem = Azure::CognitiveServices::ImageSearch::V1_0::Models::PropertiesItem
|
16
|
+
RecognizedEntityGroup = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityGroup
|
17
|
+
TrendingImagesCategory = Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesCategory
|
18
|
+
Query = Azure::CognitiveServices::ImageSearch::V1_0::Models::Query
|
19
|
+
PivotSuggestions = Azure::CognitiveServices::ImageSearch::V1_0::Models::PivotSuggestions
|
20
|
+
RelatedCollectionsModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RelatedCollectionsModule
|
21
|
+
ImageTagsModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageTagsModule
|
22
|
+
RecipesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecipesModule
|
23
|
+
ImagesImageMetadata = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImagesImageMetadata
|
24
|
+
ImageInsightsImageCaption = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightsImageCaption
|
25
|
+
ResponseBase = Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase
|
26
|
+
Error = Azure::CognitiveServices::ImageSearch::V1_0::Models::Error
|
27
|
+
TrendingImagesTile = Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesTile
|
28
|
+
ImagesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImagesModule
|
29
|
+
Thing = Azure::CognitiveServices::ImageSearch::V1_0::Models::Thing
|
30
|
+
Organization = Azure::CognitiveServices::ImageSearch::V1_0::Models::Organization
|
31
|
+
AggregateRating = Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateRating
|
32
|
+
Offer = Azure::CognitiveServices::ImageSearch::V1_0::Models::Offer
|
33
|
+
AggregateOffer = Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateOffer
|
34
|
+
MediaObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject
|
35
|
+
ImageObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject
|
36
|
+
SearchResultsAnswer = Azure::CognitiveServices::ImageSearch::V1_0::Models::SearchResultsAnswer
|
37
|
+
Images = Azure::CognitiveServices::ImageSearch::V1_0::Models::Images
|
38
|
+
Identifiable = Azure::CognitiveServices::ImageSearch::V1_0::Models::Identifiable
|
39
|
+
Response = Azure::CognitiveServices::ImageSearch::V1_0::Models::Response
|
40
|
+
Answer = Azure::CognitiveServices::ImageSearch::V1_0::Models::Answer
|
41
|
+
CreativeWork = Azure::CognitiveServices::ImageSearch::V1_0::Models::CreativeWork
|
42
|
+
ErrorResponse = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorResponse
|
43
|
+
ImageGallery = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageGallery
|
44
|
+
Recipe = Azure::CognitiveServices::ImageSearch::V1_0::Models::Recipe
|
45
|
+
NormalizedRectangle = Azure::CognitiveServices::ImageSearch::V1_0::Models::NormalizedRectangle
|
46
|
+
RecognizedEntity = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntity
|
47
|
+
RecognizedEntityRegion = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityRegion
|
48
|
+
ImageInsights = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsights
|
49
|
+
TrendingImages = Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImages
|
50
|
+
WebPage = Azure::CognitiveServices::ImageSearch::V1_0::Models::WebPage
|
51
|
+
Person = Azure::CognitiveServices::ImageSearch::V1_0::Models::Person
|
52
|
+
Intangible = Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible
|
53
|
+
Rating = Azure::CognitiveServices::ImageSearch::V1_0::Models::Rating
|
54
|
+
CollectionPage = Azure::CognitiveServices::ImageSearch::V1_0::Models::CollectionPage
|
55
|
+
StructuredValue = Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue
|
56
|
+
Currency = Azure::CognitiveServices::ImageSearch::V1_0::Models::Currency
|
57
|
+
ItemAvailability = Azure::CognitiveServices::ImageSearch::V1_0::Models::ItemAvailability
|
58
|
+
ErrorCode = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorCode
|
59
|
+
ErrorSubCode = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorSubCode
|
60
|
+
ImageAspect = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageAspect
|
61
|
+
ImageColor = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageColor
|
62
|
+
Freshness = Azure::CognitiveServices::ImageSearch::V1_0::Models::Freshness
|
63
|
+
ImageContent = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageContent
|
64
|
+
ImageType = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType
|
65
|
+
ImageLicense = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageLicense
|
66
|
+
SafeSearch = Azure::CognitiveServices::ImageSearch::V1_0::Models::SafeSearch
|
67
|
+
ImageSize = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageSize
|
68
|
+
ImageCropType = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageCropType
|
69
|
+
ImageInsightModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightModule
|
70
|
+
end
|
71
|
+
|
72
|
+
class ImageSearchDataClass
|
73
|
+
attr_reader :images_operations, :configurable, :base_url, :options, :model_classes
|
74
|
+
|
75
|
+
def initialize(configurable, base_url=nil, options=nil)
|
76
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
77
|
+
|
78
|
+
@client_0 = Azure::CognitiveServices::ImageSearch::V1_0::ImageSearchClient.new(configurable.credentials, base_url, options)
|
79
|
+
if(@client_0.respond_to?(:subscription_id))
|
80
|
+
@client_0.subscription_id = configurable.subscription_id
|
81
|
+
end
|
82
|
+
add_telemetry(@client_0)
|
83
|
+
@images_operations = @client_0.images_operations
|
84
|
+
|
85
|
+
@model_classes = ModelClasses.new
|
86
|
+
end
|
87
|
+
|
88
|
+
def add_telemetry(client)
|
89
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/ImageSearch"
|
90
|
+
client.add_user_agent_information(profile_information)
|
91
|
+
end
|
92
|
+
|
93
|
+
def method_missing(method, *args)
|
94
|
+
if @client_0.respond_to?method
|
95
|
+
@client_0.send(method, *args)
|
96
|
+
else
|
97
|
+
super
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
class ModelClasses
|
102
|
+
def related_searches_module
|
103
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::RelatedSearchesModule
|
104
|
+
end
|
105
|
+
def insights_tag
|
106
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::InsightsTag
|
107
|
+
end
|
108
|
+
def recognized_entities_module
|
109
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntitiesModule
|
110
|
+
end
|
111
|
+
def properties_item
|
112
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::PropertiesItem
|
113
|
+
end
|
114
|
+
def recognized_entity_group
|
115
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityGroup
|
116
|
+
end
|
117
|
+
def trending_images_category
|
118
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesCategory
|
119
|
+
end
|
120
|
+
def query
|
121
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::Query
|
122
|
+
end
|
123
|
+
def pivot_suggestions
|
124
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::PivotSuggestions
|
125
|
+
end
|
126
|
+
def related_collections_module
|
127
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::RelatedCollectionsModule
|
128
|
+
end
|
129
|
+
def image_tags_module
|
130
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageTagsModule
|
131
|
+
end
|
132
|
+
def recipes_module
|
133
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::RecipesModule
|
134
|
+
end
|
135
|
+
def images_image_metadata
|
136
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::ImagesImageMetadata
|
137
|
+
end
|
138
|
+
def image_insights_image_caption
|
139
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightsImageCaption
|
140
|
+
end
|
141
|
+
def response_base
|
142
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase
|
143
|
+
end
|
144
|
+
def error
|
145
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::Error
|
146
|
+
end
|
147
|
+
def trending_images_tile
|
148
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesTile
|
149
|
+
end
|
150
|
+
def images_module
|
151
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::ImagesModule
|
152
|
+
end
|
153
|
+
def thing
|
154
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::Thing
|
155
|
+
end
|
156
|
+
def organization
|
157
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::Organization
|
158
|
+
end
|
159
|
+
def aggregate_rating
|
160
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateRating
|
161
|
+
end
|
162
|
+
def offer
|
163
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::Offer
|
164
|
+
end
|
165
|
+
def aggregate_offer
|
166
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateOffer
|
167
|
+
end
|
168
|
+
def media_object
|
169
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject
|
170
|
+
end
|
171
|
+
def image_object
|
172
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject
|
173
|
+
end
|
174
|
+
def search_results_answer
|
175
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::SearchResultsAnswer
|
176
|
+
end
|
177
|
+
def images
|
178
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::Images
|
179
|
+
end
|
180
|
+
def identifiable
|
181
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::Identifiable
|
182
|
+
end
|
183
|
+
def response
|
184
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::Response
|
185
|
+
end
|
186
|
+
def answer
|
187
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::Answer
|
188
|
+
end
|
189
|
+
def creative_work
|
190
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::CreativeWork
|
191
|
+
end
|
192
|
+
def error_response
|
193
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorResponse
|
194
|
+
end
|
195
|
+
def image_gallery
|
196
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageGallery
|
197
|
+
end
|
198
|
+
def recipe
|
199
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::Recipe
|
200
|
+
end
|
201
|
+
def normalized_rectangle
|
202
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::NormalizedRectangle
|
203
|
+
end
|
204
|
+
def recognized_entity
|
205
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntity
|
206
|
+
end
|
207
|
+
def recognized_entity_region
|
208
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityRegion
|
209
|
+
end
|
210
|
+
def image_insights
|
211
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsights
|
212
|
+
end
|
213
|
+
def trending_images
|
214
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImages
|
215
|
+
end
|
216
|
+
def web_page
|
217
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::WebPage
|
218
|
+
end
|
219
|
+
def person
|
220
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::Person
|
221
|
+
end
|
222
|
+
def intangible
|
223
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible
|
224
|
+
end
|
225
|
+
def rating
|
226
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::Rating
|
227
|
+
end
|
228
|
+
def collection_page
|
229
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::CollectionPage
|
230
|
+
end
|
231
|
+
def structured_value
|
232
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue
|
233
|
+
end
|
234
|
+
def currency
|
235
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::Currency
|
236
|
+
end
|
237
|
+
def item_availability
|
238
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::ItemAvailability
|
239
|
+
end
|
240
|
+
def error_code
|
241
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorCode
|
242
|
+
end
|
243
|
+
def error_sub_code
|
244
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorSubCode
|
245
|
+
end
|
246
|
+
def image_aspect
|
247
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageAspect
|
248
|
+
end
|
249
|
+
def image_color
|
250
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageColor
|
251
|
+
end
|
252
|
+
def freshness
|
253
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::Freshness
|
254
|
+
end
|
255
|
+
def image_content
|
256
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageContent
|
257
|
+
end
|
258
|
+
def image_type
|
259
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType
|
260
|
+
end
|
261
|
+
def image_license
|
262
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageLicense
|
263
|
+
end
|
264
|
+
def safe_search
|
265
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::SafeSearch
|
266
|
+
end
|
267
|
+
def image_size
|
268
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageSize
|
269
|
+
end
|
270
|
+
def image_crop_type
|
271
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageCropType
|
272
|
+
end
|
273
|
+
def image_insight_module
|
274
|
+
Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightModule
|
275
|
+
end
|
276
|
+
end
|
277
|
+
end
|
278
|
+
end
|
279
|
+
end
|