Skip to main content

applications

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

Overview

Nameapplications
TypeResource
Idazure.hdinsight.applications

Fields

NameDatatypeDescription
applicationNametextfield from the properties object
application_statetextfield from the properties object
application_typetextfield from the properties object
clusterNametextfield from the properties object
compute_profiletextfield from the properties object
created_datetextfield from the properties object
errorstextfield from the properties object
etagtextThe ETag for the application
https_endpointstextfield from the properties object
install_script_actionstextfield from the properties object
marketplace_identifiertextfield from the properties object
private_link_configurationstextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
ssh_endpointstextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
tagstextThe tags for the application.
uninstall_script_actionstextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTapplicationName, clusterName, resourceGroupName, subscriptionIdGets properties of the specified application.
list_by_clusterSELECTclusterName, resourceGroupName, subscriptionIdLists all of the applications for the HDInsight cluster.
createINSERTapplicationName, clusterName, resourceGroupName, subscriptionIdCreates applications for the HDInsight cluster.
deleteDELETEapplicationName, clusterName, resourceGroupName, subscriptionIdDeletes the specified application on the HDInsight cluster.

SELECT examples

Lists all of the applications for the HDInsight cluster.

SELECT
applicationName,
application_state,
application_type,
clusterName,
compute_profile,
created_date,
errors,
etag,
https_endpoints,
install_script_actions,
marketplace_identifier,
private_link_configurations,
provisioning_state,
resourceGroupName,
ssh_endpoints,
subscriptionId,
system_data,
tags,
uninstall_script_actions
FROM azure.hdinsight.vw_applications
WHERE clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.hdinsight.applications (
applicationName,
clusterName,
resourceGroupName,
subscriptionId,
etag,
tags,
properties
)
SELECT
'{{ applicationName }}',
'{{ clusterName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ etag }}',
'{{ tags }}',
'{{ properties }}'
;

DELETE example

Deletes the specified applications resource.

/*+ delete */
DELETE FROM azure.hdinsight.applications
WHERE applicationName = '{{ applicationName }}'
AND clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';