你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RuntimeScriptAction Class
Describes a script action on a running cluster.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
msrest.serialization.ModelRuntimeScriptAction
Constructor
RuntimeScriptAction(*, name: str, uri: str, roles: List[str], parameters: str | None = None, **kwargs)
Parameters
Name | Description |
---|---|
name
Required
|
Required. The name of the script action. |
uri
Required
|
Required. The URI to the script. |
parameters
Required
|
The parameters for the script. |
roles
Required
|
Required. The list of roles where script will be executed. |
Keyword-Only Parameters
Name | Description |
---|---|
name
Required
|
|
uri
Required
|
|
roles
Required
|
|
parameters
Required
|
|
Variables
Name | Description |
---|---|
application_name
|
The application name of the script action, if any. |