Class: DatadogAPIClient::V2::CloudflareAccountCreateRequestAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::CloudflareAccountCreateRequestAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/cloudflare_account_create_request_attributes.rb
Overview
Attributes object for creating a Cloudflare account.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#api_key ⇒ Object
readonly
The API key (or token) for the Cloudflare account.
-
#email ⇒ Object
The email associated with the Cloudflare account.
-
#name ⇒ Object
readonly
The name of the Cloudflare account.
-
#resources ⇒ Object
An allowlist of resources to restrict pulling metrics for including
'web', 'dns', 'lb' (load balancer), 'worker'
. -
#zones ⇒ Object
An allowlist of zones to restrict pulling metrics for.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
39 40 41 |
# File 'lib/datadog_api_client/v2/models/cloudflare_account_create_request_attributes.rb', line 39 def additional_properties @additional_properties end |
#api_key ⇒ Object
The API key (or token) for the Cloudflare account.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/cloudflare_account_create_request_attributes.rb', line 25 def api_key @api_key end |
#email ⇒ Object
The email associated with the Cloudflare account. If an API key is provided (and not a token), this field is also required.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/cloudflare_account_create_request_attributes.rb', line 28 def email @email end |
#name ⇒ Object
The name of the Cloudflare account.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/cloudflare_account_create_request_attributes.rb', line 31 def name @name end |
#resources ⇒ Object
An allowlist of resources to restrict pulling metrics for including 'web', 'dns', 'lb' (load balancer), 'worker'
.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/cloudflare_account_create_request_attributes.rb', line 34 def resources @resources end |
#zones ⇒ Object
An allowlist of zones to restrict pulling metrics for.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/cloudflare_account_create_request_attributes.rb', line 37 def zones @zones end |