1. Packages
  2. Logzio Provider
  3. API Docs
  4. getLogShippingToken
logzio 1.17.1 published on Monday, Apr 14, 2025 by logzio

logzio.getLogShippingToken

Explore with Pulumi AI

logzio logo
logzio 1.17.1 published on Monday, Apr 14, 2025 by logzio

    # Log Shipping Token Datasource

    Use this data source to access information about existing Logz.io log shipping tokens.

    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 dictionary

    The 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 enabled argument set to true. You can set this field to false on 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 enabled argument set to true. You can set this field to false on 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 enabled argument set to true. You can set this field to false on 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 enabled argument set to true. You can set this field to false on 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 enabled argument set to true. You can set this field to false on 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 enabled argument set to true. You can set this field to false on 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:

    CreatedAt double
    CreatedBy string
    Id string
    Token string
    UpdatedAt double
    UpdatedBy string
    Enabled bool
    Name string
    TokenId double
    CreatedAt float64
    CreatedBy string
    Id string
    Token string
    UpdatedAt float64
    UpdatedBy string
    Enabled bool
    Name string
    TokenId float64
    createdAt Double
    createdBy String
    id String
    token String
    updatedAt Double
    updatedBy String
    enabled Boolean
    name String
    tokenId Double
    createdAt number
    createdBy string
    id string
    token string
    updatedAt number
    updatedBy string
    enabled boolean
    name string
    tokenId number
    createdAt Number
    createdBy String
    id String
    token String
    updatedAt Number
    updatedBy String
    enabled Boolean
    name String
    tokenId Number

    Package Details

    Repository
    logzio logzio/terraform-provider-logzio
    License
    Notes
    This Pulumi package is based on the logzio Terraform Provider.
    logzio logo
    logzio 1.17.1 published on Monday, Apr 14, 2025 by logzio