Use this data source to access information about an existing API Management User.
data "azurerm_api_management_user" "example" {
user_id = "my-user"
api_management_name = "example-apim"
resource_group_name = "search-service"
}
output "notes" {
value = data.azurerm_api_management_user.example.notes
}
api_management_name
- The Name of the API Management Service in which this User exists.
resource_group_name
- The Name of the Resource Group in which the API Management Service exists.
user_id
- The Identifier for the User.
id
- The ID of the API Management User.
first_name
- The First Name for the User.
last_name
- The Last Name for the User.
email
- The Email Address used for this User.
note
- Any notes about this User.
state
- The current state of this User, for example active
, blocked
or pending
.
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the API Management User.