Class: DatadogAPIClient::V2::CloudflareAccountCreateRequestAttributes

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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_keyObject

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

#emailObject

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

#nameObject

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

#resourcesObject

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

#zonesObject

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