PreparedImageSpecificationScript Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of PreparedImageSpecificationScript.
public PreparedImageSpecificationScript(string name, Azure.ResourceManager.ContainerServicePreparedImgSpec.Models.PreparedImageSpecificationExecutionPoint executionPoint, Azure.ResourceManager.ContainerServicePreparedImgSpec.Models.PreparedImageSpecificationScriptType scriptType);
new Azure.ResourceManager.ContainerServicePreparedImgSpec.Models.PreparedImageSpecificationScript : string * Azure.ResourceManager.ContainerServicePreparedImgSpec.Models.PreparedImageSpecificationExecutionPoint * Azure.ResourceManager.ContainerServicePreparedImgSpec.Models.PreparedImageSpecificationScriptType -> Azure.ResourceManager.ContainerServicePreparedImgSpec.Models.PreparedImageSpecificationScript
Public Sub New (name As String, executionPoint As PreparedImageSpecificationExecutionPoint, scriptType As PreparedImageSpecificationScriptType)
Parameters
- name
- String
The name for the customization script. Must be unique within the prepared image specification resource. Can only contain lowercase alphanumeric,'-' or '.' characters.
- executionPoint
- PreparedImageSpecificationExecutionPoint
The stage at which the script is executed.
Specifying NodeImageBuildTime will ensure changes are persisted into the node image.
- scriptType
- PreparedImageSpecificationScriptType
The runtime environment for the script (e.g. Bash).
Exceptions
name is null.