Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace UpdateServiceGatewayDetails

Properties

Optional blockTraffic

blockTraffic: undefined | false | true

Whether the service gateway blocks all traffic through it. The default is {@code false}. When this is {@code true}, traffic is not routed to any services, regardless of route rules.

Example: {@code true}

Optional definedTags

definedTags: undefined | object

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}

Optional displayName

displayName: undefined | string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

Optional freeformTags

freeformTags: undefined | object

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

Example: {@code {\"Department\": \"Finance\"}}

Optional routeTableId

routeTableId: undefined | string

The OCID of the route table the service gateway will use. For information about why you would associate a route table with a service gateway, see Transit Routing: Private Access to Oracle Services.

Optional services

List of all the {@code Service} objects you want enabled on this service gateway. Sending an empty list means you want to disable all services. Omitting this parameter entirely keeps the existing list of services intact.

You can also enable or disable a particular {@code Service} by using {@link #attachServiceId(AttachServiceIdRequest) attachServiceId} or {@link #detachServiceId(DetachServiceIdRequest) detachServiceId}.

For each enabled {@code Service}, make sure there's a route rule with the {@code Service} object's {@code cidrBlock} as the rule's destination and the service gateway as the rule's target. See RouteTable.

Functions

getDeserializedJsonObj

getJsonObj