1. Packages
  2. Azure Native v2
  3. API Docs
  4. desktopvirtualization
  5. getHostPoolRegistrationToken
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.desktopvirtualization.getHostPoolRegistrationToken

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Registration token of the host pool. Azure REST API version: 2022-09-09.

Other available API versions: 2022-04-01-preview, 2022-10-14-preview, 2023-07-07-preview, 2023-09-05, 2023-10-04-preview, 2023-11-01-preview, 2024-01-16-preview, 2024-03-06-preview, 2024-04-03, 2024-04-08-preview, 2024-08-08-preview.

Using getHostPoolRegistrationToken

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 getHostPoolRegistrationToken(args: GetHostPoolRegistrationTokenArgs, opts?: InvokeOptions): Promise<GetHostPoolRegistrationTokenResult>
function getHostPoolRegistrationTokenOutput(args: GetHostPoolRegistrationTokenOutputArgs, opts?: InvokeOptions): Output<GetHostPoolRegistrationTokenResult>
Copy
def get_host_pool_registration_token(host_pool_name: Optional[str] = None,
                                     resource_group_name: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetHostPoolRegistrationTokenResult
def get_host_pool_registration_token_output(host_pool_name: Optional[pulumi.Input[str]] = None,
                                     resource_group_name: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetHostPoolRegistrationTokenResult]
Copy
func GetHostPoolRegistrationToken(ctx *Context, args *GetHostPoolRegistrationTokenArgs, opts ...InvokeOption) (*GetHostPoolRegistrationTokenResult, error)
func GetHostPoolRegistrationTokenOutput(ctx *Context, args *GetHostPoolRegistrationTokenOutputArgs, opts ...InvokeOption) GetHostPoolRegistrationTokenResultOutput
Copy

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

public static class GetHostPoolRegistrationToken 
{
    public static Task<GetHostPoolRegistrationTokenResult> InvokeAsync(GetHostPoolRegistrationTokenArgs args, InvokeOptions? opts = null)
    public static Output<GetHostPoolRegistrationTokenResult> Invoke(GetHostPoolRegistrationTokenInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetHostPoolRegistrationTokenResult> getHostPoolRegistrationToken(GetHostPoolRegistrationTokenArgs args, InvokeOptions options)
public static Output<GetHostPoolRegistrationTokenResult> getHostPoolRegistrationToken(GetHostPoolRegistrationTokenArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:desktopvirtualization:getHostPoolRegistrationToken
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

HostPoolName
This property is required.
Changes to this property will trigger replacement.
string
The name of the host pool within the specified resource group
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
HostPoolName
This property is required.
Changes to this property will trigger replacement.
string
The name of the host pool within the specified resource group
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
hostPoolName
This property is required.
Changes to this property will trigger replacement.
String
The name of the host pool within the specified resource group
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
hostPoolName
This property is required.
Changes to this property will trigger replacement.
string
The name of the host pool within the specified resource group
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
host_pool_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the host pool within the specified resource group
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
hostPoolName
This property is required.
Changes to this property will trigger replacement.
String
The name of the host pool within the specified resource group
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.

getHostPoolRegistrationToken Result

The following output properties are available:

ExpirationTime string
Expiration time of registration token.
RegistrationTokenOperation string
The type of resetting the token.
Token string
The registration token base64 encoded string.
ExpirationTime string
Expiration time of registration token.
RegistrationTokenOperation string
The type of resetting the token.
Token string
The registration token base64 encoded string.
expirationTime String
Expiration time of registration token.
registrationTokenOperation String
The type of resetting the token.
token String
The registration token base64 encoded string.
expirationTime string
Expiration time of registration token.
registrationTokenOperation string
The type of resetting the token.
token string
The registration token base64 encoded string.
expiration_time str
Expiration time of registration token.
registration_token_operation str
The type of resetting the token.
token str
The registration token base64 encoded string.
expirationTime String
Expiration time of registration token.
registrationTokenOperation String
The type of resetting the token.
token String
The registration token base64 encoded string.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi