Condividi tramite


UserRecommendation Class

Definition

Represents a user that is recommended to be allowed for a certain rule.

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

Constructors

UserRecommendation()

Initializes a new instance of UserRecommendation.

Properties

RecommendationAction

The recommendation action of the machine or rule.

Username

Represents a user that is recommended to be allowed for a certain rule.

Explicit Interface Implementations

IJsonModel<UserRecommendation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<UserRecommendation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<UserRecommendation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<UserRecommendation>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<UserRecommendation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to