共用方式為


Clusters interface

表示叢集的介面。

方法

beginCreate(string, string, ClusterCreateParametersExtended, ClustersCreateOptionalParams)

使用指定的參數建立新的 HDInsight 叢集。

beginCreateAndWait(string, string, ClusterCreateParametersExtended, ClustersCreateOptionalParams)

使用指定的參數建立新的 HDInsight 叢集。

beginDelete(string, string, ClustersDeleteOptionalParams)

刪除指定的 HDInsight 叢集。

beginDeleteAndWait(string, string, ClustersDeleteOptionalParams)

刪除指定的 HDInsight 叢集。

beginExecuteScriptActions(string, string, ExecuteScriptActionParameters, ClustersExecuteScriptActionsOptionalParams)

在指定的 HDInsight 叢集上執行腳本動作。

beginExecuteScriptActionsAndWait(string, string, ExecuteScriptActionParameters, ClustersExecuteScriptActionsOptionalParams)

在指定的 HDInsight 叢集上執行腳本動作。

beginResize(string, string, string, ClusterResizeParameters, ClustersResizeOptionalParams)

將指定的 HDInsight 叢集大小調整為指定的大小。

beginResizeAndWait(string, string, string, ClusterResizeParameters, ClustersResizeOptionalParams)

將指定的 HDInsight 叢集大小調整為指定的大小。

beginRotateDiskEncryptionKey(string, string, ClusterDiskEncryptionParameters, ClustersRotateDiskEncryptionKeyOptionalParams)

輪替指定 HDInsight 叢集的磁碟加密金鑰。

beginRotateDiskEncryptionKeyAndWait(string, string, ClusterDiskEncryptionParameters, ClustersRotateDiskEncryptionKeyOptionalParams)

輪替指定 HDInsight 叢集的磁碟加密金鑰。

beginUpdateAutoScaleConfiguration(string, string, string, AutoscaleConfigurationUpdateParameter, ClustersUpdateAutoScaleConfigurationOptionalParams)

更新 HDInsight 叢集的自動調整設定。

beginUpdateAutoScaleConfigurationAndWait(string, string, string, AutoscaleConfigurationUpdateParameter, ClustersUpdateAutoScaleConfigurationOptionalParams)

更新 HDInsight 叢集的自動調整設定。

beginUpdateGatewaySettings(string, string, UpdateGatewaySettingsParameters, ClustersUpdateGatewaySettingsOptionalParams)

在指定的叢集上設定閘道設定。

beginUpdateGatewaySettingsAndWait(string, string, UpdateGatewaySettingsParameters, ClustersUpdateGatewaySettingsOptionalParams)

在指定的叢集上設定閘道設定。

beginUpdateIdentityCertificate(string, string, UpdateClusterIdentityCertificateParameters, ClustersUpdateIdentityCertificateOptionalParams)

更新叢集身分識別憑證。

beginUpdateIdentityCertificateAndWait(string, string, UpdateClusterIdentityCertificateParameters, ClustersUpdateIdentityCertificateOptionalParams)

更新叢集身分識別憑證。

get(string, string, ClustersGetOptionalParams)

取得指定的叢集。

getAzureAsyncOperationStatus(string, string, string, ClustersGetAzureAsyncOperationStatusOptionalParams)

異步作狀態。

getGatewaySettings(string, string, ClustersGetGatewaySettingsOptionalParams)

取得指定叢集的閘道設定。

list(ClustersListOptionalParams)

列出訂用帳戶下的所有 HDInsight 叢集。

listByResourceGroup(string, ClustersListByResourceGroupOptionalParams)

列出資源群組中的 HDInsight 叢集。

update(string, string, ClusterPatchParameters, ClustersUpdateOptionalParams)

使用指定的參數修補 HDInsight 叢集。

方法詳細資料

beginCreate(string, string, ClusterCreateParametersExtended, ClustersCreateOptionalParams)

使用指定的參數建立新的 HDInsight 叢集。

function beginCreate(resourceGroupName: string, clusterName: string, parameters: ClusterCreateParametersExtended, options?: ClustersCreateOptionalParams): Promise<PollerLike<PollOperationState<Cluster>, Cluster>>

參數

resourceGroupName

string

資源群組的名稱。

clusterName

string

叢集的名稱。

parameters
ClusterCreateParametersExtended

叢集建立要求。

options
ClustersCreateOptionalParams

選項參數。

傳回

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

beginCreateAndWait(string, string, ClusterCreateParametersExtended, ClustersCreateOptionalParams)

使用指定的參數建立新的 HDInsight 叢集。

function beginCreateAndWait(resourceGroupName: string, clusterName: string, parameters: ClusterCreateParametersExtended, options?: ClustersCreateOptionalParams): Promise<Cluster>

參數

resourceGroupName

string

資源群組的名稱。

clusterName

string

叢集的名稱。

parameters
ClusterCreateParametersExtended

叢集建立要求。

options
ClustersCreateOptionalParams

選項參數。

傳回

Promise<Cluster>

beginDelete(string, string, ClustersDeleteOptionalParams)

刪除指定的 HDInsight 叢集。

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

參數

