azure-native-v2.testbase.Package
Explore with Pulumi AI
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.
Create Package Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Package(name: string, args: PackageArgs, opts?: CustomResourceOptions);
@overload
def Package(resource_name: str,
args: PackageArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Package(resource_name: str,
opts: Optional[ResourceOptions] = None,
application_name: Optional[str] = None,
blob_path: Optional[str] = None,
flighting_ring: Optional[str] = None,
resource_group_name: Optional[str] = None,
target_os_list: Optional[Sequence[TargetOSInfoArgs]] = None,
test_base_account_name: Optional[str] = None,
tests: Optional[Sequence[TestArgs]] = None,
version: Optional[str] = None,
location: Optional[str] = None,
package_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewPackage(ctx *Context, name string, args PackageArgs, opts ...ResourceOption) (*Package, error)
public Package(string name, PackageArgs args, CustomResourceOptions? opts = null)
public Package(String name, PackageArgs args)
public Package(String name, PackageArgs args, CustomResourceOptions options)
type: azure-native:testbase:Package
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. PackageArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. PackageArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. PackageArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. PackageArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. PackageArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var azure_nativePackageResource = new AzureNative.Testbase.Package("azure-nativePackageResource", new()
{
ApplicationName = "string",
BlobPath = "string",
FlightingRing = "string",
ResourceGroupName = "string",
TargetOSList = new[]
{
{
{ "osUpdateType", "string" },
{ "baselineOSs", new[]
{
"string",
} },
{ "insiderChannelIds", new[]
{
"string",
} },
{ "targetOSImageIds", new[]
{
"string",
} },
{ "targetOSs", new[]
{
"string",
} },
},
},
TestBaseAccountName = "string",
Tests = new[]
{
{
{ "commands", new[]
{
{
{ "contentType", "string" },
{ "name", "string" },
{ "action", "string" },
{ "content", "string" },
{ "install1PAppBefore", false },
{ "enrollIntuneBefore", false },
{ "applyUpdateBefore", false },
{ "maxRunTime", 0 },
{ "alwaysRun", false },
{ "postUpgrade", false },
{ "preUpgrade", false },
{ "restartAfter", false },
{ "runAsInteractive", false },
{ "runElevated", false },
},
} },
{ "testType", "string" },
{ "isActive", false },
},
},
Version = "string",
Location = "string",
PackageName = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := testbase.NewPackage(ctx, "azure-nativePackageResource", &testbase.PackageArgs{
ApplicationName: "string",
BlobPath: "string",
FlightingRing: "string",
ResourceGroupName: "string",
TargetOSList: []map[string]interface{}{
map[string]interface{}{
"osUpdateType": "string",
"baselineOSs": []string{
"string",
},
"insiderChannelIds": []string{
"string",
},
"targetOSImageIds": []string{
"string",
},
"targetOSs": []string{
"string",
},
},
},
TestBaseAccountName: "string",
Tests: []map[string]interface{}{
map[string]interface{}{
"commands": []map[string]interface{}{
map[string]interface{}{
"contentType": "string",
"name": "string",
"action": "string",
"content": "string",
"install1PAppBefore": false,
"enrollIntuneBefore": false,
"applyUpdateBefore": false,
"maxRunTime": 0,
"alwaysRun": false,
"postUpgrade": false,
"preUpgrade": false,
"restartAfter": false,
"runAsInteractive": false,
"runElevated": false,
},
},
"testType": "string",
"isActive": false,
},
},
Version: "string",
Location: "string",
PackageName: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var azure_nativePackageResource = new Package("azure-nativePackageResource", PackageArgs.builder()
.applicationName("string")
.blobPath("string")
.flightingRing("string")
.resourceGroupName("string")
.targetOSList(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.testBaseAccountName("string")
.tests(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.version("string")
.location("string")
.packageName("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
azure_native_package_resource = azure_native.testbase.Package("azure-nativePackageResource",
application_name=string,
blob_path=string,
flighting_ring=string,
resource_group_name=string,
target_os_list=[{
osUpdateType: string,
baselineOSs: [string],
insiderChannelIds: [string],
targetOSImageIds: [string],
targetOSs: [string],
}],
test_base_account_name=string,
tests=[{
commands: [{
contentType: string,
name: string,
action: string,
content: string,
install1PAppBefore: False,
enrollIntuneBefore: False,
applyUpdateBefore: False,
maxRunTime: 0,
alwaysRun: False,
postUpgrade: False,
preUpgrade: False,
restartAfter: False,
runAsInteractive: False,
runElevated: False,
}],
testType: string,
isActive: False,
}],
version=string,
location=string,
package_name=string,
tags={
string: string,
})
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Package resource accepts the following input properties:
- Application
Name This property is required. string - Application name
- Blob
Path This property is required. string - The file path of the package.
- Flighting
Ring This property is required. string - The flighting ring for feature update.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the resource.
- Target
OSList This property is required. List<Pulumi.Azure Native. Test Base. Inputs. Target OSInfo> - Specifies the target OSs of specific OS Update types.
- Test
Base Account Name This property is required. Changes to this property will trigger replacement.
- The resource name of the Test Base Account.
- Tests
This property is required. List<Pulumi.Azure Native. Test Base. Inputs. Test> - The detailed test information.
- Version
This property is required. string - Application version
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Package
Name Changes to this property will trigger replacement.
- The resource name of the Test Base Package.
- Dictionary<string, string>
- The tags of the resource.
- Application
Name This property is required. string - Application name
- Blob
Path This property is required. string - The file path of the package.
- Flighting
Ring This property is required. string - The flighting ring for feature update.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the resource.
- Target
OSList This property is required. []TargetOSInfo Args - Specifies the target OSs of specific OS Update types.
- Test
Base Account Name This property is required. Changes to this property will trigger replacement.
- The resource name of the Test Base Account.
- Tests
This property is required. []TestArgs - The detailed test information.
- Version
This property is required. string - Application version
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Package
Name Changes to this property will trigger replacement.
- The resource name of the Test Base Package.
- map[string]string
- The tags of the resource.
- application
Name This property is required. String - Application name
- blob
Path This property is required. String - The file path of the package.
- flighting
Ring This property is required. String - The flighting ring for feature update.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the resource.
- target
OSList This property is required. List<TargetOSInfo> - Specifies the target OSs of specific OS Update types.
- test
Base Account Name This property is required. Changes to this property will trigger replacement.
- The resource name of the Test Base Account.
- tests
This property is required. List<Test> - The detailed test information.
- version
This property is required. String - Application version
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- package
Name Changes to this property will trigger replacement.
- The resource name of the Test Base Package.
- Map<String,String>
- The tags of the resource.
- application
Name This property is required. string - Application name
- blob
Path This property is required. string - The file path of the package.
- flighting
Ring This property is required. string - The flighting ring for feature update.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the resource.
- target
OSList This property is required. TargetOSInfo[] - Specifies the target OSs of specific OS Update types.
- test
Base Account Name This property is required. Changes to this property will trigger replacement.
- The resource name of the Test Base Account.
- tests
This property is required. Test[] - The detailed test information.
- version
This property is required. string - Application version
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- package
Name Changes to this property will trigger replacement.
- The resource name of the Test Base Package.
- {[key: string]: string}
- The tags of the resource.
- application_
name This property is required. str - Application name
- blob_
path This property is required. str - The file path of the package.
- flighting_
ring This property is required. str - The flighting ring for feature update.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the resource.
- target_
os_ list This property is required. Sequence[TargetOSInfo Args] - Specifies the target OSs of specific OS Update types.
- test_
base_ account_ name This property is required. Changes to this property will trigger replacement.
- The resource name of the Test Base Account.
- tests
This property is required. Sequence[TestArgs] - The detailed test information.
- version
This property is required. str - Application version
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- package_
name Changes to this property will trigger replacement.
- The resource name of the Test Base Package.
- Mapping[str, str]
- The tags of the resource.
- application
Name This property is required. String - Application name
- blob
Path This property is required. String - The file path of the package.
- flighting
Ring This property is required. String - The flighting ring for feature update.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the resource.
- target
OSList This property is required. List<Property Map> - Specifies the target OSs of specific OS Update types.
- test
Base Account Name This property is required. Changes to this property will trigger replacement.
- The resource name of the Test Base Account.
- tests
This property is required. List<Property Map> - The detailed test information.
- version
This property is required. String - Application version
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- package
Name Changes to this property will trigger replacement.
- The resource name of the Test Base Package.
- 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.
- Is
Enabled bool - Flag showing that whether the package is enabled. It doesn't schedule test for package which is not enabled.
- Last
Modified stringTime - The UTC timestamp when the package was last modified.
- Name string
- Resource name.
- Package
Status string - The status of the package.
- Provisioning
State string - The provisioning state of the resource.
- System
Data Pulumi.Azure Native. Test Base. Outputs. System Data Response - The system metadata relating to this resource
- Test
Types List<string> - OOB, functional or both. Mapped to the data in 'tests' property.
- Type string
- Resource type.
- Validation
Results List<Pulumi.Azure Native. Test Base. Outputs. Package Validation Result Response> - 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.
- Is
Enabled bool - Flag showing that whether the package is enabled. It doesn't schedule test for package which is not enabled.
- Last
Modified stringTime - The UTC timestamp when the package was last modified.
- Name string
- Resource name.
- Package
Status string - The status of the package.
- Provisioning
State string - The provisioning state of the resource.
- System
Data SystemData Response - The system metadata relating to this resource
- Test
Types []string - OOB, functional or both. Mapped to the data in 'tests' property.
- Type string
- Resource type.
- Validation
Results []PackageValidation Result Response - 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.
- is
Enabled Boolean - Flag showing that whether the package is enabled. It doesn't schedule test for package which is not enabled.
- last
Modified StringTime - The UTC timestamp when the package was last modified.
- name String
- Resource name.
- package
Status String - The status of the package.
- provisioning
State String - The provisioning state of the resource.
- system
Data SystemData Response - The system metadata relating to this resource
- test
Types List<String> - OOB, functional or both. Mapped to the data in 'tests' property.
- type String
- Resource type.
- validation
Results List<PackageValidation Result Response> - 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.
- is
Enabled boolean - Flag showing that whether the package is enabled. It doesn't schedule test for package which is not enabled.
- last
Modified stringTime - The UTC timestamp when the package was last modified.
- name string
- Resource name.
- package
Status string - The status of the package.
- provisioning
State string - The provisioning state of the resource.
- system
Data SystemData Response - The system metadata relating to this resource
- test
Types string[] - OOB, functional or both. Mapped to the data in 'tests' property.
- type string
- Resource type.
- validation
Results PackageValidation Result Response[] - 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_ strtime - 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 SystemData Response - 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[PackageValidation Result Response] - 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.
- is
Enabled Boolean - Flag showing that whether the package is enabled. It doesn't schedule test for package which is not enabled.
- last
Modified StringTime - The UTC timestamp when the package was last modified.
- name String
- Resource name.
- package
Status String - The status of the package.
- provisioning
State String - The provisioning state of the resource.
- system
Data Property Map - The system metadata relating to this resource
- test
Types List<String> - OOB, functional or both. Mapped to the data in 'tests' property.
- type String
- Resource type.
- validation
Results 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
- Action
Install - Install
- Action
Launch - Launch
- Action
Close - Close
- Action
Uninstall - Uninstall
- Action
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
- "Install"
- Install
- "Launch"
- Launch
- "Close"
- Close
- "Uninstall"
- Uninstall
- "Custom"
- Custom
Command, CommandArgs
- Action
This property is required. string | Pulumi.Azure Native. Test Base. Action - The action of the command.
- Content
This property is required. string - The content of the command. The content depends on source type.
- Content
Type This property is required. string | Pulumi.Azure Native. Test Base. Content Type - The type of command content.
- Name
This property is required. string - The name of the command.
- Always
Run bool - Specifies whether to run the command even if a previous command is failed.
- Apply
Update boolBefore - Specifies whether to apply update before the command.
- Enroll
Intune boolBefore - Specifies whether to enroll Intune before the command.
- Install1PApp
Before bool - Specifies whether to install first party applications before running the command.
- Max
Run intTime - 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 boolInteractive - Specifies whether to run the command in interactive mode.
- Run
Elevated bool - Specifies whether to run the command as administrator.
- Action
This property is required. string | Action - The action of the command.
- Content
This property is required. string - The content of the command. The content depends on source type.
- Content
Type This property is required. string | ContentType - The type of command content.
- Name
This property is required. string - The name of the command.
- Always
Run bool - Specifies whether to run the command even if a previous command is failed.
- Apply
Update boolBefore - Specifies whether to apply update before the command.
- Enroll
Intune boolBefore - Specifies whether to enroll Intune before the command.
- Install1PApp
Before bool - Specifies whether to install first party applications before running the command.
- Max
Run intTime - 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 boolInteractive - Specifies whether to run the command in interactive mode.
- Run
Elevated bool - Specifies whether to run the command as administrator.
- action
This property is required. String | Action - The action of the command.
- content
This property is required. String - The content of the command. The content depends on source type.
- content
Type This property is required. String | ContentType - The type of command content.
- name
This property is required. String - The name of the command.
- always
Run Boolean - Specifies whether to run the command even if a previous command is failed.
- apply
Update BooleanBefore - Specifies whether to apply update before the command.
- enroll
Intune BooleanBefore - Specifies whether to enroll Intune before the command.
- install1PApp
Before Boolean - Specifies whether to install first party applications before running the command.
- max
Run IntegerTime - Specifies the max run time of the command.
- post
Upgrade Boolean - Specifies whether the command is assigned to be executed after in-place upgrade.
- pre
Upgrade Boolean - Specifies whether the command is assigned to be executed before in-place upgrade.
- restart
After Boolean - Specifies whether to restart the VM after the command executed.
- run
As BooleanInteractive - Specifies whether to run the command in interactive mode.
- run
Elevated Boolean - Specifies whether to run the command as administrator.
- action
This property is required. string | Action - The action of the command.
- content
This property is required. string - The content of the command. The content depends on source type.
- content
Type This property is required. string | ContentType - The type of command content.
- name
This property is required. string - The name of the command.
- always
Run boolean - Specifies whether to run the command even if a previous command is failed.
- apply
Update booleanBefore - Specifies whether to apply update before the command.
- enroll
Intune booleanBefore - Specifies whether to enroll Intune before the command.
- install1PApp
Before boolean - Specifies whether to install first party applications before running the command.
- max
Run numberTime - Specifies the max run time of the command.
- post
Upgrade boolean - Specifies whether the command is assigned to be executed after in-place upgrade.
- pre
Upgrade boolean - Specifies whether the command is assigned to be executed before in-place upgrade.
- restart
After boolean - Specifies whether to restart the VM after the command executed.
- run
As booleanInteractive - Specifies whether to run the command in interactive mode.
- run
Elevated boolean - Specifies whether to run the command as administrator.
- action
This property is required. str | Action - The action of the command.
- content
This property is required. str - The content of the command. The content depends on source type.
- content_
type This property is required. str | ContentType - The type of command content.
- name
This property is required. str - The name of the command.
- always_
run bool - Specifies whether to run the command even if a previous command is failed.
- apply_
update_ boolbefore - Specifies whether to apply update before the command.
- enroll_
intune_ boolbefore - Specifies whether to enroll Intune before the command.
- install1_
p_ boolapp_ before - Specifies whether to install first party applications before running the command.
- max_
run_ inttime - 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_ boolinteractive - Specifies whether to run the command in interactive mode.
- run_
elevated bool - Specifies whether to run the command as administrator.
- action
This property is required. String | "Install" | "Launch" | "Close" | "Uninstall" | "Custom" - The action of the command.
- content
This property is required. String - The content of the command. The content depends on source type.
- content
Type This property is required. String | "Inline" | "File" | "Path" - The type of command content.
- name
This property is required. String - The name of the command.
- always
Run Boolean - Specifies whether to run the command even if a previous command is failed.
- apply
Update BooleanBefore - Specifies whether to apply update before the command.
- enroll
Intune BooleanBefore - Specifies whether to enroll Intune before the command.
- install1PApp
Before Boolean - Specifies whether to install first party applications before running the command.
- max
Run NumberTime - Specifies the max run time of the command.
- post
Upgrade Boolean - Specifies whether the command is assigned to be executed after in-place upgrade.
- pre
Upgrade Boolean - Specifies whether the command is assigned to be executed before in-place upgrade.
- restart
After Boolean - Specifies whether to restart the VM after the command executed.
- run
As BooleanInteractive - Specifies whether to run the command in interactive mode.
- run
Elevated Boolean - Specifies whether to run the command as administrator.
CommandResponse, CommandResponseArgs
- Action
This property is required. string - The action of the command.
- Content
This property is required. string - The content of the command. The content depends on source type.
- Content
Type This property is required. string - The type of command content.
- Name
This property is required. string - The name of the command.
- Always
Run bool - Specifies whether to run the command even if a previous command is failed.
- Apply
Update boolBefore - Specifies whether to apply update before the command.
- Enroll
Intune boolBefore - Specifies whether to enroll Intune before the command.
- Install1PApp
Before bool - Specifies whether to install first party applications before running the command.
- Max
Run intTime - 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 boolInteractive - Specifies whether to run the command in interactive mode.
- Run
Elevated bool - Specifies whether to run the command as administrator.
- Action
This property is required. string - The action of the command.
- Content
This property is required. string - The content of the command. The content depends on source type.
- Content
Type This property is required. string - The type of command content.
- Name
This property is required. string - The name of the command.
- Always
Run bool - Specifies whether to run the command even if a previous command is failed.
- Apply
Update boolBefore - Specifies whether to apply update before the command.
- Enroll
Intune boolBefore - Specifies whether to enroll Intune before the command.
- Install1PApp
Before bool - Specifies whether to install first party applications before running the command.
- Max
Run intTime - 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 boolInteractive - Specifies whether to run the command in interactive mode.
- Run
Elevated bool - Specifies whether to run the command as administrator.
- action
This property is required. String - The action of the command.
- content
This property is required. String - The content of the command. The content depends on source type.
- content
Type This property is required. String - The type of command content.
- name
This property is required. String - The name of the command.
- always
Run Boolean - Specifies whether to run the command even if a previous command is failed.
- apply
Update BooleanBefore - Specifies whether to apply update before the command.
- enroll
Intune BooleanBefore - Specifies whether to enroll Intune before the command.
- install1PApp
Before Boolean - Specifies whether to install first party applications before running the command.
- max
Run IntegerTime - Specifies the max run time of the command.
- post
Upgrade Boolean - Specifies whether the command is assigned to be executed after in-place upgrade.
- pre
Upgrade Boolean - Specifies whether the command is assigned to be executed before in-place upgrade.
- restart
After Boolean - Specifies whether to restart the VM after the command executed.
- run
As BooleanInteractive - Specifies whether to run the command in interactive mode.
- run
Elevated Boolean - Specifies whether to run the command as administrator.
- action
This property is required. string - The action of the command.
- content
This property is required. string - The content of the command. The content depends on source type.
- content
Type This property is required. string - The type of command content.
- name
This property is required. string - The name of the command.
- always
Run boolean - Specifies whether to run the command even if a previous command is failed.
- apply
Update booleanBefore - Specifies whether to apply update before the command.
- enroll
Intune booleanBefore - Specifies whether to enroll Intune before the command.
- install1PApp
Before boolean - Specifies whether to install first party applications before running the command.
- max
Run numberTime - Specifies the max run time of the command.
- post
Upgrade boolean - Specifies whether the command is assigned to be executed after in-place upgrade.
- pre
Upgrade boolean - Specifies whether the command is assigned to be executed before in-place upgrade.
- restart
After boolean - Specifies whether to restart the VM after the command executed.
- run
As booleanInteractive - Specifies whether to run the command in interactive mode.
- run
Elevated boolean - Specifies whether to run the command as administrator.
- action
This property is required. str - The action of the command.
- content
This property is required. str - The content of the command. The content depends on source type.
- content_
type This property is required. str - The type of command content.
- name
This property is required. str - The name of the command.
- always_
run bool - Specifies whether to run the command even if a previous command is failed.
- apply_
update_ boolbefore - Specifies whether to apply update before the command.
- enroll_
intune_ boolbefore - Specifies whether to enroll Intune before the command.
- install1_
p_ boolapp_ before - Specifies whether to install first party applications before running the command.
- max_
run_ inttime - 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_ boolinteractive - Specifies whether to run the command in interactive mode.
- run_
elevated bool - Specifies whether to run the command as administrator.
- action
This property is required. String - The action of the command.
- content
This property is required. String - The content of the command. The content depends on source type.
- content
Type This property is required. String - The type of command content.
- name
This property is required. String - The name of the command.
- always
Run Boolean - Specifies whether to run the command even if a previous command is failed.
- apply
Update BooleanBefore - Specifies whether to apply update before the command.
- enroll
Intune BooleanBefore - Specifies whether to enroll Intune before the command.
- install1PApp
Before Boolean - Specifies whether to install first party applications before running the command.
- max
Run NumberTime - Specifies the max run time of the command.
- post
Upgrade Boolean - Specifies whether the command is assigned to be executed after in-place upgrade.
- pre
Upgrade Boolean - Specifies whether the command is assigned to be executed before in-place upgrade.
- restart
After Boolean - Specifies whether to restart the VM after the command executed.
- run
As BooleanInteractive - Specifies whether to run the command in interactive mode.
- run
Elevated Boolean - Specifies whether to run the command as administrator.
ContentType, ContentTypeArgs
- Inline
- Inline
- File
- File
- Path
- Path
- Content
Type Inline - Inline
- Content
Type File - File
- Content
Type Path - Path
- Inline
- Inline
- File
- File
- Path
- Path
- Inline
- Inline
- File
- File
- Path
- Path
- INLINE
- Inline
- FILE
- File
- PATH
- Path
- "Inline"
- Inline
- "File"
- File
- "Path"
- Path
PackageValidationResultResponse, PackageValidationResultResponseArgs
- Errors
This property is required. List<string> - Error information.
- Is
Valid This property is required. bool - Indicates whether the package passed the validation.
- Validation
Name This property is required. string - Validation name.
- Errors
This property is required. []string - Error information.
- Is
Valid This property is required. bool - Indicates whether the package passed the validation.
- Validation
Name This property is required. string - Validation name.
- errors
This property is required. List<String> - Error information.
- is
Valid This property is required. Boolean - Indicates whether the package passed the validation.
- validation
Name This property is required. String - Validation name.
- errors
This property is required. string[] - Error information.
- is
Valid This property is required. boolean - Indicates whether the package passed the validation.
- validation
Name This property is required. string - Validation name.
- errors
This property is required. Sequence[str] - Error information.
- is_
valid This property is required. bool - Indicates whether the package passed the validation.
- validation_
name This property is required. str - Validation name.
- errors
This property is required. List<String> - Error information.
- is
Valid This property is required. Boolean - Indicates whether the package passed the validation.
- validation
Name This property is required. String - Validation name.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The type of identity that last modified the resource.
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The type of identity that last modified the resource.
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The type of identity that last modified the resource.
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The type of identity that last modified the resource.
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The type of identity that last modified the resource.
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The type of identity that last modified the resource.
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
TargetOSInfo, TargetOSInfoArgs
- Os
Update Type This property is required. string - Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
- Baseline
OSs List<string> - Specifies the baseline OSs to be tested.
- Insider
Channel List<string>Ids - Insider Channel Ids. Only used for feature update.
- Target
OSImage List<string>Ids - Specifies the ids of the target OSs from Custom Images to be tested.
- Target
OSs List<string> - Specifies the target OSs to be tested.
- Os
Update Type This property is required. string - Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
- Baseline
OSs []string - Specifies the baseline OSs to be tested.
- Insider
Channel []stringIds - Insider Channel Ids. Only used for feature update.
- Target
OSImage []stringIds - Specifies the ids of the target OSs from Custom Images to be tested.
- Target
OSs []string - Specifies the target OSs to be tested.
- os
Update Type This property is required. String - Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
- baseline
OSs List<String> - Specifies the baseline OSs to be tested.
- insider
Channel List<String>Ids - Insider Channel Ids. Only used for feature update.
- target
OSImage List<String>Ids - Specifies the ids of the target OSs from Custom Images to be tested.
- target
OSs List<String> - Specifies the target OSs to be tested.
- os
Update Type This property is required. string - Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
- baseline
OSs string[] - Specifies the baseline OSs to be tested.
- insider
Channel string[]Ids - Insider Channel Ids. Only used for feature update.
- target
OSImage string[]Ids - Specifies the ids of the target OSs from Custom Images to be tested.
- target
OSs string[] - Specifies the target OSs to be tested.
- os_
update_ type This property is required. str - Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
- baseline_
oss Sequence[str] - Specifies the baseline OSs to be tested.
- insider_
channel_ Sequence[str]ids - Insider Channel Ids. Only used for feature update.
- target_
os_ Sequence[str]image_ ids - Specifies the ids of the target OSs from Custom Images to be tested.
- target_
oss Sequence[str] - Specifies the target OSs to be tested.
- os
Update Type This property is required. String - Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
- baseline
OSs List<String> - Specifies the baseline OSs to be tested.
- insider
Channel List<String>Ids - Insider Channel Ids. Only used for feature update.
- target
OSImage List<String>Ids - Specifies the ids of the target OSs from Custom Images to be tested.
- target
OSs List<String> - Specifies the target OSs to be tested.
TargetOSInfoResponse, TargetOSInfoResponseArgs
- Os
Update Type This property is required. string - Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
- Target
OSs This property is required. List<string> - Specifies the target OSs to be tested.
- Baseline
OSs List<string> - Specifies the baseline OSs to be tested.
- Insider
Channel List<string>Ids - Insider Channel Ids. Only used for feature update.
- Target
OSImage List<string>Ids - Specifies the ids of the target OSs from Custom Images to be tested.
- Os
Update Type This property is required. string - Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
- Target
OSs This property is required. []string - Specifies the target OSs to be tested.
- Baseline
OSs []string - Specifies the baseline OSs to be tested.
- Insider
Channel []stringIds - Insider Channel Ids. Only used for feature update.
- Target
OSImage []stringIds - Specifies the ids of the target OSs from Custom Images to be tested.
- os
Update Type This property is required. String - Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
- target
OSs This property is required. List<String> - Specifies the target OSs to be tested.
- baseline
OSs List<String> - Specifies the baseline OSs to be tested.
- insider
Channel List<String>Ids - Insider Channel Ids. Only used for feature update.
- target
OSImage List<String>Ids - Specifies the ids of the target OSs from Custom Images to be tested.
- os
Update Type This property is required. string - Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
- target
OSs This property is required. string[] - Specifies the target OSs to be tested.
- baseline
OSs string[] - Specifies the baseline OSs to be tested.
- insider
Channel string[]Ids - Insider Channel Ids. Only used for feature update.
- target
OSImage string[]Ids - Specifies the ids of the target OSs from Custom Images to be tested.
- os_
update_ type This property is required. str - Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
- target_
oss This property is required. Sequence[str] - Specifies the target OSs to be tested.
- baseline_
oss Sequence[str] - Specifies the baseline OSs to be tested.
- insider_
channel_ Sequence[str]ids - Insider Channel Ids. Only used for feature update.
- target_
os_ Sequence[str]image_ ids - Specifies the ids of the target OSs from Custom Images to be tested.
- os
Update Type This property is required. String - Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
- target
OSs This property is required. List<String> - Specifies the target OSs to be tested.
- baseline
OSs List<String> - Specifies the baseline OSs to be tested.
- insider
Channel List<String>Ids - Insider Channel Ids. Only used for feature update.
- target
OSImage List<String>Ids - Specifies the ids of the target OSs from Custom Images to be tested.
Test, TestArgs
- Commands
This property is required. List<Pulumi.Azure Native. Test Base. Inputs. Command> - The commands used in the test.
- Test
Type This property is required. string | Pulumi.Azure Native. Test Base. Test Type - The type of the test.
- Is
Active bool - Indicates if this test is active.It doesn't schedule test for not active Test.
- commands
This property is required. List<Command> - The commands used in the test.
- test
Type This property is required. String | TestType - The type of the test.
- is
Active Boolean - Indicates if this test is active.It doesn't schedule test for not active Test.
- commands
This property is required. Sequence[Command] - The commands used in the test.
- test_
type This property is required. str | TestType - The type of the test.
- is_
active bool - Indicates if this test is active.It doesn't schedule test for not active Test.
- commands
This property is required. List<Property Map> - The commands used in the test.
- test
Type This property is required. String | "OutOf Box Test" | "Functional Test" - The type of the test.
- is
Active Boolean - Indicates if this test is active.It doesn't schedule test for not active Test.
TestResponse, TestResponseArgs
- Commands
This property is required. List<Pulumi.Azure Native. Test Base. Inputs. Command Response> - The commands used in the test.
- Test
Type This property is required. string - The type of the test.
- Validation
Result Id This property is required. string - Resource identifier of the validation test result.
- Validation
Run Status This property is required. string - The status of the validation run of the package.
- Is
Active bool - Indicates if this test is active.It doesn't schedule test for not active Test.
- Commands
This property is required. []CommandResponse - The commands used in the test.
- Test
Type This property is required. string - The type of the test.
- Validation
Result Id This property is required. string - Resource identifier of the validation test result.
- Validation
Run Status This property is required. string - The status of the validation run of the package.
- Is
Active bool - Indicates if this test is active.It doesn't schedule test for not active Test.
- commands
This property is required. List<CommandResponse> - The commands used in the test.
- test
Type This property is required. String - The type of the test.
- validation
Result Id This property is required. String - Resource identifier of the validation test result.
- validation
Run Status This property is required. String - The status of the validation run of the package.
- is
Active Boolean - Indicates if this test is active.It doesn't schedule test for not active Test.
- commands
This property is required. CommandResponse[] - The commands used in the test.
- test
Type This property is required. string - The type of the test.
- validation
Result Id This property is required. string - Resource identifier of the validation test result.
- validation
Run Status This property is required. string - The status of the validation run of the package.
- is
Active boolean - Indicates if this test is active.It doesn't schedule test for not active Test.
- commands
This property is required. Sequence[CommandResponse] - The commands used in the test.
- test_
type This property is required. str - The type of the test.
- validation_
result_ id This property is required. str - Resource identifier of the validation test result.
- validation_
run_ status This property is required. str - The status of the validation run of the package.
- is_
active bool - Indicates if this test is active.It doesn't schedule test for not active Test.
- commands
This property is required. List<Property Map> - The commands used in the test.
- test
Type This property is required. String - The type of the test.
- validation
Result Id This property is required. String - Resource identifier of the validation test result.
- validation
Run Status This property is required. String - The status of the validation run of the package.
- is
Active Boolean - Indicates if this test is active.It doesn't schedule test for not active Test.
TestType, TestTypeArgs
- Out
Of Box Test - OutOfBoxTest
- Functional
Test - FunctionalTest
- Test
Type Out Of Box Test - OutOfBoxTest
- Test
Type Functional Test - FunctionalTest
- Out
Of Box Test - OutOfBoxTest
- Functional
Test - FunctionalTest
- Out
Of Box Test - OutOfBoxTest
- Functional
Test - FunctionalTest
- OUT_OF_BOX_TEST
- OutOfBoxTest
- FUNCTIONAL_TEST
- FunctionalTest
- "Out
Of Box Test" - OutOfBoxTest
- "Functional
Test" - 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-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0