共用方式為


GovernanceRuleOwnerSource Class

Definition

Describe the owner source of governance rule.

public class GovernanceRuleOwnerSource
public class GovernanceRuleOwnerSource : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityCenter.Models.GovernanceRuleOwnerSource>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityCenter.Models.GovernanceRuleOwnerSource>
type GovernanceRuleOwnerSource = class
type GovernanceRuleOwnerSource = class
    interface IJsonModel<GovernanceRuleOwnerSource>
    interface IPersistableModel<GovernanceRuleOwnerSource>
Public Class GovernanceRuleOwnerSource
Public Class GovernanceRuleOwnerSource
Implements IJsonModel(Of GovernanceRuleOwnerSource), IPersistableModel(Of GovernanceRuleOwnerSource)
Inheritance
GovernanceRuleOwnerSource
Implements

Constructors

GovernanceRuleOwnerSource()

Initializes a new instance of GovernanceRuleOwnerSource.

Properties

SourceType

The owner type for the governance rule owner source.

Value

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

Explicit Interface Implementations

IJsonModel<GovernanceRuleOwnerSource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<GovernanceRuleOwnerSource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<GovernanceRuleOwnerSource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<GovernanceRuleOwnerSource>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<GovernanceRuleOwnerSource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to