Interface MsixPackagesClient
public interface MsixPackagesClient
An instance of this class provides access to all the operations defined in MsixPackagesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String hostPoolName, String msixPackageFullName, MsixPackageInner msixPackage) Create or update a MSIX package.createOrUpdateAsync
(String resourceGroupName, String hostPoolName, String msixPackageFullName, MsixPackageInner msixPackage) Create or update a MSIX package.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.Mono<com.azure.core.http.rest.Response<MsixPackageInner>>
createOrUpdateWithResponseAsync
(String resourceGroupName, String hostPoolName, String msixPackageFullName, MsixPackageInner msixPackage) Create or update a MSIX package.void
Remove an MSIX Package.deleteAsync
(String resourceGroupName, String hostPoolName, String msixPackageFullName) 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.deleteWithResponseAsync
(String resourceGroupName, String hostPoolName, String msixPackageFullName) Remove an MSIX Package.Get a msixpackage.Get a msixpackage.com.azure.core.http.rest.Response<MsixPackageInner>
getWithResponse
(String resourceGroupName, String hostPoolName, String msixPackageFullName, com.azure.core.util.Context context) Get a msixpackage.Mono<com.azure.core.http.rest.Response<MsixPackageInner>>
getWithResponseAsync
(String resourceGroupName, String hostPoolName, String msixPackageFullName) Get a msixpackage.com.azure.core.http.rest.PagedIterable<MsixPackageInner>
List MSIX packages in hostpool.com.azure.core.http.rest.PagedIterable<MsixPackageInner>
List MSIX packages in hostpool.com.azure.core.http.rest.PagedFlux<MsixPackageInner>
List MSIX packages in hostpool.Update an MSIX Package.updateAsync
(String resourceGroupName, String hostPoolName, String msixPackageFullName) Update an MSIX Package.updateAsync
(String resourceGroupName, String hostPoolName, String msixPackageFullName, MsixPackagePatch msixPackage) Update an MSIX Package.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.Mono<com.azure.core.http.rest.Response<MsixPackageInner>>
updateWithResponseAsync
(String resourceGroupName, String hostPoolName, String msixPackageFullName, MsixPackagePatch msixPackage) Update an MSIX Package.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<MsixPackageInner>> getWithResponseAsync(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 along with
Response
on successful completion ofMono
. - 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.
-
getAsync
Mono<MsixPackageInner> getAsync(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 on successful completion of
Mono
. - 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.
-
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 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<MsixPackageInner>> createOrUpdateWithResponseAsync(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 along with
Response
on successful completion ofMono
. - 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.
-
createOrUpdateAsync
Mono<MsixPackageInner> createOrUpdateAsync(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 on successful completion of
Mono
. - 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 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(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.- Returns:
- the
Response
on successful completion ofMono
. - 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.
-
deleteAsync
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.- Returns:
- A
Mono
that completes when a successful response is received. - 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.
-
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.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<MsixPackageInner>> updateWithResponseAsync(String resourceGroupName, String hostPoolName, String msixPackageFullName, MsixPackagePatch msixPackage) 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.- Returns:
- schema for MSIX Package properties along with
Response
on successful completion ofMono
. - 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.
-
updateAsync
Mono<MsixPackageInner> updateAsync(String resourceGroupName, String hostPoolName, String msixPackageFullName, MsixPackagePatch msixPackage) 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.- Returns:
- schema for MSIX Package properties on successful completion of
Mono
. - 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.
-
updateAsync
Mono<MsixPackageInner> updateAsync(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 on successful completion of
Mono
. - 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
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 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<MsixPackageInner> listAsync(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
PagedFlux
. - 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 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<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 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.
-