Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:LogAnalytics/getNamespacePropertiesMetadata:getNamespacePropertiesMetadata
arguments:
# arguments dictionary
The 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.
- Display
Text string - The property display text used for filtering. Only properties matching the specified display name or description will be returned.
- Filters
List<Get
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 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
[]Get
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 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
List<Get
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 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
Get
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 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[loganalytics.
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 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 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
- 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
List<Get
Namespace Properties Metadata Property Metadata Summary Collection Item> - An array of properties along with their metadata summary.
- Items
[]Get
Namespace Properties Metadata Property Metadata Summary Collection Item - An array of properties along with their metadata summary.
- items
List<Get
Namespace Properties Metadata Property Metadata Summary Collection Item> - An array of properties along with their metadata summary.
- items
Get
Namespace Properties Metadata Property Metadata Summary Collection Item[] - An array of properties along with their metadata summary.
- items
Sequence[loganalytics.
Get Namespace 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
- Default
Value string - The default property value.
- Description string
- The property description.
- Display
Name string - The property display name.
- Levels
List<Get
Namespace 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 string - The default property value.
- Description string
- The property description.
- Display
Name string - The property display name.
- Levels
[]Get
Namespace 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 String - The default property value.
- description String
- The property description.
- display
Name String - The property display name.
- levels
List<Get
Namespace 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 string - The default property value.
- description string
- The property description.
- display
Name string - The property display name.
- levels
Get
Namespace 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[loganalytics.
Get Namespace 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.
- default
Value String - The default property value.
- description String
- The property description.
- display
Name 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
oci
Terraform Provider.