/// <summary> /// Initializes a new instance of the /// TrackedResourceModificationDetails class. /// </summary> /// <param name="policyDetails">The details of the policy that created /// or modified the tracked resource.</param> /// <param name="deploymentId">The ID of the deployment that created or /// modified the tracked resource.</param> /// <param name="deploymentTime">Timestamp of the deployment that /// created or modified the tracked resource.</param> public TrackedResourceModificationDetails(PolicyDetails policyDetails = default(PolicyDetails), string deploymentId = default(string), System.DateTime?deploymentTime = default(System.DateTime?)) { PolicyDetails = policyDetails; DeploymentId = deploymentId; DeploymentTime = deploymentTime; CustomInit(); }
/// <summary> /// Initializes a new instance of the PolicyTrackedResource class. /// </summary> /// <param name="trackedResourceId">The ID of the policy tracked /// resource.</param> /// <param name="policyDetails">The details of the policy that require /// the tracked resource.</param> /// <param name="createdBy">The details of the policy triggered /// deployment that created the tracked resource.</param> /// <param name="lastModifiedBy">The details of the policy triggered /// deployment that modified the tracked resource.</param> /// <param name="lastUpdateUtc">Timestamp of the last update to the /// tracked resource.</param> public PolicyTrackedResource(string trackedResourceId = default(string), PolicyDetails policyDetails = default(PolicyDetails), TrackedResourceModificationDetails createdBy = default(TrackedResourceModificationDetails), TrackedResourceModificationDetails lastModifiedBy = default(TrackedResourceModificationDetails), System.DateTime?lastUpdateUtc = default(System.DateTime?)) { TrackedResourceId = trackedResourceId; PolicyDetails = policyDetails; CreatedBy = createdBy; LastModifiedBy = lastModifiedBy; LastUpdateUtc = lastUpdateUtc; CustomInit(); }