available_os
Creates, updates, deletes, gets or lists an available_os resource.
Overview
| Name | available_os |
| Type | Resource |
| Id | azure_extras.testbase.available_os |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Resource ID. |
name | string | Resource name. |
insiderChannel | string | The insider channel of an Available OS of a Test Base Account. |
osId | string | The Id of an Available OS of a Test Base Account. |
osName | string | The name of an Available OS of a Test Base Account. |
osPlatform | string | The Platform of an Available OS of a Test Base Account. |
osUpdateType | string | The OS update type of an Available OS of a Test Base Account. |
osVersion | string | The version of an Available OS of a Test Base Account. |
systemData | object | The system metadata relating to this resource. |
type | string | Resource type. |
| Name | Datatype | Description |
|---|---|---|
id | string | Resource ID. |
name | string | Resource name. |
insiderChannel | string | The insider channel of an Available OS of a Test Base Account. |
osId | string | The Id of an Available OS of a Test Base Account. |
osName | string | The name of an Available OS of a Test Base Account. |
osPlatform | string | The Platform of an Available OS of a Test Base Account. |
osUpdateType | string | The OS update type of an Available OS of a Test Base Account. |
osVersion | string | The version of an Available OS of a Test Base Account. |
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, available_os_resource_name, subscription_id | Gets an available OS to run a package under a Test Base Account. | |
list | select | resource_group_name, test_base_account_name, subscription_id, osUpdateType | Lists 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.
| Name | Datatype | Description |
|---|---|---|
available_os_resource_name | string | The resource name of an Available OS. Required. |
osUpdateType | string | The type of the OS Update. Known values are: "SecurityUpdate" and "FeatureUpdate". 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 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
;
Lists all the available OSs 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 subscription_id = '{{ subscription_id }}' -- required
AND osUpdateType = '{{ osUpdateType }}' -- required
;