QuestionQ159

VerifiedConnect to and consume Azure services and third-party services

You need to implement the Log policy.

Complete the Azure Event Grid subscription. Each JSON segment may be used once, more than once, or not at all.

Drag & Drop
{
  "name": "newlogs",
  "properties": {
    "topic": "/subscriptions/. . ./providers/Microsoft.EventGrid/topics/. . .",
    "destination": {
      "endpointType": "" },
    "filter": {
      "": "/blobServices/default/containers/logdrop/",
      "includedEventTypes": [ "" ] },
    "labels": [],
    "eventDeliverySchema": "EventGridSchema"
  }
}
Explanation

Azure Event Grid uses WebHook for webhook delivery endpoints. Blob Storage event subjects begin with /blobServices/default/containers/<containername>/; therefore subjectBeginsWith limits the subscription to the logdrop container. Microsoft.Storage.BlobCreated is the event type emitted when a blob is created.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!