Class PolicyTrackedResourceInner
- java.lang.Object
-
- com.azure.resourcemanager.policyinsights.fluent.models.PolicyTrackedResourceInner
-
public final class PolicyTrackedResourceInner extends Object
Policy tracked resource record.
-
-
Constructor Summary
Constructors Constructor Description PolicyTrackedResourceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TrackedResourceModificationDetails
createdBy()
Get the createdBy property: The details of the policy triggered deployment that created the tracked resource.TrackedResourceModificationDetails
lastModifiedBy()
Get the lastModifiedBy property: The details of the policy triggered deployment that modified the tracked resource.OffsetDateTime
lastUpdateUtc()
Get the lastUpdateUtc property: Timestamp of the last update to the tracked resource.PolicyDetails
policyDetails()
Get the policyDetails property: The details of the policy that require the tracked resource.String
trackedResourceId()
Get the trackedResourceId property: The ID of the policy tracked resource.void
validate()
Validates the instance.
-
-
-
Method Detail
-
trackedResourceId
public String trackedResourceId()
Get the trackedResourceId property: The ID of the policy tracked resource.- Returns:
- the trackedResourceId value.
-
policyDetails
public PolicyDetails policyDetails()
Get the policyDetails property: The details of the policy that require the tracked resource.- Returns:
- the policyDetails value.
-
createdBy
public TrackedResourceModificationDetails createdBy()
Get the createdBy property: The details of the policy triggered deployment that created the tracked resource.- Returns:
- the createdBy value.
-
lastModifiedBy
public TrackedResourceModificationDetails lastModifiedBy()
Get the lastModifiedBy property: The details of the policy triggered deployment that modified the tracked resource.- Returns:
- the lastModifiedBy value.
-
lastUpdateUtc
public OffsetDateTime lastUpdateUtc()
Get the lastUpdateUtc property: Timestamp of the last update to the tracked resource.- Returns:
- the lastUpdateUtc value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-