Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.LogAnalytics.getNamespaceStorageRecallCount
Explore with Pulumi AI
This data source provides details about a specific Namespace Storage Recall Count resource in Oracle Cloud Infrastructure Log Analytics service.
This API gets the number of recalls made and the maximum recalls that can be made
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testNamespaceStorageRecallCount = oci.LogAnalytics.getNamespaceStorageRecallCount({
    namespace: namespaceStorageRecallCountNamespace,
});
import pulumi
import pulumi_oci as oci
test_namespace_storage_recall_count = oci.LogAnalytics.get_namespace_storage_recall_count(namespace=namespace_storage_recall_count_namespace)
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.GetNamespaceStorageRecallCount(ctx, &loganalytics.GetNamespaceStorageRecallCountArgs{
			Namespace: namespaceStorageRecallCountNamespace,
		}, 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 testNamespaceStorageRecallCount = Oci.LogAnalytics.GetNamespaceStorageRecallCount.Invoke(new()
    {
        Namespace = namespaceStorageRecallCountNamespace,
    });
});
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.GetNamespaceStorageRecallCountArgs;
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 testNamespaceStorageRecallCount = LogAnalyticsFunctions.getNamespaceStorageRecallCount(GetNamespaceStorageRecallCountArgs.builder()
            .namespace(namespaceStorageRecallCountNamespace)
            .build());
    }
}
variables:
  testNamespaceStorageRecallCount:
    fn::invoke:
      function: oci:LogAnalytics:getNamespaceStorageRecallCount
      arguments:
        namespace: ${namespaceStorageRecallCountNamespace}
Using getNamespaceStorageRecallCount
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 getNamespaceStorageRecallCount(args: GetNamespaceStorageRecallCountArgs, opts?: InvokeOptions): Promise<GetNamespaceStorageRecallCountResult>
function getNamespaceStorageRecallCountOutput(args: GetNamespaceStorageRecallCountOutputArgs, opts?: InvokeOptions): Output<GetNamespaceStorageRecallCountResult>def get_namespace_storage_recall_count(namespace: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetNamespaceStorageRecallCountResult
def get_namespace_storage_recall_count_output(namespace: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetNamespaceStorageRecallCountResult]func GetNamespaceStorageRecallCount(ctx *Context, args *GetNamespaceStorageRecallCountArgs, opts ...InvokeOption) (*GetNamespaceStorageRecallCountResult, error)
func GetNamespaceStorageRecallCountOutput(ctx *Context, args *GetNamespaceStorageRecallCountOutputArgs, opts ...InvokeOption) GetNamespaceStorageRecallCountResultOutput> Note: This function is named GetNamespaceStorageRecallCount in the Go SDK.
public static class GetNamespaceStorageRecallCount 
{
    public static Task<GetNamespaceStorageRecallCountResult> InvokeAsync(GetNamespaceStorageRecallCountArgs args, InvokeOptions? opts = null)
    public static Output<GetNamespaceStorageRecallCountResult> Invoke(GetNamespaceStorageRecallCountInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNamespaceStorageRecallCountResult> getNamespaceStorageRecallCount(GetNamespaceStorageRecallCountArgs args, InvokeOptions options)
public static Output<GetNamespaceStorageRecallCountResult> getNamespaceStorageRecallCount(GetNamespaceStorageRecallCountArgs args, InvokeOptions options)
fn::invoke:
  function: oci:LogAnalytics/getNamespaceStorageRecallCount:getNamespaceStorageRecallCount
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Namespace string
- The Logging Analytics namespace used for the request.
- Namespace string
- The Logging Analytics namespace used for the request.
- namespace String
- The Logging Analytics namespace used for the request.
- namespace string
- The Logging Analytics namespace used for the request.
- namespace str
- The Logging Analytics namespace used for the request.
- namespace String
- The Logging Analytics namespace used for the request.
getNamespaceStorageRecallCount Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace string
- RecallCount int
- This is the total number of recalls made so far
- RecallFailed int
- This is the number of recalls that failed
- RecallLimit int
- This is the maximum number of recalls (including successful and pending recalls) allowed
- RecallPending int
- This is the number of recalls in pending state
- RecallSucceeded int
- This is the number of recalls that succeeded
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace string
- RecallCount int
- This is the total number of recalls made so far
- RecallFailed int
- This is the number of recalls that failed
- RecallLimit int
- This is the maximum number of recalls (including successful and pending recalls) allowed
- RecallPending int
- This is the number of recalls in pending state
- RecallSucceeded int
- This is the number of recalls that succeeded
- id String
- The provider-assigned unique ID for this managed resource.
- namespace String
- recallCount Integer
- This is the total number of recalls made so far
- recallFailed Integer
- This is the number of recalls that failed
- recallLimit Integer
- This is the maximum number of recalls (including successful and pending recalls) allowed
- recallPending Integer
- This is the number of recalls in pending state
- recallSucceeded Integer
- This is the number of recalls that succeeded
- id string
- The provider-assigned unique ID for this managed resource.
- namespace string
- recallCount number
- This is the total number of recalls made so far
- recallFailed number
- This is the number of recalls that failed
- recallLimit number
- This is the maximum number of recalls (including successful and pending recalls) allowed
- recallPending number
- This is the number of recalls in pending state
- recallSucceeded number
- This is the number of recalls that succeeded
- id str
- The provider-assigned unique ID for this managed resource.
- namespace str
- recall_count int
- This is the total number of recalls made so far
- recall_failed int
- This is the number of recalls that failed
- recall_limit int
- This is the maximum number of recalls (including successful and pending recalls) allowed
- recall_pending int
- This is the number of recalls in pending state
- recall_succeeded int
- This is the number of recalls that succeeded
- id String
- The provider-assigned unique ID for this managed resource.
- namespace String
- recallCount Number
- This is the total number of recalls made so far
- recallFailed Number
- This is the number of recalls that failed
- recallLimit Number
- This is the maximum number of recalls (including successful and pending recalls) allowed
- recallPending Number
- This is the number of recalls in pending state
- recallSucceeded Number
- This is the number of recalls that succeeded
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.