Interface VirtualMachineScaleSetExtensionsClient


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

      • createOrUpdateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                                  String vmScaleSetName,
                                                                                                  String vmssExtensionName,
                                                                                                  VirtualMachineScaleSetExtensionInner extensionParameters)
        The operation to create or update an extension.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set where the extension should be create or updated.
        vmssExtensionName - The name of the VM scale set extension.
        extensionParameters - Parameters supplied to the Create VM scale set Extension operation.
        Returns:
        describes a Virtual Machine Scale Set 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<VirtualMachineScaleSetExtensionInner>,​VirtualMachineScaleSetExtensionInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                                                       String vmScaleSetName,
                                                                                                                                                                                                       String vmssExtensionName,
                                                                                                                                                                                                       VirtualMachineScaleSetExtensionInner extensionParameters)
        The operation to create or update an extension.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set where the extension should be create or updated.
        vmssExtensionName - The name of the VM scale set extension.
        extensionParameters - Parameters supplied to the Create VM scale set Extension operation.
        Returns:
        the PollerFlux for polling of describes a Virtual Machine Scale Set 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<VirtualMachineScaleSetExtensionInner>,​VirtualMachineScaleSetExtensionInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                                  String vmScaleSetName,
                                                                                                                                                                                                  String vmssExtensionName,
                                                                                                                                                                                                  VirtualMachineScaleSetExtensionInner extensionParameters)
        The operation to create or update an extension.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set where the extension should be create or updated.
        vmssExtensionName - The name of the VM scale set extension.
        extensionParameters - Parameters supplied to the Create VM scale set Extension operation.
        Returns:
        the SyncPoller for polling of describes a Virtual Machine Scale Set 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<VirtualMachineScaleSetExtensionInner>,​VirtualMachineScaleSetExtensionInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                                  String vmScaleSetName,
                                                                                                                                                                                                  String vmssExtensionName,
                                                                                                                                                                                                  VirtualMachineScaleSetExtensionInner extensionParameters,
                                                                                                                                                                                                  com.azure.core.util.Context context)
        The operation to create or update an extension.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set where the extension should be create or updated.
        vmssExtensionName - The name of the VM scale set extension.
        extensionParameters - Parameters supplied to the Create VM scale set Extension operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of describes a Virtual Machine Scale Set 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<VirtualMachineScaleSetExtensionInner> createOrUpdateAsync​(String resourceGroupName,
                                                                       String vmScaleSetName,
                                                                       String vmssExtensionName,
                                                                       VirtualMachineScaleSetExtensionInner extensionParameters)
        The operation to create or update an extension.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set where the extension should be create or updated.
        vmssExtensionName - The name of the VM scale set extension.
        extensionParameters - Parameters supplied to the Create VM scale set Extension operation.
        Returns:
        describes a Virtual Machine Scale Set 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

        VirtualMachineScaleSetExtensionInner createOrUpdate​(String resourceGroupName,
                                                            String vmScaleSetName,
                                                            String vmssExtensionName,
                                                            VirtualMachineScaleSetExtensionInner extensionParameters)
        The operation to create or update an extension.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set where the extension should be create or updated.
        vmssExtensionName - The name of the VM scale set extension.
        extensionParameters - Parameters supplied to the Create VM scale set Extension operation.
        Returns:
        describes a Virtual Machine Scale Set 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

        VirtualMachineScaleSetExtensionInner createOrUpdate​(String resourceGroupName,
                                                            String vmScaleSetName,
                                                            String vmssExtensionName,
                                                            VirtualMachineScaleSetExtensionInner extensionParameters,
                                                            com.azure.core.util.Context context)
        The operation to create or update an extension.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set where the extension should be create or updated.
        vmssExtensionName - The name of the VM scale set extension.
        extensionParameters - Parameters supplied to the Create VM scale set Extension operation.
        context - The context to associate with this operation.
        Returns:
        describes a Virtual Machine Scale Set 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 vmssExtensionName,
                                                                                          VirtualMachineScaleSetExtensionUpdate extensionParameters)
        The operation to update an extension.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set where the extension should be updated.
        vmssExtensionName - The name of the VM scale set extension.
        extensionParameters - Parameters supplied to the Update VM scale set Extension operation.
        Returns:
        describes a Virtual Machine Scale Set 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<VirtualMachineScaleSetExtensionInner>,​VirtualMachineScaleSetExtensionInner> beginUpdateAsync​(String resourceGroupName,
                                                                                                                                                                                               String vmScaleSetName,
                                                                                                                                                                                               String vmssExtensionName,
                                                                                                                                                                                               VirtualMachineScaleSetExtensionUpdate extensionParameters)
        The operation to update an extension.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set where the extension should be updated.
        vmssExtensionName - The name of the VM scale set extension.
        extensionParameters - Parameters supplied to the Update VM scale set Extension operation.
        Returns:
        the PollerFlux for polling of describes a Virtual Machine Scale Set 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<VirtualMachineScaleSetExtensionInner>,​VirtualMachineScaleSetExtensionInner> beginUpdate​(String resourceGroupName,
                                                                                                                                                                                          String vmScaleSetName,
                                                                                                                                                                                          String vmssExtensionName,
                                                                                                                                                                                          VirtualMachineScaleSetExtensionUpdate extensionParameters)
        The operation to update an extension.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set where the extension should be updated.
        vmssExtensionName - The name of the VM scale set extension.
        extensionParameters - Parameters supplied to the Update VM scale set Extension operation.
        Returns:
        the SyncPoller for polling of describes a Virtual Machine Scale Set 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<VirtualMachineScaleSetExtensionInner>,​VirtualMachineScaleSetExtensionInner> beginUpdate​(String resourceGroupName,
                                                                                                                                                                                          String vmScaleSetName,
                                                                                                                                                                                          String vmssExtensionName,
                                                                                                                                                                                          VirtualMachineScaleSetExtensionUpdate extensionParameters,
                                                                                                                                                                                          com.azure.core.util.Context context)
        The operation to update an extension.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set where the extension should be updated.
        vmssExtensionName - The name of the VM scale set extension.
        extensionParameters - Parameters supplied to the Update VM scale set Extension operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of describes a Virtual Machine Scale Set 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<VirtualMachineScaleSetExtensionInner> updateAsync​(String resourceGroupName,
                                                               String vmScaleSetName,
                                                               String vmssExtensionName,
                                                               VirtualMachineScaleSetExtensionUpdate extensionParameters)
        The operation to update an extension.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set where the extension should be updated.
        vmssExtensionName - The name of the VM scale set extension.
        extensionParameters - Parameters supplied to the Update VM scale set Extension operation.
        Returns:
        describes a Virtual Machine Scale Set 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

        VirtualMachineScaleSetExtensionInner update​(String resourceGroupName,
                                                    String vmScaleSetName,
                                                    String vmssExtensionName,
                                                    VirtualMachineScaleSetExtensionUpdate extensionParameters)
        The operation to update an extension.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set where the extension should be updated.
        vmssExtensionName - The name of the VM scale set extension.
        extensionParameters - Parameters supplied to the Update VM scale set Extension operation.
        Returns:
        describes a Virtual Machine Scale Set 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

        VirtualMachineScaleSetExtensionInner update​(String resourceGroupName,
                                                    String vmScaleSetName,
                                                    String vmssExtensionName,
                                                    VirtualMachineScaleSetExtensionUpdate extensionParameters,
                                                    com.azure.core.util.Context context)
        The operation to update an extension.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set where the extension should be updated.
        vmssExtensionName - The name of the VM scale set extension.
        extensionParameters - Parameters supplied to the Update VM scale set Extension operation.
        context - The context to associate with this operation.
        Returns:
        describes a Virtual Machine Scale Set 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 vmssExtensionName)
        The operation to delete the extension.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set where the extension should be deleted.
        vmssExtensionName - The name of the VM scale set 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 vmssExtensionName)
        The operation to delete the extension.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set where the extension should be deleted.
        vmssExtensionName - The name of the VM scale set 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 vmssExtensionName)
        The operation to delete the extension.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set where the extension should be deleted.
        vmssExtensionName - The name of the VM scale set 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 vmssExtensionName,
                                                                                                                          com.azure.core.util.Context context)
        The operation to delete the extension.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set where the extension should be deleted.
        vmssExtensionName - The name of the VM scale set 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 vmssExtensionName)
        The operation to delete the extension.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set where the extension should be deleted.
        vmssExtensionName - The name of the VM scale set 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 vmssExtensionName)
        The operation to delete the extension.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set where the extension should be deleted.
        vmssExtensionName - The name of the VM scale set 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 vmssExtensionName,
                    com.azure.core.util.Context context)
        The operation to delete the extension.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set where the extension should be deleted.
        vmssExtensionName - The name of the VM scale set 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.
      • getWithResponseAsync

        Mono<com.azure.core.http.rest.Response<VirtualMachineScaleSetExtensionInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                                           String vmScaleSetName,
                                                                                                           String vmssExtensionName,
                                                                                                           String expand)
        The operation to get the extension.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set containing the extension.
        vmssExtensionName - The name of the VM scale set extension.
        expand - The expand expression to apply on the operation.
        Returns:
        describes a Virtual Machine Scale Set 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<VirtualMachineScaleSetExtensionInner> getAsync​(String resourceGroupName,
                                                            String vmScaleSetName,
                                                            String vmssExtensionName,
                                                            String expand)
        The operation to get the extension.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set containing the extension.
        vmssExtensionName - The name of the VM scale set extension.
        expand - The expand expression to apply on the operation.
        Returns:
        describes a Virtual Machine Scale Set 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.
      • getAsync

        Mono<VirtualMachineScaleSetExtensionInner> getAsync​(String resourceGroupName,
                                                            String vmScaleSetName,
                                                            String vmssExtensionName)
        The operation to get the extension.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set containing the extension.
        vmssExtensionName - The name of the VM scale set extension.
        Returns:
        describes a Virtual Machine Scale Set 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.
      • get

        VirtualMachineScaleSetExtensionInner get​(String resourceGroupName,
                                                 String vmScaleSetName,
                                                 String vmssExtensionName)
        The operation to get the extension.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set containing the extension.
        vmssExtensionName - The name of the VM scale set extension.
        Returns:
        describes a Virtual Machine Scale Set 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.
      • getWithResponse

        com.azure.core.http.rest.Response<VirtualMachineScaleSetExtensionInner> getWithResponse​(String resourceGroupName,
                                                                                                String vmScaleSetName,
                                                                                                String vmssExtensionName,
                                                                                                String expand,
                                                                                                com.azure.core.util.Context context)
        The operation to get the extension.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set containing the extension.
        vmssExtensionName - The name of the VM scale set extension.
        expand - The expand expression to apply on the operation.
        context - The context to associate with this operation.
        Returns:
        describes a Virtual Machine Scale Set 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.
      • listAsync

        com.azure.core.http.rest.PagedFlux<VirtualMachineScaleSetExtensionInner> listAsync​(String resourceGroupName,
                                                                                           String vmScaleSetName)
        Gets a list of all extensions in a VM scale set.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set containing the extension.
        Returns:
        a list of all extensions in a VM scale set as paginated response with PagedFlux.
        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

        com.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetExtensionInner> list​(String resourceGroupName,
                                                                                          String vmScaleSetName)
        Gets a list of all extensions in a VM scale set.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set containing the extension.
        Returns:
        a list of all extensions in a VM scale set as paginated response with PagedIterable.
        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

        com.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetExtensionInner> list​(String resourceGroupName,
                                                                                          String vmScaleSetName,
                                                                                          com.azure.core.util.Context context)
        Gets a list of all extensions in a VM scale set.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set containing the extension.
        context - The context to associate with this operation.
        Returns:
        a list of all extensions in a VM scale set as paginated response with PagedIterable.
        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.