Skip to main content

cloud_service_operating_systems_os_versions

Creates, updates, deletes, gets or lists a cloud_service_operating_systems_os_versions resource.

Overview

Namecloud_service_operating_systems_os_versions
TypeResource
Idazure.compute.cloud_service_operating_systems_os_versions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource Id.
namestringResource name.
locationstringResource location.
propertiesobjectOS version properties.
typestringResource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlocation, osVersionName, subscriptionIdGets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service.
listselectlocation, subscriptionIdGets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS versions. Do this till nextLink is null to fetch all the OS versions.

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
locationstringName of the location that the OS versions pertain to.
osVersionNamestringName of the OS version.
subscriptionIdstringSubscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service.

SELECT
id,
name,
location,
properties,
type
FROM azure.compute.cloud_service_operating_systems_os_versions
WHERE location = '{{ location }}' -- required
AND osVersionName = '{{ osVersionName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;