Add an Access Rule
post
/paas/api/v1.1/paas/api/v1.1/instancemgmt/{identityDomainId}/services/IntegrationCloud/instances/{service_name}/accessrules
Adds a new access rule to an Oracle Integration Classic instance.
Request
Supported Media Types
- application/json
Path Parameters
-
identityDomainId: string
Identity domain ID for the Oracle Integration Classic account.
-
service_name: string
Name of the Oracle Integration Classic instance.
Header Parameters
-
X-ID-TENANT-NAME: string
Identity domain ID for the Oracle Integration Classic account.
The request body defines the details of the access rule to add.
Root Schema : addsecrule-postrequest
Type:
Show Source
object
-
description:
string
Description of the rule.
-
destination:
string
Destination network. Specify the service component to allow traffic to. For example,
WLS_ADMIN_SERVER
for the virtual machine where the WebLogic Administration Server is running, orOTD
for the virtual machine that contains the Oracle Traffic Director administration server. -
ports:
string
Network port. Specify a single port or a port range. For example,
8989
or7000-8000
. -
protocol(optional):
string
Communication protocol. Valid values are:
tcp
orudp
. Default istcp
. -
ruleName:
string
Name of the rule.
-
source:
string
Network address of source. Specify the hosts from which traffic is allowed. Valid values include:
PUBLIC-INTERNET
for any host on the Internet- A single IP address or a comma-separated list of subnets (in CIDR format) or IPv4 addresses
- A service component name. Valid values include
WLS_ADMIN_SERVER
,WLS_MANAGED_SERVER
,OTD
,DB
-
status:
string
Status of the rule. Specify whether the status should be enabled or disabled. Valid value:
disabled
orenabled
.
Response
Supported Media Types
- application/json
202 Response
Accepted.