Skip to main content

open_shift_versions

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

Overview

Nameopen_shift_versions
TypeResource
Idazure_isv.redhatopenshift.open_shift_versions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
versionstringVersion represents the version to create the cluster at.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlocation, open_shift_version, subscription_idGets an available OpenShift version to install in the specified location. This operation returns installable OpenShift version as a string.
listselectlocation, subscription_idLists all OpenShift versions available to install in the specified location. The operation returns the installable OpenShift versions as a string.

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
locationstringThe name of the Azure region. Required.
open_shift_versionstringThe desired version value of the OpenShiftVersion resource. Required.
subscription_idstring

SELECT examples

Gets an available OpenShift version to install in the specified location. This operation returns installable OpenShift version as a string.

SELECT
id,
name,
systemData,
type,
version
FROM azure_isv.redhatopenshift.open_shift_versions
WHERE location = '{{ location }}' -- required
AND open_shift_version = '{{ open_shift_version }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;