Sha256: 5497ca961db800f5647f2023a9a2fa6f4a9fcd273e1e782208c7c6927aab25e9

Contents?: true

Size: 1.64 KB

Versions: 20

Compression:

Stored size: 1.64 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::Storage::Mgmt::V2017_06_01
  module Models
    #
    # The custom domain assigned to this storage account. This can be set via
    # Update.
    #
    class CustomDomain

      include MsRestAzure

      # @return [String] Gets or sets the custom domain name assigned to the
      # storage account. Name is the CNAME source.
      attr_accessor :name

      # @return [Boolean] Indicates whether indirect CName validation is
      # enabled. Default value is false. This should only be set on updates.
      attr_accessor :use_sub_domain_name


      #
      # Mapper for CustomDomain class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'CustomDomain',
          type: {
            name: 'Composite',
            class_name: 'CustomDomain',
            model_properties: {
              name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              use_sub_domain_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'useSubDomainName',
                type: {
                  name: 'Boolean'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
azure_mgmt_storage-0.23.0 lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.22.0 lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.21.2 lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.21.1 lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.21.0 lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.20.1 lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.20.0 lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.19.3 lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.19.2 lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.19.1 lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.19.0 lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.18.2 lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.18.1 lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.18.0 lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.17.10 lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.17.9 lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.17.8 lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.17.7 lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.17.6 lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.17.5 lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb