ArmPolicyInsightsModelFactory.PolicyTrackedResourceRecord Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of PolicyTrackedResourceRecord.
public static Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceRecord PolicyTrackedResourceRecord (Azure.Core.ResourceIdentifier trackedResourceId = default, Azure.ResourceManager.PolicyInsights.Models.PolicyDetails policyDetails = default, Azure.ResourceManager.PolicyInsights.Models.TrackedResourceModificationDetails createdBy = default, Azure.ResourceManager.PolicyInsights.Models.TrackedResourceModificationDetails lastModifiedBy = default, DateTimeOffset? lastUpdateOn = default);
static member PolicyTrackedResourceRecord : Azure.Core.ResourceIdentifier * Azure.ResourceManager.PolicyInsights.Models.PolicyDetails * Azure.ResourceManager.PolicyInsights.Models.TrackedResourceModificationDetails * Azure.ResourceManager.PolicyInsights.Models.TrackedResourceModificationDetails * Nullable<DateTimeOffset> -> Azure.ResourceManager.PolicyInsights.Models.PolicyTrackedResourceRecord
Public Shared Function PolicyTrackedResourceRecord (Optional trackedResourceId As ResourceIdentifier = Nothing, Optional policyDetails As PolicyDetails = Nothing, Optional createdBy As TrackedResourceModificationDetails = Nothing, Optional lastModifiedBy As TrackedResourceModificationDetails = Nothing, Optional lastUpdateOn As Nullable(Of DateTimeOffset) = Nothing) As PolicyTrackedResourceRecord
Parameters
- trackedResourceId
- ResourceIdentifier
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.
- lastUpdateOn
- Nullable<DateTimeOffset>
Timestamp of the last update to the tracked resource.
Returns
A new PolicyTrackedResourceRecord instance for mocking.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET