Share via


GovernanceAssignmentData Class

Definition

A class representing the GovernanceAssignment data model. Governance assignment over a given scope

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

Constructors

GovernanceAssignmentData()

Initializes a new instance of GovernanceAssignmentData.

Properties

AdditionalData

The additional data for the governance assignment - e.g. links to ticket (optional), see example.

GovernanceEmailNotification

The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
IsGracePeriod

Defines whether there is a grace period on the governance assignment.

Name

The name of the resource.

(Inherited from ResourceData)
Owner

The Owner for the governance assignment - e.g. user@contoso.com - see example.

RemediationDueOn

The remediation due-date - after this date Secure Score will be affected (in case of active grace-period).

RemediationEta

The ETA (estimated time of arrival) for remediation (optional), see example.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<GovernanceAssignmentData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<GovernanceAssignmentData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<GovernanceAssignmentData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<GovernanceAssignmentData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<GovernanceAssignmentData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to