Skip to main content

extensions

Creates, updates, deletes, gets or lists a extensions resource.

Overview

Nameextensions
TypeResource
Idazure_stack.azure_stack_hci.extensions

Fields

NameDatatypeDescription
aggregate_statetextfield from the properties object
arcSettingNametextfield from the properties object
clusterNametextfield from the properties object
extensionNametextfield from the properties object
extension_parameterstextfield from the properties object
managed_bytextfield from the properties object
per_node_extension_detailstextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTarcSettingName, clusterName, extensionName, resourceGroupName, subscriptionIdGet particular Arc Extension of HCI Cluster.
list_by_arc_settingSELECTarcSettingName, clusterName, resourceGroupName, subscriptionIdList all Extensions under ArcSetting resource.
createINSERTarcSettingName, clusterName, extensionName, resourceGroupName, subscriptionIdCreate Extension for HCI cluster.
deleteDELETEarcSettingName, clusterName, extensionName, resourceGroupName, subscriptionIdDelete particular Arc Extension of HCI Cluster.
updateUPDATEarcSettingName, clusterName, extensionName, resourceGroupName, subscriptionIdUpdate Extension for HCI cluster.
upgradeEXECarcSettingName, clusterName, extensionName, resourceGroupName, subscriptionIdUpgrade a particular Arc Extension of HCI Cluster.

SELECT examples

List all Extensions under ArcSetting resource.

SELECT
aggregate_state,
arcSettingName,
clusterName,
extensionName,
extension_parameters,
managed_by,
per_node_extension_details,
provisioning_state,
resourceGroupName,
subscriptionId
FROM azure_stack.azure_stack_hci.vw_extensions
WHERE arcSettingName = '{{ arcSettingName }}'
AND clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new extensions resource.

/*+ create */
INSERT INTO azure_stack.azure_stack_hci.extensions (
arcSettingName,
clusterName,
extensionName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ arcSettingName }}',
'{{ clusterName }}',
'{{ extensionName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

UPDATE example

Updates a extensions resource.

/*+ update */
UPDATE azure_stack.azure_stack_hci.extensions
SET
properties = '{{ properties }}'
WHERE
arcSettingName = '{{ arcSettingName }}'
AND clusterName = '{{ clusterName }}'
AND extensionName = '{{ extensionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified extensions resource.

/*+ delete */
DELETE FROM azure_stack.azure_stack_hci.extensions
WHERE arcSettingName = '{{ arcSettingName }}'
AND clusterName = '{{ clusterName }}'
AND extensionName = '{{ extensionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';