1. Packages
  2. Logzio Provider
  3. API Docs
  4. getArchiveLogs
logzio 1.17.1 published on Monday, Apr 14, 2025 by logzio

logzio.getArchiveLogs

Explore with Pulumi AI

logzio logo
logzio 1.17.1 published on Monday, Apr 14, 2025 by logzio

    # Archive Logs Datasource

    Provides a Logz.io archive logs resource. This can be used to create and manage Logz.io archive logs settings.

    Using getArchiveLogs

    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 getArchiveLogs(args: GetArchiveLogsArgs, opts?: InvokeOptions): Promise<GetArchiveLogsResult>
    function getArchiveLogsOutput(args: GetArchiveLogsOutputArgs, opts?: InvokeOptions): Output<GetArchiveLogsResult>
    def get_archive_logs(archive_id: Optional[float] = None,
                         id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetArchiveLogsResult
    def get_archive_logs_output(archive_id: Optional[pulumi.Input[float]] = None,
                         id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetArchiveLogsResult]
    func LookupArchiveLogs(ctx *Context, args *LookupArchiveLogsArgs, opts ...InvokeOption) (*LookupArchiveLogsResult, error)
    func LookupArchiveLogsOutput(ctx *Context, args *LookupArchiveLogsOutputArgs, opts ...InvokeOption) LookupArchiveLogsResultOutput

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

    public static class GetArchiveLogs 
    {
        public static Task<GetArchiveLogsResult> InvokeAsync(GetArchiveLogsArgs args, InvokeOptions? opts = null)
        public static Output<GetArchiveLogsResult> Invoke(GetArchiveLogsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetArchiveLogsResult> getArchiveLogs(GetArchiveLogsArgs args, InvokeOptions options)
    public static Output<GetArchiveLogsResult> getArchiveLogs(GetArchiveLogsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: logzio:index/getArchiveLogs:getArchiveLogs
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ArchiveId double
    Archive ID in the Logz.io database.
    Id string
    ArchiveId float64
    Archive ID in the Logz.io database.
    Id string
    archiveId Double
    Archive ID in the Logz.io database.
    id String
    archiveId number
    Archive ID in the Logz.io database.
    id string
    archive_id float
    Archive ID in the Logz.io database.
    id str
    archiveId Number
    Archive ID in the Logz.io database.
    id String

    getArchiveLogs Result

    The following output properties are available:

    AwsAccessKey string
    (String) Applicable when storage_type is S3. AWS access key.
    AwsCredentialsType string
    (String) Applicable when storage_type is S3. Specifies which credentials will be used for authentication.
    AwsS3IamCredentialsArn string
    (String) Applicable when storage_type is S3. Amazon Resource Name (ARN) to uniquely identify the S3 bucket.
    AwsS3Path string
    (String) Applicable when storage_type is S3. Specify a path to the root of the S3 bucket.
    AzureAccountName string
    (String) Applicable when storage_type is BLOB. Azure Storage account name.
    AzureBlobPath string
    (String) Optional virtual sub-folder specifying a path within the container.
    AzureClientId string
    (String) Applicable when storage_type is BLOB. Azure application (client) ID. The Client ID of the AD app.
    AzureContainerName string
    (String) Applicable when storage_type is BLOB. Name of the container in the Storage account.
    AzureTenantId string
    (String) Applicable when storage_type is BLOB. Azure Directory (tenant) ID. The Tenant ID of the AD app.
    Compressed bool
    (Boolean) If true, logs are compressed before they are archived.
    Enabled bool
    (Boolean) If true, archiving is currently enabled.
    Id string
    StorageType string
    (String) Specifies the storage provider.
    ArchiveId double
    AwsAccessKey string
    (String) Applicable when storage_type is S3. AWS access key.
    AwsCredentialsType string
    (String) Applicable when storage_type is S3. Specifies which credentials will be used for authentication.
    AwsS3IamCredentialsArn string
    (String) Applicable when storage_type is S3. Amazon Resource Name (ARN) to uniquely identify the S3 bucket.
    AwsS3Path string
    (String) Applicable when storage_type is S3. Specify a path to the root of the S3 bucket.
    AzureAccountName string
    (String) Applicable when storage_type is BLOB. Azure Storage account name.
    AzureBlobPath string
    (String) Optional virtual sub-folder specifying a path within the container.
    AzureClientId string
    (String) Applicable when storage_type is BLOB. Azure application (client) ID. The Client ID of the AD app.
    AzureContainerName string
    (String) Applicable when storage_type is BLOB. Name of the container in the Storage account.
    AzureTenantId string
    (String) Applicable when storage_type is BLOB. Azure Directory (tenant) ID. The Tenant ID of the AD app.
    Compressed bool
    (Boolean) If true, logs are compressed before they are archived.
    Enabled bool
    (Boolean) If true, archiving is currently enabled.
    Id string
    StorageType string
    (String) Specifies the storage provider.
    ArchiveId float64
    awsAccessKey String
    (String) Applicable when storage_type is S3. AWS access key.
    awsCredentialsType String
    (String) Applicable when storage_type is S3. Specifies which credentials will be used for authentication.
    awsS3IamCredentialsArn String
    (String) Applicable when storage_type is S3. Amazon Resource Name (ARN) to uniquely identify the S3 bucket.
    awsS3Path String
    (String) Applicable when storage_type is S3. Specify a path to the root of the S3 bucket.
    azureAccountName String
    (String) Applicable when storage_type is BLOB. Azure Storage account name.
    azureBlobPath String
    (String) Optional virtual sub-folder specifying a path within the container.
    azureClientId String
    (String) Applicable when storage_type is BLOB. Azure application (client) ID. The Client ID of the AD app.
    azureContainerName String
    (String) Applicable when storage_type is BLOB. Name of the container in the Storage account.
    azureTenantId String
    (String) Applicable when storage_type is BLOB. Azure Directory (tenant) ID. The Tenant ID of the AD app.
    compressed Boolean
    (Boolean) If true, logs are compressed before they are archived.
    enabled Boolean
    (Boolean) If true, archiving is currently enabled.
    id String
    storageType String
    (String) Specifies the storage provider.
    archiveId Double
    awsAccessKey string
    (String) Applicable when storage_type is S3. AWS access key.
    awsCredentialsType string
    (String) Applicable when storage_type is S3. Specifies which credentials will be used for authentication.
    awsS3IamCredentialsArn string
    (String) Applicable when storage_type is S3. Amazon Resource Name (ARN) to uniquely identify the S3 bucket.
    awsS3Path string
    (String) Applicable when storage_type is S3. Specify a path to the root of the S3 bucket.
    azureAccountName string
    (String) Applicable when storage_type is BLOB. Azure Storage account name.
    azureBlobPath string
    (String) Optional virtual sub-folder specifying a path within the container.
    azureClientId string
    (String) Applicable when storage_type is BLOB. Azure application (client) ID. The Client ID of the AD app.
    azureContainerName string
    (String) Applicable when storage_type is BLOB. Name of the container in the Storage account.
    azureTenantId string
    (String) Applicable when storage_type is BLOB. Azure Directory (tenant) ID. The Tenant ID of the AD app.
    compressed boolean
    (Boolean) If true, logs are compressed before they are archived.
    enabled boolean
    (Boolean) If true, archiving is currently enabled.
    id string
    storageType string
    (String) Specifies the storage provider.
    archiveId number
    aws_access_key str
    (String) Applicable when storage_type is S3. AWS access key.
    aws_credentials_type str
    (String) Applicable when storage_type is S3. Specifies which credentials will be used for authentication.
    aws_s3_iam_credentials_arn str
    (String) Applicable when storage_type is S3. Amazon Resource Name (ARN) to uniquely identify the S3 bucket.
    aws_s3_path str
    (String) Applicable when storage_type is S3. Specify a path to the root of the S3 bucket.
    azure_account_name str
    (String) Applicable when storage_type is BLOB. Azure Storage account name.
    azure_blob_path str
    (String) Optional virtual sub-folder specifying a path within the container.
    azure_client_id str
    (String) Applicable when storage_type is BLOB. Azure application (client) ID. The Client ID of the AD app.
    azure_container_name str
    (String) Applicable when storage_type is BLOB. Name of the container in the Storage account.
    azure_tenant_id str
    (String) Applicable when storage_type is BLOB. Azure Directory (tenant) ID. The Tenant ID of the AD app.
    compressed bool
    (Boolean) If true, logs are compressed before they are archived.
    enabled bool
    (Boolean) If true, archiving is currently enabled.
    id str
    storage_type str
    (String) Specifies the storage provider.
    archive_id float
    awsAccessKey String
    (String) Applicable when storage_type is S3. AWS access key.
    awsCredentialsType String
    (String) Applicable when storage_type is S3. Specifies which credentials will be used for authentication.
    awsS3IamCredentialsArn String
    (String) Applicable when storage_type is S3. Amazon Resource Name (ARN) to uniquely identify the S3 bucket.
    awsS3Path String
    (String) Applicable when storage_type is S3. Specify a path to the root of the S3 bucket.
    azureAccountName String
    (String) Applicable when storage_type is BLOB. Azure Storage account name.
    azureBlobPath String
    (String) Optional virtual sub-folder specifying a path within the container.
    azureClientId String
    (String) Applicable when storage_type is BLOB. Azure application (client) ID. The Client ID of the AD app.
    azureContainerName String
    (String) Applicable when storage_type is BLOB. Name of the container in the Storage account.
    azureTenantId String
    (String) Applicable when storage_type is BLOB. Azure Directory (tenant) ID. The Tenant ID of the AD app.
    compressed Boolean
    (Boolean) If true, logs are compressed before they are archived.
    enabled Boolean
    (Boolean) If true, archiving is currently enabled.
    id String
    storageType String
    (String) Specifies the storage provider.
    archiveId Number

    Package Details

    Repository
    logzio logzio/terraform-provider-logzio
    License
    Notes
    This Pulumi package is based on the logzio Terraform Provider.
    logzio logo
    logzio 1.17.1 published on Monday, Apr 14, 2025 by logzio