published on Friday, Sep 25, 2026 by logzio
published on Friday, Sep 25, 2026 by logzio
# Tracing Account Provider
Provides a Logz.io consumption tracing account resource. This can be used to create and manage Logz.io tracing accounts on a Consumption plan.
- Learn more about available APIs for managing Logz.io accounts
Note: These endpoints are available for Consumption accounts only, and are additionally
gated per account by a feature flag. If the account is not eligible, the API responds with 400.
Import tracing accounts as resources
terraform import logzio_tracing_account.my_tracing_account <TRACING-ACCOUNT-ID>
Create TracingAccount Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TracingAccount(name: string, args: TracingAccountArgs, opts?: CustomResourceOptions);@overload
def TracingAccount(resource_name: str,
args: TracingAccountArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TracingAccount(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_name: Optional[str] = None,
email: Optional[str] = None,
max_daily_gb: Optional[float] = None,
authorized_accounts: Optional[Sequence[float]] = None,
tracing_account_id: Optional[str] = None)func NewTracingAccount(ctx *Context, name string, args TracingAccountArgs, opts ...ResourceOption) (*TracingAccount, error)public TracingAccount(string name, TracingAccountArgs args, CustomResourceOptions? opts = null)
public TracingAccount(String name, TracingAccountArgs args)
public TracingAccount(String name, TracingAccountArgs args, CustomResourceOptions options)
type: logzio:TracingAccount
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "logzio_tracing_account" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args TracingAccountArgs
- 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 TracingAccountArgs
- 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 TracingAccountArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TracingAccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TracingAccountArgs
- 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 tracingAccountResource = new Logzio.TracingAccount("tracingAccountResource", new()
{
AccountName = "string",
Email = "string",
MaxDailyGb = 0.0,
AuthorizedAccounts = new[]
{
0.0,
},
TracingAccountId = "string",
});
example, err := logzio.NewTracingAccount(ctx, "tracingAccountResource", &logzio.TracingAccountArgs{
AccountName: pulumi.String("string"),
Email: pulumi.String("string"),
MaxDailyGb: pulumi.Float64(0),
AuthorizedAccounts: pulumi.Float64Array{
pulumi.Float64(0),
},
TracingAccountId: pulumi.String("string"),
})
resource "logzio_tracing_account" "tracingAccountResource" {
lifecycle {
create_before_destroy = true
}
account_name = "string"
email = "string"
max_daily_gb = 0
authorized_accounts = [0]
tracing_account_id = "string"
}
var tracingAccountResource = new TracingAccount("tracingAccountResource", TracingAccountArgs.builder()
.accountName("string")
.email("string")
.maxDailyGb(0.0)
.authorizedAccounts(0.0)
.tracingAccountId("string")
.build());
tracing_account_resource = logzio.TracingAccount("tracingAccountResource",
account_name="string",
email="string",
max_daily_gb=float(0),
authorized_accounts=[float(0)],
tracing_account_id="string")
const tracingAccountResource = new logzio.TracingAccount("tracingAccountResource", {
accountName: "string",
email: "string",
maxDailyGb: 0,
authorizedAccounts: [0],
tracingAccountId: "string",
});
type: logzio:TracingAccount
properties:
accountName: string
authorizedAccounts:
- 0
email: string
maxDailyGb: 0
tracingAccountId: string
TracingAccount 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 TracingAccount resource accepts the following input properties:
- Account
Name string - Email string
- Max
Daily doubleGb - List<double>
- Tracing
Account stringId
- Account
Name string - Email string
- Max
Daily float64Gb - []float64
- Tracing
Account stringId
- account_
name string - email string
- max_
daily_ numbergb - list(number)
- tracing_
account_ stringid
- account
Name String - email String
- max
Daily DoubleGb - List<Double>
- tracing
Account StringId
- account
Name string - email string
- max
Daily numberGb - number[]
- tracing
Account stringId
- account_
name str - email str
- max_
daily_ floatgb - Sequence[float]
- tracing_
account_ strid
- account
Name String - email String
- max
Daily NumberGb - List<Number>
- tracing
Account StringId
Outputs
All input properties are implicitly available as output properties. Additionally, the TracingAccount resource produces the following output properties:
- account_
id number - id string
- The provider-assigned unique ID for this managed resource.
- retention number
- account_
id float - id str
- The provider-assigned unique ID for this managed resource.
- retention float
Look up Existing TracingAccount Resource
Get an existing TracingAccount 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?: TracingAccountState, opts?: CustomResourceOptions): TracingAccount@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[float] = None,
account_name: Optional[str] = None,
authorized_accounts: Optional[Sequence[float]] = None,
email: Optional[str] = None,
max_daily_gb: Optional[float] = None,
retention: Optional[float] = None,
tracing_account_id: Optional[str] = None) -> TracingAccountfunc GetTracingAccount(ctx *Context, name string, id IDInput, state *TracingAccountState, opts ...ResourceOption) (*TracingAccount, error)public static TracingAccount Get(string name, Input<string> id, TracingAccountState? state, CustomResourceOptions? opts = null)public static TracingAccount get(String name, Output<String> id, TracingAccountState state, CustomResourceOptions options)resources: _: type: logzio:TracingAccount get: id: ${id}import {
to = logzio_tracing_account.example
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.
- Account
Id double - Account
Name string - List<double>
- Email string
- Max
Daily doubleGb - Retention double
- Tracing
Account stringId
- Account
Id float64 - Account
Name string - []float64
- Email string
- Max
Daily float64Gb - Retention float64
- Tracing
Account stringId
- account_
id number - account_
name string - list(number)
- email string
- max_
daily_ numbergb - retention number
- tracing_
account_ stringid
- account
Id Double - account
Name String - List<Double>
- email String
- max
Daily DoubleGb - retention Double
- tracing
Account StringId
- account
Id number - account
Name string - number[]
- email string
- max
Daily numberGb - retention number
- tracing
Account stringId
- account_
id float - account_
name str - Sequence[float]
- email str
- max_
daily_ floatgb - retention float
- tracing_
account_ strid
- account
Id Number - account
Name String - List<Number>
- email String
- max
Daily NumberGb - retention Number
- tracing
Account StringId
Package Details
- Repository
- logzio logzio/terraform-provider-logzio
- License
- Notes
- This Pulumi package is based on the
logzioTerraform Provider.
published on Friday, Sep 25, 2026 by logzio