azurerm_api_management_api

Nivis 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_name
  • resource_group_name
  • revision
Optional arguments
  • api_type (defaults to null)
  • description (defaults to null)
  • display_name (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • path (defaults to null)
  • protocols (defaults to null)
  • revision_description (defaults to null)
  • service_url (defaults to null)
  • source_api_id (defaults to null)
  • subscription_required (defaults to null)
  • terms_of_service_url (defaults to null)
  • version (defaults to null)
  • version_description (defaults to null)
  • version_set_id (defaults to null)
  • contact (defaults to null)
  • import (defaults to null)
  • license (defaults to null)
  • oauth2_authorization (defaults to null)
  • openid_authentication (defaults to null)
  • subscription_key_parameter_names (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • is_current
  • is_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.