1. Packages
  2. Astra DB
  3. API Docs
  4. getStreamingTenantTokens
Astra DB v1.0.42 published on Tuesday, Jun 6, 2023 by pulumiverse

astra.getStreamingTenantTokens

Explore with Pulumi AI

astra logo
Astra DB v1.0.42 published on Tuesday, Jun 6, 2023 by pulumiverse

    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:

    ClusterName string
    Name of the Pulsar Cluster. Format: pulsar-<cloud provider>-<cloud region>. Example: pulsar-gcp-useast1
    TenantName string
    Name of the streaming tenant for which to fetch tokens.
    ClusterName string
    Name of the Pulsar Cluster. Format: pulsar-<cloud provider>-<cloud region>. Example: pulsar-gcp-useast1
    TenantName string
    Name of the streaming tenant for which to fetch tokens.
    clusterName String
    Name of the Pulsar Cluster. Format: pulsar-<cloud provider>-<cloud region>. Example: pulsar-gcp-useast1
    tenantName String
    Name of the streaming tenant for which to fetch tokens.
    clusterName string
    Name of the Pulsar Cluster. Format: pulsar-<cloud provider>-<cloud region>. Example: pulsar-gcp-useast1
    tenantName 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.
    clusterName String
    Name of the Pulsar Cluster. Format: pulsar-<cloud provider>-<cloud region>. Example: pulsar-gcp-useast1
    tenantName String
    Name of the streaming tenant for which to fetch tokens.

    getStreamingTenantTokens Result

    The following output properties are available:

    ClusterName 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.
    TenantName string
    Name of the streaming tenant for which to fetch tokens.
    Tokens List<Pulumiverse.Astra.Outputs.GetStreamingTenantTokensToken>
    The list of tokens for the specified tenant.
    ClusterName 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.
    TenantName string
    Name of the streaming tenant for which to fetch tokens.
    Tokens []GetStreamingTenantTokensToken
    The list of tokens for the specified tenant.
    clusterName 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.
    tenantName String
    Name of the streaming tenant for which to fetch tokens.
    tokens List<GetStreamingTenantTokensToken>
    The list of tokens for the specified tenant.
    clusterName 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.
    tenantName string
    Name of the streaming tenant for which to fetch tokens.
    tokens GetStreamingTenantTokensToken[]
    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[GetStreamingTenantTokensToken]
    The list of tokens for the specified tenant.
    clusterName 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.
    tenantName 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

    Iat int
    Iss string
    Sub string
    Token string
    TokenId string
    Iat int
    Iss string
    Sub string
    Token string
    TokenId string
    iat Integer
    iss String
    sub String
    token String
    tokenId String
    iat number
    iss string
    sub string
    token string
    tokenId string
    iat int
    iss str
    sub str
    token str
    token_id str
    iat Number
    iss String
    sub String
    token String
    tokenId String

    Package Details

    Repository
    astra pulumiverse/pulumi-astra
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the astra Terraform Provider.
    astra logo
    Astra DB v1.0.42 published on Tuesday, Jun 6, 2023 by pulumiverse