os_updates
Creates, updates, deletes, gets or lists an os_updates resource.
Overview
| Name | os_updates |
| Type | Resource |
| Id | azure_extras.testbase.os_updates |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Resource ID. |
name | string | Resource name. |
buildRevision | string | The build revision of the tested release (OS update). |
buildVersion | string | The build version of the tested release (OS update). |
flightingRing | string | The flighting ring, only for release of feature updates. |
osName | string | The name of the OS. |
release | string | The name of tested release. |
releaseVersionDate | string (date-time) | The release version date the tested release (OS update). |
systemData | object | The system metadata relating to this resource. |
type | string | Resource type. |
| Name | Datatype | Description |
|---|---|---|
id | string | Resource ID. |
name | string | Resource name. |
buildRevision | string | The build revision of the tested release (OS update). |
buildVersion | string | The build version of the tested release (OS update). |
flightingRing | string | The flighting ring, only for release of feature updates. |
osName | string | The name of the OS. |
release | string | The name of tested release. |
releaseVersionDate | string (date-time) | The release version date the tested release (OS update). |
systemData | object | The system metadata relating to this resource. |
type | string | Resource type. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, test_base_account_name, package_name, os_update_resource_name, subscription_id | Gets an OS Update by name in which the package was tested before. | |
list | select | resource_group_name, test_base_account_name, package_name, subscription_id, osUpdateType | Lists the OS Updates in which the package were tested before. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
osUpdateType | string | The type of the OS Update. Known values are: "SecurityUpdate" and "FeatureUpdate". Required. |
os_update_resource_name | string | The resource name of an OS Update. Required. |
package_name | string | The resource name of the Test Base Package. Required. |
resource_group_name | string | The name of the resource group that contains the resource. Required. |
subscription_id | string | |
test_base_account_name | string | The resource name of the Test Base Account. Required. |
SELECT examples
- get
- list
Gets an OS Update by name in which the package was tested before.
SELECT
id,
name,
buildRevision,
buildVersion,
flightingRing,
osName,
release,
releaseVersionDate,
systemData,
type
FROM azure_extras.testbase.os_updates
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND test_base_account_name = '{{ test_base_account_name }}' -- required
AND package_name = '{{ package_name }}' -- required
AND os_update_resource_name = '{{ os_update_resource_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Lists the OS Updates in which the package were tested before.
SELECT
id,
name,
buildRevision,
buildVersion,
flightingRing,
osName,
release,
releaseVersionDate,
systemData,
type
FROM azure_extras.testbase.os_updates
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND test_base_account_name = '{{ test_base_account_name }}' -- required
AND package_name = '{{ package_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND osUpdateType = '{{ osUpdateType }}' -- required
;