1. Packages
  2. Azure Native
  3. API Docs
  4. solutions
  5. listApplicationTokens
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.solutions.listApplicationTokens

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

    List tokens for application. Azure REST API version: 2021-07-01.

    Other available API versions: 2018-06-01, 2023-12-01-preview.

    Using listApplicationTokens

    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 listApplicationTokens(args: ListApplicationTokensArgs, opts?: InvokeOptions): Promise<ListApplicationTokensResult>
    function listApplicationTokensOutput(args: ListApplicationTokensOutputArgs, opts?: InvokeOptions): Output<ListApplicationTokensResult>
    def list_application_tokens(application_name: Optional[str] = None,
                                authorization_audience: Optional[str] = None,
                                resource_group_name: Optional[str] = None,
                                user_assigned_identities: Optional[Sequence[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> ListApplicationTokensResult
    def list_application_tokens_output(application_name: Optional[pulumi.Input[str]] = None,
                                authorization_audience: Optional[pulumi.Input[str]] = None,
                                resource_group_name: Optional[pulumi.Input[str]] = None,
                                user_assigned_identities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[ListApplicationTokensResult]
    func ListApplicationTokens(ctx *Context, args *ListApplicationTokensArgs, opts ...InvokeOption) (*ListApplicationTokensResult, error)
    func ListApplicationTokensOutput(ctx *Context, args *ListApplicationTokensOutputArgs, opts ...InvokeOption) ListApplicationTokensResultOutput

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

    public static class ListApplicationTokens 
    {
        public static Task<ListApplicationTokensResult> InvokeAsync(ListApplicationTokensArgs args, InvokeOptions? opts = null)
        public static Output<ListApplicationTokensResult> Invoke(ListApplicationTokensInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ListApplicationTokensResult> listApplicationTokens(ListApplicationTokensArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:solutions:listApplicationTokens
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ApplicationName string
    The name of the managed application.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AuthorizationAudience string
    The authorization audience.
    UserAssignedIdentities List<string>
    The user assigned identities.
    ApplicationName string
    The name of the managed application.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AuthorizationAudience string
    The authorization audience.
    UserAssignedIdentities []string
    The user assigned identities.
    applicationName String
    The name of the managed application.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    authorizationAudience String
    The authorization audience.
    userAssignedIdentities List<String>
    The user assigned identities.
    applicationName string
    The name of the managed application.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    authorizationAudience string
    The authorization audience.
    userAssignedIdentities string[]
    The user assigned identities.
    application_name str
    The name of the managed application.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    authorization_audience str
    The authorization audience.
    user_assigned_identities Sequence[str]
    The user assigned identities.
    applicationName String
    The name of the managed application.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    authorizationAudience String
    The authorization audience.
    userAssignedIdentities List<String>
    The user assigned identities.

    listApplicationTokens Result

    The following output properties are available:

    Value []ManagedIdentityTokenResponse
    The array of managed identity tokens.
    value List<ManagedIdentityTokenResponse>
    The array of managed identity tokens.
    value ManagedIdentityTokenResponse[]
    The array of managed identity tokens.
    value Sequence[ManagedIdentityTokenResponse]
    The array of managed identity tokens.
    value List<Property Map>
    The array of managed identity tokens.

    Supporting Types

    ManagedIdentityTokenResponse

    AccessToken string
    The requested access token.
    AuthorizationAudience string
    The aud (audience) the access token was request for. This is the same as what was provided in the listTokens request.
    ExpiresIn string
    The number of seconds the access token will be valid.
    ExpiresOn string
    The timespan when the access token expires. This is represented as the number of seconds from epoch.
    NotBefore string
    The timespan when the access token takes effect. This is represented as the number of seconds from epoch.
    ResourceId string
    The Azure resource ID for the issued token. This is either the managed application ID or the user-assigned identity ID.
    TokenType string
    The type of the token.
    AccessToken string
    The requested access token.
    AuthorizationAudience string
    The aud (audience) the access token was request for. This is the same as what was provided in the listTokens request.
    ExpiresIn string
    The number of seconds the access token will be valid.
    ExpiresOn string
    The timespan when the access token expires. This is represented as the number of seconds from epoch.
    NotBefore string
    The timespan when the access token takes effect. This is represented as the number of seconds from epoch.
    ResourceId string
    The Azure resource ID for the issued token. This is either the managed application ID or the user-assigned identity ID.
    TokenType string
    The type of the token.
    accessToken String
    The requested access token.
    authorizationAudience String
    The aud (audience) the access token was request for. This is the same as what was provided in the listTokens request.
    expiresIn String
    The number of seconds the access token will be valid.
    expiresOn String
    The timespan when the access token expires. This is represented as the number of seconds from epoch.
    notBefore String
    The timespan when the access token takes effect. This is represented as the number of seconds from epoch.
    resourceId String
    The Azure resource ID for the issued token. This is either the managed application ID or the user-assigned identity ID.
    tokenType String
    The type of the token.
    accessToken string
    The requested access token.
    authorizationAudience string
    The aud (audience) the access token was request for. This is the same as what was provided in the listTokens request.
    expiresIn string
    The number of seconds the access token will be valid.
    expiresOn string
    The timespan when the access token expires. This is represented as the number of seconds from epoch.
    notBefore string
    The timespan when the access token takes effect. This is represented as the number of seconds from epoch.
    resourceId string
    The Azure resource ID for the issued token. This is either the managed application ID or the user-assigned identity ID.
    tokenType string
    The type of the token.
    access_token str
    The requested access token.
    authorization_audience str
    The aud (audience) the access token was request for. This is the same as what was provided in the listTokens request.
    expires_in str
    The number of seconds the access token will be valid.
    expires_on str
    The timespan when the access token expires. This is represented as the number of seconds from epoch.
    not_before str
    The timespan when the access token takes effect. This is represented as the number of seconds from epoch.
    resource_id str
    The Azure resource ID for the issued token. This is either the managed application ID or the user-assigned identity ID.
    token_type str
    The type of the token.
    accessToken String
    The requested access token.
    authorizationAudience String
    The aud (audience) the access token was request for. This is the same as what was provided in the listTokens request.
    expiresIn String
    The number of seconds the access token will be valid.
    expiresOn String
    The timespan when the access token expires. This is represented as the number of seconds from epoch.
    notBefore String
    The timespan when the access token takes effect. This is represented as the number of seconds from epoch.
    resourceId String
    The Azure resource ID for the issued token. This is either the managed application ID or the user-assigned identity ID.
    tokenType String
    The type of the token.

    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