Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace CreateServiceGatewayDetails

Properties

compartmentId

compartmentId: string

The [OCID] (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to contain the service gateway.

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.

If you don't specify a route table here, the service gateway is created without an associated route table. The Networking service does NOT automatically associate the attached VCN's default route table with the service gateway.

For information about why you would associate a route table with a service gateway, see [Transit Routing: Private Access to Oracle Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm).

services

services: Array<ServiceIdRequestDetails>

List of the OCIDs of the Service objects to enable for the service gateway. This list can be empty if you don't want to enable any {@code Service} objects when you create the gateway. You can enable a {@code Service} object later by using either {@link #attachServiceId(AttachServiceIdRequest) attachServiceId} or {@link #updateServiceGateway(UpdateServiceGatewayRequest) updateServiceGateway}.

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.

vcnId

vcnId: string

The OCID of the VCN.

Functions

getDeserializedJsonObj

getJsonObj