Interface MsixPackages
-
public interface MsixPackagesResource collection API of MsixPackages.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MsixPackage.DefinitionStages.Blankdefine(String name)Begins definition for a new MsixPackage resource.voiddelete(String resourceGroupName, String hostPoolName, String msixPackageFullName)Remove 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.MsixPackageget(String resourceGroupName, String hostPoolName, String msixPackageFullName)Get a msixpackage.MsixPackagegetById(String id)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(String resourceGroupName, String hostPoolName)List MSIX packages in hostpool.com.azure.core.http.rest.PagedIterable<MsixPackage>list(String resourceGroupName, String hostPoolName, com.azure.core.util.Context context)List MSIX packages in hostpool.
-
-
-
Method Detail
-
get
MsixPackage 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<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.
- 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.
-
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.
- 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, 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.
-
getById
MsixPackage getById(String id)
Get a msixpackage.- Parameters:
id- the resource ID.- 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.
-
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.
- 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
void deleteById(String id)
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
MsixPackage.DefinitionStages.Blank define(String name)
Begins definition for a new MsixPackage resource.- Parameters:
name- resource name.- Returns:
- the first stage of the new MsixPackage definition.
-
-