|
9824 | 9824 | }
|
9825 | 9825 | }
|
9826 | 9826 | },
|
| 9827 | + "peering-info": { |
| 9828 | + "description": "[Peering Info](https://devcenter.heroku.com/articles/private-space-vpc-peering) gives you the information necessary to peer an AWS VPC to a Private Space.", |
| 9829 | + "$schema": "http://json-schema.org/draft-04/hyper-schema", |
| 9830 | + "stability": "prototype", |
| 9831 | + "strictProperties": true, |
| 9832 | + "title": "Heroku Platform API - Peering Info", |
| 9833 | + "type": [ |
| 9834 | + "object" |
| 9835 | + ], |
| 9836 | + "properties": { |
| 9837 | + "aws_account_id": { |
| 9838 | + "$ref": "#/definitions/peering/definitions/aws_account_id" |
| 9839 | + }, |
| 9840 | + "aws_region": { |
| 9841 | + "$ref": "#/definitions/region/definitions/provider/properties/region" |
| 9842 | + }, |
| 9843 | + "vpc_id": { |
| 9844 | + "$ref": "#/definitions/peering/definitions/vpc_id" |
| 9845 | + }, |
| 9846 | + "vpc_cidr": { |
| 9847 | + "description": "The CIDR range of the Private Space VPC", |
| 9848 | + "$ref": "#/definitions/peering/definitions/cidr" |
| 9849 | + }, |
| 9850 | + "dyno_cidr_blocks": { |
| 9851 | + "description": "The CIDR ranges that should be routed to the Private Space VPC.", |
| 9852 | + "type": [ |
| 9853 | + "array" |
| 9854 | + ], |
| 9855 | + "items": { |
| 9856 | + "$ref": "#/definitions/peering/definitions/cidr" |
| 9857 | + } |
| 9858 | + }, |
| 9859 | + "unavailable_cidr_blocks": { |
| 9860 | + "description": "The CIDR ranges that you must not conflict with.", |
| 9861 | + "type": [ |
| 9862 | + "array" |
| 9863 | + ], |
| 9864 | + "items": { |
| 9865 | + "$ref": "#/definitions/peering/definitions/cidr" |
| 9866 | + } |
| 9867 | + } |
| 9868 | + }, |
| 9869 | + "links": [ |
| 9870 | + { |
| 9871 | + "description": "Provides the necessary information to establish an AWS VPC Peering with your private space.", |
| 9872 | + "href": "/spaces/{(%23%2Fdefinitions%2Fspace%2Fdefinitions%2Fidentity)}/peering-info", |
| 9873 | + "method": "GET", |
| 9874 | + "rel": { |
| 9875 | + "$ref": "#/definitions/peering-info" |
| 9876 | + }, |
| 9877 | + "targetSchema": { |
| 9878 | + "$ref": "#/definitions/peering-info" |
| 9879 | + }, |
| 9880 | + "title": "Info" |
| 9881 | + } |
| 9882 | + ] |
| 9883 | + }, |
| 9884 | + "peering": { |
| 9885 | + "description": "[Peering](https://devcenter.heroku.com/articles/private-space-vpc-peering) provides a way to peer your Private Space VPC to another AWS VPC.", |
| 9886 | + "$schema": "http://json-schema.org/draft-04/hyper-schema", |
| 9887 | + "stability": "prototype", |
| 9888 | + "strictProperties": true, |
| 9889 | + "title": "Heroku Platform API - Peering", |
| 9890 | + "type": [ |
| 9891 | + "object" |
| 9892 | + ], |
| 9893 | + "definitions": { |
| 9894 | + "aws_account_id": { |
| 9895 | + "description": "The AWS account ID of your Private Space.", |
| 9896 | + "example": "123456789012", |
| 9897 | + "readOnly": true, |
| 9898 | + "type": [ |
| 9899 | + "string" |
| 9900 | + ] |
| 9901 | + }, |
| 9902 | + "vpc_id": { |
| 9903 | + "description": "The AWS VPC ID of the peer.", |
| 9904 | + "example": "vpc-1234567890", |
| 9905 | + "readOnly": true, |
| 9906 | + "type": [ |
| 9907 | + "string" |
| 9908 | + ] |
| 9909 | + }, |
| 9910 | + "type": { |
| 9911 | + "description": "The type of peering connection.", |
| 9912 | + "example": "heroku-managed", |
| 9913 | + "type": [ |
| 9914 | + "string" |
| 9915 | + ], |
| 9916 | + "enum": [ |
| 9917 | + "heroku-managed", |
| 9918 | + "customer-managed", |
| 9919 | + "unknown" |
| 9920 | + ] |
| 9921 | + }, |
| 9922 | + "status": { |
| 9923 | + "description": "The status of the peering connection.", |
| 9924 | + "example": "pending-acceptance", |
| 9925 | + "enum": [ |
| 9926 | + "initiating-request", |
| 9927 | + "pending-acceptance", |
| 9928 | + "provisioning", |
| 9929 | + "active", |
| 9930 | + "failed", |
| 9931 | + "expired", |
| 9932 | + "rejected", |
| 9933 | + "deleted" |
| 9934 | + ], |
| 9935 | + "type": [ |
| 9936 | + "string" |
| 9937 | + ], |
| 9938 | + "readOnly": true |
| 9939 | + }, |
| 9940 | + "pcx_id": { |
| 9941 | + "description": "The AWS VPC Peering Connection ID of the peering.", |
| 9942 | + "example": "pcx-123456789012", |
| 9943 | + "readOnly": true, |
| 9944 | + "type": [ |
| 9945 | + "string" |
| 9946 | + ] |
| 9947 | + }, |
| 9948 | + "cidr": { |
| 9949 | + "description": "An IP address and the number of significant bits that make up the routing or networking portion.", |
| 9950 | + "example": "10.0.0.0/16", |
| 9951 | + "type": [ |
| 9952 | + "string" |
| 9953 | + ] |
| 9954 | + }, |
| 9955 | + "expires": { |
| 9956 | + "description": "When a peering connection will expire.", |
| 9957 | + "example": "2020-01-01T12:00:00Z", |
| 9958 | + "format": "date-time", |
| 9959 | + "readOnly": true, |
| 9960 | + "type": [ |
| 9961 | + "string" |
| 9962 | + ] |
| 9963 | + } |
| 9964 | + }, |
| 9965 | + "properties": { |
| 9966 | + "type": { |
| 9967 | + "$ref": "#/definitions/peering/definitions/type" |
| 9968 | + }, |
| 9969 | + "pcx_id": { |
| 9970 | + "$ref": "#/definitions/peering/definitions/pcx_id" |
| 9971 | + }, |
| 9972 | + "cidr_blocks": { |
| 9973 | + "description": "The CIDR blocks of the peer.", |
| 9974 | + "type": [ |
| 9975 | + "array" |
| 9976 | + ], |
| 9977 | + "items": { |
| 9978 | + "$ref": "#/definitions/peering/definitions/cidr" |
| 9979 | + } |
| 9980 | + }, |
| 9981 | + "status": { |
| 9982 | + "$ref": "#/definitions/peering/definitions/status" |
| 9983 | + }, |
| 9984 | + "aws_vpc_id": { |
| 9985 | + "$ref": "#/definitions/peering/definitions/vpc_id" |
| 9986 | + }, |
| 9987 | + "aws_account_id": { |
| 9988 | + "$ref": "#/definitions/peering/definitions/aws_account_id" |
| 9989 | + }, |
| 9990 | + "expires": { |
| 9991 | + "$ref": "#/definitions/peering/definitions/expires" |
| 9992 | + } |
| 9993 | + }, |
| 9994 | + "links": [ |
| 9995 | + { |
| 9996 | + "description": "List peering connections of a private space.", |
| 9997 | + "href": "/spaces/{(%23%2Fdefinitions%2Fspace%2Fdefinitions%2Fidentity)}/peerings", |
| 9998 | + "method": "GET", |
| 9999 | + "rel": "instances", |
| 10000 | + "targetSchema": { |
| 10001 | + "items": { |
| 10002 | + "$ref": "#/definitions/peering" |
| 10003 | + }, |
| 10004 | + "type": [ |
| 10005 | + "array" |
| 10006 | + ] |
| 10007 | + }, |
| 10008 | + "title": "List" |
| 10009 | + }, |
| 10010 | + { |
| 10011 | + "description": "Accept a pending peering connection with a private space.", |
| 10012 | + "href": "/spaces/{(%23%2Fdefinitions%2Fspace%2Fdefinitions%2Fidentity)}/peerings/{(%23%2Fdefinitions%2Fpeering%2Fdefinitions%2Fpcx_id)}/actions/accept", |
| 10013 | + "method": "POST", |
| 10014 | + "rel": "empty", |
| 10015 | + "title": "Accept" |
| 10016 | + }, |
| 10017 | + { |
| 10018 | + "description": "Destroy an active peering connection with a private space.", |
| 10019 | + "href": "/spaces/{(%23%2Fdefinitions%2Fspace%2Fdefinitions%2Fidentity)}/peerings/{(%23%2Fdefinitions%2Fpeering%2Fdefinitions%2Fpcx_id)}", |
| 10020 | + "rel": "empty", |
| 10021 | + "method": "DELETE", |
| 10022 | + "title": "Destroy" |
| 10023 | + }, |
| 10024 | + { |
| 10025 | + "description": "Fetch information for existing peering connection", |
| 10026 | + "href": "/spaces/{(%23%2Fdefinitions%2Fspace%2Fdefinitions%2Fidentity)}/peerings/{(%23%2Fdefinitions%2Fpeering%2Fdefinitions%2Fpcx_id)}", |
| 10027 | + "method": "GET", |
| 10028 | + "rel": "self", |
| 10029 | + "targetSchema": { |
| 10030 | + "$ref": "#/definitions/peering" |
| 10031 | + }, |
| 10032 | + "title": "Info" |
| 10033 | + } |
| 10034 | + ] |
| 10035 | + }, |
9827 | 10036 | "organization-app-permission": {
|
9828 | 10037 | "$schema": "http://json-schema.org/draft-04/hyper-schema",
|
9829 | 10038 | "description": "Deprecated: An organization app permission is a behavior that is assigned to a user in an organization app.",
|
|
10969 | 11178 | "readOnly": true,
|
10970 | 11179 | "type": [
|
10971 | 11180 | "string"
|
| 11181 | + ], |
| 11182 | + "enum": [ |
| 11183 | + "ap-south-1", |
| 11184 | + "eu-west-1", |
| 11185 | + "ap-southeast-1", |
| 11186 | + "ap-southeast-2", |
| 11187 | + "eu-central-1", |
| 11188 | + "ap-northeast-2", |
| 11189 | + "ap-northeast-1", |
| 11190 | + "us-east-1", |
| 11191 | + "sa-east-1", |
| 11192 | + "us-west-1", |
| 11193 | + "us-west-2" |
10972 | 11194 | ]
|
10973 | 11195 | }
|
10974 | 11196 | },
|
|
15046 | 15268 | "password-reset": {
|
15047 | 15269 | "$ref": "#/definitions/password-reset"
|
15048 | 15270 | },
|
| 15271 | + "peering-info": { |
| 15272 | + "$ref": "#/definitions/peering-info" |
| 15273 | + }, |
| 15274 | + "peering": { |
| 15275 | + "$ref": "#/definitions/peering" |
| 15276 | + }, |
15049 | 15277 | "organization-app-permission": {
|
15050 | 15278 | "$ref": "#/definitions/organization-app-permission"
|
15051 | 15279 | },
|
|
0 commit comments