Sha256: 56551d31915f49f200fbc0f698278ad18d979c0c828702a126e8fbc4c3abf614

Contents?: true

Size: 1.96 KB

Versions: 5

Compression:

Stored size: 1.96 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
    #
    # Output of the validate probe API.
    #
    class ValidateProbeOutput

      include MsRestAzure

      # @return [Boolean] Indicates whether the probe URL is accepted or not.
      attr_accessor :is_valid

      # @return [String] Specifies the error code when the probe url is not
      # accepted.
      attr_accessor :error_code

      # @return [String] The detailed error message describing why the probe
      # URL is not accepted.
      attr_accessor :message


      #
      # Mapper for ValidateProbeOutput class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ValidateProbeOutput',
          type: {
            name: 'Composite',
            class_name: 'ValidateProbeOutput',
            model_properties: {
              is_valid: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'isValid',
                type: {
                  name: 'Boolean'
                }
              },
              error_code: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'errorCode',
                type: {
                  name: 'String'
                }
              },
              message: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'message',
                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/validate_probe_output.rb
azure_mgmt_cdn-0.18.1 lib/2020-04-15/generated/azure_mgmt_cdn/models/validate_probe_output.rb
azure_mgmt_cdn-0.17.7 lib/2020-04-15/generated/azure_mgmt_cdn/models/validate_probe_output.rb
azure_mgmt_cdn-0.17.6 lib/2020-04-15/generated/azure_mgmt_cdn/models/validate_probe_output.rb
azure_mgmt_cdn-0.17.5 lib/2020-04-15/generated/azure_mgmt_cdn/models/validate_probe_output.rb