Skip to main content

available_os

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

Overview

Nameavailable_os
TypeResource
Idazure_extras.testbase.available_os

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource ID.
namestringResource name.
insiderChannelstringThe insider channel of an Available OS of a Test Base Account.
osIdstringThe Id of an Available OS of a Test Base Account.
osNamestringThe name of an Available OS of a Test Base Account.
osPlatformstringThe Platform of an Available OS of a Test Base Account.
osUpdateTypestringThe OS update type of an Available OS of a Test Base Account.
osVersionstringThe version of an Available OS of a Test Base Account.
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, available_os_resource_name, subscription_idGets an available OS to run a package under a Test Base Account.
listselectresource_group_name, test_base_account_name, subscription_id, osUpdateTypeLists all the available OSs to run a package under a Test Base Account.

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
available_os_resource_namestringThe resource name of an Available OS. Required.
osUpdateTypestringThe type of the OS Update. Known values are: "SecurityUpdate" and "FeatureUpdate". 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 available OS to run a package under a Test Base Account.

SELECT
id,
name,
insiderChannel,
osId,
osName,
osPlatform,
osUpdateType,
osVersion,
systemData,
type
FROM azure_extras.testbase.available_os
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND test_base_account_name = '{{ test_base_account_name }}' -- required
AND available_os_resource_name = '{{ available_os_resource_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;