Class: Azure::Cosmosdb::Mgmt::V2020_06_01_preview::Models::SqlRoleAssignmentGetResults
- Inherits:
-
ARMProxyResource
- Object
- ARMProxyResource
- Azure::Cosmosdb::Mgmt::V2020_06_01_preview::Models::SqlRoleAssignmentGetResults
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_role_assignment_get_results.rb
Overview
An Azure Cosmos DB Role Assignment
Instance Attribute Summary collapse
-
#principal_id ⇒ String
in the AAD graph to which access is being granted through this Role Assignment.
-
#role_definition_id ⇒ String
Definition.
-
#scope ⇒ String
granted through this Role Assignment.
Attributes inherited from ARMProxyResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SqlRoleAssignmentGetResults class as Ruby Hash.
Instance Attribute Details
#principal_id ⇒ String
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.
27 28 29 |
# File 'lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_role_assignment_get_results.rb', line 27 def principal_id @principal_id end |
#role_definition_id ⇒ String
Definition.
17 18 19 |
# File 'lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_role_assignment_get_results.rb', line 17 def role_definition_id @role_definition_id end |
#scope ⇒ String
granted through this Role Assignment.
21 22 23 |
# File 'lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_role_assignment_get_results.rb', line 21 def scope @scope end |
Class Method Details
.mapper ⇒ Object
Mapper for SqlRoleAssignmentGetResults class as Ruby Hash. This will be used for serialization/deserialization.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/2020-06-01-preview/generated/azure_mgmt_cosmosdb/models/sql_role_assignment_get_results.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SqlRoleAssignmentGetResults', type: { name: 'Composite', class_name: 'SqlRoleAssignmentGetResults', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, 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 |