azure-native.desktopvirtualization.getHostPoolRegistrationToken
Explore with Pulumi AI
Registration token of the host pool.
Uses Azure REST API version 2024-04-03.
Other available API versions: 2022-09-09, 2022-10-14-preview, 2023-09-05, 2023-10-04-preview, 2023-11-01-preview, 2024-01-16-preview, 2024-03-06-preview, 2024-04-08-preview, 2024-08-08-preview, 2024-11-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native desktopvirtualization [ApiVersion]. See the version guide for details.
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>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]func GetHostPoolRegistrationToken(ctx *Context, args *GetHostPoolRegistrationTokenArgs, opts ...InvokeOption) (*GetHostPoolRegistrationTokenResult, error)
func GetHostPoolRegistrationTokenOutput(ctx *Context, args *GetHostPoolRegistrationTokenOutputArgs, opts ...InvokeOption) GetHostPoolRegistrationTokenResultOutput> 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)
}public static CompletableFuture<GetHostPoolRegistrationTokenResult> getHostPoolRegistrationToken(GetHostPoolRegistrationTokenArgs args, InvokeOptions options)
public static Output<GetHostPoolRegistrationTokenResult> getHostPoolRegistrationToken(GetHostPoolRegistrationTokenArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:desktopvirtualization:getHostPoolRegistrationToken
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Host
Pool stringName  - The name of the host pool within the specified resource group
 - Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- Host
Pool stringName  - The name of the host pool within the specified resource group
 - Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- host
Pool StringName  - The name of the host pool within the specified resource group
 - resource
Group StringName  - The name of the resource group. The name is case insensitive.
 
- host
Pool stringName  - The name of the host pool within the specified resource group
 - resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- host_
pool_ strname  - The name of the host pool within the specified resource group
 - resource_
group_ strname  - The name of the resource group. The name is case insensitive.
 
- host
Pool StringName  - The name of the host pool within the specified resource group
 - resource
Group StringName  - The name of the resource group. The name is case insensitive.
 
getHostPoolRegistrationToken Result
The following output properties are available:
- Expiration
Time string - Expiration time of registration token.
 - Registration
Token stringOperation  - The type of resetting the token.
 - Token string
 - The registration token base64 encoded string.
 
- Expiration
Time string - Expiration time of registration token.
 - Registration
Token stringOperation  - The type of resetting the token.
 - Token string
 - The registration token base64 encoded string.
 
- expiration
Time String - Expiration time of registration token.
 - registration
Token StringOperation  - The type of resetting the token.
 - token String
 - The registration token base64 encoded string.
 
- expiration
Time string - Expiration time of registration token.
 - registration
Token stringOperation  - The type of resetting the token.
 - token string
 - The registration token base64 encoded string.
 
- expiration_
time str - Expiration time of registration token.
 - registration_
token_ stroperation  - The type of resetting the token.
 - token str
 - The registration token base64 encoded string.
 
- expiration
Time String - Expiration time of registration token.
 - registration
Token StringOperation  - The type of resetting the token.
 - token String
 - The registration token base64 encoded string.
 
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0