WorkloadImpactProperties(DateTimeOffset, ResourceIdentifier, String) Constructor

Definition

Initializes a new instance of WorkloadImpactProperties.

public WorkloadImpactProperties(DateTimeOffset startOn, Azure.Core.ResourceIdentifier impactedResourceId, string impactCategory);
new Azure.ResourceManager.ImpactReporting.Models.WorkloadImpactProperties : DateTimeOffset * Azure.Core.ResourceIdentifier * string -> Azure.ResourceManager.ImpactReporting.Models.WorkloadImpactProperties
Public Sub New (startOn As DateTimeOffset, impactedResourceId As ResourceIdentifier, impactCategory As String)

Parameters

startOn
DateTimeOffset

Time at which impact was observed .

impactedResourceId
ResourceIdentifier

Azure resource id of the impacted resource.

impactCategory
String

Category of the impact, details can found from /impactCategories API.

Exceptions

impactedResourceId or impactCategory is null.

Applies to