You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"azurerm_api_management_api" {
source="./modules/azurerm/r/azurerm_api_management_api"# api_management_name - (required) is a type of stringapi_management_name=null# description - (optional) is a type of stringdescription=null# display_name - (required) is a type of stringdisplay_name=null# name - (required) is a type of stringname=null# path - (required) is a type of stringpath=null# protocols - (required) is a type of set of stringprotocols=[]
# resource_group_name - (required) is a type of stringresource_group_name=null# revision - (required) is a type of stringrevision=null# service_url - (optional) is a type of stringservice_url=null# soap_pass_through - (optional) is a type of boolsoap_pass_through=null# subscription_required - (optional) is a type of boolsubscription_required=null# version - (optional) is a type of stringversion=null# version_set_id - (optional) is a type of stringversion_set_id=nullimport=[{
content_format =null
content_value =null
wsdl_selector = [{
endpoint_name =null
service_name =null
}]
}]
oauth2_authorization=[{
authorization_server_name =null
scope =null
}]
openid_authentication=[{
bearer_token_sending_methods = []
openid_provider_name =null
}]
subscription_key_parameter_names=[{
header =null
query =null
}]
timeouts=[{
create =null
delete =null
read =null
update =null
}]
}
resource"azurerm_api_management_api""this" {
# api_management_name - (required) is a type of stringapi_management_name=var.api_management_name# description - (optional) is a type of stringdescription=var.description# display_name - (required) is a type of stringdisplay_name=var.display_name# name - (required) is a type of stringname=var.name# path - (required) is a type of stringpath=var.path# protocols - (required) is a type of set of stringprotocols=var.protocols# resource_group_name - (required) is a type of stringresource_group_name=var.resource_group_name# revision - (required) is a type of stringrevision=var.revision# service_url - (optional) is a type of stringservice_url=var.service_url# soap_pass_through - (optional) is a type of boolsoap_pass_through=var.soap_pass_through# subscription_required - (optional) is a type of boolsubscription_required=var.subscription_required# version - (optional) is a type of stringversion=var.version# version_set_id - (optional) is a type of stringversion_set_id=var.version_set_iddynamic"import" {
for_each=var.importcontent {
# content_format - (required) is a type of stringcontent_format=import.value["content_format"]
# content_value - (required) is a type of stringcontent_value=import.value["content_value"]
dynamic"wsdl_selector" {
for_each=import.value.wsdl_selectorcontent {
# endpoint_name - (required) is a type of stringendpoint_name=wsdl_selector.value["endpoint_name"]
# service_name - (required) is a type of stringservice_name=wsdl_selector.value["service_name"]
}
}
}
}
dynamic"oauth2_authorization" {
for_each=var.oauth2_authorizationcontent {
# authorization_server_name - (required) is a type of stringauthorization_server_name=oauth2_authorization.value["authorization_server_name"]
# scope - (optional) is a type of stringscope=oauth2_authorization.value["scope"]
}
}
dynamic"openid_authentication" {
for_each=var.openid_authenticationcontent {
# bearer_token_sending_methods - (optional) is a type of set of stringbearer_token_sending_methods=openid_authentication.value["bearer_token_sending_methods"]
# openid_provider_name - (required) is a type of stringopenid_provider_name=openid_authentication.value["openid_provider_name"]
}
}
dynamic"subscription_key_parameter_names" {
for_each=var.subscription_key_parameter_namescontent {
# header - (required) is a type of stringheader=subscription_key_parameter_names.value["header"]
# query - (required) is a type of stringquery=subscription_key_parameter_names.value["query"]
}
}
dynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
# read - (optional) is a type of stringread=timeouts.value["read"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
}