open_shift_clusters
Creates, updates, deletes, gets or lists a open_shift_clusters
resource.
Overview
Name | open_shift_clusters |
Type | Resource |
Id | azure_isv.openshift_clusters.open_shift_clusters |
Fields
- vw_open_shift_clusters
- open_shift_clusters
Name | Datatype | Description |
---|---|---|
apiserver_profile | text | field from the properties object |
cluster_profile | text | field from the properties object |
console_profile | text | field from the properties object |
ingress_profiles | text | field from the properties object |
location | text | The geo-location where the resource lives |
master_profile | text | field from the properties object |
network_profile | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resourceName | text | field from the properties object |
service_principal_profile | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
tags | text | Resource tags. |
worker_profiles | text | field from the properties object |
worker_profiles_status | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | OpenShiftClusterProperties represents an OpenShift cluster's properties. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, resourceName, subscriptionId | The operation returns properties of a OpenShift cluster. |
list | SELECT | subscriptionId | The operation returns properties of each OpenShift cluster. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | The operation returns properties of each OpenShift cluster. |
create_or_update | INSERT | resourceGroupName, resourceName, subscriptionId | The operation returns properties of a OpenShift cluster. |
delete | DELETE | resourceGroupName, resourceName, subscriptionId | The operation returns nothing. |
update | UPDATE | resourceGroupName, resourceName, subscriptionId | The operation returns properties of a OpenShift cluster. |
SELECT
examples
The operation returns properties of each OpenShift cluster.
- vw_open_shift_clusters
- open_shift_clusters
SELECT
apiserver_profile,
cluster_profile,
console_profile,
ingress_profiles,
location,
master_profile,
network_profile,
provisioning_state,
resourceGroupName,
resourceName,
service_principal_profile,
subscriptionId,
system_data,
tags,
worker_profiles,
worker_profiles_status
FROM azure_isv.openshift_clusters.vw_open_shift_clusters
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
location,
properties,
systemData,
tags
FROM azure_isv.openshift_clusters.open_shift_clusters
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new open_shift_clusters
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_isv.openshift_clusters.open_shift_clusters (
resourceGroupName,
resourceName,
subscriptionId,
tags,
location,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: tags
value: object
- name: location
value: string
- name: properties
value:
- name: provisioningState
value: []
- name: clusterProfile
value:
- name: pullSecret
value: string
- name: domain
value: string
- name: version
value: string
- name: resourceGroupId
value: string
- name: fipsValidatedModules
value: []
- name: consoleProfile
value:
- name: url
value: string
- name: servicePrincipalProfile
value:
- name: clientId
value: string
- name: clientSecret
value: string
- name: networkProfile
value:
- name: podCidr
value: string
- name: serviceCidr
value: string
- name: outboundType
value: []
- name: loadBalancerProfile
value:
- name: managedOutboundIps
value:
- name: count
value: integer
- name: effectiveOutboundIps
value:
- - name: id
value: string
- name: preconfiguredNSG
value: []
- name: masterProfile
value:
- name: vmSize
value: []
- name: subnetId
value: string
- name: encryptionAtHost
value: []
- name: diskEncryptionSetId
value: string
- name: workerProfiles
value:
- - name: name
value: string
- name: diskSizeGB
value: integer
- name: subnetId
value: string
- name: count
value: integer
- name: diskEncryptionSetId
value: string
- name: workerProfilesStatus
value:
- - name: name
value: string
- name: diskSizeGB
value: integer
- name: subnetId
value: string
- name: count
value: integer
- name: diskEncryptionSetId
value: string
- name: apiserverProfile
value:
- name: visibility
value: []
- name: url
value: string
- name: ip
value: string
- name: ingressProfiles
value:
- - name: name
value: string
- name: ip
value: string
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
UPDATE
example
Updates a open_shift_clusters
resource.
/*+ update */
UPDATE azure_isv.openshift_clusters.open_shift_clusters
SET
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified open_shift_clusters
resource.
/*+ delete */
DELETE FROM azure_isv.openshift_clusters.open_shift_clusters
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';