Class: Azure::Graph::Mgmt::V1_6::Models::ResourceAccess
- Inherits:
-
Object
- Object
- Azure::Graph::Mgmt::V1_6::Models::ResourceAccess
- Includes:
- MsRestAzure
- Defined in:
- lib/1.6/generated/azure_mgmt_graph/models/resource_access.rb
Overview
Specifies an OAuth 2.0 permission scope or an app role that an application requires. The resourceAccess property of the RequiredResourceAccess type is a collection of ResourceAccess.
Instance Attribute Summary collapse
-
#id ⇒ String
or AppRole instances that the resource application exposes.
-
#type ⇒ String
OAuth2Permission or an AppRole.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ResourceAccess class as Ruby Hash.
Instance Attribute Details
#id ⇒ String
or AppRole instances that the resource application exposes.
19 20 21 |
# File 'lib/1.6/generated/azure_mgmt_graph/models/resource_access.rb', line 19 def id @id end |
#type ⇒ String
OAuth2Permission or an AppRole. Possible values are “scope” or “role”.
23 24 25 |
# File 'lib/1.6/generated/azure_mgmt_graph/models/resource_access.rb', line 23 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for ResourceAccess class as Ruby Hash. This will be used for serialization/deserialization.
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/1.6/generated/azure_mgmt_graph/models/resource_access.rb', line 30 def self.mapper() { required: false, serialized_name: 'ResourceAccess', type: { name: 'Composite', class_name: 'ResourceAccess', model_properties: { id: { required: true, serialized_name: 'id', type: { name: 'String' } }, type: { required: false, serialized_name: 'type', type: { name: 'String' } } } } } end |