Viewing docs for Oracle Cloud Infrastructure v4.4.0
published on Thursday, Mar 26, 2026 by Pulumi
published on Thursday, Mar 26, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.4.0
published on Thursday, Mar 26, 2026 by Pulumi
published on Thursday, Mar 26, 2026 by Pulumi
This data source provides details about a specific Namespace Storage Archival Config resource in Oracle Cloud Infrastructure Log Analytics service.
This API gets the storage configuration of a tenancy
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testNamespaceStorageArchivalConfig = oci.LogAnalytics.getNamespaceStorageArchivalConfig({
namespace: namespaceStorageArchivalConfigNamespace,
});
import pulumi
import pulumi_oci as oci
test_namespace_storage_archival_config = oci.LogAnalytics.get_namespace_storage_archival_config(namespace=namespace_storage_archival_config_namespace)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/loganalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := loganalytics.GetNamespaceStorageArchivalConfig(ctx, &loganalytics.GetNamespaceStorageArchivalConfigArgs{
Namespace: namespaceStorageArchivalConfigNamespace,
}, 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 testNamespaceStorageArchivalConfig = Oci.LogAnalytics.GetNamespaceStorageArchivalConfig.Invoke(new()
{
Namespace = namespaceStorageArchivalConfigNamespace,
});
});
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.GetNamespaceStorageArchivalConfigArgs;
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 testNamespaceStorageArchivalConfig = LogAnalyticsFunctions.getNamespaceStorageArchivalConfig(GetNamespaceStorageArchivalConfigArgs.builder()
.namespace(namespaceStorageArchivalConfigNamespace)
.build());
}
}
variables:
testNamespaceStorageArchivalConfig:
fn::invoke:
function: oci:LogAnalytics:getNamespaceStorageArchivalConfig
arguments:
namespace: ${namespaceStorageArchivalConfigNamespace}
Using getNamespaceStorageArchivalConfig
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 getNamespaceStorageArchivalConfig(args: GetNamespaceStorageArchivalConfigArgs, opts?: InvokeOptions): Promise<GetNamespaceStorageArchivalConfigResult>
function getNamespaceStorageArchivalConfigOutput(args: GetNamespaceStorageArchivalConfigOutputArgs, opts?: InvokeOptions): Output<GetNamespaceStorageArchivalConfigResult>def get_namespace_storage_archival_config(namespace: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNamespaceStorageArchivalConfigResult
def get_namespace_storage_archival_config_output(namespace: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNamespaceStorageArchivalConfigResult]func LookupNamespaceStorageArchivalConfig(ctx *Context, args *LookupNamespaceStorageArchivalConfigArgs, opts ...InvokeOption) (*LookupNamespaceStorageArchivalConfigResult, error)
func LookupNamespaceStorageArchivalConfigOutput(ctx *Context, args *LookupNamespaceStorageArchivalConfigOutputArgs, opts ...InvokeOption) LookupNamespaceStorageArchivalConfigResultOutput> Note: This function is named LookupNamespaceStorageArchivalConfig in the Go SDK.
public static class GetNamespaceStorageArchivalConfig
{
public static Task<GetNamespaceStorageArchivalConfigResult> InvokeAsync(GetNamespaceStorageArchivalConfigArgs args, InvokeOptions? opts = null)
public static Output<GetNamespaceStorageArchivalConfigResult> Invoke(GetNamespaceStorageArchivalConfigInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNamespaceStorageArchivalConfigResult> getNamespaceStorageArchivalConfig(GetNamespaceStorageArchivalConfigArgs args, InvokeOptions options)
public static Output<GetNamespaceStorageArchivalConfigResult> getNamespaceStorageArchivalConfig(GetNamespaceStorageArchivalConfigArgs args, InvokeOptions options)
fn::invoke:
function: oci:LogAnalytics/getNamespaceStorageArchivalConfig:getNamespaceStorageArchivalConfig
arguments:
# arguments dictionaryThe following arguments are supported:
- Namespace string
- The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
- Namespace string
- The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
- namespace String
- The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
- namespace string
- The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
- namespace str
- The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
- namespace String
- The Log Analytics namespace used for the request. The namespace can be obtained by running 'oci os ns get'
getNamespaceStorageArchivalConfig Result
The following output properties are available:
- Archiving
Configurations List<GetNamespace Storage Archival Config Archiving Configuration> - This is the configuration for data archiving in object storage
- Id string
- Is
Archiving boolEnabled - This indicates if old data can be archived for a tenancy
- Namespace string
- Archiving
Configurations []GetNamespace Storage Archival Config Archiving Configuration - This is the configuration for data archiving in object storage
- Id string
- Is
Archiving boolEnabled - This indicates if old data can be archived for a tenancy
- Namespace string
- archiving
Configurations List<GetNamespace Storage Archival Config Archiving Configuration> - This is the configuration for data archiving in object storage
- id String
- is
Archiving BooleanEnabled - This indicates if old data can be archived for a tenancy
- namespace String
- archiving
Configurations GetNamespace Storage Archival Config Archiving Configuration[] - This is the configuration for data archiving in object storage
- id string
- is
Archiving booleanEnabled - This indicates if old data can be archived for a tenancy
- namespace string
- archiving_
configurations Sequence[GetNamespace Storage Archival Config Archiving Configuration] - This is the configuration for data archiving in object storage
- id str
- is_
archiving_ boolenabled - This indicates if old data can be archived for a tenancy
- namespace str
- archiving
Configurations List<Property Map> - This is the configuration for data archiving in object storage
- id String
- is
Archiving BooleanEnabled - This indicates if old data can be archived for a tenancy
- namespace String
Supporting Types
GetNamespaceStorageArchivalConfigArchivingConfiguration
- Active
Storage stringDuration - This is the duration data in active storage before data is archived, as described in https://en.wikipedia.org/wiki/ISO_8601#Durations. The largest supported unit is D, e.g. P365D (not P1Y) or P14D (not P2W).
- Archival
Storage stringDuration - This is the duration before archived data is deleted from object storage, as described in https://en.wikipedia.org/wiki/ISO_8601#Durations The largest supported unit is D, e.g. P365D (not P1Y) or P14D (not P2W).
- Time
Oldest stringActive Bucket Ended - end time of the oldest active CoreGroup
- Active
Storage stringDuration - This is the duration data in active storage before data is archived, as described in https://en.wikipedia.org/wiki/ISO_8601#Durations. The largest supported unit is D, e.g. P365D (not P1Y) or P14D (not P2W).
- Archival
Storage stringDuration - This is the duration before archived data is deleted from object storage, as described in https://en.wikipedia.org/wiki/ISO_8601#Durations The largest supported unit is D, e.g. P365D (not P1Y) or P14D (not P2W).
- Time
Oldest stringActive Bucket Ended - end time of the oldest active CoreGroup
- active
Storage StringDuration - This is the duration data in active storage before data is archived, as described in https://en.wikipedia.org/wiki/ISO_8601#Durations. The largest supported unit is D, e.g. P365D (not P1Y) or P14D (not P2W).
- archival
Storage StringDuration - This is the duration before archived data is deleted from object storage, as described in https://en.wikipedia.org/wiki/ISO_8601#Durations The largest supported unit is D, e.g. P365D (not P1Y) or P14D (not P2W).
- time
Oldest StringActive Bucket Ended - end time of the oldest active CoreGroup
- active
Storage stringDuration - This is the duration data in active storage before data is archived, as described in https://en.wikipedia.org/wiki/ISO_8601#Durations. The largest supported unit is D, e.g. P365D (not P1Y) or P14D (not P2W).
- archival
Storage stringDuration - This is the duration before archived data is deleted from object storage, as described in https://en.wikipedia.org/wiki/ISO_8601#Durations The largest supported unit is D, e.g. P365D (not P1Y) or P14D (not P2W).
- time
Oldest stringActive Bucket Ended - end time of the oldest active CoreGroup
- active_
storage_ strduration - This is the duration data in active storage before data is archived, as described in https://en.wikipedia.org/wiki/ISO_8601#Durations. The largest supported unit is D, e.g. P365D (not P1Y) or P14D (not P2W).
- archival_
storage_ strduration - This is the duration before archived data is deleted from object storage, as described in https://en.wikipedia.org/wiki/ISO_8601#Durations The largest supported unit is D, e.g. P365D (not P1Y) or P14D (not P2W).
- time_
oldest_ stractive_ bucket_ ended - end time of the oldest active CoreGroup
- active
Storage StringDuration - This is the duration data in active storage before data is archived, as described in https://en.wikipedia.org/wiki/ISO_8601#Durations. The largest supported unit is D, e.g. P365D (not P1Y) or P14D (not P2W).
- archival
Storage StringDuration - This is the duration before archived data is deleted from object storage, as described in https://en.wikipedia.org/wiki/ISO_8601#Durations The largest supported unit is D, e.g. P365D (not P1Y) or P14D (not P2W).
- time
Oldest StringActive Bucket Ended - end time of the oldest active CoreGroup
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.4.0
published on Thursday, Mar 26, 2026 by Pulumi
published on Thursday, Mar 26, 2026 by Pulumi
