Class: Azure::Storage::Mgmt::V2021_01_01::Models::ResourceAccessRule

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2021-01-01/generated/azure_mgmt_storage/models/resource_access_rule.rb

Overview

Resource Access Rule.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#resource_idString

Returns Resource Id.

Returns:

  • (String)

    Resource Id



19
20
21
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/resource_access_rule.rb', line 19

def resource_id
  @resource_id
end

#tenant_idString

Returns Tenant Id.

Returns:

  • (String)

    Tenant Id



16
17
18
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/resource_access_rule.rb', line 16

def tenant_id
  @tenant_id
end

Class Method Details

.mapperObject

Mapper for ResourceAccessRule class as Ruby Hash. This will be used for serialization/deserialization.



26
27
28
29
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
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/resource_access_rule.rb', line 26

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ResourceAccessRule',
    type: {
      name: 'Composite',
      class_name: 'ResourceAccessRule',
      model_properties: {
        tenant_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tenantId',
          type: {
            name: 'String'
          }
        },
        resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'resourceId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end