Interface MsixPackages
public interface MsixPackages
Resource collection API of MsixPackages.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new MsixPackage resource.voidRemove an MSIX Package.voiddeleteById(String id) Remove an MSIX Package.com.azure.core.http.rest.Response<Void>deleteByIdWithResponse(String id, com.azure.core.util.Context context) Remove an MSIX Package.com.azure.core.http.rest.Response<Void>deleteWithResponse(String resourceGroupName, String hostPoolName, String msixPackageFullName, com.azure.core.util.Context context) Remove an MSIX Package.Get a msixpackage.Get a msixpackage.com.azure.core.http.rest.Response<MsixPackage>getByIdWithResponse(String id, com.azure.core.util.Context context) Get a msixpackage.com.azure.core.http.rest.Response<MsixPackage>getWithResponse(String resourceGroupName, String hostPoolName, String msixPackageFullName, com.azure.core.util.Context context) Get a msixpackage.com.azure.core.http.rest.PagedIterable<MsixPackage>List MSIX packages in hostpool.com.azure.core.http.rest.PagedIterable<MsixPackage>list(String resourceGroupName, String hostPoolName, Integer pageSize, Boolean isDescending, Integer initialSkip, com.azure.core.util.Context context) List MSIX packages in hostpool.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<MsixPackage> 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 along with
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.
-
get
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.
-
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.
-
delete
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.
-
list
com.azure.core.http.rest.PagedIterable<MsixPackage> 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 as paginated response with
PagedIterable. - 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<MsixPackage> list(String resourceGroupName, String hostPoolName, Integer pageSize, Boolean isDescending, Integer initialSkip, 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.pageSize- Number of items per page.isDescending- Indicates whether the collection is descending.initialSkip- Initial number of items to skip.context- The context to associate with this operation.- Returns:
- msixPackageList as paginated response with
PagedIterable. - 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.
-
getById
Get a msixpackage.- Parameters:
id- the resource ID.- Returns:
- a msixpackage along with
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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<MsixPackage> getByIdWithResponse(String id, com.azure.core.util.Context context) Get a msixpackage.- Parameters:
id- the resource ID.context- The context to associate with this operation.- Returns:
- a msixpackage along with
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.
-
deleteById
Remove an MSIX Package.- Parameters:
id- the resource ID.- 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.
-
deleteByIdWithResponse
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Remove an MSIX Package.- Parameters:
id- the resource ID.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.
-
define
Begins definition for a new MsixPackage resource.- Parameters:
name- resource name.- Returns:
- the first stage of the new MsixPackage definition.
-