class Azure::Kusto::Mgmt::V2019_01_21::Models::DatabasePrincipal
A class representing database principal entity.
Attributes
app_id[RW]
@return [String] Application id - relevant only for application principal type.
email[RW]
@return [String] Database
principal email if exists.
fqn[RW]
@return [String] Database
principal fully qualified name.
name[RW]
@return [String] Database
principal name.
role[RW]
@return [DatabasePrincipalRole] Database
principal role. Possible values include: 'Admin', 'Ingestor', 'Monitor', 'User', 'UnrestrictedViewers', 'Viewer'
type[RW]
@return [DatabasePrincipalType] Database
principal type. Possible values include: 'App', 'Group', 'User'
Public Class Methods
mapper()
click to toggle source
Mapper for DatabasePrincipal
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-01-21/generated/azure_mgmt_kusto/models/database_principal.rb, line 42 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DatabasePrincipal', type: { name: 'Composite', class_name: 'DatabasePrincipal', model_properties: { role: { client_side_validation: true, required: true, serialized_name: 'role', type: { name: 'String' } }, name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: true, serialized_name: 'type', type: { name: 'String' } }, fqn: { client_side_validation: true, required: false, serialized_name: 'fqn', type: { name: 'String' } }, email: { client_side_validation: true, required: false, serialized_name: 'email', type: { name: 'String' } }, app_id: { client_side_validation: true, required: false, serialized_name: 'appId', type: { name: 'String' } } } } } end