1. Packages
  2. Akeyless Provider
  3. API Docs
  4. GatewayLogForwardingDatadog
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community

akeyless.GatewayLogForwardingDatadog

Explore with Pulumi AI

akeyless logo
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community

    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:

    ApiKey string
    Datadog api key
    Enable string
    Enable Log Forwarding [true/false]
    GatewayLogForwardingDatadogId string
    The ID of this resource.
    Host string
    Datadog host
    LogService string
    Datadog log service
    LogSource string
    Datadog log source
    LogTags string
    A comma-separated list of Datadog log tags formatted as key:value strings
    OutputFormat string
    Logs format [text/json]
    PullInterval string
    Pull interval in seconds
    ApiKey string
    Datadog api key
    Enable string
    Enable Log Forwarding [true/false]
    GatewayLogForwardingDatadogId string
    The ID of this resource.
    Host string
    Datadog host
    LogService string
    Datadog log service
    LogSource string
    Datadog log source
    LogTags string
    A comma-separated list of Datadog log tags formatted as key:value strings
    OutputFormat string
    Logs format [text/json]
    PullInterval string
    Pull interval in seconds
    apiKey String
    Datadog api key
    enable String
    Enable Log Forwarding [true/false]
    gatewayLogForwardingDatadogId String
    The ID of this resource.
    host String
    Datadog host
    logService String
    Datadog log service
    logSource String
    Datadog log source
    logTags String
    A comma-separated list of Datadog log tags formatted as key:value strings
    outputFormat String
    Logs format [text/json]
    pullInterval String
    Pull interval in seconds
    apiKey string
    Datadog api key
    enable string
    Enable Log Forwarding [true/false]
    gatewayLogForwardingDatadogId string
    The ID of this resource.
    host string
    Datadog host
    logService string
    Datadog log service
    logSource string
    Datadog log source
    logTags string
    A comma-separated list of Datadog log tags formatted as key:value strings
    outputFormat string
    Logs format [text/json]
    pullInterval string
    Pull interval in seconds
    api_key str
    Datadog api key
    enable str
    Enable Log Forwarding [true/false]
    gateway_log_forwarding_datadog_id str
    The ID of this resource.
    host str
    Datadog host
    log_service str
    Datadog log service
    log_source str
    Datadog log source
    log_tags 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
    apiKey String
    Datadog api key
    enable String
    Enable Log Forwarding [true/false]
    gatewayLogForwardingDatadogId String
    The ID of this resource.
    host String
    Datadog host
    logService String
    Datadog log service
    logSource String
    Datadog log source
    logTags String
    A comma-separated list of Datadog log tags formatted as key:value strings
    outputFormat String
    Logs format [text/json]
    pullInterval 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.
    The following state arguments are supported:
    ApiKey string
    Datadog api key
    Enable string
    Enable Log Forwarding [true/false]
    GatewayLogForwardingDatadogId string
    The ID of this resource.
    Host string
    Datadog host
    LogService string
    Datadog log service
    LogSource string
    Datadog log source
    LogTags string
    A comma-separated list of Datadog log tags formatted as key:value strings
    OutputFormat string
    Logs format [text/json]
    PullInterval string
    Pull interval in seconds
    ApiKey string
    Datadog api key
    Enable string
    Enable Log Forwarding [true/false]
    GatewayLogForwardingDatadogId string
    The ID of this resource.
    Host string
    Datadog host
    LogService string
    Datadog log service
    LogSource string
    Datadog log source
    LogTags string
    A comma-separated list of Datadog log tags formatted as key:value strings
    OutputFormat string
    Logs format [text/json]
    PullInterval string
    Pull interval in seconds
    apiKey String
    Datadog api key
    enable String
    Enable Log Forwarding [true/false]
    gatewayLogForwardingDatadogId String
    The ID of this resource.
    host String
    Datadog host
    logService String
    Datadog log service
    logSource String
    Datadog log source
    logTags String
    A comma-separated list of Datadog log tags formatted as key:value strings
    outputFormat String
    Logs format [text/json]
    pullInterval String
    Pull interval in seconds
    apiKey string
    Datadog api key
    enable string
    Enable Log Forwarding [true/false]
    gatewayLogForwardingDatadogId string
    The ID of this resource.
    host string
    Datadog host
    logService string
    Datadog log service
    logSource string
    Datadog log source
    logTags string
    A comma-separated list of Datadog log tags formatted as key:value strings
    outputFormat string
    Logs format [text/json]
    pullInterval string
    Pull interval in seconds
    api_key str
    Datadog api key
    enable str
    Enable Log Forwarding [true/false]
    gateway_log_forwarding_datadog_id str
    The ID of this resource.
    host str
    Datadog host
    log_service str
    Datadog log service
    log_source str
    Datadog log source
    log_tags 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
    apiKey String
    Datadog api key
    enable String
    Enable Log Forwarding [true/false]
    gatewayLogForwardingDatadogId String
    The ID of this resource.
    host String
    Datadog host
    logService String
    Datadog log service
    logSource String
    Datadog log source
    logTags String
    A comma-separated list of Datadog log tags formatted as key:value strings
    outputFormat String
    Logs format [text/json]
    pullInterval 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.
    akeyless logo
    akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community