ReferenceDataSetArgs

data class ReferenceDataSetArgs(val dataStringComparisonBehavior: Output<Either<String, DataStringComparisonBehavior>>? = null, val environmentName: Output<String>? = null, val keyProperties: Output<List<ReferenceDataSetKeyPropertyArgs>>? = null, val location: Output<String>? = null, val referenceDataSetName: Output<String>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ReferenceDataSetArgs>

A reference data set provides metadata about the events in an environment. Metadata in the reference data set will be joined with events as they are read from event sources. The metadata that makes up the reference data set is uploaded or modified through the Time Series Insights data plane APIs. API Version: 2020-05-15.

Example Usage

ReferenceDataSetsCreate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var referenceDataSet = new AzureNative.TimeSeriesInsights.ReferenceDataSet("referenceDataSet", new()
{
EnvironmentName = "env1",
KeyProperties = new[]
{
new AzureNative.TimeSeriesInsights.Inputs.ReferenceDataSetKeyPropertyArgs
{
Name = "DeviceId1",
Type = "String",
},
new AzureNative.TimeSeriesInsights.Inputs.ReferenceDataSetKeyPropertyArgs
{
Name = "DeviceFloor",
Type = "Double",
},
},
Location = "West US",
ReferenceDataSetName = "rds1",
ResourceGroupName = "rg1",
});
});
package main
import (
timeseriesinsights "github.com/pulumi/pulumi-azure-native-sdk/timeseriesinsights"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := timeseriesinsights.NewReferenceDataSet(ctx, "referenceDataSet", &timeseriesinsights.ReferenceDataSetArgs{
EnvironmentName: pulumi.String("env1"),
KeyProperties: []timeseriesinsights.ReferenceDataSetKeyPropertyArgs{
{
Name: pulumi.String("DeviceId1"),
Type: pulumi.String("String"),
},
{
Name: pulumi.String("DeviceFloor"),
Type: pulumi.String("Double"),
},
},
Location: pulumi.String("West US"),
ReferenceDataSetName: pulumi.String("rds1"),
ResourceGroupName: pulumi.String("rg1"),
})
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.azurenative.timeseriesinsights.ReferenceDataSet;
import com.pulumi.azurenative.timeseriesinsights.ReferenceDataSetArgs;
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) {
var referenceDataSet = new ReferenceDataSet("referenceDataSet", ReferenceDataSetArgs.builder()
.environmentName("env1")
.keyProperties(
Map.ofEntries(
Map.entry("name", "DeviceId1"),
Map.entry("type", "String")
),
Map.ofEntries(
Map.entry("name", "DeviceFloor"),
Map.entry("type", "Double")
))
.location("West US")
.referenceDataSetName("rds1")
.resourceGroupName("rg1")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:timeseriesinsights:ReferenceDataSet rds1 /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1/referenceDataSets/rds1

Constructors

Link copied to clipboard
constructor(dataStringComparisonBehavior: Output<Either<String, DataStringComparisonBehavior>>? = null, environmentName: Output<String>? = null, keyProperties: Output<List<ReferenceDataSetKeyPropertyArgs>>? = null, location: Output<String>? = null, referenceDataSetName: Output<String>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard

The reference data set key comparison behavior can be set using this property. By default, the value is 'Ordinal' - which means case sensitive key comparison will be performed while joining reference data with events or while adding new reference data. When 'OrdinalIgnoreCase' is set, case insensitive comparison will be used.

Link copied to clipboard
val environmentName: Output<String>? = null

The name of the Time Series Insights environment associated with the specified resource group.

Link copied to clipboard

The list of key properties for the reference data set.

Link copied to clipboard
val location: Output<String>? = null

The location of the resource.

Link copied to clipboard
val referenceDataSetName: Output<String>? = null

Name of the reference data set.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

Name of an Azure Resource group.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Key-value pairs of additional properties for the resource.

Functions

Link copied to clipboard
open override fun toJava(): ReferenceDataSetArgs