-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DOCSP-32891: update example with missing flag (#2215)
- Loading branch information
Showing
4 changed files
with
4 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -200,7 +200,7 @@ Examples | |
# Create an alert configuration that notifies a user when they join a group for the project with the ID 5df90590f10fab5e33de2305: | ||
atlas alerts settings create --event JOINED_GROUP --enabled \ | ||
--notificationType USER --notificationEmailEnabled \ | ||
--notificationUsername [email protected] \ | ||
--notificationIntervalMin 60 --notificationUsername [email protected] \ | ||
--output json --projectId 5df90590f10fab5e33de2305 | ||
|
||
.. code-block:: | ||
|
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 |
---|---|---|
|
@@ -220,7 +220,7 @@ Examples | |
# Modify the alert configuration with the ID 5d1113b25a115342acc2d1aa so that it notifies a user when they join a group for the project with the ID 5df90590f10fab5e33de2305: | ||
atlas alerts settings update 5d1113b25a115342acc2d1aa --event JOINED_GROUP --enabled \ | ||
--notificationType USER --notificationEmailEnabled \ | ||
--notificationUsername [email protected] \ | ||
--notificationIntervalMin 60 --notificationUsername [email protected] \ | ||
--output json --projectId 5df90590f10fab5e33de2305 | ||
|
||
.. code-block:: | ||
|
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 |
---|---|---|
|
@@ -89,7 +89,7 @@ func CreateBuilder() *cobra.Command { | |
Example: fmt.Sprintf(` # Create an alert configuration that notifies a user when they join a group for the project with the ID 5df90590f10fab5e33de2305: | ||
%s alerts settings create --event JOINED_GROUP --enabled \ | ||
--notificationType USER --notificationEmailEnabled \ | ||
--notificationUsername [email protected] \ | ||
--notificationIntervalMin 60 --notificationUsername [email protected] \ | ||
--output json --projectId 5df90590f10fab5e33de2305 | ||
# Create alert using json file containing alert configuration | ||
%s alerts settings create 5d1113b25a115342acc2d1aa --file alerts.json`, cli.ExampleAtlasEntryPoint(), cli.ExampleAtlasEntryPoint()), | ||
|
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 |
---|---|---|
|
@@ -90,7 +90,7 @@ func UpdateBuilder() *cobra.Command { | |
Example: fmt.Sprintf(` # Modify the alert configuration with the ID 5d1113b25a115342acc2d1aa so that it notifies a user when they join a group for the project with the ID 5df90590f10fab5e33de2305: | ||
%s alerts settings update 5d1113b25a115342acc2d1aa --event JOINED_GROUP --enabled \ | ||
--notificationType USER --notificationEmailEnabled \ | ||
--notificationUsername [email protected] \ | ||
--notificationIntervalMin 60 --notificationUsername [email protected] \ | ||
--output json --projectId 5df90590f10fab5e33de2305 | ||
# Update alert using json file input containing alert configuration | ||
%s alerts settings update 5d1113b25a115342acc2d1aa --file alerts.json`, cli.ExampleAtlasEntryPoint(), cli.ExampleAtlasEntryPoint()), | ||
|