azure-native.iotoperationsdataprocessor.Dataset
Explore with Pulumi AI
A Dataset resource belonging to an Instance resource. Azure REST API version: 2023-10-04-preview.
Example Usage
Datasets create or update - generated by [MaximumSet] rule
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var dataset = new AzureNative.IoTOperationsDataProcessor.Dataset("dataset", new()
    {
        DatasetName = "709v7-95-5-t-52oc5--s-5-5876j45wp6mf6--n-8bh--l55-r477",
        Description = "pakdvhh",
        ExtendedLocation = new AzureNative.IoTOperationsDataProcessor.Inputs.ExtendedLocationArgs
        {
            Name = "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space",
            Type = "CustomLocation",
        },
        InstanceName = "xh--6h732-2-6-21-4513-2-597q-5412971q",
        Keys = null,
        Location = "westus",
        Payload = ".value",
        ResourceGroupName = "rgopenapi",
        Tags = null,
        Timestamp = ".timestamp",
        Ttl = "72h",
    });
});
package main
import (
	iotoperationsdataprocessor "github.com/pulumi/pulumi-azure-native-sdk/iotoperationsdataprocessor/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := iotoperationsdataprocessor.NewDataset(ctx, "dataset", &iotoperationsdataprocessor.DatasetArgs{
			DatasetName: pulumi.String("709v7-95-5-t-52oc5--s-5-5876j45wp6mf6--n-8bh--l55-r477"),
			Description: pulumi.String("pakdvhh"),
			ExtendedLocation: &iotoperationsdataprocessor.ExtendedLocationArgs{
				Name: pulumi.String("/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space"),
				Type: pulumi.String("CustomLocation"),
			},
			InstanceName:      pulumi.String("xh--6h732-2-6-21-4513-2-597q-5412971q"),
			Keys:              iotoperationsdataprocessor.DatasetPropertyKeyMap{},
			Location:          pulumi.String("westus"),
			Payload:           pulumi.String(".value"),
			ResourceGroupName: pulumi.String("rgopenapi"),
			Tags:              pulumi.StringMap{},
			Timestamp:         pulumi.String(".timestamp"),
			Ttl:               pulumi.String("72h"),
		})
		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.iotoperationsdataprocessor.Dataset;
