Class: Azure::ApiManagement::Mgmt::V2016_07_07::Models::BackendResponse

Inherits:
BackendContract
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-07-07/generated/azure_mgmt_api_management/models/backend_response.rb

Overview

The Backend entity in API Management represents a backend service that is configured to skip certification chain validation when using a self-signed certificate to test mutual certificate authentication.

Instance Attribute Summary collapse

Attributes inherited from BackendContract

#host, #skip_certificate_chain_validation

Class Method Summary collapse

Instance Attribute Details

#idString

Management service instance. The value is a valid relative URL in the format of /backends/backendId where backendId is a backend identifier.

Returns:

  • (String)

    Uniquely identifies the backend within the current API



21
22
23
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/backend_response.rb', line 21

def id
  @id
end

Class Method Details

.mapperObject

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



28
29
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
66
67
68
69
70
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/backend_response.rb', line 28

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'BackendResponse',
    type: {
      name: 'Composite',
      class_name: 'BackendResponse',
      model_properties: {
        host: {
          client_side_validation: true,
          required: true,
          serialized_name: 'host',
          constraints: {
            MaxLength: 255,
            MinLength: 1
          },
          type: {
            name: 'String'
          }
        },
        skip_certificate_chain_validation: {
          client_side_validation: true,
          required: false,
          serialized_name: 'skipCertificateChainValidation',
          default_value: false,
          type: {
            name: 'Boolean'
          }
        },
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end