Share via


ReportProperties Constructor

Definition

Initializes a new instance of ReportProperties.

public ReportProperties (string timeZone, DateTimeOffset triggerOn, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppComplianceAutomation.Models.ResourceMetadata> resources);
new Azure.ResourceManager.AppComplianceAutomation.Models.ReportProperties : string * DateTimeOffset * seq<Azure.ResourceManager.AppComplianceAutomation.Models.ResourceMetadata> -> Azure.ResourceManager.AppComplianceAutomation.Models.ReportProperties
Public Sub New (timeZone As String, triggerOn As DateTimeOffset, resources As IEnumerable(Of ResourceMetadata))

Parameters

timeZone
String

Report collection trigger time's time zone, the available list can be obtained by executing "Get-TimeZone -ListAvailable" in PowerShell. An example of valid timezone id is "Pacific Standard Time".

triggerOn
DateTimeOffset

Report collection trigger time.

resources
IEnumerable<ResourceMetadata>

List of resource data.

Exceptions

timeZone or resources is null.

Applies to