Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.LogAnalytics.getNamespaceStorageRecalledDataSize
Explore with Pulumi AI
This data source provides details about a specific Namespace Storage Recalled Data Size resource in Oracle Cloud Infrastructure Log Analytics service.
This API gets the datasize of recalls for a given timeframe
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testNamespaceStorageRecalledDataSize = oci.LogAnalytics.getNamespaceStorageRecalledDataSize({
    namespace: namespaceStorageRecalledDataSizeNamespace,
    timeDataEnded: namespaceStorageRecalledDataSizeTimeDataEnded,
    timeDataStarted: namespaceStorageRecalledDataSizeTimeDataStarted,
});
import pulumi
import pulumi_oci as oci
test_namespace_storage_recalled_data_size = oci.LogAnalytics.get_namespace_storage_recalled_data_size(namespace=namespace_storage_recalled_data_size_namespace,
    time_data_ended=namespace_storage_recalled_data_size_time_data_ended,
    time_data_started=namespace_storage_recalled_data_size_time_data_started)
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.GetNamespaceStorageRecalledDataSize(ctx, &loganalytics.GetNamespaceStorageRecalledDataSizeArgs{
			Namespace:       namespaceStorageRecalledDataSizeNamespace,
			TimeDataEnded:   pulumi.StringRef(namespaceStorageRecalledDataSizeTimeDataEnded),
			TimeDataStarted: pulumi.StringRef(namespaceStorageRecalledDataSizeTimeDataStarted),
		}, 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 testNamespaceStorageRecalledDataSize = Oci.LogAnalytics.GetNamespaceStorageRecalledDataSize.Invoke(new()
    {
        Namespace = namespaceStorageRecalledDataSizeNamespace,
        TimeDataEnded = namespaceStorageRecalledDataSizeTimeDataEnded,
        TimeDataStarted = namespaceStorageRecalledDataSizeTimeDataStarted,
    });
});
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.GetNamespaceStorageRecalledDataSizeArgs;
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 testNamespaceStorageRecalledDataSize = LogAnalyticsFunctions.getNamespaceStorageRecalledDataSize(GetNamespaceStorageRecalledDataSizeArgs.builder()
            .namespace(namespaceStorageRecalledDataSizeNamespace)
            .timeDataEnded(namespaceStorageRecalledDataSizeTimeDataEnded)
            .timeDataStarted(namespaceStorageRecalledDataSizeTimeDataStarted)
            .build());
    }
}
variables:
  testNamespaceStorageRecalledDataSize:
    fn::invoke:
      function: oci:LogAnalytics:getNamespaceStorageRecalledDataSize
      arguments:
        namespace: ${namespaceStorageRecalledDataSizeNamespace}
        timeDataEnded: ${namespaceStorageRecalledDataSizeTimeDataEnded}
        timeDataStarted: ${namespaceStorageRecalledDataSizeTimeDataStarted}
