Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.LogAnalytics.getNamespacePropertiesMetadata
Explore with Pulumi AI
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,
});
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)
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
	})
}
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,
    });
});
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());
    }
}
variables:
  testNamespacePropertiesMetadata:
    fn::invoke:
      function: oci:LogAnalytics:getNamespacePropertiesMetadata
      arguments:
        namespace: ${namespacePropertiesMetadataNamespace}
        constraints: ${namespacePropertiesMetadataConstraints}
        displayText: ${namespacePropertiesMetadataDisplayText}
        level: ${namespacePropertiesMetadataLevel}
        name: ${namespacePropertiesMetadataName}
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>def get_namespace_properties_metadata(constraints: Optional[str] = None,
                                      display_text: Optional[str] = None,
                                      filters: Optional[Sequence[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[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]func GetNamespacePropertiesMetadata(ctx *Context, args *GetNamespacePropertiesMetadataArgs, opts ...InvokeOption) (*GetNamespacePropertiesMetadataResult, error)
func GetNamespacePropertiesMetadataOutput(ctx *Context, args *GetNamespacePropertiesMetadataOutputArgs, opts ...InvokeOption) GetNamespacePropertiesMetadataResultOutput> 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)
}public static CompletableFuture<GetNamespacePropertiesMetadataResult> getNamespacePropertiesMetadata(GetNamespacePropertiesMetadataArgs args, InvokeOptions options)
public static Output<GetNamespacePropertiesMetadataResult> getNamespacePropertiesMetadata(GetNamespacePropertiesMetadataArgs args, InvokeOptions options)
fn::invoke:
  function: oci:LogAnalytics/getNamespacePropertiesMetadata:getNamespacePropertiesMetadata
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Namespace 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
List<GetNamespace Properties Metadata Filter> 
- Level string
- The level for which applicable properties are to be listed.
- Name string
- The property name used for filtering.
- Namespace 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
[]GetNamespace Properties Metadata Filter 
- Level string
- The level for which applicable properties are to be listed.
- Name string
- The property name used for filtering.
- namespace 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
List<GetNamespace Properties Metadata Filter> 
- level String
- The level for which applicable properties are to be listed.
- name String
- The property name used for filtering.
- namespace 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
GetNamespace Properties Metadata Filter[] 
- level string
- The level for which applicable properties are to be listed.
- name string
- The property name used for filtering.
- namespace 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
Sequence[GetNamespace Properties Metadata Filter] 
- level str
- The level for which applicable properties are to be listed.
- name str
- The property name used for filtering.
- namespace 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 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
- PropertyMetadata List<GetSummary Collections Namespace Properties Metadata Property Metadata Summary Collection> 
- 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<GetNamespace Properties Metadata Filter> 
- Level string
- Name string
- The property name.
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace string
- PropertyMetadata []GetSummary Collections Namespace Properties Metadata Property Metadata Summary Collection 
- 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
[]GetNamespace Properties Metadata Filter 
- Level string
- Name string
- The property name.
- id String
- The provider-assigned unique ID for this managed resource.
- namespace String
- propertyMetadata List<GetSummary Collections Namespace Properties Metadata Property Metadata Summary Collection> 
- 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<GetNamespace Properties Metadata Filter> 
- level String
- name String
- The property name.
- id string
- The provider-assigned unique ID for this managed resource.
- namespace string
- propertyMetadata GetSummary Collections Namespace Properties Metadata Property Metadata Summary Collection[] 
- 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
GetNamespace Properties Metadata Filter[] 
- level string
- name string
- The property name.
- id str
- The provider-assigned unique ID for this managed resource.
- namespace str
- property_metadata_ Sequence[Getsummary_ collections Namespace Properties Metadata Property Metadata Summary Collection] 
- 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[GetNamespace Properties Metadata Filter] 
- level str
- name str
- The property name.
- id String
- The provider-assigned unique ID for this managed resource.
- namespace String
- propertyMetadata List<Property Map>Summary Collections 
- 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    
GetNamespacePropertiesMetadataPropertyMetadataSummaryCollection       
- Items
List<GetNamespace Properties Metadata Property Metadata Summary Collection Item> 
- An array of properties along with their metadata summary.
- Items
[]GetNamespace Properties Metadata Property Metadata Summary Collection Item 
- An array of properties along with their metadata summary.
- items
List<GetNamespace Properties Metadata Property Metadata Summary Collection Item> 
- An array of properties along with their metadata summary.
- items
GetNamespace Properties Metadata Property Metadata Summary Collection Item[] 
- An array of properties along with their metadata summary.
- items
Sequence[GetNamespace Properties Metadata Property Metadata Summary Collection Item] 
- An array of properties along with their metadata summary.
- items List<Property Map>
- An array of properties along with their metadata summary.
GetNamespacePropertiesMetadataPropertyMetadataSummaryCollectionItem        
- DefaultValue string
- The default property value.
- Description string
- The property description.
- DisplayName string
- The property display name.
- Levels
List<GetNamespace Properties Metadata Property Metadata Summary Collection Item Level> 
- A list of levels at which the property could be defined.
- Name string
- The property name used for filtering.
- DefaultValue string
- The default property value.
- Description string
- The property description.
- DisplayName string
- The property display name.
- Levels
[]GetNamespace Properties Metadata Property Metadata Summary Collection Item Level 
- A list of levels at which the property could be defined.
- Name string
- The property name used for filtering.
- defaultValue String
- The default property value.
- description String
- The property description.
- displayName String
- The property display name.
- levels
List<GetNamespace Properties Metadata Property Metadata Summary Collection Item Level> 
- A list of levels at which the property could be defined.
- name String
- The property name used for filtering.
- defaultValue string
- The default property value.
- description string
- The property description.
- displayName string
- The property display name.
- levels
GetNamespace Properties Metadata Property Metadata Summary Collection Item Level[] 
- A list of levels at which the property could be defined.
- name string
- The property name used for filtering.
- default_value str
- The default property value.
- description str
- The property description.
- display_name str
- The property display name.
- levels
Sequence[GetNamespace Properties Metadata Property Metadata Summary Collection Item Level] 
- A list of levels at which the property could be defined.
- name str
- The property name used for filtering.
- defaultValue String
- The default property value.
- description String
- The property description.
- displayName String
- The property display name.
- levels List<Property Map>
- A list of levels at which the property could be defined.
- name String
- The property name used for filtering.
GetNamespacePropertiesMetadataPropertyMetadataSummaryCollectionItemLevel         
- Constraints string
- The constraints that apply to the properties at a certain level.
- Name string
- The property name used for filtering.
- Constraints string
- The constraints that apply to the properties at a certain level.
- Name string
- The property name used for filtering.
- constraints String
- The constraints that apply to the properties at a certain level.
- name String
- The property name used for filtering.
- constraints string
- The constraints that apply to the properties at a certain level.
- name string
- The property name used for filtering.
- constraints str
- The constraints that apply to the properties at a certain level.
- name str
- The property name used for filtering.
- constraints String
- The constraints that apply to the properties at a certain level.
- name 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 ociTerraform Provider.