@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.17 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get a Dataset
*
* Uses Azure REST API version 2023-10-04-preview.
*/
export declare function getDataset(args: GetDatasetArgs, opts?: pulumi.InvokeOptions): Promise<GetDatasetResult>;
export interface GetDatasetArgs {
/**
* Name of dataset.
*/
datasetName: string;
/**
* Name of instance.
*/
instanceName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* A Dataset resource belonging to an Instance resource.
*/
export interface GetDatasetResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Detailed description of the Dataset.
*/
readonly description?: string;
/**
* Edge location of the resource.
*/
readonly extendedLocation: outputs.iotoperationsdataprocessor.ExtendedLocationResponse;
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* List of keys that can be used for joining on enrich.
*/
readonly keys?: {
[key: string]: outputs.iotoperationsdataprocessor.DatasetPropertyKeyResponse;
};
/**
* The geo-location where the resource lives
*/
readonly location: string;
/**
* The name of the resource
*/
readonly name: 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.
*/
readonly payload?: string;
/**
* The status of the last operation.
*/
readonly provisioningState: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.iotoperationsdataprocessor.SystemDataResponse;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: 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.
*/
readonly timestamp?: string;
/**
* Time to live for individual records.
*/
readonly ttl?: string;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Get a Dataset
*
* Uses Azure REST API version 2023-10-04-preview.
*/
export declare function getDatasetOutput(args: GetDatasetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDatasetResult>;
export interface GetDatasetOutputArgs {
/**
* Name of dataset.
*/
datasetName: pulumi.Input<string>;
/**
* Name of instance.
*/
instanceName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}