Sha256: c710757eae1beb695f3bd66c6959d353e045de129033749ac598127b1f8979ae

Contents?: true

Size: 1.21 KB

Versions: 5

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::V2020_04_15
  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

5 entries across 5 versions & 1 rubygems

Version Path
azure_mgmt_cdn-0.18.2 lib/2020-04-15/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb
azure_mgmt_cdn-0.18.1 lib/2020-04-15/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb
azure_mgmt_cdn-0.17.7 lib/2020-04-15/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb
azure_mgmt_cdn-0.17.6 lib/2020-04-15/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb
azure_mgmt_cdn-0.17.5 lib/2020-04-15/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb