open_shift_versions
Creates, updates, deletes, gets or lists an open_shift_versions resource.
Overview
| Name | open_shift_versions |
| Type | Resource |
| Id | azure_isv.redhatopenshift.open_shift_versions |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
version | string | Version represents the version to create the cluster at. |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
version | string | Version represents the version to create the cluster at. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | location, open_shift_version, subscription_id | Gets an available OpenShift version to install in the specified location. This operation returns installable OpenShift version as a string. | |
list | select | location, subscription_id | Lists 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.
| Name | Datatype | Description |
|---|---|---|
location | string | The name of the Azure region. Required. |
open_shift_version | string | The desired version value of the OpenShiftVersion resource. Required. |
subscription_id | string |
SELECT examples
- get
- list
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
;
Lists all OpenShift versions available to install in the specified location. The operation returns the installable OpenShift versions as a string.
SELECT
id,
name,
systemData,
type,
version
FROM azure_isv.redhatopenshift.open_shift_versions
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;