Class: Azure::ApiManagement::Mgmt::V2016_10_10::Models::BackendCredentialsContract

Inherits:
BackendAuthorizationHeaderCredentials show all
Includes:
MsRestAzure
Defined in:
lib/2016-10-10/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb

Overview

Details of the Credentials used to connect to Backend.

Instance Attribute Summary collapse

Attributes inherited from BackendAuthorizationHeaderCredentials

#parameter, #scheme

Class Method Summary collapse

Instance Attribute Details

#certificateArray<String>

Returns List of Client Certificate Thumbprint.

Returns:

  • (Array<String>)

    List of Client Certificate Thumbprint.



16
17
18
# File 'lib/2016-10-10/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb', line 16

def certificate
  @certificate
end

#headerHash{String => Array<String>}

Returns Header Parameter description.

Returns:

  • (Hash{String => Array<String>})

    Header Parameter description.



22
23
24
# File 'lib/2016-10-10/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb', line 22

def header
  @header
end

#queryHash{String => Array<String>}

Returns Query Parameter description.

Returns:

  • (Hash{String => Array<String>})

    Query Parameter description.



19
20
21
# File 'lib/2016-10-10/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb', line 19

def query
  @query
end

Class Method Details

.mapperObject

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



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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# File 'lib/2016-10-10/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'BackendCredentialsContract',
    type: {
      name: 'Composite',
      class_name: 'BackendCredentialsContract',
      model_properties: {
        scheme: {
          client_side_validation: true,
          required: true,
          serialized_name: 'scheme',
          constraints: {
            MaxLength: 100,
            MinLength: 1
          },
          type: {
            name: 'String'
          }
        },
        parameter: {
          client_side_validation: true,
          required: true,
          serialized_name: 'parameter',
          constraints: {
            MaxLength: 300,
            MinLength: 1
          },
          type: {
            name: 'String'
          }
        },
        certificate: {
          client_side_validation: true,
          required: false,
          serialized_name: 'certificate',
          constraints: {
            MaxItems: 32
          },
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        query: {
          client_side_validation: true,
          required: false,
          serialized_name: 'query',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ArrayElementType',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
            }
          }
        },
        header: {
          client_side_validation: true,
          required: false,
          serialized_name: 'header',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ArrayElementType',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
            }
          }
        }
      }
    }
  }
end