Class: Azure::CDN::Mgmt::V2017_04_02::Models::ValidateCustomDomainOutput

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

Overview

Output of custom domain validation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#custom_domain_validatedBoolean

Returns Indicates whether the custom domain is valid or not.

Returns:

  • (Boolean)

    Indicates whether the custom domain is valid or not.



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

def custom_domain_validated
  @custom_domain_validated
end

#messageString

valid.

Returns:

  • (String)

    Error message describing why the custom domain is not



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

def message
  @message
end

#reasonString

Returns The reason why the custom domain is not valid.

Returns:

  • (String)

    The reason why the custom domain is not valid.



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

def reason
  @reason
end

Class Method Details

.mapperObject

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



30
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
# File 'lib/2017-04-02/generated/azure_mgmt_cdn/models/validate_custom_domain_output.rb', line 30

def self.mapper()
  {
    required: false,
    serialized_name: 'ValidateCustomDomainOutput',
    type: {
      name: 'Composite',
      class_name: 'ValidateCustomDomainOutput',
      model_properties: {
        custom_domain_validated: {
          required: false,
          read_only: true,
          serialized_name: 'customDomainValidated',
          type: {
            name: 'Boolean'
          }
        },
        reason: {
          required: false,
          read_only: true,
          serialized_name: 'reason',
          type: {
            name: 'String'
          }
        },
        message: {
          required: false,
          read_only: true,
          serialized_name: 'message',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end