public interface VirtualMachineSizeOperations
| Modifier and Type | Method and Description |
|---|---|
VirtualMachineSizeListResponse |
list(String location)
Lists virtual-machine-sizes available in a location for a subscription.
|
Future<VirtualMachineSizeListResponse> |
listAsync(String location)
Lists virtual-machine-sizes available in a location for a subscription.
|
VirtualMachineSizeListResponse list(String location) throws IOException, ServiceException, URISyntaxException
location - Required. The location upon which virtual-machine-sizes
is queried.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.URISyntaxException - Thrown if there was an error parsing a URI in
the response.Future<VirtualMachineSizeListResponse> listAsync(String location)
location - Required. The location upon which virtual-machine-sizes
is queried./**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/