你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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

获取或设置资源的 ID。

sourceInfo
String

获取或设置资源的源信息。

dependsOn
IList<DscReportResourceNavigation>

获取或设置资源所依赖的资源的资源导航值。

moduleName
String

获取或设置资源的模块名称。

moduleVersion
String

获取或设置资源的模块版本。

resourceName
String

获取或设置资源的名称。

error
String

获取或设置资源的错误。

status
String

获取或设置资源的状态。

durationInSeconds
Nullable<Double>

获取或设置资源的持续时间(以秒为单位)。

startDate
DateTimeOffset

获取或设置资源的开始日期。

适用于