coralogix 2.0.17 published on Tuesday, Apr 22, 2025 by coralogix
coralogix.getArchiveRetentions
Explore with Pulumi AI
coralogix 2.0.17 published on Tuesday, Apr 22, 2025 by coralogix
Coralogix archive-retention. For more info please review - https://coralogix.com/docs/archive-setup-grpc-api/.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as coralogix from "@pulumi/coralogix";
const example = coralogix.getArchiveRetentions({});
import pulumi
import pulumi_coralogix as coralogix
example = coralogix.get_archive_retentions()
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/coralogix/v2/coralogix"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := coralogix.LookupArchiveRetentions(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Coralogix = Pulumi.Coralogix;
return await Deployment.RunAsync(() =>
{
var example = Coralogix.GetArchiveRetentions.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.coralogix.CoralogixFunctions;
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 example = CoralogixFunctions.getArchiveRetentions();
}
}
variables:
example:
fn::invoke:
function: coralogix:getArchiveRetentions
arguments: {}
Using getArchiveRetentions
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 getArchiveRetentions(opts?: InvokeOptions): Promise<GetArchiveRetentionsResult>
function getArchiveRetentionsOutput(opts?: InvokeOptions): Output<GetArchiveRetentionsResult>
def get_archive_retentions(opts: Optional[InvokeOptions] = None) -> GetArchiveRetentionsResult
def get_archive_retentions_output(opts: Optional[InvokeOptions] = None) -> Output[GetArchiveRetentionsResult]
func LookupArchiveRetentions(ctx *Context, opts ...InvokeOption) (*LookupArchiveRetentionsResult, error)
func LookupArchiveRetentionsOutput(ctx *Context, opts ...InvokeOption) LookupArchiveRetentionsResultOutput
> Note: This function is named LookupArchiveRetentions
in the Go SDK.
public static class GetArchiveRetentions
{
public static Task<GetArchiveRetentionsResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetArchiveRetentionsResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetArchiveRetentionsResult> getArchiveRetentions(InvokeOptions options)
public static Output<GetArchiveRetentionsResult> getArchiveRetentions(InvokeOptions options)
fn::invoke:
function: coralogix:index/getArchiveRetentions:getArchiveRetentions
arguments:
# arguments dictionary
getArchiveRetentions Result
The following output properties are available:
- Id string
- The ID of this resource.
- Retentions
List<Get
Archive Retentions Retention> - List of 4 retentions. The first retention is the default retention and can't be renamed.
- Id string
- The ID of this resource.
- Retentions
[]Get
Archive Retentions Retention - List of 4 retentions. The first retention is the default retention and can't be renamed.
- id String
- The ID of this resource.
- retentions
List<Get
Archive Retentions Retention> - List of 4 retentions. The first retention is the default retention and can't be renamed.
- id string
- The ID of this resource.
- retentions
Get
Archive Retentions Retention[] - List of 4 retentions. The first retention is the default retention and can't be renamed.
- id str
- The ID of this resource.
- retentions
Sequence[Get
Archive Retentions Retention] - List of 4 retentions. The first retention is the default retention and can't be renamed.
- id String
- The ID of this resource.
- retentions List<Property Map>
- List of 4 retentions. The first retention is the default retention and can't be renamed.
Supporting Types
GetArchiveRetentionsRetention
Package Details
- Repository
- coralogix coralogix/terraform-provider-coralogix
- License
- Notes
- This Pulumi package is based on the
coralogix
Terraform Provider.
coralogix 2.0.17 published on Tuesday, Apr 22, 2025 by coralogix