Skip to content

Commit

Permalink
CodeGen from PR 11629 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
update (#11629)
  • Loading branch information
SDKAuto committed Nov 15, 2020
1 parent 55caa1a commit 325e55b
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 119 deletions.
162 changes: 44 additions & 118 deletions schemas/2019-01-01-preview/Microsoft.SecurityInsights.json
Original file line number Diff line number Diff line change
Expand Up @@ -3108,99 +3108,18 @@
},
"description": "User information that made some action"
},
"WatchlistItem": {
"type": "object",
"properties": {
"properties": {
"oneOf": [
{
"$ref": "#/definitions/WatchlistItemProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Describes watchlist item properties"
}
},
"description": "Represents a Watchlist Item in Azure Security Insights."
},
"WatchlistItemProperties": {
"WatchlistProperties": {
"type": "object",
"properties": {
"createdBy": {
"oneOf": [
{
"$ref": "#/definitions/UserInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "User information that made some action"
},
"createdTimeUtc": {
"contentType": {
"type": "string",
"format": "date-time",
"description": "The time the watchlist item was created"
"description": "The content type of the raw content. Example : text/csv or text/tsv "
},
"entityMapping": {
"type": "object",
"properties": {},
"description": "A key-value pair for a watchlist item entity mapping"
},
"lastUpdatedTimeUtc": {
"type": "string",
"format": "date-time",
"description": "The last time the watchlist item was updated"
},
"tenantId": {
"type": "string",
"description": "The tenantId to which this watchlist item belongs to"
},
"timeToLiveUtc": {
"created": {
"type": "string",
"format": "date-time",
"description": "The time to live for the watchlist item"
},
"updatedBy": {
"oneOf": [
{
"$ref": "#/definitions/UserInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "User information that made some action"
},
"watchlistId": {
"type": "string",
"description": "The watchlist id of the parent of this watchlist item"
},
"watchlistItemName": {
"type": "string",
"description": "Name of the watchlist item"
},
"watchlistItemPair": {
"type": "object",
"properties": {},
"description": "A key-value pair for a watchlist item"
"description": "The time the watchlist was created"
},
"watchlistItemType": {
"type": "string",
"description": "The type of the watchlist item"
}
},
"required": [
"watchlistId",
"watchlistItemPair"
],
"description": "Describes watchlist item properties"
},
"WatchlistProperties": {
"type": "object",
"properties": {
"createdBy": {
"oneOf": [
{
Expand All @@ -3212,11 +3131,6 @@
],
"description": "User information that made some action"
},
"createdTimeUtc": {
"type": "string",
"format": "date-time",
"description": "The time the watchlist was created"
},
"defaultDuration": {
"type": "string",
"format": "duration",
Expand All @@ -3230,6 +3144,17 @@
"type": "string",
"description": "The display name of the watchlist"
},
"isDeleted": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "A flag that indicates if the watchlist is deleted or not"
},
"labels": {
"oneOf": [
{
Expand All @@ -3244,19 +3169,25 @@
],
"description": "List of labels relevant to this watchlist"
},
"lastUpdatedTimeUtc": {
"type": "string",
"format": "date-time",
"description": "The last time the watchlist was updated"
},
"notes": {
"type": "string",
"description": "The notes of the watchlist"
"numberOfLinesToSkip": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The number of lines in a csv/tsv content to skip before the header"
},
"provider": {
"type": "string",
"description": "The provider of the watchlist"
},
"rawContent": {
"type": "string",
"description": "The raw content that represents to watchlist items to create. In case of csv/tsv content type, it's the content of the file that will parsed by the endpoint"
},
"source": {
"oneOf": [
{
Expand All @@ -3274,7 +3205,12 @@
},
"tenantId": {
"type": "string",
"description": "The tenantId where the watchlist belongs to."
"description": "The tenantId where the watchlist belongs to"
},
"updated": {
"type": "string",
"format": "date-time",
"description": "The last time the watchlist was updated"
},
"updatedBy": {
"oneOf": [
Expand All @@ -3287,27 +3223,17 @@
],
"description": "User information that made some action"
},
"watchlistItems": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/WatchlistItem"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "List of watchlist items."
"watchlistAlias": {
"type": "string",
"description": "The alias of the watchlist"
},
"watchlistType": {
"watchlistId": {
"type": "string",
"description": "The type of the watchlist"
"description": "The id (a Guid) of the watchlist"
},
"workspaceId": {
"watchlistType": {
"type": "string",
"description": "The workspaceId where the watchlist belongs to."
"description": "The type of the watchlist"
}
},
"required": [
Expand All @@ -3318,4 +3244,4 @@
"description": "Describes watchlist properties"
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2020-01-01/Microsoft.SecurityInsights.json
Original file line number Diff line number Diff line change
Expand Up @@ -1650,4 +1650,4 @@
"description": "User information that made some action"
}
}
}
}

0 comments on commit 325e55b

Please sign in to comment.