Class: Azure::ServiceFabric::V6_4_0_36::Models::ApplicationScopedVolumeCreationParameters
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_4_0_36::Models::ApplicationScopedVolumeCreationParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/application_scoped_volume_creation_parameters.rb
Overview
Describes parameters for creating application-scoped volumes.
Direct Known Subclasses
ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#description ⇒ String
User readable description of the volume.
-
#kind ⇒ Object
Returns the value of attribute kind.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ApplicationScopedVolumeCreationParameters class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ApplicationScopedVolumeCreationParameters
constructor
A new instance of ApplicationScopedVolumeCreationParameters.
Constructor Details
#initialize ⇒ ApplicationScopedVolumeCreationParameters
Returns a new instance of ApplicationScopedVolumeCreationParameters.
18 19 20 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/application_scoped_volume_creation_parameters.rb', line 18 def initialize @kind = "ApplicationScopedVolumeCreationParameters" end |
Instance Attribute Details
#description ⇒ String
Returns User readable description of the volume.
25 26 27 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/application_scoped_volume_creation_parameters.rb', line 25 def description @description end |
#kind ⇒ Object
Returns the value of attribute kind.
22 23 24 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/application_scoped_volume_creation_parameters.rb', line 22 def kind @kind end |
Class Method Details
.mapper ⇒ Object
Mapper for ApplicationScopedVolumeCreationParameters class as Ruby Hash. This will be used for serialization/deserialization.
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/6.4.0.36/generated/azure_service_fabric/models/application_scoped_volume_creation_parameters.rb', line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ApplicationScopedVolumeCreationParameters', type: { name: 'Composite', polymorphic_discriminator: 'kind', uber_parent: 'ApplicationScopedVolumeCreationParameters', class_name: 'ApplicationScopedVolumeCreationParameters', model_properties: { description: { client_side_validation: true, required: false, serialized_name: 'description', type: { name: 'String' } } } } } end |