Script Actions - List By Cluster

指定したクラスターに対する永続化されたスクリプト アクションを一覧表示します。

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptActions?api-version=2021-06-01

URI パラメーター

名前 / 必須 説明
clusterName
path True

string

クラスターの名前です。

resourceGroupName
path True

string

リソース グループの名前。

subscriptionId
path True

string

Microsoft Azure サブスクリプションを一意に識別するサブスクリプション資格情報。 サブスクリプション ID は、全ての修理依頼についてURI の一部を生じさせます。

api-version
query True

string

HDInsight クライアント API バージョン。

応答

名前 説明
200 OK

ScriptActionsList

OK 応答の定義。

Other Status Codes

ErrorResponse

操作に失敗した理由を説明するエラー応答。

セキュリティ

azure_auth

Azure Active Directory OAuth2 フロー

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

名前 説明
user_impersonation ユーザー アカウントの借用

List all persisted script actions for the given cluster

Sample Request

GET https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/scriptActions?api-version=2021-06-01

Sample Response

{
  "value": [
    {
      "name": "app-Install",
      "uri": "https://app.com/azure/app_install.sh",
      "roles": [
        "edgenode"
      ],
      "applicationName": "app"
    }
  ]
}

定義

名前 説明
ErrorResponse

エラー応答の形式について説明します。

RuntimeScriptActionDetail

スクリプト アクションの実行の詳細。

ScriptActionExecutionSummary

スクリプト アクションの実行の概要。

ScriptActionsList

クラスターの永続化されたスクリプト アクション。

ErrorResponse

エラー応答の形式について説明します。

名前 説明
code

string

エラー コード

message

string

操作が失敗した理由を示すエラー メッセージ。

RuntimeScriptActionDetail

スクリプト アクションの実行の詳細。

名前 説明
applicationName

string

スクリプト アクションのアプリケーション名 (存在する場合)。

debugInformation

string

スクリプト アクション実行のデバッグ情報。

endTime

string

スクリプト アクションの実行の終了時刻。

executionSummary

ScriptActionExecutionSummary[]

スクリプト アクションの実行結果の概要。

name

string

スクリプト アクションの名前。

operation

string

スクリプト アクションが実行された理由。

parameters

string

スクリプトのパラメーター

roles

string[]

スクリプトが実行されるロールの一覧。

scriptExecutionId

integer

スクリプト アクションの実行 ID。

startTime

string

スクリプト アクションの実行の開始時刻。

status

string

スクリプト アクションの現在の実行状態。

uri

string

スクリプトの URI。

ScriptActionExecutionSummary

スクリプト アクションの実行の概要。

名前 説明
instanceCount

integer

特定のスクリプト アクションの実行状態のインスタンス数。

status

string

スクリプト アクションの実行の状態。

ScriptActionsList

クラスターの永続化されたスクリプト アクション。

名前 説明
nextLink

string

結果の次のページへのリンク (URL)。

value

RuntimeScriptActionDetail[]

クラスターの永続化されたスクリプト アクションの詳細の一覧。