1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. LogAnalytics
  5. getNamespaceStorageOverlappingRecalls
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.LogAnalytics.getNamespaceStorageOverlappingRecalls

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    This data source provides the list of Namespace Storage Overlapping Recalls in Oracle Cloud Infrastructure Log Analytics service.

    This API gets the list of overlapping recalls made in the given timeframe

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testNamespaceStorageOverlappingRecalls = oci.LogAnalytics.getNamespaceStorageOverlappingRecalls({
        namespace: namespaceStorageOverlappingRecallNamespace,
        timeDataEnded: namespaceStorageOverlappingRecallTimeDataEnded,
        timeDataStarted: namespaceStorageOverlappingRecallTimeDataStarted,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_namespace_storage_overlapping_recalls = oci.LogAnalytics.get_namespace_storage_overlapping_recalls(namespace=namespace_storage_overlapping_recall_namespace,
        time_data_ended=namespace_storage_overlapping_recall_time_data_ended,
        time_data_started=namespace_storage_overlapping_recall_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.GetNamespaceStorageOverlappingRecalls(ctx, &loganalytics.GetNamespaceStorageOverlappingRecallsArgs{
    			Namespace:       namespaceStorageOverlappingRecallNamespace,
    			TimeDataEnded:   pulumi.StringRef(namespaceStorageOverlappingRecallTimeDataEnded),
    			TimeDataStarted: pulumi.StringRef(namespaceStorageOverlappingRecallTimeDataStarted),
    		}, 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 testNamespaceStorageOverlappingRecalls = Oci.LogAnalytics.GetNamespaceStorageOverlappingRecalls.Invoke(new()
        {
            Namespace = namespaceStorageOverlappingRecallNamespace,
            TimeDataEnded = namespaceStorageOverlappingRecallTimeDataEnded,
            TimeDataStarted = namespaceStorageOverlappingRecallTimeDataStarted,
        });
    
    });
    
    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.GetNamespaceStorageOverlappingRecallsArgs;
    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 testNamespaceStorageOverlappingRecalls = LogAnalyticsFunctions.getNamespaceStorageOverlappingRecalls(GetNamespaceStorageOverlappingRecallsArgs.builder()
                .namespace(namespaceStorageOverlappingRecallNamespace)
                .timeDataEnded(namespaceStorageOverlappingRecallTimeDataEnded)
                .timeDataStarted(namespaceStorageOverlappingRecallTimeDataStarted)
                .build());
    
        }
    }
    
    variables:
      testNamespaceStorageOverlappingRecalls:
        fn::invoke:
          Function: oci:LogAnalytics:getNamespaceStorageOverlappingRecalls
          Arguments:
            namespace: ${namespaceStorageOverlappingRecallNamespace}
            timeDataEnded: ${namespaceStorageOverlappingRecallTimeDataEnded}
            timeDataStarted: ${namespaceStorageOverlappingRecallTimeDataStarted}
    

    Using getNamespaceStorageOverlappingRecalls

    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 getNamespaceStorageOverlappingRecalls(args: GetNamespaceStorageOverlappingRecallsArgs, opts?: InvokeOptions): Promise<GetNamespaceStorageOverlappingRecallsResult>
    function getNamespaceStorageOverlappingRecallsOutput(args: GetNamespaceStorageOverlappingRecallsOutputArgs, opts?: InvokeOptions): Output<GetNamespaceStorageOverlappingRecallsResult>
    def get_namespace_storage_overlapping_recalls(filters: Optional[Sequence[_loganalytics.GetNamespaceStorageOverlappingRecallsFilter]] = None,
                                                  namespace: Optional[str] = None,
                                                  time_data_ended: Optional[str] = None,
                                                  time_data_started: Optional[str] = None,
                                                  opts: Optional[InvokeOptions] = None) -> GetNamespaceStorageOverlappingRecallsResult
    def get_namespace_storage_overlapping_recalls_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_loganalytics.GetNamespaceStorageOverlappingRecallsFilterArgs]]]] = None,
                                                  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[GetNamespaceStorageOverlappingRecallsResult]
    func GetNamespaceStorageOverlappingRecalls(ctx *Context, args *GetNamespaceStorageOverlappingRecallsArgs, opts ...InvokeOption) (*GetNamespaceStorageOverlappingRecallsResult, error)
    func GetNamespaceStorageOverlappingRecallsOutput(ctx *Context, args *GetNamespaceStorageOverlappingRecallsOutputArgs, opts ...InvokeOption) GetNamespaceStorageOverlappingRecallsResultOutput

    > Note: This function is named GetNamespaceStorageOverlappingRecalls in the Go SDK.

    public static class GetNamespaceStorageOverlappingRecalls 
    {
        public static Task<GetNamespaceStorageOverlappingRecallsResult> InvokeAsync(GetNamespaceStorageOverlappingRecallsArgs args, InvokeOptions? opts = null)
        public static Output<GetNamespaceStorageOverlappingRecallsResult> Invoke(GetNamespaceStorageOverlappingRecallsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNamespaceStorageOverlappingRecallsResult> getNamespaceStorageOverlappingRecalls(GetNamespaceStorageOverlappingRecallsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:LogAnalytics/getNamespaceStorageOverlappingRecalls:getNamespaceStorageOverlappingRecalls
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Namespace string
    The Logging Analytics namespace used for the request.
    Filters List<GetNamespaceStorageOverlappingRecallsFilter>
    TimeDataEnded string
    This is the end of the time range for recalled data
    TimeDataStarted string
    This is the start of the time range for recalled data
    Namespace string
    The Logging Analytics namespace used for the request.
    Filters []GetNamespaceStorageOverlappingRecallsFilter
    TimeDataEnded string
    This is the end of the time range for recalled data
    TimeDataStarted string
    This is the start of the time range for recalled data
    namespace String
    The Logging Analytics namespace used for the request.
    filters List<GetNamespaceStorageOverlappingRecallsFilter>
    timeDataEnded String
    This is the end of the time range for recalled data
    timeDataStarted String
    This is the start of the time range for recalled data
    namespace string
    The Logging Analytics namespace used for the request.
    filters GetNamespaceStorageOverlappingRecallsFilter[]
    timeDataEnded string
    This is the end of the time range for recalled data
    timeDataStarted string
    This is the start of the time range for recalled data
    namespace str
    The Logging Analytics namespace used for the request.
    filters Sequence[loganalytics.GetNamespaceStorageOverlappingRecallsFilter]
    time_data_ended str
    This is the end of the time range for recalled data
    time_data_started str
    This is the start of the time range for recalled data
    namespace String
    The Logging Analytics namespace used for the request.
    filters List<Property Map>
    timeDataEnded String
    This is the end of the time range for recalled data
    timeDataStarted String
    This is the start of the time range for recalled data

    getNamespaceStorageOverlappingRecalls Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Namespace string
    OverlappingRecallCollections List<GetNamespaceStorageOverlappingRecallsOverlappingRecallCollection>
    The list of overlapping_recall_collection.
    Filters List<GetNamespaceStorageOverlappingRecallsFilter>
    TimeDataEnded string
    This is the end of the time range of the archival data
    TimeDataStarted string
    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
    OverlappingRecallCollections []GetNamespaceStorageOverlappingRecallsOverlappingRecallCollection
    The list of overlapping_recall_collection.
    Filters []GetNamespaceStorageOverlappingRecallsFilter
    TimeDataEnded string
    This is the end of the time range of the archival data
    TimeDataStarted string
    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
    overlappingRecallCollections List<GetNamespaceStorageOverlappingRecallsOverlappingRecallCollection>
    The list of overlapping_recall_collection.
    filters List<GetNamespaceStorageOverlappingRecallsFilter>
    timeDataEnded String
    This is the end of the time range of the archival data
    timeDataStarted String
    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
    overlappingRecallCollections GetNamespaceStorageOverlappingRecallsOverlappingRecallCollection[]
    The list of overlapping_recall_collection.
    filters GetNamespaceStorageOverlappingRecallsFilter[]
    timeDataEnded string
    This is the end of the time range of the archival data
    timeDataStarted string
    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
    overlapping_recall_collections Sequence[loganalytics.GetNamespaceStorageOverlappingRecallsOverlappingRecallCollection]
    The list of overlapping_recall_collection.
    filters Sequence[loganalytics.GetNamespaceStorageOverlappingRecallsFilter]
    time_data_ended str
    This is the end of the time range of the archival data
    time_data_started str
    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
    overlappingRecallCollections List<Property Map>
    The list of overlapping_recall_collection.
    filters List<Property Map>
    timeDataEnded String
    This is the end of the time range of the archival data
    timeDataStarted String
    This is the start of the time range of the archival data

    Supporting Types

    GetNamespaceStorageOverlappingRecallsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetNamespaceStorageOverlappingRecallsOverlappingRecallCollection

    items List<Property Map>
    This is the array of overlapping recall requests

    GetNamespaceStorageOverlappingRecallsOverlappingRecallCollectionItem

    CollectionId string
    This is the id of the associated recalled data collection
    CreatedBy string
    This is the user who initiated the recall request
    LogSets string
    This is the list of logsets associated with this recall
    Purpose string
    This is the purpose of the recall
    QueryString string
    This is the query associated with the recall
    RecallId string
    This is the id for the recall request
    Status string
    This is the status of the recall
    TimeDataEnded string
    This is the end of the time range for recalled data
    TimeDataStarted string
    This is the start of the time range for recalled data
    TimeStarted string
    This is the time when the recall operation was started for this recall request
    CollectionId string
    This is the id of the associated recalled data collection
    CreatedBy string
    This is the user who initiated the recall request
    LogSets string
    This is the list of logsets associated with this recall
    Purpose string
    This is the purpose of the recall
    QueryString string
    This is the query associated with the recall
    RecallId string
    This is the id for the recall request
    Status string
    This is the status of the recall
    TimeDataEnded string
    This is the end of the time range for recalled data
    TimeDataStarted string
    This is the start of the time range for recalled data
    TimeStarted string
    This is the time when the recall operation was started for this recall request
    collectionId String
    This is the id of the associated recalled data collection
    createdBy String
    This is the user who initiated the recall request
    logSets String
    This is the list of logsets associated with this recall
    purpose String
    This is the purpose of the recall
    queryString String
    This is the query associated with the recall
    recallId String
    This is the id for the recall request
    status String
    This is the status of the recall
    timeDataEnded String
    This is the end of the time range for recalled data
    timeDataStarted String
    This is the start of the time range for recalled data
    timeStarted String
    This is the time when the recall operation was started for this recall request
    collectionId string
    This is the id of the associated recalled data collection
    createdBy string
    This is the user who initiated the recall request
    logSets string
    This is the list of logsets associated with this recall
    purpose string
    This is the purpose of the recall
    queryString string
    This is the query associated with the recall
    recallId string
    This is the id for the recall request
    status string
    This is the status of the recall
    timeDataEnded string
    This is the end of the time range for recalled data
    timeDataStarted string
    This is the start of the time range for recalled data
    timeStarted string
    This is the time when the recall operation was started for this recall request
    collection_id str
    This is the id of the associated recalled data collection
    created_by str
    This is the user who initiated the recall request
    log_sets str
    This is the list of logsets associated with this recall
    purpose str
    This is the purpose of the recall
    query_string str
    This is the query associated with the recall
    recall_id str
    This is the id for the recall request
    status str
    This is the status of the recall
    time_data_ended str
    This is the end of the time range for recalled data
    time_data_started str
    This is the start of the time range for recalled data
    time_started str
    This is the time when the recall operation was started for this recall request
    collectionId String
    This is the id of the associated recalled data collection
    createdBy String
    This is the user who initiated the recall request
    logSets String
    This is the list of logsets associated with this recall
    purpose String
    This is the purpose of the recall
    queryString String
    This is the query associated with the recall
    recallId String
    This is the id for the recall request
    status String
    This is the status of the recall
    timeDataEnded String
    This is the end of the time range for recalled data
    timeDataStarted String
    This is the start of the time range for recalled data
    timeStarted String
    This is the time when the recall operation was started for this recall request

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi