Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.LogAnalytics.getNamespaceStorageRecalledDataSize
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
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/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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:LogAnalytics/getNamespaceStorageRecalledDataSize:getNamespaceStorageRecalledDataSize
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Namespace string
 - The Logging Analytics namespace used for the request.
 - Time
Data stringEnded  - This is the end of the time range for recalled data
 - Time
Data stringStarted  - This is the start of the time range for recalled data
 
- Namespace string
 - The Logging Analytics namespace used for the request.
 - Time
Data stringEnded  - This is the end of the time range for recalled data
 - Time
Data stringStarted  - This is the start of the time range for recalled data
 
- namespace String
 - The Logging Analytics namespace used for the request.
 - time
Data StringEnded  - This is the end of the time range for recalled data
 - time
Data StringStarted  - This is the start of the time range for recalled data
 
- namespace string
 - The Logging Analytics namespace used for the request.
 - time
Data stringEnded  - This is the end of the time range for recalled data
 - time
Data 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.
 - time
Data StringEnded  - This is the end of the time range for recalled data
 - time
Data 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
 - Not
Recalled stringData In Bytes  - This is the size of the archival data not recalled yet
 - Recalled
Data stringIn Bytes  - This is the size of the recalled data
 - Time
Data stringEnded  - This is the end of the time range of the archival data
 - Time
Data 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
 - Not
Recalled stringData In Bytes  - This is the size of the archival data not recalled yet
 - Recalled
Data stringIn Bytes  - This is the size of the recalled data
 - Time
Data stringEnded  - This is the end of the time range of the archival data
 - Time
Data 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
 - not
Recalled StringData In Bytes  - This is the size of the archival data not recalled yet
 - recalled
Data StringIn Bytes  - This is the size of the recalled data
 - time
Data StringEnded  - This is the end of the time range of the archival data
 - time
Data 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
 - not
Recalled stringData In Bytes  - This is the size of the archival data not recalled yet
 - recalled
Data stringIn Bytes  - This is the size of the recalled data
 - time
Data stringEnded  - This is the end of the time range of the archival data
 - time
Data 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
 - not
Recalled StringData In Bytes  - This is the size of the archival data not recalled yet
 - recalled
Data StringIn Bytes  - This is the size of the recalled data
 - time
Data StringEnded  - This is the end of the time range of the archival data
 - time
Data 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. 
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi