Share via


PolicyTrackedResource Constructors

Definition

Overloads

PolicyTrackedResource()

Initializes a new instance of the PolicyTrackedResource class.

PolicyTrackedResource(String, PolicyDetails, TrackedResourceModificationDetails, TrackedResourceModificationDetails, Nullable<DateTime>)

Initializes a new instance of the PolicyTrackedResource class.

PolicyTrackedResource()

Initializes a new instance of the PolicyTrackedResource class.

public PolicyTrackedResource ();
Public Sub New ()

Applies to

PolicyTrackedResource(String, PolicyDetails, TrackedResourceModificationDetails, TrackedResourceModificationDetails, Nullable<DateTime>)

Initializes a new instance of the PolicyTrackedResource class.

public PolicyTrackedResource (string trackedResourceId = default, Microsoft.Azure.Management.PolicyInsights.Models.PolicyDetails policyDetails = default, Microsoft.Azure.Management.PolicyInsights.Models.TrackedResourceModificationDetails createdBy = default, Microsoft.Azure.Management.PolicyInsights.Models.TrackedResourceModificationDetails lastModifiedBy = default, DateTime? lastUpdateUtc = default);
new Microsoft.Azure.Management.PolicyInsights.Models.PolicyTrackedResource : string * Microsoft.Azure.Management.PolicyInsights.Models.PolicyDetails * Microsoft.Azure.Management.PolicyInsights.Models.TrackedResourceModificationDetails * Microsoft.Azure.Management.PolicyInsights.Models.TrackedResourceModificationDetails * Nullable<DateTime> -> Microsoft.Azure.Management.PolicyInsights.Models.PolicyTrackedResource
Public Sub New (Optional trackedResourceId As String = Nothing, Optional policyDetails As PolicyDetails = Nothing, Optional createdBy As TrackedResourceModificationDetails = Nothing, Optional lastModifiedBy As TrackedResourceModificationDetails = Nothing, Optional lastUpdateUtc As Nullable(Of DateTime) = Nothing)

Parameters

trackedResourceId
String

The ID of the policy tracked resource.

policyDetails
PolicyDetails

The details of the policy that require the tracked resource.

createdBy
TrackedResourceModificationDetails

The details of the policy triggered deployment that created the tracked resource.

lastModifiedBy
TrackedResourceModificationDetails

The details of the policy triggered deployment that modified the tracked resource.

lastUpdateUtc
Nullable<DateTime>

Timestamp of the last update to the tracked resource.

Applies to