Sha256: 173d65a39c9c0fe3f54604165ddea1555962ed8fa6d6689ecd9556dbfa6dbe8f

Contents?: true

Size: 1.59 KB

Versions: 2

Compression:

Stored size: 1.59 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_09_01
  module Models
    #
    # Input of the secret to be validated.
    #
    class ValidateSecretInput

      include MsRestAzure

      # @return [ResourceReference] The secret source.
      attr_accessor :secret_source

      # @return [ValidateSecretType] The secret type. Possible values include:
      # 'UrlSigningKey', 'ManagedCertificate', 'CustomerCertificate'
      attr_accessor :secret_type


      #
      # Mapper for ValidateSecretInput class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ValidateSecretInput',
          type: {
            name: 'Composite',
            class_name: 'ValidateSecretInput',
            model_properties: {
              secret_source: {
                client_side_validation: true,
                required: true,
                serialized_name: 'secretSource',
                type: {
                  name: 'Composite',
                  class_name: 'ResourceReference'
                }
              },
              secret_type: {
                client_side_validation: true,
                required: true,
                serialized_name: 'secretType',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_cdn-0.18.2 lib/2020-09-01/generated/azure_mgmt_cdn/models/validate_secret_input.rb
azure_mgmt_cdn-0.18.1 lib/2020-09-01/generated/azure_mgmt_cdn/models/validate_secret_input.rb