ArmSecurityCenterModelFactory.GovernanceRuleOwnerSource Method

Definition

public static Azure.ResourceManager.SecurityCenter.Models.GovernanceRuleOwnerSource GovernanceRuleOwnerSource(Azure.ResourceManager.SecurityCenter.Models.GovernanceRuleOwnerSourceType? sourceType = default, string value = default);
static member GovernanceRuleOwnerSource : Nullable<Azure.ResourceManager.SecurityCenter.Models.GovernanceRuleOwnerSourceType> * string -> Azure.ResourceManager.SecurityCenter.Models.GovernanceRuleOwnerSource
Public Shared Function GovernanceRuleOwnerSource (Optional sourceType As Nullable(Of GovernanceRuleOwnerSourceType) = Nothing, Optional value As String = Nothing) As GovernanceRuleOwnerSource

Parameters

sourceType
Nullable<GovernanceRuleOwnerSourceType>

The owner type for the governance rule owner source.

value
String

The source value e.g. tag key like owner name or email address.

Returns

A new GovernanceRuleOwnerSource instance for mocking.

Applies to