Share via


RoleAssignmentCommonProperties Class

Definition

The details for role assignment common properties.

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

Constructors

RoleAssignmentCommonProperties(String, String, String, IEnumerable<String>, String, DataProductUserRole)

Initializes a new instance of RoleAssignmentCommonProperties.

Properties

DataTypeScope

Data Type Scope at which the role assignment is created.

PrincipalId

Object ID of the AAD principal or security-group.

PrincipalType

Type of the principal Id: User, Group or ServicePrincipal.

Role

Data Product role to be assigned to a user.

RoleId

Role Id of the Built-In Role.

UserName

User name.

Explicit Interface Implementations

IJsonModel<RoleAssignmentCommonProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RoleAssignmentCommonProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RoleAssignmentCommonProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RoleAssignmentCommonProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RoleAssignmentCommonProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to