Share via


ArmSecurityCenterModelFactory.GovernanceRuleMetadata Method

Definition

Initializes a new instance of GovernanceRuleMetadata.

public static Azure.ResourceManager.SecurityCenter.Models.GovernanceRuleMetadata GovernanceRuleMetadata (string createdBy = default, DateTimeOffset? createdOn = default, string updatedBy = default, DateTimeOffset? updatedOn = default);
static member GovernanceRuleMetadata : string * Nullable<DateTimeOffset> * string * Nullable<DateTimeOffset> -> Azure.ResourceManager.SecurityCenter.Models.GovernanceRuleMetadata
Public Shared Function GovernanceRuleMetadata (Optional createdBy As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedBy As String = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing) As GovernanceRuleMetadata

Parameters

createdBy
String

Governance rule Created by object id (GUID).

createdOn
Nullable<DateTimeOffset>

Governance rule creation date.

updatedBy
String

Governance rule last updated by object id (GUID).

updatedOn
Nullable<DateTimeOffset>

Governance rule last update date.

Returns

A new GovernanceRuleMetadata instance for mocking.

Applies to