EventSubscriptions

Create or update an event subscription.

Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.

put/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}

Path parameters

eventSubscriptionNamestring required

Name of the event subscription to be created. Event subscription names must be between 3 and 64 characters in length and should use alphanumeric letters only.

Parameters

../../../../../../common-types/resource-management/v6/types.json#/components/parameters/ScopeParameter — unresolved $ref
../../../../../../common-types/resource-management/v6/types.json#/components/parameters/ApiVersionParameter — unresolved $ref

Request body

idstring

Fully qualified identifier of the resource.

namestring

Name of the resource.

typestring

Type of the resource.

Response

EventSubscription CreateOrUpdate request accepted.

idstring

Fully qualified identifier of the resource.

namestring

Name of the resource.

typestring

Type of the resource.

Changes

Changed in 3 of the 24 revisions of this API.45

  • 2017-06-15-preview285f714f333932See the full diff
    • the optional response header Location removed for the status 201

      optional-response-header-removed

    • the optional response header Retry-After removed for the status 201

      optional-response-header-removed

    • deleted the path request parameter scope

      request-parameter-removed

    • api tag EventSubscriptions added

      api-tag-added

    • api tag EventSubscriptionOperationGroup removed

      api-tag-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 2017-06-15-preview6114a105ef6912See the full diff
    • deleted the query request parameter api-version

      request-parameter-removed

    • api tag EventSubscriptionOperationGroup added

      api-tag-added

    • api tag EventSubscriptions removed

      api-tag-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 2017-06-15-preview5bd940f4fdfb1See the full diff
    • api operation id EventSubscriptions_Create removed and replaced with EventSubscriptions_CreateOrUpdate

      api-operation-id-removed