diff --git a/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/ContainerRegistry.json b/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/ContainerRegistry.json index 5e30c7fbdde9..9995610b7a2a 100644 --- a/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/ContainerRegistry.json +++ b/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/ContainerRegistry.json @@ -25,6 +25,24 @@ ], "properties": {} }, + "ContainerRegistryChartPushedEventData": { + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ContainerRegistry.ChartPushed event.", + "allOf": [ + { + "$ref": "#/definitions/ContainerRegistryArtifactEventData" + } + ], + "properties": {} + }, + "ContainerRegistryChartDeletedEventData": { + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ContainerRegistry.ChartDeleted event.", + "allOf": [ + { + "$ref": "#/definitions/ContainerRegistryArtifactEventData" + } + ], + "properties": {} + }, "ContainerRegistryEventData": { "description": "The content of the event request message.", "properties": { @@ -59,6 +77,28 @@ } } }, + "ContainerRegistryArtifactEventData": { + "description": "The content of the event request message.", + "properties": { + "id": { + "description": "The event ID.", + "type": "string" + }, + "timestamp": { + "format": "date-time", + "description": "The time at which the event occurred.", + "type": "string" + }, + "action": { + "description": "The action that encompasses the provided event.", + "type": "string" + }, + "target": { + "$ref": "#/definitions/ContainerRegistryArtifactEventTarget", + "description": "The target of the event." + } + } + }, "ContainerRegistryEventTarget": { "description": "The target of the event.", "properties": { @@ -94,6 +134,40 @@ } } }, + "ContainerRegistryArtifactEventTarget": { + "description": "The target of the event.", + "properties": { + "mediaType": { + "description": "The MIME type of the artifact.", + "type": "string" + }, + "size": { + "format": "int64", + "description": "The size in bytes of the artifact.", + "type": "integer" + }, + "digest": { + "description": "The digest of the artifact.", + "type": "string" + }, + "repository": { + "description": "The repository name of the artifact.", + "type": "string" + }, + "tag": { + "description": "The tag of the artifact.", + "type": "string" + }, + "name": { + "description": "The name of the artifact.", + "type": "string" + }, + "version": { + "description": "The version of the artifact.", + "type": "string" + } + } + }, "ContainerRegistryEventRequest": { "description": "The request that generated the event.", "properties": {