Class: Azure::Storage::Mgmt::V2021_01_01::Models::ResourceAccessRule
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2021_01_01::Models::ResourceAccessRule
- 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
-
#resource_id ⇒ String
Resource Id.
-
#tenant_id ⇒ String
Tenant Id.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ResourceAccessRule class as Ruby Hash.
Instance Attribute Details
#resource_id ⇒ String
Returns 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_id ⇒ String
Returns 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
.mapper ⇒ Object
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 |