akamai.getDatastreamDatasetFields
Use the akamai.getDatastreamDatasetFields
data source to list groups of data set fields available in the template.
Attributes reference
This data source returns these attributes:
fields
- A group of data set fields available in a template, including:dataset_group_name
- The name of the data set group.dataset_group_description
- Additional information about the data set group.dataset_fields
- A list of data set fields available within the data set group, including:dataset_field_description
- Additional information about the data set field.dataset_field_id
- Unique identifier for the field.dataset_field_json_key
- The JSON key for the field in a log line.dataset_field_name
- The name of the data set field.
Example Usage
This example returns data set fields for a default template
using System.Collections.Generic;
using Pulumi;
using Akamai = Pulumi.Akamai;
return await Deployment.RunAsync(() =>
{
var fields = Akamai.GetDatastreamDatasetFields.Invoke();
});
package main
import (
"github.com/pulumi/pulumi-akamai/sdk/v4/go/akamai"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := akamai.GetDatastreamDatasetFields(ctx, nil, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.akamai.AkamaiFunctions;
import com.pulumi.akamai.inputs.GetDatastreamDatasetFieldsArgs;
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 fields = AkamaiFunctions.getDatastreamDatasetFields();
}
}
import pulumi
import pulumi_akamai as akamai
fields = akamai.get_datastream_dataset_fields()
import * as pulumi from "@pulumi/pulumi";
import * as akamai from "@pulumi/akamai";
const fields = akamai.getDatastreamDatasetFields({});
variables:
fields:
fn::invoke:
Function: akamai:getDatastreamDatasetFields
Arguments: {}
Using getDatastreamDatasetFields
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 getDatastreamDatasetFields(args: GetDatastreamDatasetFieldsArgs, opts?: InvokeOptions): Promise<GetDatastreamDatasetFieldsResult>
function getDatastreamDatasetFieldsOutput(args: GetDatastreamDatasetFieldsOutputArgs, opts?: InvokeOptions): Output<GetDatastreamDatasetFieldsResult>
def get_datastream_dataset_fields(template_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDatastreamDatasetFieldsResult
def get_datastream_dataset_fields_output(template_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDatastreamDatasetFieldsResult]
func GetDatastreamDatasetFields(ctx *Context, args *GetDatastreamDatasetFieldsArgs, opts ...InvokeOption) (*GetDatastreamDatasetFieldsResult, error)
func GetDatastreamDatasetFieldsOutput(ctx *Context, args *GetDatastreamDatasetFieldsOutputArgs, opts ...InvokeOption) GetDatastreamDatasetFieldsResultOutput
> Note: This function is named GetDatastreamDatasetFields
in the Go SDK.
public static class GetDatastreamDatasetFields
{
public static Task<GetDatastreamDatasetFieldsResult> InvokeAsync(GetDatastreamDatasetFieldsArgs args, InvokeOptions? opts = null)
public static Output<GetDatastreamDatasetFieldsResult> Invoke(GetDatastreamDatasetFieldsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDatastreamDatasetFieldsResult> getDatastreamDatasetFields(GetDatastreamDatasetFieldsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: akamai:index/getDatastreamDatasetFields:getDatastreamDatasetFields
arguments:
# arguments dictionary
The following arguments are supported:
- Template
Name string (Optional) The name of the data set template you use in your stream configuration. Currently,
EDGE_LOGS
is the only available data set template and the default value for this argument.
- Template
Name string (Optional) The name of the data set template you use in your stream configuration. Currently,
EDGE_LOGS
is the only available data set template and the default value for this argument.
- template
Name String (Optional) The name of the data set template you use in your stream configuration. Currently,
EDGE_LOGS
is the only available data set template and the default value for this argument.
- template
Name string (Optional) The name of the data set template you use in your stream configuration. Currently,
EDGE_LOGS
is the only available data set template and the default value for this argument.
- template_
name str (Optional) The name of the data set template you use in your stream configuration. Currently,
EDGE_LOGS
is the only available data set template and the default value for this argument.
- template
Name String (Optional) The name of the data set template you use in your stream configuration. Currently,
EDGE_LOGS
is the only available data set template and the default value for this argument.
getDatastreamDatasetFields Result
The following output properties are available:
- Fields
List<Get
Datastream Dataset Fields Field> - Id string
The provider-assigned unique ID for this managed resource.
- Template
Name string
- Fields
[]Get
Datastream Dataset Fields Field - Id string
The provider-assigned unique ID for this managed resource.
- Template
Name string
- fields
List<Get
Datastream Dataset Fields Field> - id String
The provider-assigned unique ID for this managed resource.
- template
Name String
- fields
Get
Datastream Dataset Fields Field[] - id string
The provider-assigned unique ID for this managed resource.
- template
Name string
- fields
Sequence[Get
Datastream Dataset Fields Field] - id str
The provider-assigned unique ID for this managed resource.
- template_
name str
- fields List<Property Map>
- id String
The provider-assigned unique ID for this managed resource.
- template
Name String
Supporting Types
GetDatastreamDatasetFieldsField
GetDatastreamDatasetFieldsFieldDatasetField
- Dataset
Field stringDescription - Dataset
Field intId - Dataset
Field stringJson Key - Dataset
Field stringName
- Dataset
Field stringDescription - Dataset
Field intId - Dataset
Field stringJson Key - Dataset
Field stringName
- dataset
Field StringDescription - dataset
Field IntegerId - dataset
Field StringJson Key - dataset
Field StringName
- dataset
Field stringDescription - dataset
Field numberId - dataset
Field stringJson Key - dataset
Field stringName
- dataset
Field StringDescription - dataset
Field NumberId - dataset
Field StringJson Key - dataset
Field StringName
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
akamai
Terraform Provider.