Azure Native

v1.88.1 published on Thursday, Dec 1, 2022 by Pulumi

Package

The Test Base Package resource. API Version: 2022-04-01-preview.

Example Usage

PackageCreate

using System.Collections.Generic;
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 = "Install",
                        AlwaysRun = true,
                        ApplyUpdateBefore = false,
                        Content = "app/scripts/install/job.ps1",
                        ContentType = "Path",
                        MaxRunTime = 1800,
                        Name = "Install",
                        RestartAfter = true,
                        RunAsInteractive = true,
                        RunElevated = true,
                    },
                    new AzureNative.TestBase.Inputs.CommandArgs
                    {
                        Action = "Launch",
                        AlwaysRun = false,
                        ApplyUpdateBefore = true,
                        Content = "app/scripts/launch/job.ps1",
                        ContentType = "Path",
                        MaxRunTime = 1800,
                        Name = "Launch",
                        RestartAfter = false,
                        RunAsInteractive = true,
                        RunElevated = true,
                    },
                    new AzureNative.TestBase.Inputs.CommandArgs
                    {
                        Action = "Close",
                        AlwaysRun = false,
                        ApplyUpdateBefore = false,
                        Content = "app/scripts/close/job.ps1",
                        ContentType = "Path",
                        MaxRunTime = 1800,
                        Name = "Close",
                        RestartAfter = false,
                        RunAsInteractive = true,
                        RunElevated = true,
                    },
                    new AzureNative.TestBase.Inputs.CommandArgs
                    {
                        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",
    });

});

Coming soon!

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 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(Map.ofEntries(
                Map.entry("osUpdateType", "Security updates"),
                Map.entry("targetOSs",                 
                    "Windows 10 2004",
                    "Windows 10 1903")
            ))
            .testBaseAccountName("contoso-testBaseAccount1")
            .tests(Map.ofEntries(
                Map.entry("commands",                 
                    Map.ofEntries(
                        Map.entry("action", "Install"),
                        Map.entry("alwaysRun", true),
                        Map.entry("applyUpdateBefore", false),
                        Map.entry("content", "app/scripts/install/job.ps1"),
                        Map.entry("contentType", "Path"),
                        Map.entry("maxRunTime", 1800),
                        Map.entry("name", "Install"),
                        Map.entry("restartAfter", true),
                        Map.entry("runAsInteractive", true),
                        Map.entry("runElevated", true)
                    ),
                    Map.ofEntries(
                        Map.entry("action", "Launch"),
                        Map.entry("alwaysRun", false),
                        Map.entry("applyUpdateBefore", true),
                        Map.entry("content", "app/scripts/launch/job.ps1"),
                        Map.entry("contentType", "Path"),
                        Map.entry("maxRunTime", 1800),
                        Map.entry("name", "Launch"),
                        Map.entry("restartAfter", false),
                        Map.entry("runAsInteractive", true),
                        Map.entry("runElevated", true)
                    ),
                    Map.ofEntries(
                        Map.entry("action", "Close"),
                        Map.entry("alwaysRun", false),
                        Map.entry("applyUpdateBefore", false),
                        Map.entry("content", "app/scripts/close/job.ps1"),
                        Map.entry("contentType", "Path"),
                        Map.entry("maxRunTime", 1800),
                        Map.entry("name", "Close"),
                        Map.entry("restartAfter", false),
                        Map.entry("runAsInteractive", true),
                        Map.entry("runElevated", true)
                    ),
                    Map.ofEntries(
                        Map.entry("action", "Uninstall"),
                        Map.entry("alwaysRun", true),
                        Map.entry("applyUpdateBefore", false),
                        Map.entry("content", "app/scripts/uninstall/job.ps1"),
                        Map.entry("contentType", "Path"),
                        Map.entry("maxRunTime", 1800),
                        Map.entry("name", "Uninstall"),
                        Map.entry("restartAfter", false),
                        Map.entry("runAsInteractive", true),
                        Map.entry("runElevated", true)
                    )),
                Map.entry("isActive", true),
                Map.entry("testType", "OutOfBoxTest")
            ))
            .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=[{
        "commands": [
            azure_native.testbase.CommandArgs(
                action="Install",
                always_run=True,
                apply_update_before=False,
                content="app/scripts/install/job.ps1",
                content_type="Path",
                max_run_time=1800,
                name="Install",
                restart_after=True,
                run_as_interactive=True,
                run_elevated=True,
            ),
            azure_native.testbase.CommandArgs(
                action="Launch",
                always_run=False,
                apply_update_before=True,
                content="app/scripts/launch/job.ps1",
                content_type="Path",
                max_run_time=1800,
                name="Launch",
                restart_after=False,
                run_as_interactive=True,
                run_elevated=True,
            ),
            azure_native.testbase.CommandArgs(
                action="Close",
                always_run=False,
                apply_update_before=False,
                content="app/scripts/close/job.ps1",
                content_type="Path",
                max_run_time=1800,
                name="Close",
                restart_after=False,
                run_as_interactive=True,
                run_elevated=True,
            ),
            azure_native.testbase.CommandArgs(
                action="Uninstall",
                always_run=True,
                apply_update_before=False,
                content="app/scripts/uninstall/job.ps1",
                content_type="Path",
                max_run_time=1800,
                name="Uninstall",
                restart_after=False,
                run_as_interactive=True,
                run_elevated=True,
            ),
        ],
        "isActive": True,
        "testType": "OutOfBoxTest",
    }],
    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: "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",
});
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

new Package(name: string, args: PackageArgs, opts?: CustomResourceOptions);
@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,
            location: Optional[str] = None,
            package_name: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            tags: Optional[Mapping[str, 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)
@overload
def Package(resource_name: str,
            args: PackageArgs,
            opts: Optional[ResourceOptions] = 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.

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.

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.TargetOSInfoArgs>

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.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 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<TargetOSInfoArgs>

Specifies the target OSs of specific OS Update types.

testBaseAccountName String

The resource name of the Test Base Account.

tests List<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 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 {[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

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

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.

MaxRunTime int

Specifies the max run time of the command.

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.

MaxRunTime int

Specifies the max run time of the command.

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.

maxRunTime Integer

Specifies the max run time of the command.

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.

maxRunTime number

Specifies the max run time of the command.

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.

max_run_time int

Specifies the max run time of the command.

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.

maxRunTime Number

Specifies the max run time of the command.

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

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.

MaxRunTime int

Specifies the max run time of the command.

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.

MaxRunTime int

Specifies the max run time of the command.

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.

maxRunTime Integer

Specifies the max run time of the command.

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.

maxRunTime number

Specifies the max run time of the command.

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.

max_run_time int

Specifies the max run time of the command.

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.

maxRunTime Number

Specifies the max run time of the command.

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

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

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

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

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.

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.

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.

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.

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.

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.

TargetOSInfoResponse

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.

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.

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.

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.

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.

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.

Test

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

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

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/subscription-id/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0