1. Packages
  2. Azure Native
  3. API Docs
  4. desktopvirtualization
  5. listHostPoolRegistrationTokens
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.desktopvirtualization.listHostPoolRegistrationTokens

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    Operation to list the RegistrationTokens associated with the HostPool. Azure REST API version: 2024-04-08-preview.

    Other available API versions: 2024-04-03, 2024-08-08-preview.

    Using listHostPoolRegistrationTokens

    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 listHostPoolRegistrationTokens(args: ListHostPoolRegistrationTokensArgs, opts?: InvokeOptions): Promise<ListHostPoolRegistrationTokensResult>
    function listHostPoolRegistrationTokensOutput(args: ListHostPoolRegistrationTokensOutputArgs, opts?: InvokeOptions): Output<ListHostPoolRegistrationTokensResult>
    def list_host_pool_registration_tokens(host_pool_name: Optional[str] = None,
                                           resource_group_name: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> ListHostPoolRegistrationTokensResult
    def list_host_pool_registration_tokens_output(host_pool_name: Optional[pulumi.Input[str]] = None,
                                           resource_group_name: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[ListHostPoolRegistrationTokensResult]
    func ListHostPoolRegistrationTokens(ctx *Context, args *ListHostPoolRegistrationTokensArgs, opts ...InvokeOption) (*ListHostPoolRegistrationTokensResult, error)
    func ListHostPoolRegistrationTokensOutput(ctx *Context, args *ListHostPoolRegistrationTokensOutputArgs, opts ...InvokeOption) ListHostPoolRegistrationTokensResultOutput

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

    public static class ListHostPoolRegistrationTokens 
    {
        public static Task<ListHostPoolRegistrationTokensResult> InvokeAsync(ListHostPoolRegistrationTokensArgs args, InvokeOptions? opts = null)
        public static Output<ListHostPoolRegistrationTokensResult> Invoke(ListHostPoolRegistrationTokensInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ListHostPoolRegistrationTokensResult> listHostPoolRegistrationTokens(ListHostPoolRegistrationTokensArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:desktopvirtualization:listHostPoolRegistrationTokens
      arguments:
        # arguments dictionary

    The following arguments are supported:

    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.
    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.
    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.
    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.
    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.
    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.

    listHostPoolRegistrationTokens 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 v1 docs if using the v1 version of this package.
    Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi