These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.testbase.getPackage
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Gets a Test Base Package. API Version: 2022-04-01-preview.
Using getPackage
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPackage(args: GetPackageArgs, opts?: InvokeOptions): Promise<GetPackageResult>
function getPackageOutput(args: GetPackageOutputArgs, opts?: InvokeOptions): Output<GetPackageResult>
def get_package(package_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
test_base_account_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPackageResult
def get_package_output(package_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
test_base_account_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPackageResult]
func LookupPackage(ctx *Context, args *LookupPackageArgs, opts ...InvokeOption) (*LookupPackageResult, error)
func LookupPackageOutput(ctx *Context, args *LookupPackageOutputArgs, opts ...InvokeOption) LookupPackageResultOutput
> Note: This function is named LookupPackage
in the Go SDK.
public static class GetPackage
{
public static Task<GetPackageResult> InvokeAsync(GetPackageArgs args, InvokeOptions? opts = null)
public static Output<GetPackageResult> Invoke(GetPackageInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPackageResult> getPackage(GetPackageArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:testbase:getPackage
arguments:
# arguments dictionary
The following arguments are supported:
- Package
Name string - The resource name of the Test Base Package.
- Resource
Group stringName - The name of the resource group that contains the resource.
- Test
Base stringAccount Name - The resource name of the Test Base Account.
- Package
Name string - The resource name of the Test Base Package.
- Resource
Group stringName - The name of the resource group that contains the resource.
- Test
Base stringAccount Name - The resource name of the Test Base Account.
- package
Name String - The resource name of the Test Base Package.
- resource
Group StringName - The name of the resource group that contains the resource.
- test
Base StringAccount Name - The resource name of the Test Base Account.
- package
Name string - The resource name of the Test Base Package.
- resource
Group stringName - The name of the resource group that contains the resource.
- test
Base stringAccount Name - The resource name of the Test Base Account.
- package_
name str - The resource name of the Test Base Package.
- resource_
group_ strname - The name of the resource group that contains the resource.
- test_
base_ straccount_ name - The resource name of the Test Base Account.
- package
Name String - The resource name of the Test Base Package.
- resource
Group StringName - The name of the resource group that contains the resource.
- test
Base StringAccount Name - The resource name of the Test Base Account.
getPackage Result
The following output properties are available:
- Application
Name string - Application name
- Blob
Path string - The file path of the package.
- Etag string
- Resource Etag.
- Flighting
Ring string - The flighting ring for feature update.
- Id string
- Resource ID.
- 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.
- Location string
- The geo-location where the resource lives
- 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
- Target
OSList List<Pulumi.Azure Native. Test Base. Outputs. Target OSInfo Response> - Specifies the target OSs of specific OS Update types.
- Test
Types List<string> - OOB, functional or both. Mapped to the data in 'tests' property.
- Tests
List<Pulumi.
Azure Native. Test Base. Outputs. Test Response> - The detailed test information.
- 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.
- Version string
- Application version
- Dictionary<string, string>
- The tags of the resource.
- Application
Name string - Application name
- Blob
Path string - The file path of the package.
- Etag string
- Resource Etag.
- Flighting
Ring string - The flighting ring for feature update.
- Id string
- Resource ID.
- 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.
- Location string
- The geo-location where the resource lives
- 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
- Target
OSList []TargetOSInfo Response - Specifies the target OSs of specific OS Update types.
- Test
Types []string - OOB, functional or both. Mapped to the data in 'tests' property.
- Tests
[]Test
Response - The detailed test information.
- Type string
- Resource type.
- Validation
Results []PackageValidation Result Response - The validation results. There's validation on package when it's created or updated.
- Version string
- Application version
- map[string]string
- The tags of the resource.
- application
Name String - Application name
- blob
Path String - The file path of the package.
- etag String
- Resource Etag.
- flighting
Ring String - The flighting ring for feature update.
- id String
- Resource ID.
- 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.
- location String
- The geo-location where the resource lives
- 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
- target
OSList List<TargetOSInfo Response> - Specifies the target OSs of specific OS Update types.
- test
Types List<String> - OOB, functional or both. Mapped to the data in 'tests' property.
- tests
List<Test
Response> - The detailed test information.
- type String
- Resource type.
- validation
Results List<PackageValidation Result Response> - The validation results. There's validation on package when it's created or updated.
- version String
- Application version
- Map<String,String>
- The tags of the resource.
- application
Name string - Application name
- blob
Path string - The file path of the package.
- etag string
- Resource Etag.
- flighting
Ring string - The flighting ring for feature update.
- id string
- Resource ID.
- 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.
- location string
- The geo-location where the resource lives
- 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
- target
OSList TargetOSInfo Response[] - Specifies the target OSs of specific OS Update types.
- test
Types string[] - OOB, functional or both. Mapped to the data in 'tests' property.
- tests
Test
Response[] - The detailed test information.
- type string
- Resource type.
- validation
Results PackageValidation Result Response[] - The validation results. There's validation on package when it's created or updated.
- version string
- Application version
- {[key: string]: string}
- The tags of the resource.
- application_
name str - Application name
- blob_
path str - The file path of the package.
- etag str
- Resource Etag.
- flighting_
ring str - The flighting ring for feature update.
- id str
- Resource ID.
- 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.
- location str
- The geo-location where the resource lives
- 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
- target_
os_ Sequence[Targetlist OSInfo Response] - Specifies the target OSs of specific OS Update types.
- test_
types Sequence[str] - OOB, functional or both. Mapped to the data in 'tests' property.
- tests
Sequence[Test
Response] - The detailed test information.
- type str
- Resource type.
- validation_
results Sequence[PackageValidation Result Response] - The validation results. There's validation on package when it's created or updated.
- version str
- Application version
- Mapping[str, str]
- The tags of the resource.
- application
Name String - Application name
- blob
Path String - The file path of the package.
- etag String
- Resource Etag.
- flighting
Ring String - The flighting ring for feature update.
- id String
- Resource ID.
- 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.
- location String
- The geo-location where the resource lives
- 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
- target
OSList List<Property Map> - Specifies the target OSs of specific OS Update types.
- test
Types List<String> - OOB, functional or both. Mapped to the data in 'tests' property.
- tests List<Property Map>
- The detailed test information.
- type String
- Resource type.
- validation
Results List<Property Map> - The validation results. There's validation on package when it's created or updated.
- version String
- Application version
- Map<String>
- The tags of the resource.
Supporting Types
CommandResponse
- Action string
- The action of the command.
- Content string
- The content of the command. The content depends on source type.
- Content
Type string - The type of command content.
- Name 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.
- Max
Run intTime - Specifies the max run time of the command.
- 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 string
- The action of the command.
- Content string
- The content of the command. The content depends on source type.
- Content
Type string - The type of command content.
- Name 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.
- Max
Run intTime - Specifies the max run time of the command.
- 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 String
- The action of the command.
- content String
- The content of the command. The content depends on source type.
- content
Type String - The type of command content.
- name 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.
- max
Run IntegerTime - Specifies the max run time of the command.
- 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 string
- The action of the command.
- content string
- The content of the command. The content depends on source type.
- content
Type string - The type of command content.
- name 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.
- max
Run numberTime - Specifies the max run time of the command.
- 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 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_ boolbefore - Specifies whether to apply update before the command.
- max_
run_ inttime - Specifies the max run time of the command.
- 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 String
- The action of the command.
- content String
- The content of the command. The content depends on source type.
- content
Type String - The type of command content.
- name 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.
- max
Run NumberTime - Specifies the max run time of the command.
- 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.
PackageValidationResultResponse
- Errors List<string>
- Error information.
- Is
Valid bool - Indicates whether the package passed the validation.
- Validation
Name string - Validation name.
- Errors []string
- Error information.
- Is
Valid bool - Indicates whether the package passed the validation.
- Validation
Name string - Validation name.
- errors List<String>
- Error information.
- is
Valid Boolean - Indicates whether the package passed the validation.
- validation
Name String - Validation name.
- errors string[]
- Error information.
- is
Valid boolean - Indicates whether the package passed the validation.
- validation
Name 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.
- is
Valid Boolean - Indicates whether the package passed the validation.
- validation
Name String - Validation name.
SystemDataResponse
- 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.
TargetOSInfoResponse
- Os
Update stringType - Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
- Target
OSs List<string> - Specifies the target OSs to be tested.
- Baseline
OSs List<string> - Specifies the baseline OSs to be tested.
- Os
Update stringType - Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
- Target
OSs []string - Specifies the target OSs to be tested.
- Baseline
OSs []string - Specifies the baseline OSs to be tested.
- os
Update StringType - Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
- target
OSs List<String> - Specifies the target OSs to be tested.
- baseline
OSs List<String> - Specifies the baseline OSs to be tested.
- os
Update stringType - Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
- target
OSs string[] - Specifies the target OSs to be tested.
- baseline
OSs string[] - Specifies the baseline OSs to be tested.
- os_
update_ strtype - 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.
- os
Update StringType - Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'.
- target
OSs List<String> - Specifies the target OSs to be tested.
- baseline
OSs List<String> - Specifies the baseline OSs to be tested.
TestResponse
- Commands
List<Pulumi.
Azure Native. Test Base. Inputs. Command Response> - The commands used in the test.
- Test
Type string - The type of the test.
- Validation
Result stringId - Resource identifier of the validation test result.
- Validation
Run stringStatus - 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
[]Command
Response - The commands used in the test.
- Test
Type string - The type of the test.
- Validation
Result stringId - Resource identifier of the validation test result.
- Validation
Run stringStatus - 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<Command
Response> - The commands used in the test.
- test
Type String - The type of the test.
- validation
Result StringId - Resource identifier of the validation test result.
- validation
Run StringStatus - 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
Command
Response[] - The commands used in the test.
- test
Type string - The type of the test.
- validation
Result stringId - Resource identifier of the validation test result.
- validation
Run stringStatus - 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
Sequence[Command
Response] - The commands used in the test.
- test_
type str - The type of the test.
- validation_
result_ strid - Resource identifier of the validation test result.
- validation_
run_ strstatus - 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.
- test
Type String - The type of the test.
- validation
Result StringId - Resource identifier of the validation test result.
- validation
Run StringStatus - 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.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi