Aracılığıyla paylaş


ArmResourcesModelFactory.ScriptStatus Method

Definition

Initializes a new instance of ScriptStatus.

public static Azure.ResourceManager.Resources.Models.ScriptStatus ScriptStatus (string containerInstanceId = default, string storageAccountId = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, DateTimeOffset? expireOn = default, Azure.ResponseError error = default);
static member ScriptStatus : string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResponseError -> Azure.ResourceManager.Resources.Models.ScriptStatus
Public Shared Function ScriptStatus (Optional containerInstanceId As String = Nothing, Optional storageAccountId As String = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional error As ResponseError = Nothing) As ScriptStatus

Parameters

containerInstanceId
String

ACI resource Id.

storageAccountId
String

Storage account resource Id.

startOn
Nullable<DateTimeOffset>

Start time of the script execution.

endOn
Nullable<DateTimeOffset>

End time of the script execution.

expireOn
Nullable<DateTimeOffset>

Time the deployment script resource will expire.

error
ResponseError

Error that is relayed from the script execution.

Returns

A new ScriptStatus instance for mocking.

Applies to