InfluxDB3 v1.2.3 published on Sunday, Sep 29, 2024 by komminarlabs
influxdb3.getTokens
Explore with Pulumi AI
Gets all database tokens for a cluster.
Using getTokens
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 getTokens(opts?: InvokeOptions): Promise<GetTokensResult>
function getTokensOutput(opts?: InvokeOptions): Output<GetTokensResult>
def get_tokens(opts: Optional[InvokeOptions] = None) -> GetTokensResult
def get_tokens_output(opts: Optional[InvokeOptions] = None) -> Output[GetTokensResult]
func GetTokens(ctx *Context, opts ...InvokeOption) (*GetTokensResult, error)
func GetTokensOutput(ctx *Context, opts ...InvokeOption) GetTokensResultOutput
> Note: This function is named GetTokens
in the Go SDK.
public static class GetTokens
{
public static Task<GetTokensResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetTokensResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetTokensResult> getTokens(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: influxdb3:index/getTokens:getTokens
arguments:
# arguments dictionary
getTokens Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Tokens
List<Komminar
Labs. Influx DB3. Outputs. Get Tokens Token>
- Id string
- The provider-assigned unique ID for this managed resource.
- Tokens
[]Get
Tokens Token
- id String
- The provider-assigned unique ID for this managed resource.
- tokens
List<Get
Tokens Token>
- id string
- The provider-assigned unique ID for this managed resource.
- tokens
Get
Tokens Token[]
- id str
- The provider-assigned unique ID for this managed resource.
- tokens
Sequence[Get
Tokens Token]
- id String
- The provider-assigned unique ID for this managed resource.
- tokens List<Property Map>
Supporting Types
GetTokensToken
- Access
Token string - The access token that can be used to authenticate query and write requests to the cluster. The access token is never stored by InfluxDB and is only returned once when the token is created. If the access token is lost, a new token must be created.
- Account
Id string - The ID of the account that the database token belongs to.
- Cluster
Id string - The ID of the cluster that the database token belongs to.
- Created
At string - The date and time that the database token was created. Uses RFC3339 format.
- Description string
- The description of the database token.
- Id string
- The ID of the database token.
- Permissions
List<Komminar
Labs. Influx DB3. Inputs. Get Tokens Token Permission> - The list of permissions the database token allows.
- Access
Token string - The access token that can be used to authenticate query and write requests to the cluster. The access token is never stored by InfluxDB and is only returned once when the token is created. If the access token is lost, a new token must be created.
- Account
Id string - The ID of the account that the database token belongs to.
- Cluster
Id string - The ID of the cluster that the database token belongs to.
- Created
At string - The date and time that the database token was created. Uses RFC3339 format.
- Description string
- The description of the database token.
- Id string
- The ID of the database token.
- Permissions
[]Get
Tokens Token Permission - The list of permissions the database token allows.
- access
Token String - The access token that can be used to authenticate query and write requests to the cluster. The access token is never stored by InfluxDB and is only returned once when the token is created. If the access token is lost, a new token must be created.
- account
Id String - The ID of the account that the database token belongs to.
- cluster
Id String - The ID of the cluster that the database token belongs to.
- created
At String - The date and time that the database token was created. Uses RFC3339 format.
- description String
- The description of the database token.
- id String
- The ID of the database token.
- permissions
List<Get
Tokens Token Permission> - The list of permissions the database token allows.
- access
Token string - The access token that can be used to authenticate query and write requests to the cluster. The access token is never stored by InfluxDB and is only returned once when the token is created. If the access token is lost, a new token must be created.
- account
Id string - The ID of the account that the database token belongs to.
- cluster
Id string - The ID of the cluster that the database token belongs to.
- created
At string - The date and time that the database token was created. Uses RFC3339 format.
- description string
- The description of the database token.
- id string
- The ID of the database token.
- permissions
Get
Tokens Token Permission[] - The list of permissions the database token allows.
- access_
token str - The access token that can be used to authenticate query and write requests to the cluster. The access token is never stored by InfluxDB and is only returned once when the token is created. If the access token is lost, a new token must be created.
- account_
id str - The ID of the account that the database token belongs to.
- cluster_
id str - The ID of the cluster that the database token belongs to.
- created_
at str - The date and time that the database token was created. Uses RFC3339 format.
- description str
- The description of the database token.
- id str
- The ID of the database token.
- permissions
Sequence[Get
Tokens Token Permission] - The list of permissions the database token allows.
- access
Token String - The access token that can be used to authenticate query and write requests to the cluster. The access token is never stored by InfluxDB and is only returned once when the token is created. If the access token is lost, a new token must be created.
- account
Id String - The ID of the account that the database token belongs to.
- cluster
Id String - The ID of the cluster that the database token belongs to.
- created
At String - The date and time that the database token was created. Uses RFC3339 format.
- description String
- The description of the database token.
- id String
- The ID of the database token.
- permissions List<Property Map>
- The list of permissions the database token allows.
GetTokensTokenPermission
Package Details
- Repository
- influxdb3 komminarlabs/pulumi-influxdb3
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
influxdb3
Terraform Provider.