azure_mgmt_compute 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_compute.rb +14 -0
- data/lib/generated/azure_mgmt_compute/availability_sets.rb +11 -11
- data/lib/generated/azure_mgmt_compute/compute_management_client.rb +4 -4
- data/lib/generated/azure_mgmt_compute/container_service_operations.rb +524 -0
- data/lib/generated/azure_mgmt_compute/models/container_service.rb +167 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_agent_pool_profile.rb +104 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_diagnostics_profile.rb +46 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_linux_profile.rb +56 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_list_result.rb +52 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_master_profile.rb +65 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_ochestrator_types.rb +16 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_orchestrator_profile.rb +47 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_ssh_configuration.rb +53 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_ssh_public_key.rb +46 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_vmdiagnostics.rb +57 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_vmsize_types.rb +61 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_windows_profile.rb +54 -0
- data/lib/generated/azure_mgmt_compute/usage_operations.rb +4 -3
- data/lib/generated/azure_mgmt_compute/version.rb +1 -1
- data/lib/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +7 -7
- data/lib/generated/azure_mgmt_compute/virtual_machine_extensions.rb +11 -7
- data/lib/generated/azure_mgmt_compute/virtual_machine_images.rb +11 -11
- data/lib/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +32 -19
- data/lib/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +50 -29
- data/lib/generated/azure_mgmt_compute/virtual_machine_sizes.rb +3 -3
- data/lib/generated/azure_mgmt_compute/virtual_machines.rb +45 -27
- metadata +20 -133
- data/.rspec +0 -3
- data/.yardoc/checksums +0 -106
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/.yardoc/proxy_types +0 -0
- data/Rakefile +0 -5
- data/azure_mgmt_compute.gemspec +0 -32
- data/doc/Azure.html +0 -129
- data/doc/Azure/ARM.html +0 -117
- data/doc/Azure/ARM/Compute.html +0 -143
- data/doc/Azure/ARM/Compute/AvailabilitySets.html +0 -2935
- data/doc/Azure/ARM/Compute/ComputeManagementClient.html +0 -1759
- data/doc/Azure/ARM/Compute/Models.html +0 -126
- data/doc/Azure/ARM/Compute/Models/AdditionalUnattendContent.html +0 -674
- data/doc/Azure/ARM/Compute/Models/ApiEntityReference.html +0 -353
- data/doc/Azure/ARM/Compute/Models/ApiError.html +0 -779
- data/doc/Azure/ARM/Compute/Models/ApiErrorBase.html +0 -557
- data/doc/Azure/ARM/Compute/Models/AvailabilitySet.html +0 -784
- data/doc/Azure/ARM/Compute/Models/AvailabilitySetListResult.html +0 -369
- data/doc/Azure/ARM/Compute/Models/BootDiagnostics.html +0 -455
- data/doc/Azure/ARM/Compute/Models/BootDiagnosticsInstanceView.html +0 -455
- data/doc/Azure/ARM/Compute/Models/CachingTypes.html +0 -138
- data/doc/Azure/ARM/Compute/Models/ComponentNames.html +0 -128
- data/doc/Azure/ARM/Compute/Models/ComputeLongRunningOperationProperties.html +0 -353
- data/doc/Azure/ARM/Compute/Models/DataDisk.html +0 -977
- data/doc/Azure/ARM/Compute/Models/DataDiskImage.html +0 -357
- data/doc/Azure/ARM/Compute/Models/DiagnosticsProfile.html +0 -355
- data/doc/Azure/ARM/Compute/Models/DiskCreateOptionTypes.html +0 -138
- data/doc/Azure/ARM/Compute/Models/DiskEncryptionSettings.html +0 -561
- data/doc/Azure/ARM/Compute/Models/DiskInstanceView.html +0 -471
- data/doc/Azure/ARM/Compute/Models/HardwareProfile.html +0 -401
- data/doc/Azure/ARM/Compute/Models/ImageReference.html +0 -660
- data/doc/Azure/ARM/Compute/Models/InnerError.html +0 -455
- data/doc/Azure/ARM/Compute/Models/InstanceViewStatus.html +0 -763
- data/doc/Azure/ARM/Compute/Models/InstanceViewTypes.html +0 -128
- data/doc/Azure/ARM/Compute/Models/KeyVaultKeyReference.html +0 -457
- data/doc/Azure/ARM/Compute/Models/KeyVaultSecretReference.html +0 -457
- data/doc/Azure/ARM/Compute/Models/LinuxConfiguration.html +0 -457
- data/doc/Azure/ARM/Compute/Models/ListUsagesResult.html +0 -745
- data/doc/Azure/ARM/Compute/Models/NetworkInterfaceReference.html +0 -370
- data/doc/Azure/ARM/Compute/Models/NetworkProfile.html +0 -369
- data/doc/Azure/ARM/Compute/Models/OSDisk.html +0 -1083
- data/doc/Azure/ARM/Compute/Models/OSDiskImage.html +0 -355
- data/doc/Azure/ARM/Compute/Models/OSProfile.html +0 -985
- data/doc/Azure/ARM/Compute/Models/OperatingSystemTypes.html +0 -133
- data/doc/Azure/ARM/Compute/Models/PassNames.html +0 -128
- data/doc/Azure/ARM/Compute/Models/Plan.html +0 -659
- data/doc/Azure/ARM/Compute/Models/ProtocolTypes.html +0 -133
- data/doc/Azure/ARM/Compute/Models/PurchasePlan.html +0 -558
- data/doc/Azure/ARM/Compute/Models/SettingNames.html +0 -133
- data/doc/Azure/ARM/Compute/Models/Sku.html +0 -557
- data/doc/Azure/ARM/Compute/Models/SshConfiguration.html +0 -369
- data/doc/Azure/ARM/Compute/Models/SshPublicKey.html +0 -457
- data/doc/Azure/ARM/Compute/Models/StatusLevelTypes.html +0 -138
- data/doc/Azure/ARM/Compute/Models/StorageProfile.html +0 -577
- data/doc/Azure/ARM/Compute/Models/UpgradeMode.html +0 -133
- data/doc/Azure/ARM/Compute/Models/UpgradePolicy.html +0 -355
- data/doc/Azure/ARM/Compute/Models/Usage.html +0 -665
- data/doc/Azure/ARM/Compute/Models/UsageName.html +0 -455
- data/doc/Azure/ARM/Compute/Models/VaultCertificate.html +0 -456
- data/doc/Azure/ARM/Compute/Models/VaultSecretGroup.html +0 -473
- data/doc/Azure/ARM/Compute/Models/VirtualHardDisk.html +0 -353
- data/doc/Azure/ARM/Compute/Models/VirtualMachine.html +0 -1608
- data/doc/Azure/ARM/Compute/Models/VirtualMachineAgentInstanceView.html +0 -589
- data/doc/Azure/ARM/Compute/Models/VirtualMachineCaptureParameters.html +0 -557
- data/doc/Azure/ARM/Compute/Models/VirtualMachineCaptureResult.html +0 -370
- data/doc/Azure/ARM/Compute/Models/VirtualMachineExtension.html +0 -1266
- data/doc/Azure/ARM/Compute/Models/VirtualMachineExtensionHandlerInstanceView.html +0 -559
- data/doc/Azure/ARM/Compute/Models/VirtualMachineExtensionImage.html +0 -858
- data/doc/Azure/ARM/Compute/Models/VirtualMachineExtensionInstanceView.html +0 -793
- data/doc/Azure/ARM/Compute/Models/VirtualMachineImage.html +0 -637
- data/doc/Azure/ARM/Compute/Models/VirtualMachineImageResource.html +0 -592
- data/doc/Azure/ARM/Compute/Models/VirtualMachineInstanceView.html +0 -1119
- data/doc/Azure/ARM/Compute/Models/VirtualMachineListResult.html +0 -744
- data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSet.html +0 -862
- data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetExtension.html +0 -1086
- data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetExtensionProfile.html +0 -369
- data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetIPConfiguration.html +0 -829
- data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetInstanceView.html +0 -595
- data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetInstanceViewStatusesSummary.html +0 -373
- data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetListResult.html +0 -744
- data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetListSkusResult.html +0 -747
- data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetListWithLinkResult.html +0 -747
- data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetNetworkConfiguration.html +0 -591
- data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetNetworkProfile.html +0 -369
- data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetOSDisk.html +0 -889
- data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetOSProfile.html +0 -985
- data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetSku.html +0 -567
- data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetSkuCapacity.html +0 -669
- data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetSkuScaleType.html +0 -133
- data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetStorageProfile.html +0 -459
- data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetVM.html +0 -1818
- data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetVMExtensionsSummary.html +0 -475
- data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetVMInstanceIDs.html +0 -367
- data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetVMInstanceRequiredIDs.html +0 -367
- data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetVMInstanceView.html +0 -1119
- data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetVMListResult.html +0 -744
- data/doc/Azure/ARM/Compute/Models/VirtualMachineScaleSetVMProfile.html +0 -667
- data/doc/Azure/ARM/Compute/Models/VirtualMachineSize.html +0 -863
- data/doc/Azure/ARM/Compute/Models/VirtualMachineSizeListResult.html +0 -369
- data/doc/Azure/ARM/Compute/Models/VirtualMachineSizeTypes.html +0 -438
- data/doc/Azure/ARM/Compute/Models/VirtualMachineStatusCodeCount.html +0 -460
- data/doc/Azure/ARM/Compute/Models/WinRMConfiguration.html +0 -369
- data/doc/Azure/ARM/Compute/Models/WinRMListener.html +0 -458
- data/doc/Azure/ARM/Compute/Models/WindowsConfiguration.html +0 -781
- data/doc/Azure/ARM/Compute/UsageOperations.html +0 -1425
- data/doc/Azure/ARM/Compute/VirtualMachineExtensionImages.html +0 -2116
- data/doc/Azure/ARM/Compute/VirtualMachineExtensions.html +0 -2862
- data/doc/Azure/ARM/Compute/VirtualMachineImages.html +0 -3218
- data/doc/Azure/ARM/Compute/VirtualMachineScaleSetVMs.html +0 -7957
- data/doc/Azure/ARM/Compute/VirtualMachineScaleSets.html +0 -12417
- data/doc/Azure/ARM/Compute/VirtualMachineSizes.html +0 -823
- data/doc/Azure/ARM/Compute/VirtualMachines.html +0 -10514
- data/doc/_index.html +0 -970
- data/doc/class_list.html +0 -51
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -58
- data/doc/css/style.css +0 -474
- data/doc/file.README.html +0 -199
- data/doc/file_list.html +0 -56
- data/doc/frames.html +0 -17
- data/doc/index.html +0 -199
- data/doc/js/app.js +0 -243
- data/doc/js/full_list.js +0 -216
- data/doc/js/jquery.js +0 -4
- data/doc/method_list.html +0 -5147
- data/doc/top-level-namespace.html +0 -112
@@ -1,2116 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<title>
|
7
|
-
Class: Azure::ARM::Compute::VirtualMachineExtensionImages
|
8
|
-
|
9
|
-
— Documentation by YARD 0.9.2
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="../../../css/style.css" type="text/css" charset="utf-8" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
|
16
|
-
|
17
|
-
<script type="text/javascript" charset="utf-8">
|
18
|
-
pathId = "Azure::ARM::Compute::VirtualMachineExtensionImages";
|
19
|
-
relpath = '../../../';
|
20
|
-
</script>
|
21
|
-
|
22
|
-
|
23
|
-
<script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
|
24
|
-
|
25
|
-
<script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
|
26
|
-
|
27
|
-
|
28
|
-
</head>
|
29
|
-
<body>
|
30
|
-
<div class="nav_wrap">
|
31
|
-
<iframe id="nav" src="../../../class_list.html"></iframe>
|
32
|
-
<div id="resizer"></div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="main" tabindex="-1">
|
36
|
-
<div id="header">
|
37
|
-
<div id="menu">
|
38
|
-
|
39
|
-
<a href="../../../_index.html">Index (V)</a> »
|
40
|
-
<span class='title'><span class='object_link'><a href="../../../Azure.html" title="Azure (module)">Azure</a></span></span> » <span class='title'><span class='object_link'><a href="../../ARM.html" title="Azure::ARM (module)">ARM</a></span></span> » <span class='title'><span class='object_link'><a href="../Compute.html" title="Azure::ARM::Compute (module)">Compute</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">VirtualMachineExtensionImages</span>
|
43
|
-
|
44
|
-
</div>
|
45
|
-
|
46
|
-
<div id="search">
|
47
|
-
|
48
|
-
<a class="full_list_link" id="class_list_link"
|
49
|
-
href="../../../class_list.html">
|
50
|
-
|
51
|
-
<svg width="24" height="24">
|
52
|
-
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
-
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
-
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
-
</svg>
|
56
|
-
</a>
|
57
|
-
|
58
|
-
</div>
|
59
|
-
<div class="clear"></div>
|
60
|
-
</div>
|
61
|
-
|
62
|
-
<iframe id="search_frame" src="../../../class_list.html"></iframe>
|
63
|
-
|
64
|
-
<div id="content"><h1>Class: Azure::ARM::Compute::VirtualMachineExtensionImages
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
</h1>
|
69
|
-
<div class="box_info">
|
70
|
-
|
71
|
-
<dl>
|
72
|
-
<dt>Inherits:</dt>
|
73
|
-
<dd>
|
74
|
-
<span class="inheritName">Object</span>
|
75
|
-
|
76
|
-
<ul class="fullTree">
|
77
|
-
<li>Object</li>
|
78
|
-
|
79
|
-
<li class="next">Azure::ARM::Compute::VirtualMachineExtensionImages</li>
|
80
|
-
|
81
|
-
</ul>
|
82
|
-
<a href="#" class="inheritanceTree">show all</a>
|
83
|
-
|
84
|
-
</dd>
|
85
|
-
</dl>
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
<dl>
|
93
|
-
<dt>Includes:</dt>
|
94
|
-
<dd><span class='object_link'><a href="Models.html" title="Azure::ARM::Compute::Models (module)">Models</a></span>, MsRestAzure</dd>
|
95
|
-
</dl>
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
<dl>
|
103
|
-
<dt>Defined in:</dt>
|
104
|
-
<dd>lib/generated/azure_mgmt_compute/virtual_machine_extension_images.rb</dd>
|
105
|
-
</dl>
|
106
|
-
|
107
|
-
</div>
|
108
|
-
|
109
|
-
<h2>Overview</h2><div class="docstring">
|
110
|
-
<div class="discussion">
|
111
|
-
|
112
|
-
<p>The Compute Management Client.</p>
|
113
|
-
|
114
|
-
|
115
|
-
</div>
|
116
|
-
</div>
|
117
|
-
<div class="tags">
|
118
|
-
|
119
|
-
|
120
|
-
</div>
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
125
|
-
<ul class="summary">
|
126
|
-
|
127
|
-
<li class="public ">
|
128
|
-
<span class="summary_signature">
|
129
|
-
|
130
|
-
<a href="#client-instance_method" title="#client (instance method)">#<strong>client</strong> ⇒ Object </a>
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
</span>
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
<span class="note title readonly">readonly</span>
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
<span class="summary_desc"><div class='inline'>
|
150
|
-
<p>Reference to the ComputeManagementClient.</p>
|
151
|
-
</div></span>
|
152
|
-
|
153
|
-
</li>
|
154
|
-
|
155
|
-
|
156
|
-
</ul>
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
<h2>
|
163
|
-
Instance Method Summary
|
164
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
165
|
-
</h2>
|
166
|
-
|
167
|
-
<ul class="summary">
|
168
|
-
|
169
|
-
<li class="public ">
|
170
|
-
<span class="summary_signature">
|
171
|
-
|
172
|
-
<a href="#get-instance_method" title="#get (instance method)">#<strong>get</strong>(location, publisher_name, type, version, custom_headers = nil) ⇒ VirtualMachineExtensionImage </a>
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
</span>
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
<span class="summary_desc"><div class='inline'>
|
187
|
-
<p>Gets a virtual machine extension image.</p>
|
188
|
-
</div></span>
|
189
|
-
|
190
|
-
</li>
|
191
|
-
|
192
|
-
|
193
|
-
<li class="public ">
|
194
|
-
<span class="summary_signature">
|
195
|
-
|
196
|
-
<a href="#get_async-instance_method" title="#get_async (instance method)">#<strong>get_async</strong>(location, publisher_name, type, version, custom_headers = nil) ⇒ Concurrent::Promise </a>
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
</span>
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
<span class="summary_desc"><div class='inline'>
|
211
|
-
<p>Gets a virtual machine extension image.</p>
|
212
|
-
</div></span>
|
213
|
-
|
214
|
-
</li>
|
215
|
-
|
216
|
-
|
217
|
-
<li class="public ">
|
218
|
-
<span class="summary_signature">
|
219
|
-
|
220
|
-
<a href="#get_with_http_info-instance_method" title="#get_with_http_info (instance method)">#<strong>get_with_http_info</strong>(location, publisher_name, type, version, custom_headers = nil) ⇒ MsRestAzure::AzureOperationResponse </a>
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
</span>
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
<span class="summary_desc"><div class='inline'>
|
235
|
-
<p>Gets a virtual machine extension image.</p>
|
236
|
-
</div></span>
|
237
|
-
|
238
|
-
</li>
|
239
|
-
|
240
|
-
|
241
|
-
<li class="public ">
|
242
|
-
<span class="summary_signature">
|
243
|
-
|
244
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(client) ⇒ VirtualMachineExtensionImages </a>
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
</span>
|
249
|
-
|
250
|
-
|
251
|
-
<span class="note title constructor">constructor</span>
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
<span class="summary_desc"><div class='inline'>
|
261
|
-
<p>Creates and initializes a new instance of the VirtualMachineExtensionImages
|
262
|
-
class.</p>
|
263
|
-
</div></span>
|
264
|
-
|
265
|
-
</li>
|
266
|
-
|
267
|
-
|
268
|
-
<li class="public ">
|
269
|
-
<span class="summary_signature">
|
270
|
-
|
271
|
-
<a href="#list_types-instance_method" title="#list_types (instance method)">#<strong>list_types</strong>(location, publisher_name, custom_headers = nil) ⇒ Array </a>
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
</span>
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
<span class="summary_desc"><div class='inline'>
|
286
|
-
<p>Gets a list of virtual machine extension image types.</p>
|
287
|
-
</div></span>
|
288
|
-
|
289
|
-
</li>
|
290
|
-
|
291
|
-
|
292
|
-
<li class="public ">
|
293
|
-
<span class="summary_signature">
|
294
|
-
|
295
|
-
<a href="#list_types_async-instance_method" title="#list_types_async (instance method)">#<strong>list_types_async</strong>(location, publisher_name, custom_headers = nil) ⇒ Concurrent::Promise </a>
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
</span>
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
<span class="summary_desc"><div class='inline'>
|
310
|
-
<p>Gets a list of virtual machine extension image types.</p>
|
311
|
-
</div></span>
|
312
|
-
|
313
|
-
</li>
|
314
|
-
|
315
|
-
|
316
|
-
<li class="public ">
|
317
|
-
<span class="summary_signature">
|
318
|
-
|
319
|
-
<a href="#list_types_with_http_info-instance_method" title="#list_types_with_http_info (instance method)">#<strong>list_types_with_http_info</strong>(location, publisher_name, custom_headers = nil) ⇒ MsRestAzure::AzureOperationResponse </a>
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
</span>
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
<span class="summary_desc"><div class='inline'>
|
334
|
-
<p>Gets a list of virtual machine extension image types.</p>
|
335
|
-
</div></span>
|
336
|
-
|
337
|
-
</li>
|
338
|
-
|
339
|
-
|
340
|
-
<li class="public ">
|
341
|
-
<span class="summary_signature">
|
342
|
-
|
343
|
-
<a href="#list_versions-instance_method" title="#list_versions (instance method)">#<strong>list_versions</strong>(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) ⇒ Array </a>
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
</span>
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
<span class="summary_desc"><div class='inline'>
|
358
|
-
<p>Gets a list of virtual machine extension image versions.</p>
|
359
|
-
</div></span>
|
360
|
-
|
361
|
-
</li>
|
362
|
-
|
363
|
-
|
364
|
-
<li class="public ">
|
365
|
-
<span class="summary_signature">
|
366
|
-
|
367
|
-
<a href="#list_versions_async-instance_method" title="#list_versions_async (instance method)">#<strong>list_versions_async</strong>(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) ⇒ Concurrent::Promise </a>
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
</span>
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
<span class="summary_desc"><div class='inline'>
|
382
|
-
<p>Gets a list of virtual machine extension image versions.</p>
|
383
|
-
</div></span>
|
384
|
-
|
385
|
-
</li>
|
386
|
-
|
387
|
-
|
388
|
-
<li class="public ">
|
389
|
-
<span class="summary_signature">
|
390
|
-
|
391
|
-
<a href="#list_versions_with_http_info-instance_method" title="#list_versions_with_http_info (instance method)">#<strong>list_versions_with_http_info</strong>(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) ⇒ MsRestAzure::AzureOperationResponse </a>
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
</span>
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
<span class="summary_desc"><div class='inline'>
|
406
|
-
<p>Gets a list of virtual machine extension image versions.</p>
|
407
|
-
</div></span>
|
408
|
-
|
409
|
-
</li>
|
410
|
-
|
411
|
-
|
412
|
-
</ul>
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
<div id="constructor_details" class="method_details_list">
|
423
|
-
<h2>Constructor Details</h2>
|
424
|
-
|
425
|
-
<div class="method_details first">
|
426
|
-
<h3 class="signature first" id="initialize-instance_method">
|
427
|
-
|
428
|
-
#<strong>initialize</strong>(client) ⇒ <tt><span class='object_link'><a href="" title="Azure::ARM::Compute::VirtualMachineExtensionImages (class)">VirtualMachineExtensionImages</a></span></tt>
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
</h3><div class="docstring">
|
435
|
-
<div class="discussion">
|
436
|
-
|
437
|
-
<p>Creates and initializes a new instance of the VirtualMachineExtensionImages
|
438
|
-
class.</p>
|
439
|
-
|
440
|
-
|
441
|
-
</div>
|
442
|
-
</div>
|
443
|
-
<div class="tags">
|
444
|
-
<p class="tag_title">Parameters:</p>
|
445
|
-
<ul class="param">
|
446
|
-
|
447
|
-
<li>
|
448
|
-
|
449
|
-
<span class='name'>client</span>
|
450
|
-
|
451
|
-
|
452
|
-
<span class='type'></span>
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
—
|
457
|
-
<div class='inline'>
|
458
|
-
<p>service class for accessing basic functionality.</p>
|
459
|
-
</div>
|
460
|
-
|
461
|
-
</li>
|
462
|
-
|
463
|
-
</ul>
|
464
|
-
|
465
|
-
|
466
|
-
</div><table class="source_code">
|
467
|
-
<tr>
|
468
|
-
<td>
|
469
|
-
<pre class="lines">
|
470
|
-
|
471
|
-
|
472
|
-
18
|
473
|
-
19
|
474
|
-
20</pre>
|
475
|
-
</td>
|
476
|
-
<td>
|
477
|
-
<pre class="code"><span class="info file"># File 'lib/generated/azure_mgmt_compute/virtual_machine_extension_images.rb', line 18</span>
|
478
|
-
|
479
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_client'>client</span><span class='rparen'>)</span>
|
480
|
-
<span class='ivar'>@client</span> <span class='op'>=</span> <span class='id identifier rubyid_client'>client</span>
|
481
|
-
<span class='kw'>end</span></pre>
|
482
|
-
</td>
|
483
|
-
</tr>
|
484
|
-
</table>
|
485
|
-
</div>
|
486
|
-
|
487
|
-
</div>
|
488
|
-
|
489
|
-
<div id="instance_attr_details" class="attr_details">
|
490
|
-
<h2>Instance Attribute Details</h2>
|
491
|
-
|
492
|
-
|
493
|
-
<span id=""></span>
|
494
|
-
<div class="method_details first">
|
495
|
-
<h3 class="signature first" id="client-instance_method">
|
496
|
-
|
497
|
-
#<strong>client</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
</h3><div class="docstring">
|
504
|
-
<div class="discussion">
|
505
|
-
|
506
|
-
<p>Returns reference to the ComputeManagementClient</p>
|
507
|
-
|
508
|
-
|
509
|
-
</div>
|
510
|
-
</div>
|
511
|
-
<div class="tags">
|
512
|
-
|
513
|
-
<p class="tag_title">Returns:</p>
|
514
|
-
<ul class="return">
|
515
|
-
|
516
|
-
<li>
|
517
|
-
|
518
|
-
|
519
|
-
<span class='type'></span>
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
<div class='inline'>
|
525
|
-
<p>reference to the ComputeManagementClient</p>
|
526
|
-
</div>
|
527
|
-
|
528
|
-
</li>
|
529
|
-
|
530
|
-
</ul>
|
531
|
-
|
532
|
-
</div><table class="source_code">
|
533
|
-
<tr>
|
534
|
-
<td>
|
535
|
-
<pre class="lines">
|
536
|
-
|
537
|
-
|
538
|
-
23
|
539
|
-
24
|
540
|
-
25</pre>
|
541
|
-
</td>
|
542
|
-
<td>
|
543
|
-
<pre class="code"><span class="info file"># File 'lib/generated/azure_mgmt_compute/virtual_machine_extension_images.rb', line 23</span>
|
544
|
-
|
545
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_client'>client</span>
|
546
|
-
<span class='ivar'>@client</span>
|
547
|
-
<span class='kw'>end</span></pre>
|
548
|
-
</td>
|
549
|
-
</tr>
|
550
|
-
</table>
|
551
|
-
</div>
|
552
|
-
|
553
|
-
</div>
|
554
|
-
|
555
|
-
|
556
|
-
<div id="instance_method_details" class="method_details_list">
|
557
|
-
<h2>Instance Method Details</h2>
|
558
|
-
|
559
|
-
|
560
|
-
<div class="method_details first">
|
561
|
-
<h3 class="signature first" id="get-instance_method">
|
562
|
-
|
563
|
-
#<strong>get</strong>(location, publisher_name, type, version, custom_headers = nil) ⇒ <tt><span class='object_link'><a href="Models/VirtualMachineExtensionImage.html" title="Azure::ARM::Compute::Models::VirtualMachineExtensionImage (class)">VirtualMachineExtensionImage</a></span></tt>
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
</h3><div class="docstring">
|
570
|
-
<div class="discussion">
|
571
|
-
|
572
|
-
<p>Gets a virtual machine extension image.</p>
|
573
|
-
|
574
|
-
<p>will be added to the HTTP request.</p>
|
575
|
-
|
576
|
-
|
577
|
-
</div>
|
578
|
-
</div>
|
579
|
-
<div class="tags">
|
580
|
-
<p class="tag_title">Parameters:</p>
|
581
|
-
<ul class="param">
|
582
|
-
|
583
|
-
<li>
|
584
|
-
|
585
|
-
<span class='name'>location</span>
|
586
|
-
|
587
|
-
|
588
|
-
<span class='type'>(<tt>String</tt>)</span>
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
</li>
|
593
|
-
|
594
|
-
<li>
|
595
|
-
|
596
|
-
<span class='name'>publisher_name</span>
|
597
|
-
|
598
|
-
|
599
|
-
<span class='type'>(<tt>String</tt>)</span>
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
</li>
|
604
|
-
|
605
|
-
<li>
|
606
|
-
|
607
|
-
<span class='name'>type</span>
|
608
|
-
|
609
|
-
|
610
|
-
<span class='type'>(<tt>String</tt>)</span>
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
</li>
|
615
|
-
|
616
|
-
<li>
|
617
|
-
|
618
|
-
<span class='name'>version</span>
|
619
|
-
|
620
|
-
|
621
|
-
<span class='type'>(<tt>String</tt>)</span>
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
</li>
|
626
|
-
|
627
|
-
<li>
|
628
|
-
|
629
|
-
<span class='name'>custom_headers</span>
|
630
|
-
|
631
|
-
|
632
|
-
<span class='type'>(<tt>Hash{String => String}</tt>)</span>
|
633
|
-
|
634
|
-
|
635
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
636
|
-
|
637
|
-
|
638
|
-
—
|
639
|
-
<div class='inline'>
|
640
|
-
<p>A hash of custom headers that</p>
|
641
|
-
</div>
|
642
|
-
|
643
|
-
</li>
|
644
|
-
|
645
|
-
</ul>
|
646
|
-
|
647
|
-
<p class="tag_title">Returns:</p>
|
648
|
-
<ul class="return">
|
649
|
-
|
650
|
-
<li>
|
651
|
-
|
652
|
-
|
653
|
-
<span class='type'>(<tt><span class='object_link'><a href="Models/VirtualMachineExtensionImage.html" title="Azure::ARM::Compute::Models::VirtualMachineExtensionImage (class)">VirtualMachineExtensionImage</a></span></tt>)</span>
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
—
|
658
|
-
<div class='inline'>
|
659
|
-
<p>operation results.</p>
|
660
|
-
</div>
|
661
|
-
|
662
|
-
</li>
|
663
|
-
|
664
|
-
</ul>
|
665
|
-
|
666
|
-
</div><table class="source_code">
|
667
|
-
<tr>
|
668
|
-
<td>
|
669
|
-
<pre class="lines">
|
670
|
-
|
671
|
-
|
672
|
-
37
|
673
|
-
38
|
674
|
-
39
|
675
|
-
40</pre>
|
676
|
-
</td>
|
677
|
-
<td>
|
678
|
-
<pre class="code"><span class="info file"># File 'lib/generated/azure_mgmt_compute/virtual_machine_extension_images.rb', line 37</span>
|
679
|
-
|
680
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_location'>location</span><span class='comma'>,</span> <span class='id identifier rubyid_publisher_name'>publisher_name</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_version'>version</span><span class='comma'>,</span> <span class='id identifier rubyid_custom_headers'>custom_headers</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
681
|
-
<span class='id identifier rubyid_response'>response</span> <span class='op'>=</span> <span class='id identifier rubyid_get_async'>get_async</span><span class='lparen'>(</span><span class='id identifier rubyid_location'>location</span><span class='comma'>,</span> <span class='id identifier rubyid_publisher_name'>publisher_name</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_version'>version</span><span class='comma'>,</span> <span class='id identifier rubyid_custom_headers'>custom_headers</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_value!'>value!</span>
|
682
|
-
<span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_body'>body</span> <span class='kw'>unless</span> <span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
683
|
-
<span class='kw'>end</span></pre>
|
684
|
-
</td>
|
685
|
-
</tr>
|
686
|
-
</table>
|
687
|
-
</div>
|
688
|
-
|
689
|
-
<div class="method_details ">
|
690
|
-
<h3 class="signature " id="get_async-instance_method">
|
691
|
-
|
692
|
-
#<strong>get_async</strong>(location, publisher_name, type, version, custom_headers = nil) ⇒ <tt>Concurrent::Promise</tt>
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
</h3><div class="docstring">
|
699
|
-
<div class="discussion">
|
700
|
-
|
701
|
-
<p>Gets a virtual machine extension image.</p>
|
702
|
-
|
703
|
-
<p>to the HTTP request.</p>
|
704
|
-
|
705
|
-
|
706
|
-
</div>
|
707
|
-
</div>
|
708
|
-
<div class="tags">
|
709
|
-
<p class="tag_title">Parameters:</p>
|
710
|
-
<ul class="param">
|
711
|
-
|
712
|
-
<li>
|
713
|
-
|
714
|
-
<span class='name'>location</span>
|
715
|
-
|
716
|
-
|
717
|
-
<span class='type'>(<tt>String</tt>)</span>
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
</li>
|
722
|
-
|
723
|
-
<li>
|
724
|
-
|
725
|
-
<span class='name'>publisher_name</span>
|
726
|
-
|
727
|
-
|
728
|
-
<span class='type'>(<tt>String</tt>)</span>
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
</li>
|
733
|
-
|
734
|
-
<li>
|
735
|
-
|
736
|
-
<span class='name'>type</span>
|
737
|
-
|
738
|
-
|
739
|
-
<span class='type'>(<tt>String</tt>)</span>
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
</li>
|
744
|
-
|
745
|
-
<li>
|
746
|
-
|
747
|
-
<span class='name'>version</span>
|
748
|
-
|
749
|
-
|
750
|
-
<span class='type'>(<tt>String</tt>)</span>
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
</li>
|
755
|
-
|
756
|
-
<li>
|
757
|
-
|
758
|
-
<span class='name'>A</span>
|
759
|
-
|
760
|
-
|
761
|
-
<span class='type'>(<tt>Hash{String => String}</tt>)</span>
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
—
|
766
|
-
<div class='inline'>
|
767
|
-
<p>hash of custom headers that will be added</p>
|
768
|
-
</div>
|
769
|
-
|
770
|
-
</li>
|
771
|
-
|
772
|
-
</ul>
|
773
|
-
|
774
|
-
<p class="tag_title">Returns:</p>
|
775
|
-
<ul class="return">
|
776
|
-
|
777
|
-
<li>
|
778
|
-
|
779
|
-
|
780
|
-
<span class='type'>(<tt>Concurrent::Promise</tt>)</span>
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
—
|
785
|
-
<div class='inline'>
|
786
|
-
<p>Promise object which holds the HTTP response.</p>
|
787
|
-
</div>
|
788
|
-
|
789
|
-
</li>
|
790
|
-
|
791
|
-
</ul>
|
792
|
-
|
793
|
-
</div><table class="source_code">
|
794
|
-
<tr>
|
795
|
-
<td>
|
796
|
-
<pre class="lines">
|
797
|
-
|
798
|
-
|
799
|
-
70
|
800
|
-
71
|
801
|
-
72
|
802
|
-
73
|
803
|
-
74
|
804
|
-
75
|
805
|
-
76
|
806
|
-
77
|
807
|
-
78
|
808
|
-
79
|
809
|
-
80
|
810
|
-
81
|
811
|
-
82
|
812
|
-
83
|
813
|
-
84
|
814
|
-
85
|
815
|
-
86
|
816
|
-
87
|
817
|
-
88
|
818
|
-
89
|
819
|
-
90
|
820
|
-
91
|
821
|
-
92
|
822
|
-
93
|
823
|
-
94
|
824
|
-
95
|
825
|
-
96
|
826
|
-
97
|
827
|
-
98
|
828
|
-
99
|
829
|
-
100
|
830
|
-
101
|
831
|
-
102
|
832
|
-
103
|
833
|
-
104
|
834
|
-
105
|
835
|
-
106
|
836
|
-
107
|
837
|
-
108
|
838
|
-
109
|
839
|
-
110
|
840
|
-
111
|
841
|
-
112
|
842
|
-
113
|
843
|
-
114
|
844
|
-
115
|
845
|
-
116
|
846
|
-
117
|
847
|
-
118
|
848
|
-
119
|
849
|
-
120
|
850
|
-
121
|
851
|
-
122
|
852
|
-
123
|
853
|
-
124
|
854
|
-
125</pre>
|
855
|
-
</td>
|
856
|
-
<td>
|
857
|
-
<pre class="code"><span class="info file"># File 'lib/generated/azure_mgmt_compute/virtual_machine_extension_images.rb', line 70</span>
|
858
|
-
|
859
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_get_async'>get_async</span><span class='lparen'>(</span><span class='id identifier rubyid_location'>location</span><span class='comma'>,</span> <span class='id identifier rubyid_publisher_name'>publisher_name</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_version'>version</span><span class='comma'>,</span> <span class='id identifier rubyid_custom_headers'>custom_headers</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
860
|
-
<span class='id identifier rubyid_fail'>fail</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>location is nil</span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_location'>location</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
861
|
-
<span class='id identifier rubyid_fail'>fail</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>publisher_name is nil</span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_publisher_name'>publisher_name</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
862
|
-
<span class='id identifier rubyid_fail'>fail</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>type is nil</span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_type'>type</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
863
|
-
<span class='id identifier rubyid_fail'>fail</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>version is nil</span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_version'>version</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
864
|
-
<span class='id identifier rubyid_fail'>fail</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>@client.api_version is nil</span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_api_version'>api_version</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
865
|
-
<span class='id identifier rubyid_fail'>fail</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>@client.subscription_id is nil</span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_subscription_id'>subscription_id</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
866
|
-
|
867
|
-
|
868
|
-
<span class='id identifier rubyid_request_headers'>request_headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
869
|
-
|
870
|
-
<span class='comment'># Set Headers
|
871
|
-
</span> <span class='id identifier rubyid_request_headers'>request_headers</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>x-ms-client-request-id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='const'>SecureRandom</span><span class='period'>.</span><span class='id identifier rubyid_uuid'>uuid</span>
|
872
|
-
<span class='id identifier rubyid_request_headers'>request_headers</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>accept-language</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_accept_language'>accept_language</span> <span class='kw'>unless</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_accept_language'>accept_language</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
873
|
-
<span class='id identifier rubyid_path_template'>path_template</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types/{type}/versions/{version}</span><span class='tstring_end'>'</span></span>
|
874
|
-
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
875
|
-
<span class='label'>middlewares:</span> <span class='lbracket'>[</span><span class='lbracket'>[</span><span class='const'>MsRest</span><span class='op'>::</span><span class='const'>RetryPolicyMiddleware</span><span class='comma'>,</span> <span class='label'>times:</span> <span class='int'>3</span><span class='comma'>,</span> <span class='label'>retry:</span> <span class='float'>0.02</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='symbol'>:cookie_jar</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
876
|
-
<span class='label'>path_params:</span> <span class='lbrace'>{</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>location</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='id identifier rubyid_location'>location</span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>publisherName</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='id identifier rubyid_publisher_name'>publisher_name</span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>type</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>version</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='id identifier rubyid_version'>version</span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>subscriptionId</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_subscription_id'>subscription_id</span><span class='rbrace'>}</span><span class='comma'>,</span>
|
877
|
-
<span class='label'>query_params:</span> <span class='lbrace'>{</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>api-version</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_api_version'>api_version</span><span class='rbrace'>}</span><span class='comma'>,</span>
|
878
|
-
<span class='label'>headers:</span> <span class='id identifier rubyid_request_headers'>request_headers</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='id identifier rubyid_custom_headers'>custom_headers</span> <span class='op'>||</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
879
|
-
<span class='rbrace'>}</span>
|
880
|
-
|
881
|
-
<span class='id identifier rubyid_request_url'>request_url</span> <span class='op'>=</span> <span class='ivar'>@base_url</span> <span class='op'>||</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_base_url'>base_url</span>
|
882
|
-
|
883
|
-
<span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>MsRest</span><span class='op'>::</span><span class='const'>HttpOperationRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_request_url'>request_url</span><span class='comma'>,</span> <span class='id identifier rubyid_path_template'>path_template</span><span class='comma'>,</span> <span class='symbol'>:get</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
884
|
-
<span class='id identifier rubyid_promise'>promise</span> <span class='op'>=</span> <span class='id identifier rubyid_request'>request</span><span class='period'>.</span><span class='id identifier rubyid_run_promise'>run_promise</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_req'>req</span><span class='op'>|</span>
|
885
|
-
<span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_credentials'>credentials</span><span class='period'>.</span><span class='id identifier rubyid_sign_request'>sign_request</span><span class='lparen'>(</span><span class='id identifier rubyid_req'>req</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_credentials'>credentials</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
886
|
-
<span class='kw'>end</span>
|
887
|
-
|
888
|
-
<span class='id identifier rubyid_promise'>promise</span> <span class='op'>=</span> <span class='id identifier rubyid_promise'>promise</span><span class='period'>.</span><span class='id identifier rubyid_then'>then</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_http_response'>http_response</span><span class='op'>|</span>
|
889
|
-
<span class='id identifier rubyid_status_code'>status_code</span> <span class='op'>=</span> <span class='id identifier rubyid_http_response'>http_response</span><span class='period'>.</span><span class='id identifier rubyid_status'>status</span>
|
890
|
-
<span class='id identifier rubyid_response_content'>response_content</span> <span class='op'>=</span> <span class='id identifier rubyid_http_response'>http_response</span><span class='period'>.</span><span class='id identifier rubyid_body'>body</span>
|
891
|
-
<span class='kw'>unless</span> <span class='id identifier rubyid_status_code'>status_code</span> <span class='op'>==</span> <span class='int'>200</span>
|
892
|
-
<span class='id identifier rubyid_error_model'>error_model</span> <span class='op'>=</span> <span class='const'>JSON</span><span class='period'>.</span><span class='id identifier rubyid_load'>load</span><span class='lparen'>(</span><span class='id identifier rubyid_response_content'>response_content</span><span class='rparen'>)</span>
|
893
|
-
<span class='id identifier rubyid_fail'>fail</span> <span class='const'>MsRestAzure</span><span class='op'>::</span><span class='const'>AzureOperationError</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='comma'>,</span> <span class='id identifier rubyid_http_response'>http_response</span><span class='comma'>,</span> <span class='id identifier rubyid_error_model'>error_model</span><span class='rparen'>)</span>
|
894
|
-
<span class='kw'>end</span>
|
895
|
-
|
896
|
-
<span class='comment'># Create Result
|
897
|
-
</span> <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='const'>MsRestAzure</span><span class='op'>::</span><span class='const'>AzureOperationResponse</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='comma'>,</span> <span class='id identifier rubyid_http_response'>http_response</span><span class='rparen'>)</span>
|
898
|
-
<span class='id identifier rubyid_result'>result</span><span class='period'>.</span><span class='id identifier rubyid_request_id'>request_id</span> <span class='op'>=</span> <span class='id identifier rubyid_http_response'>http_response</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>x-ms-request-id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='kw'>unless</span> <span class='id identifier rubyid_http_response'>http_response</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>x-ms-request-id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
899
|
-
<span class='comment'># Deserialize Response
|
900
|
-
</span> <span class='kw'>if</span> <span class='id identifier rubyid_status_code'>status_code</span> <span class='op'>==</span> <span class='int'>200</span>
|
901
|
-
<span class='kw'>begin</span>
|
902
|
-
<span class='id identifier rubyid_parsed_response'>parsed_response</span> <span class='op'>=</span> <span class='id identifier rubyid_response_content'>response_content</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span> <span class='op'>?</span> <span class='kw'>nil</span> <span class='op'>:</span> <span class='const'>JSON</span><span class='period'>.</span><span class='id identifier rubyid_load'>load</span><span class='lparen'>(</span><span class='id identifier rubyid_response_content'>response_content</span><span class='rparen'>)</span>
|
903
|
-
<span class='id identifier rubyid_result_mapper'>result_mapper</span> <span class='op'>=</span> <span class='const'>VirtualMachineExtensionImage</span><span class='period'>.</span><span class='id identifier rubyid_mapper'>mapper</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
904
|
-
<span class='id identifier rubyid_result'>result</span><span class='period'>.</span><span class='id identifier rubyid_body'>body</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_deserialize'>deserialize</span><span class='lparen'>(</span><span class='id identifier rubyid_result_mapper'>result_mapper</span><span class='comma'>,</span> <span class='id identifier rubyid_parsed_response'>parsed_response</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>result.body</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
905
|
-
<span class='kw'>rescue</span> <span class='const'>Exception</span> <span class='op'>=></span> <span class='id identifier rubyid_e'>e</span>
|
906
|
-
<span class='id identifier rubyid_fail'>fail</span> <span class='const'>MsRest</span><span class='op'>::</span><span class='const'>DeserializationError</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Error occurred in deserializing the response</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_backtrace'>backtrace</span><span class='comma'>,</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
|
907
|
-
<span class='kw'>end</span>
|
908
|
-
<span class='kw'>end</span>
|
909
|
-
|
910
|
-
<span class='id identifier rubyid_result'>result</span>
|
911
|
-
<span class='kw'>end</span>
|
912
|
-
|
913
|
-
<span class='id identifier rubyid_promise'>promise</span><span class='period'>.</span><span class='id identifier rubyid_execute'>execute</span>
|
914
|
-
<span class='kw'>end</span></pre>
|
915
|
-
</td>
|
916
|
-
</tr>
|
917
|
-
</table>
|
918
|
-
</div>
|
919
|
-
|
920
|
-
<div class="method_details ">
|
921
|
-
<h3 class="signature " id="get_with_http_info-instance_method">
|
922
|
-
|
923
|
-
#<strong>get_with_http_info</strong>(location, publisher_name, type, version, custom_headers = nil) ⇒ <tt>MsRestAzure::AzureOperationResponse</tt>
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
</h3><div class="docstring">
|
930
|
-
<div class="discussion">
|
931
|
-
|
932
|
-
<p>Gets a virtual machine extension image.</p>
|
933
|
-
|
934
|
-
<p>will be added to the HTTP request.</p>
|
935
|
-
|
936
|
-
|
937
|
-
</div>
|
938
|
-
</div>
|
939
|
-
<div class="tags">
|
940
|
-
<p class="tag_title">Parameters:</p>
|
941
|
-
<ul class="param">
|
942
|
-
|
943
|
-
<li>
|
944
|
-
|
945
|
-
<span class='name'>location</span>
|
946
|
-
|
947
|
-
|
948
|
-
<span class='type'>(<tt>String</tt>)</span>
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
</li>
|
953
|
-
|
954
|
-
<li>
|
955
|
-
|
956
|
-
<span class='name'>publisher_name</span>
|
957
|
-
|
958
|
-
|
959
|
-
<span class='type'>(<tt>String</tt>)</span>
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
</li>
|
964
|
-
|
965
|
-
<li>
|
966
|
-
|
967
|
-
<span class='name'>type</span>
|
968
|
-
|
969
|
-
|
970
|
-
<span class='type'>(<tt>String</tt>)</span>
|
971
|
-
|
972
|
-
|
973
|
-
|
974
|
-
</li>
|
975
|
-
|
976
|
-
<li>
|
977
|
-
|
978
|
-
<span class='name'>version</span>
|
979
|
-
|
980
|
-
|
981
|
-
<span class='type'>(<tt>String</tt>)</span>
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
</li>
|
986
|
-
|
987
|
-
<li>
|
988
|
-
|
989
|
-
<span class='name'>custom_headers</span>
|
990
|
-
|
991
|
-
|
992
|
-
<span class='type'>(<tt>Hash{String => String}</tt>)</span>
|
993
|
-
|
994
|
-
|
995
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
996
|
-
|
997
|
-
|
998
|
-
—
|
999
|
-
<div class='inline'>
|
1000
|
-
<p>A hash of custom headers that</p>
|
1001
|
-
</div>
|
1002
|
-
|
1003
|
-
</li>
|
1004
|
-
|
1005
|
-
</ul>
|
1006
|
-
|
1007
|
-
<p class="tag_title">Returns:</p>
|
1008
|
-
<ul class="return">
|
1009
|
-
|
1010
|
-
<li>
|
1011
|
-
|
1012
|
-
|
1013
|
-
<span class='type'>(<tt>MsRestAzure::AzureOperationResponse</tt>)</span>
|
1014
|
-
|
1015
|
-
|
1016
|
-
|
1017
|
-
—
|
1018
|
-
<div class='inline'>
|
1019
|
-
<p>HTTP response information.</p>
|
1020
|
-
</div>
|
1021
|
-
|
1022
|
-
</li>
|
1023
|
-
|
1024
|
-
</ul>
|
1025
|
-
|
1026
|
-
</div><table class="source_code">
|
1027
|
-
<tr>
|
1028
|
-
<td>
|
1029
|
-
<pre class="lines">
|
1030
|
-
|
1031
|
-
|
1032
|
-
54
|
1033
|
-
55
|
1034
|
-
56</pre>
|
1035
|
-
</td>
|
1036
|
-
<td>
|
1037
|
-
<pre class="code"><span class="info file"># File 'lib/generated/azure_mgmt_compute/virtual_machine_extension_images.rb', line 54</span>
|
1038
|
-
|
1039
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_get_with_http_info'>get_with_http_info</span><span class='lparen'>(</span><span class='id identifier rubyid_location'>location</span><span class='comma'>,</span> <span class='id identifier rubyid_publisher_name'>publisher_name</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_version'>version</span><span class='comma'>,</span> <span class='id identifier rubyid_custom_headers'>custom_headers</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
1040
|
-
<span class='id identifier rubyid_get_async'>get_async</span><span class='lparen'>(</span><span class='id identifier rubyid_location'>location</span><span class='comma'>,</span> <span class='id identifier rubyid_publisher_name'>publisher_name</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_version'>version</span><span class='comma'>,</span> <span class='id identifier rubyid_custom_headers'>custom_headers</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_value!'>value!</span>
|
1041
|
-
<span class='kw'>end</span></pre>
|
1042
|
-
</td>
|
1043
|
-
</tr>
|
1044
|
-
</table>
|
1045
|
-
</div>
|
1046
|
-
|
1047
|
-
<div class="method_details ">
|
1048
|
-
<h3 class="signature " id="list_types-instance_method">
|
1049
|
-
|
1050
|
-
#<strong>list_types</strong>(location, publisher_name, custom_headers = nil) ⇒ <tt>Array</tt>
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
</h3><div class="docstring">
|
1057
|
-
<div class="discussion">
|
1058
|
-
|
1059
|
-
<p>Gets a list of virtual machine extension image types.</p>
|
1060
|
-
|
1061
|
-
<p>will be added to the HTTP request.</p>
|
1062
|
-
|
1063
|
-
|
1064
|
-
</div>
|
1065
|
-
</div>
|
1066
|
-
<div class="tags">
|
1067
|
-
<p class="tag_title">Parameters:</p>
|
1068
|
-
<ul class="param">
|
1069
|
-
|
1070
|
-
<li>
|
1071
|
-
|
1072
|
-
<span class='name'>location</span>
|
1073
|
-
|
1074
|
-
|
1075
|
-
<span class='type'>(<tt>String</tt>)</span>
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
</li>
|
1080
|
-
|
1081
|
-
<li>
|
1082
|
-
|
1083
|
-
<span class='name'>publisher_name</span>
|
1084
|
-
|
1085
|
-
|
1086
|
-
<span class='type'>(<tt>String</tt>)</span>
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
</li>
|
1091
|
-
|
1092
|
-
<li>
|
1093
|
-
|
1094
|
-
<span class='name'>custom_headers</span>
|
1095
|
-
|
1096
|
-
|
1097
|
-
<span class='type'>(<tt>Hash{String => String}</tt>)</span>
|
1098
|
-
|
1099
|
-
|
1100
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1101
|
-
|
1102
|
-
|
1103
|
-
—
|
1104
|
-
<div class='inline'>
|
1105
|
-
<p>A hash of custom headers that</p>
|
1106
|
-
</div>
|
1107
|
-
|
1108
|
-
</li>
|
1109
|
-
|
1110
|
-
</ul>
|
1111
|
-
|
1112
|
-
<p class="tag_title">Returns:</p>
|
1113
|
-
<ul class="return">
|
1114
|
-
|
1115
|
-
<li>
|
1116
|
-
|
1117
|
-
|
1118
|
-
<span class='type'>(<tt>Array</tt>)</span>
|
1119
|
-
|
1120
|
-
|
1121
|
-
|
1122
|
-
—
|
1123
|
-
<div class='inline'>
|
1124
|
-
<p>operation results.</p>
|
1125
|
-
</div>
|
1126
|
-
|
1127
|
-
</li>
|
1128
|
-
|
1129
|
-
</ul>
|
1130
|
-
|
1131
|
-
</div><table class="source_code">
|
1132
|
-
<tr>
|
1133
|
-
<td>
|
1134
|
-
<pre class="lines">
|
1135
|
-
|
1136
|
-
|
1137
|
-
137
|
1138
|
-
138
|
1139
|
-
139
|
1140
|
-
140</pre>
|
1141
|
-
</td>
|
1142
|
-
<td>
|
1143
|
-
<pre class="code"><span class="info file"># File 'lib/generated/azure_mgmt_compute/virtual_machine_extension_images.rb', line 137</span>
|
1144
|
-
|
1145
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_list_types'>list_types</span><span class='lparen'>(</span><span class='id identifier rubyid_location'>location</span><span class='comma'>,</span> <span class='id identifier rubyid_publisher_name'>publisher_name</span><span class='comma'>,</span> <span class='id identifier rubyid_custom_headers'>custom_headers</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
1146
|
-
<span class='id identifier rubyid_response'>response</span> <span class='op'>=</span> <span class='id identifier rubyid_list_types_async'>list_types_async</span><span class='lparen'>(</span><span class='id identifier rubyid_location'>location</span><span class='comma'>,</span> <span class='id identifier rubyid_publisher_name'>publisher_name</span><span class='comma'>,</span> <span class='id identifier rubyid_custom_headers'>custom_headers</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_value!'>value!</span>
|
1147
|
-
<span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_body'>body</span> <span class='kw'>unless</span> <span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1148
|
-
<span class='kw'>end</span></pre>
|
1149
|
-
</td>
|
1150
|
-
</tr>
|
1151
|
-
</table>
|
1152
|
-
</div>
|
1153
|
-
|
1154
|
-
<div class="method_details ">
|
1155
|
-
<h3 class="signature " id="list_types_async-instance_method">
|
1156
|
-
|
1157
|
-
#<strong>list_types_async</strong>(location, publisher_name, custom_headers = nil) ⇒ <tt>Concurrent::Promise</tt>
|
1158
|
-
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1163
|
-
</h3><div class="docstring">
|
1164
|
-
<div class="discussion">
|
1165
|
-
|
1166
|
-
<p>Gets a list of virtual machine extension image types.</p>
|
1167
|
-
|
1168
|
-
<p>to the HTTP request.</p>
|
1169
|
-
|
1170
|
-
|
1171
|
-
</div>
|
1172
|
-
</div>
|
1173
|
-
<div class="tags">
|
1174
|
-
<p class="tag_title">Parameters:</p>
|
1175
|
-
<ul class="param">
|
1176
|
-
|
1177
|
-
<li>
|
1178
|
-
|
1179
|
-
<span class='name'>location</span>
|
1180
|
-
|
1181
|
-
|
1182
|
-
<span class='type'>(<tt>String</tt>)</span>
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1186
|
-
</li>
|
1187
|
-
|
1188
|
-
<li>
|
1189
|
-
|
1190
|
-
<span class='name'>publisher_name</span>
|
1191
|
-
|
1192
|
-
|
1193
|
-
<span class='type'>(<tt>String</tt>)</span>
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1197
|
-
</li>
|
1198
|
-
|
1199
|
-
<li>
|
1200
|
-
|
1201
|
-
<span class='name'>A</span>
|
1202
|
-
|
1203
|
-
|
1204
|
-
<span class='type'>(<tt>Hash{String => String}</tt>)</span>
|
1205
|
-
|
1206
|
-
|
1207
|
-
|
1208
|
-
—
|
1209
|
-
<div class='inline'>
|
1210
|
-
<p>hash of custom headers that will be added</p>
|
1211
|
-
</div>
|
1212
|
-
|
1213
|
-
</li>
|
1214
|
-
|
1215
|
-
</ul>
|
1216
|
-
|
1217
|
-
<p class="tag_title">Returns:</p>
|
1218
|
-
<ul class="return">
|
1219
|
-
|
1220
|
-
<li>
|
1221
|
-
|
1222
|
-
|
1223
|
-
<span class='type'>(<tt>Concurrent::Promise</tt>)</span>
|
1224
|
-
|
1225
|
-
|
1226
|
-
|
1227
|
-
—
|
1228
|
-
<div class='inline'>
|
1229
|
-
<p>Promise object which holds the HTTP response.</p>
|
1230
|
-
</div>
|
1231
|
-
|
1232
|
-
</li>
|
1233
|
-
|
1234
|
-
</ul>
|
1235
|
-
|
1236
|
-
</div><table class="source_code">
|
1237
|
-
<tr>
|
1238
|
-
<td>
|
1239
|
-
<pre class="lines">
|
1240
|
-
|
1241
|
-
|
1242
|
-
166
|
1243
|
-
167
|
1244
|
-
168
|
1245
|
-
169
|
1246
|
-
170
|
1247
|
-
171
|
1248
|
-
172
|
1249
|
-
173
|
1250
|
-
174
|
1251
|
-
175
|
1252
|
-
176
|
1253
|
-
177
|
1254
|
-
178
|
1255
|
-
179
|
1256
|
-
180
|
1257
|
-
181
|
1258
|
-
182
|
1259
|
-
183
|
1260
|
-
184
|
1261
|
-
185
|
1262
|
-
186
|
1263
|
-
187
|
1264
|
-
188
|
1265
|
-
189
|
1266
|
-
190
|
1267
|
-
191
|
1268
|
-
192
|
1269
|
-
193
|
1270
|
-
194
|
1271
|
-
195
|
1272
|
-
196
|
1273
|
-
197
|
1274
|
-
198
|
1275
|
-
199
|
1276
|
-
200
|
1277
|
-
201
|
1278
|
-
202
|
1279
|
-
203
|
1280
|
-
204
|
1281
|
-
205
|
1282
|
-
206
|
1283
|
-
207
|
1284
|
-
208
|
1285
|
-
209
|
1286
|
-
210
|
1287
|
-
211
|
1288
|
-
212
|
1289
|
-
213
|
1290
|
-
214
|
1291
|
-
215
|
1292
|
-
216
|
1293
|
-
217
|
1294
|
-
218
|
1295
|
-
219
|
1296
|
-
220
|
1297
|
-
221
|
1298
|
-
222
|
1299
|
-
223
|
1300
|
-
224
|
1301
|
-
225
|
1302
|
-
226
|
1303
|
-
227
|
1304
|
-
228
|
1305
|
-
229
|
1306
|
-
230
|
1307
|
-
231
|
1308
|
-
232
|
1309
|
-
233</pre>
|
1310
|
-
</td>
|
1311
|
-
<td>
|
1312
|
-
<pre class="code"><span class="info file"># File 'lib/generated/azure_mgmt_compute/virtual_machine_extension_images.rb', line 166</span>
|
1313
|
-
|
1314
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_list_types_async'>list_types_async</span><span class='lparen'>(</span><span class='id identifier rubyid_location'>location</span><span class='comma'>,</span> <span class='id identifier rubyid_publisher_name'>publisher_name</span><span class='comma'>,</span> <span class='id identifier rubyid_custom_headers'>custom_headers</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
1315
|
-
<span class='id identifier rubyid_fail'>fail</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>location is nil</span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_location'>location</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1316
|
-
<span class='id identifier rubyid_fail'>fail</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>publisher_name is nil</span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_publisher_name'>publisher_name</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1317
|
-
<span class='id identifier rubyid_fail'>fail</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>@client.api_version is nil</span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_api_version'>api_version</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1318
|
-
<span class='id identifier rubyid_fail'>fail</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>@client.subscription_id is nil</span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_subscription_id'>subscription_id</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1319
|
-
|
1320
|
-
|
1321
|
-
<span class='id identifier rubyid_request_headers'>request_headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
1322
|
-
|
1323
|
-
<span class='comment'># Set Headers
|
1324
|
-
</span> <span class='id identifier rubyid_request_headers'>request_headers</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>x-ms-client-request-id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='const'>SecureRandom</span><span class='period'>.</span><span class='id identifier rubyid_uuid'>uuid</span>
|
1325
|
-
<span class='id identifier rubyid_request_headers'>request_headers</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>accept-language</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_accept_language'>accept_language</span> <span class='kw'>unless</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_accept_language'>accept_language</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1326
|
-
<span class='id identifier rubyid_path_template'>path_template</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types</span><span class='tstring_end'>'</span></span>
|
1327
|
-
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
1328
|
-
<span class='label'>middlewares:</span> <span class='lbracket'>[</span><span class='lbracket'>[</span><span class='const'>MsRest</span><span class='op'>::</span><span class='const'>RetryPolicyMiddleware</span><span class='comma'>,</span> <span class='label'>times:</span> <span class='int'>3</span><span class='comma'>,</span> <span class='label'>retry:</span> <span class='float'>0.02</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='symbol'>:cookie_jar</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
1329
|
-
<span class='label'>path_params:</span> <span class='lbrace'>{</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>location</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='id identifier rubyid_location'>location</span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>publisherName</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='id identifier rubyid_publisher_name'>publisher_name</span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>subscriptionId</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_subscription_id'>subscription_id</span><span class='rbrace'>}</span><span class='comma'>,</span>
|
1330
|
-
<span class='label'>query_params:</span> <span class='lbrace'>{</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>api-version</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_api_version'>api_version</span><span class='rbrace'>}</span><span class='comma'>,</span>
|
1331
|
-
<span class='label'>headers:</span> <span class='id identifier rubyid_request_headers'>request_headers</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='id identifier rubyid_custom_headers'>custom_headers</span> <span class='op'>||</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
1332
|
-
<span class='rbrace'>}</span>
|
1333
|
-
|
1334
|
-
<span class='id identifier rubyid_request_url'>request_url</span> <span class='op'>=</span> <span class='ivar'>@base_url</span> <span class='op'>||</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_base_url'>base_url</span>
|
1335
|
-
|
1336
|
-
<span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>MsRest</span><span class='op'>::</span><span class='const'>HttpOperationRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_request_url'>request_url</span><span class='comma'>,</span> <span class='id identifier rubyid_path_template'>path_template</span><span class='comma'>,</span> <span class='symbol'>:get</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
1337
|
-
<span class='id identifier rubyid_promise'>promise</span> <span class='op'>=</span> <span class='id identifier rubyid_request'>request</span><span class='period'>.</span><span class='id identifier rubyid_run_promise'>run_promise</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_req'>req</span><span class='op'>|</span>
|
1338
|
-
<span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_credentials'>credentials</span><span class='period'>.</span><span class='id identifier rubyid_sign_request'>sign_request</span><span class='lparen'>(</span><span class='id identifier rubyid_req'>req</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_credentials'>credentials</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1339
|
-
<span class='kw'>end</span>
|
1340
|
-
|
1341
|
-
<span class='id identifier rubyid_promise'>promise</span> <span class='op'>=</span> <span class='id identifier rubyid_promise'>promise</span><span class='period'>.</span><span class='id identifier rubyid_then'>then</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_http_response'>http_response</span><span class='op'>|</span>
|
1342
|
-
<span class='id identifier rubyid_status_code'>status_code</span> <span class='op'>=</span> <span class='id identifier rubyid_http_response'>http_response</span><span class='period'>.</span><span class='id identifier rubyid_status'>status</span>
|
1343
|
-
<span class='id identifier rubyid_response_content'>response_content</span> <span class='op'>=</span> <span class='id identifier rubyid_http_response'>http_response</span><span class='period'>.</span><span class='id identifier rubyid_body'>body</span>
|
1344
|
-
<span class='kw'>unless</span> <span class='id identifier rubyid_status_code'>status_code</span> <span class='op'>==</span> <span class='int'>200</span>
|
1345
|
-
<span class='id identifier rubyid_error_model'>error_model</span> <span class='op'>=</span> <span class='const'>JSON</span><span class='period'>.</span><span class='id identifier rubyid_load'>load</span><span class='lparen'>(</span><span class='id identifier rubyid_response_content'>response_content</span><span class='rparen'>)</span>
|
1346
|
-
<span class='id identifier rubyid_fail'>fail</span> <span class='const'>MsRestAzure</span><span class='op'>::</span><span class='const'>AzureOperationError</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='comma'>,</span> <span class='id identifier rubyid_http_response'>http_response</span><span class='comma'>,</span> <span class='id identifier rubyid_error_model'>error_model</span><span class='rparen'>)</span>
|
1347
|
-
<span class='kw'>end</span>
|
1348
|
-
|
1349
|
-
<span class='comment'># Create Result
|
1350
|
-
</span> <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='const'>MsRestAzure</span><span class='op'>::</span><span class='const'>AzureOperationResponse</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='comma'>,</span> <span class='id identifier rubyid_http_response'>http_response</span><span class='rparen'>)</span>
|
1351
|
-
<span class='id identifier rubyid_result'>result</span><span class='period'>.</span><span class='id identifier rubyid_request_id'>request_id</span> <span class='op'>=</span> <span class='id identifier rubyid_http_response'>http_response</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>x-ms-request-id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='kw'>unless</span> <span class='id identifier rubyid_http_response'>http_response</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>x-ms-request-id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1352
|
-
<span class='comment'># Deserialize Response
|
1353
|
-
</span> <span class='kw'>if</span> <span class='id identifier rubyid_status_code'>status_code</span> <span class='op'>==</span> <span class='int'>200</span>
|
1354
|
-
<span class='kw'>begin</span>
|
1355
|
-
<span class='id identifier rubyid_parsed_response'>parsed_response</span> <span class='op'>=</span> <span class='id identifier rubyid_response_content'>response_content</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span> <span class='op'>?</span> <span class='kw'>nil</span> <span class='op'>:</span> <span class='const'>JSON</span><span class='period'>.</span><span class='id identifier rubyid_load'>load</span><span class='lparen'>(</span><span class='id identifier rubyid_response_content'>response_content</span><span class='rparen'>)</span>
|
1356
|
-
<span class='id identifier rubyid_result_mapper'>result_mapper</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
1357
|
-
<span class='label'>required:</span> <span class='kw'>false</span><span class='comma'>,</span>
|
1358
|
-
<span class='label'>serialized_name:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>parsed_response</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
1359
|
-
<span class='label'>type:</span> <span class='lbrace'>{</span>
|
1360
|
-
<span class='label'>name:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Sequence</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
1361
|
-
<span class='label'>element:</span> <span class='lbrace'>{</span>
|
1362
|
-
<span class='label'>required:</span> <span class='kw'>false</span><span class='comma'>,</span>
|
1363
|
-
<span class='label'>serialized_name:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>VirtualMachineExtensionImageElementType</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
1364
|
-
<span class='label'>type:</span> <span class='lbrace'>{</span>
|
1365
|
-
<span class='label'>name:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Composite</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
1366
|
-
<span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>VirtualMachineExtensionImage</span><span class='tstring_end'>'</span></span>
|
1367
|
-
<span class='rbrace'>}</span>
|
1368
|
-
<span class='rbrace'>}</span>
|
1369
|
-
<span class='rbrace'>}</span>
|
1370
|
-
<span class='rbrace'>}</span>
|
1371
|
-
<span class='id identifier rubyid_result'>result</span><span class='period'>.</span><span class='id identifier rubyid_body'>body</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_deserialize'>deserialize</span><span class='lparen'>(</span><span class='id identifier rubyid_result_mapper'>result_mapper</span><span class='comma'>,</span> <span class='id identifier rubyid_parsed_response'>parsed_response</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>result.body</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
1372
|
-
<span class='kw'>rescue</span> <span class='const'>Exception</span> <span class='op'>=></span> <span class='id identifier rubyid_e'>e</span>
|
1373
|
-
<span class='id identifier rubyid_fail'>fail</span> <span class='const'>MsRest</span><span class='op'>::</span><span class='const'>DeserializationError</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Error occurred in deserializing the response</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_backtrace'>backtrace</span><span class='comma'>,</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
|
1374
|
-
<span class='kw'>end</span>
|
1375
|
-
<span class='kw'>end</span>
|
1376
|
-
|
1377
|
-
<span class='id identifier rubyid_result'>result</span>
|
1378
|
-
<span class='kw'>end</span>
|
1379
|
-
|
1380
|
-
<span class='id identifier rubyid_promise'>promise</span><span class='period'>.</span><span class='id identifier rubyid_execute'>execute</span>
|
1381
|
-
<span class='kw'>end</span></pre>
|
1382
|
-
</td>
|
1383
|
-
</tr>
|
1384
|
-
</table>
|
1385
|
-
</div>
|
1386
|
-
|
1387
|
-
<div class="method_details ">
|
1388
|
-
<h3 class="signature " id="list_types_with_http_info-instance_method">
|
1389
|
-
|
1390
|
-
#<strong>list_types_with_http_info</strong>(location, publisher_name, custom_headers = nil) ⇒ <tt>MsRestAzure::AzureOperationResponse</tt>
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
1395
|
-
|
1396
|
-
</h3><div class="docstring">
|
1397
|
-
<div class="discussion">
|
1398
|
-
|
1399
|
-
<p>Gets a list of virtual machine extension image types.</p>
|
1400
|
-
|
1401
|
-
<p>will be added to the HTTP request.</p>
|
1402
|
-
|
1403
|
-
|
1404
|
-
</div>
|
1405
|
-
</div>
|
1406
|
-
<div class="tags">
|
1407
|
-
<p class="tag_title">Parameters:</p>
|
1408
|
-
<ul class="param">
|
1409
|
-
|
1410
|
-
<li>
|
1411
|
-
|
1412
|
-
<span class='name'>location</span>
|
1413
|
-
|
1414
|
-
|
1415
|
-
<span class='type'>(<tt>String</tt>)</span>
|
1416
|
-
|
1417
|
-
|
1418
|
-
|
1419
|
-
</li>
|
1420
|
-
|
1421
|
-
<li>
|
1422
|
-
|
1423
|
-
<span class='name'>publisher_name</span>
|
1424
|
-
|
1425
|
-
|
1426
|
-
<span class='type'>(<tt>String</tt>)</span>
|
1427
|
-
|
1428
|
-
|
1429
|
-
|
1430
|
-
</li>
|
1431
|
-
|
1432
|
-
<li>
|
1433
|
-
|
1434
|
-
<span class='name'>custom_headers</span>
|
1435
|
-
|
1436
|
-
|
1437
|
-
<span class='type'>(<tt>Hash{String => String}</tt>)</span>
|
1438
|
-
|
1439
|
-
|
1440
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1441
|
-
|
1442
|
-
|
1443
|
-
—
|
1444
|
-
<div class='inline'>
|
1445
|
-
<p>A hash of custom headers that</p>
|
1446
|
-
</div>
|
1447
|
-
|
1448
|
-
</li>
|
1449
|
-
|
1450
|
-
</ul>
|
1451
|
-
|
1452
|
-
<p class="tag_title">Returns:</p>
|
1453
|
-
<ul class="return">
|
1454
|
-
|
1455
|
-
<li>
|
1456
|
-
|
1457
|
-
|
1458
|
-
<span class='type'>(<tt>MsRestAzure::AzureOperationResponse</tt>)</span>
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
—
|
1463
|
-
<div class='inline'>
|
1464
|
-
<p>HTTP response information.</p>
|
1465
|
-
</div>
|
1466
|
-
|
1467
|
-
</li>
|
1468
|
-
|
1469
|
-
</ul>
|
1470
|
-
|
1471
|
-
</div><table class="source_code">
|
1472
|
-
<tr>
|
1473
|
-
<td>
|
1474
|
-
<pre class="lines">
|
1475
|
-
|
1476
|
-
|
1477
|
-
152
|
1478
|
-
153
|
1479
|
-
154</pre>
|
1480
|
-
</td>
|
1481
|
-
<td>
|
1482
|
-
<pre class="code"><span class="info file"># File 'lib/generated/azure_mgmt_compute/virtual_machine_extension_images.rb', line 152</span>
|
1483
|
-
|
1484
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_list_types_with_http_info'>list_types_with_http_info</span><span class='lparen'>(</span><span class='id identifier rubyid_location'>location</span><span class='comma'>,</span> <span class='id identifier rubyid_publisher_name'>publisher_name</span><span class='comma'>,</span> <span class='id identifier rubyid_custom_headers'>custom_headers</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
1485
|
-
<span class='id identifier rubyid_list_types_async'>list_types_async</span><span class='lparen'>(</span><span class='id identifier rubyid_location'>location</span><span class='comma'>,</span> <span class='id identifier rubyid_publisher_name'>publisher_name</span><span class='comma'>,</span> <span class='id identifier rubyid_custom_headers'>custom_headers</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_value!'>value!</span>
|
1486
|
-
<span class='kw'>end</span></pre>
|
1487
|
-
</td>
|
1488
|
-
</tr>
|
1489
|
-
</table>
|
1490
|
-
</div>
|
1491
|
-
|
1492
|
-
<div class="method_details ">
|
1493
|
-
<h3 class="signature " id="list_versions-instance_method">
|
1494
|
-
|
1495
|
-
#<strong>list_versions</strong>(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) ⇒ <tt>Array</tt>
|
1496
|
-
|
1497
|
-
|
1498
|
-
|
1499
|
-
|
1500
|
-
|
1501
|
-
</h3><div class="docstring">
|
1502
|
-
<div class="discussion">
|
1503
|
-
|
1504
|
-
<p>Gets a list of virtual machine extension image versions.</p>
|
1505
|
-
|
1506
|
-
<p>will be added to the HTTP request.</p>
|
1507
|
-
|
1508
|
-
|
1509
|
-
</div>
|
1510
|
-
</div>
|
1511
|
-
<div class="tags">
|
1512
|
-
<p class="tag_title">Parameters:</p>
|
1513
|
-
<ul class="param">
|
1514
|
-
|
1515
|
-
<li>
|
1516
|
-
|
1517
|
-
<span class='name'>location</span>
|
1518
|
-
|
1519
|
-
|
1520
|
-
<span class='type'>(<tt>String</tt>)</span>
|
1521
|
-
|
1522
|
-
|
1523
|
-
|
1524
|
-
</li>
|
1525
|
-
|
1526
|
-
<li>
|
1527
|
-
|
1528
|
-
<span class='name'>publisher_name</span>
|
1529
|
-
|
1530
|
-
|
1531
|
-
<span class='type'>(<tt>String</tt>)</span>
|
1532
|
-
|
1533
|
-
|
1534
|
-
|
1535
|
-
</li>
|
1536
|
-
|
1537
|
-
<li>
|
1538
|
-
|
1539
|
-
<span class='name'>type</span>
|
1540
|
-
|
1541
|
-
|
1542
|
-
<span class='type'>(<tt>String</tt>)</span>
|
1543
|
-
|
1544
|
-
|
1545
|
-
|
1546
|
-
</li>
|
1547
|
-
|
1548
|
-
<li>
|
1549
|
-
|
1550
|
-
<span class='name'>filter</span>
|
1551
|
-
|
1552
|
-
|
1553
|
-
<span class='type'>(<tt>String</tt>)</span>
|
1554
|
-
|
1555
|
-
|
1556
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1557
|
-
|
1558
|
-
|
1559
|
-
—
|
1560
|
-
<div class='inline'>
|
1561
|
-
<p>The filter to apply on the operation.</p>
|
1562
|
-
</div>
|
1563
|
-
|
1564
|
-
</li>
|
1565
|
-
|
1566
|
-
<li>
|
1567
|
-
|
1568
|
-
<span class='name'>top</span>
|
1569
|
-
|
1570
|
-
|
1571
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
1572
|
-
|
1573
|
-
|
1574
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1575
|
-
|
1576
|
-
|
1577
|
-
</li>
|
1578
|
-
|
1579
|
-
<li>
|
1580
|
-
|
1581
|
-
<span class='name'>orderby</span>
|
1582
|
-
|
1583
|
-
|
1584
|
-
<span class='type'>(<tt>String</tt>)</span>
|
1585
|
-
|
1586
|
-
|
1587
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1588
|
-
|
1589
|
-
|
1590
|
-
</li>
|
1591
|
-
|
1592
|
-
<li>
|
1593
|
-
|
1594
|
-
<span class='name'>custom_headers</span>
|
1595
|
-
|
1596
|
-
|
1597
|
-
<span class='type'>(<tt>Hash{String => String}</tt>)</span>
|
1598
|
-
|
1599
|
-
|
1600
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1601
|
-
|
1602
|
-
|
1603
|
-
—
|
1604
|
-
<div class='inline'>
|
1605
|
-
<p>A hash of custom headers that</p>
|
1606
|
-
</div>
|
1607
|
-
|
1608
|
-
</li>
|
1609
|
-
|
1610
|
-
</ul>
|
1611
|
-
|
1612
|
-
<p class="tag_title">Returns:</p>
|
1613
|
-
<ul class="return">
|
1614
|
-
|
1615
|
-
<li>
|
1616
|
-
|
1617
|
-
|
1618
|
-
<span class='type'>(<tt>Array</tt>)</span>
|
1619
|
-
|
1620
|
-
|
1621
|
-
|
1622
|
-
—
|
1623
|
-
<div class='inline'>
|
1624
|
-
<p>operation results.</p>
|
1625
|
-
</div>
|
1626
|
-
|
1627
|
-
</li>
|
1628
|
-
|
1629
|
-
</ul>
|
1630
|
-
|
1631
|
-
</div><table class="source_code">
|
1632
|
-
<tr>
|
1633
|
-
<td>
|
1634
|
-
<pre class="lines">
|
1635
|
-
|
1636
|
-
|
1637
|
-
249
|
1638
|
-
250
|
1639
|
-
251
|
1640
|
-
252</pre>
|
1641
|
-
</td>
|
1642
|
-
<td>
|
1643
|
-
<pre class="code"><span class="info file"># File 'lib/generated/azure_mgmt_compute/virtual_machine_extension_images.rb', line 249</span>
|
1644
|
-
|
1645
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_list_versions'>list_versions</span><span class='lparen'>(</span><span class='id identifier rubyid_location'>location</span><span class='comma'>,</span> <span class='id identifier rubyid_publisher_name'>publisher_name</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_filter'>filter</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_top'>top</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_orderby'>orderby</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_custom_headers'>custom_headers</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
1646
|
-
<span class='id identifier rubyid_response'>response</span> <span class='op'>=</span> <span class='id identifier rubyid_list_versions_async'>list_versions_async</span><span class='lparen'>(</span><span class='id identifier rubyid_location'>location</span><span class='comma'>,</span> <span class='id identifier rubyid_publisher_name'>publisher_name</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_filter'>filter</span><span class='comma'>,</span> <span class='id identifier rubyid_top'>top</span><span class='comma'>,</span> <span class='id identifier rubyid_orderby'>orderby</span><span class='comma'>,</span> <span class='id identifier rubyid_custom_headers'>custom_headers</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_value!'>value!</span>
|
1647
|
-
<span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_body'>body</span> <span class='kw'>unless</span> <span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1648
|
-
<span class='kw'>end</span></pre>
|
1649
|
-
</td>
|
1650
|
-
</tr>
|
1651
|
-
</table>
|
1652
|
-
</div>
|
1653
|
-
|
1654
|
-
<div class="method_details ">
|
1655
|
-
<h3 class="signature " id="list_versions_async-instance_method">
|
1656
|
-
|
1657
|
-
#<strong>list_versions_async</strong>(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) ⇒ <tt>Concurrent::Promise</tt>
|
1658
|
-
|
1659
|
-
|
1660
|
-
|
1661
|
-
|
1662
|
-
|
1663
|
-
</h3><div class="docstring">
|
1664
|
-
<div class="discussion">
|
1665
|
-
|
1666
|
-
<p>Gets a list of virtual machine extension image versions.</p>
|
1667
|
-
|
1668
|
-
<p>to the HTTP request.</p>
|
1669
|
-
|
1670
|
-
|
1671
|
-
</div>
|
1672
|
-
</div>
|
1673
|
-
<div class="tags">
|
1674
|
-
<p class="tag_title">Parameters:</p>
|
1675
|
-
<ul class="param">
|
1676
|
-
|
1677
|
-
<li>
|
1678
|
-
|
1679
|
-
<span class='name'>location</span>
|
1680
|
-
|
1681
|
-
|
1682
|
-
<span class='type'>(<tt>String</tt>)</span>
|
1683
|
-
|
1684
|
-
|
1685
|
-
|
1686
|
-
</li>
|
1687
|
-
|
1688
|
-
<li>
|
1689
|
-
|
1690
|
-
<span class='name'>publisher_name</span>
|
1691
|
-
|
1692
|
-
|
1693
|
-
<span class='type'>(<tt>String</tt>)</span>
|
1694
|
-
|
1695
|
-
|
1696
|
-
|
1697
|
-
</li>
|
1698
|
-
|
1699
|
-
<li>
|
1700
|
-
|
1701
|
-
<span class='name'>type</span>
|
1702
|
-
|
1703
|
-
|
1704
|
-
<span class='type'>(<tt>String</tt>)</span>
|
1705
|
-
|
1706
|
-
|
1707
|
-
|
1708
|
-
</li>
|
1709
|
-
|
1710
|
-
<li>
|
1711
|
-
|
1712
|
-
<span class='name'>filter</span>
|
1713
|
-
|
1714
|
-
|
1715
|
-
<span class='type'>(<tt>String</tt>)</span>
|
1716
|
-
|
1717
|
-
|
1718
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1719
|
-
|
1720
|
-
|
1721
|
-
—
|
1722
|
-
<div class='inline'>
|
1723
|
-
<p>The filter to apply on the operation.</p>
|
1724
|
-
</div>
|
1725
|
-
|
1726
|
-
</li>
|
1727
|
-
|
1728
|
-
<li>
|
1729
|
-
|
1730
|
-
<span class='name'>top</span>
|
1731
|
-
|
1732
|
-
|
1733
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
1734
|
-
|
1735
|
-
|
1736
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1737
|
-
|
1738
|
-
|
1739
|
-
</li>
|
1740
|
-
|
1741
|
-
<li>
|
1742
|
-
|
1743
|
-
<span class='name'>orderby</span>
|
1744
|
-
|
1745
|
-
|
1746
|
-
<span class='type'>(<tt>String</tt>)</span>
|
1747
|
-
|
1748
|
-
|
1749
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1750
|
-
|
1751
|
-
|
1752
|
-
</li>
|
1753
|
-
|
1754
|
-
<li>
|
1755
|
-
|
1756
|
-
<span class='name'>A</span>
|
1757
|
-
|
1758
|
-
|
1759
|
-
<span class='type'>(<tt>Hash{String => String}</tt>)</span>
|
1760
|
-
|
1761
|
-
|
1762
|
-
|
1763
|
-
—
|
1764
|
-
<div class='inline'>
|
1765
|
-
<p>hash of custom headers that will be added</p>
|
1766
|
-
</div>
|
1767
|
-
|
1768
|
-
</li>
|
1769
|
-
|
1770
|
-
</ul>
|
1771
|
-
|
1772
|
-
<p class="tag_title">Returns:</p>
|
1773
|
-
<ul class="return">
|
1774
|
-
|
1775
|
-
<li>
|
1776
|
-
|
1777
|
-
|
1778
|
-
<span class='type'>(<tt>Concurrent::Promise</tt>)</span>
|
1779
|
-
|
1780
|
-
|
1781
|
-
|
1782
|
-
—
|
1783
|
-
<div class='inline'>
|
1784
|
-
<p>Promise object which holds the HTTP response.</p>
|
1785
|
-
</div>
|
1786
|
-
|
1787
|
-
</li>
|
1788
|
-
|
1789
|
-
</ul>
|
1790
|
-
|
1791
|
-
</div><table class="source_code">
|
1792
|
-
<tr>
|
1793
|
-
<td>
|
1794
|
-
<pre class="lines">
|
1795
|
-
|
1796
|
-
|
1797
|
-
286
|
1798
|
-
287
|
1799
|
-
288
|
1800
|
-
289
|
1801
|
-
290
|
1802
|
-
291
|
1803
|
-
292
|
1804
|
-
293
|
1805
|
-
294
|
1806
|
-
295
|
1807
|
-
296
|
1808
|
-
297
|
1809
|
-
298
|
1810
|
-
299
|
1811
|
-
300
|
1812
|
-
301
|
1813
|
-
302
|
1814
|
-
303
|
1815
|
-
304
|
1816
|
-
305
|
1817
|
-
306
|
1818
|
-
307
|
1819
|
-
308
|
1820
|
-
309
|
1821
|
-
310
|
1822
|
-
311
|
1823
|
-
312
|
1824
|
-
313
|
1825
|
-
314
|
1826
|
-
315
|
1827
|
-
316
|
1828
|
-
317
|
1829
|
-
318
|
1830
|
-
319
|
1831
|
-
320
|
1832
|
-
321
|
1833
|
-
322
|
1834
|
-
323
|
1835
|
-
324
|
1836
|
-
325
|
1837
|
-
326
|
1838
|
-
327
|
1839
|
-
328
|
1840
|
-
329
|
1841
|
-
330
|
1842
|
-
331
|
1843
|
-
332
|
1844
|
-
333
|
1845
|
-
334
|
1846
|
-
335
|
1847
|
-
336
|
1848
|
-
337
|
1849
|
-
338
|
1850
|
-
339
|
1851
|
-
340
|
1852
|
-
341
|
1853
|
-
342
|
1854
|
-
343
|
1855
|
-
344
|
1856
|
-
345
|
1857
|
-
346
|
1858
|
-
347
|
1859
|
-
348
|
1860
|
-
349
|
1861
|
-
350
|
1862
|
-
351
|
1863
|
-
352
|
1864
|
-
353
|
1865
|
-
354</pre>
|
1866
|
-
</td>
|
1867
|
-
<td>
|
1868
|
-
<pre class="code"><span class="info file"># File 'lib/generated/azure_mgmt_compute/virtual_machine_extension_images.rb', line 286</span>
|
1869
|
-
|
1870
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_list_versions_async'>list_versions_async</span><span class='lparen'>(</span><span class='id identifier rubyid_location'>location</span><span class='comma'>,</span> <span class='id identifier rubyid_publisher_name'>publisher_name</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_filter'>filter</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_top'>top</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_orderby'>orderby</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_custom_headers'>custom_headers</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
1871
|
-
<span class='id identifier rubyid_fail'>fail</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>location is nil</span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_location'>location</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1872
|
-
<span class='id identifier rubyid_fail'>fail</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>publisher_name is nil</span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_publisher_name'>publisher_name</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1873
|
-
<span class='id identifier rubyid_fail'>fail</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>type is nil</span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_type'>type</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1874
|
-
<span class='id identifier rubyid_fail'>fail</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>@client.api_version is nil</span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_api_version'>api_version</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1875
|
-
<span class='id identifier rubyid_fail'>fail</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>@client.subscription_id is nil</span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_subscription_id'>subscription_id</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1876
|
-
|
1877
|
-
|
1878
|
-
<span class='id identifier rubyid_request_headers'>request_headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
1879
|
-
|
1880
|
-
<span class='comment'># Set Headers
|
1881
|
-
</span> <span class='id identifier rubyid_request_headers'>request_headers</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>x-ms-client-request-id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='const'>SecureRandom</span><span class='period'>.</span><span class='id identifier rubyid_uuid'>uuid</span>
|
1882
|
-
<span class='id identifier rubyid_request_headers'>request_headers</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>accept-language</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_accept_language'>accept_language</span> <span class='kw'>unless</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_accept_language'>accept_language</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1883
|
-
<span class='id identifier rubyid_path_template'>path_template</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types/{type}/versions</span><span class='tstring_end'>'</span></span>
|
1884
|
-
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
1885
|
-
<span class='label'>middlewares:</span> <span class='lbracket'>[</span><span class='lbracket'>[</span><span class='const'>MsRest</span><span class='op'>::</span><span class='const'>RetryPolicyMiddleware</span><span class='comma'>,</span> <span class='label'>times:</span> <span class='int'>3</span><span class='comma'>,</span> <span class='label'>retry:</span> <span class='float'>0.02</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='symbol'>:cookie_jar</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
1886
|
-
<span class='label'>path_params:</span> <span class='lbrace'>{</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>location</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='id identifier rubyid_location'>location</span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>publisherName</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='id identifier rubyid_publisher_name'>publisher_name</span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>type</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>subscriptionId</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_subscription_id'>subscription_id</span><span class='rbrace'>}</span><span class='comma'>,</span>
|
1887
|
-
<span class='label'>query_params:</span> <span class='lbrace'>{</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>$filter</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='id identifier rubyid_filter'>filter</span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>$top</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='id identifier rubyid_top'>top</span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>$orderby</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='id identifier rubyid_orderby'>orderby</span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>api-version</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_api_version'>api_version</span><span class='rbrace'>}</span><span class='comma'>,</span>
|
1888
|
-
<span class='label'>headers:</span> <span class='id identifier rubyid_request_headers'>request_headers</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='id identifier rubyid_custom_headers'>custom_headers</span> <span class='op'>||</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
1889
|
-
<span class='rbrace'>}</span>
|
1890
|
-
|
1891
|
-
<span class='id identifier rubyid_request_url'>request_url</span> <span class='op'>=</span> <span class='ivar'>@base_url</span> <span class='op'>||</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_base_url'>base_url</span>
|
1892
|
-
|
1893
|
-
<span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>MsRest</span><span class='op'>::</span><span class='const'>HttpOperationRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_request_url'>request_url</span><span class='comma'>,</span> <span class='id identifier rubyid_path_template'>path_template</span><span class='comma'>,</span> <span class='symbol'>:get</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
1894
|
-
<span class='id identifier rubyid_promise'>promise</span> <span class='op'>=</span> <span class='id identifier rubyid_request'>request</span><span class='period'>.</span><span class='id identifier rubyid_run_promise'>run_promise</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_req'>req</span><span class='op'>|</span>
|
1895
|
-
<span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_credentials'>credentials</span><span class='period'>.</span><span class='id identifier rubyid_sign_request'>sign_request</span><span class='lparen'>(</span><span class='id identifier rubyid_req'>req</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_credentials'>credentials</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1896
|
-
<span class='kw'>end</span>
|
1897
|
-
|
1898
|
-
<span class='id identifier rubyid_promise'>promise</span> <span class='op'>=</span> <span class='id identifier rubyid_promise'>promise</span><span class='period'>.</span><span class='id identifier rubyid_then'>then</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_http_response'>http_response</span><span class='op'>|</span>
|
1899
|
-
<span class='id identifier rubyid_status_code'>status_code</span> <span class='op'>=</span> <span class='id identifier rubyid_http_response'>http_response</span><span class='period'>.</span><span class='id identifier rubyid_status'>status</span>
|
1900
|
-
<span class='id identifier rubyid_response_content'>response_content</span> <span class='op'>=</span> <span class='id identifier rubyid_http_response'>http_response</span><span class='period'>.</span><span class='id identifier rubyid_body'>body</span>
|
1901
|
-
<span class='kw'>unless</span> <span class='id identifier rubyid_status_code'>status_code</span> <span class='op'>==</span> <span class='int'>200</span>
|
1902
|
-
<span class='id identifier rubyid_error_model'>error_model</span> <span class='op'>=</span> <span class='const'>JSON</span><span class='period'>.</span><span class='id identifier rubyid_load'>load</span><span class='lparen'>(</span><span class='id identifier rubyid_response_content'>response_content</span><span class='rparen'>)</span>
|
1903
|
-
<span class='id identifier rubyid_fail'>fail</span> <span class='const'>MsRestAzure</span><span class='op'>::</span><span class='const'>AzureOperationError</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='comma'>,</span> <span class='id identifier rubyid_http_response'>http_response</span><span class='comma'>,</span> <span class='id identifier rubyid_error_model'>error_model</span><span class='rparen'>)</span>
|
1904
|
-
<span class='kw'>end</span>
|
1905
|
-
|
1906
|
-
<span class='comment'># Create Result
|
1907
|
-
</span> <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='const'>MsRestAzure</span><span class='op'>::</span><span class='const'>AzureOperationResponse</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='comma'>,</span> <span class='id identifier rubyid_http_response'>http_response</span><span class='rparen'>)</span>
|
1908
|
-
<span class='id identifier rubyid_result'>result</span><span class='period'>.</span><span class='id identifier rubyid_request_id'>request_id</span> <span class='op'>=</span> <span class='id identifier rubyid_http_response'>http_response</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>x-ms-request-id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='kw'>unless</span> <span class='id identifier rubyid_http_response'>http_response</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>x-ms-request-id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1909
|
-
<span class='comment'># Deserialize Response
|
1910
|
-
</span> <span class='kw'>if</span> <span class='id identifier rubyid_status_code'>status_code</span> <span class='op'>==</span> <span class='int'>200</span>
|
1911
|
-
<span class='kw'>begin</span>
|
1912
|
-
<span class='id identifier rubyid_parsed_response'>parsed_response</span> <span class='op'>=</span> <span class='id identifier rubyid_response_content'>response_content</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span> <span class='op'>?</span> <span class='kw'>nil</span> <span class='op'>:</span> <span class='const'>JSON</span><span class='period'>.</span><span class='id identifier rubyid_load'>load</span><span class='lparen'>(</span><span class='id identifier rubyid_response_content'>response_content</span><span class='rparen'>)</span>
|
1913
|
-
<span class='id identifier rubyid_result_mapper'>result_mapper</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
1914
|
-
<span class='label'>required:</span> <span class='kw'>false</span><span class='comma'>,</span>
|
1915
|
-
<span class='label'>serialized_name:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>parsed_response</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
1916
|
-
<span class='label'>type:</span> <span class='lbrace'>{</span>
|
1917
|
-
<span class='label'>name:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Sequence</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
1918
|
-
<span class='label'>element:</span> <span class='lbrace'>{</span>
|
1919
|
-
<span class='label'>required:</span> <span class='kw'>false</span><span class='comma'>,</span>
|
1920
|
-
<span class='label'>serialized_name:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>VirtualMachineExtensionImageElementType</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
1921
|
-
<span class='label'>type:</span> <span class='lbrace'>{</span>
|
1922
|
-
<span class='label'>name:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Composite</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
1923
|
-
<span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>VirtualMachineExtensionImage</span><span class='tstring_end'>'</span></span>
|
1924
|
-
<span class='rbrace'>}</span>
|
1925
|
-
<span class='rbrace'>}</span>
|
1926
|
-
<span class='rbrace'>}</span>
|
1927
|
-
<span class='rbrace'>}</span>
|
1928
|
-
<span class='id identifier rubyid_result'>result</span><span class='period'>.</span><span class='id identifier rubyid_body'>body</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_deserialize'>deserialize</span><span class='lparen'>(</span><span class='id identifier rubyid_result_mapper'>result_mapper</span><span class='comma'>,</span> <span class='id identifier rubyid_parsed_response'>parsed_response</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>result.body</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
1929
|
-
<span class='kw'>rescue</span> <span class='const'>Exception</span> <span class='op'>=></span> <span class='id identifier rubyid_e'>e</span>
|
1930
|
-
<span class='id identifier rubyid_fail'>fail</span> <span class='const'>MsRest</span><span class='op'>::</span><span class='const'>DeserializationError</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Error occurred in deserializing the response</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_backtrace'>backtrace</span><span class='comma'>,</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
|
1931
|
-
<span class='kw'>end</span>
|
1932
|
-
<span class='kw'>end</span>
|
1933
|
-
|
1934
|
-
<span class='id identifier rubyid_result'>result</span>
|
1935
|
-
<span class='kw'>end</span>
|
1936
|
-
|
1937
|
-
<span class='id identifier rubyid_promise'>promise</span><span class='period'>.</span><span class='id identifier rubyid_execute'>execute</span>
|
1938
|
-
<span class='kw'>end</span></pre>
|
1939
|
-
</td>
|
1940
|
-
</tr>
|
1941
|
-
</table>
|
1942
|
-
</div>
|
1943
|
-
|
1944
|
-
<div class="method_details ">
|
1945
|
-
<h3 class="signature " id="list_versions_with_http_info-instance_method">
|
1946
|
-
|
1947
|
-
#<strong>list_versions_with_http_info</strong>(location, publisher_name, type, filter = nil, top = nil, orderby = nil, custom_headers = nil) ⇒ <tt>MsRestAzure::AzureOperationResponse</tt>
|
1948
|
-
|
1949
|
-
|
1950
|
-
|
1951
|
-
|
1952
|
-
|
1953
|
-
</h3><div class="docstring">
|
1954
|
-
<div class="discussion">
|
1955
|
-
|
1956
|
-
<p>Gets a list of virtual machine extension image versions.</p>
|
1957
|
-
|
1958
|
-
<p>will be added to the HTTP request.</p>
|
1959
|
-
|
1960
|
-
|
1961
|
-
</div>
|
1962
|
-
</div>
|
1963
|
-
<div class="tags">
|
1964
|
-
<p class="tag_title">Parameters:</p>
|
1965
|
-
<ul class="param">
|
1966
|
-
|
1967
|
-
<li>
|
1968
|
-
|
1969
|
-
<span class='name'>location</span>
|
1970
|
-
|
1971
|
-
|
1972
|
-
<span class='type'>(<tt>String</tt>)</span>
|
1973
|
-
|
1974
|
-
|
1975
|
-
|
1976
|
-
</li>
|
1977
|
-
|
1978
|
-
<li>
|
1979
|
-
|
1980
|
-
<span class='name'>publisher_name</span>
|
1981
|
-
|
1982
|
-
|
1983
|
-
<span class='type'>(<tt>String</tt>)</span>
|
1984
|
-
|
1985
|
-
|
1986
|
-
|
1987
|
-
</li>
|
1988
|
-
|
1989
|
-
<li>
|
1990
|
-
|
1991
|
-
<span class='name'>type</span>
|
1992
|
-
|
1993
|
-
|
1994
|
-
<span class='type'>(<tt>String</tt>)</span>
|
1995
|
-
|
1996
|
-
|
1997
|
-
|
1998
|
-
</li>
|
1999
|
-
|
2000
|
-
<li>
|
2001
|
-
|
2002
|
-
<span class='name'>filter</span>
|
2003
|
-
|
2004
|
-
|
2005
|
-
<span class='type'>(<tt>String</tt>)</span>
|
2006
|
-
|
2007
|
-
|
2008
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
2009
|
-
|
2010
|
-
|
2011
|
-
—
|
2012
|
-
<div class='inline'>
|
2013
|
-
<p>The filter to apply on the operation.</p>
|
2014
|
-
</div>
|
2015
|
-
|
2016
|
-
</li>
|
2017
|
-
|
2018
|
-
<li>
|
2019
|
-
|
2020
|
-
<span class='name'>top</span>
|
2021
|
-
|
2022
|
-
|
2023
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
2024
|
-
|
2025
|
-
|
2026
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
2027
|
-
|
2028
|
-
|
2029
|
-
</li>
|
2030
|
-
|
2031
|
-
<li>
|
2032
|
-
|
2033
|
-
<span class='name'>orderby</span>
|
2034
|
-
|
2035
|
-
|
2036
|
-
<span class='type'>(<tt>String</tt>)</span>
|
2037
|
-
|
2038
|
-
|
2039
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
2040
|
-
|
2041
|
-
|
2042
|
-
</li>
|
2043
|
-
|
2044
|
-
<li>
|
2045
|
-
|
2046
|
-
<span class='name'>custom_headers</span>
|
2047
|
-
|
2048
|
-
|
2049
|
-
<span class='type'>(<tt>Hash{String => String}</tt>)</span>
|
2050
|
-
|
2051
|
-
|
2052
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
2053
|
-
|
2054
|
-
|
2055
|
-
—
|
2056
|
-
<div class='inline'>
|
2057
|
-
<p>A hash of custom headers that</p>
|
2058
|
-
</div>
|
2059
|
-
|
2060
|
-
</li>
|
2061
|
-
|
2062
|
-
</ul>
|
2063
|
-
|
2064
|
-
<p class="tag_title">Returns:</p>
|
2065
|
-
<ul class="return">
|
2066
|
-
|
2067
|
-
<li>
|
2068
|
-
|
2069
|
-
|
2070
|
-
<span class='type'>(<tt>MsRestAzure::AzureOperationResponse</tt>)</span>
|
2071
|
-
|
2072
|
-
|
2073
|
-
|
2074
|
-
—
|
2075
|
-
<div class='inline'>
|
2076
|
-
<p>HTTP response information.</p>
|
2077
|
-
</div>
|
2078
|
-
|
2079
|
-
</li>
|
2080
|
-
|
2081
|
-
</ul>
|
2082
|
-
|
2083
|
-
</div><table class="source_code">
|
2084
|
-
<tr>
|
2085
|
-
<td>
|
2086
|
-
<pre class="lines">
|
2087
|
-
|
2088
|
-
|
2089
|
-
268
|
2090
|
-
269
|
2091
|
-
270</pre>
|
2092
|
-
</td>
|
2093
|
-
<td>
|
2094
|
-
<pre class="code"><span class="info file"># File 'lib/generated/azure_mgmt_compute/virtual_machine_extension_images.rb', line 268</span>
|
2095
|
-
|
2096
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_list_versions_with_http_info'>list_versions_with_http_info</span><span class='lparen'>(</span><span class='id identifier rubyid_location'>location</span><span class='comma'>,</span> <span class='id identifier rubyid_publisher_name'>publisher_name</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_filter'>filter</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_top'>top</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_orderby'>orderby</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_custom_headers'>custom_headers</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
2097
|
-
<span class='id identifier rubyid_list_versions_async'>list_versions_async</span><span class='lparen'>(</span><span class='id identifier rubyid_location'>location</span><span class='comma'>,</span> <span class='id identifier rubyid_publisher_name'>publisher_name</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_filter'>filter</span><span class='comma'>,</span> <span class='id identifier rubyid_top'>top</span><span class='comma'>,</span> <span class='id identifier rubyid_orderby'>orderby</span><span class='comma'>,</span> <span class='id identifier rubyid_custom_headers'>custom_headers</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_value!'>value!</span>
|
2098
|
-
<span class='kw'>end</span></pre>
|
2099
|
-
</td>
|
2100
|
-
</tr>
|
2101
|
-
</table>
|
2102
|
-
</div>
|
2103
|
-
|
2104
|
-
</div>
|
2105
|
-
|
2106
|
-
</div>
|
2107
|
-
|
2108
|
-
<div id="footer">
|
2109
|
-
Generated on Thu Jul 21 16:09:39 2016 by
|
2110
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2111
|
-
0.9.2 (ruby-2.3.0).
|
2112
|
-
</div>
|
2113
|
-
|
2114
|
-
</div>
|
2115
|
-
</body>
|
2116
|
-
</html>
|