1. Packages
  2. Azure Native
  3. API Docs
  4. testbase
  5. Package
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.testbase.Package

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 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",
        });
    
    });
    
    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:              nil,
    			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
    	})
    }
    
    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());
    
        }
    }
    
    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=[azure_native.testbase.TargetOSInfoArgs(
            os_update_type="Security updates",
            target_oss=[
                "Windows 10 2004",
                "Windows 10 1903",
            ],
        )],
        test_base_account_name="contoso-testBaseAccount1",
        tests=[azure_native.testbase.TestArgs(
            commands=[
                azure_native.testbase.CommandArgs(
                    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,
                ),
                azure_native.testbase.CommandArgs(
                    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,
                ),
                azure_native.testbase.CommandArgs(
                    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,
                ),
                azure_native.testbase.CommandArgs(
                    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")
    
    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",
    });
    
    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
    

    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 string
    The unique name of the resource.
    args PackageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args 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 string
    The unique name of the resource.
    args PackageArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PackageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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[]
        {
            new AzureNative.TestBase.Inputs.TargetOSInfoArgs
            {
                OsUpdateType = "string",
                BaselineOSs = new[]
                {
                    "string",
                },
                InsiderChannelIds = new[]
                {
                    "string",
                },
                TargetOSImageIds = new[]
                {
                    "string",
                },
                TargetOSs = new[]
                {
                    "string",
                },
            },
        },
        TestBaseAccountName = "string",
        Tests = new[]
        {
            new AzureNative.TestBase.Inputs.TestArgs
            {
                Commands = new[]
                {
                    new AzureNative.TestBase.Inputs.CommandArgs
                    {
                        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" },
        },
    });
    
    example, err := testbase.NewPackage(ctx, "azure-nativePackageResource", &testbase.PackageArgs{
    ApplicationName: pulumi.String("string"),
    BlobPath: pulumi.String("string"),
    FlightingRing: pulumi.String("string"),
    ResourceGroupName: pulumi.String("string"),
    TargetOSList: testbase.TargetOSInfoArray{
    &testbase.TargetOSInfoArgs{
    OsUpdateType: pulumi.String("string"),
    BaselineOSs: pulumi.StringArray{
    pulumi.String("string"),
    },
    InsiderChannelIds: pulumi.StringArray{
    pulumi.String("string"),
    },
    TargetOSImageIds: pulumi.StringArray{
    pulumi.String("string"),
    },
    TargetOSs: pulumi.StringArray{
    pulumi.String("string"),
    },
    },
    },
    TestBaseAccountName: pulumi.String("string"),
    Tests: testbase.TestArray{
    &testbase.TestArgs{
    Commands: testbase.CommandArray{
    &testbase.CommandArgs{
    ContentType: pulumi.String("string"),
    Name: pulumi.String("string"),
    Action: pulumi.String("string"),
    Content: pulumi.String("string"),
    Install1PAppBefore: pulumi.Bool(false),
    EnrollIntuneBefore: pulumi.Bool(false),
    ApplyUpdateBefore: pulumi.Bool(false),
    MaxRunTime: pulumi.Int(0),
    AlwaysRun: pulumi.Bool(false),
    PostUpgrade: pulumi.Bool(false),
    PreUpgrade: pulumi.Bool(false),
    RestartAfter: pulumi.Bool(false),
    RunAsInteractive: pulumi.Bool(false),
    RunElevated: pulumi.Bool(false),
    },
    },
    TestType: pulumi.String("string"),
    IsActive: pulumi.Bool(false),
    },
    },
    Version: pulumi.String("string"),
    Location: pulumi.String("string"),
    PackageName: pulumi.String("string"),
    Tags: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    })
    
    var azure_nativePackageResource = new Package("azure-nativePackageResource", PackageArgs.builder()
        .applicationName("string")
        .blobPath("string")
        .flightingRing("string")
        .resourceGroupName("string")
        .targetOSList(TargetOSInfoArgs.builder()
            .osUpdateType("string")
            .baselineOSs("string")
            .insiderChannelIds("string")
            .targetOSImageIds("string")
            .targetOSs("string")
            .build())
        .testBaseAccountName("string")
        .tests(TestArgs.builder()
            .commands(CommandArgs.builder()
                .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)
                .build())
            .testType("string")
            .isActive(false)
            .build())
        .version("string")
        .location("string")
        .packageName("string")
        .tags(Map.of("string", "string"))
        .build());
    
    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=[azure_native.testbase.TargetOSInfoArgs(
            os_update_type="string",
            baseline_oss=["string"],
            insider_channel_ids=["string"],
            target_os_image_ids=["string"],
            target_oss=["string"],
        )],
        test_base_account_name="string",
        tests=[azure_native.testbase.TestArgs(
            commands=[azure_native.testbase.CommandArgs(
                content_type="string",
                name="string",
                action="string",
                content="string",
                install1_p_app_before=False,
                enroll_intune_before=False,
                apply_update_before=False,
                max_run_time=0,
                always_run=False,
                post_upgrade=False,
                pre_upgrade=False,
                restart_after=False,
                run_as_interactive=False,
                run_elevated=False,
            )],
            test_type="string",
            is_active=False,
        )],
        version="string",
        location="string",
        package_name="string",
        tags={
            "string": "string",
        })
    
    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",
        },
    });
    
    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
    

    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

    The Package resource accepts the following input properties:

    ApplicationName string
    Application name
    BlobPath string
    The file path of the package.
    FlightingRing string
    The flighting ring for feature update.
    ResourceGroupName string
    The name of the resource group that contains the resource.
    TargetOSList List<Pulumi.AzureNative.TestBase.Inputs.TargetOSInfo>
    Specifies the target OSs of specific OS Update types.
    TestBaseAccountName string
    The resource name of the Test Base Account.
    Tests List<Pulumi.AzureNative.TestBase.Inputs.Test>
    The detailed test information.
    Version string
    Application version
    Location string
    The geo-location where the resource lives
    PackageName string
    The resource name of the Test Base Package.
    Tags Dictionary<string, string>
    The tags of the resource.
    ApplicationName string
    Application name
    BlobPath string
    The file path of the package.
    FlightingRing string
    The flighting ring for feature update.
    ResourceGroupName string
    The name of the resource group that contains the resource.
    TargetOSList []TargetOSInfoArgs
    Specifies the target OSs of specific OS Update types.
    TestBaseAccountName string
    The resource name of the Test Base Account.
    Tests []TestArgs
    The detailed test information.
    Version string
    Application version
    Location string
    The geo-location where the resource lives
    PackageName string
    The resource name of the Test Base Package.
    Tags map[string]string
    The tags of the resource.
    applicationName String
    Application name
    blobPath String
    The file path of the package.
    flightingRing String
    The flighting ring for feature update.
    resourceGroupName String
    The name of the resource group that contains the resource.
    targetOSList List<TargetOSInfo>
    Specifies the target OSs of specific OS Update types.
    testBaseAccountName String
    The resource name of the Test Base Account.
    tests List<Test>
    The detailed test information.
    version String
    Application version
    location String
    The geo-location where the resource lives
    packageName String
    The resource name of the Test Base Package.
    tags Map<String,String>
    The tags of the resource.
    applicationName string
    Application name
    blobPath string
    The file path of the package.
    flightingRing string
    The flighting ring for feature update.
    resourceGroupName string
    The name of the resource group that contains the resource.
    targetOSList TargetOSInfo[]
    Specifies the target OSs of specific OS Update types.
    testBaseAccountName string
    The resource name of the Test Base Account.
    tests Test[]
    The detailed test information.
    version string
    Application version
    location string
    The geo-location where the resource lives
    packageName string
    The resource name of the Test Base Package.
    tags {[key: string]: string}
    The tags of the resource.
    application_name str
    Application name
    blob_path str
    The file path of the package.
    flighting_ring str
    The flighting ring for feature update.
    resource_group_name str
    The name of the resource group that contains the resource.
    target_os_list Sequence[TargetOSInfoArgs]
    Specifies the target OSs of specific OS Update types.
    test_base_account_name str
    The resource name of the Test Base Account.
    tests Sequence[TestArgs]
    The detailed test information.
    version str
    Application version
    location str
    The geo-location where the resource lives
    package_name str
    The resource name of the Test Base Package.
    tags Mapping[str, str]
    The tags of the resource.
    applicationName String
    Application name
    blobPath String
    The file path of the package.
    flightingRing String
    The flighting ring for feature update.
    resourceGroupName String
    The name of the resource group that contains the resource.
    targetOSList List<Property Map>
    Specifies the target OSs of specific OS Update types.
    testBaseAccountName String
    The resource name of the Test Base Account.
    tests List<Property Map>
    The detailed test information.
    version String
    Application version
    location String
    The geo-location where the resource lives
    packageName 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 string | Pulumi.AzureNative.TestBase.Action
    The action of the command.
    Content string
    The content of the command. The content depends on source type.
    ContentType string | Pulumi.AzureNative.TestBase.ContentType
    The type of command content.
    Name 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 string | Action
    The action of the command.
    Content string
    The content of the command. The content depends on source type.
    ContentType string | ContentType
    The type of command content.
    Name 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 String | Action
    The action of the command.
    content String
    The content of the command. The content depends on source type.
    contentType String | ContentType
    The type of command content.
    name 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 string | Action
    The action of the command.
    content string
    The content of the command. The content depends on source type.
    contentType string | ContentType
    The type of command content.
    name 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 str | Action
    The action of the command.
    content str
    The content of the command. The content depends on source type.
    content_type str | ContentType
    The type of command content.
    name 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 String | "Install" | "Launch" | "Close" | "Uninstall" | "Custom"
    The action of the command.
    content String
    The content of the command. The content depends on source type.
    contentType String | "Inline" | "File" | "Path"
    The type of command content.
    name 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 string
    The action of the command.
    Content string
    The content of the command. The content depends on source type.
    ContentType string
    The type of command content.
    Name 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 string
    The action of the command.
    Content string
    The content of the command. The content depends on source type.
    ContentType string
    The type of command content.
    Name 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 String
    The action of the command.
    content String
    The content of the command. The content depends on source type.
    contentType String
    The type of command content.
    name 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 string
    The action of the command.
    content string
    The content of the command. The content depends on source type.
    contentType string
    The type of command content.
    name 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 str
    The action of the command.
    content str
    The content of the command. The content depends on source type.
    content_type str
    The type of command content.
    name 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 String
    The action of the command.
    content String
    The content of the command. The content depends on source type.
    contentType String
    The type of command content.
    name 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 List<string>
    Error information.
    IsValid bool
    Indicates whether the package passed the validation.
    ValidationName string
    Validation name.
    Errors []string
    Error information.
    IsValid bool
    Indicates whether the package passed the validation.
    ValidationName string
    Validation name.
    errors List<String>
    Error information.
    isValid Boolean
    Indicates whether the package passed the validation.
    validationName String
    Validation name.
    errors string[]
    Error information.
    isValid boolean
    Indicates whether the package passed the validation.
    validationName string
    Validation name.
    errors Sequence[str]
    Error information.
    is_valid bool
    Indicates whether the package passed the validation.
    validation_name str
    Validation name.
    errors List<String>
    Error information.
    isValid Boolean
    Indicates whether the package passed the validation.
    validationName 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 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 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 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 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 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 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 string
    Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
    TargetOSs 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 string
    Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
    TargetOSs []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 String
    Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
    targetOSs 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 string
    Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
    targetOSs 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 str
    Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
    target_oss 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 String
    Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
    targetOSs 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 List<Pulumi.AzureNative.TestBase.Inputs.Command>
    The commands used in the test.
    TestType 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 []Command
    The commands used in the test.
    TestType 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 List<Command>
    The commands used in the test.
    testType 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 Command[]
    The commands used in the test.
    testType 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 Sequence[Command]
    The commands used in the test.
    test_type 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 List<Property Map>
    The commands used in the test.
    testType 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 List<Pulumi.AzureNative.TestBase.Inputs.CommandResponse>
    The commands used in the test.
    TestType string
    The type of the test.
    ValidationResultId string
    Resource identifier of the validation test result.
    ValidationRunStatus 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 []CommandResponse
    The commands used in the test.
    TestType string
    The type of the test.
    ValidationResultId string
    Resource identifier of the validation test result.
    ValidationRunStatus 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 List<CommandResponse>
    The commands used in the test.
    testType String
    The type of the test.
    validationResultId String
    Resource identifier of the validation test result.
    validationRunStatus 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 CommandResponse[]
    The commands used in the test.
    testType string
    The type of the test.
    validationResultId string
    Resource identifier of the validation test result.
    validationRunStatus 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 Sequence[CommandResponse]
    The commands used in the test.
    test_type str
    The type of the test.
    validation_result_id str
    Resource identifier of the validation test result.
    validation_run_status 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 List<Property Map>
    The commands used in the test.
    testType String
    The type of the test.
    validationResultId String
    Resource identifier of the validation test result.
    validationRunStatus 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} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi