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
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:
- Application
Name string - The name of the managed application.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- string
- The authorization audience.
- User
Assigned List<string>Identities - The user assigned identities.
- Application
Name string - The name of the managed application.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- string
- The authorization audience.
- User
Assigned []stringIdentities - The user assigned identities.
- application
Name String - The name of the managed application.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- String
- The authorization audience.
- user
Assigned List<String>Identities - The user assigned identities.
- application
Name string - The name of the managed application.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- string
- The authorization audience.
- user
Assigned string[]Identities - The user assigned identities.
- application_
name str - The name of the managed application.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- str
- The authorization audience.
- user_
assigned_ Sequence[str]identities - The user assigned identities.
- application
Name String - The name of the managed application.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- String
- The authorization audience.
- user
Assigned List<String>Identities - The user assigned identities.
listApplicationTokens Result
The following output properties are available:
- Value
List<Pulumi.
Azure Native. Solutions. Outputs. Managed Identity Token Response> - The array of managed identity tokens.
- Value
[]Managed
Identity Token Response - The array of managed identity tokens.
- value
List<Managed
Identity Token Response> - The array of managed identity tokens.
- value
Managed
Identity Token Response[] - The array of managed identity tokens.
- value
Sequence[Managed
Identity Token Response] - The array of managed identity tokens.
- value List<Property Map>
- The array of managed identity tokens.
Supporting Types
ManagedIdentityTokenResponse
- Access
Token string - The requested access token.
- string
- The aud (audience) the access token was request for. This is the same as what was provided in the listTokens request.
- Expires
In string - The number of seconds the access token will be valid.
- Expires
On string - The timespan when the access token expires. This is represented as the number of seconds from epoch.
- Not
Before string - The timespan when the access token takes effect. This is represented as the number of seconds from epoch.
- Resource
Id string - The Azure resource ID for the issued token. This is either the managed application ID or the user-assigned identity ID.
- Token
Type string - The type of the token.
- Access
Token string - The requested access token.
- string
- The aud (audience) the access token was request for. This is the same as what was provided in the listTokens request.
- Expires
In string - The number of seconds the access token will be valid.
- Expires
On string - The timespan when the access token expires. This is represented as the number of seconds from epoch.
- Not
Before string - The timespan when the access token takes effect. This is represented as the number of seconds from epoch.
- Resource
Id string - The Azure resource ID for the issued token. This is either the managed application ID or the user-assigned identity ID.
- Token
Type string - The type of the token.
- access
Token String - The requested access token.
- String
- The aud (audience) the access token was request for. This is the same as what was provided in the listTokens request.
- expires
In String - The number of seconds the access token will be valid.
- expires
On String - The timespan when the access token expires. This is represented as the number of seconds from epoch.
- not
Before String - The timespan when the access token takes effect. This is represented as the number of seconds from epoch.
- resource
Id String - The Azure resource ID for the issued token. This is either the managed application ID or the user-assigned identity ID.
- token
Type String - The type of the token.
- access
Token string - The requested access token.
- string
- The aud (audience) the access token was request for. This is the same as what was provided in the listTokens request.
- expires
In string - The number of seconds the access token will be valid.
- expires
On string - The timespan when the access token expires. This is represented as the number of seconds from epoch.
- not
Before string - The timespan when the access token takes effect. This is represented as the number of seconds from epoch.
- resource
Id string - The Azure resource ID for the issued token. This is either the managed application ID or the user-assigned identity ID.
- token
Type string - The type of the token.
- access_
token str - The requested access token.
- 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.
- access
Token String - The requested access token.
- String
- The aud (audience) the access token was request for. This is the same as what was provided in the listTokens request.
- expires
In String - The number of seconds the access token will be valid.
- expires
On String - The timespan when the access token expires. This is represented as the number of seconds from epoch.
- not
Before String - The timespan when the access token takes effect. This is represented as the number of seconds from epoch.
- resource
Id String - The Azure resource ID for the issued token. This is either the managed application ID or the user-assigned identity ID.
- token
Type String - The type of the token.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
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