Azure API Management Gateway
This page shows how to write Terraform and Azure Resource Manager for API Management Gateway and write them securely.
azurerm_api_management_gateway (Terraform)
The Gateway in API Management can be configured in Terraform with the resource name azurerm_api_management_gateway
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
The following arguments are supported:
name
- (Required) The name which should be used for the API Management Gateway. Changing this forces a new API Management Gateway to be created.api_management_name
- (Required) The name of the API Management Service in which the gateway will be created. Changing this forces a new API Management Gateway resource to be created.resource_group_name
- (Required) The name of the Resource Group in which the API Management Gateway exists.location_data
- (Required) Alocation_data
block as documented below.description
- (Optional) The description of the API Management Gateway.
A location_data
block supports the following:
name
- (Required) A canonical name for the geographic or physical location.city
- (Optional) The city or locality where the resource is located.district
- (Optional) The district, state, or province where the resource is located.region
- (Optional) The country or region where the resource is located.
In addition to the Arguments listed above - the following Attributes are exported:
id
- The ID of the API Management Gateway.
Explanation in Terraform Registry
Manages an API Management Gateway.
Microsoft.ApiManagement/service/gateways (Azure Resource Manager)
The service/gateways in Microsoft.ApiManagement can be configured in Azure Resource Manager with the resource name Microsoft.ApiManagement/service/gateways
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
apiVersion
required - stringname
required - stringGateway entity identifier. Must be unique in the current API Management service instance. Must not have value 'managed'
properties
requireddescription
optional - stringGateway description
locationData
optionalcity
optional - stringThe city or locality where the resource is located.
countryOrRegion
optional - stringThe country or region where the resource is located.
district
optional - stringThe district, state, or province where the resource is located.
name
required - stringA canonical name for the geographic or physical location.
type
required - string