Delete Cluster

Operation Name

Delete Cluster

Function Overview

Delete a cluster of Azure HDInsight.

This operation uses Azure Active Directory for authentication. For more details on Azure Active Directory configuration, refer to the following pages. This operation uses Azure Resource Manager REST API. For more details on API specifications, refer to the following page.

Properties

For details on use of variables, refer to "Variables".
Basic settings
Item name Required/Optional Use of variables Description Remarks
Name Required Not available Enter the name to show on the script canvas.  
Required settings
Item name Required/Optional Use of variables Description Remarks
Destination Required Not available Select a global resource.
  • [Add]:
    Add a new global resource.
  • [Edit list]:
    Global resource settings can be edited in “Edit resource list” screen.
 
Subscription ID Required Not available Select a subscription ID.  
Resource group name Required Not available Select a resource group name.  
Cluster name Required Available Enter a cluster name.  
Wait for delete completion Optional Not available Select whether to wait for completion of cluster deletion or not.
  • [Checked]: (default)
    Wait for completion of cluster deletion.
  • [Not checked]:
    Proceed to the subsequent operation without waiting after a delete cluster request is sent.
 
Property actions
Item name Description Remarks
Update subscription IDs Get subscription IDs from the specified [Destination] and set them in [Subscription ID].
  • Enabled when [Destination] is selected.
Update resource group names Get resource group names from the specified [Subscription ID] and set them in [Resource group name].
  • Enabled when [Destination] and [Subscription ID] are selected.
Comment
Item name Required/Optional Use of variables Description Remarks
Comment Optional Not available You can write a short description of this adapter.
The description will be reflected in the specifications.
 

Schema

Input schema

None.

Output schema

None.

Transaction

Transaction is not supported.

PSP Usage

PSP is not supported.

Available Component Variables

Component variable name Description Remarks
message_category When an error occurs, category of the corresponding message code is stored.
  • Default value is null.
message_code When an error occurs, code of the corresponding message code is stored.
  • Default value is null.
message_level When an error occurs, severity of the corresponding message code is stored.
  • Default value is null.
error_type When an error occurs, the error type is stored.
  • Default value is null.
  • The error type would be in the following format.
    Example: “java.io.FileNotFoundException”
  • The contents that will be stored may vary depending on DataSpider Servista versions.
error_message When an error occurs, the error message is stored.
  • Default value is null.
  • The contents that will be stored may vary depending on DataSpider Servista versions.
error_trace When an error occurs, trace information of the error is stored.
  • Default value is null.
  • The contents that will be stored may vary depending on DataSpider Servista versions and client applications.

Specification Limits

Major Exceptions

Exception name Cause Solution
ResourceNotFoundException
Resource definition is not found. Name: []
[Destination] is not specified. Specify [Destination].
ResourceNotFoundException
Resource definition is not found. Name: [<global resource name>]
The resource definition selected in [Destination] is not found. Check the global resource specified in [Destination].
InvalidPropertyConfigurationException
<property name> is not specified.
[<property name>] is not specified. Specify [<property name>].
AzureManagementRestException
code=SubscriptionNotFound, message=<error message>
The subscription is not found. Check [Subscription ID].
AzureManagementRestException
code=AuthorizationFailed, message=<error message>
The resource group may not exist, or the user of [Destination] cannot access that.
  • Check the resource group.
  • Check whether the user of [Destination] can access the resource group.
AzureManagementRestException Failed to delete a cluster. Check the contents of the error message.
AzureHdinsightException
cluster=<cluster name>, provisioningState=<cluster state>
The cluster state is invalid. Check the error details in Azure portal.

Notes