import com.pulumi.azurenative.iotoperationsdataprocessor.DatasetArgs;
import com.pulumi.azurenative.iotoperationsdataprocessor.inputs.ExtendedLocationArgs;
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 dataset = new Dataset("dataset", DatasetArgs.builder()
            .datasetName("709v7-95-5-t-52oc5--s-5-5876j45wp6mf6--n-8bh--l55-r477")
            .description("pakdvhh")
            .extendedLocation(ExtendedLocationArgs.builder()
                .name("/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space")
                .type("CustomLocation")
                .build())
            .instanceName("xh--6h732-2-6-21-4513-2-597q-5412971q")
            .keys()
            .location("westus")
            .payload(".value")
            .resourceGroupName("rgopenapi")
            .tags()
            .timestamp(".timestamp")
            .ttl("72h")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const dataset = new azure_native.iotoperationsdataprocessor.Dataset("dataset", {
    datasetName: "709v7-95-5-t-52oc5--s-5-5876j45wp6mf6--n-8bh--l55-r477",
    description: "pakdvhh",
    extendedLocation: {
        name: "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space",
        type: "CustomLocation",
    },
    instanceName: "xh--6h732-2-6-21-4513-2-597q-5412971q",
    keys: {},
    location: "westus",
    payload: ".value",
    resourceGroupName: "rgopenapi",
    tags: {},
    timestamp: ".timestamp",
    ttl: "72h",
});
import pulumi
import pulumi_azure_native as azure_native
dataset = azure_native.iotoperationsdataprocessor.Dataset("dataset",
    dataset_name="709v7-95-5-t-52oc5--s-5-5876j45wp6mf6--n-8bh--l55-r477",
    description="pakdvhh",
    extended_location={
        "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space",
        "type": "CustomLocation",
    },
    instance_name="xh--6h732-2-6-21-4513-2-597q-5412971q",
    keys={},
    location="westus",
    payload=".value",
    resource_group_name="rgopenapi",
    tags={},
    timestamp=".timestamp",
    ttl="72h")
resources:
  dataset:
    type: azure-native:iotoperationsdataprocessor:Dataset
    properties:
      datasetName: 709v7-95-5-t-52oc5--s-5-5876j45wp6mf6--n-8bh--l55-r477
      description: pakdvhh
      extendedLocation:
        name: /subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space
        type: CustomLocation
      instanceName: xh--6h732-2-6-21-4513-2-597q-5412971q
      keys: {}
      location: westus
      payload: .value
      resourceGroupName: rgopenapi
      tags: {}
      timestamp: .timestamp
      ttl: 72h
Create Dataset Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Dataset(name: string, args: DatasetArgs, opts?: CustomResourceOptions);@overload
def Dataset(resource_name: str,
            args: DatasetArgs,
            opts: Optional[ResourceOptions] = None)
@overload
def Dataset(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            extended_location: Optional[ExtendedLocationArgs] = None,
            instance_name: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            dataset_name: Optional[str] = None,
            description: Optional[str] = None,
            keys: Optional[Mapping[str, DatasetPropertyKeyArgs]] = None,
            location: Optional[str] = None,
            payload: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            timestamp: Optional[str] = None,
            ttl: Optional[str] = None)func NewDataset(ctx *Context, name string, args DatasetArgs, opts ...ResourceOption) (*Dataset, error)public Dataset(string name, DatasetArgs args, CustomResourceOptions? opts = null)
public Dataset(String name, DatasetArgs args)
public Dataset(String name, DatasetArgs args, CustomResourceOptions options)
type: azure-native:iotoperationsdataprocessor:Dataset
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 DatasetArgs
- 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 DatasetArgs
- 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 DatasetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DatasetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DatasetArgs
- 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 azure_nativeDatasetResource = new AzureNative.IoTOperationsDataProcessor.Dataset("azure-nativeDatasetResource", new()
{
    ExtendedLocation = new AzureNative.IoTOperationsDataProcessor.Inputs.ExtendedLocationArgs
    {
        Name = "string",
        Type = "string",
    },
    InstanceName = "string",
    ResourceGroupName = "string",
    DatasetName = "string",
    Description = "string",
    Keys = 
    {
        { "string", new AzureNative.IoTOperationsDataProcessor.Inputs.DatasetPropertyKeyArgs
        {
            Path = "string",
            PrimaryKey = false,
        } },
    },
    Location = "string",
    Payload = "string",
    Tags = 
    {
        { "string", "string" },
    },
    Timestamp = "string",
    Ttl = "string",
});
example, err := iotoperationsdataprocessor.NewDataset(ctx, "azure-nativeDatasetResource", &iotoperationsdataprocessor.DatasetArgs{
	ExtendedLocation: &iotoperationsdataprocessor.ExtendedLocationArgs{
		Name: pulumi.String("string"),
		Type: pulumi.String("string"),
	},
	InstanceName:      pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	DatasetName:       pulumi.String("string"),
	Description:       pulumi.String("string"),
	Keys: iotoperationsdataprocessor.DatasetPropertyKeyMap{
		"string": &iotoperationsdataprocessor.DatasetPropertyKeyArgs{
			Path:       pulumi.String("string"),
			PrimaryKey: pulumi.Bool(false),
		},
	},
	Location: pulumi.String("string"),
	Payload:  pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Timestamp: pulumi.String("string"),
	Ttl:       pulumi.String("string"),
})
var azure_nativeDatasetResource = new Dataset("azure-nativeDatasetResource", DatasetArgs.builder()
    .extendedLocation(ExtendedLocationArgs.builder()
        .name("string")
        .type("string")
        .build())
    .instanceName("string")
    .resourceGroupName("string")
    .datasetName("string")
    .description("string")
    .keys(Map.of("string", Map.ofEntries(
        Map.entry("path", "string"),
        Map.entry("primaryKey", false)
    )))
    .location("string")
    .payload("string")
    .tags(Map.of("string", "string"))
    .timestamp("string")
    .ttl("string")
    .build());
azure_native_dataset_resource = azure_native.iotoperationsdataprocessor.Dataset("azure-nativeDatasetResource",
    extended_location={
        "name": "string",
        "type": "string",
    },
    instance_name="string",
    resource_group_name="string",
    dataset_name="string",
    description="string",
    keys={
        "string": {
            "path": "string",
            "primary_key": False,
        },
    },
    location="string",
    payload="string",
    tags={
        "string": "string",
    },
    timestamp="string",
    ttl="string")
const azure_nativeDatasetResource = new azure_native.iotoperationsdataprocessor.Dataset("azure-nativeDatasetResource", {
    extendedLocation: {
        name: "string",
        type: "string",
    },
    instanceName: "string",
    resourceGroupName: "string",
    datasetName: "string",
    description: "string",
    keys: {
        string: {
            path: "string",
            primaryKey: false,
        },
    },
    location: "string",
    payload: "string",
    tags: {
        string: "string",
    },
    timestamp: "string",
    ttl: "string",
});
type: azure-native:iotoperationsdataprocessor:Dataset
properties:
    datasetName: string
    description: string
    extendedLocation:
        name: string
        type: string
    instanceName: string
    keys:
        string:
            path: string
            primaryKey: false
    location: string
    payload: string
    resourceGroupName: string
    tags:
        string: string
    timestamp: string
    ttl: string
Dataset 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 Dataset resource accepts the following input properties:
- ExtendedLocation Pulumi.Azure Native. Io TOperations Data Processor. Inputs. Extended Location 
- Edge location of the resource.
- InstanceName string
- Name of instance.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- DatasetName string
- Name of dataset.
- Description string
- Detailed description of the Dataset.
- Keys
Dictionary<string, Pulumi.Azure Native. Io TOperations Data Processor. Inputs. Dataset Property Key Args> 
- List of keys that can be used for joining on enrich.
- Location string
- The geo-location where the resource lives
- Payload string
- Path to the payload in the message. Enrich will add only the payload to the enriched message, other fields will not be kept except for in the indexes.
- Dictionary<string, string>
- Resource tags.
- Timestamp string
- Path to an RFC3339 timestamp in the message. If no path is provided, the ingestion time of the record is used for time-based joins.
- Ttl string
- Time to live for individual records.
- ExtendedLocation ExtendedLocation Args 
- Edge location of the resource.
- InstanceName string
- Name of instance.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- DatasetName string
- Name of dataset.
- Description string
- Detailed description of the Dataset.
- Keys
map[string]DatasetProperty Key Args 
- List of keys that can be used for joining on enrich.
- Location string
- The geo-location where the resource lives
- Payload string
- Path to the payload in the message. Enrich will add only the payload to the enriched message, other fields will not be kept except for in the indexes.
- map[string]string
- Resource tags.
- Timestamp string
- Path to an RFC3339 timestamp in the message. If no path is provided, the ingestion time of the record is used for time-based joins.
- Ttl string
- Time to live for individual records.
- extendedLocation ExtendedLocation 
- Edge location of the resource.
- instanceName String
- Name of instance.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- datasetName String
- Name of dataset.
- description String
- Detailed description of the Dataset.
- keys
Map<String,DatasetProperty Key Args> 
- List of keys that can be used for joining on enrich.
- location String
- The geo-location where the resource lives
- payload String
- Path to the payload in the message. Enrich will add only the payload to the enriched message, other fields will not be kept except for in the indexes.
- Map<String,String>
- Resource tags.
- timestamp String
- Path to an RFC3339 timestamp in the message. If no path is provided, the ingestion time of the record is used for time-based joins.
- ttl String
- Time to live for individual records.
- extendedLocation ExtendedLocation 
- Edge location of the resource.
- instanceName string
- Name of instance.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- datasetName string
- Name of dataset.
- description string
- Detailed description of the Dataset.
- keys
{[key: string]: DatasetProperty Key Args} 
- List of keys that can be used for joining on enrich.
- location string
- The geo-location where the resource lives
- payload string
- Path to the payload in the message. Enrich will add only the payload to the enriched message, other fields will not be kept except for in the indexes.
- {[key: string]: string}
- Resource tags.
- timestamp string
- Path to an RFC3339 timestamp in the message. If no path is provided, the ingestion time of the record is used for time-based joins.
- ttl string
- Time to live for individual records.
- extended_location ExtendedLocation Args 
- Edge location of the resource.
- instance_name str
- Name of instance.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- dataset_name str
- Name of dataset.
- description str
- Detailed description of the Dataset.
- keys
Mapping[str, DatasetProperty Key Args] 
- List of keys that can be used for joining on enrich.
- location str
- The geo-location where the resource lives
- payload str
- Path to the payload in the message. Enrich will add only the payload to the enriched message, other fields will not be kept except for in the indexes.
- Mapping[str, str]
- Resource tags.
- timestamp str
- Path to an RFC3339 timestamp in the message. If no path is provided, the ingestion time of the record is used for time-based joins.
- ttl str
- Time to live for individual records.
- extendedLocation Property Map
- Edge location of the resource.
- instanceName String
- Name of instance.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- datasetName String
- Name of dataset.
- description String
- Detailed description of the Dataset.
- keys Map<Property Map>
- List of keys that can be used for joining on enrich.
- location String
- The geo-location where the resource lives
- payload String
- Path to the payload in the message. Enrich will add only the payload to the enriched message, other fields will not be kept except for in the indexes.
- Map<String>
- Resource tags.
- timestamp String
- Path to an RFC3339 timestamp in the message. If no path is provided, the ingestion time of the record is used for time-based joins.
- ttl String
- Time to live for individual records.
Outputs
All input properties are implicitly available as output properties. Additionally, the Dataset resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- ProvisioningState string
- The status of the last operation.
- SystemData Pulumi.Azure Native. Io TOperations Data Processor. Outputs. System Data Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- ProvisioningState string
- The status of the last operation.
- SystemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioningState String
- The status of the last operation.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioningState string
- The status of the last operation.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- provisioning_state str
- The status of the last operation.
- system_data SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioningState String
- The status of the last operation.
- systemData Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
DatasetPropertyKey, DatasetPropertyKeyArgs      
- Path string
- Path to the input value from the message.
- PrimaryKey bool
- If true the property will be used as a primary key. At most one primary key can exists.
- Path string
- Path to the input value from the message.
- PrimaryKey bool
- If true the property will be used as a primary key. At most one primary key can exists.
- path String
- Path to the input value from the message.
- primaryKey Boolean
- If true the property will be used as a primary key. At most one primary key can exists.
- path string
- Path to the input value from the message.
- primaryKey boolean
- If true the property will be used as a primary key. At most one primary key can exists.
- path str
- Path to the input value from the message.
- primary_key bool
- If true the property will be used as a primary key. At most one primary key can exists.
- path String
- Path to the input value from the message.
- primaryKey Boolean
- If true the property will be used as a primary key. At most one primary key can exists.
DatasetPropertyKeyResponse, DatasetPropertyKeyResponseArgs        
- Path string
- Path to the input value from the message.
- PrimaryKey bool
- If true the property will be used as a primary key. At most one primary key can exists.
- Path string
- Path to the input value from the message.
- PrimaryKey bool
- If true the property will be used as a primary key. At most one primary key can exists.
- path String
- Path to the input value from the message.
- primaryKey Boolean
- If true the property will be used as a primary key. At most one primary key can exists.
- path string
- Path to the input value from the message.
- primaryKey boolean
- If true the property will be used as a primary key. At most one primary key can exists.
- path str
- Path to the input value from the message.
- primary_key bool
- If true the property will be used as a primary key. At most one primary key can exists.
- path String
- Path to the input value from the message.
- primaryKey Boolean
- If true the property will be used as a primary key. At most one primary key can exists.
ExtendedLocation, ExtendedLocationArgs    
ExtendedLocationResponse, ExtendedLocationResponseArgs      
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:iotoperationsdataprocessor:Dataset IoTOperationsDataProcessor-dataset-name /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsDataProcessor/instances/{instanceName}/datasets/{datasetName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0