UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

169 lines (168 loc) 6.06 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Definition of ARM tracked top level resource. * * Uses Azure REST API version 2022-06-01. */ export declare class DataCollectionRule extends pulumi.CustomResource { /** * Get an existing DataCollectionRule resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): DataCollectionRule; /** * Returns true if the given object is an instance of DataCollectionRule. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DataCollectionRule; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * The resource ID of the data collection endpoint that this rule can be used with. */ readonly dataCollectionEndpointId: pulumi.Output<string | undefined>; /** * The specification of data flows. */ readonly dataFlows: pulumi.Output<outputs.monitor.DataFlowResponse[] | undefined>; /** * The specification of data sources. * This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint. */ readonly dataSources: pulumi.Output<outputs.monitor.DataCollectionRuleResponseDataSources | undefined>; /** * Description of the data collection rule. */ readonly description: pulumi.Output<string | undefined>; /** * The specification of destinations. */ readonly destinations: pulumi.Output<outputs.monitor.DataCollectionRuleResponseDestinations | undefined>; /** * Resource entity tag (ETag). */ readonly etag: pulumi.Output<string>; /** * Managed service identity of the resource. */ readonly identity: pulumi.Output<outputs.monitor.DataCollectionRuleResourceResponseIdentity | undefined>; /** * The immutable ID of this data collection rule. This property is READ-ONLY. */ readonly immutableId: pulumi.Output<string>; /** * The kind of the resource. */ readonly kind: pulumi.Output<string | undefined>; /** * The geo-location where the resource lives. */ readonly location: pulumi.Output<string>; /** * Metadata about the resource */ readonly metadata: pulumi.Output<outputs.monitor.DataCollectionRuleResponseMetadata>; /** * The name of the resource. */ readonly name: pulumi.Output<string>; /** * The resource provisioning state. */ readonly provisioningState: pulumi.Output<string>; /** * Declaration of custom streams used in this rule. */ readonly streamDeclarations: pulumi.Output<{ [key: string]: outputs.monitor.StreamDeclarationResponse; } | undefined>; /** * Metadata pertaining to creation and last modification of the resource. */ readonly systemData: pulumi.Output<outputs.monitor.DataCollectionRuleResourceResponseSystemData>; /** * Resource tags. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The type of the resource. */ readonly type: pulumi.Output<string>; /** * Create a DataCollectionRule resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DataCollectionRuleArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DataCollectionRule resource. */ export interface DataCollectionRuleArgs { /** * The resource ID of the data collection endpoint that this rule can be used with. */ dataCollectionEndpointId?: pulumi.Input<string>; /** * The name of the data collection rule. The name is case insensitive. */ dataCollectionRuleName?: pulumi.Input<string>; /** * The specification of data flows. */ dataFlows?: pulumi.Input<pulumi.Input<inputs.monitor.DataFlowArgs>[]>; /** * The specification of data sources. * This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint. */ dataSources?: pulumi.Input<inputs.monitor.DataCollectionRuleDataSourcesArgs>; /** * Description of the data collection rule. */ description?: pulumi.Input<string>; /** * The specification of destinations. */ destinations?: pulumi.Input<inputs.monitor.DataCollectionRuleDestinationsArgs>; /** * Managed service identity of the resource. */ identity?: pulumi.Input<inputs.monitor.DataCollectionRuleResourceIdentityArgs>; /** * The kind of the resource. */ kind?: pulumi.Input<string | enums.monitor.KnownDataCollectionRuleResourceKind>; /** * The geo-location where the resource lives. */ location?: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * Declaration of custom streams used in this rule. */ streamDeclarations?: pulumi.Input<{ [key: string]: pulumi.Input<inputs.monitor.StreamDeclarationArgs>; }>; /** * Resource tags. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; }