다음을 통해 공유


MsixPackageCollection Class

Definition

A class representing a collection of MsixPackageResource and their operations. Each MsixPackageResource in the collection will belong to the same instance of HostPoolResource. To get a MsixPackageCollection instance call the GetMsixPackages method from an instance of HostPoolResource.

public class MsixPackageCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.DesktopVirtualization.MsixPackageResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DesktopVirtualization.MsixPackageResource>
type MsixPackageCollection = class
    inherit ArmCollection
    interface seq<MsixPackageResource>
    interface IEnumerable
    interface IAsyncEnumerable<MsixPackageResource>
Public Class MsixPackageCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of MsixPackageResource), IEnumerable(Of MsixPackageResource)
Inheritance
MsixPackageCollection
Implements

Constructors

MsixPackageCollection()

Initializes a new instance of the MsixPackageCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, MsixPackageData, CancellationToken)

Create or update a MSIX package.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}
  • Operation Id: MSIXPackages_CreateOrUpdate
  • Default Api Version: 2024-04-03
  • Resource: MsixPackageResource
CreateOrUpdateAsync(WaitUntil, String, MsixPackageData, CancellationToken)

Create or update a MSIX package.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}
  • Operation Id: MSIXPackages_CreateOrUpdate
  • Default Api Version: 2024-04-03
  • Resource: MsixPackageResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}
  • Operation Id: MSIXPackages_Get
  • Default Api Version: 2024-04-03
  • Resource: MsixPackageResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}
  • Operation Id: MSIXPackages_Get
  • Default Api Version: 2024-04-03
  • Resource: MsixPackageResource
Get(String, CancellationToken)

Get a msixpackage.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}
  • Operation Id: MSIXPackages_Get
  • Default Api Version: 2024-04-03
  • Resource: MsixPackageResource
GetAll(Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, CancellationToken)

List MSIX packages in hostpool.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages
  • Operation Id: MSIXPackages_List
  • Default Api Version: 2024-04-03
  • Resource: MsixPackageResource
GetAllAsync(Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, CancellationToken)

List MSIX packages in hostpool.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages
  • Operation Id: MSIXPackages_List
  • Default Api Version: 2024-04-03
  • Resource: MsixPackageResource
GetAsync(String, CancellationToken)

Get a msixpackage.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}
  • Operation Id: MSIXPackages_Get
  • Default Api Version: 2024-04-03
  • Resource: MsixPackageResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}
  • Operation Id: MSIXPackages_Get
  • Default Api Version: 2024-04-03
  • Resource: MsixPackageResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}
  • Operation Id: MSIXPackages_Get
  • Default Api Version: 2024-04-03
  • Resource: MsixPackageResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<MsixPackageResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MsixPackageResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to