共用方式為


SparkModelFactory.SparkServicePlugin Method

Definition

Initializes a new instance of SparkServicePlugin.

public static Azure.Analytics.Synapse.Spark.Models.SparkServicePlugin SparkServicePlugin (DateTimeOffset? preparationStartedAt = default, DateTimeOffset? resourceAcquisitionStartedAt = default, DateTimeOffset? submissionStartedAt = default, DateTimeOffset? monitoringStartedAt = default, DateTimeOffset? cleanupStartedAt = default, Azure.Analytics.Synapse.Spark.Models.PluginCurrentState? currentState = default);
static member SparkServicePlugin : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.Analytics.Synapse.Spark.Models.PluginCurrentState> -> Azure.Analytics.Synapse.Spark.Models.SparkServicePlugin
Public Shared Function SparkServicePlugin (Optional preparationStartedAt As Nullable(Of DateTimeOffset) = Nothing, Optional resourceAcquisitionStartedAt As Nullable(Of DateTimeOffset) = Nothing, Optional submissionStartedAt As Nullable(Of DateTimeOffset) = Nothing, Optional monitoringStartedAt As Nullable(Of DateTimeOffset) = Nothing, Optional cleanupStartedAt As Nullable(Of DateTimeOffset) = Nothing, Optional currentState As Nullable(Of PluginCurrentState) = Nothing) As SparkServicePlugin

Parameters

preparationStartedAt
Nullable<DateTimeOffset>
resourceAcquisitionStartedAt
Nullable<DateTimeOffset>
submissionStartedAt
Nullable<DateTimeOffset>
monitoringStartedAt
Nullable<DateTimeOffset>
cleanupStartedAt
Nullable<DateTimeOffset>

Returns

A new SparkServicePlugin instance for mocking.

Applies to