ArmComputeModelFactory.ScriptSource Method
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.
public static Azure.ResourceManager.Compute.Models.ScriptSource ScriptSource(string scriptLink = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.GalleryScriptParameter> parameters = default);
static member ScriptSource : string * seq<Azure.ResourceManager.Compute.Models.GalleryScriptParameter> -> Azure.ResourceManager.Compute.Models.ScriptSource
Public Shared Function ScriptSource (Optional scriptLink As String = Nothing, Optional parameters As IEnumerable(Of GalleryScriptParameter) = Nothing) As ScriptSource
Parameters
- scriptLink
- String
Required. The link of the source script, it must be a readable storage blob with SAS URI or publicly accessible URI or managed identity enabled.
- parameters
- IEnumerable<GalleryScriptParameter>
Optional. Any input parameters that needs to passed to the script and are accessed within the script for its execution.
Returns
A new ScriptSource instance for mocking.