Sha256: d5e64c3ab58e3d72bdf626fa7da70633d1b3b715924019895bf4d32f6f520812

Contents?: true

Size: 1.79 KB

Versions: 8

Compression:

Stored size: 1.79 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
    #
    # Defines the parameters for using CDN managed certificate for securing
    # custom domain.
    #
    class CdnCertificateSourceParameters

      include MsRestAzure

      # @return [String] . Default value:
      # '#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters' .
      attr_accessor :odatatype

      # @return [CertificateType] Type of certificate used. Possible values
      # include: 'Shared', 'Dedicated'
      attr_accessor :certificate_type


      #
      # Mapper for CdnCertificateSourceParameters class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'CdnCertificateSourceParameters',
          type: {
            name: 'Composite',
            class_name: 'CdnCertificateSourceParameters',
            model_properties: {
              odatatype: {
                client_side_validation: true,
                required: true,
                is_constant: true,
                serialized_name: '@odata\\.type',
                default_value: '#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters',
                type: {
                  name: 'String'
                }
              },
              certificate_type: {
                client_side_validation: true,
                required: true,
                serialized_name: 'certificateType',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

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