class Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainHttpsParameters

The JSON object that contains the properties to secure a custom domain.

Attributes

certificateSource[RW]
protocol_type[RW]

@return [ProtocolType] Defines the TLS extension protocol that is used for secure delivery. Possible values include: 'ServerNameIndication', 'IPBased'

Public Class Methods

mapper() click to toggle source

Mapper for CustomDomainHttpsParameters class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain_https_parameters.rb, line 35
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CustomDomainHttpsParameters',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'certificateSource',
      uber_parent: 'CustomDomainHttpsParameters',
      class_name: 'CustomDomainHttpsParameters',
      model_properties: {
        protocol_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'protocolType',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain_https_parameters.rb, line 19
def initialize
  @certificateSource = "CustomDomainHttpsParameters"
end