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.TrackedResourcePackageResource
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
- target_os_list
- list[<xref:test_base.models.TargetOSInfo>]
Specifies the target OSs of specific OS Update types.
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".
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.
Feedback
Submit and view feedback for