Udostępnij za pośrednictwem


ArmDesktopVirtualizationModelFactory.MsixPackageData Method

Definition

Initializes a new instance of MsixPackageData.

public static Azure.ResourceManager.DesktopVirtualization.MsixPackageData MsixPackageData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string imagePath = default, string packageName = default, string packageFamilyName = default, string displayName = default, string packageRelativePath = default, bool? isRegularRegistration = default, bool? isActive = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DesktopVirtualization.Models.MsixPackageDependencies> packageDependencies = default, string version = default, DateTimeOffset? lastUpdatedOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DesktopVirtualization.Models.MsixPackageApplications> packageApplications = default);
static member MsixPackageData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * string * string * Nullable<bool> * Nullable<bool> * seq<Azure.ResourceManager.DesktopVirtualization.Models.MsixPackageDependencies> * string * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.DesktopVirtualization.Models.MsixPackageApplications> -> Azure.ResourceManager.DesktopVirtualization.MsixPackageData
Public Shared Function MsixPackageData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional imagePath As String = Nothing, Optional packageName As String = Nothing, Optional packageFamilyName As String = Nothing, Optional displayName As String = Nothing, Optional packageRelativePath As String = Nothing, Optional isRegularRegistration As Nullable(Of Boolean) = Nothing, Optional isActive As Nullable(Of Boolean) = Nothing, Optional packageDependencies As IEnumerable(Of MsixPackageDependencies) = Nothing, Optional version As String = Nothing, Optional lastUpdatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional packageApplications As IEnumerable(Of MsixPackageApplications) = Nothing) As MsixPackageData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

imagePath
String

VHD/CIM image path on Network Share.

packageName
String

Package Name from appxmanifest.xml.

packageFamilyName
String

Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name.

displayName
String

User friendly Name to be displayed in the portal.

packageRelativePath
String

Relative Path to the package inside the image.

isRegularRegistration
Nullable<Boolean>

Specifies how to register Package in feed.

isActive
Nullable<Boolean>

Make this version of the package the active one across the hostpool.

packageDependencies
IEnumerable<MsixPackageDependencies>

List of package dependencies.

version
String

Package version found in the appxmanifest.xml.

lastUpdatedOn
Nullable<DateTimeOffset>

Date Package was last updated, found in the appxmanifest.xml.

packageApplications
IEnumerable<MsixPackageApplications>

List of package applications.

Returns

A new MsixPackageData instance for mocking.

Applies to