public interface VirtualMachineExtensionOperations
| Modifier and Type | Method and Description |
|---|---|
VirtualMachineExtensionCreateOrUpdateResponse |
beginCreatingOrUpdating(String resourceGroupName,
String vmName,
VirtualMachineExtension extensionParameters)
The operation to create or update the extension.
|
Future<VirtualMachineExtensionCreateOrUpdateResponse> |
beginCreatingOrUpdatingAsync(String resourceGroupName,
String vmName,
VirtualMachineExtension extensionParameters)
The operation to create or update the extension.
|
DeleteOperationResponse |
beginDeleting(String resourceGroupName,
String vmName,
String vmExtensionName)
The operation to delete the extension.
|
Future<DeleteOperationResponse> |
beginDeletingAsync(String resourceGroupName,
String vmName,
String vmExtensionName)
The operation to delete the extension.
|
ComputeLongRunningOperationResponse |
createOrUpdate(String resourceGroupName,
String vmName,
VirtualMachineExtension extensionParameters)
The operation to create or update the extension.
|
Future<ComputeLongRunningOperationResponse> |
createOrUpdateAsync(String resourceGroupName,
String vmName,
VirtualMachineExtension extensionParameters)
The operation to create or update the extension.
|
DeleteOperationResponse |
delete(String resourceGroupName,
String vmName,
String vmExtensionName) |
Future<DeleteOperationResponse> |
deleteAsync(String resourceGroupName,
String vmName,
String vmExtensionName) |
VirtualMachineExtensionGetResponse |
get(String resourceGroupName,
String vmName,
String vmExtensionName)
The operation to get the extension.
|
Future<VirtualMachineExtensionGetResponse> |
getAsync(String resourceGroupName,
String vmName,
String vmExtensionName)
The operation to get the extension.
|
VirtualMachineExtensionGetResponse |
getWithInstanceView(String resourceGroupName,
String vmName,
String vmExtensionName)
The operation to get an extension along with its instance view.
|
Future<VirtualMachineExtensionGetResponse> |
getWithInstanceViewAsync(String resourceGroupName,
String vmName,
String vmExtensionName)
The operation to get an extension along with its instance view.
|
VirtualMachineExtensionCreateOrUpdateResponse beginCreatingOrUpdating(String resourceGroupName, String vmName, VirtualMachineExtension extensionParameters) throws IOException, ServiceException, URISyntaxException
resourceGroupName - Required. The name of the resource group.vmName - Required. The name of the virtual machine where the
extension should be create or updated.extensionParameters - Required. Parameters supplied to the Create
Virtual Machine Extension operation.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<VirtualMachineExtensionCreateOrUpdateResponse> beginCreatingOrUpdatingAsync(String resourceGroupName, String vmName, VirtualMachineExtension extensionParameters)
resourceGroupName - Required. The name of the resource group.vmName - Required. The name of the virtual machine where the
extension should be create or updated.extensionParameters - Required. Parameters supplied to the Create
Virtual Machine Extension operation.DeleteOperationResponse beginDeleting(String resourceGroupName, String vmName, String vmExtensionName) throws IOException, ServiceException
resourceGroupName - Required. The name of the resource group.vmName - Required. The name of the virtual machine where the
extension should be deleted.vmExtensionName - Required. The name of the virtual machine
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.Future<DeleteOperationResponse> beginDeletingAsync(String resourceGroupName, String vmName, String vmExtensionName)
resourceGroupName - Required. The name of the resource group.vmName - Required. The name of the virtual machine where the
extension should be deleted.vmExtensionName - Required. The name of the virtual machine
extension.ComputeLongRunningOperationResponse createOrUpdate(String resourceGroupName, String vmName, VirtualMachineExtension extensionParameters) throws IOException, ServiceException, InterruptedException, ExecutionException
resourceGroupName - Required. The name of the resource group.vmName - Required. The name of the virtual machine where the
extension should be create or updated.extensionParameters - Required. Parameters supplied to the Create
Virtual Machine Extension operation.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.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.Future<ComputeLongRunningOperationResponse> createOrUpdateAsync(String resourceGroupName, String vmName, VirtualMachineExtension extensionParameters)
resourceGroupName - Required. The name of the resource group.vmName - Required. The name of the virtual machine where the
extension should be create or updated.extensionParameters - Required. Parameters supplied to the Create
Virtual Machine Extension operation.DeleteOperationResponse delete(String resourceGroupName, String vmName, String vmExtensionName) throws IOException, ServiceException, InterruptedException, ExecutionException
resourceGroupName - Required. The name of the resource group.vmName - Required. The name of the virtual machine where the
extension should be deleted.vmExtensionName - Required. The name of the virtual machine
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.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.Future<DeleteOperationResponse> deleteAsync(String resourceGroupName, String vmName, String vmExtensionName)
resourceGroupName - Required. The name of the resource group.vmName - Required. The name of the virtual machine where the
extension should be deleted.vmExtensionName - Required. The name of the virtual machine
extension.VirtualMachineExtensionGetResponse get(String resourceGroupName, String vmName, String vmExtensionName) throws IOException, ServiceException, URISyntaxException
resourceGroupName - Required. The name of the resource group.vmName - Required. The name of the virtual machine containing the
extension.vmExtensionName - Required. The name of the virtual machine
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.URISyntaxException - Thrown if there was an error parsing a URI in
the response.Future<VirtualMachineExtensionGetResponse> getAsync(String resourceGroupName, String vmName, String vmExtensionName)
resourceGroupName - Required. The name of the resource group.vmName - Required. The name of the virtual machine containing the
extension.vmExtensionName - Required. The name of the virtual machine
extension.VirtualMachineExtensionGetResponse getWithInstanceView(String resourceGroupName, String vmName, String vmExtensionName) throws IOException, ServiceException, URISyntaxException
resourceGroupName - Required. The name of the resource group.vmName - Required. The name of the virtual machine containing the
extension.vmExtensionName - Required. The name of the virtual machine
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.URISyntaxException - Thrown if there was an error parsing a URI in
the response.Future<VirtualMachineExtensionGetResponse> getWithInstanceViewAsync(String resourceGroupName, String vmName, String vmExtensionName)
resourceGroupName - Required. The name of the resource group.vmName - Required. The name of the virtual machine containing the
extension.vmExtensionName - Required. The name of the virtual machine
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.
*/