MSIXPackage

class MSIXPackage : KotlinCustomResource

Schema for MSIX Package properties. Uses Azure REST API version 2024-04-03. In version 2.x of the Azure Native provider, it used API version 2022-09-09. Other available API versions: 2022-09-09, 2022-10-14-preview, 2023-09-05, 2023-10-04-preview, 2023-11-01-preview, 2024-01-16-preview, 2024-03-06-preview, 2024-04-08-preview, 2024-08-08-preview, 2024-11-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native desktopvirtualization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Example Usage

MSIXPackage_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var msixPackage = new AzureNative.DesktopVirtualization.MSIXPackage("msixPackage", new()
{
DisplayName = "displayname",
HostPoolName = "hostpool1",
ImagePath = "imagepath",
IsActive = false,
IsRegularRegistration = false,
LastUpdated = "2008-09-22T14:01:54.9571247Z",
MsixPackageFullName = "msixpackagefullname",
PackageApplications = new[]
{
new AzureNative.DesktopVirtualization.Inputs.MsixPackageApplicationsArgs
{
AppId = "ApplicationId",
AppUserModelID = "AppUserModelId",
Description = "application-desc",
FriendlyName = "friendlyname",
IconImageName = "Apptile",
RawIcon = "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
RawPng = "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
},
},
PackageDependencies = new[]
{
new AzureNative.DesktopVirtualization.Inputs.MsixPackageDependenciesArgs
{
DependencyName = "MsixTest_Dependency_Name",
MinVersion = "version",
Publisher = "PublishedName",
},
},
PackageFamilyName = "MsixPackage_FamilyName",
PackageName = "MsixPackage_name",
PackageRelativePath = "packagerelativepath",
ResourceGroupName = "resourceGroup1",
Version = "version",
});
});
package main
import (
desktopvirtualization "github.com/pulumi/pulumi-azure-native-sdk/desktopvirtualization/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := desktopvirtualization.NewMSIXPackage(ctx, "msixPackage", &desktopvirtualization.MSIXPackageArgs{
DisplayName: pulumi.String("displayname"),
HostPoolName: pulumi.String("hostpool1"),
ImagePath: pulumi.String("imagepath"),
IsActive: pulumi.Bool(false),
IsRegularRegistration: pulumi.Bool(false),
LastUpdated: pulumi.String("2008-09-22T14:01:54.9571247Z"),
MsixPackageFullName: pulumi.String("msixpackagefullname"),
PackageApplications: desktopvirtualization.MsixPackageApplicationsArray{
&desktopvirtualization.MsixPackageApplicationsArgs{
AppId: pulumi.String("ApplicationId"),
AppUserModelID: pulumi.String("AppUserModelId"),
Description: pulumi.String("application-desc"),
FriendlyName: pulumi.String("friendlyname"),
IconImageName: pulumi.String("Apptile"),
RawIcon: pulumi.String("VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"),
RawPng: pulumi.String("VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"),
},
},
PackageDependencies: desktopvirtualization.MsixPackageDependenciesArray{
&desktopvirtualization.MsixPackageDependenciesArgs{
DependencyName: pulumi.String("MsixTest_Dependency_Name"),
MinVersion: pulumi.String("version"),
Publisher: pulumi.String("PublishedName"),
},
},
PackageFamilyName: pulumi.String("MsixPackage_FamilyName"),
PackageName: pulumi.String("MsixPackage_name"),
PackageRelativePath: pulumi.String("packagerelativepath"),
ResourceGroupName: pulumi.String("resourceGroup1"),
Version: pulumi.String("version"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.desktopvirtualization.MSIXPackage;
import com.pulumi.azurenative.desktopvirtualization.MSIXPackageArgs;
import com.pulumi.azurenative.desktopvirtualization.inputs.MsixPackageApplicationsArgs;
import com.pulumi.azurenative.desktopvirtualization.inputs.MsixPackageDependenciesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var msixPackage = new MSIXPackage("msixPackage", MSIXPackageArgs.builder()
.displayName("displayname")
.hostPoolName("hostpool1")
.imagePath("imagepath")
.isActive(false)
.isRegularRegistration(false)
.lastUpdated("2008-09-22T14:01:54.9571247Z")
.msixPackageFullName("msixpackagefullname")
.packageApplications(MsixPackageApplicationsArgs.builder()
.appId("ApplicationId")
.appUserModelID("AppUserModelId")
.description("application-desc")
.friendlyName("friendlyname")
.iconImageName("Apptile")
.rawIcon("VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo")
.rawPng("VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo")
.build())
.packageDependencies(MsixPackageDependenciesArgs.builder()
.dependencyName("MsixTest_Dependency_Name")
.minVersion("version")
.publisher("PublishedName")
.build())
.packageFamilyName("MsixPackage_FamilyName")
.packageName("MsixPackage_name")
.packageRelativePath("packagerelativepath")
.resourceGroupName("resourceGroup1")
.version("version")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:desktopvirtualization:MSIXPackage hostpool1/MsixPackageFullName /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard
val displayName: Output<String>?

User friendly Name to be displayed in the portal.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val imagePath: Output<String>?

VHD/CIM image path on Network Share.

Link copied to clipboard
val isActive: Output<Boolean>?

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

Link copied to clipboard

Specifies how to register Package in feed.

Link copied to clipboard
val lastUpdated: Output<String>?

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

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

List of package applications.

Link copied to clipboard

List of package dependencies.

Link copied to clipboard

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

Link copied to clipboard
val packageName: Output<String>?

Package Name from appxmanifest.xml.

Link copied to clipboard

Relative Path to the package inside the image.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val version: Output<String>?

Package version found in the appxmanifest.xml.