class Azure::Cosmosdb::Mgmt::V2020_06_01_preview::Models::SqlRoleAssignmentCreateUpdateParameters
Parameters to create and update an Azure
Cosmos DB SQL Role Assignment.
Attributes
principal_id[RW]
@return [String] The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription.
role_definition_id[RW]
@return [String] The unique identifier for the associated Role Definition.
scope[RW]
@return [String] The data plane resource path for which access is being granted through this Role Assignment.
Public Class Methods
mapper()
click to toggle source
Mapper for SqlRoleAssignmentCreateUpdateParameters
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_role_assignment_create_update_parameters.rb, line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SqlRoleAssignmentCreateUpdateParameters', type: { name: 'Composite', class_name: 'SqlRoleAssignmentCreateUpdateParameters', model_properties: { role_definition_id: { client_side_validation: true, required: false, serialized_name: 'properties.roleDefinitionId', type: { name: 'String' } }, scope: { client_side_validation: true, required: false, serialized_name: 'properties.scope', type: { name: 'String' } }, principal_id: { client_side_validation: true, required: false, serialized_name: 'properties.principalId', type: { name: 'String' } } } } } end