public interface VirtualMachineExtensionOperations
| Modifier and Type | Method and Description |
|---|---|
VirtualMachineExtensionListResponse |
list()
The List Resource Extensions operation lists the resource extensions that
are available to add to a Virtual Machine.
|
Future<VirtualMachineExtensionListResponse> |
listAsync()
The List Resource Extensions operation lists the resource extensions that
are available to add to a Virtual Machine.
|
VirtualMachineExtensionListResponse |
listVersions(String publisherName,
String extensionName)
The List Resource Extension Versions operation lists the versions of a
resource extension that are available to add to a Virtual Machine.
|
Future<VirtualMachineExtensionListResponse> |
listVersionsAsync(String publisherName,
String extensionName)
The List Resource Extension Versions operation lists the versions of a
resource extension that are available to add to a Virtual Machine.
|
VirtualMachineExtensionListResponse list() throws IOException, ServiceException, ParserConfigurationException, SAXException, URISyntaxException
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.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.Future<VirtualMachineExtensionListResponse> listAsync()
VirtualMachineExtensionListResponse listVersions(String publisherName, String extensionName) throws IOException, ServiceException, ParserConfigurationException, SAXException, URISyntaxException
publisherName - Required. The name of the publisher.extensionName - Required. The name of the extension.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.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.Future<VirtualMachineExtensionListResponse> listVersionsAsync(String publisherName, String extensionName)
publisherName - Required. The name of the publisher.extensionName - Required. The name of the extension./**
* 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.
*/