class Azure::ServiceFabric::V7_0_0_42::Models::ApplicationScopedVolumeCreationParameters

Describes parameters for creating application-scoped volumes.

Attributes

description[RW]

@return [String] User readable description of the volume.

kind[RW]

Private Class Methods

mapper() click to toggle source

Mapper for ApplicationScopedVolumeCreationParameters class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/7.0.0.42/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
new() click to toggle source
# File lib/7.0.0.42/generated/azure_service_fabric/models/application_scoped_volume_creation_parameters.rb, line 18
def initialize
  @kind = "ApplicationScopedVolumeCreationParameters"
end