import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Namespace resource in Oracle Cloud Infrastructure Log Analytics service. * * Onboards a tenancy with Log Analytics or Offboards a tenancy from Log Analytics functionality. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNamespace = new oci.loganalytics.Namespace("test_namespace", { * compartmentId: compartmentId, * isOnboarded: isOnboarded === "true", * namespace: namespaceNamespace, * }); * ``` * * ## Import * * Namespace can be imported using the `compartmentId` and `namespace`, e.g. * * ```sh * $ pulumi import oci:LogAnalytics/namespace:Namespace test_namespace "compartmentId/{compartment_id}/namespace/{namespace}" * ``` */ export declare class Namespace extends pulumi.CustomResource { /** * Get an existing Namespace 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?: NamespaceState, opts?: pulumi.CustomResourceOptions): Namespace; /** * Returns true if the given object is an instance of Namespace. 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 Namespace; /** * The OCID of the root compartment i.e. OCID of the tenancy. */ readonly compartmentId: pulumi.Output; /** * Use `true` if tenancy is to be onboarded to logging analytics and `false` if tenancy is to be offboarded */ readonly isOnboarded: pulumi.Output; /** * The Log Analytics namespace used for the request. */ readonly namespace: pulumi.Output; /** * Create a Namespace 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: NamespaceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Namespace resources. */ export interface NamespaceState { /** * The OCID of the root compartment i.e. OCID of the tenancy. */ compartmentId?: pulumi.Input; /** * Use `true` if tenancy is to be onboarded to logging analytics and `false` if tenancy is to be offboarded */ isOnboarded?: pulumi.Input; /** * The Log Analytics namespace used for the request. */ namespace?: pulumi.Input; } /** * The set of arguments for constructing a Namespace resource. */ export interface NamespaceArgs { /** * The OCID of the root compartment i.e. OCID of the tenancy. */ compartmentId: pulumi.Input; /** * Use `true` if tenancy is to be onboarded to logging analytics and `false` if tenancy is to be offboarded */ isOnboarded: pulumi.Input; /** * The Log Analytics namespace used for the request. */ namespace: pulumi.Input; } //# sourceMappingURL=namespace.d.ts.map