-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename 'externalconnection' commands
- Loading branch information
Showing
21 changed files
with
266 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
import Global from '/docs/cmd/_global.mdx'; | ||
|
||
# external connection remove | ||
|
||
Allow the administrator to remove a specific external connection | ||
|
||
## Usage | ||
|
||
```sh | ||
m365 external connection remove [options] | ||
``` | ||
|
||
## Alias | ||
|
||
```sh | ||
m365 search externalconnection remove | ||
``` | ||
|
||
## Options | ||
|
||
```md definition-list | ||
`-i, --id [id]` | ||
: ID of the External Connection to remove. Specify either `id` or `name`. | ||
|
||
`-n, --name [name]` | ||
: Name of the External Connection to remove. Specify either `id` or `name`. | ||
|
||
`-f, --force` | ||
: Don't prompt for confirming removing the connection. | ||
``` | ||
|
||
<Global /> | ||
|
||
## Remarks | ||
|
||
If the command finds multiple external connections with the specified name, it will prompt you to disambiguate which external connection it should remove, listing the discovered IDs. | ||
|
||
## Examples | ||
|
||
Removes external connection by its id. | ||
|
||
```sh | ||
m365 external connection remove --id "MyApp" | ||
``` | ||
|
||
Removes external connection by its name. Will NOT prompt for confirmation before removing. | ||
|
||
```sh | ||
m365 external connection remove --name "Test" --force | ||
``` | ||
|
||
## Response | ||
|
||
The command won't return a response on success. |
41 changes: 41 additions & 0 deletions
41
docs/docs/cmd/external/connection/connection-schema-add.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import Global from '/docs/cmd/_global.mdx'; | ||
|
||
# external connection schema add | ||
|
||
Allow the administrator to add a schema to a specific external connection | ||
|
||
## Usage | ||
|
||
```sh | ||
m365 external connection schema add [options] | ||
``` | ||
|
||
## Alias | ||
|
||
```sh | ||
m365 search externalconnection schema add | ||
``` | ||
|
||
## Options | ||
|
||
```md definition-list | ||
`-i, --externalConnectionId <externalConnectionId>` | ||
: ID of the External Connection. | ||
|
||
`-s, --schema [schema]` | ||
: The schema object to be added. | ||
``` | ||
|
||
<Global /> | ||
|
||
## Examples | ||
|
||
Adds a new schema to a specific external connection. | ||
|
||
```sh | ||
m365 external connection schema add --externalConnectionId 'CliConnectionId' --schema '{"baseType":"microsoft.graph.externalItem","properties":[{"name":"ticketTitle","type":"String","isSearchable":"true","isRetrievable":"true","labels":["title"]},{"name":"priority","type":"String","isQueryable":"true","isRetrievable":"true","isSearchable":"false"},{"name":"assignee","type":"String","isRetrievable":"true"}]}' | ||
``` | ||
|
||
## Response | ||
|
||
The command won't return a response on success. |
48 changes: 0 additions & 48 deletions
48
docs/docs/cmd/search/externalconnection/externalconnection-remove.mdx
This file was deleted.
Oops, something went wrong.
35 changes: 0 additions & 35 deletions
35
docs/docs/cmd/search/externalconnection/externalconnection-schema-add.mdx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.