Class: Azure::ApiManagement::Mgmt::V2019_01_01::Models::DiagnosticContract
- Inherits:
-
Resource
- Object
- Resource
- Azure::ApiManagement::Mgmt::V2019_01_01::Models::DiagnosticContract
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-01-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.
-
#enable_http_correlation_headers ⇒ Boolean
Management Service.
-
#frontend ⇒ PipelineDiagnosticSettings
incoming/outgoing HTTP messages to the Gateway.
-
#logger_id ⇒ String
Resource Id of a target logger.
-
#sampling ⇒ SamplingSettings
Sampling settings for Diagnostic.
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-01-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-01-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb', line 31 def backend @backend end |
#enable_http_correlation_headers ⇒ Boolean
Management Service. Only applicable to Application Insights diagnostics. Default is true.
36 37 38 |
# File 'lib/2019-01-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb', line 36 def enable_http_correlation_headers @enable_http_correlation_headers end |
#frontend ⇒ PipelineDiagnosticSettings
incoming/outgoing HTTP messages to the Gateway.
27 28 29 |
# File 'lib/2019-01-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb', line 27 def frontend @frontend end |
#logger_id ⇒ String
Returns Resource Id of a target logger.
20 21 22 |
# File 'lib/2019-01-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-01-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb', line 23 def sampling @sampling end |
Class Method Details
.mapper ⇒ Object
Mapper for DiagnosticContract class as Ruby Hash. This will be used for serialization/deserialization.
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 133 |
# File 'lib/2019-01-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb', line 43 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' } }, enable_http_correlation_headers: { client_side_validation: true, required: false, serialized_name: 'properties.enableHttpCorrelationHeaders', type: { name: 'Boolean' } } } } } end |