Class: Azure::StorageCache::Mgmt::V2020_03_01::Models::ClfsTargetProperties
- Inherits:
-
StorageTargetProperties
- Object
- StorageTargetProperties
- Azure::StorageCache::Mgmt::V2020_03_01::Models::ClfsTargetProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-03-01/generated/azure_mgmt_storagecache/models/clfs_target_properties.rb
Overview
Storage container for use as a CLFS Storage Target.
Instance Attribute Summary collapse
-
#targetBaseType ⇒ Object
Returns the value of attribute targetBaseType.
Attributes inherited from StorageTargetProperties
#clfs, #junctions, #nfs3, #provisioning_state, #target_type, #unknown
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ClfsTargetProperties class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ClfsTargetProperties
constructor
A new instance of ClfsTargetProperties.
Constructor Details
#initialize ⇒ ClfsTargetProperties
Returns a new instance of ClfsTargetProperties.
16 17 18 |
# File 'lib/2020-03-01/generated/azure_mgmt_storagecache/models/clfs_target_properties.rb', line 16 def initialize @targetBaseType = "clfs" end |
Instance Attribute Details
#targetBaseType ⇒ Object
Returns the value of attribute targetBaseType.
20 21 22 |
# File 'lib/2020-03-01/generated/azure_mgmt_storagecache/models/clfs_target_properties.rb', line 20 def targetBaseType @targetBaseType end |
Class Method Details
.mapper ⇒ Object
Mapper for ClfsTargetProperties 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 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
# File 'lib/2020-03-01/generated/azure_mgmt_storagecache/models/clfs_target_properties.rb', line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'clfs', type: { name: 'Composite', class_name: 'ClfsTargetProperties', model_properties: { junctions: { client_side_validation: true, required: false, serialized_name: 'junctions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'NamespaceJunctionElementType', type: { name: 'Composite', class_name: 'NamespaceJunction' } } } }, target_type: { client_side_validation: true, required: false, serialized_name: 'targetType', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, serialized_name: 'provisioningState', type: { name: 'String' } }, nfs3: { client_side_validation: true, required: false, serialized_name: 'nfs3', type: { name: 'Composite', class_name: 'Nfs3Target' } }, clfs: { client_side_validation: true, required: false, serialized_name: 'clfs', type: { name: 'Composite', class_name: 'ClfsTarget' } }, unknown: { client_side_validation: true, required: false, serialized_name: 'unknown', type: { name: 'Composite', class_name: 'UnknownTarget' } }, targetBaseType: { client_side_validation: true, required: true, serialized_name: 'targetBaseType', type: { name: 'String' } } } } } end |