Class: Azure::GraphRbac::V1_6::Models::ResourceAccess

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/1.6/generated/azure_graph_rbac/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

Class Method Summary collapse

Instance Attribute Details

#additional_propertiesObject

collection

Returns:

  • Unmatched properties from the message are deserialized this



19
20
21
# File 'lib/1.6/generated/azure_graph_rbac/models/resource_access.rb', line 19

def additional_properties
  @additional_properties
end

#idString

or AppRole instances that the resource application exposes.

Returns:

  • (String)

    The unique identifier for one of the OAuth2Permission



23
24
25
# File 'lib/1.6/generated/azure_graph_rbac/models/resource_access.rb', line 23

def id
  @id
end

#typeString

OAuth2Permission or an AppRole. Possible values are “scope” or “role”.

Returns:

  • (String)

    Specifies whether the id property references an



27
28
29
# File 'lib/1.6/generated/azure_graph_rbac/models/resource_access.rb', line 27

def type
  @type
end

Class Method Details

.mapperObject

Mapper for ResourceAccess 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
# File 'lib/1.6/generated/azure_graph_rbac/models/resource_access.rb', line 34

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ResourceAccess',
    type: {
      name: 'Composite',
      class_name: 'ResourceAccess',
      model_properties: {
        additional_properties: {
          client_side_validation: true,
          required: false,
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end