public class OperatingSystemOperationsImpl extends Object implements ServiceOperations<ComputeManagementClientImpl>, OperatingSystemOperations
| Modifier and Type | Method and Description |
|---|---|
ComputeManagementClientImpl |
getClient()
Gets a reference to the
microsoft.windowsazure.management.compute.ComputeManagementClientImpl.
|
OperatingSystemListResponse |
list()
The List Operating Systems operation lists the versions of the guest
operating system that are currently available in Windows Azure.
|
Future<OperatingSystemListResponse> |
listAsync()
The List Operating Systems operation lists the versions of the guest
operating system that are currently available in Windows Azure.
|
OperatingSystemListFamiliesResponse |
listFamilies()
The List OS Families operation lists the guest operating system families
available in Azure, and also lists the operating system versions
available for each family.
|
Future<OperatingSystemListFamiliesResponse> |
listFamiliesAsync()
The List OS Families operation lists the guest operating system families
available in Azure, and also lists the operating system versions
available for each family.
|
public ComputeManagementClientImpl getClient()
getClient in interface ServiceOperations<ComputeManagementClientImpl>public Future<OperatingSystemListResponse> listAsync()
listAsync in interface OperatingSystemOperationspublic OperatingSystemListResponse list() throws IOException, ServiceException, ParserConfigurationException, SAXException, URISyntaxException
list in interface OperatingSystemOperationsIOException - 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.ParserConfigurationException - Thrown if there was a serious
configuration error with the document parser.SAXException - Thrown if there was an error parsing the XML
response.URISyntaxException - Thrown if there was an error parsing a URI in
the response.public Future<OperatingSystemListFamiliesResponse> listFamiliesAsync()
listFamiliesAsync in interface OperatingSystemOperationspublic OperatingSystemListFamiliesResponse listFamilies() throws IOException, ServiceException, ParserConfigurationException, SAXException
listFamilies in interface OperatingSystemOperationsIOException - 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.ParserConfigurationException - Thrown if there was a serious
configuration error with the document parser.SAXException - Thrown if there was an error parsing the XML
response./**
* 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.
*/