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

azure-native.testbase.getPackage

Explore with Pulumi AI

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

    Gets a Test Base Package. Azure REST API version: 2022-04-01-preview.

    Other available API versions: 2023-11-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:

    PackageName string
    The resource name of the Test Base Package.
    ResourceGroupName string
    The name of the resource group that contains the resource.
    TestBaseAccountName string
    The resource name of the Test Base Account.
    PackageName string
    The resource name of the Test Base Package.
    ResourceGroupName string
    The name of the resource group that contains the resource.
    TestBaseAccountName string
    The resource name of the Test Base Account.
    packageName String
    The resource name of the Test Base Package.
    resourceGroupName String
    The name of the resource group that contains the resource.
    testBaseAccountName String
    The resource name of the Test Base Account.
    packageName string
    The resource name of the Test Base Package.
    resourceGroupName string
    The name of the resource group that contains the resource.
    testBaseAccountName string
    The resource name of the Test Base Account.
    package_name str
    The resource name of the Test Base Package.
    resource_group_name str
    The name of the resource group that contains the resource.
    test_base_account_name str
    The resource name of the Test Base Account.
    packageName String
    The resource name of the Test Base Package.
    resourceGroupName String
    The name of the resource group that contains the resource.
    testBaseAccountName String
    The resource name of the Test Base Account.

    getPackage Result

    The following output properties are available:

    ApplicationName string
    Application name
    BlobPath string
    The file path of the package.
    Etag string
    Resource Etag.
    FlightingRing string
    The flighting ring for feature update.
    Id string
    Resource ID.
    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.
    Location string
    The geo-location where the resource lives
    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
    TargetOSList List<Pulumi.AzureNative.TestBase.Outputs.TargetOSInfoResponse>
    Specifies the target OSs of specific OS Update types.
    TestTypes List<string>
    OOB, functional or both. Mapped to the data in 'tests' property.
    Tests List<Pulumi.AzureNative.TestBase.Outputs.TestResponse>
    The detailed test information.
    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.
    Version string
    Application version
    Tags Dictionary<string, string>
    The tags of the resource.
    ApplicationName string
    Application name
    BlobPath string
    The file path of the package.
    Etag string
    Resource Etag.
    FlightingRing string
    The flighting ring for feature update.
    Id string
    Resource ID.
    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.
    Location string
    The geo-location where the resource lives
    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
    TargetOSList []TargetOSInfoResponse
    Specifies the target OSs of specific OS Update types.
    TestTypes []string
    OOB, functional or both. Mapped to the data in 'tests' property.
    Tests []TestResponse
    The detailed test information.
    Type string
    Resource type.
    ValidationResults []PackageValidationResultResponse
    The validation results. There's validation on package when it's created or updated.
    Version string
    Application version
    Tags map[string]string
    The tags of the resource.
    applicationName String
    Application name
    blobPath String
    The file path of the package.
    etag String
    Resource Etag.
    flightingRing String
    The flighting ring for feature update.
    id String
    Resource ID.
    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.
    location String
    The geo-location where the resource lives
    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
    targetOSList List<TargetOSInfoResponse>
    Specifies the target OSs of specific OS Update types.
    testTypes List<String>
    OOB, functional or both. Mapped to the data in 'tests' property.
    tests List<TestResponse>
    The detailed test information.
    type String
    Resource type.
    validationResults List<PackageValidationResultResponse>
    The validation results. There's validation on package when it's created or updated.
    version String
    Application version
    tags Map<String,String>
    The tags of the resource.
    applicationName string
    Application name
    blobPath string
    The file path of the package.
    etag string
    Resource Etag.
    flightingRing string
    The flighting ring for feature update.
    id string
    Resource ID.
    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.
    location string
    The geo-location where the resource lives
    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
    targetOSList TargetOSInfoResponse[]
    Specifies the target OSs of specific OS Update types.
    testTypes string[]
    OOB, functional or both. Mapped to the data in 'tests' property.
    tests TestResponse[]
    The detailed test information.
    type string
    Resource type.
    validationResults PackageValidationResultResponse[]
    The validation results. There's validation on package when it's created or updated.
    version string
    Application version
    tags {[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_time str
    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 SystemDataResponse
    The system metadata relating to this resource
    target_os_list Sequence[TargetOSInfoResponse]
    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[TestResponse]
    The detailed test information.
    type str
    Resource type.
    validation_results Sequence[PackageValidationResultResponse]
    The validation results. There's validation on package when it's created or updated.
    version str
    Application version
    tags Mapping[str, str]
    The tags of the resource.
    applicationName String
    Application name
    blobPath String
    The file path of the package.
    etag String
    Resource Etag.
    flightingRing String
    The flighting ring for feature update.
    id String
    Resource ID.
    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.
    location String
    The geo-location where the resource lives
    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
    targetOSList List<Property Map>
    Specifies the target OSs of specific OS Update types.
    testTypes 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.
    validationResults List<Property Map>
    The validation results. There's validation on package when it's created or updated.
    version String
    Application version
    tags 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.
    ContentType string
    The type of command content.
    Name string
    The name of the command.
    AlwaysRun bool
    Specifies whether to run the command even if a previous command is failed.
    ApplyUpdateBefore bool
    Specifies whether to apply update before the command.
    EnrollIntuneBefore bool
    Specifies whether to enroll Intune before the command.
    Install1PAppBefore bool
    Specifies whether to install first party applications before running the command.
    MaxRunTime int
    Specifies the max run time of the command.
    PostUpgrade bool
    Specifies whether the command is assigned to be executed after in-place upgrade.
    PreUpgrade bool
    Specifies whether the command is assigned to be executed before in-place upgrade.
    RestartAfter bool
    Specifies whether to restart the VM after the command executed.
    RunAsInteractive bool
    Specifies whether to run the command in interactive mode.
    RunElevated bool
    Specifies whether to run the command as administrator.
    Action string
    The action of the command.
    Content string
    The content of the command. The content depends on source type.
    ContentType string
    The type of command content.
    Name string
    The name of the command.
    AlwaysRun bool
    Specifies whether to run the command even if a previous command is failed.
    ApplyUpdateBefore bool
    Specifies whether to apply update before the command.
    EnrollIntuneBefore bool
    Specifies whether to enroll Intune before the command.
    Install1PAppBefore bool
    Specifies whether to install first party applications before running the command.
    MaxRunTime int
    Specifies the max run time of the command.
    PostUpgrade bool
    Specifies whether the command is assigned to be executed after in-place upgrade.
    PreUpgrade bool
    Specifies whether the command is assigned to be executed before in-place upgrade.
    RestartAfter bool
    Specifies whether to restart the VM after the command executed.
    RunAsInteractive bool
    Specifies whether to run the command in interactive mode.
    RunElevated bool
    Specifies whether to run the command as administrator.
    action String
    The action of the command.
    content String
    The content of the command. The content depends on source type.
    contentType String
    The type of command content.
    name String
    The name of the command.
    alwaysRun Boolean
    Specifies whether to run the command even if a previous command is failed.
    applyUpdateBefore Boolean
    Specifies whether to apply update before the command.
    enrollIntuneBefore Boolean
    Specifies whether to enroll Intune before the command.
    install1PAppBefore Boolean
    Specifies whether to install first party applications before running the command.
    maxRunTime Integer
    Specifies the max run time of the command.
    postUpgrade Boolean
    Specifies whether the command is assigned to be executed after in-place upgrade.
    preUpgrade Boolean
    Specifies whether the command is assigned to be executed before in-place upgrade.
    restartAfter Boolean
    Specifies whether to restart the VM after the command executed.
    runAsInteractive Boolean
    Specifies whether to run the command in interactive mode.
    runElevated Boolean
    Specifies whether to run the command as administrator.
    action string
    The action of the command.
    content string
    The content of the command. The content depends on source type.
    contentType string
    The type of command content.
    name string
    The name of the command.
    alwaysRun boolean
    Specifies whether to run the command even if a previous command is failed.
    applyUpdateBefore boolean
    Specifies whether to apply update before the command.
    enrollIntuneBefore boolean
    Specifies whether to enroll Intune before the command.
    install1PAppBefore boolean
    Specifies whether to install first party applications before running the command.
    maxRunTime number
    Specifies the max run time of the command.
    postUpgrade boolean
    Specifies whether the command is assigned to be executed after in-place upgrade.
    preUpgrade boolean
    Specifies whether the command is assigned to be executed before in-place upgrade.
    restartAfter boolean
    Specifies whether to restart the VM after the command executed.
    runAsInteractive boolean
    Specifies whether to run the command in interactive mode.
    runElevated boolean
    Specifies whether to run the command as administrator.
    action str
    The action of the command.
    content str
    The content of the command. The content depends on source type.
    content_type str
    The type of command content.
    name str
    The name of the command.
    always_run bool
    Specifies whether to run the command even if a previous command is failed.
    apply_update_before bool
    Specifies whether to apply update before the command.
    enroll_intune_before bool
    Specifies whether to enroll Intune before the command.
    install1_p_app_before bool
    Specifies whether to install first party applications before running the command.
    max_run_time int
    Specifies the max run time of the command.
    post_upgrade bool
    Specifies whether the command is assigned to be executed after in-place upgrade.
    pre_upgrade bool
    Specifies whether the command is assigned to be executed before in-place upgrade.
    restart_after bool
    Specifies whether to restart the VM after the command executed.
    run_as_interactive bool
    Specifies whether to run the command in interactive mode.
    run_elevated bool
    Specifies whether to run the command as administrator.
    action String
    The action of the command.
    content String
    The content of the command. The content depends on source type.
    contentType String
    The type of command content.
    name String
    The name of the command.
    alwaysRun Boolean
    Specifies whether to run the command even if a previous command is failed.
    applyUpdateBefore Boolean
    Specifies whether to apply update before the command.
    enrollIntuneBefore Boolean
    Specifies whether to enroll Intune before the command.
    install1PAppBefore Boolean
    Specifies whether to install first party applications before running the command.
    maxRunTime Number
    Specifies the max run time of the command.
    postUpgrade Boolean
    Specifies whether the command is assigned to be executed after in-place upgrade.
    preUpgrade Boolean
    Specifies whether the command is assigned to be executed before in-place upgrade.
    restartAfter Boolean
    Specifies whether to restart the VM after the command executed.
    runAsInteractive Boolean
    Specifies whether to run the command in interactive mode.
    runElevated Boolean
    Specifies whether to run the command as administrator.

    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.

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

    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.

    Package Details

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