1. Packages
  2. Azure Native v2
  3. API Docs
  4. testbase
  5. Package
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.testbase.Package

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

The Test Base Package resource. Azure REST API version: 2022-04-01-preview. Prior API version in Azure Native 1.x: 2022-04-01-preview.

Other available API versions: 2023-11-01-preview.

Example Usage

PackageCreate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var package = new AzureNative.TestBase.Package("package", new()
    {
        ApplicationName = "contoso-package2",
        BlobPath = "storageAccountPath/package.zip",
        FlightingRing = "Insider Beta Channel",
        Location = "westus",
        PackageName = "contoso-package2",
        ResourceGroupName = "contoso-rg1",
        Tags = null,
        TargetOSList = new[]
        {
            new AzureNative.TestBase.Inputs.TargetOSInfoArgs
            {
                OsUpdateType = "Security updates",
                TargetOSs = new[]
                {
                    "Windows 10 2004",
                    "Windows 10 1903",
                },
            },
        },
        TestBaseAccountName = "contoso-testBaseAccount1",
        Tests = new[]
        {
            new AzureNative.TestBase.Inputs.TestArgs
            {
                Commands = new[]
                {
                    new AzureNative.TestBase.Inputs.CommandArgs
                    {
                        Action = AzureNative.TestBase.Action.Install,
                        AlwaysRun = true,
                        ApplyUpdateBefore = false,
                        Content = "app/scripts/install/job.ps1",
                        ContentType = AzureNative.TestBase.ContentType.Path,
                        MaxRunTime = 1800,
                        Name = "Install",
                        RestartAfter = true,
                        RunAsInteractive = true,
                        RunElevated = true,
                    },
                    new AzureNative.TestBase.Inputs.CommandArgs
                    {
                        Action = AzureNative.TestBase.Action.Launch,
                        AlwaysRun = false,
                        ApplyUpdateBefore = true,
                        Content = "app/scripts/launch/job.ps1",
                        ContentType = AzureNative.TestBase.ContentType.Path,
                        MaxRunTime = 1800,
                        Name = "Launch",
                        RestartAfter = false,
                        RunAsInteractive = true,
                        RunElevated = true,
                    },
                    new AzureNative.TestBase.Inputs.CommandArgs
                    {
                        Action = AzureNative.TestBase.Action.Close,
                        AlwaysRun = false,
                        ApplyUpdateBefore = false,
                        Content = "app/scripts/close/job.ps1",
                        ContentType = AzureNative.TestBase.ContentType.Path,
                        MaxRunTime = 1800,
                        Name = "Close",
                        RestartAfter = false,
                        RunAsInteractive = true,
                        RunElevated = true,
                    },
                    new AzureNative.TestBase.Inputs.CommandArgs
                    {
                        Action = AzureNative.TestBase.Action.Uninstall,
                        AlwaysRun = true,
                        ApplyUpdateBefore = false,
                        Content = "app/scripts/uninstall/job.ps1",
                        ContentType = AzureNative.TestBase.ContentType.Path,
                        MaxRunTime = 1800,
                        Name = "Uninstall",
                        RestartAfter = false,
                        RunAsInteractive = true,
                        RunElevated = true,
                    },
                },
                IsActive = true,
                TestType = AzureNative.TestBase.TestType.OutOfBoxTest,
            },
        },
        Version = "1.0.0",
    });

});
Copy
package main

import (
	testbase "github.com/pulumi/pulumi-azure-native-sdk/testbase/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := testbase.NewPackage(ctx, "package", &testbase.PackageArgs{
			ApplicationName:   pulumi.String("contoso-package2"),
			BlobPath:          pulumi.String("storageAccountPath/package.zip"),
			FlightingRing:     pulumi.String("Insider Beta Channel"),
			Location:          pulumi.String("westus"),
			PackageName:       pulumi.String("contoso-package2"),
			ResourceGroupName: pulumi.String("contoso-rg1"),
			Tags:              pulumi.StringMap{},
			TargetOSList: testbase.TargetOSInfoArray{
				&testbase.TargetOSInfoArgs{
					OsUpdateType: pulumi.String("Security updates"),
					TargetOSs: pulumi.StringArray{
						pulumi.String("Windows 10 2004"),
						pulumi.String("Windows 10 1903"),
					},
				},
			},
			TestBaseAccountName: pulumi.String("contoso-testBaseAccount1"),
			Tests: testbase.TestArray{
				&testbase.TestArgs{
					Commands: testbase.CommandArray{
						&testbase.CommandArgs{
							Action:            pulumi.String(testbase.ActionInstall),
							AlwaysRun:         pulumi.Bool(true),
							ApplyUpdateBefore: pulumi.Bool(false),
							Content:           pulumi.String("app/scripts/install/job.ps1"),
							ContentType:       pulumi.String(testbase.ContentTypePath),
							MaxRunTime:        pulumi.Int(1800),
							Name:              pulumi.String("Install"),
							RestartAfter:      pulumi.Bool(true),
							RunAsInteractive:  pulumi.Bool(true),
							RunElevated:       pulumi.Bool(true),
						},
						&testbase.CommandArgs{
							Action:            pulumi.String(testbase.ActionLaunch),
							AlwaysRun:         pulumi.Bool(false),
							ApplyUpdateBefore: pulumi.Bool(true),
							Content:           pulumi.String("app/scripts/launch/job.ps1"),
							ContentType:       pulumi.String(testbase.ContentTypePath),
							MaxRunTime:        pulumi.Int(1800),
							Name:              pulumi.String("Launch"),
							RestartAfter:      pulumi.Bool(false),
							RunAsInteractive:  pulumi.Bool(true),
							RunElevated:       pulumi.Bool(true),
						},
						&testbase.CommandArgs{
							Action:            pulumi.String(testbase.ActionClose),
							AlwaysRun:         pulumi.Bool(false),
							ApplyUpdateBefore: pulumi.Bool(false),
							Content:           pulumi.String("app/scripts/close/job.ps1"),
							ContentType:       pulumi.String(testbase.ContentTypePath),
							MaxRunTime:        pulumi.Int(1800),
							Name:              pulumi.String("Close"),
							RestartAfter:      pulumi.Bool(false),
							RunAsInteractive:  pulumi.Bool(true),
							RunElevated:       pulumi.Bool(true),
						},
						&testbase.CommandArgs{
							Action:            pulumi.String(testbase.ActionUninstall),
							AlwaysRun:         pulumi.Bool(true),
							ApplyUpdateBefore: pulumi.Bool(false),
							Content:           pulumi.String("app/scripts/uninstall/job.ps1"),
							ContentType:       pulumi.String(testbase.ContentTypePath),
							MaxRunTime:        pulumi.Int(1800),
							Name:              pulumi.String("Uninstall"),
							RestartAfter:      pulumi.Bool(false),
							RunAsInteractive:  pulumi.Bool(true),
							RunElevated:       pulumi.Bool(true),
						},
					},
					IsActive: pulumi.Bool(true),
					TestType: pulumi.String(testbase.TestTypeOutOfBoxTest),
				},
			},
			Version: pulumi.String("1.0.0"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.testbase.Package;
import com.pulumi.azurenative.testbase.PackageArgs;
import com.pulumi.azurenative.testbase.inputs.TargetOSInfoArgs;
import com.pulumi.azurenative.testbase.inputs.TestArgs;
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 package_ = new Package("package", PackageArgs.builder()
            .applicationName("contoso-package2")
            .blobPath("storageAccountPath/package.zip")
            .flightingRing("Insider Beta Channel")
            .location("westus")
            .packageName("contoso-package2")
            .resourceGroupName("contoso-rg1")
            .tags()
            .targetOSList(TargetOSInfoArgs.builder()
                .osUpdateType("Security updates")
                .targetOSs(                
                    "Windows 10 2004",
                    "Windows 10 1903")
                .build())
            .testBaseAccountName("contoso-testBaseAccount1")
            .tests(TestArgs.builder()
                .commands(                
                    CommandArgs.builder()
                        .action("Install")
                        .alwaysRun(true)
                        .applyUpdateBefore(false)
                        .content("app/scripts/install/job.ps1")
                        .contentType("Path")
                        .maxRunTime(1800)
                        .name("Install")
                        .restartAfter(true)
                        .runAsInteractive(true)
                        .runElevated(true)
                        .build(),
                    CommandArgs.builder()
                        .action("Launch")
                        .alwaysRun(false)
                        .applyUpdateBefore(true)
                        .content("app/scripts/launch/job.ps1")
                        .contentType("Path")
                        .maxRunTime(1800)
                        .name("Launch")
                        .restartAfter(false)
                        .runAsInteractive(true)
                        .runElevated(true)
                        .build(),
                    CommandArgs.builder()
                        .action("Close")
                        .alwaysRun(false)
                        .applyUpdateBefore(false)
                        .content("app/scripts/close/job.ps1")
                        .contentType("Path")
                        .maxRunTime(1800)
                        .name("Close")
                        .restartAfter(false)
                        .runAsInteractive(true)
                        .runElevated(true)
                        .build(),
                    CommandArgs.builder()
                        .action("Uninstall")
                        .alwaysRun(true)
                        .applyUpdateBefore(false)
                        .content("app/scripts/uninstall/job.ps1")
                        .contentType("Path")
                        .maxRunTime(1800)
                        .name("Uninstall")
                        .restartAfter(false)
                        .runAsInteractive(true)
                        .runElevated(true)
                        .build())
                .isActive(true)
                .testType("OutOfBoxTest")
                .build())
            .version("1.0.0")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const _package = new azure_native.testbase.Package("package", {
    applicationName: "contoso-package2",
    blobPath: "storageAccountPath/package.zip",
    flightingRing: "Insider Beta Channel",
    location: "westus",
    packageName: "contoso-package2",
    resourceGroupName: "contoso-rg1",
    tags: {},
    targetOSList: [{
        osUpdateType: "Security updates",
        targetOSs: [
            "Windows 10 2004",
            "Windows 10 1903",
        ],
    }],
    testBaseAccountName: "contoso-testBaseAccount1",
    tests: [{
        commands: [
            {
                action: azure_native.testbase.Action.Install,
                alwaysRun: true,
                applyUpdateBefore: false,
                content: "app/scripts/install/job.ps1",
                contentType: azure_native.testbase.ContentType.Path,
                maxRunTime: 1800,
                name: "Install",
                restartAfter: true,
                runAsInteractive: true,
                runElevated: true,
            },
            {
                action: azure_native.testbase.Action.Launch,
                alwaysRun: false,
                applyUpdateBefore: true,
                content: "app/scripts/launch/job.ps1",
                contentType: azure_native.testbase.ContentType.Path,
                maxRunTime: 1800,
                name: "Launch",
                restartAfter: false,
                runAsInteractive: true,
                runElevated: true,
            },
            {
                action: azure_native.testbase.Action.Close,
                alwaysRun: false,
                applyUpdateBefore: false,
                content: "app/scripts/close/job.ps1",
                contentType: azure_native.testbase.ContentType.Path,
                maxRunTime: 1800,
                name: "Close",
                restartAfter: false,
                runAsInteractive: true,
                runElevated: true,
            },
            {
                action: azure_native.testbase.Action.Uninstall,
                alwaysRun: true,
                applyUpdateBefore: false,
                content: "app/scripts/uninstall/job.ps1",
                contentType: azure_native.testbase.ContentType.Path,
                maxRunTime: 1800,
                name: "Uninstall",
                restartAfter: false,
                runAsInteractive: true,
                runElevated: true,
            },
        ],
        isActive: true,
        testType: azure_native.testbase.TestType.OutOfBoxTest,
    }],
    version: "1.0.0",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

package = azure_native.testbase.Package("package",
    application_name="contoso-package2",
    blob_path="storageAccountPath/package.zip",
    flighting_ring="Insider Beta Channel",
    location="westus",
    package_name="contoso-package2",
    resource_group_name="contoso-rg1",
    tags={},
    target_os_list=[{
        "os_update_type": "Security updates",
        "target_oss": [
            "Windows 10 2004",
            "Windows 10 1903",
        ],
    }],
    test_base_account_name="contoso-testBaseAccount1",
    tests=[{
        "commands": [
            {
                "action": azure_native.testbase.Action.INSTALL,
                "always_run": True,
                "apply_update_before": False,
                "content": "app/scripts/install/job.ps1",
                "content_type": azure_native.testbase.ContentType.PATH,
                "max_run_time": 1800,
                "name": "Install",
                "restart_after": True,
                "run_as_interactive": True,
                "run_elevated": True,
            },
            {
                "action": azure_native.testbase.Action.LAUNCH,
                "always_run": False,
                "apply_update_before": True,
                "content": "app/scripts/launch/job.ps1",
                "content_type": azure_native.testbase.ContentType.PATH,
                "max_run_time": 1800,
                "name": "Launch",
                "restart_after": False,
                "run_as_interactive": True,
                "run_elevated": True,
            },
            {
                "action": azure_native.testbase.Action.CLOSE,
                "always_run": False,
                "apply_update_before": False,
                "content": "app/scripts/close/job.ps1",
                "content_type": azure_native.testbase.ContentType.PATH,
                "max_run_time": 1800,
                "name": "Close",
                "restart_after": False,
                "run_as_interactive": True,
                "run_elevated": True,
            },
            {
                "action": azure_native.testbase.Action.UNINSTALL,
                "always_run": True,
                "apply_update_before": False,
                "content": "app/scripts/uninstall/job.ps1",
                "content_type": azure_native.testbase.ContentType.PATH,
                "max_run_time": 1800,
                "name": "Uninstall",
                "restart_after": False,
                "run_as_interactive": True,
                "run_elevated": True,
            },
        ],
        "is_active": True,
        "test_type": azure_native.testbase.TestType.OUT_OF_BOX_TEST,
    }],
    version="1.0.0")
Copy
resources:
  package:
    type: azure-native:testbase:Package
    properties:
      applicationName: contoso-package2
      blobPath: storageAccountPath/package.zip
      flightingRing: Insider Beta Channel
      location: westus
      packageName: contoso-package2
      resourceGroupName: contoso-rg1
      tags: {}
      targetOSList:
        - osUpdateType: Security updates
          targetOSs:
            - Windows 10 2004
            - Windows 10 1903
      testBaseAccountName: contoso-testBaseAccount1
      tests:
        - commands:
            - action: Install
              alwaysRun: true
              applyUpdateBefore: false
              content: app/scripts/install/job.ps1
              contentType: Path
              maxRunTime: 1800
              name: Install
              restartAfter: true
              runAsInteractive: true
              runElevated: true
            - action: Launch
              alwaysRun: false
              applyUpdateBefore: true
              content: app/scripts/launch/job.ps1
              contentType: Path
              maxRunTime: 1800
              name: Launch
              restartAfter: false
              runAsInteractive: true
              runElevated: true
            - action: Close
              alwaysRun: false
              applyUpdateBefore: false
              content: app/scripts/close/job.ps1
              contentType: Path
              maxRunTime: 1800
              name: Close
              restartAfter: false
              runAsInteractive: true
              runElevated: true
            - action: Uninstall
              alwaysRun: true
              applyUpdateBefore: false
              content: app/scripts/uninstall/job.ps1
              contentType: Path
              maxRunTime: 1800
              name: Uninstall
              restartAfter: false
              runAsInteractive: true
              runElevated: true
          isActive: true
          testType: OutOfBoxTest
      version: 1.0.0
Copy

Create Package Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Package(name: string, args: PackageArgs, opts?: CustomResourceOptions);
@overload
def Package(resource_name: str,
            args: PackageArgs,
            opts: Optional[ResourceOptions] = None)

@overload
def Package(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            application_name: Optional[str] = None,
            blob_path: Optional[str] = None,
            flighting_ring: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            target_os_list: Optional[Sequence[TargetOSInfoArgs]] = None,
            test_base_account_name: Optional[str] = None,
            tests: Optional[Sequence[TestArgs]] = None,
            version: Optional[str] = None,
            location: Optional[str] = None,
            package_name: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None)
func NewPackage(ctx *Context, name string, args PackageArgs, opts ...ResourceOption) (*Package, error)
public Package(string name, PackageArgs args, CustomResourceOptions? opts = null)
public Package(String name, PackageArgs args)
public Package(String name, PackageArgs args, CustomResourceOptions options)
type: azure-native:testbase:Package
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. PackageArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. PackageArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. PackageArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. PackageArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. PackageArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var azure_nativePackageResource = new AzureNative.Testbase.Package("azure-nativePackageResource", new()
{
    ApplicationName = "string",
    BlobPath = "string",
    FlightingRing = "string",
    ResourceGroupName = "string",
    TargetOSList = new[]
    {
        
        {
            { "osUpdateType", "string" },
            { "baselineOSs", new[]
            {
                "string",
            } },
            { "insiderChannelIds", new[]
            {
                "string",
            } },
            { "targetOSImageIds", new[]
            {
                "string",
            } },
            { "targetOSs", new[]
            {
                "string",
            } },
        },
    },
    TestBaseAccountName = "string",
    Tests = new[]
    {
        
        {
            { "commands", new[]
            {
                
                {
                    { "contentType", "string" },
                    { "name", "string" },
                    { "action", "string" },
                    { "content", "string" },
                    { "install1PAppBefore", false },
                    { "enrollIntuneBefore", false },
                    { "applyUpdateBefore", false },
                    { "maxRunTime", 0 },
                    { "alwaysRun", false },
                    { "postUpgrade", false },
                    { "preUpgrade", false },
                    { "restartAfter", false },
                    { "runAsInteractive", false },
                    { "runElevated", false },
                },
            } },
            { "testType", "string" },
            { "isActive", false },
        },
    },
    Version = "string",
    Location = "string",
    PackageName = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := testbase.NewPackage(ctx, "azure-nativePackageResource", &testbase.PackageArgs{
	ApplicationName:   "string",
	BlobPath:          "string",
	FlightingRing:     "string",
	ResourceGroupName: "string",
	TargetOSList: []map[string]interface{}{
		map[string]interface{}{
			"osUpdateType": "string",
			"baselineOSs": []string{
				"string",
			},
			"insiderChannelIds": []string{
				"string",
			},
			"targetOSImageIds": []string{
				"string",
			},
			"targetOSs": []string{
				"string",
			},
		},
	},
	TestBaseAccountName: "string",
	Tests: []map[string]interface{}{
		map[string]interface{}{
			"commands": []map[string]interface{}{
				map[string]interface{}{
					"contentType":        "string",
					"name":               "string",
					"action":             "string",
					"content":            "string",
					"install1PAppBefore": false,
					"enrollIntuneBefore": false,
					"applyUpdateBefore":  false,
					"maxRunTime":         0,
					"alwaysRun":          false,
					"postUpgrade":        false,
					"preUpgrade":         false,
					"restartAfter":       false,
					"runAsInteractive":   false,
					"runElevated":        false,
				},
			},
			"testType": "string",
			"isActive": false,
		},
	},
	Version:     "string",
	Location:    "string",
	PackageName: "string",
	Tags: map[string]interface{}{
		"string": "string",
	},
})
Copy
var azure_nativePackageResource = new Package("azure-nativePackageResource", PackageArgs.builder()
    .applicationName("string")
    .blobPath("string")
    .flightingRing("string")
    .resourceGroupName("string")
    .targetOSList(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .testBaseAccountName("string")
    .tests(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .version("string")
    .location("string")
    .packageName("string")
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .build());
Copy
azure_native_package_resource = azure_native.testbase.Package("azure-nativePackageResource",
    application_name=string,
    blob_path=string,
    flighting_ring=string,
    resource_group_name=string,
    target_os_list=[{
        osUpdateType: string,
        baselineOSs: [string],
        insiderChannelIds: [string],
        targetOSImageIds: [string],
        targetOSs: [string],
    }],
    test_base_account_name=string,
    tests=[{
        commands: [{
            contentType: string,
            name: string,
            action: string,
            content: string,
            install1PAppBefore: False,
            enrollIntuneBefore: False,
            applyUpdateBefore: False,
            maxRunTime: 0,
            alwaysRun: False,
            postUpgrade: False,
            preUpgrade: False,
            restartAfter: False,
            runAsInteractive: False,
            runElevated: False,
        }],
        testType: string,
        isActive: False,
    }],
    version=string,
    location=string,
    package_name=string,
    tags={
        string: string,
    })
Copy
const azure_nativePackageResource = new azure_native.testbase.Package("azure-nativePackageResource", {
    applicationName: "string",
    blobPath: "string",
    flightingRing: "string",
    resourceGroupName: "string",
    targetOSList: [{
        osUpdateType: "string",
        baselineOSs: ["string"],
        insiderChannelIds: ["string"],
        targetOSImageIds: ["string"],
        targetOSs: ["string"],
    }],
    testBaseAccountName: "string",
    tests: [{
        commands: [{
            contentType: "string",
            name: "string",
            action: "string",
            content: "string",
            install1PAppBefore: false,
            enrollIntuneBefore: false,
            applyUpdateBefore: false,
            maxRunTime: 0,
            alwaysRun: false,
            postUpgrade: false,
            preUpgrade: false,
            restartAfter: false,
            runAsInteractive: false,
            runElevated: false,
        }],
        testType: "string",
        isActive: false,
    }],
    version: "string",
    location: "string",
    packageName: "string",
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:testbase:Package
properties:
    applicationName: string
    blobPath: string
    flightingRing: string
    location: string
    packageName: string
    resourceGroupName: string
    tags:
        string: string
    targetOSList:
        - baselineOSs:
            - string
          insiderChannelIds:
            - string
          osUpdateType: string
          targetOSImageIds:
            - string
          targetOSs:
            - string
    testBaseAccountName: string
    tests:
        - commands:
            - action: string
              alwaysRun: false
              applyUpdateBefore: false
              content: string
              contentType: string
              enrollIntuneBefore: false
              install1PAppBefore: false
              maxRunTime: 0
              name: string
              postUpgrade: false
              preUpgrade: false
              restartAfter: false
              runAsInteractive: false
              runElevated: false
          isActive: false
          testType: string
    version: string
Copy

Package Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Package resource accepts the following input properties:

ApplicationName This property is required. string
Application name
BlobPath This property is required. string
The file path of the package.
FlightingRing This property is required. string
The flighting ring for feature update.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the resource.
TargetOSList This property is required. List<Pulumi.AzureNative.TestBase.Inputs.TargetOSInfo>
Specifies the target OSs of specific OS Update types.
TestBaseAccountName
This property is required.
Changes to this property will trigger replacement.
string
The resource name of the Test Base Account.
Tests This property is required. List<Pulumi.AzureNative.TestBase.Inputs.Test>
The detailed test information.
Version This property is required. string
Application version
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
PackageName Changes to this property will trigger replacement. string
The resource name of the Test Base Package.
Tags Dictionary<string, string>
The tags of the resource.
ApplicationName This property is required. string
Application name
BlobPath This property is required. string
The file path of the package.
FlightingRing This property is required. string
The flighting ring for feature update.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the resource.
TargetOSList This property is required. []TargetOSInfoArgs
Specifies the target OSs of specific OS Update types.
TestBaseAccountName
This property is required.
Changes to this property will trigger replacement.
string
The resource name of the Test Base Account.
Tests This property is required. []TestArgs
The detailed test information.
Version This property is required. string
Application version
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
PackageName Changes to this property will trigger replacement. string
The resource name of the Test Base Package.
Tags map[string]string
The tags of the resource.
applicationName This property is required. String
Application name
blobPath This property is required. String
The file path of the package.
flightingRing This property is required. String
The flighting ring for feature update.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group that contains the resource.
targetOSList This property is required. List<TargetOSInfo>
Specifies the target OSs of specific OS Update types.
testBaseAccountName
This property is required.
Changes to this property will trigger replacement.
String
The resource name of the Test Base Account.
tests This property is required. List<Test>
The detailed test information.
version This property is required. String
Application version
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
packageName Changes to this property will trigger replacement. String
The resource name of the Test Base Package.
tags Map<String,String>
The tags of the resource.
applicationName This property is required. string
Application name
blobPath This property is required. string
The file path of the package.
flightingRing This property is required. string
The flighting ring for feature update.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the resource.
targetOSList This property is required. TargetOSInfo[]
Specifies the target OSs of specific OS Update types.
testBaseAccountName
This property is required.
Changes to this property will trigger replacement.
string
The resource name of the Test Base Account.
tests This property is required. Test[]
The detailed test information.
version This property is required. string
Application version
location Changes to this property will trigger replacement. string
The geo-location where the resource lives
packageName Changes to this property will trigger replacement. string
The resource name of the Test Base Package.
tags {[key: string]: string}
The tags of the resource.
application_name This property is required. str
Application name
blob_path This property is required. str
The file path of the package.
flighting_ring This property is required. str
The flighting ring for feature update.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group that contains the resource.
target_os_list This property is required. Sequence[TargetOSInfoArgs]
Specifies the target OSs of specific OS Update types.
test_base_account_name
This property is required.
Changes to this property will trigger replacement.
str
The resource name of the Test Base Account.
tests This property is required. Sequence[TestArgs]
The detailed test information.
version This property is required. str
Application version
location Changes to this property will trigger replacement. str
The geo-location where the resource lives
package_name Changes to this property will trigger replacement. str
The resource name of the Test Base Package.
tags Mapping[str, str]
The tags of the resource.
applicationName This property is required. String
Application name
blobPath This property is required. String
The file path of the package.
flightingRing This property is required. String
The flighting ring for feature update.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group that contains the resource.
targetOSList This property is required. List<Property Map>
Specifies the target OSs of specific OS Update types.
testBaseAccountName
This property is required.
Changes to this property will trigger replacement.
String
The resource name of the Test Base Account.
tests This property is required. List<Property Map>
The detailed test information.
version This property is required. String
Application version
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
packageName Changes to this property will trigger replacement. String
The resource name of the Test Base Package.
tags Map<String>
The tags of the resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the Package resource produces the following output properties:

Etag string
Resource Etag.
Id string
The provider-assigned unique ID for this managed resource.
IsEnabled bool
Flag showing that whether the package is enabled. It doesn't schedule test for package which is not enabled.
LastModifiedTime string
The UTC timestamp when the package was last modified.
Name string
Resource name.
PackageStatus string
The status of the package.
ProvisioningState string
The provisioning state of the resource.
SystemData Pulumi.AzureNative.TestBase.Outputs.SystemDataResponse
The system metadata relating to this resource
TestTypes List<string>
OOB, functional or both. Mapped to the data in 'tests' property.
Type string
Resource type.
ValidationResults List<Pulumi.AzureNative.TestBase.Outputs.PackageValidationResultResponse>
The validation results. There's validation on package when it's created or updated.
Etag string
Resource Etag.
Id string
The provider-assigned unique ID for this managed resource.
IsEnabled bool
Flag showing that whether the package is enabled. It doesn't schedule test for package which is not enabled.
LastModifiedTime string
The UTC timestamp when the package was last modified.
Name string
Resource name.
PackageStatus string
The status of the package.
ProvisioningState string
The provisioning state of the resource.
SystemData SystemDataResponse
The system metadata relating to this resource
TestTypes []string
OOB, functional or both. Mapped to the data in 'tests' property.
Type string
Resource type.
ValidationResults []PackageValidationResultResponse
The validation results. There's validation on package when it's created or updated.
etag String
Resource Etag.
id String
The provider-assigned unique ID for this managed resource.
isEnabled Boolean
Flag showing that whether the package is enabled. It doesn't schedule test for package which is not enabled.
lastModifiedTime String
The UTC timestamp when the package was last modified.
name String
Resource name.
packageStatus String
The status of the package.
provisioningState String
The provisioning state of the resource.
systemData SystemDataResponse
The system metadata relating to this resource
testTypes List<String>
OOB, functional or both. Mapped to the data in 'tests' property.
type String
Resource type.
validationResults List<PackageValidationResultResponse>
The validation results. There's validation on package when it's created or updated.
etag string
Resource Etag.
id string
The provider-assigned unique ID for this managed resource.
isEnabled boolean
Flag showing that whether the package is enabled. It doesn't schedule test for package which is not enabled.
lastModifiedTime string
The UTC timestamp when the package was last modified.
name string
Resource name.
packageStatus string
The status of the package.
provisioningState string
The provisioning state of the resource.
systemData SystemDataResponse
The system metadata relating to this resource
testTypes string[]
OOB, functional or both. Mapped to the data in 'tests' property.
type string
Resource type.
validationResults PackageValidationResultResponse[]
The validation results. There's validation on package when it's created or updated.
etag str
Resource Etag.
id str
The provider-assigned unique ID for this managed resource.
is_enabled bool
Flag showing that whether the package is enabled. It doesn't schedule test for package which is not enabled.
last_modified_time str
The UTC timestamp when the package was last modified.
name str
Resource name.
package_status str
The status of the package.
provisioning_state str
The provisioning state of the resource.
system_data SystemDataResponse
The system metadata relating to this resource
test_types Sequence[str]
OOB, functional or both. Mapped to the data in 'tests' property.
type str
Resource type.
validation_results Sequence[PackageValidationResultResponse]
The validation results. There's validation on package when it's created or updated.
etag String
Resource Etag.
id String
The provider-assigned unique ID for this managed resource.
isEnabled Boolean
Flag showing that whether the package is enabled. It doesn't schedule test for package which is not enabled.
lastModifiedTime String
The UTC timestamp when the package was last modified.
name String
Resource name.
packageStatus String
The status of the package.
provisioningState String
The provisioning state of the resource.
systemData Property Map
The system metadata relating to this resource
testTypes List<String>
OOB, functional or both. Mapped to the data in 'tests' property.
type String
Resource type.
validationResults List<Property Map>
The validation results. There's validation on package when it's created or updated.

Supporting Types

Action
, ActionArgs

Install
Install
Launch
Launch
Close
Close
Uninstall
Uninstall
Custom
Custom
ActionInstall
Install
ActionLaunch
Launch
ActionClose
Close
ActionUninstall
Uninstall
ActionCustom
Custom
Install
Install
Launch
Launch
Close
Close
Uninstall
Uninstall
Custom
Custom
Install
Install
Launch
Launch
Close
Close
Uninstall
Uninstall
Custom
Custom
INSTALL
Install
LAUNCH
Launch
CLOSE
Close
UNINSTALL
Uninstall
CUSTOM
Custom
"Install"
Install
"Launch"
Launch
"Close"
Close
"Uninstall"
Uninstall
"Custom"
Custom

Command
, CommandArgs

Action This property is required. string | Pulumi.AzureNative.TestBase.Action
The action of the command.
Content This property is required. string
The content of the command. The content depends on source type.
ContentType This property is required. string | Pulumi.AzureNative.TestBase.ContentType
The type of command content.
Name This property is required. string
The name of the command.
AlwaysRun bool
Specifies whether to run the command even if a previous command is failed.
ApplyUpdateBefore bool
Specifies whether to apply update before the command.
EnrollIntuneBefore bool
Specifies whether to enroll Intune before the command.
Install1PAppBefore bool
Specifies whether to install first party applications before running the command.
MaxRunTime int
Specifies the max run time of the command.
PostUpgrade bool
Specifies whether the command is assigned to be executed after in-place upgrade.
PreUpgrade bool
Specifies whether the command is assigned to be executed before in-place upgrade.
RestartAfter bool
Specifies whether to restart the VM after the command executed.
RunAsInteractive bool
Specifies whether to run the command in interactive mode.
RunElevated bool
Specifies whether to run the command as administrator.
Action This property is required. string | Action
The action of the command.
Content This property is required. string
The content of the command. The content depends on source type.
ContentType This property is required. string | ContentType
The type of command content.
Name This property is required. string
The name of the command.
AlwaysRun bool
Specifies whether to run the command even if a previous command is failed.
ApplyUpdateBefore bool
Specifies whether to apply update before the command.
EnrollIntuneBefore bool
Specifies whether to enroll Intune before the command.
Install1PAppBefore bool
Specifies whether to install first party applications before running the command.
MaxRunTime int
Specifies the max run time of the command.
PostUpgrade bool
Specifies whether the command is assigned to be executed after in-place upgrade.
PreUpgrade bool
Specifies whether the command is assigned to be executed before in-place upgrade.
RestartAfter bool
Specifies whether to restart the VM after the command executed.
RunAsInteractive bool
Specifies whether to run the command in interactive mode.
RunElevated bool
Specifies whether to run the command as administrator.
action This property is required. String | Action
The action of the command.
content This property is required. String
The content of the command. The content depends on source type.
contentType This property is required. String | ContentType
The type of command content.
name This property is required. String
The name of the command.
alwaysRun Boolean
Specifies whether to run the command even if a previous command is failed.
applyUpdateBefore Boolean
Specifies whether to apply update before the command.
enrollIntuneBefore Boolean
Specifies whether to enroll Intune before the command.
install1PAppBefore Boolean
Specifies whether to install first party applications before running the command.
maxRunTime Integer
Specifies the max run time of the command.
postUpgrade Boolean
Specifies whether the command is assigned to be executed after in-place upgrade.
preUpgrade Boolean
Specifies whether the command is assigned to be executed before in-place upgrade.
restartAfter Boolean
Specifies whether to restart the VM after the command executed.
runAsInteractive Boolean
Specifies whether to run the command in interactive mode.
runElevated Boolean
Specifies whether to run the command as administrator.
action This property is required. string | Action
The action of the command.
content This property is required. string
The content of the command. The content depends on source type.
contentType This property is required. string | ContentType
The type of command content.
name This property is required. string
The name of the command.
alwaysRun boolean
Specifies whether to run the command even if a previous command is failed.
applyUpdateBefore boolean
Specifies whether to apply update before the command.
enrollIntuneBefore boolean
Specifies whether to enroll Intune before the command.
install1PAppBefore boolean
Specifies whether to install first party applications before running the command.
maxRunTime number
Specifies the max run time of the command.
postUpgrade boolean
Specifies whether the command is assigned to be executed after in-place upgrade.
preUpgrade boolean
Specifies whether the command is assigned to be executed before in-place upgrade.
restartAfter boolean
Specifies whether to restart the VM after the command executed.
runAsInteractive boolean
Specifies whether to run the command in interactive mode.
runElevated boolean
Specifies whether to run the command as administrator.
action This property is required. str | Action
The action of the command.
content This property is required. str
The content of the command. The content depends on source type.
content_type This property is required. str | ContentType
The type of command content.
name This property is required. str
The name of the command.
always_run bool
Specifies whether to run the command even if a previous command is failed.
apply_update_before bool
Specifies whether to apply update before the command.
enroll_intune_before bool
Specifies whether to enroll Intune before the command.
install1_p_app_before bool
Specifies whether to install first party applications before running the command.
max_run_time int
Specifies the max run time of the command.
post_upgrade bool
Specifies whether the command is assigned to be executed after in-place upgrade.
pre_upgrade bool
Specifies whether the command is assigned to be executed before in-place upgrade.
restart_after bool
Specifies whether to restart the VM after the command executed.
run_as_interactive bool
Specifies whether to run the command in interactive mode.
run_elevated bool
Specifies whether to run the command as administrator.
action This property is required. String | "Install" | "Launch" | "Close" | "Uninstall" | "Custom"
The action of the command.
content This property is required. String
The content of the command. The content depends on source type.
contentType This property is required. String | "Inline" | "File" | "Path"
The type of command content.
name This property is required. String
The name of the command.
alwaysRun Boolean
Specifies whether to run the command even if a previous command is failed.
applyUpdateBefore Boolean
Specifies whether to apply update before the command.
enrollIntuneBefore Boolean
Specifies whether to enroll Intune before the command.
install1PAppBefore Boolean
Specifies whether to install first party applications before running the command.
maxRunTime Number
Specifies the max run time of the command.
postUpgrade Boolean
Specifies whether the command is assigned to be executed after in-place upgrade.
preUpgrade Boolean
Specifies whether the command is assigned to be executed before in-place upgrade.
restartAfter Boolean
Specifies whether to restart the VM after the command executed.
runAsInteractive Boolean
Specifies whether to run the command in interactive mode.
runElevated Boolean
Specifies whether to run the command as administrator.

CommandResponse
, CommandResponseArgs

Action This property is required. string
The action of the command.
Content This property is required. string
The content of the command. The content depends on source type.
ContentType This property is required. string
The type of command content.
Name This property is required. string
The name of the command.
AlwaysRun bool
Specifies whether to run the command even if a previous command is failed.
ApplyUpdateBefore bool
Specifies whether to apply update before the command.
EnrollIntuneBefore bool
Specifies whether to enroll Intune before the command.
Install1PAppBefore bool
Specifies whether to install first party applications before running the command.
MaxRunTime int
Specifies the max run time of the command.
PostUpgrade bool
Specifies whether the command is assigned to be executed after in-place upgrade.
PreUpgrade bool
Specifies whether the command is assigned to be executed before in-place upgrade.
RestartAfter bool
Specifies whether to restart the VM after the command executed.
RunAsInteractive bool
Specifies whether to run the command in interactive mode.
RunElevated bool
Specifies whether to run the command as administrator.
Action This property is required. string
The action of the command.
Content This property is required. string
The content of the command. The content depends on source type.
ContentType This property is required. string
The type of command content.
Name This property is required. string
The name of the command.
AlwaysRun bool
Specifies whether to run the command even if a previous command is failed.
ApplyUpdateBefore bool
Specifies whether to apply update before the command.
EnrollIntuneBefore bool
Specifies whether to enroll Intune before the command.
Install1PAppBefore bool
Specifies whether to install first party applications before running the command.
MaxRunTime int
Specifies the max run time of the command.
PostUpgrade bool
Specifies whether the command is assigned to be executed after in-place upgrade.
PreUpgrade bool
Specifies whether the command is assigned to be executed before in-place upgrade.
RestartAfter bool
Specifies whether to restart the VM after the command executed.
RunAsInteractive bool
Specifies whether to run the command in interactive mode.
RunElevated bool
Specifies whether to run the command as administrator.
action This property is required. String
The action of the command.
content This property is required. String
The content of the command. The content depends on source type.
contentType This property is required. String
The type of command content.
name This property is required. String
The name of the command.
alwaysRun Boolean
Specifies whether to run the command even if a previous command is failed.
applyUpdateBefore Boolean
Specifies whether to apply update before the command.
enrollIntuneBefore Boolean
Specifies whether to enroll Intune before the command.
install1PAppBefore Boolean
Specifies whether to install first party applications before running the command.
maxRunTime Integer
Specifies the max run time of the command.
postUpgrade Boolean
Specifies whether the command is assigned to be executed after in-place upgrade.
preUpgrade Boolean
Specifies whether the command is assigned to be executed before in-place upgrade.
restartAfter Boolean
Specifies whether to restart the VM after the command executed.
runAsInteractive Boolean
Specifies whether to run the command in interactive mode.
runElevated Boolean
Specifies whether to run the command as administrator.
action This property is required. string
The action of the command.
content This property is required. string
The content of the command. The content depends on source type.
contentType This property is required. string
The type of command content.
name This property is required. string
The name of the command.
alwaysRun boolean
Specifies whether to run the command even if a previous command is failed.
applyUpdateBefore boolean
Specifies whether to apply update before the command.
enrollIntuneBefore boolean
Specifies whether to enroll Intune before the command.
install1PAppBefore boolean
Specifies whether to install first party applications before running the command.
maxRunTime number
Specifies the max run time of the command.
postUpgrade boolean
Specifies whether the command is assigned to be executed after in-place upgrade.
preUpgrade boolean
Specifies whether the command is assigned to be executed before in-place upgrade.
restartAfter boolean
Specifies whether to restart the VM after the command executed.
runAsInteractive boolean
Specifies whether to run the command in interactive mode.
runElevated boolean
Specifies whether to run the command as administrator.
action This property is required. str
The action of the command.
content This property is required. str
The content of the command. The content depends on source type.
content_type This property is required. str
The type of command content.
name This property is required. str
The name of the command.
always_run bool
Specifies whether to run the command even if a previous command is failed.
apply_update_before bool
Specifies whether to apply update before the command.
enroll_intune_before bool
Specifies whether to enroll Intune before the command.
install1_p_app_before bool
Specifies whether to install first party applications before running the command.
max_run_time int
Specifies the max run time of the command.
post_upgrade bool
Specifies whether the command is assigned to be executed after in-place upgrade.
pre_upgrade bool
Specifies whether the command is assigned to be executed before in-place upgrade.
restart_after bool
Specifies whether to restart the VM after the command executed.
run_as_interactive bool
Specifies whether to run the command in interactive mode.
run_elevated bool
Specifies whether to run the command as administrator.
action This property is required. String
The action of the command.
content This property is required. String
The content of the command. The content depends on source type.
contentType This property is required. String
The type of command content.
name This property is required. String
The name of the command.
alwaysRun Boolean
Specifies whether to run the command even if a previous command is failed.
applyUpdateBefore Boolean
Specifies whether to apply update before the command.
enrollIntuneBefore Boolean
Specifies whether to enroll Intune before the command.
install1PAppBefore Boolean
Specifies whether to install first party applications before running the command.
maxRunTime Number
Specifies the max run time of the command.
postUpgrade Boolean
Specifies whether the command is assigned to be executed after in-place upgrade.
preUpgrade Boolean
Specifies whether the command is assigned to be executed before in-place upgrade.
restartAfter Boolean
Specifies whether to restart the VM after the command executed.
runAsInteractive Boolean
Specifies whether to run the command in interactive mode.
runElevated Boolean
Specifies whether to run the command as administrator.

ContentType
, ContentTypeArgs

Inline
Inline
File
File
Path
Path
ContentTypeInline
Inline
ContentTypeFile
File
ContentTypePath
Path
Inline
Inline
File
File
Path
Path
Inline
Inline
File
File
Path
Path
INLINE
Inline
FILE
File
PATH
Path
"Inline"
Inline
"File"
File
"Path"
Path

PackageValidationResultResponse
, PackageValidationResultResponseArgs

Errors This property is required. List<string>
Error information.
IsValid This property is required. bool
Indicates whether the package passed the validation.
ValidationName This property is required. string
Validation name.
Errors This property is required. []string
Error information.
IsValid This property is required. bool
Indicates whether the package passed the validation.
ValidationName This property is required. string
Validation name.
errors This property is required. List<String>
Error information.
isValid This property is required. Boolean
Indicates whether the package passed the validation.
validationName This property is required. String
Validation name.
errors This property is required. string[]
Error information.
isValid This property is required. boolean
Indicates whether the package passed the validation.
validationName This property is required. string
Validation name.
errors This property is required. Sequence[str]
Error information.
is_valid This property is required. bool
Indicates whether the package passed the validation.
validation_name This property is required. str
Validation name.
errors This property is required. List<String>
Error information.
isValid This property is required. Boolean
Indicates whether the package passed the validation.
validationName This property is required. String
Validation name.

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The type of identity that last modified the resource.
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The type of identity that last modified the resource.
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The type of identity that last modified the resource.
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The type of identity that last modified the resource.
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The type of identity that last modified the resource.
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The type of identity that last modified the resource.
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

TargetOSInfo
, TargetOSInfoArgs

OsUpdateType This property is required. string
Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
BaselineOSs List<string>
Specifies the baseline OSs to be tested.
InsiderChannelIds List<string>
Insider Channel Ids. Only used for feature update.
TargetOSImageIds List<string>
Specifies the ids of the target OSs from Custom Images to be tested.
TargetOSs List<string>
Specifies the target OSs to be tested.
OsUpdateType This property is required. string
Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
BaselineOSs []string
Specifies the baseline OSs to be tested.
InsiderChannelIds []string
Insider Channel Ids. Only used for feature update.
TargetOSImageIds []string
Specifies the ids of the target OSs from Custom Images to be tested.
TargetOSs []string
Specifies the target OSs to be tested.
osUpdateType This property is required. String
Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
baselineOSs List<String>
Specifies the baseline OSs to be tested.
insiderChannelIds List<String>
Insider Channel Ids. Only used for feature update.
targetOSImageIds List<String>
Specifies the ids of the target OSs from Custom Images to be tested.
targetOSs List<String>
Specifies the target OSs to be tested.
osUpdateType This property is required. string
Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
baselineOSs string[]
Specifies the baseline OSs to be tested.
insiderChannelIds string[]
Insider Channel Ids. Only used for feature update.
targetOSImageIds string[]
Specifies the ids of the target OSs from Custom Images to be tested.
targetOSs string[]
Specifies the target OSs to be tested.
os_update_type This property is required. str
Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
baseline_oss Sequence[str]
Specifies the baseline OSs to be tested.
insider_channel_ids Sequence[str]
Insider Channel Ids. Only used for feature update.
target_os_image_ids Sequence[str]
Specifies the ids of the target OSs from Custom Images to be tested.
target_oss Sequence[str]
Specifies the target OSs to be tested.
osUpdateType This property is required. String
Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
baselineOSs List<String>
Specifies the baseline OSs to be tested.
insiderChannelIds List<String>
Insider Channel Ids. Only used for feature update.
targetOSImageIds List<String>
Specifies the ids of the target OSs from Custom Images to be tested.
targetOSs List<String>
Specifies the target OSs to be tested.

TargetOSInfoResponse
, TargetOSInfoResponseArgs

OsUpdateType This property is required. string
Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
TargetOSs This property is required. List<string>
Specifies the target OSs to be tested.
BaselineOSs List<string>
Specifies the baseline OSs to be tested.
InsiderChannelIds List<string>
Insider Channel Ids. Only used for feature update.
TargetOSImageIds List<string>
Specifies the ids of the target OSs from Custom Images to be tested.
OsUpdateType This property is required. string
Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
TargetOSs This property is required. []string
Specifies the target OSs to be tested.
BaselineOSs []string
Specifies the baseline OSs to be tested.
InsiderChannelIds []string
Insider Channel Ids. Only used for feature update.
TargetOSImageIds []string
Specifies the ids of the target OSs from Custom Images to be tested.
osUpdateType This property is required. String
Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
targetOSs This property is required. List<String>
Specifies the target OSs to be tested.
baselineOSs List<String>
Specifies the baseline OSs to be tested.
insiderChannelIds List<String>
Insider Channel Ids. Only used for feature update.
targetOSImageIds List<String>
Specifies the ids of the target OSs from Custom Images to be tested.
osUpdateType This property is required. string
Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
targetOSs This property is required. string[]
Specifies the target OSs to be tested.
baselineOSs string[]
Specifies the baseline OSs to be tested.
insiderChannelIds string[]
Insider Channel Ids. Only used for feature update.
targetOSImageIds string[]
Specifies the ids of the target OSs from Custom Images to be tested.
os_update_type This property is required. str
Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
target_oss This property is required. Sequence[str]
Specifies the target OSs to be tested.
baseline_oss Sequence[str]
Specifies the baseline OSs to be tested.
insider_channel_ids Sequence[str]
Insider Channel Ids. Only used for feature update.
target_os_image_ids Sequence[str]
Specifies the ids of the target OSs from Custom Images to be tested.
osUpdateType This property is required. String
Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
targetOSs This property is required. List<String>
Specifies the target OSs to be tested.
baselineOSs List<String>
Specifies the baseline OSs to be tested.
insiderChannelIds List<String>
Insider Channel Ids. Only used for feature update.
targetOSImageIds List<String>
Specifies the ids of the target OSs from Custom Images to be tested.

Test
, TestArgs

Commands This property is required. List<Pulumi.AzureNative.TestBase.Inputs.Command>
The commands used in the test.
TestType This property is required. string | Pulumi.AzureNative.TestBase.TestType
The type of the test.
IsActive bool
Indicates if this test is active.It doesn't schedule test for not active Test.
Commands This property is required. []Command
The commands used in the test.
TestType This property is required. string | TestType
The type of the test.
IsActive bool
Indicates if this test is active.It doesn't schedule test for not active Test.
commands This property is required. List<Command>
The commands used in the test.
testType This property is required. String | TestType
The type of the test.
isActive Boolean
Indicates if this test is active.It doesn't schedule test for not active Test.
commands This property is required. Command[]
The commands used in the test.
testType This property is required. string | TestType
The type of the test.
isActive boolean
Indicates if this test is active.It doesn't schedule test for not active Test.
commands This property is required. Sequence[Command]
The commands used in the test.
test_type This property is required. str | TestType
The type of the test.
is_active bool
Indicates if this test is active.It doesn't schedule test for not active Test.
commands This property is required. List<Property Map>
The commands used in the test.
testType This property is required. String | "OutOfBoxTest" | "FunctionalTest"
The type of the test.
isActive Boolean
Indicates if this test is active.It doesn't schedule test for not active Test.

TestResponse
, TestResponseArgs

Commands This property is required. List<Pulumi.AzureNative.TestBase.Inputs.CommandResponse>
The commands used in the test.
TestType This property is required. string
The type of the test.
ValidationResultId This property is required. string
Resource identifier of the validation test result.
ValidationRunStatus This property is required. string
The status of the validation run of the package.
IsActive bool
Indicates if this test is active.It doesn't schedule test for not active Test.
Commands This property is required. []CommandResponse
The commands used in the test.
TestType This property is required. string
The type of the test.
ValidationResultId This property is required. string
Resource identifier of the validation test result.
ValidationRunStatus This property is required. string
The status of the validation run of the package.
IsActive bool
Indicates if this test is active.It doesn't schedule test for not active Test.
commands This property is required. List<CommandResponse>
The commands used in the test.
testType This property is required. String
The type of the test.
validationResultId This property is required. String
Resource identifier of the validation test result.
validationRunStatus This property is required. String
The status of the validation run of the package.
isActive Boolean
Indicates if this test is active.It doesn't schedule test for not active Test.
commands This property is required. CommandResponse[]
The commands used in the test.
testType This property is required. string
The type of the test.
validationResultId This property is required. string
Resource identifier of the validation test result.
validationRunStatus This property is required. string
The status of the validation run of the package.
isActive boolean
Indicates if this test is active.It doesn't schedule test for not active Test.
commands This property is required. Sequence[CommandResponse]
The commands used in the test.
test_type This property is required. str
The type of the test.
validation_result_id This property is required. str
Resource identifier of the validation test result.
validation_run_status This property is required. str
The status of the validation run of the package.
is_active bool
Indicates if this test is active.It doesn't schedule test for not active Test.
commands This property is required. List<Property Map>
The commands used in the test.
testType This property is required. String
The type of the test.
validationResultId This property is required. String
Resource identifier of the validation test result.
validationRunStatus This property is required. String
The status of the validation run of the package.
isActive Boolean
Indicates if this test is active.It doesn't schedule test for not active Test.

TestType
, TestTypeArgs

OutOfBoxTest
OutOfBoxTest
FunctionalTest
FunctionalTest
TestTypeOutOfBoxTest
OutOfBoxTest
TestTypeFunctionalTest
FunctionalTest
OutOfBoxTest
OutOfBoxTest
FunctionalTest
FunctionalTest
OutOfBoxTest
OutOfBoxTest
FunctionalTest
FunctionalTest
OUT_OF_BOX_TEST
OutOfBoxTest
FUNCTIONAL_TEST
FunctionalTest
"OutOfBoxTest"
OutOfBoxTest
"FunctionalTest"
FunctionalTest

Import

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

$ pulumi import azure-native:testbase:Package contoso-package2 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi