logzio.ArchiveLogs
Explore with Pulumi AI
Create ArchiveLogs Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ArchiveLogs(name: string, args: ArchiveLogsArgs, opts?: CustomResourceOptions);@overload
def ArchiveLogs(resource_name: str,
                args: ArchiveLogsArgs,
                opts: Optional[ResourceOptions] = None)
@overload
def ArchiveLogs(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                storage_type: Optional[str] = None,
                azure_account_name: Optional[str] = None,
                azure_client_id: Optional[str] = None,
                aws_s3_iam_credentials_arn: Optional[str] = None,
                aws_s3_path: Optional[str] = None,
                aws_secret_key: Optional[str] = None,
                archive_logs_id: Optional[str] = None,
                azure_blob_path: Optional[str] = None,
                aws_credentials_type: Optional[str] = None,
                azure_client_secret: Optional[str] = None,
                azure_container_name: Optional[str] = None,
                azure_tenant_id: Optional[str] = None,
                compressed: Optional[bool] = None,
                enabled: Optional[bool] = None,
                aws_access_key: Optional[str] = None)func NewArchiveLogs(ctx *Context, name string, args ArchiveLogsArgs, opts ...ResourceOption) (*ArchiveLogs, error)public ArchiveLogs(string name, ArchiveLogsArgs args, CustomResourceOptions? opts = null)
public ArchiveLogs(String name, ArchiveLogsArgs args)
public ArchiveLogs(String name, ArchiveLogsArgs args, CustomResourceOptions options)
type: logzio:ArchiveLogs
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ArchiveLogsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ArchiveLogsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ArchiveLogsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ArchiveLogsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ArchiveLogsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var archiveLogsResource = new Logzio.ArchiveLogs("archiveLogsResource", new()
{
    StorageType = "string",
    AzureAccountName = "string",
    AzureClientId = "string",
    AwsS3IamCredentialsArn = "string",
    AwsS3Path = "string",
    AwsSecretKey = "string",
    ArchiveLogsId = "string",
    AzureBlobPath = "string",
    AwsCredentialsType = "string",
    AzureClientSecret = "string",
    AzureContainerName = "string",
    AzureTenantId = "string",
    Compressed = false,
    Enabled = false,
    AwsAccessKey = "string",
});
example, err := logzio.NewArchiveLogs(ctx, "archiveLogsResource", &logzio.ArchiveLogsArgs{
	StorageType:            pulumi.String("string"),
	AzureAccountName:       pulumi.String("string"),
	AzureClientId:          pulumi.String("string"),
	AwsS3IamCredentialsArn: pulumi.String("string"),
	AwsS3Path:              pulumi.String("string"),
	AwsSecretKey:           pulumi.String("string"),
	ArchiveLogsId:          pulumi.String("string"),
	AzureBlobPath:          pulumi.String("string"),
	AwsCredentialsType:     pulumi.String("string"),
	AzureClientSecret:      pulumi.String("string"),
	AzureContainerName:     pulumi.String("string"),
	AzureTenantId:          pulumi.String("string"),
	Compressed:             pulumi.Bool(false),
	Enabled:                pulumi.Bool(false),
	AwsAccessKey:           pulumi.String("string"),
})
var archiveLogsResource = new ArchiveLogs("archiveLogsResource", ArchiveLogsArgs.builder()
    .storageType("string")
    .azureAccountName("string")
    .azureClientId("string")
    .awsS3IamCredentialsArn("string")
    .awsS3Path("string")
    .awsSecretKey("string")
    .archiveLogsId("string")
    .azureBlobPath("string")
    .awsCredentialsType("string")
    .azureClientSecret("string")
    .azureContainerName("string")
    .azureTenantId("string")
    .compressed(false)
    .enabled(false)
    .awsAccessKey("string")
    .build());
archive_logs_resource = logzio.ArchiveLogs("archiveLogsResource",
    storage_type="string",
    azure_account_name="string",
    azure_client_id="string",
    aws_s3_iam_credentials_arn="string",
    aws_s3_path="string",
    aws_secret_key="string",
    archive_logs_id="string",
    azure_blob_path="string",
    aws_credentials_type="string",
    azure_client_secret="string",
    azure_container_name="string",
    azure_tenant_id="string",
    compressed=False,
    enabled=False,
    aws_access_key="string")
