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,823 +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::VirtualMachineSizes
|
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::VirtualMachineSizes";
|
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">VirtualMachineSizes</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::VirtualMachineSizes
|
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::VirtualMachineSizes</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_sizes.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="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(client) ⇒ VirtualMachineSizes </a>
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
</span>
|
177
|
-
|
178
|
-
|
179
|
-
<span class="note title constructor">constructor</span>
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
<span class="summary_desc"><div class='inline'>
|
189
|
-
<p>Creates and initializes a new instance of the VirtualMachineSizes class.</p>
|
190
|
-
</div></span>
|
191
|
-
|
192
|
-
</li>
|
193
|
-
|
194
|
-
|
195
|
-
<li class="public ">
|
196
|
-
<span class="summary_signature">
|
197
|
-
|
198
|
-
<a href="#list-instance_method" title="#list (instance method)">#<strong>list</strong>(location, custom_headers = nil) ⇒ VirtualMachineSizeListResult </a>
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
</span>
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
<span class="summary_desc"><div class='inline'>
|
213
|
-
<p>Lists all available virtual machine sizes for a subscription in a location.</p>
|
214
|
-
</div></span>
|
215
|
-
|
216
|
-
</li>
|
217
|
-
|
218
|
-
|
219
|
-
<li class="public ">
|
220
|
-
<span class="summary_signature">
|
221
|
-
|
222
|
-
<a href="#list_async-instance_method" title="#list_async (instance method)">#<strong>list_async</strong>(location, custom_headers = nil) ⇒ Concurrent::Promise </a>
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
</span>
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
<span class="summary_desc"><div class='inline'>
|
237
|
-
<p>Lists all available virtual machine sizes for a subscription in a location.</p>
|
238
|
-
</div></span>
|
239
|
-
|
240
|
-
</li>
|
241
|
-
|
242
|
-
|
243
|
-
<li class="public ">
|
244
|
-
<span class="summary_signature">
|
245
|
-
|
246
|
-
<a href="#list_with_http_info-instance_method" title="#list_with_http_info (instance method)">#<strong>list_with_http_info</strong>(location, custom_headers = nil) ⇒ MsRestAzure::AzureOperationResponse </a>
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
</span>
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
<span class="summary_desc"><div class='inline'>
|
261
|
-
<p>Lists all available virtual machine sizes for a subscription in a location.</p>
|
262
|
-
</div></span>
|
263
|
-
|
264
|
-
</li>
|
265
|
-
|
266
|
-
|
267
|
-
</ul>
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
<div id="constructor_details" class="method_details_list">
|
278
|
-
<h2>Constructor Details</h2>
|
279
|
-
|
280
|
-
<div class="method_details first">
|
281
|
-
<h3 class="signature first" id="initialize-instance_method">
|
282
|
-
|
283
|
-
#<strong>initialize</strong>(client) ⇒ <tt><span class='object_link'><a href="" title="Azure::ARM::Compute::VirtualMachineSizes (class)">VirtualMachineSizes</a></span></tt>
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
</h3><div class="docstring">
|
290
|
-
<div class="discussion">
|
291
|
-
|
292
|
-
<p>Creates and initializes a new instance of the VirtualMachineSizes class.</p>
|
293
|
-
|
294
|
-
|
295
|
-
</div>
|
296
|
-
</div>
|
297
|
-
<div class="tags">
|
298
|
-
<p class="tag_title">Parameters:</p>
|
299
|
-
<ul class="param">
|
300
|
-
|
301
|
-
<li>
|
302
|
-
|
303
|
-
<span class='name'>client</span>
|
304
|
-
|
305
|
-
|
306
|
-
<span class='type'></span>
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
—
|
311
|
-
<div class='inline'>
|
312
|
-
<p>service class for accessing basic functionality.</p>
|
313
|
-
</div>
|
314
|
-
|
315
|
-
</li>
|
316
|
-
|
317
|
-
</ul>
|
318
|
-
|
319
|
-
|
320
|
-
</div><table class="source_code">
|
321
|
-
<tr>
|
322
|
-
<td>
|
323
|
-
<pre class="lines">
|
324
|
-
|
325
|
-
|
326
|
-
18
|
327
|
-
19
|
328
|
-
20</pre>
|
329
|
-
</td>
|
330
|
-
<td>
|
331
|
-
<pre class="code"><span class="info file"># File 'lib/generated/azure_mgmt_compute/virtual_machine_sizes.rb', line 18</span>
|
332
|
-
|
333
|
-
<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>
|
334
|
-
<span class='ivar'>@client</span> <span class='op'>=</span> <span class='id identifier rubyid_client'>client</span>
|
335
|
-
<span class='kw'>end</span></pre>
|
336
|
-
</td>
|
337
|
-
</tr>
|
338
|
-
</table>
|
339
|
-
</div>
|
340
|
-
|
341
|
-
</div>
|
342
|
-
|
343
|
-
<div id="instance_attr_details" class="attr_details">
|
344
|
-
<h2>Instance Attribute Details</h2>
|
345
|
-
|
346
|
-
|
347
|
-
<span id=""></span>
|
348
|
-
<div class="method_details first">
|
349
|
-
<h3 class="signature first" id="client-instance_method">
|
350
|
-
|
351
|
-
#<strong>client</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
</h3><div class="docstring">
|
358
|
-
<div class="discussion">
|
359
|
-
|
360
|
-
<p>Returns reference to the ComputeManagementClient</p>
|
361
|
-
|
362
|
-
|
363
|
-
</div>
|
364
|
-
</div>
|
365
|
-
<div class="tags">
|
366
|
-
|
367
|
-
<p class="tag_title">Returns:</p>
|
368
|
-
<ul class="return">
|
369
|
-
|
370
|
-
<li>
|
371
|
-
|
372
|
-
|
373
|
-
<span class='type'></span>
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
<div class='inline'>
|
379
|
-
<p>reference to the ComputeManagementClient</p>
|
380
|
-
</div>
|
381
|
-
|
382
|
-
</li>
|
383
|
-
|
384
|
-
</ul>
|
385
|
-
|
386
|
-
</div><table class="source_code">
|
387
|
-
<tr>
|
388
|
-
<td>
|
389
|
-
<pre class="lines">
|
390
|
-
|
391
|
-
|
392
|
-
23
|
393
|
-
24
|
394
|
-
25</pre>
|
395
|
-
</td>
|
396
|
-
<td>
|
397
|
-
<pre class="code"><span class="info file"># File 'lib/generated/azure_mgmt_compute/virtual_machine_sizes.rb', line 23</span>
|
398
|
-
|
399
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_client'>client</span>
|
400
|
-
<span class='ivar'>@client</span>
|
401
|
-
<span class='kw'>end</span></pre>
|
402
|
-
</td>
|
403
|
-
</tr>
|
404
|
-
</table>
|
405
|
-
</div>
|
406
|
-
|
407
|
-
</div>
|
408
|
-
|
409
|
-
|
410
|
-
<div id="instance_method_details" class="method_details_list">
|
411
|
-
<h2>Instance Method Details</h2>
|
412
|
-
|
413
|
-
|
414
|
-
<div class="method_details first">
|
415
|
-
<h3 class="signature first" id="list-instance_method">
|
416
|
-
|
417
|
-
#<strong>list</strong>(location, custom_headers = nil) ⇒ <tt><span class='object_link'><a href="Models/VirtualMachineSizeListResult.html" title="Azure::ARM::Compute::Models::VirtualMachineSizeListResult (class)">VirtualMachineSizeListResult</a></span></tt>
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
</h3><div class="docstring">
|
424
|
-
<div class="discussion">
|
425
|
-
|
426
|
-
<p>Lists all available virtual machine sizes for a subscription in a location.</p>
|
427
|
-
|
428
|
-
<p>queried. will be added to the HTTP request.</p>
|
429
|
-
|
430
|
-
|
431
|
-
</div>
|
432
|
-
</div>
|
433
|
-
<div class="tags">
|
434
|
-
<p class="tag_title">Parameters:</p>
|
435
|
-
<ul class="param">
|
436
|
-
|
437
|
-
<li>
|
438
|
-
|
439
|
-
<span class='name'>location</span>
|
440
|
-
|
441
|
-
|
442
|
-
<span class='type'>(<tt>String</tt>)</span>
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
—
|
447
|
-
<div class='inline'>
|
448
|
-
<p>The location upon which virtual-machine-sizes is</p>
|
449
|
-
</div>
|
450
|
-
|
451
|
-
</li>
|
452
|
-
|
453
|
-
<li>
|
454
|
-
|
455
|
-
<span class='name'>custom_headers</span>
|
456
|
-
|
457
|
-
|
458
|
-
<span class='type'>(<tt>Hash{String => String}</tt>)</span>
|
459
|
-
|
460
|
-
|
461
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
462
|
-
|
463
|
-
|
464
|
-
—
|
465
|
-
<div class='inline'>
|
466
|
-
<p>A hash of custom headers that</p>
|
467
|
-
</div>
|
468
|
-
|
469
|
-
</li>
|
470
|
-
|
471
|
-
</ul>
|
472
|
-
|
473
|
-
<p class="tag_title">Returns:</p>
|
474
|
-
<ul class="return">
|
475
|
-
|
476
|
-
<li>
|
477
|
-
|
478
|
-
|
479
|
-
<span class='type'>(<tt><span class='object_link'><a href="Models/VirtualMachineSizeListResult.html" title="Azure::ARM::Compute::Models::VirtualMachineSizeListResult (class)">VirtualMachineSizeListResult</a></span></tt>)</span>
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
—
|
484
|
-
<div class='inline'>
|
485
|
-
<p>operation results.</p>
|
486
|
-
</div>
|
487
|
-
|
488
|
-
</li>
|
489
|
-
|
490
|
-
</ul>
|
491
|
-
|
492
|
-
</div><table class="source_code">
|
493
|
-
<tr>
|
494
|
-
<td>
|
495
|
-
<pre class="lines">
|
496
|
-
|
497
|
-
|
498
|
-
35
|
499
|
-
36
|
500
|
-
37
|
501
|
-
38</pre>
|
502
|
-
</td>
|
503
|
-
<td>
|
504
|
-
<pre class="code"><span class="info file"># File 'lib/generated/azure_mgmt_compute/virtual_machine_sizes.rb', line 35</span>
|
505
|
-
|
506
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span><span class='id identifier rubyid_location'>location</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>
|
507
|
-
<span class='id identifier rubyid_response'>response</span> <span class='op'>=</span> <span class='id identifier rubyid_list_async'>list_async</span><span class='lparen'>(</span><span class='id identifier rubyid_location'>location</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>
|
508
|
-
<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>
|
509
|
-
<span class='kw'>end</span></pre>
|
510
|
-
</td>
|
511
|
-
</tr>
|
512
|
-
</table>
|
513
|
-
</div>
|
514
|
-
|
515
|
-
<div class="method_details ">
|
516
|
-
<h3 class="signature " id="list_async-instance_method">
|
517
|
-
|
518
|
-
#<strong>list_async</strong>(location, custom_headers = nil) ⇒ <tt>Concurrent::Promise</tt>
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
</h3><div class="docstring">
|
525
|
-
<div class="discussion">
|
526
|
-
|
527
|
-
<p>Lists all available virtual machine sizes for a subscription in a location.</p>
|
528
|
-
|
529
|
-
<p>queried. to the HTTP request.</p>
|
530
|
-
|
531
|
-
|
532
|
-
</div>
|
533
|
-
</div>
|
534
|
-
<div class="tags">
|
535
|
-
<p class="tag_title">Parameters:</p>
|
536
|
-
<ul class="param">
|
537
|
-
|
538
|
-
<li>
|
539
|
-
|
540
|
-
<span class='name'>location</span>
|
541
|
-
|
542
|
-
|
543
|
-
<span class='type'>(<tt>String</tt>)</span>
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
—
|
548
|
-
<div class='inline'>
|
549
|
-
<p>The location upon which virtual-machine-sizes is</p>
|
550
|
-
</div>
|
551
|
-
|
552
|
-
</li>
|
553
|
-
|
554
|
-
<li>
|
555
|
-
|
556
|
-
<span class='name'>A</span>
|
557
|
-
|
558
|
-
|
559
|
-
<span class='type'>(<tt>Hash{String => String}</tt>)</span>
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
—
|
564
|
-
<div class='inline'>
|
565
|
-
<p>hash of custom headers that will be added</p>
|
566
|
-
</div>
|
567
|
-
|
568
|
-
</li>
|
569
|
-
|
570
|
-
</ul>
|
571
|
-
|
572
|
-
<p class="tag_title">Returns:</p>
|
573
|
-
<ul class="return">
|
574
|
-
|
575
|
-
<li>
|
576
|
-
|
577
|
-
|
578
|
-
<span class='type'>(<tt>Concurrent::Promise</tt>)</span>
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
—
|
583
|
-
<div class='inline'>
|
584
|
-
<p>Promise object which holds the HTTP response.</p>
|
585
|
-
</div>
|
586
|
-
|
587
|
-
</li>
|
588
|
-
|
589
|
-
</ul>
|
590
|
-
|
591
|
-
</div><table class="source_code">
|
592
|
-
<tr>
|
593
|
-
<td>
|
594
|
-
<pre class="lines">
|
595
|
-
|
596
|
-
|
597
|
-
64
|
598
|
-
65
|
599
|
-
66
|
600
|
-
67
|
601
|
-
68
|
602
|
-
69
|
603
|
-
70
|
604
|
-
71
|
605
|
-
72
|
606
|
-
73
|
607
|
-
74
|
608
|
-
75
|
609
|
-
76
|
610
|
-
77
|
611
|
-
78
|
612
|
-
79
|
613
|
-
80
|
614
|
-
81
|
615
|
-
82
|
616
|
-
83
|
617
|
-
84
|
618
|
-
85
|
619
|
-
86
|
620
|
-
87
|
621
|
-
88
|
622
|
-
89
|
623
|
-
90
|
624
|
-
91
|
625
|
-
92
|
626
|
-
93
|
627
|
-
94
|
628
|
-
95
|
629
|
-
96
|
630
|
-
97
|
631
|
-
98
|
632
|
-
99
|
633
|
-
100
|
634
|
-
101
|
635
|
-
102
|
636
|
-
103
|
637
|
-
104
|
638
|
-
105
|
639
|
-
106
|
640
|
-
107
|
641
|
-
108
|
642
|
-
109
|
643
|
-
110
|
644
|
-
111
|
645
|
-
112
|
646
|
-
113
|
647
|
-
114
|
648
|
-
115
|
649
|
-
116</pre>
|
650
|
-
</td>
|
651
|
-
<td>
|
652
|
-
<pre class="code"><span class="info file"># File 'lib/generated/azure_mgmt_compute/virtual_machine_sizes.rb', line 64</span>
|
653
|
-
|
654
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_list_async'>list_async</span><span class='lparen'>(</span><span class='id identifier rubyid_location'>location</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>
|
655
|
-
<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>
|
656
|
-
<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>
|
657
|
-
<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>
|
658
|
-
|
659
|
-
|
660
|
-
<span class='id identifier rubyid_request_headers'>request_headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
661
|
-
|
662
|
-
<span class='comment'># Set Headers
|
663
|
-
</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>
|
664
|
-
<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>
|
665
|
-
<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}/vmSizes</span><span class='tstring_end'>'</span></span>
|
666
|
-
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
667
|
-
<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>
|
668
|
-
<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'>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>
|
669
|
-
<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>
|
670
|
-
<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>
|
671
|
-
<span class='rbrace'>}</span>
|
672
|
-
|
673
|
-
<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>
|
674
|
-
|
675
|
-
<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>
|
676
|
-
<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>
|
677
|
-
<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>
|
678
|
-
<span class='kw'>end</span>
|
679
|
-
|
680
|
-
<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>
|
681
|
-
<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>
|
682
|
-
<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>
|
683
|
-
<span class='kw'>unless</span> <span class='id identifier rubyid_status_code'>status_code</span> <span class='op'>==</span> <span class='int'>200</span>
|
684
|
-
<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>
|
685
|
-
<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>
|
686
|
-
<span class='kw'>end</span>
|
687
|
-
|
688
|
-
<span class='comment'># Create Result
|
689
|
-
</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>
|
690
|
-
<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>
|
691
|
-
<span class='comment'># Deserialize Response
|
692
|
-
</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>
|
693
|
-
<span class='kw'>begin</span>
|
694
|
-
<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>
|
695
|
-
<span class='id identifier rubyid_result_mapper'>result_mapper</span> <span class='op'>=</span> <span class='const'>VirtualMachineSizeListResult</span><span class='period'>.</span><span class='id identifier rubyid_mapper'>mapper</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
696
|
-
<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>
|
697
|
-
<span class='kw'>rescue</span> <span class='const'>Exception</span> <span class='op'>=></span> <span class='id identifier rubyid_e'>e</span>
|
698
|
-
<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>
|
699
|
-
<span class='kw'>end</span>
|
700
|
-
<span class='kw'>end</span>
|
701
|
-
|
702
|
-
<span class='id identifier rubyid_result'>result</span>
|
703
|
-
<span class='kw'>end</span>
|
704
|
-
|
705
|
-
<span class='id identifier rubyid_promise'>promise</span><span class='period'>.</span><span class='id identifier rubyid_execute'>execute</span>
|
706
|
-
<span class='kw'>end</span></pre>
|
707
|
-
</td>
|
708
|
-
</tr>
|
709
|
-
</table>
|
710
|
-
</div>
|
711
|
-
|
712
|
-
<div class="method_details ">
|
713
|
-
<h3 class="signature " id="list_with_http_info-instance_method">
|
714
|
-
|
715
|
-
#<strong>list_with_http_info</strong>(location, custom_headers = nil) ⇒ <tt>MsRestAzure::AzureOperationResponse</tt>
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
</h3><div class="docstring">
|
722
|
-
<div class="discussion">
|
723
|
-
|
724
|
-
<p>Lists all available virtual machine sizes for a subscription in a location.</p>
|
725
|
-
|
726
|
-
<p>queried. will be added to the HTTP request.</p>
|
727
|
-
|
728
|
-
|
729
|
-
</div>
|
730
|
-
</div>
|
731
|
-
<div class="tags">
|
732
|
-
<p class="tag_title">Parameters:</p>
|
733
|
-
<ul class="param">
|
734
|
-
|
735
|
-
<li>
|
736
|
-
|
737
|
-
<span class='name'>location</span>
|
738
|
-
|
739
|
-
|
740
|
-
<span class='type'>(<tt>String</tt>)</span>
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
—
|
745
|
-
<div class='inline'>
|
746
|
-
<p>The location upon which virtual-machine-sizes is</p>
|
747
|
-
</div>
|
748
|
-
|
749
|
-
</li>
|
750
|
-
|
751
|
-
<li>
|
752
|
-
|
753
|
-
<span class='name'>custom_headers</span>
|
754
|
-
|
755
|
-
|
756
|
-
<span class='type'>(<tt>Hash{String => String}</tt>)</span>
|
757
|
-
|
758
|
-
|
759
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
760
|
-
|
761
|
-
|
762
|
-
—
|
763
|
-
<div class='inline'>
|
764
|
-
<p>A hash of custom headers that</p>
|
765
|
-
</div>
|
766
|
-
|
767
|
-
</li>
|
768
|
-
|
769
|
-
</ul>
|
770
|
-
|
771
|
-
<p class="tag_title">Returns:</p>
|
772
|
-
<ul class="return">
|
773
|
-
|
774
|
-
<li>
|
775
|
-
|
776
|
-
|
777
|
-
<span class='type'>(<tt>MsRestAzure::AzureOperationResponse</tt>)</span>
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
—
|
782
|
-
<div class='inline'>
|
783
|
-
<p>HTTP response information.</p>
|
784
|
-
</div>
|
785
|
-
|
786
|
-
</li>
|
787
|
-
|
788
|
-
</ul>
|
789
|
-
|
790
|
-
</div><table class="source_code">
|
791
|
-
<tr>
|
792
|
-
<td>
|
793
|
-
<pre class="lines">
|
794
|
-
|
795
|
-
|
796
|
-
50
|
797
|
-
51
|
798
|
-
52</pre>
|
799
|
-
</td>
|
800
|
-
<td>
|
801
|
-
<pre class="code"><span class="info file"># File 'lib/generated/azure_mgmt_compute/virtual_machine_sizes.rb', line 50</span>
|
802
|
-
|
803
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_list_with_http_info'>list_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_custom_headers'>custom_headers</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
804
|
-
<span class='id identifier rubyid_list_async'>list_async</span><span class='lparen'>(</span><span class='id identifier rubyid_location'>location</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>
|
805
|
-
<span class='kw'>end</span></pre>
|
806
|
-
</td>
|
807
|
-
</tr>
|
808
|
-
</table>
|
809
|
-
</div>
|
810
|
-
|
811
|
-
</div>
|
812
|
-
|
813
|
-
</div>
|
814
|
-
|
815
|
-
<div id="footer">
|
816
|
-
Generated on Thu Jul 21 16:09:34 2016 by
|
817
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
818
|
-
0.9.2 (ruby-2.3.0).
|
819
|
-
</div>
|
820
|
-
|
821
|
-
</div>
|
822
|
-
</body>
|
823
|
-
</html>
|