Class: Azure::Compute::Mgmt::V2018_09_30::Models::GrantAccessData
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2018_09_30::Models::GrantAccessData
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-09-30/generated/azure_mgmt_compute/models/grant_access_data.rb
Overview
Data used for requesting a SAS.
Instance Attribute Summary collapse
-
#access ⇒ AccessLevel
Possible values include: 'None', 'Read', 'Write'.
-
#duration_in_seconds ⇒ Integer
expires.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for GrantAccessData class as Ruby Hash.
Instance Attribute Details
#access ⇒ AccessLevel
Returns Possible values include: 'None', 'Read', 'Write'.
16 17 18 |
# File 'lib/2018-09-30/generated/azure_mgmt_compute/models/grant_access_data.rb', line 16 def access @access end |
#duration_in_seconds ⇒ Integer
expires.
20 21 22 |
# File 'lib/2018-09-30/generated/azure_mgmt_compute/models/grant_access_data.rb', line 20 def duration_in_seconds @duration_in_seconds end |
Class Method Details
.mapper ⇒ Object
Mapper for GrantAccessData class as Ruby Hash. This will be used for serialization/deserialization.
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 55 |
# File 'lib/2018-09-30/generated/azure_mgmt_compute/models/grant_access_data.rb', line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'GrantAccessData', type: { name: 'Composite', class_name: 'GrantAccessData', model_properties: { access: { client_side_validation: true, required: true, serialized_name: 'access', type: { name: 'String' } }, duration_in_seconds: { client_side_validation: true, required: true, serialized_name: 'durationInSeconds', type: { name: 'Number' } } } } } end |