Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 21 additions & 3 deletions modules/ROOT/pages/_partials/api-mgr.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -611,9 +611,11 @@ In addition to the xref:index.adoc#default-options[default flags], this command
[%header%autowidth.spread,cols="a,a,a"]
|===
|Flag |Description| Example
| `--allowDuplicated` | Indicates whether the Policy can be applied multiple times on the API Instance. | `--allowDuplicated`
Comment thread
guidorc marked this conversation as resolved.
Outdated

| `-c, --config`
| Pass the configuration data as a JSON string |
`--config '{\"username\":\"user\",\"password\":\"teste\"}'`
`--config '{\"username\":\"user\",\"password\":\"test\"}'`

| `--configFile`
| Pass the configuration data as a file |
Expand All @@ -622,12 +624,19 @@ In addition to the xref:index.adoc#default-options[default flags], this command
| `--groupId`
| Mule 4 policy group ID +
This value defaults to the MuleSoft group ID. | `--groupId 1fec0a49-1551-4199-bfcc-cf0352d0f29d`

| `--label`
| An optional label to identify this policy instance | `--label user authentication policy`
Comment thread
guidorc marked this conversation as resolved.
Outdated

| `--output` | Specifies the response format, supported values are `table` (default) and `json` | `--output json`

| `-p, --pointcut [dataJSON]`
| Pass pointcut data as JSON strings |
`--pointcut '[{"methodRegex":"GET\|PUT","uriTemplateRegex":"/users*"}]'`

| `--policyVersion`
| Mule 4 policy version. | `--policyVersion 1.0.2`

|`--upstreamId` | Configure upstream | `--upstreamId 550e8400-e29b-41d4-a716-446655440000`

|===
Expand Down Expand Up @@ -704,16 +713,25 @@ In addition to the xref:index.adoc#default-options[default flags], this command
[%header%autowidth.spread,cols="a,a,a"]
|===
|Flag |Description| Example
| `--allowDuplicated` | Indicates whether the Policy can be applied multiple times on the API Instance. | `--allowDuplicated`
Comment thread
guidorc marked this conversation as resolved.
Outdated

| `-c`, `--config`
| Pass the configuration data as a JSON string |
`--config '{\"username\":\"user\",\"password\":\"teste\"}'`
`--config '{\"username\":\"user\",\"password\":\"test\"}'`

| `--configFile`
| Pass the configuration data as a file |
`--configFile ./config.json`

| `--label`
| An optional label to identify this policy instance | `--label user authentication policy`
Comment thread
guidorc marked this conversation as resolved.
Outdated

| `--output` | Specifies the response format, supported values are `table` (default) and `json` | `--output json`

| `-p, --pointcut`
| Pass pointcut data as JSON strings |
`-p '[{"methodRegex":"GET\|PUT","uriTemplateRegex":"/users*"}]'`

|===

[[api-mgr-policy-enable]]
Expand Down Expand Up @@ -850,4 +868,4 @@ In addition to the xref:index.adoc#default-options[default flags], this command
Supported values are: `id`, `name`, `createdDate`, and `updatedDate` | `--sort id`
|===

// end::commands[]
// end::commands[]