Viewing docs for turso 0.2.3
published on Friday, Mar 7, 2025 by DEPRECATED
published on Friday, Mar 7, 2025 by DEPRECATED
Viewing docs for turso 0.2.3
published on Friday, Mar 7, 2025 by DEPRECATED
published on Friday, Mar 7, 2025 by DEPRECATED
Using getDatabaseToken
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 getDatabaseToken(args: GetDatabaseTokenArgs, opts?: InvokeOptions): Promise<GetDatabaseTokenResult>
function getDatabaseTokenOutput(args: GetDatabaseTokenOutputArgs, opts?: InvokeOptions): Output<GetDatabaseTokenResult>def get_database_token(authorization: Optional[str] = None,
expiration: Optional[str] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDatabaseTokenResult
def get_database_token_output(authorization: pulumi.Input[Optional[str]] = None,
expiration: pulumi.Input[Optional[str]] = None,
id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseTokenResult]func GetDatabaseToken(ctx *Context, args *GetDatabaseTokenArgs, opts ...InvokeOption) (*GetDatabaseTokenResult, error)
func GetDatabaseTokenOutput(ctx *Context, args *GetDatabaseTokenOutputArgs, opts ...InvokeOption) GetDatabaseTokenResultOutput> Note: This function is named GetDatabaseToken in the Go SDK.
public static class GetDatabaseToken
{
public static Task<GetDatabaseTokenResult> InvokeAsync(GetDatabaseTokenArgs args, InvokeOptions? opts = null)
public static Output<GetDatabaseTokenResult> Invoke(GetDatabaseTokenInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDatabaseTokenResult> getDatabaseToken(GetDatabaseTokenArgs args, InvokeOptions options)
public static Output<GetDatabaseTokenResult> getDatabaseToken(GetDatabaseTokenArgs args, InvokeOptions options)
fn::invoke:
function: turso:index/getDatabaseToken:getDatabaseToken
arguments:
# arguments dictionarydata "turso_getdatabasetoken" "name" {
# arguments
}The following arguments are supported:
- Id string
- The name of the database.
- string
- Authorization level for the token (full-access or read-only).
- Expiration string
- Expiration time for the token (e.g., 2w1d30m).
- Id string
- The name of the database.
- string
- Authorization level for the token (full-access or read-only).
- Expiration string
- Expiration time for the token (e.g., 2w1d30m).
- id string
- The name of the database.
- string
- Authorization level for the token (full-access or read-only).
- expiration string
- Expiration time for the token (e.g., 2w1d30m).
- id String
- The name of the database.
- String
- Authorization level for the token (full-access or read-only).
- expiration String
- Expiration time for the token (e.g., 2w1d30m).
- id string
- The name of the database.
- string
- Authorization level for the token (full-access or read-only).
- expiration string
- Expiration time for the token (e.g., 2w1d30m).
- id str
- The name of the database.
- str
- Authorization level for the token (full-access or read-only).
- expiration str
- Expiration time for the token (e.g., 2w1d30m).
- id String
- The name of the database.
- String
- Authorization level for the token (full-access or read-only).
- expiration String
- Expiration time for the token (e.g., 2w1d30m).
getDatabaseToken Result
The following output properties are available:
- string
- Authorization level for the token (full-access or read-only).
- Expiration string
- Expiration time for the token (e.g., 2w1d30m).
- Id string
- The name of the database.
- Jwt string
- The generated authorization token (JWT).
- string
- Authorization level for the token (full-access or read-only).
- Expiration string
- Expiration time for the token (e.g., 2w1d30m).
- Id string
- The name of the database.
- Jwt string
- The generated authorization token (JWT).
- string
- Authorization level for the token (full-access or read-only).
- expiration string
- Expiration time for the token (e.g., 2w1d30m).
- id string
- The name of the database.
- jwt string
- The generated authorization token (JWT).
- String
- Authorization level for the token (full-access or read-only).
- expiration String
- Expiration time for the token (e.g., 2w1d30m).
- id String
- The name of the database.
- jwt String
- The generated authorization token (JWT).
- string
- Authorization level for the token (full-access or read-only).
- expiration string
- Expiration time for the token (e.g., 2w1d30m).
- id string
- The name of the database.
- jwt string
- The generated authorization token (JWT).
- str
- Authorization level for the token (full-access or read-only).
- expiration str
- Expiration time for the token (e.g., 2w1d30m).
- id str
- The name of the database.
- jwt str
- The generated authorization token (JWT).
- String
- Authorization level for the token (full-access or read-only).
- expiration String
- Expiration time for the token (e.g., 2w1d30m).
- id String
- The name of the database.
- jwt String
- The generated authorization token (JWT).
Package Details
- Repository
- turso celest-dev/terraform-provider-turso
- License
- Notes
- This Pulumi package is based on the
tursoTerraform Provider.
Viewing docs for turso 0.2.3
published on Friday, Mar 7, 2025 by DEPRECATED
published on Friday, Mar 7, 2025 by DEPRECATED