Interface VirtualMachineScaleSetVMExtensionsClient


public interface VirtualMachineScaleSetVMExtensionsClient
An instance of this class provides access to all the operations defined in VirtualMachineScaleSetVMExtensionsClient.
  • Method Details

    • listWithResponseAsync

      Mono<com.azure.core.http.rest.Response<VirtualMachineScaleSetVMExtensionsListResultInner>> listWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, String expand)
      The operation to get all extensions of an instance in Virtual Machine Scaleset.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      expand - The expand expression to apply on the operation.
      Returns:
      the List VMSS VM Extension operation response along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listAsync

      Mono<VirtualMachineScaleSetVMExtensionsListResultInner> listAsync(String resourceGroupName, String vmScaleSetName, String instanceId)
      The operation to get all extensions of an instance in Virtual Machine Scaleset.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      Returns:
      the List VMSS VM Extension operation response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listWithResponse

      com.azure.core.http.rest.Response<VirtualMachineScaleSetVMExtensionsListResultInner> listWithResponse(String resourceGroupName, String vmScaleSetName, String instanceId, String expand, com.azure.core.util.Context context)
      The operation to get all extensions of an instance in Virtual Machine Scaleset.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      expand - The expand expression to apply on the operation.
      context - The context to associate with this operation.
      Returns:
      the List VMSS VM Extension operation response along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      VirtualMachineScaleSetVMExtensionsListResultInner list(String resourceGroupName, String vmScaleSetName, String instanceId)
      The operation to get all extensions of an instance in Virtual Machine Scaleset.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      Returns:
      the List VMSS VM Extension operation response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<VirtualMachineScaleSetVMExtensionInner>> getWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, String vmExtensionName, String expand)
      The operation to get the VMSS VM extension.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      vmExtensionName - The name of the virtual machine extension.
      expand - The expand expression to apply on the operation.
      Returns:
      describes a VMSS VM Extension along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getAsync

      Mono<VirtualMachineScaleSetVMExtensionInner> getAsync(String resourceGroupName, String vmScaleSetName, String instanceId, String vmExtensionName)
      The operation to get the VMSS VM extension.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      vmExtensionName - The name of the virtual machine extension.
      Returns:
      describes a VMSS VM Extension on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getWithResponse

      com.azure.core.http.rest.Response<VirtualMachineScaleSetVMExtensionInner> getWithResponse(String resourceGroupName, String vmScaleSetName, String instanceId, String vmExtensionName, String expand, com.azure.core.util.Context context)
      The operation to get the VMSS VM extension.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      vmExtensionName - The name of the virtual machine extension.
      expand - The expand expression to apply on the operation.
      context - The context to associate with this operation.
      Returns:
      describes a VMSS VM Extension along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • get

      VirtualMachineScaleSetVMExtensionInner get(String resourceGroupName, String vmScaleSetName, String instanceId, String vmExtensionName)
      The operation to get the VMSS VM extension.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      vmExtensionName - The name of the virtual machine extension.
      Returns:
      describes a VMSS VM Extension.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, String vmExtensionName, VirtualMachineScaleSetVMExtensionInner extensionParameters)
      The operation to create or update the VMSS VM extension.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      vmExtensionName - The name of the virtual machine extension.
      extensionParameters - Parameters supplied to the Create Virtual Machine Extension operation.
      Returns:
      describes a VMSS VM Extension along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetVMExtensionInner>, VirtualMachineScaleSetVMExtensionInner> beginCreateOrUpdateAsync(String resourceGroupName, String vmScaleSetName, String instanceId, String vmExtensionName, VirtualMachineScaleSetVMExtensionInner extensionParameters)
      The operation to create or update the VMSS VM extension.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      vmExtensionName - The name of the virtual machine extension.
      extensionParameters - Parameters supplied to the Create Virtual Machine Extension operation.
      Returns:
      the PollerFlux for polling of describes a VMSS VM Extension.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetVMExtensionInner>, VirtualMachineScaleSetVMExtensionInner> beginCreateOrUpdate(String resourceGroupName, String vmScaleSetName, String instanceId, String vmExtensionName, VirtualMachineScaleSetVMExtensionInner extensionParameters)
      The operation to create or update the VMSS VM extension.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      vmExtensionName - The name of the virtual machine extension.
      extensionParameters - Parameters supplied to the Create Virtual Machine Extension operation.
      Returns:
      the SyncPoller for polling of describes a VMSS VM Extension.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetVMExtensionInner>, VirtualMachineScaleSetVMExtensionInner> beginCreateOrUpdate(String resourceGroupName, String vmScaleSetName, String instanceId, String vmExtensionName, VirtualMachineScaleSetVMExtensionInner extensionParameters, com.azure.core.util.Context context)
      The operation to create or update the VMSS VM extension.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      vmExtensionName - The name of the virtual machine extension.
      extensionParameters - Parameters supplied to the Create Virtual Machine Extension operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of describes a VMSS VM Extension.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateAsync

      Mono<VirtualMachineScaleSetVMExtensionInner> createOrUpdateAsync(String resourceGroupName, String vmScaleSetName, String instanceId, String vmExtensionName, VirtualMachineScaleSetVMExtensionInner extensionParameters)
      The operation to create or update the VMSS VM extension.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      vmExtensionName - The name of the virtual machine extension.
      extensionParameters - Parameters supplied to the Create Virtual Machine Extension operation.
      Returns:
      describes a VMSS VM Extension on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      VirtualMachineScaleSetVMExtensionInner createOrUpdate(String resourceGroupName, String vmScaleSetName, String instanceId, String vmExtensionName, VirtualMachineScaleSetVMExtensionInner extensionParameters)
      The operation to create or update the VMSS VM extension.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      vmExtensionName - The name of the virtual machine extension.
      extensionParameters - Parameters supplied to the Create Virtual Machine Extension operation.
      Returns:
      describes a VMSS VM Extension.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      VirtualMachineScaleSetVMExtensionInner createOrUpdate(String resourceGroupName, String vmScaleSetName, String instanceId, String vmExtensionName, VirtualMachineScaleSetVMExtensionInner extensionParameters, com.azure.core.util.Context context)
      The operation to create or update the VMSS VM extension.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      vmExtensionName - The name of the virtual machine extension.
      extensionParameters - Parameters supplied to the Create Virtual Machine Extension operation.
      context - The context to associate with this operation.
      Returns:
      describes a VMSS VM Extension.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, String vmExtensionName, VirtualMachineScaleSetVMExtensionUpdate extensionParameters)
      The operation to update the VMSS VM extension.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      vmExtensionName - The name of the virtual machine extension.
      extensionParameters - Parameters supplied to the Update Virtual Machine Extension operation.
      Returns:
      describes a VMSS VM Extension along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetVMExtensionInner>, VirtualMachineScaleSetVMExtensionInner> beginUpdateAsync(String resourceGroupName, String vmScaleSetName, String instanceId, String vmExtensionName, VirtualMachineScaleSetVMExtensionUpdate extensionParameters)
      The operation to update the VMSS VM extension.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      vmExtensionName - The name of the virtual machine extension.
      extensionParameters - Parameters supplied to the Update Virtual Machine Extension operation.
      Returns:
      the PollerFlux for polling of describes a VMSS VM Extension.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetVMExtensionInner>, VirtualMachineScaleSetVMExtensionInner> beginUpdate(String resourceGroupName, String vmScaleSetName, String instanceId, String vmExtensionName, VirtualMachineScaleSetVMExtensionUpdate extensionParameters)
      The operation to update the VMSS VM extension.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      vmExtensionName - The name of the virtual machine extension.
      extensionParameters - Parameters supplied to the Update Virtual Machine Extension operation.
      Returns:
      the SyncPoller for polling of describes a VMSS VM Extension.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineScaleSetVMExtensionInner>, VirtualMachineScaleSetVMExtensionInner> beginUpdate(String resourceGroupName, String vmScaleSetName, String instanceId, String vmExtensionName, VirtualMachineScaleSetVMExtensionUpdate extensionParameters, com.azure.core.util.Context context)
      The operation to update the VMSS VM extension.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      vmExtensionName - The name of the virtual machine extension.
      extensionParameters - Parameters supplied to the Update Virtual Machine Extension operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of describes a VMSS VM Extension.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateAsync

      Mono<VirtualMachineScaleSetVMExtensionInner> updateAsync(String resourceGroupName, String vmScaleSetName, String instanceId, String vmExtensionName, VirtualMachineScaleSetVMExtensionUpdate extensionParameters)
      The operation to update the VMSS VM extension.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      vmExtensionName - The name of the virtual machine extension.
      extensionParameters - Parameters supplied to the Update Virtual Machine Extension operation.
      Returns:
      describes a VMSS VM Extension on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      VirtualMachineScaleSetVMExtensionInner update(String resourceGroupName, String vmScaleSetName, String instanceId, String vmExtensionName, VirtualMachineScaleSetVMExtensionUpdate extensionParameters)
      The operation to update the VMSS VM extension.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      vmExtensionName - The name of the virtual machine extension.
      extensionParameters - Parameters supplied to the Update Virtual Machine Extension operation.
      Returns:
      describes a VMSS VM Extension.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      VirtualMachineScaleSetVMExtensionInner update(String resourceGroupName, String vmScaleSetName, String instanceId, String vmExtensionName, VirtualMachineScaleSetVMExtensionUpdate extensionParameters, com.azure.core.util.Context context)
      The operation to update the VMSS VM extension.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      vmExtensionName - The name of the virtual machine extension.
      extensionParameters - Parameters supplied to the Update Virtual Machine Extension operation.
      context - The context to associate with this operation.
      Returns:
      describes a VMSS VM Extension.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, String vmExtensionName)
      The operation to delete the VMSS VM extension.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      vmExtensionName - The name of the virtual machine extension.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDeleteAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>, Void> beginDeleteAsync(String resourceGroupName, String vmScaleSetName, String instanceId, String vmExtensionName)
      The operation to delete the VMSS VM extension.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      vmExtensionName - The name of the virtual machine extension.
      Returns:
      the PollerFlux for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginDelete(String resourceGroupName, String vmScaleSetName, String instanceId, String vmExtensionName)
      The operation to delete the VMSS VM extension.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      vmExtensionName - The name of the virtual machine extension.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginDelete(String resourceGroupName, String vmScaleSetName, String instanceId, String vmExtensionName, com.azure.core.util.Context context)
      The operation to delete the VMSS VM extension.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      vmExtensionName - The name of the virtual machine extension.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String vmScaleSetName, String instanceId, String vmExtensionName)
      The operation to delete the VMSS VM extension.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      vmExtensionName - The name of the virtual machine extension.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String vmScaleSetName, String instanceId, String vmExtensionName)
      The operation to delete the VMSS VM extension.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      vmExtensionName - The name of the virtual machine extension.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String vmScaleSetName, String instanceId, String vmExtensionName, com.azure.core.util.Context context)
      The operation to delete the VMSS VM extension.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      vmScaleSetName - The name of the VM scale set.
      instanceId - The instance ID of the virtual machine.
      vmExtensionName - The name of the virtual machine extension.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.