Skip to main content

os_updates

Creates, updates, deletes, gets or lists an os_updates resource.

Overview

Nameos_updates
TypeResource
Idazure_extras.testbase.os_updates

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource ID.
namestringResource name.
buildRevisionstringThe build revision of the tested release (OS update).
buildVersionstringThe build version of the tested release (OS update).
flightingRingstringThe flighting ring, only for release of feature updates.
osNamestringThe name of the OS.
releasestringThe name of tested release.
releaseVersionDatestring (date-time)The release version date the tested release (OS update).
systemDataobjectThe system metadata relating to this resource.
typestringResource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, test_base_account_name, package_name, os_update_resource_name, subscription_idGets an OS Update by name in which the package was tested before.
listselectresource_group_name, test_base_account_name, package_name, subscription_id, osUpdateTypeLists 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.

NameDatatypeDescription
osUpdateTypestringThe type of the OS Update. Known values are: "SecurityUpdate" and "FeatureUpdate". Required.
os_update_resource_namestringThe resource name of an OS Update. Required.
package_namestringThe resource name of the Test Base Package. Required.
resource_group_namestringThe name of the resource group that contains the resource. Required.
subscription_idstring
test_base_account_namestringThe resource name of the Test Base Account. Required.

SELECT examples

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
;