Interface MsixPackagesClient


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

      • get

        MsixPackageInner get​(String resourceGroupName,
                             String hostPoolName,
                             String msixPackageFullName)
        Get a msixpackage.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        hostPoolName - The name of the host pool within the specified resource group.
        msixPackageFullName - The version specific package full name of the MSIX package within specified hostpool.
        Returns:
        a msixpackage.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - 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<MsixPackageInner> getWithResponse​(String resourceGroupName,
                                                                            String hostPoolName,
                                                                            String msixPackageFullName,
                                                                            com.azure.core.util.Context context)
        Get a msixpackage.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        hostPoolName - The name of the host pool within the specified resource group.
        msixPackageFullName - The version specific package full name of the MSIX package within specified hostpool.
        context - The context to associate with this operation.
        Returns:
        a msixpackage.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdate

        MsixPackageInner createOrUpdate​(String resourceGroupName,
                                        String hostPoolName,
                                        String msixPackageFullName,
                                        MsixPackageInner msixPackage)
        Create or update a MSIX package.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        hostPoolName - The name of the host pool within the specified resource group.
        msixPackageFullName - The version specific package full name of the MSIX package within specified hostpool.
        msixPackage - Object containing MSIX Package definitions.
        Returns:
        schema for MSIX Package properties.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdateWithResponse

        com.azure.core.http.rest.Response<MsixPackageInner> createOrUpdateWithResponse​(String resourceGroupName,
                                                                                       String hostPoolName,
                                                                                       String msixPackageFullName,
                                                                                       MsixPackageInner msixPackage,
                                                                                       com.azure.core.util.Context context)
        Create or update a MSIX package.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        hostPoolName - The name of the host pool within the specified resource group.
        msixPackageFullName - The version specific package full name of the MSIX package within specified hostpool.
        msixPackage - Object containing MSIX Package definitions.
        context - The context to associate with this operation.
        Returns:
        schema for MSIX Package properties.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - 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 hostPoolName,
                    String msixPackageFullName)
        Remove an MSIX Package.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        hostPoolName - The name of the host pool within the specified resource group.
        msixPackageFullName - The version specific package full name of the MSIX package within specified hostpool.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteWithResponse

        com.azure.core.http.rest.Response<Void> deleteWithResponse​(String resourceGroupName,
                                                                   String hostPoolName,
                                                                   String msixPackageFullName,
                                                                   com.azure.core.util.Context context)
        Remove an MSIX Package.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        hostPoolName - The name of the host pool within the specified resource group.
        msixPackageFullName - The version specific package full name of the MSIX package within specified hostpool.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • update

        MsixPackageInner update​(String resourceGroupName,
                                String hostPoolName,
                                String msixPackageFullName)
        Update an MSIX Package.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        hostPoolName - The name of the host pool within the specified resource group.
        msixPackageFullName - The version specific package full name of the MSIX package within specified hostpool.
        Returns:
        schema for MSIX Package properties.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateWithResponse

        com.azure.core.http.rest.Response<MsixPackageInner> updateWithResponse​(String resourceGroupName,
                                                                               String hostPoolName,
                                                                               String msixPackageFullName,
                                                                               MsixPackagePatch msixPackage,
                                                                               com.azure.core.util.Context context)
        Update an MSIX Package.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        hostPoolName - The name of the host pool within the specified resource group.
        msixPackageFullName - The version specific package full name of the MSIX package within specified hostpool.
        msixPackage - Object containing MSIX Package definitions.
        context - The context to associate with this operation.
        Returns:
        schema for MSIX Package properties.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - 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<MsixPackageInner> list​(String resourceGroupName,
                                                                      String hostPoolName)
        List MSIX packages in hostpool.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        hostPoolName - The name of the host pool within the specified resource group.
        Returns:
        msixPackageList.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - 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<MsixPackageInner> list​(String resourceGroupName,
                                                                      String hostPoolName,
                                                                      com.azure.core.util.Context context)
        List MSIX packages in hostpool.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        hostPoolName - The name of the host pool within the specified resource group.
        context - The context to associate with this operation.
        Returns:
        msixPackageList.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.