public interface ExtensionImageOperations
| Modifier and Type | Method and Description |
|---|---|
OperationResponse |
beginRegistering(ExtensionImageRegisterParameters parameters)
Register a new extension.
|
Future<OperationResponse> |
beginRegisteringAsync(ExtensionImageRegisterParameters parameters)
Register a new extension.
|
OperationResponse |
beginUnregistering(String providerNamespace,
String type,
String version)
Unregister a version of an extension that was previously registered using
either the Register Extension or Update Extension APIs.
|
Future<OperationResponse> |
beginUnregisteringAsync(String providerNamespace,
String type,
String version)
Unregister a version of an extension that was previously registered using
either the Register Extension or Update Extension APIs.
|
OperationResponse |
beginUpdating(ExtensionImageUpdateParameters parameters)
Update a new extension.
|
Future<OperationResponse> |
beginUpdatingAsync(ExtensionImageUpdateParameters parameters)
Update a new extension.
|
OperationStatusResponse |
register(ExtensionImageRegisterParameters parameters)
Register a new extension.
|
Future<OperationStatusResponse> |
registerAsync(ExtensionImageRegisterParameters parameters)
Register a new extension.
|
OperationStatusResponse |
unregister(String providerNamespace,
String type,
String version)
Unregister a version of an extension that was previously registered using
either the Register Extension or Update Extension APIs.
|
Future<OperationStatusResponse> |
unregisterAsync(String providerNamespace,
String type,
String version)
Unregister a version of an extension that was previously registered using
either the Register Extension or Update Extension APIs.
|
OperationStatusResponse |
update(ExtensionImageUpdateParameters parameters)
Update a new extension.
|
Future<OperationStatusResponse> |
updateAsync(ExtensionImageUpdateParameters parameters)
Update a new extension.
|
OperationResponse beginRegistering(ExtensionImageRegisterParameters parameters) throws ParserConfigurationException, SAXException, TransformerException, IOException, ServiceException
parameters - Required. Parameters supplied to the Register Virtual
Machine Extension Image operation.ParserConfigurationException - Thrown if there was an error
configuring the parser for the response body.SAXException - Thrown if there was an error parsing the response
body.TransformerException - Thrown if there was an error creating the
DOM transformer.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.Future<OperationResponse> beginRegisteringAsync(ExtensionImageRegisterParameters parameters)
parameters - Required. Parameters supplied to the Register Virtual
Machine Extension Image operation.OperationResponse beginUnregistering(String providerNamespace, String type, String version) throws IOException, ServiceException
providerNamespace - Required. The provider namespace of the
extension image to unregister.type - Required. The type of the extension image to unregister.version - Required. The version of the extension image to unregister.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.Future<OperationResponse> beginUnregisteringAsync(String providerNamespace, String type, String version)
providerNamespace - Required. The provider namespace of the
extension image to unregister.type - Required. The type of the extension image to unregister.version - Required. The version of the extension image to unregister.OperationResponse beginUpdating(ExtensionImageUpdateParameters parameters) throws ParserConfigurationException, SAXException, TransformerException, IOException, ServiceException
parameters - Required. Parameters supplied to the Update Virtual
Machine Extension Image operation.ParserConfigurationException - Thrown if there was an error
configuring the parser for the response body.SAXException - Thrown if there was an error parsing the response
body.TransformerException - Thrown if there was an error creating the
DOM transformer.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.Future<OperationResponse> beginUpdatingAsync(ExtensionImageUpdateParameters parameters)
parameters - Required. Parameters supplied to the Update Virtual
Machine Extension Image operation.OperationStatusResponse register(ExtensionImageRegisterParameters parameters) throws InterruptedException, ExecutionException, ServiceException, IOException
parameters - Required. Parameters supplied to the Register Virtual
Machine Extension Image operation.InterruptedException - Thrown when a thread is waiting, sleeping,
or otherwise occupied, and the thread is interrupted, either before or
during the activity. Occasionally a method may wish to test whether the
current thread has been interrupted, and if so, to immediately throw
this exception. The following code can be used to achieve this effect:ExecutionException - Thrown when attempting to retrieve the result
of a task that aborted by throwing an exception. This exception can be
inspected using the Throwable.getCause() method.ServiceException - Thrown if the server returned an error for the
request.IOException - Thrown if there was an error setting up tracing for
the request.Future<OperationStatusResponse> registerAsync(ExtensionImageRegisterParameters parameters)
parameters - Required. Parameters supplied to the Register Virtual
Machine Extension Image operation.OperationStatusResponse unregister(String providerNamespace, String type, String version) throws InterruptedException, ExecutionException, ServiceException, IOException
providerNamespace - Required. The provider namespace of the
extension image to unregister.type - Required. The type of the extension image to unregister.version - Required. The version of the extension image to unregister.InterruptedException - Thrown when a thread is waiting, sleeping,
or otherwise occupied, and the thread is interrupted, either before or
during the activity. Occasionally a method may wish to test whether the
current thread has been interrupted, and if so, to immediately throw
this exception. The following code can be used to achieve this effect:ExecutionException - Thrown when attempting to retrieve the result
of a task that aborted by throwing an exception. This exception can be
inspected using the Throwable.getCause() method.ServiceException - Thrown if the server returned an error for the
request.IOException - Thrown if there was an error setting up tracing for
the request.Future<OperationStatusResponse> unregisterAsync(String providerNamespace, String type, String version)
providerNamespace - Required. The provider namespace of the
extension image to unregister.type - Required. The type of the extension image to unregister.version - Required. The version of the extension image to unregister.OperationStatusResponse update(ExtensionImageUpdateParameters parameters) throws InterruptedException, ExecutionException, ServiceException, IOException, ParserConfigurationException, SAXException, TransformerException, URISyntaxException
parameters - Required. Parameters supplied to the Update Virtual
Machine Extension Image operation.InterruptedException - Thrown when a thread is waiting, sleeping,
or otherwise occupied, and the thread is interrupted, either before or
during the activity. Occasionally a method may wish to test whether the
current thread has been interrupted, and if so, to immediately throw
this exception. The following code can be used to achieve this effect:ExecutionException - Thrown when attempting to retrieve the result
of a task that aborted by throwing an exception. This exception can be
inspected using the Throwable.getCause() method.ServiceException - Thrown if the server returned an error for the
request.IOException - Thrown if there was an error setting up tracing for
the request.ParserConfigurationException - Thrown if there was an error
configuring the parser for the response body.SAXException - Thrown if there was an error parsing the response
body.TransformerException - Thrown if there was an error creating the
DOM transformer.ServiceException - Thrown if an unexpected response is found.URISyntaxException - Thrown if there was an error parsing a URI in
the response.Future<OperationStatusResponse> updateAsync(ExtensionImageUpdateParameters parameters)
parameters - Required. Parameters supplied to the Update Virtual
Machine Extension Image operation./**
* 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.
*/