From e072b14cbd4bb79a6a89787535f16fab8a3d01a1 Mon Sep 17 00:00:00 2001 From: Ashraf Hamad Date: Tue, 31 Mar 2020 22:15:49 -0700 Subject: [PATCH] Update EventGrid 2020-04-01-preview swagger to fix couple of bug fixes. (#8880) * Update 2020-04-01-preview public swagger with bug fixes * fix file * Fix example * Fix example * fix example for approved eenum * missing property Co-authored-by: Ashraf Hamad --- .../preview/2020-04-01-preview/EventGrid.json | 723 +++++++++--------- .../PrivateEndpointConnections_Update.json | 19 +- 2 files changed, 391 insertions(+), 351 deletions(-) diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/EventGrid.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/EventGrid.json index 77ee12851d56..4c189d18d19f 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/EventGrid.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/EventGrid.json @@ -882,7 +882,8 @@ "EventChannels_Delete": { "$ref": "./examples/EventChannels_Delete.json" } - } + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerNamespaces/{partnerNamespaceName}/eventChannels": { @@ -1618,6 +1619,12 @@ }, { "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" } ], "responses": { @@ -1637,7 +1644,7 @@ } }, "x-ms-pageable": { - "nextLinkName": null + "nextLinkName": "nextLink" } } }, @@ -1987,6 +1994,12 @@ }, { "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" } ], "responses": { @@ -2006,7 +2019,7 @@ } }, "x-ms-pageable": { - "nextLinkName": null + "nextLinkName": "nextLink" } } }, @@ -3466,7 +3479,7 @@ "nextLinkName": null }, "x-ms-examples": { - "PartnerTopics_Get": { + "PartnerRegistrations_List": { "$ref": "./examples/PartnerRegistrations_List.json" } } @@ -3919,7 +3932,9 @@ "summary": "Update a specific private endpoint connection.", "description": "Update a specific private endpoint connection under a topic or domain.", "operationId": "PrivateEndpointConnections_Update", - "consumes": [], + "consumes": [ + "application/json" + ], "produces": [ "application/json" ], @@ -3955,6 +3970,15 @@ "required": true, "type": "string" }, + { + "name": "privateEndpointConnection", + "in": "body", + "description": "The private endpoint connection object to update.", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, { "$ref": "#/parameters/ApiVersionParameter" } @@ -3977,7 +4001,7 @@ } }, "x-ms-examples": { - "PartnerTopics_Delete": { + "PrivateEndpointConnections_Update": { "$ref": "./examples/PrivateEndpointConnections_Update.json" } }, @@ -5404,7 +5428,6 @@ }, "PrivateEndpointConnection": { "type": "object", - "description": "PrivateEndpointConnection resource information.", "allOf": [ { "$ref": "#/definitions/Resource" @@ -5475,7 +5498,7 @@ "x-ms-azure-resource": true }, "PrivateEndpointConnectionProperties": { - "description": "Properties of the private endpoint connection resource", + "description": "Properties of the private endpoint connection resource.", "type": "object", "properties": { "privateEndpoint": { @@ -5522,7 +5545,7 @@ } }, "ConnectionState": { - "description": "ConnectionState Information.", + "description": "ConnectionState information.", "type": "object", "properties": { "status": { @@ -5721,8 +5744,8 @@ } }, "DomainUpdateParameterProperties": { - "type": "object", "description": "Information of domain update parameter properties.", + "type": "object", "properties": { "publicNetworkAccess": { "description": "This determines if traffic is allowed over public network. By default it is enabled. \r\nYou can further restrict to specific IPs by configuring ", @@ -5872,6 +5895,10 @@ "name": "EventChannelProvisioningState", "modelAsString": true } + }, + "filter": { + "$ref": "#/definitions/EventChannelFilter", + "description": "Information about the filter for the event channel." } } }, @@ -5903,145 +5930,20 @@ } } }, - "EventChannel": { - "description": "Event Channel.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/EventChannelProperties", - "description": "Properties of the EventChannel.", - "x-ms-client-flatten": true - } - } - }, - "EventChannelsListResult": { - "description": "Result of the List Event Channels operation", - "type": "object", - "properties": { - "value": { - "description": "A collection of Event Channels", - "type": "array", - "items": { - "$ref": "#/definitions/EventChannel" - } - }, - "nextLink": { - "description": "A link for the next page of event channels", - "type": "string" - } - } - }, - "EventSubscriptionProperties": { - "description": "Properties of the Event Subscription.", - "type": "object", - "properties": { - "topic": { - "description": "Name of the topic of the event subscription.", - "type": "string", - "readOnly": true - }, - "provisioningState": { - "description": "Provisioning state of the event subscription.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Canceled", - "Failed", - "AwaitingManualAction" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "EventSubscriptionProvisioningState", - "modelAsString": true - } - }, - "destination": { - "$ref": "#/definitions/EventSubscriptionDestination", - "description": "Information about the destination where events have to be delivered for the event subscription.\r\nUses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering." - }, - "deliveryWithResourceIdentity": { - "$ref": "#/definitions/DeliveryWithResourceIdentity", - "description": "Information about the destination where events have to be delivered for the event subscription.\r\nUses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering." - }, - "filter": { - "$ref": "#/definitions/EventSubscriptionFilter", - "description": "Information about the filter for the event subscription." - }, - "labels": { - "description": "List of user defined labels.", - "type": "array", - "items": { - "type": "string" - } - }, - "expirationTimeUtc": { - "format": "date-time", - "description": "Expiration time of the event subscription.", - "type": "string" - }, - "eventDeliverySchema": { - "description": "The event delivery schema for the event subscription.", - "enum": [ - "EventGridSchema", - "CustomInputSchema", - "CloudEventSchemaV1_0" - ], - "type": "string", - "x-ms-enum": { - "name": "EventDeliverySchema", - "modelAsString": true - } - }, - "retryPolicy": { - "$ref": "#/definitions/RetryPolicy", - "description": "The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events." - }, - "deadLetterDestination": { - "$ref": "#/definitions/DeadLetterDestination", - "description": "The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination.\r\nUses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering." - }, - "deadLetterWithResourceIdentity": { - "$ref": "#/definitions/DeadLetterWithResourceIdentity", - "description": "The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination.\r\nUses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering." - } - } - }, - "DeliveryWithResourceIdentity": { - "description": "Information about the delivery for an event subscription with resource identity.", - "type": "object", - "properties": { - "identity": { - "$ref": "#/definitions/EventSubscriptionIdentity", - "description": "The identity to use when delivering events." - }, - "destination": { - "$ref": "#/definitions/EventSubscriptionDestination", - "description": "Information about the destination where events have to be delivered for the event subscription.\r\nUses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering." - } - } - }, - "EventSubscriptionFilter": { - "description": "Filter for the Event Subscription.", + "EventChannelFilter": { + "description": "Filter for the Event Channel.", "type": "object", "properties": { "subjectBeginsWith": { - "description": "An optional string to filter events for an event subscription based on a resource path prefix.\r\nThe format of this depends on the publisher of the events.\r\nWildcard characters are not supported in this path.", + "description": "An optional string to filter events for an event channel based on a resource path prefix.\r\nThe format of this depends on the publisher of the events. Wildcard characters are not supported in this path.", "type": "string" }, "subjectEndsWith": { - "description": "An optional string to filter events for an event subscription based on a resource path suffix.\r\nWildcard characters are not supported in this path.", + "description": "An optional string to filter events for an event channel based on a resource path suffix.\r\nWildcard characters are not supported in this path.", "type": "string" }, "includedEventTypes": { - "description": "A list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null.", + "description": "A list of applicable event types that need to be part of the event channel. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null.", "type": "array", "items": { "type": "string" @@ -6049,11 +5951,10 @@ }, "isSubjectCaseSensitive": { "description": "Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter\r\nshould be compared in a case sensitive manner.", - "default": false, "type": "boolean" }, "advancedFilters": { - "description": "An array of advanced filters that are used for filtering event subscriptions.", + "description": "An array of advanced filters that are used for filtering event channels.", "type": "array", "items": { "$ref": "#/definitions/AdvancedFilter" @@ -6061,170 +5962,54 @@ } } }, - "RetryPolicy": { - "description": "Information about the retry policy for an event subscription.", + "NumberInAdvancedFilter": { + "description": "NumberIn Advanced Filter.", "type": "object", - "properties": { - "maxDeliveryAttempts": { - "format": "int32", - "description": "Maximum number of delivery retry attempts for events.", - "type": "integer" - }, - "eventTimeToLiveInMinutes": { - "format": "int32", - "description": "Time To Live (in minutes) for events.", - "type": "integer" + "allOf": [ + { + "$ref": "#/definitions/AdvancedFilter" } - } - }, - "DeadLetterWithResourceIdentity": { - "description": "Information about the deadletter destination with resource identity.", - "type": "object", + ], "properties": { - "identity": { - "$ref": "#/definitions/EventSubscriptionIdentity", - "description": "The identity to use when dead-lettering events." - }, - "deadLetterDestination": { - "$ref": "#/definitions/DeadLetterDestination", - "description": "Information about the destination where events have to be delivered for the event subscription.\r\nUses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering." + "values": { + "description": "The set of filter values.", + "type": "array", + "items": { + "format": "double", + "type": "number" + } } - } + }, + "x-ms-discriminator-value": "NumberIn" }, - "EventSubscriptionIdentity": { - "description": "The identity information with the event subscription.", + "NumberNotInAdvancedFilter": { + "description": "NumberNotIn Advanced Filter.", "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AdvancedFilter" + } + ], "properties": { - "type": { - "description": "The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity.", - "enum": [ - "SystemAssigned", - "UserAssigned" - ], - "type": "string", - "x-ms-enum": { - "name": "EventSubscriptionIdentityType", - "modelAsString": true + "values": { + "description": "The set of filter values.", + "type": "array", + "items": { + "format": "double", + "type": "number" } - }, - "userAssignedIdentity": { - "description": "The user identity associated with the resource.", - "type": "string" } - } + }, + "x-ms-discriminator-value": "NumberNotIn" }, - "WebHookEventSubscriptionDestinationProperties": { - "description": "Information about the webhook destination properties for an event subscription.", + "NumberLessThanAdvancedFilter": { + "description": "NumberLessThan Advanced Filter.", "type": "object", - "properties": { - "endpointUrl": { - "description": "The URL that represents the endpoint of the destination of an event subscription.", - "type": "string" - }, - "endpointBaseUrl": { - "description": "The base URL that represents the endpoint of the destination of an event subscription.", - "type": "string", - "readOnly": true - }, - "maxEventsPerBatch": { - "format": "int32", - "description": "Maximum number of events per batch.", - "type": "integer" - }, - "preferredBatchSizeInKilobytes": { - "format": "int32", - "description": "Preferred batch size in Kilobytes.", - "type": "integer" - }, - "azureActiveDirectoryTenantId": { - "description": "The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.", - "type": "string" - }, - "azureActiveDirectoryApplicationIdOrUri": { - "description": "The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests.", - "type": "string" - } - } - }, - "StorageBlobDeadLetterDestinationProperties": { - "description": "Properties of the storage blob based dead letter destination.", - "type": "object", - "properties": { - "resourceId": { - "description": "The Azure Resource ID of the storage account that is the destination of the deadletter events", - "type": "string" - }, - "blobContainerName": { - "description": "The name of the Storage blob container that is the destination of the deadletter events", - "type": "string" - } - } - }, - "NumberInAdvancedFilter": { - "description": "NumberIn Advanced Filter.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AdvancedFilter" - } - ], - "properties": { - "values": { - "description": "The set of filter values.", - "type": "array", - "items": { - "format": "double", - "type": "number" - } - } - }, - "x-ms-discriminator-value": "NumberIn" - }, - "StorageBlobDeadLetterDestination": { - "description": "Information about the storage blob based dead letter destination.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DeadLetterDestination" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/StorageBlobDeadLetterDestinationProperties", - "description": "The properties of the Storage Blob based deadletter destination", - "x-ms-client-flatten": true - } - }, - "x-ms-discriminator-value": "StorageBlob" - }, - "NumberNotInAdvancedFilter": { - "description": "NumberNotIn Advanced Filter.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AdvancedFilter" - } - ], - "properties": { - "values": { - "description": "The set of filter values.", - "type": "array", - "items": { - "format": "double", - "type": "number" - } - } - }, - "x-ms-discriminator-value": "NumberNotIn" - }, - "NumberLessThanAdvancedFilter": { - "description": "NumberLessThan Advanced Filter.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AdvancedFilter" - } - ], + "allOf": [ + { + "$ref": "#/definitions/AdvancedFilter" + } + ], "properties": { "value": { "format": "double", @@ -6432,6 +6217,280 @@ }, "discriminator": "operatorType" }, + "EventChannel": { + "description": "Event Channel.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/EventChannelProperties", + "description": "Properties of the EventChannel.", + "x-ms-client-flatten": true + } + } + }, + "EventChannelsListResult": { + "description": "Result of the List Event Channels operation", + "type": "object", + "properties": { + "value": { + "description": "A collection of Event Channels", + "type": "array", + "items": { + "$ref": "#/definitions/EventChannel" + } + }, + "nextLink": { + "description": "A link for the next page of event channels", + "type": "string" + } + } + }, + "EventSubscriptionProperties": { + "description": "Properties of the Event Subscription.", + "type": "object", + "properties": { + "topic": { + "description": "Name of the topic of the event subscription.", + "type": "string", + "readOnly": true + }, + "provisioningState": { + "description": "Provisioning state of the event subscription.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Canceled", + "Failed", + "AwaitingManualAction" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "EventSubscriptionProvisioningState", + "modelAsString": true + } + }, + "destination": { + "$ref": "#/definitions/EventSubscriptionDestination", + "description": "Information about the destination where events have to be delivered for the event subscription.\r\nUses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering." + }, + "deliveryWithResourceIdentity": { + "$ref": "#/definitions/DeliveryWithResourceIdentity", + "description": "Information about the destination where events have to be delivered for the event subscription.\r\nUses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering." + }, + "filter": { + "$ref": "#/definitions/EventSubscriptionFilter", + "description": "Information about the filter for the event subscription." + }, + "labels": { + "description": "List of user defined labels.", + "type": "array", + "items": { + "type": "string" + } + }, + "expirationTimeUtc": { + "format": "date-time", + "description": "Expiration time of the event subscription.", + "type": "string" + }, + "eventDeliverySchema": { + "description": "The event delivery schema for the event subscription.", + "enum": [ + "EventGridSchema", + "CustomInputSchema", + "CloudEventSchemaV1_0" + ], + "type": "string", + "x-ms-enum": { + "name": "EventDeliverySchema", + "modelAsString": true + } + }, + "retryPolicy": { + "$ref": "#/definitions/RetryPolicy", + "description": "The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events." + }, + "deadLetterDestination": { + "$ref": "#/definitions/DeadLetterDestination", + "description": "The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination.\r\nUses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering." + }, + "deadLetterWithResourceIdentity": { + "$ref": "#/definitions/DeadLetterWithResourceIdentity", + "description": "The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination.\r\nUses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering." + } + } + }, + "DeliveryWithResourceIdentity": { + "description": "Information about the delivery for an event subscription with resource identity.", + "type": "object", + "properties": { + "identity": { + "$ref": "#/definitions/EventSubscriptionIdentity", + "description": "The identity to use when delivering events." + }, + "destination": { + "$ref": "#/definitions/EventSubscriptionDestination", + "description": "Information about the destination where events have to be delivered for the event subscription.\r\nUses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering." + } + } + }, + "EventSubscriptionFilter": { + "description": "Filter for the Event Subscription.", + "type": "object", + "properties": { + "subjectBeginsWith": { + "description": "An optional string to filter events for an event subscription based on a resource path prefix.\r\nThe format of this depends on the publisher of the events.\r\nWildcard characters are not supported in this path.", + "type": "string" + }, + "subjectEndsWith": { + "description": "An optional string to filter events for an event subscription based on a resource path suffix.\r\nWildcard characters are not supported in this path.", + "type": "string" + }, + "includedEventTypes": { + "description": "A list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null.", + "type": "array", + "items": { + "type": "string" + } + }, + "isSubjectCaseSensitive": { + "description": "Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter\r\nshould be compared in a case sensitive manner.", + "default": false, + "type": "boolean" + }, + "advancedFilters": { + "description": "An array of advanced filters that are used for filtering event subscriptions.", + "type": "array", + "items": { + "$ref": "#/definitions/AdvancedFilter" + } + } + } + }, + "RetryPolicy": { + "description": "Information about the retry policy for an event subscription.", + "type": "object", + "properties": { + "maxDeliveryAttempts": { + "format": "int32", + "description": "Maximum number of delivery retry attempts for events.", + "type": "integer" + }, + "eventTimeToLiveInMinutes": { + "format": "int32", + "description": "Time To Live (in minutes) for events.", + "type": "integer" + } + } + }, + "DeadLetterWithResourceIdentity": { + "description": "Information about the deadletter destination with resource identity.", + "type": "object", + "properties": { + "identity": { + "$ref": "#/definitions/EventSubscriptionIdentity", + "description": "The identity to use when dead-lettering events." + }, + "deadLetterDestination": { + "$ref": "#/definitions/DeadLetterDestination", + "description": "Information about the destination where events have to be delivered for the event subscription.\r\nUses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering." + } + } + }, + "EventSubscriptionIdentity": { + "description": "The identity information with the event subscription.", + "type": "object", + "properties": { + "type": { + "description": "The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity.", + "enum": [ + "SystemAssigned", + "UserAssigned" + ], + "type": "string", + "x-ms-enum": { + "name": "EventSubscriptionIdentityType", + "modelAsString": true + } + }, + "userAssignedIdentity": { + "description": "The user identity associated with the resource.", + "type": "string" + } + } + }, + "WebHookEventSubscriptionDestinationProperties": { + "description": "Information about the webhook destination properties for an event subscription.", + "type": "object", + "properties": { + "endpointUrl": { + "description": "The URL that represents the endpoint of the destination of an event subscription.", + "type": "string" + }, + "endpointBaseUrl": { + "description": "The base URL that represents the endpoint of the destination of an event subscription.", + "type": "string", + "readOnly": true + }, + "maxEventsPerBatch": { + "format": "int32", + "description": "Maximum number of events per batch.", + "type": "integer" + }, + "preferredBatchSizeInKilobytes": { + "format": "int32", + "description": "Preferred batch size in Kilobytes.", + "type": "integer" + }, + "azureActiveDirectoryTenantId": { + "description": "The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.", + "type": "string" + }, + "azureActiveDirectoryApplicationIdOrUri": { + "description": "The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests.", + "type": "string" + } + } + }, + "StorageBlobDeadLetterDestinationProperties": { + "description": "Properties of the storage blob based dead letter destination.", + "type": "object", + "properties": { + "resourceId": { + "description": "The Azure Resource ID of the storage account that is the destination of the deadletter events", + "type": "string" + }, + "blobContainerName": { + "description": "The name of the Storage blob container that is the destination of the deadletter events", + "type": "string" + } + } + }, + "StorageBlobDeadLetterDestination": { + "description": "Information about the storage blob based dead letter destination.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DeadLetterDestination" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/StorageBlobDeadLetterDestinationProperties", + "description": "The properties of the Storage Blob based deadletter destination", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "StorageBlob" + }, "WebHookEventSubscriptionDestination": { "description": "Information about the webhook destination for an event subscription.", "type": "object", @@ -7021,6 +7080,13 @@ "description": "Properties of the Partner Registration update.", "type": "object", "properties": { + "tags": { + "description": "Tags of the partner registration resource.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, "partnerTopicTypeName": { "description": "Name of the partner topic type.", "type": "string" @@ -7122,6 +7188,19 @@ } } }, + "PartnerTopicUpdateParameters": { + "description": "Properties of the Partner Topic update.", + "type": "object", + "properties": { + "tags": { + "description": "Tags of the partner topic.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, "PartnerTopicProperties": { "description": "Properties of the Partner Topic.", "type": "object", @@ -7178,19 +7257,6 @@ } } }, - "PartnerTopicUpdateParameters": { - "description": "Properties of the Partner Topic update.", - "type": "object", - "properties": { - "tags": { - "description": "Tags of the partner topic.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, "PartnerTopicsListResult": { "description": "Result of the List Partner Topics operation.", "type": "object", @@ -7307,8 +7373,8 @@ } }, "PrivateLinkResource": { - "type": "object", "description": "Information of the private link resource.", + "type": "object", "properties": { "properties": { "$ref": "#/definitions/PrivateLinkResourceProperties", @@ -7369,40 +7435,6 @@ } } }, - "SkuDefinitionsForResourceTypeListResult": { - "description": "List collection of Sku Definitions for each Resource Type.", - "type": "object", - "properties": { - "value": { - "description": "A collection of Sku Definitions for each Resource Type.", - "type": "array", - "items": { - "$ref": "#/definitions/SkuDefinitionsForResourceType" - } - }, - "nextLink": { - "description": "A link for the next page of Sku Definitions.", - "type": "string" - } - } - }, - "SkuDefinitionsForResourceType": { - "description": "Describes an EventGrid Resource Sku Definition.", - "type": "object", - "properties": { - "resourceType": { - "description": "The Resource Type applicable for the Sku.", - "type": "string" - }, - "skus": { - "description": "The Sku pricing tiers for the resource type.", - "type": "array", - "items": { - "$ref": "#/definitions/ResourceSku" - } - } - } - }, "SystemTopicProperties": { "description": "Properties of the System Topic.", "type": "object", @@ -7490,7 +7522,6 @@ "type": "object", "properties": { "privateEndpointConnections": { - "description": "List of private endpoint connections.", "type": "array", "items": { "$ref": "#/definitions/PrivateEndpointConnection" @@ -7598,8 +7629,8 @@ } }, "identity": { - "description": "Resource identity information.", - "$ref": "#/definitions/IdentityInfo" + "$ref": "#/definitions/IdentityInfo", + "description": "Resource identity information." }, "properties": { "$ref": "#/definitions/TopicUpdateParameterProperties", diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/PrivateEndpointConnections_Update.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/PrivateEndpointConnections_Update.json index 532a2e9b343d..05dbe5771842 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/PrivateEndpointConnections_Update.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/PrivateEndpointConnections_Update.json @@ -5,7 +5,16 @@ "parentType": "topics", "parentName": "exampletopic1", "privateEndpointConnectionName": "BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", - "api-version": "2020-04-01-preview" + "api-version": "2020-04-01-preview", + "privateEndpointConnection": { + "properties": { + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "approving connection", + "actionsRequired": "None" + } + } + } }, "responses": { "200": { @@ -18,8 +27,8 @@ "topic" ], "privateLinkServiceConnectionState": { - "status": "Pending", - "description": "Test", + "status": "Approved", + "description": "approving connection", "actionsRequired": "None" }, "provisioningState": "Succeeded" @@ -39,8 +48,8 @@ "topic" ], "privateLinkServiceConnectionState": { - "status": "Pending", - "description": "Test", + "status": "Approved", + "description": "approving connection", "actionsRequired": "None" }, "provisioningState": "Succeeded"