共用方式為


DscReportResource 建構函式

定義

多載

DscReportResource()

初始化 DscReportResource 類別的新實例。

DscReportResource(String, String, IList<DscReportResourceNavigation>, String, String, String, String, String, Nullable<Double>, DateTimeOffset)

初始化 DscReportResource 類別的新實例。

DscReportResource()

初始化 DscReportResource 類別的新實例。

public DscReportResource ();
Public Sub New ()

適用於

DscReportResource(String, String, IList<DscReportResourceNavigation>, String, String, String, String, String, Nullable<Double>, DateTimeOffset)

初始化 DscReportResource 類別的新實例。

public DscReportResource (string resourceId = default, string sourceInfo = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Automation.Models.DscReportResourceNavigation> dependsOn = default, string moduleName = default, string moduleVersion = default, string resourceName = default, string error = default, string status = default, double? durationInSeconds = default, DateTimeOffset startDate = default);
new Microsoft.Azure.Management.Automation.Models.DscReportResource : string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Automation.Models.DscReportResourceNavigation> * string * string * string * string * string * Nullable<double> * DateTimeOffset -> Microsoft.Azure.Management.Automation.Models.DscReportResource
Public Sub New (Optional resourceId As String = Nothing, Optional sourceInfo As String = Nothing, Optional dependsOn As IList(Of DscReportResourceNavigation) = Nothing, Optional moduleName As String = Nothing, Optional moduleVersion As String = Nothing, Optional resourceName As String = Nothing, Optional error As String = Nothing, Optional status As String = Nothing, Optional durationInSeconds As Nullable(Of Double) = Nothing, Optional startDate As DateTimeOffset = Nothing)

參數

resourceId
String

取得或設定資源的識別碼。

sourceInfo
String

取得或設定資源的來源資訊。

dependsOn
IList<DscReportResourceNavigation>

取得或設定資源相依的資源資源導覽值。

moduleName
String

取得或設定資源的模組名稱。

moduleVersion
String

取得或設定資源的模組版本。

resourceName
String

取得或設定資源的名稱。

error
String

取得或設定資源的錯誤。

status
String

取得或設定資源的狀態。

durationInSeconds
Nullable<Double>

取得或設定資源的持續時間,以秒為單位。

startDate
DateTimeOffset

取得或設定資源的開始日期。

適用於