const archiveLogsResource = new logzio.ArchiveLogs("archiveLogsResource", {
    storageType: "string",
    azureAccountName: "string",
    azureClientId: "string",
    awsS3IamCredentialsArn: "string",
    awsS3Path: "string",
    awsSecretKey: "string",
    archiveLogsId: "string",
    azureBlobPath: "string",
    awsCredentialsType: "string",
    azureClientSecret: "string",
    azureContainerName: "string",
    azureTenantId: "string",
    compressed: false,
    enabled: false,
    awsAccessKey: "string",
});
type: logzio:ArchiveLogs
properties:
    archiveLogsId: string
    awsAccessKey: string
    awsCredentialsType: string
    awsS3IamCredentialsArn: string
    awsS3Path: string
    awsSecretKey: string
    azureAccountName: string
    azureBlobPath: string
    azureClientId: string
    azureClientSecret: string
    azureContainerName: string
    azureTenantId: string
    compressed: false
    enabled: false
    storageType: string
ArchiveLogs Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ArchiveLogs resource accepts the following input properties:
- StorageType string
- ArchiveLogs stringId 
- AwsAccess stringKey 
- AwsCredentials stringType 
- AwsS3Iam stringCredentials Arn 
- AwsS3Path string
- AwsSecret stringKey 
- AzureAccount stringName 
- AzureBlob stringPath 
- AzureClient stringId 
- AzureClient stringSecret 
- AzureContainer stringName 
- AzureTenant stringId 
- Compressed bool
- Enabled bool
- StorageType string
- ArchiveLogs stringId 
- AwsAccess stringKey 
- AwsCredentials stringType 
- AwsS3Iam stringCredentials Arn 
- AwsS3Path string
- AwsSecret stringKey 
- AzureAccount stringName 
- AzureBlob stringPath 
- AzureClient stringId 
- AzureClient stringSecret 
- AzureContainer stringName 
- AzureTenant stringId 
- Compressed bool
- Enabled bool
- storageType String
- archiveLogs StringId 
- awsAccess StringKey 
- awsCredentials StringType 
- awsS3Iam StringCredentials Arn 
- awsS3Path String
- awsSecret StringKey 
- azureAccount StringName 
- azureBlob StringPath 
- azureClient StringId 
- azureClient StringSecret 
- azureContainer StringName 
- azureTenant StringId 
- compressed Boolean
- enabled Boolean
- storageType string
- archiveLogs stringId 
- awsAccess stringKey 
- awsCredentials stringType 
- awsS3Iam stringCredentials Arn 
- awsS3Path string
- awsSecret stringKey 
- azureAccount stringName 
- azureBlob stringPath 
- azureClient stringId 
- azureClient stringSecret 
- azureContainer stringName 
- azureTenant stringId 
- compressed boolean
- enabled boolean
- storage_type str
- archive_logs_ strid 
- aws_access_ strkey 
- aws_credentials_ strtype 
- aws_s3_ striam_ credentials_ arn 
- aws_s3_ strpath 
- aws_secret_ strkey 
- azure_account_ strname 
- azure_blob_ strpath 
- azure_client_ strid 
- azure_client_ strsecret 
- azure_container_ strname 
- azure_tenant_ strid 
- compressed bool
- enabled bool
- storageType String
- archiveLogs StringId 
- awsAccess StringKey 
- awsCredentials StringType 
- awsS3Iam StringCredentials Arn 
- awsS3Path String
- awsSecret StringKey 
- azureAccount StringName 
- azureBlob StringPath 
- azureClient StringId 
- azureClient StringSecret 
- azureContainer StringName 
- azureTenant StringId 
- compressed Boolean
- enabled Boolean
Outputs
All input properties are implicitly available as output properties. Additionally, the ArchiveLogs resource produces the following output properties:
- archive_id float
- id str
- The provider-assigned unique ID for this managed resource.
Look up Existing ArchiveLogs Resource
Get an existing ArchiveLogs resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ArchiveLogsState, opts?: CustomResourceOptions): ArchiveLogs@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        archive_id: Optional[float] = None,
        archive_logs_id: Optional[str] = None,
        aws_access_key: Optional[str] = None,
        aws_credentials_type: Optional[str] = None,
        aws_s3_iam_credentials_arn: Optional[str] = None,
        aws_s3_path: Optional[str] = None,
        aws_secret_key: Optional[str] = None,
        azure_account_name: Optional[str] = None,
        azure_blob_path: Optional[str] = None,
        azure_client_id: Optional[str] = None,
        azure_client_secret: Optional[str] = None,
        azure_container_name: Optional[str] = None,
        azure_tenant_id: Optional[str] = None,
        compressed: Optional[bool] = None,
        enabled: Optional[bool] = None,
        storage_type: Optional[str] = None) -> ArchiveLogsfunc GetArchiveLogs(ctx *Context, name string, id IDInput, state *ArchiveLogsState, opts ...ResourceOption) (*ArchiveLogs, error)public static ArchiveLogs Get(string name, Input<string> id, ArchiveLogsState? state, CustomResourceOptions? opts = null)public static ArchiveLogs get(String name, Output<String> id, ArchiveLogsState state, CustomResourceOptions options)resources:  _:    type: logzio:ArchiveLogs    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- ArchiveId double
- ArchiveLogs stringId 
- AwsAccess stringKey 
- AwsCredentials stringType 
- AwsS3Iam stringCredentials Arn 
- AwsS3Path string
- AwsSecret stringKey 
- AzureAccount stringName 
- AzureBlob stringPath 
- AzureClient stringId 
- AzureClient stringSecret 
- AzureContainer stringName 
- AzureTenant stringId 
- Compressed bool
- Enabled bool
- StorageType string
- ArchiveId float64
- ArchiveLogs stringId 
- AwsAccess stringKey 
- AwsCredentials stringType 
- AwsS3Iam stringCredentials Arn 
- AwsS3Path string
- AwsSecret stringKey 
- AzureAccount stringName 
- AzureBlob stringPath 
- AzureClient stringId 
- AzureClient stringSecret 
- AzureContainer stringName 
- AzureTenant stringId 
- Compressed bool
- Enabled bool
- StorageType string
- archiveId Double
- archiveLogs StringId 
- awsAccess StringKey 
- awsCredentials StringType 
- awsS3Iam StringCredentials Arn 
- awsS3Path String
- awsSecret StringKey 
- azureAccount StringName 
- azureBlob StringPath 
- azureClient StringId 
- azureClient StringSecret 
- azureContainer StringName 
- azureTenant StringId 
- compressed Boolean
- enabled Boolean
- storageType String
- archiveId number
- archiveLogs stringId 
- awsAccess stringKey 
- awsCredentials stringType 
- awsS3Iam stringCredentials Arn 
- awsS3Path string
- awsSecret stringKey 
- azureAccount stringName 
- azureBlob stringPath 
- azureClient stringId 
- azureClient stringSecret 
- azureContainer stringName 
- azureTenant stringId 
- compressed boolean
- enabled boolean
- storageType string
- archive_id float
- archive_logs_ strid 
- aws_access_ strkey 
- aws_credentials_ strtype 
- aws_s3_ striam_ credentials_ arn 
- aws_s3_ strpath 
- aws_secret_ strkey 
- azure_account_ strname 
- azure_blob_ strpath 
- azure_client_ strid 
- azure_client_ strsecret 
- azure_container_ strname 
- azure_tenant_ strid 
- compressed bool
- enabled bool
- storage_type str
- archiveId Number
- archiveLogs StringId 
- awsAccess StringKey 
- awsCredentials StringType 
- awsS3Iam StringCredentials Arn 
- awsS3Path String
- awsSecret StringKey 
- azureAccount StringName 
- azureBlob StringPath 
- azureClient StringId 
- azureClient StringSecret 
- azureContainer StringName 
- azureTenant StringId 
- compressed Boolean
- enabled Boolean
- storageType String
Package Details
- Repository
- logzio logzio/terraform-provider-logzio
- License
- Notes
- This Pulumi package is based on the logzioTerraform Provider.