次の方法で共有


DataFactoryScriptAction クラス

定義

HDI ondemand クラスターが起動したら実行するカスタム スクリプト アクション。

public class DataFactoryScriptAction
type DataFactoryScriptAction = class
Public Class DataFactoryScriptAction
継承
DataFactoryScriptAction

コンストラクター

DataFactoryScriptAction(String, Uri, BinaryData)

DataFactoryScriptAction の新しいインスタンスを初期化します。

プロパティ

Name

ユーザーがスクリプト アクションの名前を指定しました。

Parameters

スクリプト アクションのパラメーター。

Roles

スクリプト アクションを実行するノードの種類。

このプロパティにオブジェクトを割り当てるには、 を使用します FromObjectAsJson<T>(T, JsonSerializerOptions)

このプロパティに既に書式設定された json 文字列を割り当てるには、 を使用します FromString(String)

例 :

  • BinaryData.FromObjectAsJson("foo")ペイロード "foo" を作成します。
  • BinaryData.FromString("\"foo\"")ペイロード "foo" を作成します。
  • BinaryData.FromObjectAsJson(new { key = "value" }){ "key": "value" }のペイロードを作成します。
  • BinaryData.FromString("{\"key\": \"value\"}"){ "key": "value" }のペイロードを作成します。

Uri

スクリプト アクションの URI。

適用対象