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 dictionary
The following arguments are supported:
- archive_
id float - Archive ID in the Logz.io database.
- id str
getArchiveLogs Result
The following output properties are available:
- Aws
Access stringKey - (String) Applicable when
storage_type
isS3
. AWS access key. - Aws
Credentials stringType - (String) Applicable when
storage_type
isS3
. Specifies which credentials will be used for authentication. - Aws
S3Iam stringCredentials Arn - (String) Applicable when
storage_type
isS3
. Amazon Resource Name (ARN) to uniquely identify the S3 bucket. - Aws
S3Path string - (String) Applicable when
storage_type
isS3
. Specify a path to the root of the S3 bucket. - Azure
Account stringName - (String) Applicable when
storage_type
isBLOB
. Azure Storage account name. - Azure
Blob stringPath - (String) Optional virtual sub-folder specifying a path within the container.
- Azure
Client stringId - (String) Applicable when
storage_type
isBLOB
. Azure application (client) ID. The Client ID of the AD app. - Azure
Container stringName - (String) Applicable when
storage_type
isBLOB
. Name of the container in the Storage account. - Azure
Tenant stringId - (String) Applicable when
storage_type
isBLOB
. 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
- Storage
Type string - (String) Specifies the storage provider.
- Archive
Id double
- Aws
Access stringKey - (String) Applicable when
storage_type
isS3
. AWS access key. - Aws
Credentials stringType - (String) Applicable when
storage_type
isS3
. Specifies which credentials will be used for authentication. - Aws
S3Iam stringCredentials Arn - (String) Applicable when
storage_type
isS3
. Amazon Resource Name (ARN) to uniquely identify the S3 bucket. - Aws
S3Path string - (String) Applicable when
storage_type
isS3
. Specify a path to the root of the S3 bucket. - Azure
Account stringName - (String) Applicable when
storage_type
isBLOB
. Azure Storage account name. - Azure
Blob stringPath - (String) Optional virtual sub-folder specifying a path within the container.
- Azure
Client stringId - (String) Applicable when
storage_type
isBLOB
. Azure application (client) ID. The Client ID of the AD app. - Azure
Container stringName - (String) Applicable when
storage_type
isBLOB
. Name of the container in the Storage account. - Azure
Tenant stringId - (String) Applicable when
storage_type
isBLOB
. 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
- Storage
Type string - (String) Specifies the storage provider.
- Archive
Id float64
- aws
Access StringKey - (String) Applicable when
storage_type
isS3
. AWS access key. - aws
Credentials StringType - (String) Applicable when
storage_type
isS3
. Specifies which credentials will be used for authentication. - aws
S3Iam StringCredentials Arn - (String) Applicable when
storage_type
isS3
. Amazon Resource Name (ARN) to uniquely identify the S3 bucket. - aws
S3Path String - (String) Applicable when
storage_type
isS3
. Specify a path to the root of the S3 bucket. - azure
Account StringName - (String) Applicable when
storage_type
isBLOB
. Azure Storage account name. - azure
Blob StringPath - (String) Optional virtual sub-folder specifying a path within the container.
- azure
Client StringId - (String) Applicable when
storage_type
isBLOB
. Azure application (client) ID. The Client ID of the AD app. - azure
Container StringName - (String) Applicable when
storage_type
isBLOB
. Name of the container in the Storage account. - azure
Tenant StringId - (String) Applicable when
storage_type
isBLOB
. 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
- storage
Type String - (String) Specifies the storage provider.
- archive
Id Double
- aws
Access stringKey - (String) Applicable when
storage_type
isS3
. AWS access key. - aws
Credentials stringType - (String) Applicable when
storage_type
isS3
. Specifies which credentials will be used for authentication. - aws
S3Iam stringCredentials Arn - (String) Applicable when
storage_type
isS3
. Amazon Resource Name (ARN) to uniquely identify the S3 bucket. - aws
S3Path string - (String) Applicable when
storage_type
isS3
. Specify a path to the root of the S3 bucket. - azure
Account stringName - (String) Applicable when
storage_type
isBLOB
. Azure Storage account name. - azure
Blob stringPath - (String) Optional virtual sub-folder specifying a path within the container.
- azure
Client stringId - (String) Applicable when
storage_type
isBLOB
. Azure application (client) ID. The Client ID of the AD app. - azure
Container stringName - (String) Applicable when
storage_type
isBLOB
. Name of the container in the Storage account. - azure
Tenant stringId - (String) Applicable when
storage_type
isBLOB
. 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
- storage
Type string - (String) Specifies the storage provider.
- archive
Id number
- aws_
access_ strkey - (String) Applicable when
storage_type
isS3
. AWS access key. - aws_
credentials_ strtype - (String) Applicable when
storage_type
isS3
. Specifies which credentials will be used for authentication. - aws_
s3_ striam_ credentials_ arn - (String) Applicable when
storage_type
isS3
. Amazon Resource Name (ARN) to uniquely identify the S3 bucket. - aws_
s3_ strpath - (String) Applicable when
storage_type
isS3
. Specify a path to the root of the S3 bucket. - azure_
account_ strname - (String) Applicable when
storage_type
isBLOB
. 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_type
isBLOB
. Azure application (client) ID. The Client ID of the AD app. - azure_
container_ strname - (String) Applicable when
storage_type
isBLOB
. Name of the container in the Storage account. - azure_
tenant_ strid - (String) Applicable when
storage_type
isBLOB
. 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
- aws
Access StringKey - (String) Applicable when
storage_type
isS3
. AWS access key. - aws
Credentials StringType - (String) Applicable when
storage_type
isS3
. Specifies which credentials will be used for authentication. - aws
S3Iam StringCredentials Arn - (String) Applicable when
storage_type
isS3
. Amazon Resource Name (ARN) to uniquely identify the S3 bucket. - aws
S3Path String - (String) Applicable when
storage_type
isS3
. Specify a path to the root of the S3 bucket. - azure
Account StringName - (String) Applicable when
storage_type
isBLOB
. Azure Storage account name. - azure
Blob StringPath - (String) Optional virtual sub-folder specifying a path within the container.
- azure
Client StringId - (String) Applicable when
storage_type
isBLOB
. Azure application (client) ID. The Client ID of the AD app. - azure
Container StringName - (String) Applicable when
storage_type
isBLOB
. Name of the container in the Storage account. - azure
Tenant StringId - (String) Applicable when
storage_type
isBLOB
. 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
- storage
Type String - (String) Specifies the storage provider.
- archive
Id Number
Package Details
- Repository
- logzio logzio/terraform-provider-logzio
- License
- Notes
- This Pulumi package is based on the
logzio
Terraform Provider.