resourceGroupName

string

資源群組的名稱。

clusterName

string

叢集的名稱。

options
ClustersDeleteOptionalParams

選項參數。

傳回

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

beginDeleteAndWait(string, string, ClustersDeleteOptionalParams)

刪除指定的 HDInsight 叢集。

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

參數

resourceGroupName

string

資源群組的名稱。

clusterName

string

叢集的名稱。

options
ClustersDeleteOptionalParams

選項參數。

傳回

Promise<void>

beginExecuteScriptActions(string, string, ExecuteScriptActionParameters, ClustersExecuteScriptActionsOptionalParams)

在指定的 HDInsight 叢集上執行腳本動作。

function beginExecuteScriptActions(resourceGroupName: string, clusterName: string, parameters: ExecuteScriptActionParameters, options?: ClustersExecuteScriptActionsOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

參數

resourceGroupName

string

資源群組的名稱。

clusterName

string

叢集的名稱。

parameters
ExecuteScriptActionParameters

執行腳本動作的參數。

傳回

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

beginExecuteScriptActionsAndWait(string, string, ExecuteScriptActionParameters, ClustersExecuteScriptActionsOptionalParams)

在指定的 HDInsight 叢集上執行腳本動作。

function beginExecuteScriptActionsAndWait(resourceGroupName: string, clusterName: string, parameters: ExecuteScriptActionParameters, options?: ClustersExecuteScriptActionsOptionalParams): Promise<void>

參數

resourceGroupName

string

資源群組的名稱。

clusterName

string

叢集的名稱。

parameters
ExecuteScriptActionParameters

執行腳本動作的參數。

傳回

Promise<void>

beginResize(string, string, string, ClusterResizeParameters, ClustersResizeOptionalParams)

將指定的 HDInsight 叢集大小調整為指定的大小。

function beginResize(resourceGroupName: string, clusterName: string, roleName: string, parameters: ClusterResizeParameters, options?: ClustersResizeOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

參數

resourceGroupName

string

資源群組的名稱。

clusterName

string

叢集的名稱。

roleName

string

roleName 的常數值

parameters
ClusterResizeParameters

重設大小作業的參數。

options
ClustersResizeOptionalParams

選項參數。

傳回

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

beginResizeAndWait(string, string, string, ClusterResizeParameters, ClustersResizeOptionalParams)

將指定的 HDInsight 叢集大小調整為指定的大小。

function beginResizeAndWait(resourceGroupName: string, clusterName: string, roleName: string, parameters: ClusterResizeParameters, options?: ClustersResizeOptionalParams): Promise<void>

參數

resourceGroupName

string

資源群組的名稱。

clusterName

string

叢集的名稱。

roleName

string

roleName 的常數值

parameters
ClusterResizeParameters

重設大小作業的參數。

options
ClustersResizeOptionalParams

選項參數。

傳回

Promise<void>

beginRotateDiskEncryptionKey(string, string, ClusterDiskEncryptionParameters, ClustersRotateDiskEncryptionKeyOptionalParams)

輪替指定 HDInsight 叢集的磁碟加密金鑰。

function beginRotateDiskEncryptionKey(resourceGroupName: string, clusterName: string, parameters: ClusterDiskEncryptionParameters, options?: ClustersRotateDiskEncryptionKeyOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

參數

resourceGroupName

string

資源群組的名稱。

clusterName

string

叢集的名稱。

parameters
ClusterDiskEncryptionParameters

磁碟加密作業的參數。

傳回

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

beginRotateDiskEncryptionKeyAndWait(string, string, ClusterDiskEncryptionParameters, ClustersRotateDiskEncryptionKeyOptionalParams)

輪替指定 HDInsight 叢集的磁碟加密金鑰。

function beginRotateDiskEncryptionKeyAndWait(resourceGroupName: string, clusterName: string, parameters: ClusterDiskEncryptionParameters, options?: ClustersRotateDiskEncryptionKeyOptionalParams): Promise<void>

參數

resourceGroupName

string

資源群組的名稱。

clusterName

string

叢集的名稱。

parameters
ClusterDiskEncryptionParameters

磁碟加密作業的參數。

傳回

Promise<void>

beginUpdateAutoScaleConfiguration(string, string, string, AutoscaleConfigurationUpdateParameter, ClustersUpdateAutoScaleConfigurationOptionalParams)

更新 HDInsight 叢集的自動調整設定。

function beginUpdateAutoScaleConfiguration(resourceGroupName: string, clusterName: string, roleName: string, parameters: AutoscaleConfigurationUpdateParameter, options?: ClustersUpdateAutoScaleConfigurationOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

參數

resourceGroupName

string

資源群組的名稱。

clusterName

string

叢集的名稱。

roleName

string

roleName 的常數值

parameters
AutoscaleConfigurationUpdateParameter

更新自動調整組態作業的參數。

傳回

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

beginUpdateAutoScaleConfigurationAndWait(string, string, string, AutoscaleConfigurationUpdateParameter, ClustersUpdateAutoScaleConfigurationOptionalParams)

更新 HDInsight 叢集的自動調整設定。

function beginUpdateAutoScaleConfigurationAndWait(resourceGroupName: string, clusterName: string, roleName: string, parameters: AutoscaleConfigurationUpdateParameter, options?: ClustersUpdateAutoScaleConfigurationOptionalParams): Promise<void>

參數

resourceGroupName

string

資源群組的名稱。

clusterName

string

叢集的名稱。

roleName

string

roleName 的常數值

parameters
AutoscaleConfigurationUpdateParameter

更新自動調整組態作業的參數。

傳回

Promise<void>

beginUpdateGatewaySettings(string, string, UpdateGatewaySettingsParameters, ClustersUpdateGatewaySettingsOptionalParams)

在指定的叢集上設定閘道設定。

function beginUpdateGatewaySettings(resourceGroupName: string, clusterName: string, parameters: UpdateGatewaySettingsParameters, options?: ClustersUpdateGatewaySettingsOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

參數

resourceGroupName

string

資源群組的名稱。

clusterName

string

叢集的名稱。

parameters
UpdateGatewaySettingsParameters

叢集組態。

傳回

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

beginUpdateGatewaySettingsAndWait(string, string, UpdateGatewaySettingsParameters, ClustersUpdateGatewaySettingsOptionalParams)

在指定的叢集上設定閘道設定。

function beginUpdateGatewaySettingsAndWait(resourceGroupName: string, clusterName: string, parameters: UpdateGatewaySettingsParameters, options?: ClustersUpdateGatewaySettingsOptionalParams): Promise<void>

參數

resourceGroupName

string

資源群組的名稱。

clusterName

string

叢集的名稱。

parameters
UpdateGatewaySettingsParameters

叢集組態。

傳回

Promise<void>

beginUpdateIdentityCertificate(string, string, UpdateClusterIdentityCertificateParameters, ClustersUpdateIdentityCertificateOptionalParams)

更新叢集身分識別憑證。

function beginUpdateIdentityCertificate(resourceGroupName: string, clusterName: string, parameters: UpdateClusterIdentityCertificateParameters, options?: ClustersUpdateIdentityCertificateOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

參數

resourceGroupName

string

資源群組的名稱。

clusterName

string

叢集的名稱。

parameters
UpdateClusterIdentityCertificateParameters

叢集組態。

傳回

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

beginUpdateIdentityCertificateAndWait(string, string, UpdateClusterIdentityCertificateParameters, ClustersUpdateIdentityCertificateOptionalParams)

更新叢集身分識別憑證。

function beginUpdateIdentityCertificateAndWait(resourceGroupName: string, clusterName: string, parameters: UpdateClusterIdentityCertificateParameters, options?: ClustersUpdateIdentityCertificateOptionalParams): Promise<void>

參數

resourceGroupName

string

資源群組的名稱。

clusterName

string

叢集的名稱。

parameters
UpdateClusterIdentityCertificateParameters

叢集組態。

傳回

Promise<void>

get(string, string, ClustersGetOptionalParams)

取得指定的叢集。

function get(resourceGroupName: string, clusterName: string, options?: ClustersGetOptionalParams): Promise<Cluster>

參數

resourceGroupName

string

資源群組的名稱。

clusterName

string

叢集的名稱。

options
ClustersGetOptionalParams

選項參數。

傳回

Promise<Cluster>

getAzureAsyncOperationStatus(string, string, string, ClustersGetAzureAsyncOperationStatusOptionalParams)

異步作狀態。

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

參數

resourceGroupName

string

資源群組的名稱。

clusterName

string

叢集的名稱。

operationId

string

長時間執行的作業標識碼。

傳回

getGatewaySettings(string, string, ClustersGetGatewaySettingsOptionalParams)

取得指定叢集的閘道設定。

function getGatewaySettings(resourceGroupName: string, clusterName: string, options?: ClustersGetGatewaySettingsOptionalParams): Promise<GatewaySettings>

參數

resourceGroupName

string

資源群組的名稱。

clusterName

string

叢集的名稱。

傳回

Promise<GatewaySettings>

list(ClustersListOptionalParams)

列出訂用帳戶下的所有 HDInsight 叢集。

function list(options?: ClustersListOptionalParams): PagedAsyncIterableIterator<Cluster, Cluster[], PageSettings>

參數

options
ClustersListOptionalParams

選項參數。

傳回

listByResourceGroup(string, ClustersListByResourceGroupOptionalParams)

列出資源群組中的 HDInsight 叢集。

function listByResourceGroup(resourceGroupName: string, options?: ClustersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Cluster, Cluster[], PageSettings>

參數

resourceGroupName

string

資源群組的名稱。

傳回

update(string, string, ClusterPatchParameters, ClustersUpdateOptionalParams)

使用指定的參數修補 HDInsight 叢集。

function update(resourceGroupName: string, clusterName: string, parameters: ClusterPatchParameters, options?: ClustersUpdateOptionalParams): Promise<Cluster>

參數

resourceGroupName

string

資源群組的名稱。

clusterName

string

叢集的名稱。

parameters
ClusterPatchParameters

叢集修補程式要求。

options
ClustersUpdateOptionalParams

選項參數。

傳回

Promise<Cluster>