azurerm_api_management_apiNivis Nix constructor for the azurerm_api_management_api resource (provider azurerm). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
api_management_name,
resource_group_name,
revision,
api_type ? null,
description ? null,
display_name ? null,
id ? null,
cfg_name ? null,
path ? null,
protocols ? null,
revision_description ? null,
service_url ? null,
source_api_id ? null,
subscription_required ? null,
terms_of_service_url ? null,
version ? null,
version_description ? null,
version_set_id ? null,
contact ? null,
import ? null,
license ? null,
oauth2_authorization ? null,
openid_authentication ? null,
subscription_key_parameter_names ? null,
timeouts ? null,
overrides ? {}
}Required arguments
api_management_nameresource_group_namerevision
Optional arguments
api_type(defaults tonull)description(defaults tonull)display_name(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)path(defaults tonull)protocols(defaults tonull)revision_description(defaults tonull)service_url(defaults tonull)source_api_id(defaults tonull)subscription_required(defaults tonull)terms_of_service_url(defaults tonull)version(defaults tonull)version_description(defaults tonull)version_set_id(defaults tonull)contact(defaults tonull)import(defaults tonull)license(defaults tonull)oauth2_authorization(defaults tonull)openid_authentication(defaults tonull)subscription_key_parameter_names(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
is_currentis_online
Example
azurerm_api_management_api {
name = "api_management_api";
api_management_name = …; # required
resource_group_name = …; # required
revision = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.