psm dbcs disable-access-rule
Disables an access rule of an Oracle Database Classic Cloud Service instance.
Syntax
In the following syntax, line breaks have been added for clarity. Do not include them when entering the command.
psm dbcs disable-access-rule
-s|--service-name instance-name
-r|--rule-name rule-name
[-of|--output-format json|html|short]
Parameters
Parameter | Description |
---|---|
|
Specifies the name of the Database Classic Cloud Service instance whose access rule you want to disable. |
|
Specifies the name of the access rule to disable. |
|
(Optional) Specifies the output format of the command’s response:
The default output format is the one you specified when using the |
Examples
The following example disables the access rule example-https
of the db12c-xp-si
Database Classic Cloud
Service instance.
$ psm dbcs disable-access-rule --service-name db12c-xp-si --rule-name example-https
{
"ruleName":"example-https",
"description":"",
"status":"disabled",
"source":"192.0.2.0/24",
"destination":"DB",
"ports":"443",
"ruleType":"USER"
}