ApiGatewayDeployment Sample¶
This page is generated from the checked-in sample manifest at config/samples/apigateway_v1beta1_apigatewaydeployment.yaml.
| Field | Value |
|---|---|
| Resource | apigateway/ApiGatewayDeployment |
| API Version | apigateway.oracle.com/v1beta1 |
| Source Path | config/samples/apigateway_v1beta1_apigatewaydeployment.yaml |
#
# Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
#
#
# Replace the gateway and compartment OCIDs below before running e2e.
#
apiVersion: apigateway.oracle.com/v1beta1
kind: ApiGatewayDeployment
metadata:
name: apigatewaydeployment-sample
spec:
gatewayId: ocid1.apigateway.oc1..exampleuniqueID
compartmentId: ocid1.compartment.oc1..exampleuniqueID
displayName: apigatewaydeployment-sample
pathPrefix: /sample
routes:
- path: /hello
methods: [GET]
backend:
type: STOCK_RESPONSE_BACKEND
status: 200
body: hello