@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.9 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Definition of generic ARM proxy resource.
*
* Uses Azure REST API version 2022-06-01.
*
* Other available API versions: 2024-03-11. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native monitor [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare class DataCollectionRuleAssociation extends pulumi.CustomResource {
/**
* Get an existing DataCollectionRuleAssociation 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): DataCollectionRuleAssociation;
/**
* Returns true if the given object is an instance of DataCollectionRuleAssociation. 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 DataCollectionRuleAssociation;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* The resource ID of the data collection endpoint that is to be associated.
*/
readonly dataCollectionEndpointId: pulumi.Output<string | undefined>;
/**
* The resource ID of the data collection rule that is to be associated.
*/
readonly dataCollectionRuleId: pulumi.Output<string | undefined>;
/**
* Description of the association.
*/
readonly description: pulumi.Output<string | undefined>;
/**
* Resource entity tag (ETag).
*/
readonly etag: pulumi.Output<string>;
/**
* Metadata about the resource
*/
readonly metadata: pulumi.Output<outputs.monitor.DataCollectionRuleAssociationResponseMetadata>;
/**
* The name of the resource.
*/
readonly name: pulumi.Output<string>;
/**
* The resource provisioning state.
*/
readonly provisioningState: pulumi.Output<string>;
/**
* Metadata pertaining to creation and last modification of the resource.
*/
readonly systemData: pulumi.Output<outputs.monitor.DataCollectionRuleAssociationProxyOnlyResourceResponseSystemData>;
/**
* The type of the resource.
*/
readonly type: pulumi.Output<string>;
/**
* Create a DataCollectionRuleAssociation 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: DataCollectionRuleAssociationArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a DataCollectionRuleAssociation resource.
*/
export interface DataCollectionRuleAssociationArgs {
/**
* The name of the association. The name is case insensitive.
*/
associationName?: pulumi.Input<string>;
/**
* The resource ID of the data collection endpoint that is to be associated.
*/
dataCollectionEndpointId?: pulumi.Input<string>;
/**
* The resource ID of the data collection rule that is to be associated.
*/
dataCollectionRuleId?: pulumi.Input<string>;
/**
* Description of the association.
*/
description?: pulumi.Input<string>;
/**
* The identifier of the resource.
*/
resourceUri: pulumi.Input<string>;
}