1. Packages
  2. Datadog Provider
  3. API Docs
  4. getLogsArchivesOrder
Datadog v4.36.1 published on Friday, Nov 15, 2024 by Pulumi

datadog.getLogsArchivesOrder

Explore with Pulumi AI

datadog logo
Datadog v4.36.1 published on Friday, Nov 15, 2024 by Pulumi

    Get the current order of your logs archives.

    Using getLogsArchivesOrder

    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 getLogsArchivesOrder(opts?: InvokeOptions): Promise<GetLogsArchivesOrderResult>
    function getLogsArchivesOrderOutput(opts?: InvokeOptions): Output<GetLogsArchivesOrderResult>
    def get_logs_archives_order(opts: Optional[InvokeOptions] = None) -> GetLogsArchivesOrderResult
    def get_logs_archives_order_output(opts: Optional[InvokeOptions] = None) -> Output[GetLogsArchivesOrderResult]
    func GetLogsArchivesOrder(ctx *Context, opts ...InvokeOption) (*GetLogsArchivesOrderResult, error)
    func GetLogsArchivesOrderOutput(ctx *Context, opts ...InvokeOption) GetLogsArchivesOrderResultOutput

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

    public static class GetLogsArchivesOrder 
    {
        public static Task<GetLogsArchivesOrderResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetLogsArchivesOrderResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLogsArchivesOrderResult> getLogsArchivesOrder(InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: datadog:index/getLogsArchivesOrder:getLogsArchivesOrder
      arguments:
        # arguments dictionary

    getLogsArchivesOrder Result

    The following output properties are available:

    ArchiveIds List<string>
    The archive IDs list. The order of archive IDs in this attribute defines the overall archive order for logs.
    Id string
    The provider-assigned unique ID for this managed resource.
    ArchiveIds []string
    The archive IDs list. The order of archive IDs in this attribute defines the overall archive order for logs.
    Id string
    The provider-assigned unique ID for this managed resource.
    archiveIds List<String>
    The archive IDs list. The order of archive IDs in this attribute defines the overall archive order for logs.
    id String
    The provider-assigned unique ID for this managed resource.
    archiveIds string[]
    The archive IDs list. The order of archive IDs in this attribute defines the overall archive order for logs.
    id string
    The provider-assigned unique ID for this managed resource.
    archive_ids Sequence[str]
    The archive IDs list. The order of archive IDs in this attribute defines the overall archive order for logs.
    id str
    The provider-assigned unique ID for this managed resource.
    archiveIds List<String>
    The archive IDs list. The order of archive IDs in this attribute defines the overall archive order for logs.
    id String
    The provider-assigned unique ID for this managed resource.

    Package Details

    Repository
    Datadog pulumi/pulumi-datadog
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the datadog Terraform Provider.
    datadog logo
    Datadog v4.36.1 published on Friday, Nov 15, 2024 by Pulumi