Sha256: f14edd258b4a6de123ed8de5748ace29c6562cbac0eb1e686d20f27736202a44

Contents?: true

Size: 1.97 KB

Versions: 5

Compression:

Stored size: 1.97 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::V6_3_0_9
  module Models
    #
    # This type describes a volume provided by an Azure Files file share.
    #
    class VolumeProviderParametersAzureFile

      include MsRestAzure

      # @return [String] Name of the Azure storage account for the File Share.
      attr_accessor :account_name

      # @return [String] Access key of the Azure storage account for the File
      # Share.
      attr_accessor :account_key

      # @return [String] Name of the Azure Files file share that provides
      # storage for the volume.
      attr_accessor :share_name


      #
      # Mapper for VolumeProviderParametersAzureFile class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'VolumeProviderParametersAzureFile',
          type: {
            name: 'Composite',
            class_name: 'VolumeProviderParametersAzureFile',
            model_properties: {
              account_name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'accountName',
                type: {
                  name: 'String'
                }
              },
              account_key: {
                client_side_validation: true,
                required: false,
                serialized_name: 'accountKey',
                type: {
                  name: 'String'
                }
              },
              share_name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'shareName',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.3.0.9/generated/azure_service_fabric/models/volume_provider_parameters_azure_file.rb
azure_service_fabric-0.18.0 lib/6.3.0.9/generated/azure_service_fabric/models/volume_provider_parameters_azure_file.rb
azure_service_fabric-0.17.2 lib/6.3.0.9/generated/azure_service_fabric/models/volume_provider_parameters_azure_file.rb
azure_service_fabric-0.17.1 lib/6.3.0.9/generated/azure_service_fabric/models/volume_provider_parameters_azure_file.rb
azure_service_fabric-0.17.0 lib/6.3.0.9/generated/azure_service_fabric/models/volume_provider_parameters_azure_file.rb