Class: Azure::ServiceFabric::V6_3_0_9::Models::ContainerVolume
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_3_0_9::Models::ContainerVolume
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/container_volume.rb
Overview
Describes how a volume is attached to a container.
Instance Attribute Summary collapse
-
#destination_path ⇒ String
should be mounted.
-
#name ⇒ String
Name of the volume.
-
#read_only ⇒ Boolean
Default is ‘false’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ContainerVolume class as Ruby Hash.
Instance Attribute Details
#destination_path ⇒ String
should be mounted. Only valid path characters are allowed.
24 25 26 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/container_volume.rb', line 24 def destination_path @destination_path end |
#name ⇒ String
Returns Name of the volume.
16 17 18 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/container_volume.rb', line 16 def name @name end |
#read_only ⇒ Boolean
Default is ‘false’.
20 21 22 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/container_volume.rb', line 20 def read_only @read_only end |
Class Method Details
.mapper ⇒ Object
Mapper for ContainerVolume class as Ruby Hash. This will be used for serialization/deserialization.
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 56 57 58 59 60 61 62 63 64 65 66 67 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/container_volume.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ContainerVolume', type: { name: 'Composite', class_name: 'ContainerVolume', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, read_only: { client_side_validation: true, required: false, serialized_name: 'readOnly', type: { name: 'Boolean' } }, destination_path: { client_side_validation: true, required: true, serialized_name: 'destinationPath', type: { name: 'String' } } } } } end |