Astra DB v1.0.42 published on Tuesday, Jun 6, 2023 by pulumiverse
astra.getStreamingTenantTokens
Explore with Pulumi AI
astra.getStreamingTenantTokens
provides a datasource that lists streaming tenant tokens.
Using getStreamingTenantTokens
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 getStreamingTenantTokens(args: GetStreamingTenantTokensArgs, opts?: InvokeOptions): Promise<GetStreamingTenantTokensResult>
function getStreamingTenantTokensOutput(args: GetStreamingTenantTokensOutputArgs, opts?: InvokeOptions): Output<GetStreamingTenantTokensResult>
def get_streaming_tenant_tokens(cluster_name: Optional[str] = None,
tenant_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetStreamingTenantTokensResult
def get_streaming_tenant_tokens_output(cluster_name: Optional[pulumi.Input[str]] = None,
tenant_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetStreamingTenantTokensResult]
func GetStreamingTenantTokens(ctx *Context, args *GetStreamingTenantTokensArgs, opts ...InvokeOption) (*GetStreamingTenantTokensResult, error)
func GetStreamingTenantTokensOutput(ctx *Context, args *GetStreamingTenantTokensOutputArgs, opts ...InvokeOption) GetStreamingTenantTokensResultOutput
> Note: This function is named GetStreamingTenantTokens
in the Go SDK.
public static class GetStreamingTenantTokens
{
public static Task<GetStreamingTenantTokensResult> InvokeAsync(GetStreamingTenantTokensArgs args, InvokeOptions? opts = null)
public static Output<GetStreamingTenantTokensResult> Invoke(GetStreamingTenantTokensInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetStreamingTenantTokensResult> getStreamingTenantTokens(GetStreamingTenantTokensArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: astra:index/getStreamingTenantTokens:getStreamingTenantTokens
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Name string - Name of the Pulsar Cluster. Format:
pulsar-<cloud provider>-<cloud region>
. Example:pulsar-gcp-useast1
- Tenant
Name string - Name of the streaming tenant for which to fetch tokens.
- Cluster
Name string - Name of the Pulsar Cluster. Format:
pulsar-<cloud provider>-<cloud region>
. Example:pulsar-gcp-useast1
- Tenant
Name string - Name of the streaming tenant for which to fetch tokens.
- cluster
Name String - Name of the Pulsar Cluster. Format:
pulsar-<cloud provider>-<cloud region>
. Example:pulsar-gcp-useast1
- tenant
Name String - Name of the streaming tenant for which to fetch tokens.
- cluster
Name string - Name of the Pulsar Cluster. Format:
pulsar-<cloud provider>-<cloud region>
. Example:pulsar-gcp-useast1
- tenant
Name string - Name of the streaming tenant for which to fetch tokens.
- cluster_
name str - Name of the Pulsar Cluster. Format:
pulsar-<cloud provider>-<cloud region>
. Example:pulsar-gcp-useast1
- tenant_
name str - Name of the streaming tenant for which to fetch tokens.
- cluster
Name String - Name of the Pulsar Cluster. Format:
pulsar-<cloud provider>-<cloud region>
. Example:pulsar-gcp-useast1
- tenant
Name String - Name of the streaming tenant for which to fetch tokens.
getStreamingTenantTokens Result
The following output properties are available:
- Cluster
Name string - Name of the Pulsar Cluster. Format:
pulsar-<cloud provider>-<cloud region>
. Example:pulsar-gcp-useast1
- Id string
- The provider-assigned unique ID for this managed resource.
- Tenant
Name string - Name of the streaming tenant for which to fetch tokens.
- Tokens
List<Pulumiverse.
Astra. Outputs. Get Streaming Tenant Tokens Token> - The list of tokens for the specified tenant.
- Cluster
Name string - Name of the Pulsar Cluster. Format:
pulsar-<cloud provider>-<cloud region>
. Example:pulsar-gcp-useast1
- Id string
- The provider-assigned unique ID for this managed resource.
- Tenant
Name string - Name of the streaming tenant for which to fetch tokens.
- Tokens
[]Get
Streaming Tenant Tokens Token - The list of tokens for the specified tenant.
- cluster
Name String - Name of the Pulsar Cluster. Format:
pulsar-<cloud provider>-<cloud region>
. Example:pulsar-gcp-useast1
- id String
- The provider-assigned unique ID for this managed resource.
- tenant
Name String - Name of the streaming tenant for which to fetch tokens.
- tokens
List<Get
Streaming Tenant Tokens Token> - The list of tokens for the specified tenant.
- cluster
Name string - Name of the Pulsar Cluster. Format:
pulsar-<cloud provider>-<cloud region>
. Example:pulsar-gcp-useast1
- id string
- The provider-assigned unique ID for this managed resource.
- tenant
Name string - Name of the streaming tenant for which to fetch tokens.
- tokens
Get
Streaming Tenant Tokens Token[] - The list of tokens for the specified tenant.
- cluster_
name str - Name of the Pulsar Cluster. Format:
pulsar-<cloud provider>-<cloud region>
. Example:pulsar-gcp-useast1
- id str
- The provider-assigned unique ID for this managed resource.
- tenant_
name str - Name of the streaming tenant for which to fetch tokens.
- tokens
Sequence[Get
Streaming Tenant Tokens Token] - The list of tokens for the specified tenant.
- cluster
Name String - Name of the Pulsar Cluster. Format:
pulsar-<cloud provider>-<cloud region>
. Example:pulsar-gcp-useast1
- id String
- The provider-assigned unique ID for this managed resource.
- tenant
Name String - Name of the streaming tenant for which to fetch tokens.
- tokens List<Property Map>
- The list of tokens for the specified tenant.
Supporting Types
GetStreamingTenantTokensToken
Package Details
- Repository
- astra pulumiverse/pulumi-astra
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
astra
Terraform Provider.