Sha256: d1ba28be2f21cd51f91688ab95630061918c524dc66dbf433b04b8bc0665bf6b

Contents?: true

Size: 1.21 KB

Versions: 11

Compression:

Stored size: 1.21 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::CDN::Mgmt::V2017_10_12
  module Models
    #
    # The customDomain JSON object required for custom domain creation or
    # update.
    #
    class CustomDomainParameters

      include MsRestAzure

      # @return [String] The host name of the custom domain. Must be a domain
      # name.
      attr_accessor :host_name


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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
azure_mgmt_cdn-0.18.2 lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb
azure_mgmt_cdn-0.18.1 lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb
azure_mgmt_cdn-0.17.7 lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb
azure_mgmt_cdn-0.17.6 lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb
azure_mgmt_cdn-0.17.5 lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb
azure_mgmt_cdn-0.17.4 lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb
azure_mgmt_cdn-0.17.3 lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb
azure_mgmt_cdn-0.17.2 lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb
azure_mgmt_cdn-0.17.1 lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb
azure_mgmt_cdn-0.17.0 lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb
azure_mgmt_cdn-0.16.0 lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb