import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Log Analytics Entity Associations Add resource in Oracle Cloud Infrastructure Log Analytics service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/logan-api-spec/latest/LogAnalyticsEntity/AddEntityAssociations * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/log_analytics * * Adds association between input source log analytics entity and one or more existing destination entities. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testLogAnalyticsEntityAssociationsAdd = new oci.loganalytics.LogAnalyticsEntityAssociationsAdd("test_log_analytics_entity_associations_add", { * associationEntities: logAnalyticsEntityAssociationsAddAssociationEntities, * logAnalyticsEntityId: testLogAnalyticsEntity.id, * namespace: logAnalyticsEntityAssociationsAddNamespace, * }); * ``` * * ## Import * * LogAnalyticsEntityAssociationsAdd can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:LogAnalytics/logAnalyticsEntityAssociationsAdd:LogAnalyticsEntityAssociationsAdd test_log_analytics_entity_associations_add "id" * ``` */ export declare class LogAnalyticsEntityAssociationsAdd extends pulumi.CustomResource { /** * Get an existing LogAnalyticsEntityAssociationsAdd 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: LogAnalyticsEntityAssociationsAddState, opts?: pulumi.CustomResourceOptions): LogAnalyticsEntityAssociationsAdd; /** * Returns true if the given object is an instance of LogAnalyticsEntityAssociationsAdd. 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 LogAnalyticsEntityAssociationsAdd; /** * Destination entities OCIDs with which associations are to be added. */ readonly associationEntities: pulumi.Output; /** * The Log analytics entity OCID. */ readonly logAnalyticsEntityId: pulumi.Output; /** * The Log Analytics namespace used for the request. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly namespace: pulumi.Output; /** * Create a LogAnalyticsEntityAssociationsAdd 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: LogAnalyticsEntityAssociationsAddArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LogAnalyticsEntityAssociationsAdd resources. */ export interface LogAnalyticsEntityAssociationsAddState { /** * Destination entities OCIDs with which associations are to be added. */ associationEntities?: pulumi.Input[] | undefined>; /** * The Log analytics entity OCID. */ logAnalyticsEntityId?: pulumi.Input; /** * The Log Analytics namespace used for the request. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ namespace?: pulumi.Input; } /** * The set of arguments for constructing a LogAnalyticsEntityAssociationsAdd resource. */ export interface LogAnalyticsEntityAssociationsAddArgs { /** * Destination entities OCIDs with which associations are to be added. */ associationEntities: pulumi.Input[]>; /** * The Log analytics entity OCID. */ logAnalyticsEntityId: pulumi.Input; /** * The Log Analytics namespace used for the request. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ namespace: pulumi.Input; } //# sourceMappingURL=logAnalyticsEntityAssociationsAdd.d.ts.map