GetUser
Use this data source to access information about an existing API Management User.
Using GetUser
function getUser(args: GetUserArgs, opts?: InvokeOptions): Promise<GetUserResult>function get_user(api_management_name=None, resource_group_name=None, user_id=None, opts=None)func LookupUser(ctx *Context, args *LookupUserArgs, opts ...InvokeOption) (*LookupUserResult, error)Note: This function is named
LookupUserin the Go SDK.
public static class GetUser {
public static Task<GetUserResult> InvokeAsync(GetUserArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- Api
Management stringName The Name of the API Management Service in which this User exists.
- Resource
Group stringName The Name of the Resource Group in which the API Management Service exists.
- User
Id string The Identifier for the User.
- Api
Management stringName The Name of the API Management Service in which this User exists.
- Resource
Group stringName The Name of the Resource Group in which the API Management Service exists.
- User
Id string The Identifier for the User.
- api
Management stringName The Name of the API Management Service in which this User exists.
- resource
Group stringName The Name of the Resource Group in which the API Management Service exists.
- user
Id string The Identifier for the User.
- api_
management_ strname The Name of the API Management Service in which this User exists.
- resource_
group_ strname The Name of the Resource Group in which the API Management Service exists.
- user_
id str The Identifier for the User.
GetUser Result
The following output properties are available:
- Api
Management stringName - Email string
The Email Address used for this User.
- First
Name string The First Name for the User.
- Id string
The provider-assigned unique ID for this managed resource.
- Last
Name string The Last Name for the User.
- Note string
Any notes about this User.
- Resource
Group stringName - State string
The current state of this User, for example
active,blockedorpending.- User
Id string
- Api
Management stringName - Email string
The Email Address used for this User.
- First
Name string The First Name for the User.
- Id string
The provider-assigned unique ID for this managed resource.
- Last
Name string The Last Name for the User.
- Note string
Any notes about this User.
- Resource
Group stringName - State string
The current state of this User, for example
active,blockedorpending.- User
Id string
- api
Management stringName - email string
The Email Address used for this User.
- first
Name string The First Name for the User.
- id string
The provider-assigned unique ID for this managed resource.
- last
Name string The Last Name for the User.
- note string
Any notes about this User.
- resource
Group stringName - state string
The current state of this User, for example
active,blockedorpending.- user
Id string
- api_
management_ strname - email str
The Email Address used for this User.
- first_
name str The First Name for the User.
- id str
The provider-assigned unique ID for this managed resource.
- last_
name str The Last Name for the User.
- note str
Any notes about this User.
- resource_
group_ strname - state str
The current state of this User, for example
active,blockedorpending.- user_
id str
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.