Class: Azure::ApiManagement::Mgmt::V2017_03_01::Models::LoggerContract
- Inherits:
-
Resource
- Object
- Resource
- Azure::ApiManagement::Mgmt::V2017_03_01::Models::LoggerContract
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-03-01/generated/azure_mgmt_api_management/models/logger_contract.rb
Overview
Logger details.
Instance Attribute Summary collapse
-
#credentials ⇒ Hash{String => String}
string of the event hub for azureEventHub logger.
-
#description ⇒ String
Logger description.
-
#is_buffered ⇒ Boolean
publishing.
-
#logger_type ⇒ LoggerType
‘azureEventHub’, ‘applicationInsights’.
-
#sampling ⇒ LoggerSamplingContract
ApplicationInsights logger.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for LoggerContract class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#credentials ⇒ Hash{String => String}
string of the event hub for azureEventHub logger. Instrumentation key for applicationInsights logger.
25 26 27 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/logger_contract.rb', line 25 def credentials @credentials end |
#description ⇒ String
Returns Logger description.
20 21 22 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/logger_contract.rb', line 20 def description @description end |
#is_buffered ⇒ Boolean
publishing. Default is assumed to be true.
29 30 31 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/logger_contract.rb', line 29 def is_buffered @is_buffered end |
#logger_type ⇒ LoggerType
‘azureEventHub’, ‘applicationInsights’
17 18 19 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/logger_contract.rb', line 17 def logger_type @logger_type end |
#sampling ⇒ LoggerSamplingContract
ApplicationInsights logger.
33 34 35 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/logger_contract.rb', line 33 def sampling @sampling end |
Class Method Details
.mapper ⇒ Object
Mapper for LoggerContract class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/logger_contract.rb', line 40 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'LoggerContract', type: { name: 'Composite', class_name: 'LoggerContract', 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' } }, logger_type: { client_side_validation: true, required: true, serialized_name: 'properties.loggerType', type: { name: 'String' } }, description: { client_side_validation: true, required: false, serialized_name: 'properties.description', constraints: { MaxLength: 256 }, type: { name: 'String' } }, credentials: { client_side_validation: true, required: true, serialized_name: 'properties.credentials', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, is_buffered: { client_side_validation: true, required: false, serialized_name: 'properties.isBuffered', type: { name: 'Boolean' } }, sampling: { client_side_validation: true, required: false, serialized_name: 'properties.sampling', type: { name: 'Composite', class_name: 'LoggerSamplingContract' } } } } } end |