Sha256: c61d6862aa601c562d2ed93fa7bf64f359779cb27be5096c56ad1355858dae72

Contents?: true

Size: 1.97 KB

Versions: 3

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_5_0_36
  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

3 entries across 3 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.5.0.36/generated/azure_service_fabric/models/volume_provider_parameters_azure_file.rb
azure_service_fabric-0.18.0 lib/6.5.0.36/generated/azure_service_fabric/models/volume_provider_parameters_azure_file.rb
azure_service_fabric-0.17.2 lib/6.5.0.36/generated/azure_service_fabric/models/volume_provider_parameters_azure_file.rb