ArmSecurityCenterModelFactory.GovernanceRuleMetadata 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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET