ArmPolicyInsightsModelFactory.TrackedResourceModificationDetails Method

Definition

Initializes a new instance of TrackedResourceModificationDetails.

public static Azure.ResourceManager.PolicyInsights.Models.TrackedResourceModificationDetails TrackedResourceModificationDetails (Azure.ResourceManager.PolicyInsights.Models.PolicyDetails policyDetails = default, Azure.Core.ResourceIdentifier deploymentId = default, DateTimeOffset? deploymentOn = default);
static member TrackedResourceModificationDetails : Azure.ResourceManager.PolicyInsights.Models.PolicyDetails * Azure.Core.ResourceIdentifier * Nullable<DateTimeOffset> -> Azure.ResourceManager.PolicyInsights.Models.TrackedResourceModificationDetails
Public Shared Function TrackedResourceModificationDetails (Optional policyDetails As PolicyDetails = Nothing, Optional deploymentId As ResourceIdentifier = Nothing, Optional deploymentOn As Nullable(Of DateTimeOffset) = Nothing) As TrackedResourceModificationDetails

Parameters

policyDetails
PolicyDetails

The details of the policy that created or modified the tracked resource.

deploymentId
ResourceIdentifier

The ID of the deployment that created or modified the tracked resource.

deploymentOn
Nullable<DateTimeOffset>

Timestamp of the deployment that created or modified the tracked resource.

Returns

A new TrackedResourceModificationDetails instance for mocking.

Applies to