ScriptConfigurationBase Class
Common configuration settings for both Azure PowerShell and Azure CLI scripts.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
ScriptConfigurationBase
Constructor
ScriptConfigurationBase(*, retention_interval: datetime.timedelta, primary_script_uri: Optional[str] = None, supporting_script_uris: Optional[List[str]] = None, script_content: Optional[str] = None, arguments: Optional[str] = None, environment_variables: Optional[List[azure.mgmt.resource.deploymentscripts.v2020_10_01.models._models_py3.EnvironmentVariable]] = None, force_update_tag: Optional[str] = None, timeout: Optional[datetime.timedelta] = 'P1D', **kwargs)
Variables
- primary_script_uri
- str
Uri for the script. This is the entry point for the external script.
- script_content
- str
Script body.
- arguments
- str
Command line arguments to pass to the script. Arguments are separated by spaces. ex: -Name blue* -Location 'West US 2'.
- environment_variables
- list[EnvironmentVariable]
The environment variables to pass over to the script.
- force_update_tag
- str
Gets or sets how the deployment script should be forced to execute even if the script resource has not changed. Can be current time stamp or a GUID.
- retention_interval
- timedelta
Required. Interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. Duration is based on ISO 8601 pattern (for example P1D means one day).
- timeout
- timedelta
Maximum allowed script execution time specified in ISO 8601 format. Default value is P1D.
Feedback
Submit and view feedback for