GET /api/networks/ingress_rules/{id}
OAuth AuthorizationRequired: projects_read
SCHEMA
ingress_rule
: Object
id
: Integerport
: Integerport_nat
: Integerproto
: String<http,tcp,tls,udp>
external_access
: Booleanbackend_ssl
: Booleantcp_proxy_opt
: String<none,send-proxy,send-proxy-v2,send-proxy-v2-ssl,send-proxy-v2-ssl-cn>
redirect_ssl
: Booleanrestrict_cf
: Boolean | If true, only allow CloudFlaretcp_lb
: Booleancreated_at
: Booleanupdated_at
: Booleancontainer_service_id
: Integerload_balancer_rule_id
: Integerinternal_load_balancer_id
: Integerload_balanced_rules
: Arraylinks
: Object
domains
: String (url)PATCH /api/networks/ingress_rules/{id}
OAuth AuthorizationRequired: projects_write
SCHEMA
ingress_rule
: Object
proto
: String<http,tcp,tls,udp>
external_access
: Booleantcp_proxy_opt
: String<none,send-proxy,send-proxy-v2,send-proxy-v2-ssl,send-proxy-v2-ssl-cn>
backend_ssl
: Stringport
: Integerrestrict_cf
: Boolean | If true, only allow CloudFlaretcp_lb
: BooleanThis is a helper method to toggle external access to an ingress rule.
You may also edit the ingress rule and specify external_access
.
POST /api/networks/ingress_rules/{id}/toggle_nat
OAuth AuthorizationRequired: projects_write
POST /api/networks/ingress_rules
OAuth AuthorizationRequired: projects_write
SCHEMA
ingress_rule
: Object
container_service_id
: Integer | ID of Container Service, not container.proto
: String<http,tcp,tls,udp>
external_access
: Booleantcp_proxy_opt
: String<none,send-proxy,send-proxy-v2,send-proxy-v2-ssl,send-proxy-v2-ssl-cn>
backend_ssl
: Stringport
: Integerrestrict_cf
: Boolean | If true, only allow CloudFlaretcp_lb
: Boolean