Class: Azure::ApiManagement::Mgmt::V2019_12_01::Models::DiagnosticContract
- Inherits:
-
Resource
- Object
- Resource
- Azure::ApiManagement::Mgmt::V2019_12_01::Models::DiagnosticContract
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-12-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb
Overview
Diagnostic details.
Instance Attribute Summary collapse
-
#always_log ⇒ AlwaysLog
settings should not apply.
-
#backend ⇒ PipelineDiagnosticSettings
incoming/outgoing HTTP messages to the Backend.
-
#frontend ⇒ PipelineDiagnosticSettings
incoming/outgoing HTTP messages to the Gateway.
-
#http_correlation_protocol ⇒ HttpCorrelationProtocol
Application Insights diagnostics.
-
#log_client_ip ⇒ Boolean
Log the ClientIP.
-
#logger_id ⇒ String
Resource Id of a target logger.
-
#sampling ⇒ SamplingSettings
Sampling settings for Diagnostic.
-
#verbosity ⇒ Verbosity
trace policies.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DiagnosticContract class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#always_log ⇒ AlwaysLog
settings should not apply. Possible values include: ‘allErrors’
17 18 19 |
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb', line 17 def always_log @always_log end |
#backend ⇒ PipelineDiagnosticSettings
incoming/outgoing HTTP messages to the Backend
31 32 33 |
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb', line 31 def backend @backend end |
#frontend ⇒ PipelineDiagnosticSettings
incoming/outgoing HTTP messages to the Gateway.
27 28 29 |
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb', line 27 def frontend @frontend end |
#http_correlation_protocol ⇒ HttpCorrelationProtocol
Application Insights diagnostics. Possible values include: ‘None’, ‘Legacy’, ‘W3C’
39 40 41 |
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb', line 39 def http_correlation_protocol @http_correlation_protocol end |
#log_client_ip ⇒ Boolean
Returns Log the ClientIP. Default is false.
34 35 36 |
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb', line 34 def log_client_ip @log_client_ip end |
#logger_id ⇒ String
Returns Resource Id of a target logger.
20 21 22 |
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb', line 20 def logger_id @logger_id end |
#sampling ⇒ SamplingSettings
Returns Sampling settings for Diagnostic.
23 24 25 |
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb', line 23 def sampling @sampling end |
#verbosity ⇒ Verbosity
trace policies. Possible values include: ‘verbose’, ‘information’, ‘error’
44 45 46 |
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb', line 44 def verbosity @verbosity end |
Class Method Details
.mapper ⇒ Object
Mapper for DiagnosticContract class as Ruby Hash. This will be used for serialization/deserialization.
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 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 |
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb', line 51 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DiagnosticContract', type: { name: 'Composite', class_name: 'DiagnosticContract', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, always_log: { client_side_validation: true, required: false, serialized_name: 'properties.alwaysLog', type: { name: 'String' } }, logger_id: { client_side_validation: true, required: true, serialized_name: 'properties.loggerId', type: { name: 'String' } }, sampling: { client_side_validation: true, required: false, serialized_name: 'properties.sampling', type: { name: 'Composite', class_name: 'SamplingSettings' } }, frontend: { client_side_validation: true, required: false, serialized_name: 'properties.frontend', type: { name: 'Composite', class_name: 'PipelineDiagnosticSettings' } }, backend: { client_side_validation: true, required: false, serialized_name: 'properties.backend', type: { name: 'Composite', class_name: 'PipelineDiagnosticSettings' } }, log_client_ip: { client_side_validation: true, required: false, serialized_name: 'properties.logClientIp', type: { name: 'Boolean' } }, http_correlation_protocol: { client_side_validation: true, required: false, serialized_name: 'properties.httpCorrelationProtocol', type: { name: 'String' } }, verbosity: { client_side_validation: true, required: false, serialized_name: 'properties.verbosity', type: { name: 'String' } } } } } end |