-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Note: We are creating a new api-version with this change. Watchlists.json 2022-01-01-preview parameter name changes #17848
Changes from 15 commits
366c79d
fa33c67
272963c
fdbd91c
92a17ac
4518eb9
b3d96d5
3ca7776
cb91843
a30a709
d98df0d
6d11366
b067d90
2f96ee3
0f322ef
9040d22
0b61120
3055791
fd67a4f
3294bb5
ccc4f7d
8aed1c7
f933b0a
552adf4
2d370ad
5557a0b
bddd1a7
db21ace
120ad44
94a5945
bf77754
f11e89b
bbcbf77
9e00156
c2838a0
61599bc
a09df08
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,7 +79,7 @@ | |
} | ||
} | ||
}, | ||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}": { | ||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{alias}": { | ||
"get": { | ||
"x-ms-examples": { | ||
"Get a watchlist.": { | ||
|
@@ -105,7 +105,7 @@ | |
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" | ||
}, | ||
{ | ||
"$ref": "#/parameters/WatchlistAlias" | ||
"$ref": "#/parameters/Alias" | ||
} | ||
], | ||
"responses": { | ||
|
@@ -148,7 +148,7 @@ | |
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" | ||
}, | ||
{ | ||
"$ref": "#/parameters/WatchlistAlias" | ||
"$ref": "#/parameters/Alias" | ||
} | ||
], | ||
"responses": { | ||
|
@@ -194,7 +194,7 @@ | |
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" | ||
}, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line 181: Pls add a description like : |
||
{ | ||
"$ref": "#/parameters/WatchlistAlias" | ||
"$ref": "#/parameters/Alias" | ||
}, | ||
{ | ||
"$ref": "#/parameters/Watchlist" | ||
|
@@ -222,7 +222,7 @@ | |
} | ||
ushasan marked this conversation as resolved.
Show resolved
Hide resolved
|
||
} | ||
}, | ||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems": { | ||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{alias}/watchlistItems": { | ||
"get": { | ||
"x-ms-examples": { | ||
"Get all watchlist Items.": { | ||
|
@@ -248,7 +248,7 @@ | |
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" | ||
}, | ||
{ | ||
"$ref": "#/parameters/WatchlistAlias" | ||
"$ref": "#/parameters/Alias" | ||
} | ||
], | ||
"responses": { | ||
|
@@ -270,7 +270,7 @@ | |
} | ||
} | ||
}, | ||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems/{watchlistItemId}": { | ||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{alias}/watchlistItems/{watchlistItemId}": { | ||
"get": { | ||
"x-ms-examples": { | ||
"Get a watchlist item.": { | ||
|
@@ -296,7 +296,7 @@ | |
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" | ||
}, | ||
{ | ||
"$ref": "#/parameters/WatchlistAlias" | ||
"$ref": "#/parameters/Alias" | ||
}, | ||
{ | ||
"$ref": "#/parameters/WatchlistItemId" | ||
|
@@ -342,7 +342,7 @@ | |
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" | ||
}, | ||
{ | ||
"$ref": "#/parameters/WatchlistAlias" | ||
"$ref": "#/parameters/Alias" | ||
}, | ||
{ | ||
"$ref": "#/parameters/WatchlistItemId" | ||
|
@@ -388,7 +388,7 @@ | |
"$ref": "../../../common/2.0/types.json#/parameters/WorkspaceName" | ||
}, | ||
{ | ||
"$ref": "#/parameters/WatchlistAlias" | ||
"$ref": "#/parameters/Alias" | ||
}, | ||
{ | ||
"$ref": "#/parameters/WatchlistItemId" | ||
|
@@ -473,16 +473,16 @@ | |
"description": "The provider of the watchlist", | ||
"type": "string" | ||
}, | ||
"source": { | ||
"description": "The source of the watchlist", | ||
"sourceType": { | ||
ushasan marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"description": "The sourceType of the watchlist", | ||
"enum": [ | ||
"Local file", | ||
"Remote storage" | ||
], | ||
"type": "string", | ||
"x-ms-enum": { | ||
"modelAsString": true, | ||
"name": "source" | ||
"name": "sourceType" | ||
} | ||
}, | ||
"created": { | ||
|
@@ -513,7 +513,7 @@ | |
"description": "The type of the watchlist", | ||
"type": "string" | ||
}, | ||
"watchlistAlias": { | ||
"alias": { | ||
"description": "The alias of the watchlist", | ||
"type": "string" | ||
}, | ||
|
@@ -566,7 +566,7 @@ | |
}, | ||
"required": [ | ||
ushasan marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"displayName", | ||
"source", | ||
"sourceType", | ||
"provider", | ||
"itemsSearchKey" | ||
], | ||
|
@@ -663,10 +663,10 @@ | |
} | ||
}, | ||
"parameters": { | ||
"WatchlistAlias": { | ||
"Alias": { | ||
"description": "Watchlist Alias", | ||
"in": "path", | ||
"name": "watchlistAlias", | ||
"name": "alias", | ||
"required": true, | ||
"type": "string", | ||
"x-ms-parameter-location": "method" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add 202 status code along with description about the header that can be used to pull out the status of the delete.