gateway.openapi_Gateway

Update Router

patch/v1/accounts/{account_id}/routers/{router_id}

Path parameters

account_idstring required

The Account Id

router_idstring required

The Router Id

Request body

displayNamestring
createTimestring date-time
createdBystring
state'STATE_UNSPECIFIED' | 'CREATING' | 'READY' | 'UPDATING' | 'DELETING'
  • CREATING: The router is being created.
  • READY: The router is ready for access.
  • UPDATING: There are in-progress updates happening with the router.
  • DELETING: The router is being deleted.
deploymentsstring[]

The deployment names to be covered by the router.

modelstring

The model name to route requests to. model is only applicable to single-region deployments. For multi-region deployments, model must be empty.

weightedRandomGatewayWeightedRandomStrategy

Use replica count as weight.

evenLoadGatewayEvenLoadStrategy

Dynamically adjust traffic allocation to balance the load per replica across the deployments as much as possible.

aliasesstring[]
autoGeneratedboolean

auto_generated indicates this router was generated by the system for a deployment. Auto-generated routers cannot be updated or deleted by the user.

publicboolean

True if the router is public (any account can query the underlying workload), false if the router is private (only the account that owns the router can query the underlying workload).

Response

A successful response.

namestring
displayNamestring
createTimestring date-time
createdBystring
state'STATE_UNSPECIFIED' | 'CREATING' | 'READY' | 'UPDATING' | 'DELETING'
  • CREATING: The router is being created.
  • READY: The router is ready for access.
  • UPDATING: There are in-progress updates happening with the router.
  • DELETING: The router is being deleted.
deploymentsstring[]

The deployment names to be covered by the router.

modelstring

The model name to route requests to. model is only applicable to single-region deployments. For multi-region deployments, model must be empty.

weightedRandomGatewayWeightedRandomStrategy

Use replica count as weight.

evenLoadGatewayEvenLoadStrategy

Dynamically adjust traffic allocation to balance the load per replica across the deployments as much as possible.

aliasesstring[]
autoGeneratedboolean

auto_generated indicates this router was generated by the system for a deployment. Auto-generated routers cannot be updated or deleted by the user.

publicboolean

True if the router is public (any account can query the underlying workload), false if the router is private (only the account that owns the router can query the underlying workload).

Changes

Changed in 2 of the 27 revisions of this API.5

    • ○

      added the new optional request property

      new-optional-request-property

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      the endpoint scheme security BearerAuth was added to the API

      api-security-added

    • ○

      api tag gateway.openapi_Gateway added

      api-tag-added

    • ○

      api tag Gateway removed

      api-tag-removed

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog