Class: NgrokAPI::Models::EventTargetAzureLogsIngestion
- Inherits:
-
Object
- Object
- NgrokAPI::Models::EventTargetAzureLogsIngestion
- Defined in:
- lib/ngrokapi/models/event_target_azure_logs_ingestion.rb
Instance Attribute Summary collapse
-
#attrs ⇒ Object
readonly
Returns the value of attribute attrs.
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#client_id ⇒ Object
readonly
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
readonly
Returns the value of attribute client_secret.
-
#data_collection_rule_id ⇒ Object
readonly
Returns the value of attribute data_collection_rule_id.
-
#data_collection_stream_name ⇒ Object
readonly
Returns the value of attribute data_collection_stream_name.
-
#logs_ingestion_uri ⇒ Object
readonly
Returns the value of attribute logs_ingestion_uri.
-
#tenant_id ⇒ Object
readonly
Returns the value of attribute tenant_id.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(client: nil, attrs: {}) ⇒ EventTargetAzureLogsIngestion
constructor
A new instance of EventTargetAzureLogsIngestion.
- #to_h ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(client: nil, attrs: {}) ⇒ EventTargetAzureLogsIngestion
Returns a new instance of EventTargetAzureLogsIngestion.
17 18 19 20 21 22 23 24 25 26 |
# File 'lib/ngrokapi/models/event_target_azure_logs_ingestion.rb', line 17 def initialize(client: nil, attrs: {}) @client = client @attrs = attrs @tenant_id = @attrs['tenant_id'] @client_id = @attrs['client_id'] @client_secret = @attrs['client_secret'] @logs_ingestion_uri = @attrs['logs_ingestion_uri'] @data_collection_rule_id = @attrs['data_collection_rule_id'] @data_collection_stream_name = @attrs['data_collection_stream_name'] end |
Instance Attribute Details
#attrs ⇒ Object (readonly)
Returns the value of attribute attrs.
8 9 10 |
# File 'lib/ngrokapi/models/event_target_azure_logs_ingestion.rb', line 8 def attrs @attrs end |
#client ⇒ Object (readonly)
Returns the value of attribute client.
8 9 10 |
# File 'lib/ngrokapi/models/event_target_azure_logs_ingestion.rb', line 8 def client @client end |
#client_id ⇒ Object (readonly)
Returns the value of attribute client_id.
8 9 10 |
# File 'lib/ngrokapi/models/event_target_azure_logs_ingestion.rb', line 8 def client_id @client_id end |
#client_secret ⇒ Object (readonly)
Returns the value of attribute client_secret.
8 9 10 |
# File 'lib/ngrokapi/models/event_target_azure_logs_ingestion.rb', line 8 def client_secret @client_secret end |
#data_collection_rule_id ⇒ Object (readonly)
Returns the value of attribute data_collection_rule_id.
8 9 10 |
# File 'lib/ngrokapi/models/event_target_azure_logs_ingestion.rb', line 8 def data_collection_rule_id @data_collection_rule_id end |
#data_collection_stream_name ⇒ Object (readonly)
Returns the value of attribute data_collection_stream_name.
8 9 10 |
# File 'lib/ngrokapi/models/event_target_azure_logs_ingestion.rb', line 8 def data_collection_stream_name @data_collection_stream_name end |
#logs_ingestion_uri ⇒ Object (readonly)
Returns the value of attribute logs_ingestion_uri.
8 9 10 |
# File 'lib/ngrokapi/models/event_target_azure_logs_ingestion.rb', line 8 def logs_ingestion_uri @logs_ingestion_uri end |
#tenant_id ⇒ Object (readonly)
Returns the value of attribute tenant_id.
8 9 10 |
# File 'lib/ngrokapi/models/event_target_azure_logs_ingestion.rb', line 8 def tenant_id @tenant_id end |
Instance Method Details
#==(other) ⇒ Object
28 29 30 |
# File 'lib/ngrokapi/models/event_target_azure_logs_ingestion.rb', line 28 def ==(other) @attrs == other.attrs end |
#to_h ⇒ Object
36 37 38 |
# File 'lib/ngrokapi/models/event_target_azure_logs_ingestion.rb', line 36 def to_h @attrs.to_h end |
#to_s ⇒ Object
32 33 34 |
# File 'lib/ngrokapi/models/event_target_azure_logs_ingestion.rb', line 32 def to_s @attrs.to_s end |