Condividi tramite


ArmAvsModelFactory.ScriptCmdletData Method

Definition

Initializes a new instance of ScriptCmdletData.

public static Azure.ResourceManager.Avs.ScriptCmdletData ScriptCmdletData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Avs.Models.ScriptCmdletProvisioningState? provisioningState = default, string description = default, TimeSpan? timeout = default, Azure.ResourceManager.Avs.Models.ScriptCmdletAudience? audience = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Avs.Models.ScriptParameter> parameters = default);
static member ScriptCmdletData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Avs.Models.ScriptCmdletProvisioningState> * string * Nullable<TimeSpan> * Nullable<Azure.ResourceManager.Avs.Models.ScriptCmdletAudience> * seq<Azure.ResourceManager.Avs.Models.ScriptParameter> -> Azure.ResourceManager.Avs.ScriptCmdletData
Public Shared Function ScriptCmdletData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional provisioningState As Nullable(Of ScriptCmdletProvisioningState) = Nothing, Optional description As String = Nothing, Optional timeout As Nullable(Of TimeSpan) = Nothing, Optional audience As Nullable(Of ScriptCmdletAudience) = Nothing, Optional parameters As IEnumerable(Of ScriptParameter) = Nothing) As ScriptCmdletData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

provisioningState
Nullable<ScriptCmdletProvisioningState>

The provisioning state of the resource.

description
String

Description of the scripts functionality.

timeout
Nullable<TimeSpan>

Recommended time limit for execution.

audience
Nullable<ScriptCmdletAudience>

Specifies whether a script cmdlet is intended to be invoked only through automation or visible to customers.

parameters
IEnumerable<ScriptParameter>

Parameters the script will accept.

Returns

A new ScriptCmdletData instance for mocking.

Applies to