1. Packages
  2. Azure Native
  3. API Docs
  4. desktopvirtualization
  5. listSessionHostSingleRegistrationTokens
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.16.0
published on Friday, Mar 20, 2026 by Pulumi
azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.16.0
published on Friday, Mar 20, 2026 by Pulumi

    Operation to list the scoped RegistrationTokens associated with the SessionHost.

    Uses Azure REST API version 2026-01-01-preview.

    Using listSessionHostSingleRegistrationTokens

    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 listSessionHostSingleRegistrationTokens(args: ListSessionHostSingleRegistrationTokensArgs, opts?: InvokeOptions): Promise<ListSessionHostSingleRegistrationTokensResult>
    function listSessionHostSingleRegistrationTokensOutput(args: ListSessionHostSingleRegistrationTokensOutputArgs, opts?: InvokeOptions): Output<ListSessionHostSingleRegistrationTokensResult>
    def list_session_host_single_registration_tokens(expiration_time_in_utc: Optional[str] = None,
                                                     host_pool_name: Optional[str] = None,
                                                     resource_group_name: Optional[str] = None,
                                                     session_host_name: Optional[str] = None,
                                                     opts: Optional[InvokeOptions] = None) -> ListSessionHostSingleRegistrationTokensResult
    def list_session_host_single_registration_tokens_output(expiration_time_in_utc: Optional[pulumi.Input[str]] = None,
                                                     host_pool_name: Optional[pulumi.Input[str]] = None,
                                                     resource_group_name: Optional[pulumi.Input[str]] = None,
                                                     session_host_name: Optional[pulumi.Input[str]] = None,
                                                     opts: Optional[InvokeOptions] = None) -> Output[ListSessionHostSingleRegistrationTokensResult]
    func ListSessionHostSingleRegistrationTokens(ctx *Context, args *ListSessionHostSingleRegistrationTokensArgs, opts ...InvokeOption) (*ListSessionHostSingleRegistrationTokensResult, error)
    func ListSessionHostSingleRegistrationTokensOutput(ctx *Context, args *ListSessionHostSingleRegistrationTokensOutputArgs, opts ...InvokeOption) ListSessionHostSingleRegistrationTokensResultOutput

    > Note: This function is named ListSessionHostSingleRegistrationTokens in the Go SDK.

    public static class ListSessionHostSingleRegistrationTokens 
    {
        public static Task<ListSessionHostSingleRegistrationTokensResult> InvokeAsync(ListSessionHostSingleRegistrationTokensArgs args, InvokeOptions? opts = null)
        public static Output<ListSessionHostSingleRegistrationTokensResult> Invoke(ListSessionHostSingleRegistrationTokensInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ListSessionHostSingleRegistrationTokensResult> listSessionHostSingleRegistrationTokens(ListSessionHostSingleRegistrationTokensArgs args, InvokeOptions options)
    public static Output<ListSessionHostSingleRegistrationTokensResult> listSessionHostSingleRegistrationTokens(ListSessionHostSingleRegistrationTokensArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:desktopvirtualization:listSessionHostSingleRegistrationTokens
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ExpirationTimeInUtc string
    Expiration time of the registration token in UTC.
    HostPoolName string
    The name of the host pool within the specified resource group
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    SessionHostName string
    The name of the session host within the specified host pool
    ExpirationTimeInUtc string
    Expiration time of the registration token in UTC.
    HostPoolName string
    The name of the host pool within the specified resource group
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    SessionHostName string
    The name of the session host within the specified host pool
    expirationTimeInUtc String
    Expiration time of the registration token in UTC.
    hostPoolName String
    The name of the host pool within the specified resource group
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    sessionHostName String
    The name of the session host within the specified host pool
    expirationTimeInUtc string
    Expiration time of the registration token in UTC.
    hostPoolName string
    The name of the host pool within the specified resource group
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    sessionHostName string
    The name of the session host within the specified host pool
    expiration_time_in_utc str
    Expiration time of the registration token in UTC.
    host_pool_name str
    The name of the host pool within the specified resource group
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    session_host_name str
    The name of the session host within the specified host pool
    expirationTimeInUtc String
    Expiration time of the registration token in UTC.
    hostPoolName String
    The name of the host pool within the specified resource group
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    sessionHostName String
    The name of the session host within the specified host pool

    listSessionHostSingleRegistrationTokens Result

    The following output properties are available:

    NextLink string
    Link to the next page of results.
    Value List<Pulumi.AzureNative.DesktopVirtualization.Outputs.RegistrationTokenMinimalResponse>
    List of RegistrationToken definitions.
    NextLink string
    Link to the next page of results.
    Value []RegistrationTokenMinimalResponse
    List of RegistrationToken definitions.
    nextLink String
    Link to the next page of results.
    value List<RegistrationTokenMinimalResponse>
    List of RegistrationToken definitions.
    nextLink string
    Link to the next page of results.
    value RegistrationTokenMinimalResponse[]
    List of RegistrationToken definitions.
    next_link str
    Link to the next page of results.
    value Sequence[RegistrationTokenMinimalResponse]
    List of RegistrationToken definitions.
    nextLink String
    Link to the next page of results.
    value List<Property Map>
    List of RegistrationToken definitions.

    Supporting Types

    RegistrationTokenMinimalResponse

    ExpirationTime string
    Expiration time of registration token.
    Token string
    The registration token base64 encoded string.
    ExpirationTime string
    Expiration time of registration token.
    Token string
    The registration token base64 encoded string.
    expirationTime String
    Expiration time of registration token.
    token String
    The registration token base64 encoded string.
    expirationTime string
    Expiration time of registration token.
    token string
    The registration token base64 encoded string.
    expiration_time str
    Expiration time of registration token.
    token str
    The registration token base64 encoded string.
    expirationTime String
    Expiration time of registration token.
    token String
    The registration token base64 encoded string.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Viewing docs for Azure Native v3.16.0
    published on Friday, Mar 20, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.