Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 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[_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]
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 dictionary
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.
- Display
Text 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.
Namespace Properties Metadata Filter> - 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.
- Display
Text 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.
Namespace Properties Metadata Filter - 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.
- display
Text 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.
Namespace Properties Metadata Filter> - 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.
- display
Text 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.
Namespace Properties Metadata Filter[] - 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.
Get Namespace Properties Metadata Filter] - 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.
- display
Text 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.
- 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
- Property
Metadata 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.
- Display
Text string - Filters
List<Get
Namespace Properties Metadata Filter> - Level string
- Name string
- The property name.
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace string
- Property
Metadata []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.
- Display
Text string - Filters
[]Get
Namespace Properties Metadata Filter - Level string
- Name string
- The property name.
- id String
- The provider-assigned unique ID for this managed resource.
- namespace String
- property
Metadata 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.
- display
Text String - filters
List<Get
Namespace Properties Metadata Filter> - level String
- name String
- The property name.
- id string
- The provider-assigned unique ID for this managed resource.
- namespace string
- property
Metadata 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.
- display
Text string - filters
Get
Namespace 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[loganalytics.summary_ collections Get 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[loganalytics.
Get Namespace Properties Metadata Filter] - level str
- name str
- The property name.
- id String
- The provider-assigned unique ID for this managed resource.
- namespace String
- property
Metadata 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.
- display
Text String - filters List<Property Map>
- level String
- name String
- The property name.
Supporting Types
GetNamespacePropertiesMetadataFilter
GetNamespacePropertiesMetadataPropertyMetadataSummaryCollection
- Items
This property is required. List<GetNamespace Properties Metadata Property Metadata Summary Collection Item> - An array of properties along with their metadata summary.
- Items
This property is required. []GetNamespace Properties Metadata Property Metadata Summary Collection Item - An array of properties along with their metadata summary.
- items
This property is required. List<GetNamespace Properties Metadata Property Metadata Summary Collection Item> - An array of properties along with their metadata summary.
- items
This property is required. GetNamespace Properties Metadata Property Metadata Summary Collection Item[] - An array of properties along with their metadata summary.
- items
This property is required. Sequence[loganalytics.Get Namespace Properties Metadata Property Metadata Summary Collection Item] - 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
- Default
Value This property is required. string - The default property value.
- Description
This property is required. string - The property description.
- Display
Name This property is required. string - The property display name.
- Levels
This property is required. List<GetNamespace Properties Metadata Property Metadata Summary Collection Item Level> - 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. string - The default property value.
- Description
This property is required. string - The property description.
- Display
Name This property is required. string - The property display name.
- Levels
This property is required. []GetNamespace Properties Metadata Property Metadata Summary Collection Item Level - 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. String - The default property value.
- description
This property is required. String - The property description.
- display
Name This property is required. String - The property display name.
- levels
This property is required. List<GetNamespace Properties Metadata Property Metadata Summary Collection Item Level> - 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. string - The default property value.
- description
This property is required. string - The property description.
- display
Name This property is required. string - The property display name.
- levels
This property is required. GetNamespace Properties Metadata Property Metadata Summary Collection Item Level[] - 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.Get Namespace Properties Metadata Property Metadata Summary Collection Item Level] - A list of levels at which the property could be defined.
- name
This property is required. str - The property name used for filtering.
- default
Value This property is required. String - The default property value.
- description
This property is required. String - The property description.
- display
Name 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.