azure_sdk 0.61.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/azure_sdk.rb +9 -0
- data/lib/azure_sdk/version.rb +7 -0
- data/lib/latest/latest_profile_client.rb +1347 -0
- data/lib/latest/module_definition.rb +7 -0
- data/lib/latest/modules/adhybridhealthservice_profile_module.rb +481 -0
- data/lib/latest/modules/advisor_profile_module.rb +153 -0
- data/lib/latest/modules/alertsmanagement_profile_module.rb +259 -0
- data/lib/latest/modules/analysisservices_profile_module.rb +159 -0
- data/lib/latest/modules/anomalydetector_profile_module.rb +69 -0
- data/lib/latest/modules/apimanagement_profile_module.rb +1163 -0
- data/lib/latest/modules/appconfiguration_profile_module.rb +183 -0
- data/lib/latest/modules/attestation_profile_module.rb +95 -0
- data/lib/latest/modules/authorization_profile_module.rb +167 -0
- data/lib/latest/modules/automation_profile_module.rb +663 -0
- data/lib/latest/modules/autosuggest_profile_module.rb +121 -0
- data/lib/latest/modules/azurestack_profile_module.rb +187 -0
- data/lib/latest/modules/batch_profile_module.rb +417 -0
- data/lib/latest/modules/batchai_profile_module.rb +425 -0
- data/lib/latest/modules/billing_profile_module.rb +107 -0
- data/lib/latest/modules/botservice_profile_module.rb +293 -0
- data/lib/latest/modules/cdn_profile_module.rb +723 -0
- data/lib/latest/modules/cognitiveservices_profile_module.rb +289 -0
- data/lib/latest/modules/commerce_profile_module.rb +99 -0
- data/lib/latest/modules/compute_profile_module.rb +1295 -0
- data/lib/latest/modules/computervision_profile_module.rb +233 -0
- data/lib/latest/modules/consumption_profile_module.rb +345 -0
- data/lib/latest/modules/containerinstance_profile_module.rb +291 -0
- data/lib/latest/modules/containerregistry_profile_module.rb +575 -0
- data/lib/latest/modules/containerservice_profile_module.rb +459 -0
- data/lib/latest/modules/contentmoderator_profile_module.rb +287 -0
- data/lib/latest/modules/cosmosdb_profile_module.rb +679 -0
- data/lib/latest/modules/costmanagement_profile_module.rb +207 -0
- data/lib/latest/modules/customerinsights_profile_module.rb +497 -0
- data/lib/latest/modules/customimagesearch_profile_module.rb +143 -0
- data/lib/latest/modules/customsearch_profile_module.rb +123 -0
- data/lib/latest/modules/customvisionprediction_profile_module.rb +69 -0
- data/lib/latest/modules/customvisiontraining_profile_module.rb +241 -0
- data/lib/latest/modules/databox_profile_module.rb +309 -0
- data/lib/latest/modules/datafactory_profile_module.rb +2809 -0
- data/lib/latest/modules/datalakeanalytics_profile_module.rb +253 -0
- data/lib/latest/modules/datalakestore_profile_module.rb +247 -0
- data/lib/latest/modules/datamigration_profile_module.rb +1307 -0
- data/lib/latest/modules/datashare_profile_module.rb +399 -0
- data/lib/latest/modules/deploymentmanager_profile_module.rb +261 -0
- data/lib/latest/modules/devspaces_profile_module.rb +119 -0
- data/lib/latest/modules/devtestlabs_profile_module.rb +849 -0
- data/lib/latest/modules/dns_profile_module.rb +143 -0
- data/lib/latest/modules/edgegateway_profile_module.rb +463 -0
- data/lib/latest/modules/entitysearch_profile_module.rb +231 -0
- data/lib/latest/modules/eventgrid_profile_module.rb +719 -0
- data/lib/latest/modules/eventhub_profile_module.rb +195 -0
- data/lib/latest/modules/face_profile_module.rb +297 -0
- data/lib/latest/modules/features_profile_module.rb +73 -0
- data/lib/latest/modules/formrecognizer_profile_module.rb +169 -0
- data/lib/latest/modules/graphrbac_profile_module.rb +225 -0
- data/lib/latest/modules/hanaonazure_profile_module.rb +137 -0
- data/lib/latest/modules/hdinsight_profile_module.rb +441 -0
- data/lib/latest/modules/imagesearch_profile_module.rb +279 -0
- data/lib/latest/modules/importexport_profile_module.rb +135 -0
- data/lib/latest/modules/iotcentral_profile_module.rb +107 -0
- data/lib/latest/modules/iothub_profile_module.rb +377 -0
- data/lib/latest/modules/keyvault_profile_module.rb +623 -0
- data/lib/latest/modules/kubernetesconfiguration_profile_module.rb +123 -0
- data/lib/latest/modules/kusto_profile_module.rb +365 -0
- data/lib/latest/modules/labservices_profile_module.rb +357 -0
- data/lib/latest/modules/links_profile_module.rb +83 -0
- data/lib/latest/modules/localsearch_profile_module.rb +151 -0
- data/lib/latest/modules/locks_profile_module.rb +79 -0
- data/lib/latest/modules/logic_profile_module.rb +787 -0
- data/lib/latest/modules/luisauthoring_profile_module.rb +505 -0
- data/lib/latest/modules/luisruntime_profile_module.rb +91 -0
- data/lib/latest/modules/machinelearning_profile_module.rb +211 -0
- data/lib/latest/modules/machinelearningservices_profile_module.rb +293 -0
- data/lib/latest/modules/maintenance_profile_module.rb +121 -0
- data/lib/latest/modules/managedapplications_profile_module.rb +123 -0
- data/lib/latest/modules/managedserviceidentity_profile_module.rb +75 -0
- data/lib/latest/modules/mariadb_profile_module.rb +233 -0
- data/lib/latest/modules/marketplaceordering_profile_module.rb +79 -0
- data/lib/latest/modules/mediaservices_profile_module.rb +871 -0
- data/lib/latest/modules/migrate_profile_module.rb +243 -0
- data/lib/latest/modules/mixedreality_profile_module.rb +169 -0
- data/lib/latest/modules/monitor_profile_module.rb +723 -0
- data/lib/latest/modules/mysql_profile_module.rb +233 -0
- data/lib/latest/modules/netapp_profile_module.rb +207 -0
- data/lib/latest/modules/network_profile_module.rb +2937 -0
- data/lib/latest/modules/newssearch_profile_module.rb +143 -0
- data/lib/latest/modules/notificationhubs_profile_module.rb +189 -0
- data/lib/latest/modules/operationalinsights_profile_module.rb +405 -0
- data/lib/latest/modules/operationsmanagement_profile_module.rb +123 -0
- data/lib/latest/modules/peering_profile_module.rb +259 -0
- data/lib/latest/modules/personalizer_profile_module.rb +83 -0
- data/lib/latest/modules/policy_profile_module.rb +105 -0
- data/lib/latest/modules/policyinsights_profile_module.rb +223 -0
- data/lib/latest/modules/portal_profile_module.rb +95 -0
- data/lib/latest/modules/postgresql_profile_module.rb +233 -0
- data/lib/latest/modules/powerbidedicated_profile_module.rb +123 -0
- data/lib/latest/modules/powerbiembedded_profile_module.rb +127 -0
- data/lib/latest/modules/privatedns_profile_module.rb +137 -0
- data/lib/latest/modules/qnamaker_profile_module.rb +215 -0
- data/lib/latest/modules/qnamakerruntime_profile_module.rb +123 -0
- data/lib/latest/modules/recoveryservices_profile_module.rb +253 -0
- data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +1343 -0
- data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1465 -0
- data/lib/latest/modules/redis_profile_module.rb +209 -0
- data/lib/latest/modules/relay_profile_module.rb +163 -0
- data/lib/latest/modules/reservations_profile_module.rb +347 -0
- data/lib/latest/modules/resourcegraph_profile_module.rb +129 -0
- data/lib/latest/modules/resourcehealth_profile_module.rb +111 -0
- data/lib/latest/modules/resources_profile_module.rb +321 -0
- data/lib/latest/modules/resourcesmanagement_profile_module.rb +163 -0
- data/lib/latest/modules/scheduler_profile_module.rb +227 -0
- data/lib/latest/modules/search_profile_module.rb +127 -0
- data/lib/latest/modules/security_profile_module.rb +841 -0
- data/lib/latest/modules/serialconsole_profile_module.rb +73 -0
- data/lib/latest/modules/servicebus_profile_module.rb +309 -0
- data/lib/latest/modules/servicefabric_profile_module.rb +2711 -0
- data/lib/latest/modules/signalr_profile_module.rb +233 -0
- data/lib/latest/modules/spellcheck_profile_module.rb +101 -0
- data/lib/latest/modules/sql_profile_module.rb +1765 -0
- data/lib/latest/modules/sqlvirtualmachine_profile_module.rb +235 -0
- data/lib/latest/modules/storage_profile_module.rb +693 -0
- data/lib/latest/modules/storagecache_profile_module.rb +217 -0
- data/lib/latest/modules/storagesync_profile_module.rb +275 -0
- data/lib/latest/modules/storsimple8000series_profile_module.rb +715 -0
- data/lib/latest/modules/streamanalytics_profile_module.rb +349 -0
- data/lib/latest/modules/subscriptions_profile_module.rb +235 -0
- data/lib/latest/modules/support_profile_module.rb +177 -0
- data/lib/latest/modules/synapse_profile_module.rb +827 -0
- data/lib/latest/modules/textanalytics_profile_module.rb +125 -0
- data/lib/latest/modules/timeseriesinsights_profile_module.rb +309 -0
- data/lib/latest/modules/trafficmanager_profile_module.rb +173 -0
- data/lib/latest/modules/videosearch_profile_module.rb +175 -0
- data/lib/latest/modules/visualsearch_profile_module.rb +235 -0
- data/lib/latest/modules/vmwarecloudsimple_profile_module.rb +247 -0
- data/lib/latest/modules/web_profile_module.rb +1419 -0
- data/lib/latest/modules/websearch_profile_module.rb +211 -0
- data/lib/v2017_03_09/module_definition.rb +7 -0
- data/lib/v2017_03_09/modules/authorization_profile_module.rb +141 -0
- data/lib/v2017_03_09/modules/compute_profile_module.rb +469 -0
- data/lib/v2017_03_09/modules/dns_profile_module.rb +139 -0
- data/lib/v2017_03_09/modules/features_profile_module.rb +73 -0
- data/lib/v2017_03_09/modules/keyvault_profile_module.rb +559 -0
- data/lib/v2017_03_09/modules/links_profile_module.rb +83 -0
- data/lib/v2017_03_09/modules/locks_profile_module.rb +61 -0
- data/lib/v2017_03_09/modules/network_profile_module.rb +555 -0
- data/lib/v2017_03_09/modules/policy_profile_module.rb +71 -0
- data/lib/v2017_03_09/modules/resources_profile_module.rb +255 -0
- data/lib/v2017_03_09/modules/storage_profile_module.rb +163 -0
- data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +101 -0
- data/lib/v2017_03_09/v2017_03_09_profile_client.rb +170 -0
- 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 +1321 -0
- data/lib/v2018_03_01/modules/policy_profile_module.rb +75 -0
- data/lib/v2018_03_01/modules/resources_profile_module.rb +271 -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
- data/lib/v2019_03_01_hybrid/module_definition.rb +7 -0
- data/lib/v2019_03_01_hybrid/modules/authorization_profile_module.rb +133 -0
- data/lib/v2019_03_01_hybrid/modules/compute_profile_module.rb +855 -0
- data/lib/v2019_03_01_hybrid/modules/dns_profile_module.rb +139 -0
- data/lib/v2019_03_01_hybrid/modules/keyvault_profile_module.rb +559 -0
- data/lib/v2019_03_01_hybrid/modules/locks_profile_module.rb +79 -0
- data/lib/v2019_03_01_hybrid/modules/monitor_profile_module.rb +285 -0
- data/lib/v2019_03_01_hybrid/modules/network_profile_module.rb +1261 -0
- data/lib/v2019_03_01_hybrid/modules/policy_profile_module.rb +75 -0
- data/lib/v2019_03_01_hybrid/modules/resources_profile_module.rb +289 -0
- data/lib/v2019_03_01_hybrid/modules/storage_profile_module.rb +283 -0
- data/lib/v2019_03_01_hybrid/modules/subscriptions_profile_module.rb +101 -0
- data/lib/v2019_03_01_hybrid/modules/web_profile_module.rb +1457 -0
- data/lib/v2019_03_01_hybrid/v2019_03_01_hybrid_profile_client.rb +170 -0
- metadata +2187 -0
@@ -0,0 +1,143 @@
|
|
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_newssearch'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module NewsSearch
|
9
|
+
NewsOperations = Azure::CognitiveServices::NewsSearch::V1_0::NewsOperations
|
10
|
+
|
11
|
+
module Models
|
12
|
+
ResponseBase = Azure::CognitiveServices::NewsSearch::V1_0::Models::ResponseBase
|
13
|
+
Error = Azure::CognitiveServices::NewsSearch::V1_0::Models::Error
|
14
|
+
Query = Azure::CognitiveServices::NewsSearch::V1_0::Models::Query
|
15
|
+
NewsArticle = Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsArticle
|
16
|
+
SearchResultsAnswer = Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer
|
17
|
+
News = Azure::CognitiveServices::NewsSearch::V1_0::Models::News
|
18
|
+
ImageObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject
|
19
|
+
NewsTopic = Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsTopic
|
20
|
+
Article = Azure::CognitiveServices::NewsSearch::V1_0::Models::Article
|
21
|
+
Identifiable = Azure::CognitiveServices::NewsSearch::V1_0::Models::Identifiable
|
22
|
+
Response = Azure::CognitiveServices::NewsSearch::V1_0::Models::Response
|
23
|
+
Answer = Azure::CognitiveServices::NewsSearch::V1_0::Models::Answer
|
24
|
+
Thing = Azure::CognitiveServices::NewsSearch::V1_0::Models::Thing
|
25
|
+
TrendingTopics = Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics
|
26
|
+
MediaObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject
|
27
|
+
VideoObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject
|
28
|
+
CreativeWork = Azure::CognitiveServices::NewsSearch::V1_0::Models::CreativeWork
|
29
|
+
Organization = Azure::CognitiveServices::NewsSearch::V1_0::Models::Organization
|
30
|
+
ErrorResponse = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorResponse
|
31
|
+
ErrorCode = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorCode
|
32
|
+
ErrorSubCode = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorSubCode
|
33
|
+
Freshness = Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness
|
34
|
+
SafeSearch = Azure::CognitiveServices::NewsSearch::V1_0::Models::SafeSearch
|
35
|
+
TextFormat = Azure::CognitiveServices::NewsSearch::V1_0::Models::TextFormat
|
36
|
+
end
|
37
|
+
|
38
|
+
class NewsSearchDataClass
|
39
|
+
attr_reader :news_operations, :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::CognitiveServices::NewsSearch::V1_0::NewsSearchClient.new(configurable.credentials, 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
|
+
@news_operations = @client_0.news_operations
|
50
|
+
|
51
|
+
@model_classes = ModelClasses.new
|
52
|
+
end
|
53
|
+
|
54
|
+
def add_telemetry(client)
|
55
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/NewsSearch"
|
56
|
+
client.add_user_agent_information(profile_information)
|
57
|
+
end
|
58
|
+
|
59
|
+
def method_missing(method, *args)
|
60
|
+
if @client_0.respond_to?method
|
61
|
+
@client_0.send(method, *args)
|
62
|
+
else
|
63
|
+
super
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
class ModelClasses
|
68
|
+
def response_base
|
69
|
+
Azure::CognitiveServices::NewsSearch::V1_0::Models::ResponseBase
|
70
|
+
end
|
71
|
+
def error
|
72
|
+
Azure::CognitiveServices::NewsSearch::V1_0::Models::Error
|
73
|
+
end
|
74
|
+
def query
|
75
|
+
Azure::CognitiveServices::NewsSearch::V1_0::Models::Query
|
76
|
+
end
|
77
|
+
def news_article
|
78
|
+
Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsArticle
|
79
|
+
end
|
80
|
+
def search_results_answer
|
81
|
+
Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer
|
82
|
+
end
|
83
|
+
def news
|
84
|
+
Azure::CognitiveServices::NewsSearch::V1_0::Models::News
|
85
|
+
end
|
86
|
+
def image_object
|
87
|
+
Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject
|
88
|
+
end
|
89
|
+
def news_topic
|
90
|
+
Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsTopic
|
91
|
+
end
|
92
|
+
def article
|
93
|
+
Azure::CognitiveServices::NewsSearch::V1_0::Models::Article
|
94
|
+
end
|
95
|
+
def identifiable
|
96
|
+
Azure::CognitiveServices::NewsSearch::V1_0::Models::Identifiable
|
97
|
+
end
|
98
|
+
def response
|
99
|
+
Azure::CognitiveServices::NewsSearch::V1_0::Models::Response
|
100
|
+
end
|
101
|
+
def answer
|
102
|
+
Azure::CognitiveServices::NewsSearch::V1_0::Models::Answer
|
103
|
+
end
|
104
|
+
def thing
|
105
|
+
Azure::CognitiveServices::NewsSearch::V1_0::Models::Thing
|
106
|
+
end
|
107
|
+
def trending_topics
|
108
|
+
Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics
|
109
|
+
end
|
110
|
+
def media_object
|
111
|
+
Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject
|
112
|
+
end
|
113
|
+
def video_object
|
114
|
+
Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject
|
115
|
+
end
|
116
|
+
def creative_work
|
117
|
+
Azure::CognitiveServices::NewsSearch::V1_0::Models::CreativeWork
|
118
|
+
end
|
119
|
+
def organization
|
120
|
+
Azure::CognitiveServices::NewsSearch::V1_0::Models::Organization
|
121
|
+
end
|
122
|
+
def error_response
|
123
|
+
Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorResponse
|
124
|
+
end
|
125
|
+
def error_code
|
126
|
+
Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorCode
|
127
|
+
end
|
128
|
+
def error_sub_code
|
129
|
+
Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorSubCode
|
130
|
+
end
|
131
|
+
def freshness
|
132
|
+
Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness
|
133
|
+
end
|
134
|
+
def safe_search
|
135
|
+
Azure::CognitiveServices::NewsSearch::V1_0::Models::SafeSearch
|
136
|
+
end
|
137
|
+
def text_format
|
138
|
+
Azure::CognitiveServices::NewsSearch::V1_0::Models::TextFormat
|
139
|
+
end
|
140
|
+
end
|
141
|
+
end
|
142
|
+
end
|
143
|
+
end
|
@@ -0,0 +1,189 @@
|
|
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_notification_hubs'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module NotificationHubs
|
9
|
+
module Mgmt
|
10
|
+
Operations = Azure::NotificationHubs::Mgmt::V2017_04_01::Operations
|
11
|
+
Namespaces = Azure::NotificationHubs::Mgmt::V2017_04_01::Namespaces
|
12
|
+
NotificationHubs = Azure::NotificationHubs::Mgmt::V2017_04_01::NotificationHubs
|
13
|
+
|
14
|
+
module Models
|
15
|
+
ResourceListKeys = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ResourceListKeys
|
16
|
+
PolicykeyResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource
|
17
|
+
Operation = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Operation
|
18
|
+
ApnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential
|
19
|
+
ErrorResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ErrorResponse
|
20
|
+
WnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential
|
21
|
+
CheckAvailabilityParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters
|
22
|
+
GcmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential
|
23
|
+
OperationDisplay = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationDisplay
|
24
|
+
OperationListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult
|
25
|
+
Sku = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku
|
26
|
+
SharedAccessAuthorizationRuleCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters
|
27
|
+
SubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource
|
28
|
+
NotificationHubListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult
|
29
|
+
SharedAccessAuthorizationRuleListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult
|
30
|
+
Resource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource
|
31
|
+
SharedAccessAuthorizationRuleProperties = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties
|
32
|
+
MpnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential
|
33
|
+
NamespacePatchParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters
|
34
|
+
AdmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AdmCredential
|
35
|
+
NamespaceListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult
|
36
|
+
BaiduCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential
|
37
|
+
CheckAvailabilityResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityResult
|
38
|
+
NamespaceCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceCreateOrUpdateParameters
|
39
|
+
NamespaceResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceResource
|
40
|
+
SharedAccessAuthorizationRuleResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleResource
|
41
|
+
NotificationHubCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters
|
42
|
+
NotificationHubPatchParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubPatchParameters
|
43
|
+
NotificationHubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubResource
|
44
|
+
DebugSendResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::DebugSendResponse
|
45
|
+
PnsCredentialsResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PnsCredentialsResource
|
46
|
+
SkuName = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SkuName
|
47
|
+
NamespaceType = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceType
|
48
|
+
AccessRights = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AccessRights
|
49
|
+
end
|
50
|
+
|
51
|
+
class NotificationHubsManagementClass
|
52
|
+
attr_reader :operations, :namespaces, :notification_hubs, :configurable, :base_url, :options, :model_classes
|
53
|
+
|
54
|
+
def initialize(configurable, base_url=nil, options=nil)
|
55
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
56
|
+
|
57
|
+
@client_0 = Azure::NotificationHubs::Mgmt::V2017_04_01::NotificationHubsManagementClient.new(configurable.credentials, base_url, options)
|
58
|
+
if(@client_0.respond_to?(:subscription_id))
|
59
|
+
@client_0.subscription_id = configurable.subscription_id
|
60
|
+
end
|
61
|
+
add_telemetry(@client_0)
|
62
|
+
@operations = @client_0.operations
|
63
|
+
@namespaces = @client_0.namespaces
|
64
|
+
@notification_hubs = @client_0.notification_hubs
|
65
|
+
|
66
|
+
@model_classes = ModelClasses.new
|
67
|
+
end
|
68
|
+
|
69
|
+
def add_telemetry(client)
|
70
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/NotificationHubs/Mgmt"
|
71
|
+
client.add_user_agent_information(profile_information)
|
72
|
+
end
|
73
|
+
|
74
|
+
def method_missing(method, *args)
|
75
|
+
if @client_0.respond_to?method
|
76
|
+
@client_0.send(method, *args)
|
77
|
+
else
|
78
|
+
super
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
class ModelClasses
|
83
|
+
def resource_list_keys
|
84
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ResourceListKeys
|
85
|
+
end
|
86
|
+
def policykey_resource
|
87
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource
|
88
|
+
end
|
89
|
+
def operation
|
90
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Operation
|
91
|
+
end
|
92
|
+
def apns_credential
|
93
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential
|
94
|
+
end
|
95
|
+
def error_response
|
96
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ErrorResponse
|
97
|
+
end
|
98
|
+
def wns_credential
|
99
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential
|
100
|
+
end
|
101
|
+
def check_availability_parameters
|
102
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters
|
103
|
+
end
|
104
|
+
def gcm_credential
|
105
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential
|
106
|
+
end
|
107
|
+
def operation_display
|
108
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationDisplay
|
109
|
+
end
|
110
|
+
def operation_list_result
|
111
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult
|
112
|
+
end
|
113
|
+
def sku
|
114
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku
|
115
|
+
end
|
116
|
+
def shared_access_authorization_rule_create_or_update_parameters
|
117
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters
|
118
|
+
end
|
119
|
+
def sub_resource
|
120
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource
|
121
|
+
end
|
122
|
+
def notification_hub_list_result
|
123
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult
|
124
|
+
end
|
125
|
+
def shared_access_authorization_rule_list_result
|
126
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult
|
127
|
+
end
|
128
|
+
def resource
|
129
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource
|
130
|
+
end
|
131
|
+
def shared_access_authorization_rule_properties
|
132
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties
|
133
|
+
end
|
134
|
+
def mpns_credential
|
135
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential
|
136
|
+
end
|
137
|
+
def namespace_patch_parameters
|
138
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters
|
139
|
+
end
|
140
|
+
def adm_credential
|
141
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AdmCredential
|
142
|
+
end
|
143
|
+
def namespace_list_result
|
144
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult
|
145
|
+
end
|
146
|
+
def baidu_credential
|
147
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential
|
148
|
+
end
|
149
|
+
def check_availability_result
|
150
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityResult
|
151
|
+
end
|
152
|
+
def namespace_create_or_update_parameters
|
153
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceCreateOrUpdateParameters
|
154
|
+
end
|
155
|
+
def namespace_resource
|
156
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceResource
|
157
|
+
end
|
158
|
+
def shared_access_authorization_rule_resource
|
159
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleResource
|
160
|
+
end
|
161
|
+
def notification_hub_create_or_update_parameters
|
162
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters
|
163
|
+
end
|
164
|
+
def notification_hub_patch_parameters
|
165
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubPatchParameters
|
166
|
+
end
|
167
|
+
def notification_hub_resource
|
168
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubResource
|
169
|
+
end
|
170
|
+
def debug_send_response
|
171
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::DebugSendResponse
|
172
|
+
end
|
173
|
+
def pns_credentials_resource
|
174
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PnsCredentialsResource
|
175
|
+
end
|
176
|
+
def sku_name
|
177
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SkuName
|
178
|
+
end
|
179
|
+
def namespace_type
|
180
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceType
|
181
|
+
end
|
182
|
+
def access_rights
|
183
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AccessRights
|
184
|
+
end
|
185
|
+
end
|
186
|
+
end
|
187
|
+
end
|
188
|
+
end
|
189
|
+
end
|
@@ -0,0 +1,405 @@
|
|
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_operational_insights'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module OperationalInsights
|
9
|
+
module Mgmt
|
10
|
+
StorageInsights = Azure::OperationalInsights::Mgmt::V2015_03_20::StorageInsights
|
11
|
+
DataExports = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::DataExports
|
12
|
+
DataSources = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::DataSources
|
13
|
+
IntelligencePacks = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::IntelligencePacks
|
14
|
+
LinkedServices = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::LinkedServices
|
15
|
+
LinkedStorageAccounts = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::LinkedStorageAccounts
|
16
|
+
ManagementGroups = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::ManagementGroups
|
17
|
+
Operations = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Operations
|
18
|
+
OperationStatuses = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::OperationStatuses
|
19
|
+
SharedKeysOperations = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::SharedKeysOperations
|
20
|
+
Usages = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Usages
|
21
|
+
Workspaces = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Workspaces
|
22
|
+
DeletedWorkspaces = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::DeletedWorkspaces
|
23
|
+
Clusters = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Clusters
|
24
|
+
StorageInsightConfigs = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::StorageInsightConfigs
|
25
|
+
SavedSearches = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::SavedSearches
|
26
|
+
AvailableServiceTiers = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::AvailableServiceTiers
|
27
|
+
Gateways = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Gateways
|
28
|
+
Schema = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Schema
|
29
|
+
WorkspacePurge = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::WorkspacePurge
|
30
|
+
Tables = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Tables
|
31
|
+
|
32
|
+
module Models
|
33
|
+
LinkTarget = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::LinkTarget
|
34
|
+
WorkspaceSku = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::WorkspaceSku
|
35
|
+
WorkspaceCapping = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::WorkspaceCapping
|
36
|
+
DataExportListResult = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::DataExportListResult
|
37
|
+
PrivateLinkScopedResource = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::PrivateLinkScopedResource
|
38
|
+
ErrorResponse = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::ErrorResponse
|
39
|
+
SearchSort = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::SearchSort
|
40
|
+
WorkspacePurgeBody = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::WorkspacePurgeBody
|
41
|
+
ErrorAdditionalInfo = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::ErrorAdditionalInfo
|
42
|
+
WorkspacePurgeBodyFilters = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::WorkspacePurgeBodyFilters
|
43
|
+
DataExportErrorResponse = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::DataExportErrorResponse
|
44
|
+
DataSourceFilter = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::DataSourceFilter
|
45
|
+
SearchMetadataSchema = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::SearchMetadataSchema
|
46
|
+
IntelligencePack = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::IntelligencePack
|
47
|
+
ErrorContract = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::ErrorContract
|
48
|
+
LinkedServiceListResult = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::LinkedServiceListResult
|
49
|
+
WorkspaceListResult = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::WorkspaceListResult
|
50
|
+
LinkedStorageAccountsListResult = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::LinkedStorageAccountsListResult
|
51
|
+
KeyVaultProperties = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::KeyVaultProperties
|
52
|
+
WorkspaceListManagementGroupsResult = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::WorkspaceListManagementGroupsResult
|
53
|
+
ClusterErrorResponse = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::ClusterErrorResponse
|
54
|
+
Operation = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::Operation
|
55
|
+
ClusterSku = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::ClusterSku
|
56
|
+
OperationStatus = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::OperationStatus
|
57
|
+
ClusterPatch = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::ClusterPatch
|
58
|
+
MetricName = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::MetricName
|
59
|
+
Identity = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::Identity
|
60
|
+
WorkspaceListUsagesResult = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::WorkspaceListUsagesResult
|
61
|
+
TablesListResult = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::TablesListResult
|
62
|
+
SearchGetSchemaResponse = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::SearchGetSchemaResponse
|
63
|
+
ClusterListResult = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::ClusterListResult
|
64
|
+
SearchSchemaValue = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::SearchSchemaValue
|
65
|
+
StorageAccount = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::StorageAccount
|
66
|
+
ManagementGroup = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::ManagementGroup
|
67
|
+
StorageInsightStatus = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::StorageInsightStatus
|
68
|
+
OperationListResult = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::OperationListResult
|
69
|
+
WorkspacePurgeStatusResponse = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::WorkspacePurgeStatusResponse
|
70
|
+
UsageMetric = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::UsageMetric
|
71
|
+
StorageInsightListResult = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::StorageInsightListResult
|
72
|
+
DataSourceListResult = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::DataSourceListResult
|
73
|
+
Tag = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::Tag
|
74
|
+
OperationDisplay = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::OperationDisplay
|
75
|
+
WorkspacePurgeResponse = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::WorkspacePurgeResponse
|
76
|
+
Resource = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::Resource
|
77
|
+
SavedSearchesListResult = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::SavedSearchesListResult
|
78
|
+
SharedKeys = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::SharedKeys
|
79
|
+
AvailableServiceTier = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::AvailableServiceTier
|
80
|
+
SearchMetadata = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::SearchMetadata
|
81
|
+
CoreSummary = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::CoreSummary
|
82
|
+
DataExport = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::DataExport
|
83
|
+
TrackedResource = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::TrackedResource
|
84
|
+
AzureEntityResource = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::AzureEntityResource
|
85
|
+
ProxyResource = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::ProxyResource
|
86
|
+
DataSource = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::DataSource
|
87
|
+
LinkedService = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::LinkedService
|
88
|
+
LinkedStorageAccountsResource = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::LinkedStorageAccountsResource
|
89
|
+
Workspace = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::Workspace
|
90
|
+
WorkspacePatch = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::WorkspacePatch
|
91
|
+
Cluster = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::Cluster
|
92
|
+
StorageInsight = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::StorageInsight
|
93
|
+
SavedSearch = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::SavedSearch
|
94
|
+
Table = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::Table
|
95
|
+
Type = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::Type
|
96
|
+
DataSourceKind = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::DataSourceKind
|
97
|
+
LinkedServiceEntityStatus = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::LinkedServiceEntityStatus
|
98
|
+
DataSourceType = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::DataSourceType
|
99
|
+
WorkspaceSkuNameEnum = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::WorkspaceSkuNameEnum
|
100
|
+
DataIngestionStatus = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::DataIngestionStatus
|
101
|
+
WorkspaceEntityStatus = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::WorkspaceEntityStatus
|
102
|
+
PublicNetworkAccessType = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::PublicNetworkAccessType
|
103
|
+
ClusterEntityStatus = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::ClusterEntityStatus
|
104
|
+
ClusterSkuNameEnum = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::ClusterSkuNameEnum
|
105
|
+
IdentityType = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::IdentityType
|
106
|
+
StorageInsightState = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::StorageInsightState
|
107
|
+
SkuNameEnum = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::SkuNameEnum
|
108
|
+
SearchSortEnum = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::SearchSortEnum
|
109
|
+
PurgeState = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::PurgeState
|
110
|
+
end
|
111
|
+
|
112
|
+
class OperationalInsightsManagementClass
|
113
|
+
attr_reader :storage_insights, :data_exports, :data_sources, :intelligence_packs, :linked_services, :linked_storage_accounts, :management_groups, :operations, :operation_statuses, :shared_keys_operations, :usages, :workspaces, :deleted_workspaces, :clusters, :storage_insight_configs, :saved_searches, :available_service_tiers, :gateways, :schema, :workspace_purge, :tables, :configurable, :base_url, :options, :model_classes
|
114
|
+
|
115
|
+
def initialize(configurable, base_url=nil, options=nil)
|
116
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
117
|
+
|
118
|
+
@client_0 = Azure::OperationalInsights::Mgmt::V2015_03_20::OperationalInsightsManagementClient.new(configurable.credentials, base_url, options)
|
119
|
+
if(@client_0.respond_to?(:subscription_id))
|
120
|
+
@client_0.subscription_id = configurable.subscription_id
|
121
|
+
end
|
122
|
+
add_telemetry(@client_0)
|
123
|
+
@storage_insights = @client_0.storage_insights
|
124
|
+
|
125
|
+
@client_1 = Azure::OperationalInsights::Mgmt::V2020_03_01_preview::OperationalInsightsManagementClient.new(configurable.credentials, base_url, options)
|
126
|
+
if(@client_1.respond_to?(:subscription_id))
|
127
|
+
@client_1.subscription_id = configurable.subscription_id
|
128
|
+
end
|
129
|
+
add_telemetry(@client_1)
|
130
|
+
@data_exports = @client_1.data_exports
|
131
|
+
@data_sources = @client_1.data_sources
|
132
|
+
@intelligence_packs = @client_1.intelligence_packs
|
133
|
+
@linked_services = @client_1.linked_services
|
134
|
+
@linked_storage_accounts = @client_1.linked_storage_accounts
|
135
|
+
@management_groups = @client_1.management_groups
|
136
|
+
@operations = @client_1.operations
|
137
|
+
@operation_statuses = @client_1.operation_statuses
|
138
|
+
@shared_keys_operations = @client_1.shared_keys_operations
|
139
|
+
@usages = @client_1.usages
|
140
|
+
@workspaces = @client_1.workspaces
|
141
|
+
@deleted_workspaces = @client_1.deleted_workspaces
|
142
|
+
@clusters = @client_1.clusters
|
143
|
+
@storage_insight_configs = @client_1.storage_insight_configs
|
144
|
+
@saved_searches = @client_1.saved_searches
|
145
|
+
@available_service_tiers = @client_1.available_service_tiers
|
146
|
+
@gateways = @client_1.gateways
|
147
|
+
@schema = @client_1.schema
|
148
|
+
@workspace_purge = @client_1.workspace_purge
|
149
|
+
@tables = @client_1.tables
|
150
|
+
|
151
|
+
@model_classes = ModelClasses.new
|
152
|
+
end
|
153
|
+
|
154
|
+
def add_telemetry(client)
|
155
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/OperationalInsights/Mgmt"
|
156
|
+
client.add_user_agent_information(profile_information)
|
157
|
+
end
|
158
|
+
|
159
|
+
def method_missing(method, *args)
|
160
|
+
if @client_1.respond_to?method
|
161
|
+
@client_1.send(method, *args)
|
162
|
+
elsif @client_0.respond_to?method
|
163
|
+
@client_0.send(method, *args)
|
164
|
+
else
|
165
|
+
super
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
class ModelClasses
|
170
|
+
def link_target
|
171
|
+
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::LinkTarget
|
172
|
+
end
|
173
|
+
def workspace_sku
|
174
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::WorkspaceSku
|
175
|
+
end
|
176
|
+
def workspace_capping
|
177
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::WorkspaceCapping
|
178
|
+
end
|
179
|
+
def data_export_list_result
|
180
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::DataExportListResult
|
181
|
+
end
|
182
|
+
def private_link_scoped_resource
|
183
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::PrivateLinkScopedResource
|
184
|
+
end
|
185
|
+
def error_response
|
186
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::ErrorResponse
|
187
|
+
end
|
188
|
+
def search_sort
|
189
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::SearchSort
|
190
|
+
end
|
191
|
+
def workspace_purge_body
|
192
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::WorkspacePurgeBody
|
193
|
+
end
|
194
|
+
def error_additional_info
|
195
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::ErrorAdditionalInfo
|
196
|
+
end
|
197
|
+
def workspace_purge_body_filters
|
198
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::WorkspacePurgeBodyFilters
|
199
|
+
end
|
200
|
+
def data_export_error_response
|
201
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::DataExportErrorResponse
|
202
|
+
end
|
203
|
+
def data_source_filter
|
204
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::DataSourceFilter
|
205
|
+
end
|
206
|
+
def search_metadata_schema
|
207
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::SearchMetadataSchema
|
208
|
+
end
|
209
|
+
def intelligence_pack
|
210
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::IntelligencePack
|
211
|
+
end
|
212
|
+
def error_contract
|
213
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::ErrorContract
|
214
|
+
end
|
215
|
+
def linked_service_list_result
|
216
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::LinkedServiceListResult
|
217
|
+
end
|
218
|
+
def workspace_list_result
|
219
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::WorkspaceListResult
|
220
|
+
end
|
221
|
+
def linked_storage_accounts_list_result
|
222
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::LinkedStorageAccountsListResult
|
223
|
+
end
|
224
|
+
def key_vault_properties
|
225
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::KeyVaultProperties
|
226
|
+
end
|
227
|
+
def workspace_list_management_groups_result
|
228
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::WorkspaceListManagementGroupsResult
|
229
|
+
end
|
230
|
+
def cluster_error_response
|
231
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::ClusterErrorResponse
|
232
|
+
end
|
233
|
+
def operation
|
234
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::Operation
|
235
|
+
end
|
236
|
+
def cluster_sku
|
237
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::ClusterSku
|
238
|
+
end
|
239
|
+
def operation_status
|
240
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::OperationStatus
|
241
|
+
end
|
242
|
+
def cluster_patch
|
243
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::ClusterPatch
|
244
|
+
end
|
245
|
+
def metric_name
|
246
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::MetricName
|
247
|
+
end
|
248
|
+
def identity
|
249
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::Identity
|
250
|
+
end
|
251
|
+
def workspace_list_usages_result
|
252
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::WorkspaceListUsagesResult
|
253
|
+
end
|
254
|
+
def tables_list_result
|
255
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::TablesListResult
|
256
|
+
end
|
257
|
+
def search_get_schema_response
|
258
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::SearchGetSchemaResponse
|
259
|
+
end
|
260
|
+
def cluster_list_result
|
261
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::ClusterListResult
|
262
|
+
end
|
263
|
+
def search_schema_value
|
264
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::SearchSchemaValue
|
265
|
+
end
|
266
|
+
def storage_account
|
267
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::StorageAccount
|
268
|
+
end
|
269
|
+
def management_group
|
270
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::ManagementGroup
|
271
|
+
end
|
272
|
+
def storage_insight_status
|
273
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::StorageInsightStatus
|
274
|
+
end
|
275
|
+
def operation_list_result
|
276
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::OperationListResult
|
277
|
+
end
|
278
|
+
def workspace_purge_status_response
|
279
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::WorkspacePurgeStatusResponse
|
280
|
+
end
|
281
|
+
def usage_metric
|
282
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::UsageMetric
|
283
|
+
end
|
284
|
+
def storage_insight_list_result
|
285
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::StorageInsightListResult
|
286
|
+
end
|
287
|
+
def data_source_list_result
|
288
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::DataSourceListResult
|
289
|
+
end
|
290
|
+
def tag
|
291
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::Tag
|
292
|
+
end
|
293
|
+
def operation_display
|
294
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::OperationDisplay
|
295
|
+
end
|
296
|
+
def workspace_purge_response
|
297
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::WorkspacePurgeResponse
|
298
|
+
end
|
299
|
+
def resource
|
300
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::Resource
|
301
|
+
end
|
302
|
+
def saved_searches_list_result
|
303
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::SavedSearchesListResult
|
304
|
+
end
|
305
|
+
def shared_keys
|
306
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::SharedKeys
|
307
|
+
end
|
308
|
+
def available_service_tier
|
309
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::AvailableServiceTier
|
310
|
+
end
|
311
|
+
def search_metadata
|
312
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::SearchMetadata
|
313
|
+
end
|
314
|
+
def core_summary
|
315
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::CoreSummary
|
316
|
+
end
|
317
|
+
def data_export
|
318
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::DataExport
|
319
|
+
end
|
320
|
+
def tracked_resource
|
321
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::TrackedResource
|
322
|
+
end
|
323
|
+
def azure_entity_resource
|
324
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::AzureEntityResource
|
325
|
+
end
|
326
|
+
def proxy_resource
|
327
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::ProxyResource
|
328
|
+
end
|
329
|
+
def data_source
|
330
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::DataSource
|
331
|
+
end
|
332
|
+
def linked_service
|
333
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::LinkedService
|
334
|
+
end
|
335
|
+
def linked_storage_accounts_resource
|
336
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::LinkedStorageAccountsResource
|
337
|
+
end
|
338
|
+
def workspace
|
339
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::Workspace
|
340
|
+
end
|
341
|
+
def workspace_patch
|
342
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::WorkspacePatch
|
343
|
+
end
|
344
|
+
def cluster
|
345
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::Cluster
|
346
|
+
end
|
347
|
+
def storage_insight
|
348
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::StorageInsight
|
349
|
+
end
|
350
|
+
def saved_search
|
351
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::SavedSearch
|
352
|
+
end
|
353
|
+
def table
|
354
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::Table
|
355
|
+
end
|
356
|
+
def type
|
357
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::Type
|
358
|
+
end
|
359
|
+
def data_source_kind
|
360
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::DataSourceKind
|
361
|
+
end
|
362
|
+
def linked_service_entity_status
|
363
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::LinkedServiceEntityStatus
|
364
|
+
end
|
365
|
+
def data_source_type
|
366
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::DataSourceType
|
367
|
+
end
|
368
|
+
def workspace_sku_name_enum
|
369
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::WorkspaceSkuNameEnum
|
370
|
+
end
|
371
|
+
def data_ingestion_status
|
372
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::DataIngestionStatus
|
373
|
+
end
|
374
|
+
def workspace_entity_status
|
375
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::WorkspaceEntityStatus
|
376
|
+
end
|
377
|
+
def public_network_access_type
|
378
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::PublicNetworkAccessType
|
379
|
+
end
|
380
|
+
def cluster_entity_status
|
381
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::ClusterEntityStatus
|
382
|
+
end
|
383
|
+
def cluster_sku_name_enum
|
384
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::ClusterSkuNameEnum
|
385
|
+
end
|
386
|
+
def identity_type
|
387
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::IdentityType
|
388
|
+
end
|
389
|
+
def storage_insight_state
|
390
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::StorageInsightState
|
391
|
+
end
|
392
|
+
def sku_name_enum
|
393
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::SkuNameEnum
|
394
|
+
end
|
395
|
+
def search_sort_enum
|
396
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::SearchSortEnum
|
397
|
+
end
|
398
|
+
def purge_state
|
399
|
+
Azure::OperationalInsights::Mgmt::V2020_03_01_preview::Models::PurgeState
|
400
|
+
end
|
401
|
+
end
|
402
|
+
end
|
403
|
+
end
|
404
|
+
end
|
405
|
+
end
|