Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
oci.LogAnalytics.getNamespaceEffectiveProperties
Start a Neo task
Explain and create an oci.LogAnalytics.getNamespaceEffectiveProperties resource
This data source provides the list of Namespace Effective Properties in Oracle Cloud Infrastructure Log Analytics service.
Returns a list of effective properties for the specified resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testNamespaceEffectiveProperties = oci.LogAnalytics.getNamespaceEffectiveProperties({
namespace: namespaceEffectivePropertyNamespace,
agentId: testAgent.id,
entityId: testLogAnalyticsEntity.id,
isIncludePatterns: namespaceEffectivePropertyIsIncludePatterns,
name: namespaceEffectivePropertyName,
patternId: testPattern.id,
patternIdLong: namespaceEffectivePropertyPatternIdLong,
sourceName: namespaceEffectivePropertySourceName,
});
import pulumi
import pulumi_oci as oci
test_namespace_effective_properties = oci.LogAnalytics.get_namespace_effective_properties(namespace=namespace_effective_property_namespace,
agent_id=test_agent["id"],
entity_id=test_log_analytics_entity["id"],
is_include_patterns=namespace_effective_property_is_include_patterns,
name=namespace_effective_property_name,
pattern_id=test_pattern["id"],
pattern_id_long=namespace_effective_property_pattern_id_long,
source_name=namespace_effective_property_source_name)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/loganalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := loganalytics.GetNamespaceEffectiveProperties(ctx, &loganalytics.GetNamespaceEffectivePropertiesArgs{
Namespace: namespaceEffectivePropertyNamespace,
AgentId: pulumi.StringRef(testAgent.Id),
EntityId: pulumi.StringRef(testLogAnalyticsEntity.Id),
IsIncludePatterns: pulumi.BoolRef(namespaceEffectivePropertyIsIncludePatterns),
Name: pulumi.StringRef(namespaceEffectivePropertyName),
PatternId: pulumi.IntRef(testPattern.Id),
PatternIdLong: pulumi.StringRef(namespaceEffectivePropertyPatternIdLong),
SourceName: pulumi.StringRef(namespaceEffectivePropertySourceName),
}, 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 testNamespaceEffectiveProperties = Oci.LogAnalytics.GetNamespaceEffectiveProperties.Invoke(new()
{
Namespace = namespaceEffectivePropertyNamespace,
AgentId = testAgent.Id,
EntityId = testLogAnalyticsEntity.Id,
IsIncludePatterns = namespaceEffectivePropertyIsIncludePatterns,
Name = namespaceEffectivePropertyName,
PatternId = testPattern.Id,
PatternIdLong = namespaceEffectivePropertyPatternIdLong,
SourceName = namespaceEffectivePropertySourceName,
});
});
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.GetNamespaceEffectivePropertiesArgs;
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 testNamespaceEffectiveProperties = LogAnalyticsFunctions.getNamespaceEffectiveProperties(GetNamespaceEffectivePropertiesArgs.builder()
.namespace(namespaceEffectivePropertyNamespace)
.agentId(testAgent.id())
.entityId(testLogAnalyticsEntity.id())
.isIncludePatterns(namespaceEffectivePropertyIsIncludePatterns)
.name(namespaceEffectivePropertyName)
.patternId(testPattern.id())
.patternIdLong(namespaceEffectivePropertyPatternIdLong)
.sourceName(namespaceEffectivePropertySourceName)
.build());
}
}
variables:
testNamespaceEffectiveProperties:
fn::invoke:
function: oci:LogAnalytics:getNamespaceEffectiveProperties
arguments:
namespace: ${namespaceEffectivePropertyNamespace}
agentId: ${testAgent.id}
entityId: ${testLogAnalyticsEntity.id}
isIncludePatterns: ${namespaceEffectivePropertyIsIncludePatterns}
name: ${namespaceEffectivePropertyName}
patternId: ${testPattern.id}
patternIdLong: ${namespaceEffectivePropertyPatternIdLong}
sourceName: ${namespaceEffectivePropertySourceName}
Using getNamespaceEffectiveProperties
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 getNamespaceEffectiveProperties(args: GetNamespaceEffectivePropertiesArgs, opts?: InvokeOptions): Promise<GetNamespaceEffectivePropertiesResult>
function getNamespaceEffectivePropertiesOutput(args: GetNamespaceEffectivePropertiesOutputArgs, opts?: InvokeOptions): Output<GetNamespaceEffectivePropertiesResult>def get_namespace_effective_properties(agent_id: Optional[str] = None,
entity_id: Optional[str] = None,
filters: Optional[Sequence[GetNamespaceEffectivePropertiesFilter]] = None,
is_include_patterns: Optional[bool] = None,
name: Optional[str] = None,
namespace: Optional[str] = None,
pattern_id: Optional[int] = None,
pattern_id_long: Optional[str] = None,
source_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNamespaceEffectivePropertiesResult
def get_namespace_effective_properties_output(agent_id: Optional[pulumi.Input[str]] = None,
entity_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetNamespaceEffectivePropertiesFilterArgs]]]] = None,
is_include_patterns: Optional[pulumi.Input[bool]] = None,
name: Optional[pulumi.Input[str]] = None,
namespace: Optional[pulumi.Input[str]] = None,
pattern_id: Optional[pulumi.Input[int]] = None,
pattern_id_long: Optional[pulumi.Input[str]] = None,
source_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNamespaceEffectivePropertiesResult]func GetNamespaceEffectiveProperties(ctx *Context, args *GetNamespaceEffectivePropertiesArgs, opts ...InvokeOption) (*GetNamespaceEffectivePropertiesResult, error)
func GetNamespaceEffectivePropertiesOutput(ctx *Context, args *GetNamespaceEffectivePropertiesOutputArgs, opts ...InvokeOption) GetNamespaceEffectivePropertiesResultOutput> Note: This function is named GetNamespaceEffectiveProperties in the Go SDK.
public static class GetNamespaceEffectiveProperties
{
public static Task<GetNamespaceEffectivePropertiesResult> InvokeAsync(GetNamespaceEffectivePropertiesArgs args, InvokeOptions? opts = null)
public static Output<GetNamespaceEffectivePropertiesResult> Invoke(GetNamespaceEffectivePropertiesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNamespaceEffectivePropertiesResult> getNamespaceEffectiveProperties(GetNamespaceEffectivePropertiesArgs args, InvokeOptions options)
public static Output<GetNamespaceEffectivePropertiesResult> getNamespaceEffectiveProperties(GetNamespaceEffectivePropertiesArgs args, InvokeOptions options)
fn::invoke:
function: oci:LogAnalytics/getNamespaceEffectiveProperties:getNamespaceEffectiveProperties
arguments:
# arguments dictionaryThe following arguments are supported:
- Namespace string
- The Logging Analytics namespace used for the request.
- Agent
Id string - The agent ocid.
- Entity
Id string - The entity ocid.
- Filters
List<Get
Namespace Effective Properties Filter> - Is
Include boolPatterns - The include pattern flag.
- Name string
- The property name used for filtering.
- Pattern
Id int - The pattern id.
- Pattern
Id stringLong - The pattern id (long).
- Source
Name string - The source name.
- Namespace string
- The Logging Analytics namespace used for the request.
- Agent
Id string - The agent ocid.
- Entity
Id string - The entity ocid.
- Filters
[]Get
Namespace Effective Properties Filter - Is
Include boolPatterns - The include pattern flag.
- Name string
- The property name used for filtering.
- Pattern
Id int - The pattern id.
- Pattern
Id stringLong - The pattern id (long).
- Source
Name string - The source name.
- namespace String
- The Logging Analytics namespace used for the request.
- agent
Id String - The agent ocid.
- entity
Id String - The entity ocid.
- filters
List<Get
Namespace Effective Properties Filter> - is
Include BooleanPatterns - The include pattern flag.
- name String
- The property name used for filtering.
- pattern
Id Integer - The pattern id.
- pattern
Id StringLong - The pattern id (long).
- source
Name String - The source name.
- namespace string
- The Logging Analytics namespace used for the request.
- agent
Id string - The agent ocid.
- entity
Id string - The entity ocid.
- filters
Get
Namespace Effective Properties Filter[] - is
Include booleanPatterns - The include pattern flag.
- name string
- The property name used for filtering.
- pattern
Id number - The pattern id.
- pattern
Id stringLong - The pattern id (long).
- source
Name string - The source name.
- namespace str
- The Logging Analytics namespace used for the request.
- agent_
id str - The agent ocid.
- entity_
id str - The entity ocid.
- filters
Sequence[Get
Namespace Effective Properties Filter] - is_
include_ boolpatterns - The include pattern flag.
- name str
- The property name used for filtering.
- pattern_
id int - The pattern id.
- pattern_
id_ strlong - The pattern id (long).
- source_
name str - The source name.
- namespace String
- The Logging Analytics namespace used for the request.
- agent
Id String - The agent ocid.
- entity
Id String - The entity ocid.
- filters List<Property Map>
- is
Include BooleanPatterns - The include pattern flag.
- name String
- The property name used for filtering.
- pattern
Id Number - The pattern id.
- pattern
Id StringLong - The pattern id (long).
- source
Name String - The source name.
getNamespaceEffectiveProperties Result
The following output properties are available:
- Effective
Property List<GetCollections Namespace Effective Properties Effective Property Collection> - The list of effective_property_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace string
- Agent
Id string - Entity
Id string - Filters
List<Get
Namespace Effective Properties Filter> - Is
Include boolPatterns - Name string
- The property name.
- Pattern
Id int - Pattern
Id stringLong - Source
Name string
- Effective
Property []GetCollections Namespace Effective Properties Effective Property Collection - The list of effective_property_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace string
- Agent
Id string - Entity
Id string - Filters
[]Get
Namespace Effective Properties Filter - Is
Include boolPatterns - Name string
- The property name.
- Pattern
Id int - Pattern
Id stringLong - Source
Name string
- effective
Property List<GetCollections Namespace Effective Properties Effective Property Collection> - The list of effective_property_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- namespace String
- agent
Id String - entity
Id String - filters
List<Get
Namespace Effective Properties Filter> - is
Include BooleanPatterns - name String
- The property name.
- pattern
Id Integer - pattern
Id StringLong - source
Name String
- effective
Property GetCollections Namespace Effective Properties Effective Property Collection[] - The list of effective_property_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- namespace string
- agent
Id string - entity
Id string - filters
Get
Namespace Effective Properties Filter[] - is
Include booleanPatterns - name string
- The property name.
- pattern
Id number - pattern
Id stringLong - source
Name string
- effective_
property_ Sequence[Getcollections Namespace Effective Properties Effective Property Collection] - The list of effective_property_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- namespace str
- agent_
id str - entity_
id str - filters
Sequence[Get
Namespace Effective Properties Filter] - is_
include_ boolpatterns - name str
- The property name.
- pattern_
id int - pattern_
id_ strlong - source_
name str
- effective
Property List<Property Map>Collections - The list of effective_property_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- namespace String
- agent
Id String - entity
Id String - filters List<Property Map>
- is
Include BooleanPatterns - name String
- The property name.
- pattern
Id Number - pattern
Id StringLong - source
Name String
Supporting Types
GetNamespaceEffectivePropertiesEffectivePropertyCollection
- Items
List<Get
Namespace Effective Properties Effective Property Collection Item> - A list of properties and their effective values.
- Items
[]Get
Namespace Effective Properties Effective Property Collection Item - A list of properties and their effective values.
- items
List<Get
Namespace Effective Properties Effective Property Collection Item> - A list of properties and their effective values.
- items
Get
Namespace Effective Properties Effective Property Collection Item[] - A list of properties and their effective values.
- items
Sequence[Get
Namespace Effective Properties Effective Property Collection Item] - A list of properties and their effective values.
- items List<Property Map>
- A list of properties and their effective values.
GetNamespaceEffectivePropertiesEffectivePropertyCollectionItem
- Effective
Level string - The effective level of the property value.
- Name string
- The property name used for filtering.
- Patterns
List<Get
Namespace Effective Properties Effective Property Collection Item Pattern> - A list of pattern level override values for the property.
- Value string
- The effective value of the property. This is determined by considering the value set at the most effective level.
- Effective
Level string - The effective level of the property value.
- Name string
- The property name used for filtering.
- Patterns
[]Get
Namespace Effective Properties Effective Property Collection Item Pattern - A list of pattern level override values for the property.
- Value string
- The effective value of the property. This is determined by considering the value set at the most effective level.
- effective
Level String - The effective level of the property value.
- name String
- The property name used for filtering.
- patterns
List<Get
Namespace Effective Properties Effective Property Collection Item Pattern> - A list of pattern level override values for the property.
- value String
- The effective value of the property. This is determined by considering the value set at the most effective level.
- effective
Level string - The effective level of the property value.
- name string
- The property name used for filtering.
- patterns
Get
Namespace Effective Properties Effective Property Collection Item Pattern[] - A list of pattern level override values for the property.
- value string
- The effective value of the property. This is determined by considering the value set at the most effective level.
- effective_
level str - The effective level of the property value.
- name str
- The property name used for filtering.
- patterns
Sequence[Get
Namespace Effective Properties Effective Property Collection Item Pattern] - A list of pattern level override values for the property.
- value str
- The effective value of the property. This is determined by considering the value set at the most effective level.
- effective
Level String - The effective level of the property value.
- name String
- The property name used for filtering.
- patterns List<Property Map>
- A list of pattern level override values for the property.
- value String
- The effective value of the property. This is determined by considering the value set at the most effective level.
GetNamespaceEffectivePropertiesEffectivePropertyCollectionItemPattern
- Effective
Level string - The effective level of the property value.
- Id string
- The pattern id.
- Value string
- The effective value of the property. This is determined by considering the value set at the most effective level.
- Effective
Level string - The effective level of the property value.
- Id string
- The pattern id.
- Value string
- The effective value of the property. This is determined by considering the value set at the most effective level.
- effective
Level String - The effective level of the property value.
- id String
- The pattern id.
- value String
- The effective value of the property. This is determined by considering the value set at the most effective level.
- effective
Level string - The effective level of the property value.
- id string
- The pattern id.
- value string
- The effective value of the property. This is determined by considering the value set at the most effective level.
- effective_
level str - The effective level of the property value.
- id str
- The pattern id.
- value str
- The effective value of the property. This is determined by considering the value set at the most effective level.
- effective
Level String - The effective level of the property value.
- id String
- The pattern id.
- value String
- The effective value of the property. This is determined by considering the value set at the most effective level.
GetNamespaceEffectivePropertiesFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
