Skip to main content

applications

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

Overview

Nameapplications
TypeResource
Idazure.hdinsight.applications

Fields

The following fields are returned by SELECT queries:

OK. The request has succeeded.

NameDatatypeDescription
etagstringThe ETag for the application
propertiesobjectThe properties of the application.
systemDataobjectMetadata pertaining to creation and last modification of the resource.
tagsobjectThe tags for the application.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, clusterName, applicationNameGets properties of the specified application.
list_by_clusterselectsubscriptionId, resourceGroupName, clusterNameLists all of the applications for the HDInsight cluster.
createinsertsubscriptionId, resourceGroupName, clusterName, applicationNameCreates applications for the HDInsight cluster.
deletedeletesubscriptionId, resourceGroupName, clusterName, applicationNameDeletes the specified application on the HDInsight cluster.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
applicationNamestringThe constant value for the application name.
clusterNamestringThe name of the cluster.
resourceGroupNamestringThe name of the resource group.
subscriptionIdstringThe subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

Gets properties of the specified application.

SELECT
etag,
properties,
systemData,
tags
FROM azure.hdinsight.applications
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND clusterName = '{{ clusterName }}' -- required
AND applicationName = '{{ applicationName }}' -- required
;

INSERT examples

Creates applications for the HDInsight cluster.

INSERT INTO azure.hdinsight.applications (
data__etag,
data__tags,
data__properties,
subscriptionId,
resourceGroupName,
clusterName,
applicationName
)
SELECT
'{{ etag }}',
'{{ tags }}',
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ clusterName }}',
'{{ applicationName }}'
RETURNING
etag,
properties,
systemData,
tags
;

DELETE examples

Deletes the specified application on the HDInsight cluster.

DELETE FROM azure.hdinsight.applications
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND clusterName = '{{ clusterName }}' --required
AND applicationName = '{{ applicationName }}' --required
;