Language

RoleAssignmentCommonProperties Class

Definition

The details for role assignment common properties.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkAnalytics.Models.Api20231115.RoleAssignmentCommonPropertiesTypeConverter))]
public class RoleAssignmentCommonProperties : Microsoft.Azure.PowerShell.Cmdlets.NetworkAnalytics.Models.Api20231115.IRoleAssignmentCommonProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkAnalytics.Models.Api20231115.RoleAssignmentCommonPropertiesTypeConverter))>]
type RoleAssignmentCommonProperties = class
    interface IRoleAssignmentCommonProperties
    interface IJsonSerializable
Public Class RoleAssignmentCommonProperties
Implements IRoleAssignmentCommonProperties
Inheritance
RoleAssignmentCommonProperties
Attributes
Implements

Constructors

Name Description
RoleAssignmentCommonProperties()

Creates an new RoleAssignmentCommonProperties instance.

Properties

Name Description
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.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RoleAssignmentCommonProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RoleAssignmentCommonProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.NetworkAnalytics.Models.Api20231115.IRoleAssignmentCommonProperties.

FromJsonString(String)

Creates a new instance of RoleAssignmentCommonProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of RoleAssignmentCommonProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to