ApplicationsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

HDInsightManagementClient's

<xref:applications> attribute.

Constructor

ApplicationsOperations(*args, **kwargs)

Methods

begin_create

Creates applications for the HDInsight cluster.

begin_delete

Deletes the specified application on the HDInsight cluster.

get

Gets properties of the specified application.

get_azure_async_operation_status

Gets the async operation status.

list_by_cluster

Lists all of the applications for the HDInsight cluster.

begin_create

Creates applications for the HDInsight cluster.

begin_create(resource_group_name: str, cluster_name: str, application_name: str, parameters: _models.Application, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.Application]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

cluster_name
Required
str

The name of the cluster. Required.

application_name
Required
str

The constant value for the application name. Required.

parameters
Required

The application create request. Is either a Application type or a IO[bytes] type. Required.

Returns

Type Description

An instance of LROPoller that returns either Application or the result of cls(response)

Exceptions

Type Description

begin_delete

Deletes the specified application on the HDInsight cluster.

begin_delete(resource_group_name: str, cluster_name: str, application_name: str, **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

cluster_name
Required
str

The name of the cluster. Required.

application_name
Required
str

The constant value for the application name. Required.

Returns

Type Description

An instance of LROPoller that returns either None or the result of cls(response)

Exceptions

Type Description

get

Gets properties of the specified application.

get(resource_group_name: str, cluster_name: str, application_name: str, **kwargs: Any) -> Application

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

cluster_name
Required
str

The name of the cluster. Required.

application_name
Required
str

The constant value for the application name. Required.

Returns

Type Description

Application or the result of cls(response)

Exceptions

Type Description

get_azure_async_operation_status

Gets the async operation status.

get_azure_async_operation_status(resource_group_name: str, cluster_name: str, application_name: str, operation_id: str, **kwargs: Any) -> AsyncOperationResult

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

cluster_name
Required
str

The name of the cluster. Required.

application_name
Required
str

The constant value for the application name. Required.

operation_id
Required
str

The long running operation id. Required.

Returns

Type Description

AsyncOperationResult or the result of cls(response)

Exceptions

Type Description

list_by_cluster

Lists all of the applications for the HDInsight cluster.

list_by_cluster(resource_group_name: str, cluster_name: str, **kwargs: Any) -> ItemPaged[Application]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

cluster_name
Required
str

The name of the cluster. Required.

Returns

Type Description

An iterator like instance of either Application or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.hdinsight.models' from 'C:\\ToolCache\\Python\\3.12.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv145\\Lib\\site-packages\\azure\\mgmt\\hdinsight\\models\\__init__.py'>