kubernetes_cluster_features
Creates, updates, deletes, gets or lists a kubernetes_cluster_features
resource.
Overview
Name | kubernetes_cluster_features |
Type | Resource |
Id | azure.nexus.kubernetes_cluster_features |
Fields
- vw_kubernetes_cluster_features
- kubernetes_cluster_features
Name | Datatype | Description |
---|---|---|
availability_lifecycle | text | field from the properties object |
detailed_status | text | field from the properties object |
detailed_status_message | text | field from the properties object |
featureName | text | field from the properties object |
kubernetesClusterName | text | field from the properties object |
location | text | The geo-location where the resource lives |
options | text | field from the properties object |
provisioning_state | text | field from the properties object |
required | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
version | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | featureName, kubernetesClusterName, resourceGroupName, subscriptionId | Get properties of the provided the Kubernetes cluster feature. |
list_by_kubernetes_cluster | SELECT | kubernetesClusterName, resourceGroupName, subscriptionId | Get a list of features for the provided Kubernetes cluster. |
create_or_update | INSERT | featureName, kubernetesClusterName, resourceGroupName, subscriptionId | Create a new Kubernetes cluster feature or update properties of the Kubernetes cluster feature if it exists. |
delete | DELETE | featureName, kubernetesClusterName, resourceGroupName, subscriptionId | Delete the provided Kubernetes cluster feature. |
update | UPDATE | featureName, kubernetesClusterName, resourceGroupName, subscriptionId | Patch properties of the provided Kubernetes cluster feature. |
SELECT
examples
Get a list of features for the provided Kubernetes cluster.
- vw_kubernetes_cluster_features
- kubernetes_cluster_features
SELECT
availability_lifecycle,
detailed_status,
detailed_status_message,
featureName,
kubernetesClusterName,
location,
options,
provisioning_state,
required,
resourceGroupName,
subscriptionId,
tags,
version
FROM azure.nexus.vw_kubernetes_cluster_features
WHERE kubernetesClusterName = '{{ kubernetesClusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
location,
properties,
tags
FROM azure.nexus.kubernetes_cluster_features
WHERE kubernetesClusterName = '{{ kubernetesClusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new kubernetes_cluster_features
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.nexus.kubernetes_cluster_features (
featureName,
kubernetesClusterName,
resourceGroupName,
subscriptionId,
properties,
tags,
location
)
SELECT
'{{ featureName }}',
'{{ kubernetesClusterName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: availabilityLifecycle
value: string
- name: detailedStatus
value: string
- name: detailedStatusMessage
value: string
- name: options
value:
- - name: key
value: string
- name: value
value: string
- name: provisioningState
value: string
- name: required
value: string
- name: version
value: string
- name: tags
value: object
- name: location
value: string
UPDATE
example
Updates a kubernetes_cluster_features
resource.
/*+ update */
UPDATE azure.nexus.kubernetes_cluster_features
SET
properties = '{{ properties }}',
tags = '{{ tags }}'
WHERE
featureName = '{{ featureName }}'
AND kubernetesClusterName = '{{ kubernetesClusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified kubernetes_cluster_features
resource.
/*+ delete */
DELETE FROM azure.nexus.kubernetes_cluster_features
WHERE featureName = '{{ featureName }}'
AND kubernetesClusterName = '{{ kubernetesClusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';