dbt Cloud v0.1.8 published on Tuesday, Jun 11, 2024 by Pulumi
dbtcloud.getServiceToken
Explore with Pulumi AI
Using getServiceToken
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 getServiceToken(args: GetServiceTokenArgs, opts?: InvokeOptions): Promise<GetServiceTokenResult>
function getServiceTokenOutput(args: GetServiceTokenOutputArgs, opts?: InvokeOptions): Output<GetServiceTokenResult>
def get_service_token(service_token_id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceTokenResult
def get_service_token_output(service_token_id: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServiceTokenResult]
func LookupServiceToken(ctx *Context, args *LookupServiceTokenArgs, opts ...InvokeOption) (*LookupServiceTokenResult, error)
func LookupServiceTokenOutput(ctx *Context, args *LookupServiceTokenOutputArgs, opts ...InvokeOption) LookupServiceTokenResultOutput
> Note: This function is named LookupServiceToken
in the Go SDK.
public static class GetServiceToken
{
public static Task<GetServiceTokenResult> InvokeAsync(GetServiceTokenArgs args, InvokeOptions? opts = null)
public static Output<GetServiceTokenResult> Invoke(GetServiceTokenInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetServiceTokenResult> getServiceToken(GetServiceTokenArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: dbtcloud:index/getServiceToken:getServiceToken
arguments:
# arguments dictionary
The following arguments are supported:
- Service
Token intId - ID of the service token
- Service
Token intId - ID of the service token
- service
Token IntegerId - ID of the service token
- service
Token numberId - ID of the service token
- service_
token_ intid - ID of the service token
- service
Token NumberId - ID of the service token
getServiceToken Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Service token name
- Service
Token intId - ID of the service token
- Service
Token List<Pulumi.Permissions Dbt Cloud. Outputs. Get Service Token Service Token Permission> - Permissions set for the service token
- Uid string
- The UID of the service token (part of the token secret)
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Service token name
- Service
Token intId - ID of the service token
- Service
Token []GetPermissions Service Token Service Token Permission - Permissions set for the service token
- Uid string
- The UID of the service token (part of the token secret)
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Service token name
- service
Token IntegerId - ID of the service token
- service
Token List<GetPermissions Service Token Service Token Permission> - Permissions set for the service token
- uid String
- The UID of the service token (part of the token secret)
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Service token name
- service
Token numberId - ID of the service token
- service
Token GetPermissions Service Token Service Token Permission[] - Permissions set for the service token
- uid string
- The UID of the service token (part of the token secret)
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Service token name
- service_
token_ intid - ID of the service token
- service_
token_ Sequence[Getpermissions Service Token Service Token Permission] - Permissions set for the service token
- uid str
- The UID of the service token (part of the token secret)
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Service token name
- service
Token NumberId - ID of the service token
- service
Token List<Property Map>Permissions - Permissions set for the service token
- uid String
- The UID of the service token (part of the token secret)
Supporting Types
GetServiceTokenServiceTokenPermission
- All
Projects bool - Whether or not to apply this permission to all projects for this service token
- Permission
Set string - Set of permissions to apply
- Project
Id int - Project ID to apply this permission to for this service token
- All
Projects bool - Whether or not to apply this permission to all projects for this service token
- Permission
Set string - Set of permissions to apply
- Project
Id int - Project ID to apply this permission to for this service token
- all
Projects Boolean - Whether or not to apply this permission to all projects for this service token
- permission
Set String - Set of permissions to apply
- project
Id Integer - Project ID to apply this permission to for this service token
- all
Projects boolean - Whether or not to apply this permission to all projects for this service token
- permission
Set string - Set of permissions to apply
- project
Id number - Project ID to apply this permission to for this service token
- all_
projects bool - Whether or not to apply this permission to all projects for this service token
- permission_
set str - Set of permissions to apply
- project_
id int - Project ID to apply this permission to for this service token
- all
Projects Boolean - Whether or not to apply this permission to all projects for this service token
- permission
Set String - Set of permissions to apply
- project
Id Number - Project ID to apply this permission to for this service token
Package Details
- Repository
- dbtcloud pulumi/pulumi-dbtcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dbtcloud
Terraform Provider.