Skip to main content

deployment_settings

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

Overview

Namedeployment_settings
TypeResource
Idazure_stack.azure_stack_hci.deployment_settings

Fields

NameDatatypeDescription
arc_node_resource_idstextfield from the properties object
clusterNametextfield from the properties object
deploymentSettingsNametextfield from the properties object
deployment_configurationtextfield from the properties object
deployment_modetextfield from the properties object
provisioning_statetextfield from the properties object
reported_propertiestextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTclusterName, deploymentSettingsName, resourceGroupName, subscriptionIdGet a DeploymentSetting
list_by_clustersSELECTclusterName, resourceGroupName, subscriptionIdList DeploymentSetting resources by Clusters
create_or_updateINSERTclusterName, deploymentSettingsName, resourceGroupName, subscriptionIdCreate a DeploymentSetting
deleteDELETEclusterName, deploymentSettingsName, resourceGroupName, subscriptionIdDelete a DeploymentSetting

SELECT examples

List DeploymentSetting resources by Clusters

SELECT
arc_node_resource_ids,
clusterName,
deploymentSettingsName,
deployment_configuration,
deployment_mode,
provisioning_state,
reported_properties,
resourceGroupName,
subscriptionId
FROM azure_stack.azure_stack_hci.vw_deployment_settings
WHERE clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

DELETE example

Deletes the specified deployment_settings resource.

/*+ delete */
DELETE FROM azure_stack.azure_stack_hci.deployment_settings
WHERE clusterName = '{{ clusterName }}'
AND deploymentSettingsName = '{{ deploymentSettingsName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';