Using getNamespaceStorageRecalledDataSize
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 getNamespaceStorageRecalledDataSize(args: GetNamespaceStorageRecalledDataSizeArgs, opts?: InvokeOptions): Promise<GetNamespaceStorageRecalledDataSizeResult>
function getNamespaceStorageRecalledDataSizeOutput(args: GetNamespaceStorageRecalledDataSizeOutputArgs, opts?: InvokeOptions): Output<GetNamespaceStorageRecalledDataSizeResult>def get_namespace_storage_recalled_data_size(namespace: Optional[str] = None,
                                             time_data_ended: Optional[str] = None,
                                             time_data_started: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetNamespaceStorageRecalledDataSizeResult
def get_namespace_storage_recalled_data_size_output(namespace: Optional[pulumi.Input[str]] = None,
                                             time_data_ended: Optional[pulumi.Input[str]] = None,
                                             time_data_started: Optional[pulumi.Input[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetNamespaceStorageRecalledDataSizeResult]func GetNamespaceStorageRecalledDataSize(ctx *Context, args *GetNamespaceStorageRecalledDataSizeArgs, opts ...InvokeOption) (*GetNamespaceStorageRecalledDataSizeResult, error)
func GetNamespaceStorageRecalledDataSizeOutput(ctx *Context, args *GetNamespaceStorageRecalledDataSizeOutputArgs, opts ...InvokeOption) GetNamespaceStorageRecalledDataSizeResultOutput> Note: This function is named GetNamespaceStorageRecalledDataSize in the Go SDK.
public static class GetNamespaceStorageRecalledDataSize 
{
    public static Task<GetNamespaceStorageRecalledDataSizeResult> InvokeAsync(GetNamespaceStorageRecalledDataSizeArgs args, InvokeOptions? opts = null)
    public static Output<GetNamespaceStorageRecalledDataSizeResult> Invoke(GetNamespaceStorageRecalledDataSizeInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNamespaceStorageRecalledDataSizeResult> getNamespaceStorageRecalledDataSize(GetNamespaceStorageRecalledDataSizeArgs args, InvokeOptions options)
public static Output<GetNamespaceStorageRecalledDataSizeResult> getNamespaceStorageRecalledDataSize(GetNamespaceStorageRecalledDataSizeArgs args, InvokeOptions options)
fn::invoke:
  function: oci:LogAnalytics/getNamespaceStorageRecalledDataSize:getNamespaceStorageRecalledDataSize
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Namespace string
- The Logging Analytics namespace used for the request.
- TimeData stringEnded 
- This is the end of the time range for recalled data
- TimeData stringStarted 
- This is the start of the time range for recalled data
- Namespace string
- The Logging Analytics namespace used for the request.
- TimeData stringEnded 
- This is the end of the time range for recalled data
- TimeData stringStarted 
- This is the start of the time range for recalled data
- namespace String
- The Logging Analytics namespace used for the request.
- timeData StringEnded 
- This is the end of the time range for recalled data
- timeData StringStarted 
- This is the start of the time range for recalled data
- namespace string
- The Logging Analytics namespace used for the request.
- timeData stringEnded 
- This is the end of the time range for recalled data
- timeData stringStarted 
- This is the start of the time range for recalled data
- namespace str
- The Logging Analytics namespace used for the request.
- time_data_ strended 
- This is the end of the time range for recalled data
- time_data_ strstarted 
- This is the start of the time range for recalled data
- namespace String
- The Logging Analytics namespace used for the request.
- timeData StringEnded 
- This is the end of the time range for recalled data
- timeData StringStarted 
- This is the start of the time range for recalled data
getNamespaceStorageRecalledDataSize Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace string
- NotRecalled stringData In Bytes 
- This is the size of the archival data not recalled yet
- RecalledData stringIn Bytes 
- This is the size of the recalled data
- TimeData stringEnded 
- This is the end of the time range of the archival data
- TimeData stringStarted 
- This is the start of the time range of the archival data
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace string
- NotRecalled stringData In Bytes 
- This is the size of the archival data not recalled yet
- RecalledData stringIn Bytes 
- This is the size of the recalled data
- TimeData stringEnded 
- This is the end of the time range of the archival data
- TimeData stringStarted 
- This is the start of the time range of the archival data
- id String
- The provider-assigned unique ID for this managed resource.
- namespace String
- notRecalled StringData In Bytes 
- This is the size of the archival data not recalled yet
- recalledData StringIn Bytes 
- This is the size of the recalled data
- timeData StringEnded 
- This is the end of the time range of the archival data
- timeData StringStarted 
- This is the start of the time range of the archival data
- id string
- The provider-assigned unique ID for this managed resource.
- namespace string
- notRecalled stringData In Bytes 
- This is the size of the archival data not recalled yet
- recalledData stringIn Bytes 
- This is the size of the recalled data
- timeData stringEnded 
- This is the end of the time range of the archival data
- timeData stringStarted 
- This is the start of the time range of the archival data
- id str
- The provider-assigned unique ID for this managed resource.
- namespace str
- not_recalled_ strdata_ in_ bytes 
- This is the size of the archival data not recalled yet
- recalled_data_ strin_ bytes 
- This is the size of the recalled data
- time_data_ strended 
- This is the end of the time range of the archival data
- time_data_ strstarted 
- This is the start of the time range of the archival data
- id String
- The provider-assigned unique ID for this managed resource.
- namespace String
- notRecalled StringData In Bytes 
- This is the size of the archival data not recalled yet
- recalledData StringIn Bytes 
- This is the size of the recalled data
- timeData StringEnded 
- This is the end of the time range of the archival data
- timeData StringStarted 
- This is the start of the time range of the archival data
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.