logzio 1.17.1 published on Monday, Apr 14, 2025 by logzio
logzio.getLogShippingToken
Explore with Pulumi AI
# Log Shipping Token Datasource
Use this data source to access information about existing Logz.io log shipping tokens.
- Learn more about log shipping tokens in the Logz.io Docs.
Attribute Reference
- token- (String) The log shipping token itself.
- updated_at- (Integer) Unix timestamp of when this log shipping token was last updated.
- updated_by- (String) Email address of the last user to update this log shipping token.
- created_at- (Integer) Unix timestamp of when this log shipping token was created.
- created_by- (String) Email address of the user who created this log shipping token.
Using getLogShippingToken
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 getLogShippingToken(args: GetLogShippingTokenArgs, opts?: InvokeOptions): Promise<GetLogShippingTokenResult>
function getLogShippingTokenOutput(args: GetLogShippingTokenOutputArgs, opts?: InvokeOptions): Output<GetLogShippingTokenResult>def get_log_shipping_token(enabled: Optional[bool] = None,
                           id: Optional[str] = None,
                           name: Optional[str] = None,
                           token_id: Optional[float] = None,
                           opts: Optional[InvokeOptions] = None) -> GetLogShippingTokenResult
def get_log_shipping_token_output(enabled: Optional[pulumi.Input[bool]] = None,
                           id: Optional[pulumi.Input[str]] = None,
                           name: Optional[pulumi.Input[str]] = None,
                           token_id: Optional[pulumi.Input[float]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetLogShippingTokenResult]func LookupLogShippingToken(ctx *Context, args *LookupLogShippingTokenArgs, opts ...InvokeOption) (*LookupLogShippingTokenResult, error)
func LookupLogShippingTokenOutput(ctx *Context, args *LookupLogShippingTokenOutputArgs, opts ...InvokeOption) LookupLogShippingTokenResultOutput> Note: This function is named LookupLogShippingToken in the Go SDK.
public static class GetLogShippingToken 
{
    public static Task<GetLogShippingTokenResult> InvokeAsync(GetLogShippingTokenArgs args, InvokeOptions? opts = null)
    public static Output<GetLogShippingTokenResult> Invoke(GetLogShippingTokenInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLogShippingTokenResult> getLogShippingToken(GetLogShippingTokenArgs args, InvokeOptions options)
public static Output<GetLogShippingTokenResult> getLogShippingToken(GetLogShippingTokenArgs args, InvokeOptions options)
fn::invoke:
  function: logzio:index/getLogShippingToken:getLogShippingToken
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Enabled bool
- To enable this log shipping token, true. To disable, false. Note: this argument can only be set after the creation of the token. Each token is created with the enabledargument set to true. You can set this field tofalseon update.
- Id string
- Name string
- Descriptive name for this log shipping token.
- TokenId double
- The log shipping token's ID.
- Enabled bool
- To enable this log shipping token, true. To disable, false. Note: this argument can only be set after the creation of the token. Each token is created with the enabledargument set to true. You can set this field tofalseon update.
- Id string
- Name string
- Descriptive name for this log shipping token.
- TokenId float64
- The log shipping token's ID.
- enabled Boolean
- To enable this log shipping token, true. To disable, false. Note: this argument can only be set after the creation of the token. Each token is created with the enabledargument set to true. You can set this field tofalseon update.
- id String
- name String
- Descriptive name for this log shipping token.
- tokenId Double
- The log shipping token's ID.
- enabled boolean
- To enable this log shipping token, true. To disable, false. Note: this argument can only be set after the creation of the token. Each token is created with the enabledargument set to true. You can set this field tofalseon update.
- id string
- name string
- Descriptive name for this log shipping token.
- tokenId number
- The log shipping token's ID.
- enabled bool
- To enable this log shipping token, true. To disable, false. Note: this argument can only be set after the creation of the token. Each token is created with the enabledargument set to true. You can set this field tofalseon update.
- id str
- name str
- Descriptive name for this log shipping token.
- token_id float
- The log shipping token's ID.
- enabled Boolean
- To enable this log shipping token, true. To disable, false. Note: this argument can only be set after the creation of the token. Each token is created with the enabledargument set to true. You can set this field tofalseon update.
- id String
- name String
- Descriptive name for this log shipping token.
- tokenId Number
- The log shipping token's ID.
getLogShippingToken Result
The following output properties are available:
- created_at float
- created_by str
- id str
- token str
- updated_at float
- updated_by str
- enabled bool
- name str
- token_id float
Package Details
- Repository
- logzio logzio/terraform-provider-logzio
- License
- Notes
- This Pulumi package is based on the logzioTerraform Provider.