PackageResource Class

The Test Base Package resource.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.testbase.models._models_py3.TrackedResource
PackageResource

Constructor

PackageResource(*, location: str, tags: Optional[Dict[str, str]] = None, application_name: Optional[str] = None, version: Optional[str] = None, target_os_list: Optional[List[azure.mgmt.testbase.models._models_py3.TargetOSInfo]] = None, flighting_ring: Optional[str] = None, blob_path: Optional[str] = None, tests: Optional[List[azure.mgmt.testbase.models._models_py3.Test]] = None, **kwargs)

Parameters

tags
dict[str, str]
Required

A set of tags. The tags of the resource.

location
str
Required

Required. The geo-location where the resource lives.

application_name
str
Required

Application name.

version
str
Required

Application version.

target_os_list
list[<xref:test_base.models.TargetOSInfo>]
Required

Specifies the target OSs of specific OS Update types.

flighting_ring
str
Required

The flighting ring for feature update.

blob_path
str
Required

The file path of the package.

tests
list[<xref:test_base.models.Test>]
Required

The detailed test information.

Variables

id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

etag
str

Resource Etag.

system_data
<xref:test_base.models.SystemData>

The system metadata relating to this resource.

provisioning_state
str or <xref:test_base.models.ProvisioningState>

The provisioning state of the resource. Possible values include: "Succeeded", "Failed", "Cancelled", "Creating", "Deleting", "Updating".

test_types
list[str or <xref:test_base.models.TestType>]

OOB, functional or both. Mapped to the data in 'tests' property.

package_status
str or <xref:test_base.models.PackageStatus>

The status of the package. Possible values include: "Unknown", "Registered", "Ready", "Error", "ValidatingPackage", "PreValidationCheckPass", "Deleted", "ValidationLongerThanUsual", "VerifyingPackage".

last_modified_time
datetime

The UTC timestamp when the package was last modified.

is_enabled
bool

Flag showing that whether the package is enabled. It doesn't schedule test for package which is not enabled.

validation_results
list[<xref:test_base.models.PackageValidationResult>]

The validation results. There's validation on package when it's created or updated.