Sha256: 79d0b0634cbc4e45d2ce069fbca8ddbf0e1dc7e71eac7cbe56f3d0e6dae052bf

Contents?: true

Size: 1.57 KB

Versions: 10

Compression:

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

      include MsRestAzure

      # @return [String] The custom domain name. 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


      #
      # 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: {
                client_side_validation: true,
                required: false,
                serialized_name: 'useSubDomain',
                type: {
                  name: 'Boolean'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
azure_mgmt_storage-0.17.4 lib/2015-06-15/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.17.3 lib/2015-06-15/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.17.2 lib/2015-06-15/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.17.1 lib/2015-06-15/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.17.0 lib/2015-06-15/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.16.3 lib/2015-06-15/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.16.2 lib/2015-06-15/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.16.1 lib/2015-06-15/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.16.0 lib/2015-06-15/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.15.2 lib/2015-06-15/generated/azure_mgmt_storage/models/custom_domain.rb