azure-native.desktopvirtualization.listHostPoolRegistrationTokens
Explore with Pulumi AI
Operation to list the RegistrationTokens associated with the HostPool
Uses Azure REST API version 2024-04-03.
Other available API versions: 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 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)
public static Output<ListHostPoolRegistrationTokensResult> listHostPoolRegistrationTokens(ListHostPoolRegistrationTokensArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:desktopvirtualization:listHostPoolRegistrationTokens
  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.
 
listHostPoolRegistrationTokens Result
The following output properties are available:
- Next
Link string - Link to the next page of results.
 - Value
List<Pulumi.
Azure Native. Desktop Virtualization. Outputs. Registration Token Minimal Response>  - List of RegistrationToken definitions.
 
- Next
Link string - Link to the next page of results.
 - Value
[]Registration
Token Minimal Response  - List of RegistrationToken definitions.
 
- next
Link String - Link to the next page of results.
 - value
List<Registration
Token Minimal Response>  - List of RegistrationToken definitions.
 
- next
Link string - Link to the next page of results.
 - value
Registration
Token Minimal Response[]  - List of RegistrationToken definitions.
 
- next_
link str - Link to the next page of results.
 - value
Sequence[Registration
Token Minimal Response]  - List of RegistrationToken definitions.
 
- next
Link String - Link to the next page of results.
 - value List<Property Map>
 - List of RegistrationToken definitions.
 
Supporting Types
RegistrationTokenMinimalResponse   
- Expiration
Time string - Expiration time of registration token.
 - Token string
 - The registration token base64 encoded string.
 
- Expiration
Time string - Expiration time of registration token.
 - Token string
 - The registration token base64 encoded string.
 
- expiration
Time String - Expiration time of registration token.
 - token String
 - The registration token base64 encoded string.
 
- expiration
Time 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.
 
- expiration
Time 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