Class: Azure::CDN::Mgmt::V2017_04_02::Models::ValidateProbeOutput

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-04-02/generated/azure_mgmt_cdn/models/validate_probe_output.rb

Overview

Output of the validate probe API.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#error_codeString

accepted.

Returns:

  • (String)

    Specifies the error code when the probe url is not



20
21
22
# File 'lib/2017-04-02/generated/azure_mgmt_cdn/models/validate_probe_output.rb', line 20

def error_code
  @error_code
end

#is_validBoolean

Returns Indicates whether the probe URL is accepted or not.

Returns:

  • (Boolean)

    Indicates whether the probe URL is accepted or not.



16
17
18
# File 'lib/2017-04-02/generated/azure_mgmt_cdn/models/validate_probe_output.rb', line 16

def is_valid
  @is_valid
end

#messageString

URL is not accepted.

Returns:

  • (String)

    The detailed error message describing why the probe



24
25
26
# File 'lib/2017-04-02/generated/azure_mgmt_cdn/models/validate_probe_output.rb', line 24

def message
  @message
end

Class Method Details

.mapperObject

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



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# File 'lib/2017-04-02/generated/azure_mgmt_cdn/models/validate_probe_output.rb', line 31

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