applications
Creates, updates, deletes, gets or lists an applications
resource.
Overview
Name | applications |
Type | Resource |
Id | azure.hdinsight.applications |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_cluster
OK. The request has succeeded.
Name | Datatype | Description |
---|---|---|
etag | string | The ETag for the application |
properties | object | The properties of the application. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
tags | object | The tags for the application. |
OK. The request has succeeded.
Name | Datatype | Description |
---|---|---|
etag | string | The ETag for the application |
properties | object | The properties of the application. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
tags | object | The tags for the application. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , clusterName , applicationName | Gets properties of the specified application. | |
list_by_cluster | select | subscriptionId , resourceGroupName , clusterName | Lists all of the applications for the HDInsight cluster. | |
create | insert | subscriptionId , resourceGroupName , clusterName , applicationName | Creates applications for the HDInsight cluster. | |
delete | delete | subscriptionId , resourceGroupName , clusterName , applicationName | Deletes 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.
Name | Datatype | Description |
---|---|---|
applicationName | string | The constant value for the application name. |
clusterName | string | The name of the cluster. |
resourceGroupName | string | The name of the resource group. |
subscriptionId | string | The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
SELECT
examples
- get
- list_by_cluster
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
;
Lists all of the applications for the HDInsight cluster.
SELECT
etag,
properties,
systemData,
tags
FROM azure.hdinsight.applications
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND clusterName = '{{ clusterName }}' -- required
;
INSERT
examples
- create
- Manifest
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
;
# Description fields are for documentation purposes
- name: applications
props:
- name: subscriptionId
value: string
description: Required parameter for the applications resource.
- name: resourceGroupName
value: string
description: Required parameter for the applications resource.
- name: clusterName
value: string
description: Required parameter for the applications resource.
- name: applicationName
value: string
description: Required parameter for the applications resource.
- name: etag
value: string
description: |
The ETag for the application
- name: tags
value: object
description: |
The tags for the application.
- name: properties
value: object
description: |
The properties of the application.
DELETE
examples
- delete
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
;