# 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::AnalysisServices::Mgmt::V2016_05_16
  module Models
    #
    # Provision request specification
    #
    class AnalysisServicesServerUpdateParameters

      include MsRestAzure

      # @return [ResourceSku] The SKU of the Analysis Services resource.
      attr_accessor :sku

      # @return [Hash{String => String}] Key-value pairs of additional
      # provisioning properties.
      attr_accessor :tags

      # @return [ServerAdministrators] A collection of AS server administrators
      attr_accessor :as_administrators

      # @return [String] The container URI of backup blob.
      attr_accessor :backup_blob_container_uri


      #
      # Mapper for AnalysisServicesServerUpdateParameters class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'AnalysisServicesServerUpdateParameters',
          type: {
            name: 'Composite',
            class_name: 'AnalysisServicesServerUpdateParameters',
            model_properties: {
              sku: {
                client_side_validation: true,
                required: false,
                serialized_name: 'sku',
                type: {
                  name: 'Composite',
                  class_name: 'ResourceSku'
                }
              },
              tags: {
                client_side_validation: true,
                required: false,
                serialized_name: 'tags',
                type: {
                  name: 'Dictionary',
                  value: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              },
              as_administrators: {
                client_side_validation: true,
                required: false,
                serialized_name: 'properties.asAdministrators',
                type: {
                  name: 'Composite',
                  class_name: 'ServerAdministrators'
                }
              },
              backup_blob_container_uri: {
                client_side_validation: true,
                required: false,
                serialized_name: 'properties.backupBlobContainerUri',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
