import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Namespace Field Usage resource in Oracle Cloud Infrastructure Log Analytics service. * * Gets usage information about the field with the specified name. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNamespaceFieldUsage = oci.loganalytics.getNamespaceFieldUsage({ * fieldName: namespaceFieldUsageFieldName, * namespace: namespaceFieldUsageNamespace, * }); * ``` */ export declare function getNamespaceFieldUsage(args: GetNamespaceFieldUsageArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getNamespaceFieldUsage. */ export interface GetNamespaceFieldUsageArgs { /** * The field name. Field name can be obtained by running 'oci log-analytics field list-fields --namespace-name '. The json output 'name' parameter value contains the field name. */ fieldName: string; /** * The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get' */ namespace: string; } /** * A collection of values returned by getNamespaceFieldUsage. */ export interface GetNamespaceFieldUsageResult { /** * Parsers that depend on or use the field. */ readonly dependentParsers: outputs.LogAnalytics.GetNamespaceFieldUsageDependentParser[]; /** * Sources that depend on or use the field. */ readonly dependentSources: outputs.LogAnalytics.GetNamespaceFieldUsageDependentSource[]; readonly fieldName: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly namespace: string; } /** * This data source provides details about a specific Namespace Field Usage resource in Oracle Cloud Infrastructure Log Analytics service. * * Gets usage information about the field with the specified name. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNamespaceFieldUsage = oci.loganalytics.getNamespaceFieldUsage({ * fieldName: namespaceFieldUsageFieldName, * namespace: namespaceFieldUsageNamespace, * }); * ``` */ export declare function getNamespaceFieldUsageOutput(args: GetNamespaceFieldUsageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getNamespaceFieldUsage. */ export interface GetNamespaceFieldUsageOutputArgs { /** * The field name. Field name can be obtained by running 'oci log-analytics field list-fields --namespace-name '. The json output 'name' parameter value contains the field name. */ fieldName: pulumi.Input; /** * The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get' */ namespace: pulumi.Input; } //# sourceMappingURL=getNamespaceFieldUsage.d.ts.map