Sha256: 28dca59ce0c143e6e70007175d4472838f8d617199ae12d9869b620d1bd78dc6

Contents?: true

Size: 1.99 KB

Versions: 2

Compression:

Stored size: 1.99 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ServiceFabric::V7_0_0_42
  module Models
    #
    # Describes parameters for creating application-scoped volumes provided by
    # Service Fabric Volume Disks
    #
    class ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk < ApplicationScopedVolumeCreationParameters

      include MsRestAzure


      def initialize
        @kind = "ServiceFabricVolumeDisk"
      end

      attr_accessor :kind

      # @return [SizeTypes] Volume size. Possible values include: 'Small',
      # 'Medium', 'Large'
      attr_accessor :size_disk


      #
      # Mapper for
      # ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk class
      # as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServiceFabricVolumeDisk',
          type: {
            name: 'Composite',
            class_name: 'ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk',
            model_properties: {
              description: {
                client_side_validation: true,
                required: false,
                serialized_name: 'description',
                type: {
                  name: 'String'
                }
              },
              kind: {
                client_side_validation: true,
                required: true,
                serialized_name: 'kind',
                type: {
                  name: 'String'
                }
              },
              size_disk: {
                client_side_validation: true,
                required: true,
                serialized_name: 'sizeDisk',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/7.0.0.42/generated/azure_service_fabric/models/application_scoped_volume_creation_parameters_service_fabric_volume_disk.rb
azure_service_fabric-0.18.0 lib/7.0.0.42/generated/azure_service_fabric/models/application_scoped_volume_creation_parameters_service_fabric_volume_disk.rb