akeyless.GatewayLogForwardingDatadog
Explore with Pulumi AI
Log Forwarding config for datadog
Create GatewayLogForwardingDatadog Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GatewayLogForwardingDatadog(name: string, args?: GatewayLogForwardingDatadogArgs, opts?: CustomResourceOptions);
@overload
def GatewayLogForwardingDatadog(resource_name: str,
args: Optional[GatewayLogForwardingDatadogArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def GatewayLogForwardingDatadog(resource_name: str,
opts: Optional[ResourceOptions] = None,
api_key: Optional[str] = None,
enable: Optional[str] = None,
gateway_log_forwarding_datadog_id: Optional[str] = None,
host: Optional[str] = None,
log_service: Optional[str] = None,
log_source: Optional[str] = None,
log_tags: Optional[str] = None,
output_format: Optional[str] = None,
pull_interval: Optional[str] = None)
func NewGatewayLogForwardingDatadog(ctx *Context, name string, args *GatewayLogForwardingDatadogArgs, opts ...ResourceOption) (*GatewayLogForwardingDatadog, error)
public GatewayLogForwardingDatadog(string name, GatewayLogForwardingDatadogArgs? args = null, CustomResourceOptions? opts = null)
public GatewayLogForwardingDatadog(String name, GatewayLogForwardingDatadogArgs args)
public GatewayLogForwardingDatadog(String name, GatewayLogForwardingDatadogArgs args, CustomResourceOptions options)
type: akeyless:GatewayLogForwardingDatadog
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args GatewayLogForwardingDatadogArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GatewayLogForwardingDatadogArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GatewayLogForwardingDatadogArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayLogForwardingDatadogArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayLogForwardingDatadogArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var gatewayLogForwardingDatadogResource = new Akeyless.GatewayLogForwardingDatadog("gatewayLogForwardingDatadogResource", new()
{
ApiKey = "string",
Enable = "string",
GatewayLogForwardingDatadogId = "string",
Host = "string",
LogService = "string",
LogSource = "string",
LogTags = "string",
OutputFormat = "string",
PullInterval = "string",
});
example, err := akeyless.NewGatewayLogForwardingDatadog(ctx, "gatewayLogForwardingDatadogResource", &akeyless.GatewayLogForwardingDatadogArgs{
ApiKey: pulumi.String("string"),
Enable: pulumi.String("string"),
GatewayLogForwardingDatadogId: pulumi.String("string"),
Host: pulumi.String("string"),
LogService: pulumi.String("string"),
LogSource: pulumi.String("string"),
LogTags: pulumi.String("string"),
OutputFormat: pulumi.String("string"),
PullInterval: pulumi.String("string"),
})
var gatewayLogForwardingDatadogResource = new GatewayLogForwardingDatadog("gatewayLogForwardingDatadogResource", GatewayLogForwardingDatadogArgs.builder()
.apiKey("string")
.enable("string")
.gatewayLogForwardingDatadogId("string")
.host("string")
.logService("string")
.logSource("string")
.logTags("string")
.outputFormat("string")
.pullInterval("string")
.build());
gateway_log_forwarding_datadog_resource = akeyless.GatewayLogForwardingDatadog("gatewayLogForwardingDatadogResource",
api_key="string",
enable="string",
gateway_log_forwarding_datadog_id="string",
host="string",
log_service="string",
log_source="string",
log_tags="string",
output_format="string",
pull_interval="string")
const gatewayLogForwardingDatadogResource = new akeyless.GatewayLogForwardingDatadog("gatewayLogForwardingDatadogResource", {
apiKey: "string",
enable: "string",
gatewayLogForwardingDatadogId: "string",
host: "string",
logService: "string",
logSource: "string",
logTags: "string",
outputFormat: "string",
pullInterval: "string",
});
type: akeyless:GatewayLogForwardingDatadog
properties:
apiKey: string
enable: string
gatewayLogForwardingDatadogId: string
host: string
logService: string
logSource: string
logTags: string
outputFormat: string
pullInterval: string
GatewayLogForwardingDatadog Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The GatewayLogForwardingDatadog resource accepts the following input properties:
- Api
Key string - Datadog api key
- Enable string
- Enable Log Forwarding [true/false]
- Gateway
Log stringForwarding Datadog Id - The ID of this resource.
- Host string
- Datadog host
- Log
Service string - Datadog log service
- Log
Source string - Datadog log source
- string
- A comma-separated list of Datadog log tags formatted as key:value strings
- Output
Format string - Logs format [text/json]
- Pull
Interval string - Pull interval in seconds
- Api
Key string - Datadog api key
- Enable string
- Enable Log Forwarding [true/false]
- Gateway
Log stringForwarding Datadog Id - The ID of this resource.
- Host string
- Datadog host
- Log
Service string - Datadog log service
- Log
Source string - Datadog log source
- string
- A comma-separated list of Datadog log tags formatted as key:value strings
- Output
Format string - Logs format [text/json]
- Pull
Interval string - Pull interval in seconds
- api
Key String - Datadog api key
- enable String
- Enable Log Forwarding [true/false]
- gateway
Log StringForwarding Datadog Id - The ID of this resource.
- host String
- Datadog host
- log
Service String - Datadog log service
- log
Source String - Datadog log source
- String
- A comma-separated list of Datadog log tags formatted as key:value strings
- output
Format String - Logs format [text/json]
- pull
Interval String - Pull interval in seconds
- api
Key string - Datadog api key
- enable string
- Enable Log Forwarding [true/false]
- gateway
Log stringForwarding Datadog Id - The ID of this resource.
- host string
- Datadog host
- log
Service string - Datadog log service
- log
Source string - Datadog log source
- string
- A comma-separated list of Datadog log tags formatted as key:value strings
- output
Format string - Logs format [text/json]
- pull
Interval string - Pull interval in seconds
- api_
key str - Datadog api key
- enable str
- Enable Log Forwarding [true/false]
- gateway_
log_ strforwarding_ datadog_ id - The ID of this resource.
- host str
- Datadog host
- log_
service str - Datadog log service
- log_
source str - Datadog log source
- str
- A comma-separated list of Datadog log tags formatted as key:value strings
- output_
format str - Logs format [text/json]
- pull_
interval str - Pull interval in seconds
- api
Key String - Datadog api key
- enable String
- Enable Log Forwarding [true/false]
- gateway
Log StringForwarding Datadog Id - The ID of this resource.
- host String
- Datadog host
- log
Service String - Datadog log service
- log
Source String - Datadog log source
- String
- A comma-separated list of Datadog log tags formatted as key:value strings
- output
Format String - Logs format [text/json]
- pull
Interval String - Pull interval in seconds
Outputs
All input properties are implicitly available as output properties. Additionally, the GatewayLogForwardingDatadog resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing GatewayLogForwardingDatadog Resource
Get an existing GatewayLogForwardingDatadog resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: GatewayLogForwardingDatadogState, opts?: CustomResourceOptions): GatewayLogForwardingDatadog
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_key: Optional[str] = None,
enable: Optional[str] = None,
gateway_log_forwarding_datadog_id: Optional[str] = None,
host: Optional[str] = None,
log_service: Optional[str] = None,
log_source: Optional[str] = None,
log_tags: Optional[str] = None,
output_format: Optional[str] = None,
pull_interval: Optional[str] = None) -> GatewayLogForwardingDatadog
func GetGatewayLogForwardingDatadog(ctx *Context, name string, id IDInput, state *GatewayLogForwardingDatadogState, opts ...ResourceOption) (*GatewayLogForwardingDatadog, error)
public static GatewayLogForwardingDatadog Get(string name, Input<string> id, GatewayLogForwardingDatadogState? state, CustomResourceOptions? opts = null)
public static GatewayLogForwardingDatadog get(String name, Output<String> id, GatewayLogForwardingDatadogState state, CustomResourceOptions options)
resources: _: type: akeyless:GatewayLogForwardingDatadog get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Api
Key string - Datadog api key
- Enable string
- Enable Log Forwarding [true/false]
- Gateway
Log stringForwarding Datadog Id - The ID of this resource.
- Host string
- Datadog host
- Log
Service string - Datadog log service
- Log
Source string - Datadog log source
- string
- A comma-separated list of Datadog log tags formatted as key:value strings
- Output
Format string - Logs format [text/json]
- Pull
Interval string - Pull interval in seconds
- Api
Key string - Datadog api key
- Enable string
- Enable Log Forwarding [true/false]
- Gateway
Log stringForwarding Datadog Id - The ID of this resource.
- Host string
- Datadog host
- Log
Service string - Datadog log service
- Log
Source string - Datadog log source
- string
- A comma-separated list of Datadog log tags formatted as key:value strings
- Output
Format string - Logs format [text/json]
- Pull
Interval string - Pull interval in seconds
- api
Key String - Datadog api key
- enable String
- Enable Log Forwarding [true/false]
- gateway
Log StringForwarding Datadog Id - The ID of this resource.
- host String
- Datadog host
- log
Service String - Datadog log service
- log
Source String - Datadog log source
- String
- A comma-separated list of Datadog log tags formatted as key:value strings
- output
Format String - Logs format [text/json]
- pull
Interval String - Pull interval in seconds
- api
Key string - Datadog api key
- enable string
- Enable Log Forwarding [true/false]
- gateway
Log stringForwarding Datadog Id - The ID of this resource.
- host string
- Datadog host
- log
Service string - Datadog log service
- log
Source string - Datadog log source
- string
- A comma-separated list of Datadog log tags formatted as key:value strings
- output
Format string - Logs format [text/json]
- pull
Interval string - Pull interval in seconds
- api_
key str - Datadog api key
- enable str
- Enable Log Forwarding [true/false]
- gateway_
log_ strforwarding_ datadog_ id - The ID of this resource.
- host str
- Datadog host
- log_
service str - Datadog log service
- log_
source str - Datadog log source
- str
- A comma-separated list of Datadog log tags formatted as key:value strings
- output_
format str - Logs format [text/json]
- pull_
interval str - Pull interval in seconds
- api
Key String - Datadog api key
- enable String
- Enable Log Forwarding [true/false]
- gateway
Log StringForwarding Datadog Id - The ID of this resource.
- host String
- Datadog host
- log
Service String - Datadog log service
- log
Source String - Datadog log source
- String
- A comma-separated list of Datadog log tags formatted as key:value strings
- output
Format String - Logs format [text/json]
- pull
Interval String - Pull interval in seconds
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeyless
Terraform Provider.