Resource: ApimServiceExtension
APIM Service Extension is a resource under an Apigee Organization that is used to create APIM Service Extension to route traffic to existing X instances.
| JSON representation |
|---|
{ "name": string, "createTime": string, "updateTime": string, "lbForwardingRule": string, "network": string, "networkConfigs": [ { object ( |
| Fields | |
|---|---|
name |
Identifier. unique name of the APIM service extension. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. |
createTime |
Output only. The time that this resource was created on the server. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. The time that this resource was updated on the server. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
lbForwardingRule |
Required. Name of the Google Cloud LB forwarding rule. Format: projects/{project}/regions/{region}/forwardingRules/{forwardingRule} projects/{project}/global/forwardingRules/{forwardingRule} |
network |
Required. The network where the forwarding rule is created. Format: projects/{project}/global/networks/{network} |
networkConfigs[] |
Required. List of network configurations for the APIM service extension. |
extensions[] |
Optional. List of extensions that are part of the service extension. Refer to https://cloud.google.com/service-extensions/docs/quotas#limits for any limits. |
state |
Output only. State of the APIM service extension. Values other than |
extensionProcessor |
Required. Name of the proxy deployed in the Apigee X instance. |
NetworkConfig
Network configuration for the APIM service extension.
| JSON representation |
|---|
{ "region": string, "subnet": string } |
| Fields | |
|---|---|
region |
Required. The region for the PSC NEG. |
subnet |
Required. The subnet for the PSC NEG. Format: projects/{project}/regions/{region}/subnetworks/{subnet} |
Extension
Extension configuration for Apigee extension processor service extension.
| JSON representation |
|---|
{
"name": string,
"matchCondition": string,
"failOpen": boolean,
"hostname": string,
"supportedEvents": [
enum ( |
| Fields | |
|---|---|
name |
Required. Name of the |
matchCondition |
Optional. Match Condition for CEL expression. Refer to https://cloud.google.com/service-extensions/docs/cel-matcher-language-reference for more details. |
failOpen |
Optional. Whether this request should fail open. |
hostname |
Required. One of the hostnames of Apigee EnvGroup where the proxy is deployed. This hostname (i.e FDQN) will be used to route traffic from the specified forwarding rule to the environment in Apigee X instance where the proxy is deployed for handling extension traffic. Format: ^([a-zA-Z0-9. _-])+$ |
supportedEvents[] |
Optional. Supported events for the Service Extension. If not specified, all events are supported. |
SupportedEvent
Supported event for the Service Extension.
| Enums | |
|---|---|
SUPPORTED_EVENT_UNSPECIFIED |
Unspecified event. |
REQUEST_HEADERS |
Request headers event. |
REQUEST_BODY |
Request body event. |
RESPONSE_HEADERS |
Response headers event. |
RESPONSE_BODY |
Response body event. |
REQUEST_TRAILERS |
Request trailers event. |
RESPONSE_TRAILERS |
Response trailers event. |
Methods |
|
|---|---|
|
Creates an APIM ServiceExtension in an organization. |
|
Deletes APIM service extension from an organization. |
|
Gets APIM service extension details. |
|
Lists all APIM service extensions in an organization. |
|
Updates an APIM service extension in an organization. |