Freigeben über


MsixPackages interface

Interface representing a MsixPackages.

Methods

createOrUpdate(string, string, string, MsixPackage, MsixPackagesCreateOrUpdateOptionalParams)

Create or update a MSIX package.

delete(string, string, string, MsixPackagesDeleteOptionalParams)

Remove an MSIX Package.

get(string, string, string, MsixPackagesGetOptionalParams)

Get a msixpackage.

list(string, string, MsixPackagesListOptionalParams)

List MSIX packages in hostpool.

update(string, string, string, MsixPackagesUpdateOptionalParams)

Update an MSIX Package.

Method Details

createOrUpdate(string, string, string, MsixPackage, MsixPackagesCreateOrUpdateOptionalParams)

Create or update a MSIX package.

function createOrUpdate(resourceGroupName: string, hostPoolName: string, msixPackageFullName: string, msixPackage: MsixPackage, options?: MsixPackagesCreateOrUpdateOptionalParams): Promise<MsixPackage>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

hostPoolName

string

The name of the host pool within the specified resource group

msixPackageFullName

string

The version specific package full name of the MSIX package within specified hostpool

msixPackage
MsixPackage

Object containing MSIX Package definitions.

options
MsixPackagesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<MsixPackage>

delete(string, string, string, MsixPackagesDeleteOptionalParams)

Remove an MSIX Package.

function delete(resourceGroupName: string, hostPoolName: string, msixPackageFullName: string, options?: MsixPackagesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

hostPoolName

string

The name of the host pool within the specified resource group

msixPackageFullName

string

The version specific package full name of the MSIX package within specified hostpool

options
MsixPackagesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, MsixPackagesGetOptionalParams)

Get a msixpackage.

function get(resourceGroupName: string, hostPoolName: string, msixPackageFullName: string, options?: MsixPackagesGetOptionalParams): Promise<MsixPackage>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

hostPoolName

string

The name of the host pool within the specified resource group

msixPackageFullName

string

The version specific package full name of the MSIX package within specified hostpool

options
MsixPackagesGetOptionalParams

The options parameters.

Returns

Promise<MsixPackage>

list(string, string, MsixPackagesListOptionalParams)

List MSIX packages in hostpool.

function list(resourceGroupName: string, hostPoolName: string, options?: MsixPackagesListOptionalParams): PagedAsyncIterableIterator<MsixPackage, MsixPackage[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

hostPoolName

string

The name of the host pool within the specified resource group

options
MsixPackagesListOptionalParams

The options parameters.

Returns

update(string, string, string, MsixPackagesUpdateOptionalParams)

Update an MSIX Package.

function update(resourceGroupName: string, hostPoolName: string, msixPackageFullName: string, options?: MsixPackagesUpdateOptionalParams): Promise<MsixPackage>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

hostPoolName

string

The name of the host pool within the specified resource group

msixPackageFullName

string

The version specific package full name of the MSIX package within specified hostpool

options
MsixPackagesUpdateOptionalParams

The options parameters.

Returns

Promise<MsixPackage>