1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. LogAnalytics
  5. getNamespacePropertiesMetadata
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.LogAnalytics.getNamespacePropertiesMetadata

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

This data source provides the list of Namespace Properties Metadata in Oracle Cloud Infrastructure Log Analytics service.

Returns a list of properties along with their metadata.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testNamespacePropertiesMetadata = oci.LogAnalytics.getNamespacePropertiesMetadata({
    namespace: namespacePropertiesMetadataNamespace,
    constraints: namespacePropertiesMetadataConstraints,
    displayText: namespacePropertiesMetadataDisplayText,
    level: namespacePropertiesMetadataLevel,
    name: namespacePropertiesMetadataName,
});
Copy
import pulumi
import pulumi_oci as oci

test_namespace_properties_metadata = oci.LogAnalytics.get_namespace_properties_metadata(namespace=namespace_properties_metadata_namespace,
    constraints=namespace_properties_metadata_constraints,
    display_text=namespace_properties_metadata_display_text,
    level=namespace_properties_metadata_level,
    name=namespace_properties_metadata_name)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/loganalytics"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := loganalytics.GetNamespacePropertiesMetadata(ctx, &loganalytics.GetNamespacePropertiesMetadataArgs{
			Namespace:   namespacePropertiesMetadataNamespace,
			Constraints: pulumi.StringRef(namespacePropertiesMetadataConstraints),
			DisplayText: pulumi.StringRef(namespacePropertiesMetadataDisplayText),
			Level:       pulumi.StringRef(namespacePropertiesMetadataLevel),
			Name:        pulumi.StringRef(namespacePropertiesMetadataName),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testNamespacePropertiesMetadata = Oci.LogAnalytics.GetNamespacePropertiesMetadata.Invoke(new()
    {
        Namespace = namespacePropertiesMetadataNamespace,
        Constraints = namespacePropertiesMetadataConstraints,
        DisplayText = namespacePropertiesMetadataDisplayText,
        Level = namespacePropertiesMetadataLevel,
        Name = namespacePropertiesMetadataName,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.LogAnalytics.LogAnalyticsFunctions;
import com.pulumi.oci.LogAnalytics.inputs.GetNamespacePropertiesMetadataArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var testNamespacePropertiesMetadata = LogAnalyticsFunctions.getNamespacePropertiesMetadata(GetNamespacePropertiesMetadataArgs.builder()
            .namespace(namespacePropertiesMetadataNamespace)
            .constraints(namespacePropertiesMetadataConstraints)
            .displayText(namespacePropertiesMetadataDisplayText)
            .level(namespacePropertiesMetadataLevel)
            .name(namespacePropertiesMetadataName)
            .build());

    }
}
Copy
variables:
  testNamespacePropertiesMetadata:
    fn::invoke:
      function: oci:LogAnalytics:getNamespacePropertiesMetadata
      arguments:
        namespace: ${namespacePropertiesMetadataNamespace}
        constraints: ${namespacePropertiesMetadataConstraints}
        displayText: ${namespacePropertiesMetadataDisplayText}
        level: ${namespacePropertiesMetadataLevel}
        name: ${namespacePropertiesMetadataName}
Copy

