logzio 1.17.1 published on Monday, Apr 14, 2025 by logzio
logzio.getMetricsAccount
Explore with Pulumi AI
# Subaccount Datasource
Use this data source to access information about existing Logz.io Metrics Accounts.
- Learn more about accounts in the Logz.io Docs.
- Learn more about available APIs for managing Logz.io Metrics accounts.
Attribute Reference
email
- (String) Email address of an existing admin user on the main account which will also become the admin of the created metrics account.account_name
- (String) Name of the metrics account.plan_uts
- (Integer) Amount of unique time series that can be ingested to the metrics account.authorized_accounts
- (List) IDs of accounts that can access the account’s data. Can be an empty array.
Using getMetricsAccount
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 getMetricsAccount(args: GetMetricsAccountArgs, opts?: InvokeOptions): Promise<GetMetricsAccountResult>
function getMetricsAccountOutput(args: GetMetricsAccountOutputArgs, opts?: InvokeOptions): Output<GetMetricsAccountResult>
def get_metrics_account(account_id: Optional[float] = None,
account_name: Optional[str] = None,
account_token: Optional[str] = None,
authorized_accounts: Optional[Sequence[float]] = None,
email: Optional[str] = None,
id: Optional[str] = None,
plan_uts: Optional[float] = None,
timeouts: Optional[GetMetricsAccountTimeouts] = None,
opts: Optional[InvokeOptions] = None) -> GetMetricsAccountResult
def get_metrics_account_output(account_id: Optional[pulumi.Input[float]] = None,
account_name: Optional[pulumi.Input[str]] = None,
account_token: Optional[pulumi.Input[str]] = None,
authorized_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None,
email: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
plan_uts: Optional[pulumi.Input[float]] = None,
timeouts: Optional[pulumi.Input[GetMetricsAccountTimeoutsArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMetricsAccountResult]
func LookupMetricsAccount(ctx *Context, args *LookupMetricsAccountArgs, opts ...InvokeOption) (*LookupMetricsAccountResult, error)
func LookupMetricsAccountOutput(ctx *Context, args *LookupMetricsAccountOutputArgs, opts ...InvokeOption) LookupMetricsAccountResultOutput
> Note: This function is named LookupMetricsAccount
in the Go SDK.
public static class GetMetricsAccount
{
public static Task<GetMetricsAccountResult> InvokeAsync(GetMetricsAccountArgs args, InvokeOptions? opts = null)
public static Output<GetMetricsAccountResult> Invoke(GetMetricsAccountInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMetricsAccountResult> getMetricsAccount(GetMetricsAccountArgs args, InvokeOptions options)
public static Output<GetMetricsAccountResult> getMetricsAccount(GetMetricsAccountArgs args, InvokeOptions options)
fn::invoke:
function: logzio:index/getMetricsAccount:getMetricsAccount
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Id double - ID of the metrics account.
- Account
Name string - Account
Token string - List<double>
- Email string
- Id string
- Plan
Uts double - Timeouts
Get
Metrics Account Timeouts
- Account
Id float64 - ID of the metrics account.
- Account
Name string - Account
Token string - []float64
- Email string
- Id string
- Plan
Uts float64 - Timeouts
Get
Metrics Account Timeouts
- account
Id Double - ID of the metrics account.
- account
Name String - account
Token String - List<Double>
- email String
- id String
- plan
Uts Double - timeouts
Get
Metrics Account Timeouts
- account
Id number - ID of the metrics account.
- account
Name string - account
Token string - number[]
- email string
- id string
- plan
Uts number - timeouts
Get
Metrics Account Timeouts
- account_
id float - ID of the metrics account.
- account_
name str - account_
token str - Sequence[float]
- email str
- id str
- plan_
uts float - timeouts
Get
Metrics Account Timeouts
- account
Id Number - ID of the metrics account.
- account
Name String - account
Token String - List<Number>
- email String
- id String
- plan
Uts Number - timeouts Property Map
getMetricsAccount Result
The following output properties are available:
- Id string
- Account
Id double - Account
Name string - Account
Token string - List<double>
- Email string
- Plan
Uts double - Timeouts
Get
Metrics Account Timeouts
- Id string
- Account
Id float64 - Account
Name string - Account
Token string - []float64
- Email string
- Plan
Uts float64 - Timeouts
Get
Metrics Account Timeouts
- id String
- account
Id Double - account
Name String - account
Token String - List<Double>
- email String
- plan
Uts Double - timeouts
Get
Metrics Account Timeouts
- id string
- account
Id number - account
Name string - account
Token string - number[]
- email string
- plan
Uts number - timeouts
Get
Metrics Account Timeouts
- id str
- account_
id float - account_
name str - account_
token str - Sequence[float]
- email str
- plan_
uts float - timeouts
Get
Metrics Account Timeouts
- id String
- account
Id Number - account
Name String - account
Token String - List<Number>
- email String
- plan
Uts Number - timeouts Property Map
Supporting Types
GetMetricsAccountTimeouts
- Read string
- Read string
- read String
- read string
- read str
- read String
Package Details
- Repository
- logzio logzio/terraform-provider-logzio
- License
- Notes
- This Pulumi package is based on the
logzio
Terraform Provider.