1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getLogpushDatasetField
Cloudflare v6.0.1 published on Wednesday, Apr 16, 2025 by Pulumi

cloudflare.getLogpushDatasetField

Explore with Pulumi AI

Cloudflare v6.0.1 published on Wednesday, Apr 16, 2025 by Pulumi

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";

const exampleLogpushDatasetField = cloudflare.getLogpushDatasetField({
    datasetId: "gateway_dns",
    accountId: "account_id",
    zoneId: "zone_id",
});
Copy
import pulumi
import pulumi_cloudflare as cloudflare

example_logpush_dataset_field = cloudflare.get_logpush_dataset_field(dataset_id="gateway_dns",
    account_id="account_id",
    zone_id="zone_id")
Copy
package main

import (
	"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudflare.GetLogpushDatasetField(ctx, &cloudflare.GetLogpushDatasetFieldArgs{
			DatasetId: "gateway_dns",
			AccountId: pulumi.StringRef("account_id"),
			ZoneId:    pulumi.StringRef("zone_id"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;

return await Deployment.RunAsync(() => 
{
    var exampleLogpushDatasetField = Cloudflare.GetLogpushDatasetField.Invoke(new()
    {
        DatasetId = "gateway_dns",
        AccountId = "account_id",
        ZoneId = "zone_id",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetLogpushDatasetFieldArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var exampleLogpushDatasetField = CloudflareFunctions.getLogpushDatasetField(GetLogpushDatasetFieldArgs.builder()
            .datasetId("gateway_dns")
            .accountId("account_id")
            .zoneId("zone_id")
            .build());

    }
}
Copy
variables:
  exampleLogpushDatasetField:
    fn::invoke:
      function: cloudflare:getLogpushDatasetField
      arguments:
        datasetId: gateway_dns
        accountId: account_id
        zoneId: zone_id
Copy

Using getLogpushDatasetField

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getLogpushDatasetField(args: GetLogpushDatasetFieldArgs, opts?: InvokeOptions): Promise<GetLogpushDatasetFieldResult>
function getLogpushDatasetFieldOutput(args: GetLogpushDatasetFieldOutputArgs, opts?: InvokeOptions): Output<GetLogpushDatasetFieldResult>
Copy
def get_logpush_dataset_field(account_id: Optional[str] = None,
                              dataset_id: Optional[str] = None,
                              zone_id: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetLogpushDatasetFieldResult
def get_logpush_dataset_field_output(account_id: Optional[pulumi.Input[str]] = None,
                              dataset_id: Optional[pulumi.Input[str]] = None,
                              zone_id: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetLogpushDatasetFieldResult]
Copy
func GetLogpushDatasetField(ctx *Context, args *GetLogpushDatasetFieldArgs, opts ...InvokeOption) (*GetLogpushDatasetFieldResult, error)
func GetLogpushDatasetFieldOutput(ctx *Context, args *GetLogpushDatasetFieldOutputArgs, opts ...InvokeOption) GetLogpushDatasetFieldResultOutput
Copy

> Note: This function is named GetLogpushDatasetField in the Go SDK.

public static class GetLogpushDatasetField 
{
    public static Task<GetLogpushDatasetFieldResult> InvokeAsync(GetLogpushDatasetFieldArgs args, InvokeOptions? opts = null)
    public static Output<GetLogpushDatasetFieldResult> Invoke(GetLogpushDatasetFieldInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetLogpushDatasetFieldResult> getLogpushDatasetField(GetLogpushDatasetFieldArgs args, InvokeOptions options)
public static Output<GetLogpushDatasetFieldResult> getLogpushDatasetField(GetLogpushDatasetFieldArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: cloudflare:index/getLogpushDatasetField:getLogpushDatasetField
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DatasetId This property is required. string
Name of the dataset. A list of supported datasets can be found on the Developer Docs.
AccountId string
The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
ZoneId string
The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
DatasetId This property is required. string
Name of the dataset. A list of supported datasets can be found on the Developer Docs.
AccountId string
The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
ZoneId string
The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
datasetId This property is required. String
Name of the dataset. A list of supported datasets can be found on the Developer Docs.
accountId String
The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
zoneId String
The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
datasetId This property is required. string
Name of the dataset. A list of supported datasets can be found on the Developer Docs.
accountId string
The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
zoneId string
The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
dataset_id This property is required. str
Name of the dataset. A list of supported datasets can be found on the Developer Docs.
account_id str
The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
zone_id str
The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
datasetId This property is required. String
Name of the dataset. A list of supported datasets can be found on the Developer Docs.
accountId String
The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
zoneId String
The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.

getLogpushDatasetField Result

The following output properties are available:

DatasetId string
Name of the dataset. A list of supported datasets can be found on the Developer Docs.
Id string
The provider-assigned unique ID for this managed resource.
AccountId string
The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
ZoneId string
The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
DatasetId string
Name of the dataset. A list of supported datasets can be found on the Developer Docs.
Id string
The provider-assigned unique ID for this managed resource.
AccountId string
The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
ZoneId string
The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
datasetId String
Name of the dataset. A list of supported datasets can be found on the Developer Docs.
id String
The provider-assigned unique ID for this managed resource.
accountId String
The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
zoneId String
The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
datasetId string
Name of the dataset. A list of supported datasets can be found on the Developer Docs.
id string
The provider-assigned unique ID for this managed resource.
accountId string
The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
zoneId string
The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
dataset_id str
Name of the dataset. A list of supported datasets can be found on the Developer Docs.
id str
The provider-assigned unique ID for this managed resource.
account_id str
The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
zone_id str
The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
datasetId String
Name of the dataset. A list of supported datasets can be found on the Developer Docs.
id String
The provider-assigned unique ID for this managed resource.
accountId String
The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
zoneId String
The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.

Package Details

Repository
Cloudflare pulumi/pulumi-cloudflare
License
Apache-2.0
Notes
This Pulumi package is based on the cloudflare Terraform Provider.
Cloudflare v6.0.1 published on Wednesday, Apr 16, 2025 by Pulumi