@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.66 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Definition of ARM tracked top level resource.
*
* Uses Azure REST API version 2022-06-01.
*/
export declare function getDataCollectionRule(args: GetDataCollectionRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetDataCollectionRuleResult>;
export interface GetDataCollectionRuleArgs {
/**
* The name of the data collection rule. The name is case insensitive.
*/
dataCollectionRuleName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Definition of ARM tracked top level resource.
*/
export interface GetDataCollectionRuleResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The resource ID of the data collection endpoint that this rule can be used with.
*/
readonly dataCollectionEndpointId?: string;
/**
* The specification of data flows.
*/
readonly dataFlows?: outputs.monitor.DataFlowResponse[];
/**
* 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?: outputs.monitor.DataCollectionRuleResponseDataSources;
/**
* Description of the data collection rule.
*/
readonly description?: string;
/**
* The specification of destinations.
*/
readonly destinations?: outputs.monitor.DataCollectionRuleResponseDestinations;
/**
* Resource entity tag (ETag).
*/
readonly etag: string;
/**
* Fully qualified ID of the resource.
*/
readonly id: string;
/**
* Managed service identity of the resource.
*/
readonly identity?: outputs.monitor.DataCollectionRuleResourceResponseIdentity;
/**
* The immutable ID of this data collection rule. This property is READ-ONLY.
*/
readonly immutableId: string;
/**
* The kind of the resource.
*/
readonly kind?: string;
/**
* The geo-location where the resource lives.
*/
readonly location: string;
/**
* Metadata about the resource
*/
readonly metadata: outputs.monitor.DataCollectionRuleResponseMetadata;
/**
* The name of the resource.
*/
readonly name: string;
/**
* The resource provisioning state.
*/
readonly provisioningState: string;
/**
* Declaration of custom streams used in this rule.
*/
readonly streamDeclarations?: {
[key: string]: outputs.monitor.StreamDeclarationResponse;
};
/**
* Metadata pertaining to creation and last modification of the resource.
*/
readonly systemData: outputs.monitor.DataCollectionRuleResourceResponseSystemData;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of the resource.
*/
readonly type: string;
}
/**
* Definition of ARM tracked top level resource.
*
* Uses Azure REST API version 2022-06-01.
*/
export declare function getDataCollectionRuleOutput(args: GetDataCollectionRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDataCollectionRuleResult>;
export interface GetDataCollectionRuleOutputArgs {
/**
* The name of the data collection rule. The name is case insensitive.
*/
dataCollectionRuleName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}