logzio 1.17.1 published on Monday, Apr 14, 2025 by logzio
logzio.getArchiveLogs
Explore with Pulumi AI
# Archive Logs Datasource
Provides a Logz.io archive logs resource. This can be used to create and manage Logz.io archive logs settings.
- Learn more about archive logs in the Logz.io Docs
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 dictionaryThe following arguments are supported:
- archive_id float
- Archive ID in the Logz.io database.
- id str
getArchiveLogs Result
The following output properties are available:
- AwsAccess stringKey 
- (String) Applicable when storage_typeisS3. AWS access key.
- AwsCredentials stringType 
- (String) Applicable when storage_typeisS3. Specifies which credentials will be used for authentication.
- AwsS3Iam stringCredentials Arn 
- (String) Applicable when storage_typeisS3. Amazon Resource Name (ARN) to uniquely identify the S3 bucket.
- AwsS3Path string
- (String) Applicable when storage_typeisS3. Specify a path to the root of the S3 bucket.
- AzureAccount stringName 
- (String) Applicable when storage_typeisBLOB. Azure Storage account name.
- AzureBlob stringPath 
- (String) Optional virtual sub-folder specifying a path within the container.
- AzureClient stringId 
- (String) Applicable when storage_typeisBLOB. Azure application (client) ID. The Client ID of the AD app.
- AzureContainer stringName 
- (String) Applicable when storage_typeisBLOB. Name of the container in the Storage account.
- AzureTenant stringId 
- (String) Applicable when storage_typeisBLOB. 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
- AwsAccess stringKey 
- (String) Applicable when storage_typeisS3. AWS access key.
- AwsCredentials stringType 
- (String) Applicable when storage_typeisS3. Specifies which credentials will be used for authentication.
- AwsS3Iam stringCredentials Arn 
- (String) Applicable when storage_typeisS3. Amazon Resource Name (ARN) to uniquely identify the S3 bucket.
- AwsS3Path string
- (String) Applicable when storage_typeisS3. Specify a path to the root of the S3 bucket.
- AzureAccount stringName 
- (String) Applicable when storage_typeisBLOB. Azure Storage account name.
- AzureBlob stringPath 
- (String) Optional virtual sub-folder specifying a path within the container.
- AzureClient stringId 
- (String) Applicable when storage_typeisBLOB. Azure application (client) ID. The Client ID of the AD app.
- AzureContainer stringName 
- (String) Applicable when storage_typeisBLOB. Name of the container in the Storage account.
- AzureTenant stringId 
- (String) Applicable when storage_typeisBLOB. 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
- awsAccess StringKey 
- (String) Applicable when storage_typeisS3. AWS access key.
- awsCredentials StringType 
- (String) Applicable when storage_typeisS3. Specifies which credentials will be used for authentication.
- awsS3Iam StringCredentials Arn 
- (String) Applicable when storage_typeisS3. Amazon Resource Name (ARN) to uniquely identify the S3 bucket.
- awsS3Path String
- (String) Applicable when storage_typeisS3. Specify a path to the root of the S3 bucket.
- azureAccount StringName 
- (String) Applicable when storage_typeisBLOB. Azure Storage account name.
- azureBlob StringPath 
- (String) Optional virtual sub-folder specifying a path within the container.
- azureClient StringId 
- (String) Applicable when storage_typeisBLOB. Azure application (client) ID. The Client ID of the AD app.
- azureContainer StringName 
- (String) Applicable when storage_typeisBLOB. Name of the container in the Storage account.
- azureTenant StringId 
- (String) Applicable when storage_typeisBLOB. 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
- awsAccess stringKey 
- (String) Applicable when storage_typeisS3. AWS access key.
- awsCredentials stringType 
- (String) Applicable when storage_typeisS3. Specifies which credentials will be used for authentication.
- awsS3Iam stringCredentials Arn 
- (String) Applicable when storage_typeisS3. Amazon Resource Name (ARN) to uniquely identify the S3 bucket.
- awsS3Path string
- (String) Applicable when storage_typeisS3. Specify a path to the root of the S3 bucket.
- azureAccount stringName 
- (String) Applicable when storage_typeisBLOB. Azure Storage account name.
- azureBlob stringPath 
- (String) Optional virtual sub-folder specifying a path within the container.
- azureClient stringId 
- (String) Applicable when storage_typeisBLOB. Azure application (client) ID. The Client ID of the AD app.
- azureContainer stringName 
- (String) Applicable when storage_typeisBLOB. Name of the container in the Storage account.
- azureTenant stringId 
- (String) Applicable when storage_typeisBLOB. 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_ strkey 
- (String) Applicable when storage_typeisS3. AWS access key.
- aws_credentials_ strtype 
- (String) Applicable when storage_typeisS3. Specifies which credentials will be used for authentication.
- aws_s3_ striam_ credentials_ arn 
- (String) Applicable when storage_typeisS3. Amazon Resource Name (ARN) to uniquely identify the S3 bucket.
- aws_s3_ strpath 
- (String) Applicable when storage_typeisS3. Specify a path to the root of the S3 bucket.
- azure_account_ strname 
- (String) Applicable when storage_typeisBLOB. Azure Storage account name.
- azure_blob_ strpath 
- (String) Optional virtual sub-folder specifying a path within the container.
- azure_client_ strid 
- (String) Applicable when storage_typeisBLOB. Azure application (client) ID. The Client ID of the AD app.
- azure_container_ strname 
- (String) Applicable when storage_typeisBLOB. Name of the container in the Storage account.
- azure_tenant_ strid 
- (String) Applicable when storage_typeisBLOB. 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
- awsAccess StringKey 
- (String) Applicable when storage_typeisS3. AWS access key.
- awsCredentials StringType 
- (String) Applicable when storage_typeisS3. Specifies which credentials will be used for authentication.
- awsS3Iam StringCredentials Arn 
- (String) Applicable when storage_typeisS3. Amazon Resource Name (ARN) to uniquely identify the S3 bucket.
- awsS3Path String
- (String) Applicable when storage_typeisS3. Specify a path to the root of the S3 bucket.
- azureAccount StringName 
- (String) Applicable when storage_typeisBLOB. Azure Storage account name.
- azureBlob StringPath 
- (String) Optional virtual sub-folder specifying a path within the container.
- azureClient StringId 
- (String) Applicable when storage_typeisBLOB. Azure application (client) ID. The Client ID of the AD app.
- azureContainer StringName 
- (String) Applicable when storage_typeisBLOB. Name of the container in the Storage account.
- azureTenant StringId 
- (String) Applicable when storage_typeisBLOB. 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 logzioTerraform Provider.