Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
cloudflare.getLogpushDatasetField
Explore with Pulumi AI
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",
});
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")
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
})
}
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",
});
});
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());
}
}
variables:
exampleLogpushDatasetField:
fn::invoke:
function: cloudflare:getLogpushDatasetField
arguments:
datasetId: gateway_dns
accountId: account_id
zoneId: zone_id
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>
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]
func GetLogpushDatasetField(ctx *Context, args *GetLogpushDatasetFieldArgs, opts ...InvokeOption) (*GetLogpushDatasetFieldResult, error)
func GetLogpushDatasetFieldOutput(ctx *Context, args *GetLogpushDatasetFieldOutputArgs, opts ...InvokeOption) GetLogpushDatasetFieldResultOutput
> 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)
}
public static CompletableFuture<GetLogpushDatasetFieldResult> getLogpushDatasetField(GetLogpushDatasetFieldArgs args, InvokeOptions options)
public static Output<GetLogpushDatasetFieldResult> getLogpushDatasetField(GetLogpushDatasetFieldArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getLogpushDatasetField:getLogpushDatasetField
arguments:
# arguments dictionary
The following arguments are supported:
- Dataset
Id string - Name of the dataset. A list of supported datasets can be found on the Developer Docs.
- Account
Id string - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- Zone
Id string - The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
- Dataset
Id string - Name of the dataset. A list of supported datasets can be found on the Developer Docs.
- Account
Id string - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- Zone
Id string - The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
- dataset
Id String - Name of the dataset. A list of supported datasets can be found on the Developer Docs.
- account
Id String - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- zone
Id String - The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
- dataset
Id string - Name of the dataset. A list of supported datasets can be found on the Developer Docs.
- account
Id string - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- zone
Id 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.
- 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.
- dataset
Id String - Name of the dataset. A list of supported datasets can be found on the Developer Docs.
- account
Id String - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- zone
Id String - The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
getLogpushDatasetField Result
The following output properties are available:
- Dataset
Id 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.
- Account
Id string - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- Zone
Id string - The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
- Dataset
Id 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.
- Account
Id string - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- Zone
Id string - The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
- dataset
Id 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.
- account
Id String - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- zone
Id String - The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
- dataset
Id 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.
- account
Id string - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- zone
Id 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.
- dataset
Id 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.
- account
Id String - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- zone
Id 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.