Command Class
The command used in the test.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
Command
Constructor
Command(*, name: str, action: Union[str, azure.mgmt.testbase.models._test_base_enums.Action], content_type: Union[str, azure.mgmt.testbase.models._test_base_enums.ContentType], content: str, run_elevated: Optional[bool] = None, restart_after: Optional[bool] = None, max_run_time: Optional[int] = None, run_as_interactive: Optional[bool] = None, always_run: Optional[bool] = None, apply_update_before: Optional[bool] = None, **kwargs)
Parameters
- action
- str or <xref:test_base.models.Action>
Required
Required. The action of the command. Possible values include: "Install", "Launch", "Close", "Uninstall", "Custom".
- content_type
- str or <xref:test_base.models.ContentType>
Required
Required. The type of command content. Possible values include: "Inline", "File", "Path".
Feedback
Submit and view feedback for