extensions
Creates, updates, deletes, gets or lists a extensions
resource.
Overview
Name | extensions |
Type | Resource |
Id | azure.kubernetes_configuration.extensions |
Fields
Name | Datatype | Description |
---|---|---|
identity | object | Identity for the resource. |
plan | object | Plan for the resource. |
properties | object | Properties of an Extension resource |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | clusterName, clusterResourceName, clusterRp, extensionName, resourceGroupName, subscriptionId | Gets Kubernetes Cluster Extension. |
list | SELECT | clusterName, clusterResourceName, clusterRp, resourceGroupName, subscriptionId | List all Extensions in the cluster. |
create | INSERT | clusterName, clusterResourceName, clusterRp, extensionName, resourceGroupName, subscriptionId | Create a new Kubernetes Cluster Extension. |
delete | DELETE | clusterName, clusterResourceName, clusterRp, extensionName, resourceGroupName, subscriptionId | Delete a Kubernetes Cluster Extension. This will cause the Agent to Uninstall the extension from the cluster. |
update | UPDATE | clusterName, clusterResourceName, clusterRp, extensionName, resourceGroupName, subscriptionId | Patch an existing Kubernetes Cluster Extension. |
SELECT
examples
List all Extensions in the cluster.
SELECT
identity,
plan,
properties,
systemData
FROM azure.kubernetes_configuration.extensions
WHERE clusterName = '{{ clusterName }}'
AND clusterResourceName = '{{ clusterResourceName }}'
AND clusterRp = '{{ clusterRp }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new extensions
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.kubernetes_configuration.extensions (
clusterName,
clusterResourceName,
clusterRp,
extensionName,
resourceGroupName,
subscriptionId,
properties,
identity,
systemData,
plan
)
SELECT
'{{ clusterName }}',
'{{ clusterResourceName }}',
'{{ clusterRp }}',
'{{ extensionName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ identity }}',
'{{ systemData }}',
'{{ plan }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: extensionType
value: string
- name: autoUpgradeMinorVersion
value: boolean
- name: releaseTrain
value: string
- name: version
value: string
- name: scope
value:
- name: cluster
value:
- name: releaseNamespace
value: string
- name: namespace
value:
- name: targetNamespace
value: string
- name: configurationSettings
value: object
- name: configurationProtectedSettings
value: object
- name: currentVersion
value: string
- name: provisioningState
value: []
- name: statuses
value:
- - name: code
value: string
- name: displayStatus
value: string
- name: level
value: string
- name: message
value: string
- name: time
value: string
- name: errorInfo
value:
- name: code
value: string
- name: message
value: string
- name: target
value: string
- name: details
value:
- - name: code
value: string
- name: message
value: string
- name: target
value: string
- name: details
value:
- - name: code
value: string
- name: message
value: string
- name: target
value: string
- name: details
value:
- - name: code
value: string
- name: message
value: string
- name: target
value: string
- name: details
value:
- - name: code
value: string
- name: message
value: string
- name: target
value: string
- name: details
value:
- - name: code
value: string
- name: message
value: string
- name: target
value: string
- name: details
value:
- - name: code
value: string
- name: message
value: string
- name: target
value: string
- name: details
value:
- - name: code
value: string
- name: message
value: string
- name: target
value: string
- name: details
value:
- - name: code
value: string
- name: message
value: string
- name: target
value: string
- name: details
value:
- []
- name: additionalInfo
value:
- []
- name: additionalInfo
value:
- - name: type
value: string
- name: info
value: object
- name: additionalInfo
value:
- - name: type
value: string
- name: info
value: object
- name: additionalInfo
value:
- - name: type
value: string
- name: info
value: object
- name: additionalInfo
value:
- - name: type
value: string
- name: info
value: object
- name: additionalInfo
value:
- - name: type
value: string
- name: info
value: object
- name: additionalInfo
value:
- - name: type
value: string
- name: info
value: object
- name: additionalInfo
value:
- - name: type
value: string
- name: info
value: object
- name: additionalInfo
value:
- - name: type
value: string
- name: info
value: object
- name: customLocationSettings
value: object
- name: packageUri
value: string
- name: aksAssignedIdentity
value:
- name: principalId
value: string
- name: tenantId
value: string
- name: type
value: string
- name: isSystemExtension
value: boolean
- name: identity
value:
- name: principalId
value: string
- name: tenantId
value: string
- name: type
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
- name: plan
value:
- name: name
value: string
- name: publisher
value: string
- name: product
value: string
- name: promotionCode
value: string
- name: version
value: string
UPDATE
example
Updates a extensions
resource.
/*+ update */
UPDATE azure.kubernetes_configuration.extensions
SET
properties = '{{ properties }}'
WHERE
clusterName = '{{ clusterName }}'
AND clusterResourceName = '{{ clusterResourceName }}'
AND clusterRp = '{{ clusterRp }}'
AND extensionName = '{{ extensionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified extensions
resource.
/*+ delete */
DELETE FROM azure.kubernetes_configuration.extensions
WHERE clusterName = '{{ clusterName }}'
AND clusterResourceName = '{{ clusterResourceName }}'
AND clusterRp = '{{ clusterRp }}'
AND extensionName = '{{ extensionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';