Class: Azure::ApiManagement::Mgmt::V2016_07_07::Models::BackendContract
- Inherits:
-
Object
- Object
- Azure::ApiManagement::Mgmt::V2016_07_07::Models::BackendContract
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-07-07/generated/azure_mgmt_api_management/models/backend_contract.rb
Overview
Parameters supplied to the Create Backend operation.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#host ⇒ String
without a port or suffix, for example backend.contoso.com.
-
#skip_certificate_chain_validation ⇒ Boolean
validation should be skipped when using self-signed certificates for this backend host.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for BackendContract class as Ruby Hash.
Instance Attribute Details
#host ⇒ String
without a port or suffix, for example backend.contoso.com. Must not be empty.
18 19 20 |
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/backend_contract.rb', line 18 def host @host end |
#skip_certificate_chain_validation ⇒ Boolean
validation should be skipped when using self-signed certificates for this backend host. Default value: false .
23 24 25 |
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/backend_contract.rb', line 23 def skip_certificate_chain_validation @skip_certificate_chain_validation end |
Class Method Details
.mapper ⇒ Object
Mapper for BackendContract 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 |
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/backend_contract.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'BackendContract', type: { name: 'Composite', class_name: 'BackendContract', 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' } } } } } end |