Sha256: d7233e0a51f44a6fb201f9feb570a9f61dbe6cb06c079520c920715f5ffa5834

Contents?: true

Size: 1.49 KB

Versions: 2

Compression:

Stored size: 1.49 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


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_storage-0.15.1 lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb
azure_mgmt_storage-0.15.0 lib/2017-06-01/generated/azure_mgmt_storage/models/custom_domain.rb