From cc8bdaf92254f398ad39f004c60308bea5f59966 Mon Sep 17 00:00:00 2001 From: Matt Ellis Date: Tue, 8 Jun 2021 11:37:38 -0700 Subject: [PATCH] [EventGrid] Prepare for Release (#15612) - Remove the "FarmBeats" system events (i.e. AgriFoodFarming). The service team is unwilling to GA the shape of the events as this time. - Set release date in `CHANGELOG.md` --- sdk/eventgrid/eventgrid/CHANGELOG.md | 20 +- .../eventgrid/review/eventgrid.api.md | 269 ---- .../eventgrid/src/generated/models/index.ts | 461 ------ .../eventgrid/src/generated/models/mappers.ts | 1257 ----------------- sdk/eventgrid/eventgrid/src/index.ts | 19 +- sdk/eventgrid/eventgrid/src/predicates.ts | 45 - sdk/eventgrid/eventgrid/swagger/README.md | 2 +- 7 files changed, 4 insertions(+), 2069 deletions(-) diff --git a/sdk/eventgrid/eventgrid/CHANGELOG.md b/sdk/eventgrid/eventgrid/CHANGELOG.md index b9a5500e9e2f..fd5d3e37874c 100644 --- a/sdk/eventgrid/eventgrid/CHANGELOG.md +++ b/sdk/eventgrid/eventgrid/CHANGELOG.md @@ -1,26 +1,10 @@ # Release History -## 4.3.0 (Unreleased) +## 4.3.0 (2021-06-08) ### New Features -- Added new System Events: - - `Microsoft.AgFoodPlatform.ApplicationDataChanged` - - `Microsoft.AgFoodPlatform.BoundaryChanged` - - `Microsoft.AgFoodPlatform.CropChanged` - - `Microsoft.AgFoodPlatform.CropVarietyChanged` - - `Microsoft.AgFoodPlatform.FarmChanged` - - `Microsoft.AgFoodPlatform.FarmOperationDataIngestionJobStatusChanged` - - `Microsoft.AgFoodPlatform.FarmerChanged` - - `Microsoft.AgFoodPlatform.FieldChanged` - - `Microsoft.AgFoodPlatform.HarvestDataChanged` - - `Microsoft.AgFoodPlatform.PlantingDataChanged` - - `Microsoft.AgFoodPlatform.SatelliteDataIngestionJobStatusChanged` - - `Microsoft.AgFoodPlatform.SeasonChanged` - - `Microsoft.AgFoodPlatform.SeasonalFieldChanged` - - `Microsoft.AgFoodPlatform.TillageDataChanged` - - `Microsoft.AgFoodPlatform.WeatherDataIngestionJobStatusChanged` - - `Microsoft.Storage.BlobInventoryPolicyCompleted` +- Added new System Event: `Microsoft.Storage.BlobInventoryPolicyCompleted` ### Key Bug Fixes diff --git a/sdk/eventgrid/eventgrid/review/eventgrid.api.md b/sdk/eventgrid/eventgrid/review/eventgrid.api.md index 82e405c8cb92..5adfbba2e51b 100644 --- a/sdk/eventgrid/eventgrid/review/eventgrid.api.md +++ b/sdk/eventgrid/eventgrid/review/eventgrid.api.md @@ -167,260 +167,6 @@ export type AcsSmsReceivedEventData = AcsSmsEventBase & { receivedTimestamp: string; }; -// @public -export interface AgriFoodFarmingApplicationDataChangedEventData { - actionType: AgriFoodFarmingResourceActionType; - createdDateTime: string; - description: string; - eTag: string; - farmerId: string; - id: string; - modifiedDateTime: string; - name: string; - properties: { - [propertyName: string]: any; - }; - source: string; - status: string; -} - -// @public -export interface AgriFoodFarmingBoundaryChangedEventData { - actionType: AgriFoodFarmingResourceActionType; - createdDateTime: string; - description: string; - eTag: string; - farmerId: string; - id: string; - isPrimary: boolean; - modifiedDateTime: string; - name: string; - parentId: string; - parentType: string; - properties: { - [propertyName: string]: any; - }; - status: string; -} - -// @public -export interface AgriFoodFarmingCropChangedEventData { - actionType: AgriFoodFarmingResourceActionType; - createdDateTime: string; - description: string; - eTag: string; - id: string; - modifiedDateTime: string; - name: string; - properties: { - [propertyName: string]: any; - }; - status: string; -} - -// @public -export interface AgriFoodFarmingCropVarietyChangedEventData { - actionType: AgriFoodFarmingResourceActionType; - createdDateTime: string; - cropId: string; - description: string; - eTag: string; - id: string; - modifiedDateTime: string; - name: string; - properties: { - [propertyName: string]: any; - }; - status: string; -} - -// @public -export interface AgriFoodFarmingFarmChangedEventData { - actionType: AgriFoodFarmingResourceActionType; - createdDateTime: string; - description: string; - eTag: string; - farmerId: string; - id: string; - modifiedDateTime: string; - name: string; - properties: { - [propertyName: string]: any; - }; - status: string; -} - -// @public -export interface AgriFoodFarmingFarmerChangedEventData { - actionType: AgriFoodFarmingResourceActionType; - createdDateTime: string; - description: string; - eTag: string; - id: string; - modifiedDateTime: string; - name: string; - properties: { - [propertyName: string]: any; - }; - status: string; -} - -// @public -export interface AgriFoodFarmingFarmOperationDataIngestionJobStatusChangedEventData { - createdDateTime: string; - description: string; - farmerId: string; - id: string; - isCancellationRequested: boolean; - lastActionDateTime: string; - message: string; - name: string; - properties: { - [propertyName: string]: any; - }; - status: AgriFoodFarmingJobStatus; -} - -// @public -export interface AgriFoodFarmingFieldChangedEventData { - actionType: AgriFoodFarmingResourceActionType; - createdDateTime: string; - description: string; - eTag: string; - farmerId: string; - farmId: string; - id: string; - modifiedDateTime: string; - name: string; - properties: { - [propertyName: string]: any; - }; - status: string; -} - -// @public -export interface AgriFoodFarmingHarvestDataChangedEventData { - actionType: AgriFoodFarmingResourceActionType; - createdDateTime: string; - description: string; - eTag: string; - farmerId: string; - id: string; - modifiedDateTime: string; - name: string; - properties: { - [propertyName: string]: any; - }; - source: string; - status: string; -} - -// @public -export type AgriFoodFarmingJobStatus = string; - -// @public -export interface AgriFoodFarmingPlantingDataChangedEventData { - actionType: AgriFoodFarmingResourceActionType; - createdDateTime: string; - description: string; - eTag: string; - farmerId: string; - id: string; - modifiedDateTime: string; - name: string; - properties: { - [propertyName: string]: any; - }; - source: string; - status: string; -} - -// @public -export type AgriFoodFarmingResourceActionType = string; - -// @public -export interface AgriFoodFarmingSatelliteDataIngestionJobStatusChangedEventData { - createdDateTime: string; - description: string; - farmerId: string; - id: string; - isCancellationRequested: boolean; - lastActionDateTime: string; - message: string; - name: string; - properties: { - [propertyName: string]: any; - }; - status: AgriFoodFarmingJobStatus; -} - -// @public -export interface AgriFoodFarmingSeasonalFieldChangedEventData { - actionType: AgriFoodFarmingResourceActionType; - createdDateTime: string; - description: string; - eTag: string; - farmerId: string; - farmId: string; - fieldId: string; - id: string; - modifiedDateTime: string; - name: string; - properties: { - [propertyName: string]: any; - }; - seasonId: string; - status: string; -} - -// @public -export interface AgriFoodFarmingSeasonChangedEventData { - actionType: AgriFoodFarmingResourceActionType; - createdDateTime: string; - description: string; - eTag: string; - id: string; - modifiedDateTime: string; - name: string; - properties: { - [propertyName: string]: any; - }; - status: string; -} - -// @public -export interface AgriFoodFarmingTillageDataChangedEventData { - actionType: AgriFoodFarmingResourceActionType; - createdDateTime: string; - description: string; - eTag: string; - farmerId: string; - id: string; - modifiedDateTime: string; - name: string; - properties: { - [propertyName: string]: any; - }; - source: string; - status: string; -} - -// @public -export interface AgriFoodFarmingWeatherDataIngestionJobStatusChangedEventData { - createdDateTime: string; - description: string; - farmerId: string; - id: string; - isCancellationRequested: boolean; - lastActionDateTime: string; - message: string; - name: string; - properties: { - [propertyName: string]: any; - }; - status: AgriFoodFarmingJobStatus; -} - // @public export type AppAction = string; @@ -1517,21 +1263,6 @@ export interface SubscriptionValidationEventData { // @public export interface SystemEventNameToEventData { - "Microsoft.AgFoodPlatform.ApplicationDataChanged": AgriFoodFarmingApplicationDataChangedEventData; - "Microsoft.AgFoodPlatform.BoundaryChanged": AgriFoodFarmingBoundaryChangedEventData; - "Microsoft.AgFoodPlatform.CropChanged": AgriFoodFarmingCropChangedEventData; - "Microsoft.AgFoodPlatform.CropVarietyChanged": AgriFoodFarmingCropVarietyChangedEventData; - "Microsoft.AgFoodPlatform.FarmChanged": AgriFoodFarmingFarmChangedEventData; - "Microsoft.AgFoodPlatform.FarmerChanged": AgriFoodFarmingFarmerChangedEventData; - "Microsoft.AgFoodPlatform.FarmOperationDataIngestionJobStatusChanged": AgriFoodFarmingFarmOperationDataIngestionJobStatusChangedEventData; - "Microsoft.AgFoodPlatform.FieldChanged": AgriFoodFarmingFieldChangedEventData; - "Microsoft.AgFoodPlatform.HarvestDataChanged": AgriFoodFarmingHarvestDataChangedEventData; - "Microsoft.AgFoodPlatform.PlantingDataChanged": AgriFoodFarmingPlantingDataChangedEventData; - "Microsoft.AgFoodPlatform.SatelliteDataIngestionJobStatusChanged": AgriFoodFarmingSatelliteDataIngestionJobStatusChangedEventData; - "Microsoft.AgFoodPlatform.SeasonalFieldChanged": AgriFoodFarmingSeasonalFieldChangedEventData; - "Microsoft.AgFoodPlatform.SeasonChanged": AgriFoodFarmingSeasonChangedEventData; - "Microsoft.AgFoodPlatform.TillageDataChanged": AgriFoodFarmingTillageDataChangedEventData; - "Microsoft.AgFoodPlatform.WeatherDataIngestionJobStatusChanged": AgriFoodFarmingWeatherDataIngestionJobStatusChangedEventData; "Microsoft.AppConfiguration.KeyValueDeleted": AppConfigurationKeyValueDeletedEventData; "Microsoft.AppConfiguration.KeyValueModified": AppConfigurationKeyValueModifiedEventData; "Microsoft.Communication.ChatMessageDeleted": AcsChatMessageDeletedEventData; diff --git a/sdk/eventgrid/eventgrid/src/generated/models/index.ts b/sdk/eventgrid/eventgrid/src/generated/models/index.ts index b55cef8e330f..d13295545ec5 100644 --- a/sdk/eventgrid/eventgrid/src/generated/models/index.ts +++ b/sdk/eventgrid/eventgrid/src/generated/models/index.ts @@ -2050,427 +2050,6 @@ export interface PolicyInsightsPolicyStateDeletedEventData { complianceReasonCode: string; } -/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.BoundaryChanged event. */ -export interface AgriFoodFarmingBoundaryChangedEventData { - /** Id of the farmer it belongs to. */ - farmerId: string; - /** Id of the parent(field or seasonalField) it belongs to. */ - parentId: string; - /** Type of the parent it belongs to. */ - parentType: string; - /** A boolean flag indicating whether the boundary is primary or not. */ - isPrimary: boolean; - /** Action occurred on a resource. */ - actionType: AgriFoodFarmingResourceActionType; - /** Status of the resource. */ - status: string; - /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - modifiedDateTime: string; - /** The ETag value to implement optimistic concurrency. */ - eTag: string; - /** Unique id of resource. */ - id: string; - /** Name to identify resource. */ - name: string; - /** Textual description of resource. */ - description: string; - /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - createdDateTime: string; - /** - * A list of key value pairs that describe the resource. - * Only string and numeral values are supported. - */ - properties: { [propertyName: string]: any }; -} - -/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.CropChanged event. */ -export interface AgriFoodFarmingCropChangedEventData { - /** Action occurred on a resource. */ - actionType: AgriFoodFarmingResourceActionType; - /** Status of the resource. */ - status: string; - /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - modifiedDateTime: string; - /** The ETag value to implement optimistic concurrency. */ - eTag: string; - /** Unique id of resource. */ - id: string; - /** Name to identify resource. */ - name: string; - /** Textual description of resource. */ - description: string; - /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - createdDateTime: string; - /** - * A list of key value pairs that describe the resource. - * Only string and numeral values are supported. - */ - properties: { [propertyName: string]: any }; -} - -/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.CropVarietyChanged event. */ -export interface AgriFoodFarmingCropVarietyChangedEventData { - /** Id of the crop it belongs to. */ - cropId: string; - /** Action occurred on a resource. */ - actionType: AgriFoodFarmingResourceActionType; - /** Status of the resource. */ - status: string; - /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - modifiedDateTime: string; - /** The ETag value to implement optimistic concurrency. */ - eTag: string; - /** Unique id of resource. */ - id: string; - /** Name to identify resource. */ - name: string; - /** Textual description of resource. */ - description: string; - /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - createdDateTime: string; - /** - * A list of key value pairs that describe the resource. - * Only string and numeral values are supported. - */ - properties: { [propertyName: string]: any }; -} - -/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.FarmChanged event. */ -export interface AgriFoodFarmingFarmChangedEventData { - /** Id of the farmer it belongs to. */ - farmerId: string; - /** Action occurred on a resource. */ - actionType: AgriFoodFarmingResourceActionType; - /** Status of the resource. */ - status: string; - /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - modifiedDateTime: string; - /** The ETag value to implement optimistic concurrency. */ - eTag: string; - /** Unique id of resource. */ - id: string; - /** Name to identify resource. */ - name: string; - /** Textual description of resource. */ - description: string; - /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - createdDateTime: string; - /** - * A list of key value pairs that describe the resource. - * Only string and numeral values are supported. - */ - properties: { [propertyName: string]: any }; -} - -/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.FarmerChanged event. */ -export interface AgriFoodFarmingFarmerChangedEventData { - /** Action occurred on a resource. */ - actionType: AgriFoodFarmingResourceActionType; - /** Status of the resource. */ - status: string; - /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - modifiedDateTime: string; - /** The ETag value to implement optimistic concurrency. */ - eTag: string; - /** Unique id of resource. */ - id: string; - /** Name to identify resource. */ - name: string; - /** Textual description of resource. */ - description: string; - /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - createdDateTime: string; - /** - * A list of key value pairs that describe the resource. - * Only string and numeral values are supported. - */ - properties: { [propertyName: string]: any }; -} - -/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.FieldChanged event. */ -export interface AgriFoodFarmingFieldChangedEventData { - /** Farmer Id. */ - farmerId: string; - /** Id of the associated Farm. */ - farmId: string; - /** Action occurred on a resource. */ - actionType: AgriFoodFarmingResourceActionType; - /** Status of the resource. */ - status: string; - /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - modifiedDateTime: string; - /** The ETag value to implement optimistic concurrency. */ - eTag: string; - /** Unique id of resource. */ - id: string; - /** Name to identify resource. */ - name: string; - /** Textual description of resource. */ - description: string; - /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - createdDateTime: string; - /** - * A list of key value pairs that describe the resource. - * Only string and numeral values are supported. - */ - properties: { [propertyName: string]: any }; -} - -/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.SeasonalFieldChanged event. */ -export interface AgriFoodFarmingSeasonalFieldChangedEventData { - /** Id of the farmer it belongs to. */ - farmerId: string; - /** Id of the season it belongs to. */ - seasonId: string; - /** Id of the field it belongs to. */ - fieldId: string; - /** Id of the associated Farm. */ - farmId: string; - /** Action occurred on a resource. */ - actionType: AgriFoodFarmingResourceActionType; - /** Status of the resource. */ - status: string; - /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - modifiedDateTime: string; - /** The ETag value to implement optimistic concurrency. */ - eTag: string; - /** Unique id of resource. */ - id: string; - /** Name to identify resource. */ - name: string; - /** Textual description of resource. */ - description: string; - /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - createdDateTime: string; - /** - * A list of key value pairs that describe the resource. - * Only string and numeral values are supported. - */ - properties: { [propertyName: string]: any }; -} - -/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.SeasonChanged event. */ -export interface AgriFoodFarmingSeasonChangedEventData { - /** Action occurred on a resource. */ - actionType: AgriFoodFarmingResourceActionType; - /** Status of the resource. */ - status: string; - /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - modifiedDateTime: string; - /** The ETag value to implement optimistic concurrency. */ - eTag: string; - /** Unique id of resource. */ - id: string; - /** Name to identify resource. */ - name: string; - /** Textual description of resource. */ - description: string; - /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - createdDateTime: string; - /** - * A list of key value pairs that describe the resource. - * Only string and numeral values are supported. - */ - properties: { [propertyName: string]: any }; -} - -/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.ApplicationDataChanged event. */ -export interface AgriFoodFarmingApplicationDataChangedEventData { - /** Action occurred on a resource. */ - actionType: AgriFoodFarmingResourceActionType; - /** Id of the farmer it belongs to. */ - farmerId: string; - /** Status of the resource. */ - status: string; - /** Source of the farm operation data. */ - source: string; - /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - modifiedDateTime: string; - /** The ETag value to implement optimistic concurrency. */ - eTag: string; - /** Unique id of resource. */ - id: string; - /** Name to identify resource. */ - name: string; - /** Textual description of resource. */ - description: string; - /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - createdDateTime: string; - /** - * A list of key value pairs that describe the resource. - * Only string and numeral values are supported. - */ - properties: { [propertyName: string]: any }; -} - -/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.PlantingDataChanged event. */ -export interface AgriFoodFarmingPlantingDataChangedEventData { - /** Action occurred on a resource. */ - actionType: AgriFoodFarmingResourceActionType; - /** Id of the farmer it belongs to. */ - farmerId: string; - /** Status of the resource. */ - status: string; - /** Source of the farm operation data. */ - source: string; - /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - modifiedDateTime: string; - /** The ETag value to implement optimistic concurrency. */ - eTag: string; - /** Unique id of resource. */ - id: string; - /** Name to identify resource. */ - name: string; - /** Textual description of resource. */ - description: string; - /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - createdDateTime: string; - /** - * A list of key value pairs that describe the resource. - * Only string and numeral values are supported. - */ - properties: { [propertyName: string]: any }; -} - -/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.HarvestDataChanged event. */ -export interface AgriFoodFarmingHarvestDataChangedEventData { - /** Action occurred on a resource. */ - actionType: AgriFoodFarmingResourceActionType; - /** Id of the farmer it belongs to. */ - farmerId: string; - /** Status of the resource. */ - status: string; - /** Source of the farm operation data. */ - source: string; - /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - modifiedDateTime: string; - /** The ETag value to implement optimistic concurrency. */ - eTag: string; - /** Unique id of resource. */ - id: string; - /** Name to identify resource. */ - name: string; - /** Textual description of resource. */ - description: string; - /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - createdDateTime: string; - /** - * A list of key value pairs that describe the resource. - * Only string and numeral values are supported. - */ - properties: { [propertyName: string]: any }; -} - -/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.TillageDataChanged event. */ -export interface AgriFoodFarmingTillageDataChangedEventData { - /** Action occurred on a resource. */ - actionType: AgriFoodFarmingResourceActionType; - /** Id of the farmer it belongs to. */ - farmerId: string; - /** Status of the resource. */ - status: string; - /** Source of the farm operation data. */ - source: string; - /** Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - modifiedDateTime: string; - /** The ETag value to implement optimistic concurrency. */ - eTag: string; - /** Unique id of resource. */ - id: string; - /** Name to identify resource. */ - name: string; - /** Textual description of resource. */ - description: string; - /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - createdDateTime: string; - /** - * A list of key value pairs that describe the resource. - * Only string and numeral values are supported. - */ - properties: { [propertyName: string]: any }; -} - -/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.SatelliteDataIngestionJobStatusChanged event. */ -export interface AgriFoodFarmingSatelliteDataIngestionJobStatusChangedEventData { - /** Farmer id for which job was created. */ - farmerId: string; - /** Status message to capture more details of the job. */ - message: string; - /** Various states a job can be in. */ - status: AgriFoodFarmingJobStatus; - /** Date-time when last action was taken on job, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - lastActionDateTime: string; - /** Flag that gets set when job cancellation is requested. */ - isCancellationRequested: boolean; - /** Unique id of resource. */ - id: string; - /** Name to identify resource. */ - name: string; - /** Textual description of resource. */ - description: string; - /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - createdDateTime: string; - /** - * A list of key value pairs that describe the resource. - * Only string and numeral values are supported. - */ - properties: { [propertyName: string]: any }; -} - -/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.WeatherDataIngestionJobStatusChanged event. */ -export interface AgriFoodFarmingWeatherDataIngestionJobStatusChangedEventData { - /** Farmer id for which job was created. */ - farmerId: string; - /** Status message to capture more details of the job. */ - message: string; - /** Various states a job can be in. */ - status: AgriFoodFarmingJobStatus; - /** Date-time when last action was taken on job, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - lastActionDateTime: string; - /** Flag that gets set when job cancellation is requested. */ - isCancellationRequested: boolean; - /** Unique id of resource. */ - id: string; - /** Name to identify resource. */ - name: string; - /** Textual description of resource. */ - description: string; - /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - createdDateTime: string; - /** - * A list of key value pairs that describe the resource. - * Only string and numeral values are supported. - */ - properties: { [propertyName: string]: any }; -} - -/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.FarmOperationDataIngestionJobStatusChanged event. */ -export interface AgriFoodFarmingFarmOperationDataIngestionJobStatusChangedEventData { - /** Farmer id for which job was created. */ - farmerId: string; - /** Status message to capture more details of the job. */ - message: string; - /** Various states a job can be in. */ - status: AgriFoodFarmingJobStatus; - /** Date-time when last action was taken on job, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - lastActionDateTime: string; - /** Flag that gets set when job cancellation is requested. */ - isCancellationRequested: boolean; - /** Unique id of resource. */ - id: string; - /** Name to identify resource. */ - name: string; - /** Textual description of resource. */ - description: string; - /** Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ. */ - createdDateTime: string; - /** - * A list of key value pairs that describe the resource. - * Only string and numeral values are supported. - */ - properties: { [propertyName: string]: any }; -} - /** Event data for Microsoft.Devices.DeviceCreated event. */ export type IotHubDeviceCreatedEventData = DeviceLifeCycleEvent & {}; @@ -2874,46 +2453,6 @@ export const enum KnownCommunicationCloudEnvironmentModel { * **gcch** */ export type CommunicationCloudEnvironmentModel = string; - -/** Known values of {@link AgriFoodFarmingResourceActionType} that the service accepts. */ -export const enum KnownAgriFoodFarmingResourceActionType { - Created = "Created", - Updated = "Updated", - Deleted = "Deleted" -} - -/** - * Defines values for AgriFoodFarmingResourceActionType. \ - * {@link KnownAgriFoodFarmingResourceActionType} can be used interchangeably with AgriFoodFarmingResourceActionType, - * this enum contains the known values that the service supports. - * ### Know values supported by the service - * **Created** \ - * **Updated** \ - * **Deleted** - */ -export type AgriFoodFarmingResourceActionType = string; - -/** Known values of {@link AgriFoodFarmingJobStatus} that the service accepts. */ -export const enum KnownAgriFoodFarmingJobStatus { - Waiting = "Waiting", - Running = "Running", - Succeeded = "Succeeded", - Failed = "Failed", - Cancelled = "Cancelled" -} - -/** - * Defines values for AgriFoodFarmingJobStatus. \ - * {@link KnownAgriFoodFarmingJobStatus} can be used interchangeably with AgriFoodFarmingJobStatus, - * this enum contains the known values that the service supports. - * ### Know values supported by the service - * **Waiting** \ - * **Running** \ - * **Succeeded** \ - * **Failed** \ - * **Cancelled** - */ -export type AgriFoodFarmingJobStatus = string; /** Defines values for MediaJobState. */ export type MediaJobState = | "Canceled" diff --git a/sdk/eventgrid/eventgrid/src/generated/models/mappers.ts b/sdk/eventgrid/eventgrid/src/generated/models/mappers.ts index e8d4e15adb91..bd0ce68f509a 100644 --- a/sdk/eventgrid/eventgrid/src/generated/models/mappers.ts +++ b/sdk/eventgrid/eventgrid/src/generated/models/mappers.ts @@ -5945,1263 +5945,6 @@ export const PolicyInsightsPolicyStateDeletedEventData: CompositeMapper = { } }; -export const AgriFoodFarmingBoundaryChangedEventData: CompositeMapper = { - type: { - name: "Composite", - className: "AgriFoodFarmingBoundaryChangedEventData", - modelProperties: { - farmerId: { - serializedName: "farmerId", - required: true, - type: { - name: "String" - } - }, - parentId: { - serializedName: "parentId", - required: true, - type: { - name: "String" - } - }, - parentType: { - serializedName: "parentType", - required: true, - type: { - name: "String" - } - }, - isPrimary: { - serializedName: "isPrimary", - required: true, - type: { - name: "Boolean" - } - }, - actionType: { - serializedName: "actionType", - required: true, - type: { - name: "String" - } - }, - status: { - serializedName: "status", - required: true, - type: { - name: "String" - } - }, - modifiedDateTime: { - serializedName: "modifiedDateTime", - required: true, - type: { - name: "String" - } - }, - eTag: { - serializedName: "eTag", - required: true, - type: { - name: "String" - } - }, - id: { - serializedName: "id", - required: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", - required: true, - type: { - name: "String" - } - }, - description: { - serializedName: "description", - required: true, - type: { - name: "String" - } - }, - createdDateTime: { - serializedName: "createdDateTime", - required: true, - type: { - name: "String" - } - }, - properties: { - serializedName: "properties", - required: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } -}; - -export const AgriFoodFarmingCropChangedEventData: CompositeMapper = { - type: { - name: "Composite", - className: "AgriFoodFarmingCropChangedEventData", - modelProperties: { - actionType: { - serializedName: "actionType", - required: true, - type: { - name: "String" - } - }, - status: { - serializedName: "status", - required: true, - type: { - name: "String" - } - }, - modifiedDateTime: { - serializedName: "modifiedDateTime", - required: true, - type: { - name: "String" - } - }, - eTag: { - serializedName: "eTag", - required: true, - type: { - name: "String" - } - }, - id: { - serializedName: "id", - required: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", - required: true, - type: { - name: "String" - } - }, - description: { - serializedName: "description", - required: true, - type: { - name: "String" - } - }, - createdDateTime: { - serializedName: "createdDateTime", - required: true, - type: { - name: "String" - } - }, - properties: { - serializedName: "properties", - required: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } -}; - -export const AgriFoodFarmingCropVarietyChangedEventData: CompositeMapper = { - type: { - name: "Composite", - className: "AgriFoodFarmingCropVarietyChangedEventData", - modelProperties: { - cropId: { - serializedName: "cropId", - required: true, - type: { - name: "String" - } - }, - actionType: { - serializedName: "actionType", - required: true, - type: { - name: "String" - } - }, - status: { - serializedName: "status", - required: true, - type: { - name: "String" - } - }, - modifiedDateTime: { - serializedName: "modifiedDateTime", - required: true, - type: { - name: "String" - } - }, - eTag: { - serializedName: "eTag", - required: true, - type: { - name: "String" - } - }, - id: { - serializedName: "id", - required: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", - required: true, - type: { - name: "String" - } - }, - description: { - serializedName: "description", - required: true, - type: { - name: "String" - } - }, - createdDateTime: { - serializedName: "createdDateTime", - required: true, - type: { - name: "String" - } - }, - properties: { - serializedName: "properties", - required: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } -}; - -export const AgriFoodFarmingFarmChangedEventData: CompositeMapper = { - type: { - name: "Composite", - className: "AgriFoodFarmingFarmChangedEventData", - modelProperties: { - farmerId: { - serializedName: "farmerId", - required: true, - type: { - name: "String" - } - }, - actionType: { - serializedName: "actionType", - required: true, - type: { - name: "String" - } - }, - status: { - serializedName: "status", - required: true, - type: { - name: "String" - } - }, - modifiedDateTime: { - serializedName: "modifiedDateTime", - required: true, - type: { - name: "String" - } - }, - eTag: { - serializedName: "eTag", - required: true, - type: { - name: "String" - } - }, - id: { - serializedName: "id", - required: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", - required: true, - type: { - name: "String" - } - }, - description: { - serializedName: "description", - required: true, - type: { - name: "String" - } - }, - createdDateTime: { - serializedName: "createdDateTime", - required: true, - type: { - name: "String" - } - }, - properties: { - serializedName: "properties", - required: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } -}; - -export const AgriFoodFarmingFarmerChangedEventData: CompositeMapper = { - type: { - name: "Composite", - className: "AgriFoodFarmingFarmerChangedEventData", - modelProperties: { - actionType: { - serializedName: "actionType", - required: true, - type: { - name: "String" - } - }, - status: { - serializedName: "status", - required: true, - type: { - name: "String" - } - }, - modifiedDateTime: { - serializedName: "modifiedDateTime", - required: true, - type: { - name: "String" - } - }, - eTag: { - serializedName: "eTag", - required: true, - type: { - name: "String" - } - }, - id: { - serializedName: "id", - required: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", - required: true, - type: { - name: "String" - } - }, - description: { - serializedName: "description", - required: true, - type: { - name: "String" - } - }, - createdDateTime: { - serializedName: "createdDateTime", - required: true, - type: { - name: "String" - } - }, - properties: { - serializedName: "properties", - required: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } -}; - -export const AgriFoodFarmingFieldChangedEventData: CompositeMapper = { - type: { - name: "Composite", - className: "AgriFoodFarmingFieldChangedEventData", - modelProperties: { - farmerId: { - serializedName: "farmerId", - required: true, - type: { - name: "String" - } - }, - farmId: { - serializedName: "farmId", - required: true, - type: { - name: "String" - } - }, - actionType: { - serializedName: "actionType", - required: true, - type: { - name: "String" - } - }, - status: { - serializedName: "status", - required: true, - type: { - name: "String" - } - }, - modifiedDateTime: { - serializedName: "modifiedDateTime", - required: true, - type: { - name: "String" - } - }, - eTag: { - serializedName: "eTag", - required: true, - type: { - name: "String" - } - }, - id: { - serializedName: "id", - required: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", - required: true, - type: { - name: "String" - } - }, - description: { - serializedName: "description", - required: true, - type: { - name: "String" - } - }, - createdDateTime: { - serializedName: "createdDateTime", - required: true, - type: { - name: "String" - } - }, - properties: { - serializedName: "properties", - required: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } -}; - -export const AgriFoodFarmingSeasonalFieldChangedEventData: CompositeMapper = { - type: { - name: "Composite", - className: "AgriFoodFarmingSeasonalFieldChangedEventData", - modelProperties: { - farmerId: { - serializedName: "farmerId", - required: true, - type: { - name: "String" - } - }, - seasonId: { - serializedName: "seasonId", - required: true, - type: { - name: "String" - } - }, - fieldId: { - serializedName: "fieldId", - required: true, - type: { - name: "String" - } - }, - farmId: { - serializedName: "farmId", - required: true, - type: { - name: "String" - } - }, - actionType: { - serializedName: "actionType", - required: true, - type: { - name: "String" - } - }, - status: { - serializedName: "status", - required: true, - type: { - name: "String" - } - }, - modifiedDateTime: { - serializedName: "modifiedDateTime", - required: true, - type: { - name: "String" - } - }, - eTag: { - serializedName: "eTag", - required: true, - type: { - name: "String" - } - }, - id: { - serializedName: "id", - required: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", - required: true, - type: { - name: "String" - } - }, - description: { - serializedName: "description", - required: true, - type: { - name: "String" - } - }, - createdDateTime: { - serializedName: "createdDateTime", - required: true, - type: { - name: "String" - } - }, - properties: { - serializedName: "properties", - required: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } -}; - -export const AgriFoodFarmingSeasonChangedEventData: CompositeMapper = { - type: { - name: "Composite", - className: "AgriFoodFarmingSeasonChangedEventData", - modelProperties: { - actionType: { - serializedName: "actionType", - required: true, - type: { - name: "String" - } - }, - status: { - serializedName: "status", - required: true, - type: { - name: "String" - } - }, - modifiedDateTime: { - serializedName: "modifiedDateTime", - required: true, - type: { - name: "String" - } - }, - eTag: { - serializedName: "eTag", - required: true, - type: { - name: "String" - } - }, - id: { - serializedName: "id", - required: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", - required: true, - type: { - name: "String" - } - }, - description: { - serializedName: "description", - required: true, - type: { - name: "String" - } - }, - createdDateTime: { - serializedName: "createdDateTime", - required: true, - type: { - name: "String" - } - }, - properties: { - serializedName: "properties", - required: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } -}; - -export const AgriFoodFarmingApplicationDataChangedEventData: CompositeMapper = { - type: { - name: "Composite", - className: "AgriFoodFarmingApplicationDataChangedEventData", - modelProperties: { - actionType: { - serializedName: "actionType", - required: true, - type: { - name: "String" - } - }, - farmerId: { - serializedName: "farmerId", - required: true, - type: { - name: "String" - } - }, - status: { - serializedName: "status", - required: true, - type: { - name: "String" - } - }, - source: { - serializedName: "source", - required: true, - type: { - name: "String" - } - }, - modifiedDateTime: { - serializedName: "modifiedDateTime", - required: true, - type: { - name: "String" - } - }, - eTag: { - serializedName: "eTag", - required: true, - type: { - name: "String" - } - }, - id: { - serializedName: "id", - required: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", - required: true, - type: { - name: "String" - } - }, - description: { - serializedName: "description", - required: true, - type: { - name: "String" - } - }, - createdDateTime: { - serializedName: "createdDateTime", - required: true, - type: { - name: "String" - } - }, - properties: { - serializedName: "properties", - required: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } -}; - -export const AgriFoodFarmingPlantingDataChangedEventData: CompositeMapper = { - type: { - name: "Composite", - className: "AgriFoodFarmingPlantingDataChangedEventData", - modelProperties: { - actionType: { - serializedName: "actionType", - required: true, - type: { - name: "String" - } - }, - farmerId: { - serializedName: "farmerId", - required: true, - type: { - name: "String" - } - }, - status: { - serializedName: "status", - required: true, - type: { - name: "String" - } - }, - source: { - serializedName: "source", - required: true, - type: { - name: "String" - } - }, - modifiedDateTime: { - serializedName: "modifiedDateTime", - required: true, - type: { - name: "String" - } - }, - eTag: { - serializedName: "eTag", - required: true, - type: { - name: "String" - } - }, - id: { - serializedName: "id", - required: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", - required: true, - type: { - name: "String" - } - }, - description: { - serializedName: "description", - required: true, - type: { - name: "String" - } - }, - createdDateTime: { - serializedName: "createdDateTime", - required: true, - type: { - name: "String" - } - }, - properties: { - serializedName: "properties", - required: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } -}; - -export const AgriFoodFarmingHarvestDataChangedEventData: CompositeMapper = { - type: { - name: "Composite", - className: "AgriFoodFarmingHarvestDataChangedEventData", - modelProperties: { - actionType: { - serializedName: "actionType", - required: true, - type: { - name: "String" - } - }, - farmerId: { - serializedName: "farmerId", - required: true, - type: { - name: "String" - } - }, - status: { - serializedName: "status", - required: true, - type: { - name: "String" - } - }, - source: { - serializedName: "source", - required: true, - type: { - name: "String" - } - }, - modifiedDateTime: { - serializedName: "modifiedDateTime", - required: true, - type: { - name: "String" - } - }, - eTag: { - serializedName: "eTag", - required: true, - type: { - name: "String" - } - }, - id: { - serializedName: "id", - required: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", - required: true, - type: { - name: "String" - } - }, - description: { - serializedName: "description", - required: true, - type: { - name: "String" - } - }, - createdDateTime: { - serializedName: "createdDateTime", - required: true, - type: { - name: "String" - } - }, - properties: { - serializedName: "properties", - required: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } -}; - -export const AgriFoodFarmingTillageDataChangedEventData: CompositeMapper = { - type: { - name: "Composite", - className: "AgriFoodFarmingTillageDataChangedEventData", - modelProperties: { - actionType: { - serializedName: "actionType", - required: true, - type: { - name: "String" - } - }, - farmerId: { - serializedName: "farmerId", - required: true, - type: { - name: "String" - } - }, - status: { - serializedName: "status", - required: true, - type: { - name: "String" - } - }, - source: { - serializedName: "source", - required: true, - type: { - name: "String" - } - }, - modifiedDateTime: { - serializedName: "modifiedDateTime", - required: true, - type: { - name: "String" - } - }, - eTag: { - serializedName: "eTag", - required: true, - type: { - name: "String" - } - }, - id: { - serializedName: "id", - required: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", - required: true, - type: { - name: "String" - } - }, - description: { - serializedName: "description", - required: true, - type: { - name: "String" - } - }, - createdDateTime: { - serializedName: "createdDateTime", - required: true, - type: { - name: "String" - } - }, - properties: { - serializedName: "properties", - required: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } -}; - -export const AgriFoodFarmingSatelliteDataIngestionJobStatusChangedEventData: CompositeMapper = { - type: { - name: "Composite", - className: "AgriFoodFarmingSatelliteDataIngestionJobStatusChangedEventData", - modelProperties: { - farmerId: { - serializedName: "farmerId", - required: true, - type: { - name: "String" - } - }, - message: { - serializedName: "message", - required: true, - type: { - name: "String" - } - }, - status: { - serializedName: "status", - required: true, - type: { - name: "String" - } - }, - lastActionDateTime: { - serializedName: "lastActionDateTime", - required: true, - type: { - name: "String" - } - }, - isCancellationRequested: { - serializedName: "isCancellationRequested", - required: true, - type: { - name: "Boolean" - } - }, - id: { - serializedName: "id", - required: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", - required: true, - type: { - name: "String" - } - }, - description: { - serializedName: "description", - required: true, - type: { - name: "String" - } - }, - createdDateTime: { - serializedName: "createdDateTime", - required: true, - type: { - name: "String" - } - }, - properties: { - serializedName: "properties", - required: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } -}; - -export const AgriFoodFarmingWeatherDataIngestionJobStatusChangedEventData: CompositeMapper = { - type: { - name: "Composite", - className: "AgriFoodFarmingWeatherDataIngestionJobStatusChangedEventData", - modelProperties: { - farmerId: { - serializedName: "farmerId", - required: true, - type: { - name: "String" - } - }, - message: { - serializedName: "message", - required: true, - type: { - name: "String" - } - }, - status: { - serializedName: "status", - required: true, - type: { - name: "String" - } - }, - lastActionDateTime: { - serializedName: "lastActionDateTime", - required: true, - type: { - name: "String" - } - }, - isCancellationRequested: { - serializedName: "isCancellationRequested", - required: true, - type: { - name: "Boolean" - } - }, - id: { - serializedName: "id", - required: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", - required: true, - type: { - name: "String" - } - }, - description: { - serializedName: "description", - required: true, - type: { - name: "String" - } - }, - createdDateTime: { - serializedName: "createdDateTime", - required: true, - type: { - name: "String" - } - }, - properties: { - serializedName: "properties", - required: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } -}; - -export const AgriFoodFarmingFarmOperationDataIngestionJobStatusChangedEventData: CompositeMapper = { - type: { - name: "Composite", - className: - "AgriFoodFarmingFarmOperationDataIngestionJobStatusChangedEventData", - modelProperties: { - farmerId: { - serializedName: "farmerId", - required: true, - type: { - name: "String" - } - }, - message: { - serializedName: "message", - required: true, - type: { - name: "String" - } - }, - status: { - serializedName: "status", - required: true, - type: { - name: "String" - } - }, - lastActionDateTime: { - serializedName: "lastActionDateTime", - required: true, - type: { - name: "String" - } - }, - isCancellationRequested: { - serializedName: "isCancellationRequested", - required: true, - type: { - name: "Boolean" - } - }, - id: { - serializedName: "id", - required: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", - required: true, - type: { - name: "String" - } - }, - description: { - serializedName: "description", - required: true, - type: { - name: "String" - } - }, - createdDateTime: { - serializedName: "createdDateTime", - required: true, - type: { - name: "String" - } - }, - properties: { - serializedName: "properties", - required: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } -}; - export const IotHubDeviceCreatedEventData: CompositeMapper = { type: { name: "Composite", diff --git a/sdk/eventgrid/eventgrid/src/index.ts b/sdk/eventgrid/eventgrid/src/index.ts index 05cbc3988602..d352b485c879 100644 --- a/sdk/eventgrid/eventgrid/src/index.ts +++ b/sdk/eventgrid/eventgrid/src/index.ts @@ -181,22 +181,5 @@ export { PolicyInsightsPolicyStateDeletedEventData, StorageAsyncOperationInitiatedEventData, StorageBlobTierChangedEventData, - StorageBlobInventoryPolicyCompletedEventData, - AgriFoodFarmingApplicationDataChangedEventData, - AgriFoodFarmingBoundaryChangedEventData, - AgriFoodFarmingCropChangedEventData, - AgriFoodFarmingCropVarietyChangedEventData, - AgriFoodFarmingFarmChangedEventData, - AgriFoodFarmingFarmOperationDataIngestionJobStatusChangedEventData, - AgriFoodFarmingFarmerChangedEventData, - AgriFoodFarmingFieldChangedEventData, - AgriFoodFarmingHarvestDataChangedEventData, - AgriFoodFarmingPlantingDataChangedEventData, - AgriFoodFarmingSatelliteDataIngestionJobStatusChangedEventData, - AgriFoodFarmingSeasonChangedEventData, - AgriFoodFarmingSeasonalFieldChangedEventData, - AgriFoodFarmingTillageDataChangedEventData, - AgriFoodFarmingWeatherDataIngestionJobStatusChangedEventData, - AgriFoodFarmingResourceActionType, - AgriFoodFarmingJobStatus + StorageBlobInventoryPolicyCompletedEventData } from "./generated/models"; diff --git a/sdk/eventgrid/eventgrid/src/predicates.ts b/sdk/eventgrid/eventgrid/src/predicates.ts index b9c5f8ed8980..e1dea3d27aa6 100644 --- a/sdk/eventgrid/eventgrid/src/predicates.ts +++ b/sdk/eventgrid/eventgrid/src/predicates.ts @@ -15,21 +15,6 @@ import { AcsRecordingFileStatusUpdatedEventData, AcsSmsDeliveryReportReceivedEventData, AcsSmsReceivedEventData, - AgriFoodFarmingApplicationDataChangedEventData, - AgriFoodFarmingBoundaryChangedEventData, - AgriFoodFarmingCropChangedEventData, - AgriFoodFarmingCropVarietyChangedEventData, - AgriFoodFarmingFarmChangedEventData, - AgriFoodFarmingFarmOperationDataIngestionJobStatusChangedEventData, - AgriFoodFarmingFarmerChangedEventData, - AgriFoodFarmingFieldChangedEventData, - AgriFoodFarmingHarvestDataChangedEventData, - AgriFoodFarmingPlantingDataChangedEventData, - AgriFoodFarmingSatelliteDataIngestionJobStatusChangedEventData, - AgriFoodFarmingSeasonChangedEventData, - AgriFoodFarmingSeasonalFieldChangedEventData, - AgriFoodFarmingTillageDataChangedEventData, - AgriFoodFarmingWeatherDataIngestionJobStatusChangedEventData, AppConfigurationKeyValueDeletedEventData, AppConfigurationKeyValueModifiedEventData, ContainerRegistryChartDeletedEventData, @@ -137,36 +122,6 @@ export type KnownSystemEventTypes = keyof SystemEventNameToEventData; * A mapping of event type names to event data type interfaces. */ export interface SystemEventNameToEventData { - /** An interface for the event data of a "Microsoft.AgFoodPlatform.ApplicationDataChanged" event. */ - "Microsoft.AgFoodPlatform.ApplicationDataChanged": AgriFoodFarmingApplicationDataChangedEventData; - /** An interface for the event data of a "Microsoft.AgFoodPlatform.BoundaryChanged" event. */ - "Microsoft.AgFoodPlatform.BoundaryChanged": AgriFoodFarmingBoundaryChangedEventData; - /** An interface for the event data of a "Microsoft.AgFoodPlatform.CropChanged" event. */ - "Microsoft.AgFoodPlatform.CropChanged": AgriFoodFarmingCropChangedEventData; - /** An interface for the event data of a "Microsoft.AgFoodPlatform.CropVarietyChanged" event. */ - "Microsoft.AgFoodPlatform.CropVarietyChanged": AgriFoodFarmingCropVarietyChangedEventData; - /** An interface for the event data of a "Microsoft.AgFoodPlatform.FarmChanged" event. */ - "Microsoft.AgFoodPlatform.FarmChanged": AgriFoodFarmingFarmChangedEventData; - /** An interface for the event data of a "Microsoft.AgFoodPlatform.FarmOperationDataIngestionJobStatusChanged" event. */ - "Microsoft.AgFoodPlatform.FarmOperationDataIngestionJobStatusChanged": AgriFoodFarmingFarmOperationDataIngestionJobStatusChangedEventData; - /** An interface for the event data of a "Microsoft.AgFoodPlatform.FarmerChanged" event. */ - "Microsoft.AgFoodPlatform.FarmerChanged": AgriFoodFarmingFarmerChangedEventData; - /** An interface for the event data of a "Microsoft.AgFoodPlatform.FieldChanged" event. */ - "Microsoft.AgFoodPlatform.FieldChanged": AgriFoodFarmingFieldChangedEventData; - /** An interface for the event data of a "Microsoft.AgFoodPlatform.HarvestDataChanged" event. */ - "Microsoft.AgFoodPlatform.HarvestDataChanged": AgriFoodFarmingHarvestDataChangedEventData; - /** An interface for the event data of a "Microsoft.AgFoodPlatform.PlantingDataChanged" event. */ - "Microsoft.AgFoodPlatform.PlantingDataChanged": AgriFoodFarmingPlantingDataChangedEventData; - /** An interface for the event data of a "Microsoft.AgFoodPlatform.SatelliteDataIngestionJobStatusChanged" event. */ - "Microsoft.AgFoodPlatform.SatelliteDataIngestionJobStatusChanged": AgriFoodFarmingSatelliteDataIngestionJobStatusChangedEventData; - /** An interface for the event data of a "Microsoft.AgFoodPlatform.SeasonChanged" event. */ - "Microsoft.AgFoodPlatform.SeasonChanged": AgriFoodFarmingSeasonChangedEventData; - /** An interface for the event data of a "Microsoft.AgFoodPlatform.SeasonalFieldChanged" event. */ - "Microsoft.AgFoodPlatform.SeasonalFieldChanged": AgriFoodFarmingSeasonalFieldChangedEventData; - /** An interface for the event data of a "Microsoft.AgFoodPlatform.TillageDataChanged" event. */ - "Microsoft.AgFoodPlatform.TillageDataChanged": AgriFoodFarmingTillageDataChangedEventData; - /** An interface for the event data of a "Microsoft.AgFoodPlatform.WeatherDataIngestionJobStatusChanged" event. */ - "Microsoft.AgFoodPlatform.WeatherDataIngestionJobStatusChanged": AgriFoodFarmingWeatherDataIngestionJobStatusChangedEventData; /** An interface for the event data of a "Microsoft.Communication.ChatMessageReceived" event. */ "Microsoft.Communication.ChatMessageReceived": AcsChatMessageReceivedEventData; /** An interface for the event data of a "Microsoft.Communication.ChatMessageEdited" event. */ diff --git a/sdk/eventgrid/eventgrid/swagger/README.md b/sdk/eventgrid/eventgrid/swagger/README.md index 1a29be07bdae..601c283b363c 100644 --- a/sdk/eventgrid/eventgrid/swagger/README.md +++ b/sdk/eventgrid/eventgrid/swagger/README.md @@ -5,7 +5,7 @@ ## Configuration ```yaml -require: "https://github.com/Azure/azure-rest-api-specs/blob/822c826ef1e1594d74e097d5d4ff2d15ab6ff499/specification/eventgrid/data-plane/readme.md" +require: "https://github.com/Azure/azure-rest-api-specs/blob/d78816faeca788910b48ce0cfad89f85396260d6/specification/eventgrid/data-plane/readme.md" package-name: "@azure/eventgrid" package-version: "4.3.0" title: GeneratedClient