1. Packages
  2. Azure Native
  3. API Docs
  4. desktopvirtualization
  5. getHostPoolRegistrationToken
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.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.desktopvirtualization.getHostPoolRegistrationToken

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.47.1 published on Monday, Jun 24, 2024 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.

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:desktopvirtualization:getHostPoolRegistrationToken
      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.

    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 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.47.1 published on Monday, Jun 24, 2024 by Pulumi