Freigeben über


Applications interface

Interface representing a Applications.

Methods

beginCreate(string, string, string, Application, ApplicationsCreateOptionalParams)

Creates applications for the HDInsight cluster.

beginCreateAndWait(string, string, string, Application, ApplicationsCreateOptionalParams)

Creates applications for the HDInsight cluster.

beginDelete(string, string, string, ApplicationsDeleteOptionalParams)

Deletes the specified application on the HDInsight cluster.

beginDeleteAndWait(string, string, string, ApplicationsDeleteOptionalParams)

Deletes the specified application on the HDInsight cluster.

get(string, string, string, ApplicationsGetOptionalParams)

Gets properties of the specified application.

getAzureAsyncOperationStatus(string, string, string, string, ApplicationsGetAzureAsyncOperationStatusOptionalParams)

Gets the async operation status.

listByCluster(string, string, ApplicationsListByClusterOptionalParams)

Lists all of the applications for the HDInsight cluster.

Method Details

beginCreate(string, string, string, Application, ApplicationsCreateOptionalParams)

Creates applications for the HDInsight cluster.

function beginCreate(resourceGroupName: string, clusterName: string, applicationName: string, parameters: Application, options?: ApplicationsCreateOptionalParams): Promise<PollerLike<PollOperationState<Application>, Application>>

Parameters

resourceGroupName

string

The name of the resource group.

clusterName

string

The name of the cluster.

applicationName

string

The constant value for the application name.

parameters
Application

The application create request.

options
ApplicationsCreateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<Application>, Application>>

beginCreateAndWait(string, string, string, Application, ApplicationsCreateOptionalParams)

Creates applications for the HDInsight cluster.

function beginCreateAndWait(resourceGroupName: string, clusterName: string, applicationName: string, parameters: Application, options?: ApplicationsCreateOptionalParams): Promise<Application>

Parameters

resourceGroupName

string

The name of the resource group.

clusterName

string

The name of the cluster.

applicationName

string

The constant value for the application name.

parameters
Application

The application create request.

options
ApplicationsCreateOptionalParams

The options parameters.

Returns

Promise<Application>

beginDelete(string, string, string, ApplicationsDeleteOptionalParams)

Deletes the specified application on the HDInsight cluster.

function beginDelete(resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

clusterName

string

The name of the cluster.

applicationName

string

The constant value for the application name.

options
ApplicationsDeleteOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginDeleteAndWait(string, string, string, ApplicationsDeleteOptionalParams)

Deletes the specified application on the HDInsight cluster.

function beginDeleteAndWait(resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

clusterName

string

The name of the cluster.

applicationName

string

The constant value for the application name.

options
ApplicationsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, ApplicationsGetOptionalParams)

Gets properties of the specified application.

function get(resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsGetOptionalParams): Promise<Application>

Parameters

resourceGroupName

string

The name of the resource group.

clusterName

string

The name of the cluster.

applicationName

string

The constant value for the application name.

options
ApplicationsGetOptionalParams

The options parameters.

Returns

Promise<Application>

getAzureAsyncOperationStatus(string, string, string, string, ApplicationsGetAzureAsyncOperationStatusOptionalParams)

Gets the async operation status.

function getAzureAsyncOperationStatus(resourceGroupName: string, clusterName: string, applicationName: string, operationId: string, options?: ApplicationsGetAzureAsyncOperationStatusOptionalParams): Promise<AsyncOperationResult>

Parameters

resourceGroupName

string

The name of the resource group.

clusterName

string

The name of the cluster.

applicationName

string

The constant value for the application name.

operationId

string

The long running operation id.

Returns

listByCluster(string, string, ApplicationsListByClusterOptionalParams)

Lists all of the applications for the HDInsight cluster.

function listByCluster(resourceGroupName: string, clusterName: string, options?: ApplicationsListByClusterOptionalParams): PagedAsyncIterableIterator<Application, Application[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

clusterName

string

The name of the cluster.

options
ApplicationsListByClusterOptionalParams

The options parameters.

Returns