次の方法で共有


VirtualMachineRunCommandProperties interface

仮想マシンの実行コマンドのプロパティについて説明します。

プロパティ

asyncExecution

随意。 true に設定すると、スクリプトが開始されるとすぐにプロビジョニングが完了し、スクリプトが完了するまで待機しません。

errorBlobUri

スクリプト エラー ストリームをアップロードする Azure Storage BLOB を指定します。

outputBlobUri

スクリプト出力ストリームをアップロードする Azure Storage BLOB を指定します。

parameters

スクリプトで使用されるパラメーター。

protectedParameters

スクリプトで使用されるパラメーター。

runAsPassword

実行コマンドの実行時に VM のユーザー アカウント パスワードを指定します。

runAsUser

実行コマンドの実行時に VM 上のユーザー アカウントを指定します。

source

実行コマンド スクリプトのソース。

timeoutInSeconds

run コマンドを実行するためのタイムアウト (秒単位)。

プロパティの詳細

asyncExecution

随意。 true に設定すると、スクリプトが開始されるとすぐにプロビジョニングが完了し、スクリプトが完了するまで待機しません。

asyncExecution?: boolean

プロパティ値

boolean

errorBlobUri

スクリプト エラー ストリームをアップロードする Azure Storage BLOB を指定します。

errorBlobUri?: string

プロパティ値

string

outputBlobUri

スクリプト出力ストリームをアップロードする Azure Storage BLOB を指定します。

outputBlobUri?: string

プロパティ値

string

parameters

スクリプトで使用されるパラメーター。

parameters?: RunCommandInputParameter[]

プロパティ値

protectedParameters

スクリプトで使用されるパラメーター。

protectedParameters?: RunCommandInputParameter[]

プロパティ値

runAsPassword

実行コマンドの実行時に VM のユーザー アカウント パスワードを指定します。

runAsPassword?: string

プロパティ値

string

runAsUser

実行コマンドの実行時に VM 上のユーザー アカウントを指定します。

runAsUser?: string

プロパティ値

string

source

実行コマンド スクリプトのソース。

source?: VirtualMachineRunCommandScriptSource

プロパティ値

timeoutInSeconds

run コマンドを実行するためのタイムアウト (秒単位)。

timeoutInSeconds?: number

プロパティ値

number