Using getNamespacePropertiesMetadata

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getNamespacePropertiesMetadata(args: GetNamespacePropertiesMetadataArgs, opts?: InvokeOptions): Promise<GetNamespacePropertiesMetadataResult>
function getNamespacePropertiesMetadataOutput(args: GetNamespacePropertiesMetadataOutputArgs, opts?: InvokeOptions): Output<GetNamespacePropertiesMetadataResult>
Copy
def get_namespace_properties_metadata(constraints: Optional[str] = None,
                                      display_text: Optional[str] = None,
                                      filters: Optional[Sequence[_loganalytics.GetNamespacePropertiesMetadataFilter]] = None,
                                      level: Optional[str] = None,
                                      name: Optional[str] = None,
                                      namespace: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetNamespacePropertiesMetadataResult
def get_namespace_properties_metadata_output(constraints: Optional[pulumi.Input[str]] = None,
                                      display_text: Optional[pulumi.Input[str]] = None,
                                      filters: Optional[pulumi.Input[Sequence[pulumi.Input[_loganalytics.GetNamespacePropertiesMetadataFilterArgs]]]] = None,
                                      level: Optional[pulumi.Input[str]] = None,
                                      name: Optional[pulumi.Input[str]] = None,
                                      namespace: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetNamespacePropertiesMetadataResult]
Copy
func GetNamespacePropertiesMetadata(ctx *Context, args *GetNamespacePropertiesMetadataArgs, opts ...InvokeOption) (*GetNamespacePropertiesMetadataResult, error)
func GetNamespacePropertiesMetadataOutput(ctx *Context, args *GetNamespacePropertiesMetadataOutputArgs, opts ...InvokeOption) GetNamespacePropertiesMetadataResultOutput
Copy

> Note: This function is named GetNamespacePropertiesMetadata in the Go SDK.

public static class GetNamespacePropertiesMetadata 
{
    public static Task<GetNamespacePropertiesMetadataResult> InvokeAsync(GetNamespacePropertiesMetadataArgs args, InvokeOptions? opts = null)
    public static Output<GetNamespacePropertiesMetadataResult> Invoke(GetNamespacePropertiesMetadataInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetNamespacePropertiesMetadataResult> getNamespacePropertiesMetadata(GetNamespacePropertiesMetadataArgs args, InvokeOptions options)
public static Output<GetNamespacePropertiesMetadataResult> getNamespacePropertiesMetadata(GetNamespacePropertiesMetadataArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:LogAnalytics/getNamespacePropertiesMetadata:getNamespacePropertiesMetadata
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Namespace This property is required. string
The Logging Analytics namespace used for the request.
Constraints string
The constraints that apply to the properties at a certain level.
DisplayText string
The property display text used for filtering. Only properties matching the specified display name or description will be returned.
Filters Changes to this property will trigger replacement. List<GetNamespacePropertiesMetadataFilter>
Level string
The level for which applicable properties are to be listed.
Name string
The property name used for filtering.
Namespace This property is required. string
The Logging Analytics namespace used for the request.
Constraints string
The constraints that apply to the properties at a certain level.
DisplayText string
The property display text used for filtering. Only properties matching the specified display name or description will be returned.
Filters Changes to this property will trigger replacement. []GetNamespacePropertiesMetadataFilter
Level string
The level for which applicable properties are to be listed.
Name string
The property name used for filtering.
namespace This property is required. String
The Logging Analytics namespace used for the request.
constraints String
The constraints that apply to the properties at a certain level.
displayText String
The property display text used for filtering. Only properties matching the specified display name or description will be returned.
filters Changes to this property will trigger replacement. List<GetNamespacePropertiesMetadataFilter>
level String
The level for which applicable properties are to be listed.
name String
The property name used for filtering.
namespace This property is required. string
The Logging Analytics namespace used for the request.
constraints string
The constraints that apply to the properties at a certain level.
displayText string
The property display text used for filtering. Only properties matching the specified display name or description will be returned.
filters Changes to this property will trigger replacement. GetNamespacePropertiesMetadataFilter[]
level string
The level for which applicable properties are to be listed.
name string
The property name used for filtering.
namespace This property is required. str
The Logging Analytics namespace used for the request.
constraints str
The constraints that apply to the properties at a certain level.
display_text str
The property display text used for filtering. Only properties matching the specified display name or description will be returned.
filters Changes to this property will trigger replacement. Sequence[loganalytics.GetNamespacePropertiesMetadataFilter]
level str
The level for which applicable properties are to be listed.
name str
The property name used for filtering.
namespace This property is required. String
The Logging Analytics namespace used for the request.
constraints String
The constraints that apply to the properties at a certain level.
displayText String
The property display text used for filtering. Only properties matching the specified display name or description will be returned.
filters Changes to this property will trigger replacement. List<Property Map>
level String
The level for which applicable properties are to be listed.
name String
The property name used for filtering.

getNamespacePropertiesMetadata Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Namespace string
PropertyMetadataSummaryCollections List<GetNamespacePropertiesMetadataPropertyMetadataSummaryCollection>
The list of property_metadata_summary_collection.
Constraints string
A string representation of constraints that apply at this level. For example, a property defined at SOURCE level could further be applicable only for SOURCE_TYPE:database_sql.
DisplayText string
Filters List<GetNamespacePropertiesMetadataFilter>
Level string
Name string
The property name.
Id string
The provider-assigned unique ID for this managed resource.
Namespace string
PropertyMetadataSummaryCollections []GetNamespacePropertiesMetadataPropertyMetadataSummaryCollection
The list of property_metadata_summary_collection.
Constraints string
A string representation of constraints that apply at this level. For example, a property defined at SOURCE level could further be applicable only for SOURCE_TYPE:database_sql.
DisplayText string
Filters []GetNamespacePropertiesMetadataFilter
Level string
Name string
The property name.
id String
The provider-assigned unique ID for this managed resource.
namespace String
propertyMetadataSummaryCollections List<GetNamespacePropertiesMetadataPropertyMetadataSummaryCollection>
The list of property_metadata_summary_collection.
constraints String
A string representation of constraints that apply at this level. For example, a property defined at SOURCE level could further be applicable only for SOURCE_TYPE:database_sql.
displayText String
filters List<GetNamespacePropertiesMetadataFilter>
level String
name String
The property name.
id string
The provider-assigned unique ID for this managed resource.
namespace string
propertyMetadataSummaryCollections GetNamespacePropertiesMetadataPropertyMetadataSummaryCollection[]
The list of property_metadata_summary_collection.
constraints string
A string representation of constraints that apply at this level. For example, a property defined at SOURCE level could further be applicable only for SOURCE_TYPE:database_sql.
displayText string
filters GetNamespacePropertiesMetadataFilter[]
level string
name string
The property name.
id str
The provider-assigned unique ID for this managed resource.
namespace str
property_metadata_summary_collections Sequence[loganalytics.GetNamespacePropertiesMetadataPropertyMetadataSummaryCollection]
The list of property_metadata_summary_collection.
constraints str
A string representation of constraints that apply at this level. For example, a property defined at SOURCE level could further be applicable only for SOURCE_TYPE:database_sql.
display_text str
filters Sequence[loganalytics.GetNamespacePropertiesMetadataFilter]
level str
name str
The property name.
id String
The provider-assigned unique ID for this managed resource.
namespace String
propertyMetadataSummaryCollections List<Property Map>
The list of property_metadata_summary_collection.
constraints String
A string representation of constraints that apply at this level. For example, a property defined at SOURCE level could further be applicable only for SOURCE_TYPE:database_sql.
displayText String
filters List<Property Map>
level String
name String
The property name.

Supporting Types

GetNamespacePropertiesMetadataFilter

Name This property is required. string
The property name used for filtering.
Values This property is required. List<string>
Regex bool
Name This property is required. string
The property name used for filtering.
Values This property is required. []string
Regex bool
name This property is required. String
The property name used for filtering.
values This property is required. List<String>
regex Boolean
name This property is required. string
The property name used for filtering.
values This property is required. string[]
regex boolean
name This property is required. str
The property name used for filtering.
values This property is required. Sequence[str]
regex bool
name This property is required. String
The property name used for filtering.
values This property is required. List<String>
regex Boolean

GetNamespacePropertiesMetadataPropertyMetadataSummaryCollection

Items This property is required. List<GetNamespacePropertiesMetadataPropertyMetadataSummaryCollectionItem>
An array of properties along with their metadata summary.
Items This property is required. []GetNamespacePropertiesMetadataPropertyMetadataSummaryCollectionItem
An array of properties along with their metadata summary.
items This property is required. List<GetNamespacePropertiesMetadataPropertyMetadataSummaryCollectionItem>
An array of properties along with their metadata summary.
items This property is required. GetNamespacePropertiesMetadataPropertyMetadataSummaryCollectionItem[]
An array of properties along with their metadata summary.
items This property is required. Sequence[loganalytics.GetNamespacePropertiesMetadataPropertyMetadataSummaryCollectionItem]
An array of properties along with their metadata summary.
items This property is required. List<Property Map>
An array of properties along with their metadata summary.

GetNamespacePropertiesMetadataPropertyMetadataSummaryCollectionItem

DefaultValue This property is required. string
The default property value.
Description This property is required. string
The property description.
DisplayName This property is required. string
The property display name.
Levels This property is required. List<GetNamespacePropertiesMetadataPropertyMetadataSummaryCollectionItemLevel>
A list of levels at which the property could be defined.
Name This property is required. string
The property name used for filtering.
DefaultValue This property is required. string
The default property value.
Description This property is required. string
The property description.
DisplayName This property is required. string
The property display name.
Levels This property is required. []GetNamespacePropertiesMetadataPropertyMetadataSummaryCollectionItemLevel
A list of levels at which the property could be defined.
Name This property is required. string
The property name used for filtering.
defaultValue This property is required. String
The default property value.
description This property is required. String
The property description.
displayName This property is required. String
The property display name.
levels This property is required. List<GetNamespacePropertiesMetadataPropertyMetadataSummaryCollectionItemLevel>
A list of levels at which the property could be defined.
name This property is required. String
The property name used for filtering.
defaultValue This property is required. string
The default property value.
description This property is required. string
The property description.
displayName This property is required. string
The property display name.
levels This property is required. GetNamespacePropertiesMetadataPropertyMetadataSummaryCollectionItemLevel[]
A list of levels at which the property could be defined.
name This property is required. string
The property name used for filtering.
default_value This property is required. str
The default property value.
description This property is required. str
The property description.
display_name This property is required. str
The property display name.
levels This property is required. Sequence[loganalytics.GetNamespacePropertiesMetadataPropertyMetadataSummaryCollectionItemLevel]
A list of levels at which the property could be defined.
name This property is required. str
The property name used for filtering.
defaultValue This property is required. String
The default property value.
description This property is required. String
The property description.
displayName This property is required. String
The property display name.
levels This property is required. List<Property Map>
A list of levels at which the property could be defined.
name This property is required. String
The property name used for filtering.

GetNamespacePropertiesMetadataPropertyMetadataSummaryCollectionItemLevel

Constraints This property is required. string
The constraints that apply to the properties at a certain level.
Name This property is required. string
The property name used for filtering.
Constraints This property is required. string
The constraints that apply to the properties at a certain level.
Name This property is required. string
The property name used for filtering.
constraints This property is required. String
The constraints that apply to the properties at a certain level.
name This property is required. String
The property name used for filtering.
constraints This property is required. string
The constraints that apply to the properties at a certain level.
name This property is required. string
The property name used for filtering.
constraints This property is required. str
The constraints that apply to the properties at a certain level.
name This property is required. str
The property name used for filtering.
constraints This property is required. String
The constraints that apply to the properties at a certain level.
name This property is required. String
The property name used for filtering.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi