ArmAutomationModelFactory.DscReportResource Method

Definition

Initializes a new instance of DscReportResource.

public static Azure.ResourceManager.Automation.Models.DscReportResource DscReportResource (string resourceId = default, string sourceInfo = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Automation.Models.DscReportResourceNavigation> dependsOn = default, string moduleName = default, string moduleVersion = default, string resourceName = default, string error = default, string status = default, double? durationInSeconds = default, DateTimeOffset? startOn = default);
static member DscReportResource : string * string * seq<Azure.ResourceManager.Automation.Models.DscReportResourceNavigation> * string * string * string * string * string * Nullable<double> * Nullable<DateTimeOffset> -> Azure.ResourceManager.Automation.Models.DscReportResource
Public Shared Function DscReportResource (Optional resourceId As String = Nothing, Optional sourceInfo As String = Nothing, Optional dependsOn As IEnumerable(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 startOn As Nullable(Of DateTimeOffset) = Nothing) As DscReportResource

Parameters

resourceId
String

Gets or sets the ID of the resource.

sourceInfo
String

Gets or sets the source info of the resource.

dependsOn
IEnumerable<DscReportResourceNavigation>

Gets or sets the Resource Navigation values for resources the resource depends on.

moduleName
String

Gets or sets the module name of the resource.

moduleVersion
String

Gets or sets the module version of the resource.

resourceName
String

Gets or sets the name of the resource.

error
String

Gets or sets the error of the resource.

status
String

Gets or sets the status of the resource.

durationInSeconds
Nullable<Double>

Gets or sets the duration in seconds for the resource.

startOn
Nullable<DateTimeOffset>

Gets or sets the start date of the resource.

Returns

A new DscReportResource instance for mocking.

Applies to