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
@@ -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_cognitiveservices_computervision'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module ComputerVision
|
9
|
+
|
10
|
+
module Models
|
11
|
+
ImageDescriptionDetails = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescriptionDetails
|
12
|
+
Word = Azure::CognitiveServices::ComputerVision::V1_0::Models::Word
|
13
|
+
FaceDescription = Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceDescription
|
14
|
+
RecognitionResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::RecognitionResult
|
15
|
+
ImageAnalysis = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageAnalysis
|
16
|
+
FaceRectangle = Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceRectangle
|
17
|
+
OcrWord = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrWord
|
18
|
+
CategoryDetail = Azure::CognitiveServices::ComputerVision::V1_0::Models::CategoryDetail
|
19
|
+
OcrLine = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrLine
|
20
|
+
AdultInfo = Azure::CognitiveServices::ComputerVision::V1_0::Models::AdultInfo
|
21
|
+
OcrRegion = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrRegion
|
22
|
+
ImageType = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageType
|
23
|
+
OcrResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrResult
|
24
|
+
ImageCaption = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageCaption
|
25
|
+
ModelDescription = Azure::CognitiveServices::ComputerVision::V1_0::Models::ModelDescription
|
26
|
+
Line = Azure::CognitiveServices::ComputerVision::V1_0::Models::Line
|
27
|
+
ListModelsResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::ListModelsResult
|
28
|
+
CelebritiesModel = Azure::CognitiveServices::ComputerVision::V1_0::Models::CelebritiesModel
|
29
|
+
DomainModelResults = Azure::CognitiveServices::ComputerVision::V1_0::Models::DomainModelResults
|
30
|
+
ColorInfo = Azure::CognitiveServices::ComputerVision::V1_0::Models::ColorInfo
|
31
|
+
ImageDescription = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescription
|
32
|
+
ImageMetadata = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageMetadata
|
33
|
+
TagResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::TagResult
|
34
|
+
Category = Azure::CognitiveServices::ComputerVision::V1_0::Models::Category
|
35
|
+
ComputerVisionError = Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionError
|
36
|
+
TextOperationResult = Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationResult
|
37
|
+
ImageUrl = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageUrl
|
38
|
+
ImageTag = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageTag
|
39
|
+
TextOperationStatusCodes = Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationStatusCodes
|
40
|
+
ComputerVisionErrorCodes = Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionErrorCodes
|
41
|
+
VisualFeatureTypes = Azure::CognitiveServices::ComputerVision::V1_0::Models::VisualFeatureTypes
|
42
|
+
OcrLanguages = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrLanguages
|
43
|
+
AzureRegions = Azure::CognitiveServices::ComputerVision::V1_0::Models::AzureRegions
|
44
|
+
Details = Azure::CognitiveServices::ComputerVision::V1_0::Models::Details
|
45
|
+
Language1 = Azure::CognitiveServices::ComputerVision::V1_0::Models::Language1
|
46
|
+
DomainModels = Azure::CognitiveServices::ComputerVision::V1_0::Models::DomainModels
|
47
|
+
end
|
48
|
+
|
49
|
+
class ComputerVisionDataClass
|
50
|
+
attr_reader :configurable, :base_url, :options, :model_classes
|
51
|
+
|
52
|
+
def initialize(configurable, base_url=nil, options=nil)
|
53
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
54
|
+
|
55
|
+
@client_0 = Azure::CognitiveServices::ComputerVision::V1_0::ComputerVisionClient.new(configurable.credentials, options)
|
56
|
+
if(@client_0.respond_to?(:subscription_id))
|
57
|
+
@client_0.subscription_id = configurable.subscription_id
|
58
|
+
end
|
59
|
+
add_telemetry(@client_0)
|
60
|
+
|
61
|
+
@model_classes = ModelClasses.new
|
62
|
+
end
|
63
|
+
|
64
|
+
def add_telemetry(client)
|
65
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/ComputerVision"
|
66
|
+
client.add_user_agent_information(profile_information)
|
67
|
+
end
|
68
|
+
|
69
|
+
def method_missing(method, *args)
|
70
|
+
if @client_0.respond_to?method
|
71
|
+
@client_0.send(method, *args)
|
72
|
+
else
|
73
|
+
super
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
class ModelClasses
|
78
|
+
def image_description_details
|
79
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescriptionDetails
|
80
|
+
end
|
81
|
+
def word
|
82
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::Word
|
83
|
+
end
|
84
|
+
def face_description
|
85
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceDescription
|
86
|
+
end
|
87
|
+
def recognition_result
|
88
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::RecognitionResult
|
89
|
+
end
|
90
|
+
def image_analysis
|
91
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageAnalysis
|
92
|
+
end
|
93
|
+
def face_rectangle
|
94
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceRectangle
|
95
|
+
end
|
96
|
+
def ocr_word
|
97
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrWord
|
98
|
+
end
|
99
|
+
def category_detail
|
100
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::CategoryDetail
|
101
|
+
end
|
102
|
+
def ocr_line
|
103
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrLine
|
104
|
+
end
|
105
|
+
def adult_info
|
106
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::AdultInfo
|
107
|
+
end
|
108
|
+
def ocr_region
|
109
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrRegion
|
110
|
+
end
|
111
|
+
def image_type
|
112
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageType
|
113
|
+
end
|
114
|
+
def ocr_result
|
115
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrResult
|
116
|
+
end
|
117
|
+
def image_caption
|
118
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageCaption
|
119
|
+
end
|
120
|
+
def model_description
|
121
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::ModelDescription
|
122
|
+
end
|
123
|
+
def line
|
124
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::Line
|
125
|
+
end
|
126
|
+
def list_models_result
|
127
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::ListModelsResult
|
128
|
+
end
|
129
|
+
def celebrities_model
|
130
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::CelebritiesModel
|
131
|
+
end
|
132
|
+
def domain_model_results
|
133
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::DomainModelResults
|
134
|
+
end
|
135
|
+
def color_info
|
136
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::ColorInfo
|
137
|
+
end
|
138
|
+
def image_description
|
139
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescription
|
140
|
+
end
|
141
|
+
def image_metadata
|
142
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageMetadata
|
143
|
+
end
|
144
|
+
def tag_result
|
145
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::TagResult
|
146
|
+
end
|
147
|
+
def category
|
148
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::Category
|
149
|
+
end
|
150
|
+
def computer_vision_error
|
151
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionError
|
152
|
+
end
|
153
|
+
def text_operation_result
|
154
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationResult
|
155
|
+
end
|
156
|
+
def image_url
|
157
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageUrl
|
158
|
+
end
|
159
|
+
def image_tag
|
160
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageTag
|
161
|
+
end
|
162
|
+
def text_operation_status_codes
|
163
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationStatusCodes
|
164
|
+
end
|
165
|
+
def computer_vision_error_codes
|
166
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionErrorCodes
|
167
|
+
end
|
168
|
+
def visual_feature_types
|
169
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::VisualFeatureTypes
|
170
|
+
end
|
171
|
+
def ocr_languages
|
172
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrLanguages
|
173
|
+
end
|
174
|
+
def azure_regions
|
175
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::AzureRegions
|
176
|
+
end
|
177
|
+
def details
|
178
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::Details
|
179
|
+
end
|
180
|
+
def language1
|
181
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::Language1
|
182
|
+
end
|
183
|
+
def domain_models
|
184
|
+
Azure::CognitiveServices::ComputerVision::V1_0::Models::DomainModels
|
185
|
+
end
|
186
|
+
end
|
187
|
+
end
|
188
|
+
end
|
189
|
+
end
|
@@ -5,68 +5,167 @@
|
|
5
5
|
require 'azure_mgmt_consumption'
|
6
6
|
|
7
7
|
module Azure::Profiles::Latest
|
8
|
-
module Consumption
|
9
|
-
|
10
|
-
|
8
|
+
module Consumption
|
9
|
+
module Mgmt
|
10
|
+
UsageDetails = Azure::Consumption::Mgmt::V2018_01_31::UsageDetails
|
11
|
+
Marketplaces = Azure::Consumption::Mgmt::V2018_01_31::Marketplaces
|
12
|
+
ReservationsSummaries = Azure::Consumption::Mgmt::V2018_01_31::ReservationsSummaries
|
13
|
+
ReservationsDetails = Azure::Consumption::Mgmt::V2018_01_31::ReservationsDetails
|
14
|
+
Budgets = Azure::Consumption::Mgmt::V2018_01_31::Budgets
|
15
|
+
Operations = Azure::Consumption::Mgmt::V2018_01_31::Operations
|
16
|
+
PriceSheet = Azure::Consumption::Mgmt::V2018_01_31::PriceSheet
|
11
17
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
18
|
+
module Models
|
19
|
+
Notification = Azure::Consumption::Mgmt::V2018_01_31::Models::Notification
|
20
|
+
MeterDetails = Azure::Consumption::Mgmt::V2018_01_31::Models::MeterDetails
|
21
|
+
Filters = Azure::Consumption::Mgmt::V2018_01_31::Models::Filters
|
22
|
+
UsageDetailsListResult = Azure::Consumption::Mgmt::V2018_01_31::Models::UsageDetailsListResult
|
23
|
+
CurrentSpend = Azure::Consumption::Mgmt::V2018_01_31::Models::CurrentSpend
|
24
|
+
MarketplacesListResult = Azure::Consumption::Mgmt::V2018_01_31::Models::MarketplacesListResult
|
25
|
+
OperationListResult = Azure::Consumption::Mgmt::V2018_01_31::Models::OperationListResult
|
26
|
+
ReservationSummariesListResult = Azure::Consumption::Mgmt::V2018_01_31::Models::ReservationSummariesListResult
|
27
|
+
ReservationDetailsListResult = Azure::Consumption::Mgmt::V2018_01_31::Models::ReservationDetailsListResult
|
28
|
+
BudgetsListResult = Azure::Consumption::Mgmt::V2018_01_31::Models::BudgetsListResult
|
29
|
+
PriceSheetProperties = Azure::Consumption::Mgmt::V2018_01_31::Models::PriceSheetProperties
|
30
|
+
ErrorDetails = Azure::Consumption::Mgmt::V2018_01_31::Models::ErrorDetails
|
31
|
+
Resource = Azure::Consumption::Mgmt::V2018_01_31::Models::Resource
|
32
|
+
ErrorResponse = Azure::Consumption::Mgmt::V2018_01_31::Models::ErrorResponse
|
33
|
+
ProxyResource = Azure::Consumption::Mgmt::V2018_01_31::Models::ProxyResource
|
34
|
+
OperationDisplay = Azure::Consumption::Mgmt::V2018_01_31::Models::OperationDisplay
|
35
|
+
BudgetTimePeriod = Azure::Consumption::Mgmt::V2018_01_31::Models::BudgetTimePeriod
|
36
|
+
Operation = Azure::Consumption::Mgmt::V2018_01_31::Models::Operation
|
37
|
+
UsageDetail = Azure::Consumption::Mgmt::V2018_01_31::Models::UsageDetail
|
38
|
+
Marketplace = Azure::Consumption::Mgmt::V2018_01_31::Models::Marketplace
|
39
|
+
ReservationSummaries = Azure::Consumption::Mgmt::V2018_01_31::Models::ReservationSummaries
|
40
|
+
ReservationDetails = Azure::Consumption::Mgmt::V2018_01_31::Models::ReservationDetails
|
41
|
+
Budget = Azure::Consumption::Mgmt::V2018_01_31::Models::Budget
|
42
|
+
PriceSheetResult = Azure::Consumption::Mgmt::V2018_01_31::Models::PriceSheetResult
|
43
|
+
CategoryType = Azure::Consumption::Mgmt::V2018_01_31::Models::CategoryType
|
44
|
+
TimeGrainType = Azure::Consumption::Mgmt::V2018_01_31::Models::TimeGrainType
|
45
|
+
OperatorType = Azure::Consumption::Mgmt::V2018_01_31::Models::OperatorType
|
46
|
+
Datagrain = Azure::Consumption::Mgmt::V2018_01_31::Models::Datagrain
|
47
|
+
end
|
23
48
|
|
24
|
-
|
25
|
-
|
26
|
-
#
|
27
|
-
class ConsumptionClass
|
28
|
-
attr_reader :usage_details, :operations, :configurable, :base_url, :options, :model_classes
|
49
|
+
class ConsumptionManagementClass
|
50
|
+
attr_reader :usage_details, :marketplaces, :reservations_summaries, :reservations_details, :budgets, :operations, :price_sheet, :configurable, :base_url, :options, :model_classes
|
29
51
|
|
30
|
-
|
31
|
-
|
52
|
+
def initialize(configurable, base_url=nil, options=nil)
|
53
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
32
54
|
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
55
|
+
@client_0 = Azure::Consumption::Mgmt::V2018_01_31::ConsumptionManagementClient.new(configurable.credentials, base_url, options)
|
56
|
+
if(@client_0.respond_to?(:subscription_id))
|
57
|
+
@client_0.subscription_id = configurable.subscription_id
|
58
|
+
end
|
59
|
+
add_telemetry(@client_0)
|
60
|
+
@usage_details = @client_0.usage_details
|
61
|
+
@marketplaces = @client_0.marketplaces
|
62
|
+
@reservations_summaries = @client_0.reservations_summaries
|
63
|
+
@reservations_details = @client_0.reservations_details
|
64
|
+
@budgets = @client_0.budgets
|
65
|
+
@operations = @client_0.operations
|
66
|
+
@price_sheet = @client_0.price_sheet
|
39
67
|
|
40
|
-
|
41
|
-
end
|
42
|
-
|
43
|
-
class ModelClasses
|
44
|
-
def error_response
|
45
|
-
Azure::Consumption::Mgmt::V2017_04_24_preview::Models::ErrorResponse
|
46
|
-
end
|
47
|
-
def operation_display
|
48
|
-
Azure::Consumption::Mgmt::V2017_04_24_preview::Models::OperationDisplay
|
49
|
-
end
|
50
|
-
def usage_details_list_result
|
51
|
-
Azure::Consumption::Mgmt::V2017_04_24_preview::Models::UsageDetailsListResult
|
68
|
+
@model_classes = ModelClasses.new
|
52
69
|
end
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
Azure::Consumption::Mgmt::V2017_04_24_preview::Models::MeterDetails
|
58
|
-
end
|
59
|
-
def operation_list_result
|
60
|
-
Azure::Consumption::Mgmt::V2017_04_24_preview::Models::OperationListResult
|
61
|
-
end
|
62
|
-
def error_details
|
63
|
-
Azure::Consumption::Mgmt::V2017_04_24_preview::Models::ErrorDetails
|
70
|
+
|
71
|
+
def add_telemetry(client)
|
72
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Consumption/Mgmt"
|
73
|
+
client.add_user_agent_information(profile_information)
|
64
74
|
end
|
65
|
-
|
66
|
-
|
75
|
+
|
76
|
+
def method_missing(method, *args)
|
77
|
+
if @client_0.respond_to?method
|
78
|
+
@client_0.send(method, *args)
|
79
|
+
else
|
80
|
+
super
|
81
|
+
end
|
67
82
|
end
|
68
|
-
|
69
|
-
|
83
|
+
|
84
|
+
class ModelClasses
|
85
|
+
def notification
|
86
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::Notification
|
87
|
+
end
|
88
|
+
def meter_details
|
89
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::MeterDetails
|
90
|
+
end
|
91
|
+
def filters
|
92
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::Filters
|
93
|
+
end
|
94
|
+
def usage_details_list_result
|
95
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::UsageDetailsListResult
|
96
|
+
end
|
97
|
+
def current_spend
|
98
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::CurrentSpend
|
99
|
+
end
|
100
|
+
def marketplaces_list_result
|
101
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::MarketplacesListResult
|
102
|
+
end
|
103
|
+
def operation_list_result
|
104
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::OperationListResult
|
105
|
+
end
|
106
|
+
def reservation_summaries_list_result
|
107
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::ReservationSummariesListResult
|
108
|
+
end
|
109
|
+
def reservation_details_list_result
|
110
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::ReservationDetailsListResult
|
111
|
+
end
|
112
|
+
def budgets_list_result
|
113
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::BudgetsListResult
|
114
|
+
end
|
115
|
+
def price_sheet_properties
|
116
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::PriceSheetProperties
|
117
|
+
end
|
118
|
+
def error_details
|
119
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::ErrorDetails
|
120
|
+
end
|
121
|
+
def resource
|
122
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::Resource
|
123
|
+
end
|
124
|
+
def error_response
|
125
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::ErrorResponse
|
126
|
+
end
|
127
|
+
def proxy_resource
|
128
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::ProxyResource
|
129
|
+
end
|
130
|
+
def operation_display
|
131
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::OperationDisplay
|
132
|
+
end
|
133
|
+
def budget_time_period
|
134
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::BudgetTimePeriod
|
135
|
+
end
|
136
|
+
def operation
|
137
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::Operation
|
138
|
+
end
|
139
|
+
def usage_detail
|
140
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::UsageDetail
|
141
|
+
end
|
142
|
+
def marketplace
|
143
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::Marketplace
|
144
|
+
end
|
145
|
+
def reservation_summaries
|
146
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::ReservationSummaries
|
147
|
+
end
|
148
|
+
def reservation_details
|
149
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::ReservationDetails
|
150
|
+
end
|
151
|
+
def budget
|
152
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::Budget
|
153
|
+
end
|
154
|
+
def price_sheet_result
|
155
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::PriceSheetResult
|
156
|
+
end
|
157
|
+
def category_type
|
158
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::CategoryType
|
159
|
+
end
|
160
|
+
def time_grain_type
|
161
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::TimeGrainType
|
162
|
+
end
|
163
|
+
def operator_type
|
164
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::OperatorType
|
165
|
+
end
|
166
|
+
def datagrain
|
167
|
+
Azure::Consumption::Mgmt::V2018_01_31::Models::Datagrain
|
168
|
+
end
|
70
169
|
end
|
71
170
|
end
|
72
171
|
end
|
@@ -5,120 +5,177 @@
|
|
5
5
|
require 'azure_mgmt_container_instance'
|
6
6
|
|
7
7
|
module Azure::Profiles::Latest
|
8
|
-
module ContainerInstance
|
9
|
-
|
10
|
-
|
8
|
+
module ContainerInstance
|
9
|
+
module Mgmt
|
10
|
+
ContainerGroups = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::ContainerGroups
|
11
|
+
Operations = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Operations
|
12
|
+
ContainerGroupUsage = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::ContainerGroupUsage
|
13
|
+
ContainerLogs = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::ContainerLogs
|
11
14
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
15
|
+
module Models
|
16
|
+
ImageRegistryCredential = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ImageRegistryCredential
|
17
|
+
Port = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Port
|
18
|
+
EnvironmentVariable = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::EnvironmentVariable
|
19
|
+
IpAddress = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::IpAddress
|
20
|
+
Event = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Event
|
21
|
+
ContainerGroupPropertiesInstanceView = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupPropertiesInstanceView
|
22
|
+
ResourceRequests = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceRequests
|
23
|
+
ResourceLimits = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceLimits
|
24
|
+
VolumeMount = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::VolumeMount
|
25
|
+
OperationDisplay = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationDisplay
|
26
|
+
AzureFileVolume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::AzureFileVolume
|
27
|
+
Operation = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Operation
|
28
|
+
Volume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Volume
|
29
|
+
OperationListResult = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationListResult
|
30
|
+
ContainerState = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerState
|
31
|
+
UsageName = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageName
|
32
|
+
ResourceRequirements = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceRequirements
|
33
|
+
Usage = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Usage
|
34
|
+
GitRepoVolume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::GitRepoVolume
|
35
|
+
UsageListResult = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageListResult
|
36
|
+
ContainerPropertiesInstanceView = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPropertiesInstanceView
|
37
|
+
ContainerGroupListResult = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupListResult
|
38
|
+
ContainerPort = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPort
|
39
|
+
Logs = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Logs
|
40
|
+
Container = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Container
|
41
|
+
Resource = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Resource
|
42
|
+
ContainerGroup = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroup
|
43
|
+
ContainerNetworkProtocol = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerNetworkProtocol
|
44
|
+
ContainerGroupRestartPolicy = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupRestartPolicy
|
45
|
+
ContainerGroupNetworkProtocol = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupNetworkProtocol
|
46
|
+
OperatingSystemTypes = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperatingSystemTypes
|
47
|
+
ContainerInstanceOperationsOrigin = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerInstanceOperationsOrigin
|
48
|
+
end
|
36
49
|
|
37
|
-
|
38
|
-
|
39
|
-
#
|
40
|
-
class ContainerInstanceClass
|
41
|
-
attr_reader :container_groups, :container_logs, :configurable, :base_url, :options, :model_classes
|
50
|
+
class ContainerInstanceManagementClass
|
51
|
+
attr_reader :container_groups, :operations, :container_group_usage, :container_logs, :configurable, :base_url, :options, :model_classes
|
42
52
|
|
43
|
-
|
44
|
-
|
53
|
+
def initialize(configurable, base_url=nil, options=nil)
|
54
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
45
55
|
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
56
|
+
@client_0 = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::ContainerInstanceManagementClient.new(configurable.credentials, base_url, options)
|
57
|
+
if(@client_0.respond_to?(:subscription_id))
|
58
|
+
@client_0.subscription_id = configurable.subscription_id
|
59
|
+
end
|
60
|
+
add_telemetry(@client_0)
|
61
|
+
@container_groups = @client_0.container_groups
|
62
|
+
@operations = @client_0.operations
|
63
|
+
@container_group_usage = @client_0.container_group_usage
|
64
|
+
@container_logs = @client_0.container_logs
|
52
65
|
|
53
|
-
|
54
|
-
end
|
55
|
-
|
56
|
-
class ModelClasses
|
57
|
-
def container
|
58
|
-
Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::Container
|
59
|
-
end
|
60
|
-
def azure_file_volume
|
61
|
-
Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::AzureFileVolume
|
62
|
-
end
|
63
|
-
def environment_variable
|
64
|
-
Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::EnvironmentVariable
|
65
|
-
end
|
66
|
-
def volume
|
67
|
-
Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::Volume
|
68
|
-
end
|
69
|
-
def container_event
|
70
|
-
Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerEvent
|
71
|
-
end
|
72
|
-
def image_registry_credential
|
73
|
-
Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ImageRegistryCredential
|
74
|
-
end
|
75
|
-
def resource_requests
|
76
|
-
Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ResourceRequests
|
77
|
-
end
|
78
|
-
def port
|
79
|
-
Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::Port
|
80
|
-
end
|
81
|
-
def resource_requirements
|
82
|
-
Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ResourceRequirements
|
66
|
+
@model_classes = ModelClasses.new
|
83
67
|
end
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerPort
|
89
|
-
end
|
90
|
-
def container_state
|
91
|
-
Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerState
|
92
|
-
end
|
93
|
-
def resource_limits
|
94
|
-
Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ResourceLimits
|
95
|
-
end
|
96
|
-
def container_group_list_result
|
97
|
-
Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerGroupListResult
|
98
|
-
end
|
99
|
-
def container_properties_instance_view
|
100
|
-
Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerPropertiesInstanceView
|
101
|
-
end
|
102
|
-
def logs
|
103
|
-
Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::Logs
|
104
|
-
end
|
105
|
-
def volume_mount
|
106
|
-
Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::VolumeMount
|
107
|
-
end
|
108
|
-
def resource
|
109
|
-
Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::Resource
|
110
|
-
end
|
111
|
-
def container_group
|
112
|
-
Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerGroup
|
113
|
-
end
|
114
|
-
def container_restart_policy
|
115
|
-
Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerRestartPolicy
|
68
|
+
|
69
|
+
def add_telemetry(client)
|
70
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/ContainerInstance/Mgmt"
|
71
|
+
client.add_user_agent_information(profile_information)
|
116
72
|
end
|
117
|
-
|
118
|
-
|
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
|
119
80
|
end
|
120
|
-
|
121
|
-
|
81
|
+
|
82
|
+
class ModelClasses
|
83
|
+
def image_registry_credential
|
84
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ImageRegistryCredential
|
85
|
+
end
|
86
|
+
def port
|
87
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Port
|
88
|
+
end
|
89
|
+
def environment_variable
|
90
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::EnvironmentVariable
|
91
|
+
end
|
92
|
+
def ip_address
|
93
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::IpAddress
|
94
|
+
end
|
95
|
+
def event
|
96
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Event
|
97
|
+
end
|
98
|
+
def container_group_properties_instance_view
|
99
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupPropertiesInstanceView
|
100
|
+
end
|
101
|
+
def resource_requests
|
102
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceRequests
|
103
|
+
end
|
104
|
+
def resource_limits
|
105
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceLimits
|
106
|
+
end
|
107
|
+
def volume_mount
|
108
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::VolumeMount
|
109
|
+
end
|
110
|
+
def operation_display
|
111
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationDisplay
|
112
|
+
end
|
113
|
+
def azure_file_volume
|
114
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::AzureFileVolume
|
115
|
+
end
|
116
|
+
def operation
|
117
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Operation
|
118
|
+
end
|
119
|
+
def volume
|
120
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Volume
|
121
|
+
end
|
122
|
+
def operation_list_result
|
123
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationListResult
|
124
|
+
end
|
125
|
+
def container_state
|
126
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerState
|
127
|
+
end
|
128
|
+
def usage_name
|
129
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageName
|
130
|
+
end
|
131
|
+
def resource_requirements
|
132
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceRequirements
|
133
|
+
end
|
134
|
+
def usage
|
135
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Usage
|
136
|
+
end
|
137
|
+
def git_repo_volume
|
138
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::GitRepoVolume
|
139
|
+
end
|
140
|
+
def usage_list_result
|
141
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageListResult
|
142
|
+
end
|
143
|
+
def container_properties_instance_view
|
144
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPropertiesInstanceView
|
145
|
+
end
|
146
|
+
def container_group_list_result
|
147
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupListResult
|
148
|
+
end
|
149
|
+
def container_port
|
150
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPort
|
151
|
+
end
|
152
|
+
def logs
|
153
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Logs
|
154
|
+
end
|
155
|
+
def container
|
156
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Container
|
157
|
+
end
|
158
|
+
def resource
|
159
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Resource
|
160
|
+
end
|
161
|
+
def container_group
|
162
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroup
|
163
|
+
end
|
164
|
+
def container_network_protocol
|
165
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerNetworkProtocol
|
166
|
+
end
|
167
|
+
def container_group_restart_policy
|
168
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupRestartPolicy
|
169
|
+
end
|
170
|
+
def container_group_network_protocol
|
171
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupNetworkProtocol
|
172
|
+
end
|
173
|
+
def operating_system_types
|
174
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperatingSystemTypes
|
175
|
+
end
|
176
|
+
def container_instance_operations_origin
|
177
|
+
Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerInstanceOperationsOrigin
|
178
|
+
end
|
122
179
|
end
|
123
180
|
end
|
124
181
|
end
|