Skip to content

Commit 52f11be

Browse files
authored
EventGrid Add 4.4.0 new system events. (Azure#22126)
1 parent a30e938 commit 52f11be

22 files changed

+5004
-32
lines changed

sdk/eventgrid/azure-messaging-eventgrid/src/main/java/com/azure/messaging/eventgrid/SystemEventNames.java

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,21 @@
2424
import com.azure.messaging.eventgrid.systemevents.AcsRecordingFileStatusUpdatedEventData;
2525
import com.azure.messaging.eventgrid.systemevents.AcsSmsDeliveryReportReceivedEventData;
2626
import com.azure.messaging.eventgrid.systemevents.AcsSmsReceivedEventData;
27+
import com.azure.messaging.eventgrid.systemevents.AgriFoodFarmingApplicationDataChangedEventData;
28+
import com.azure.messaging.eventgrid.systemevents.AgriFoodFarmingBoundaryChangedEventData;
29+
import com.azure.messaging.eventgrid.systemevents.AgriFoodFarmingCropChangedEventData;
30+
import com.azure.messaging.eventgrid.systemevents.AgriFoodFarmingCropVarietyChangedEventData;
31+
import com.azure.messaging.eventgrid.systemevents.AgriFoodFarmingFarmChangedEventData;
32+
import com.azure.messaging.eventgrid.systemevents.AgriFoodFarmingFarmOperationDataIngestionJobStatusChangedEventData;
33+
import com.azure.messaging.eventgrid.systemevents.AgriFoodFarmingFarmerChangedEventData;
34+
import com.azure.messaging.eventgrid.systemevents.AgriFoodFarmingFieldChangedEventData;
35+
import com.azure.messaging.eventgrid.systemevents.AgriFoodFarmingHarvestDataChangedEventData;
36+
import com.azure.messaging.eventgrid.systemevents.AgriFoodFarmingPlantingDataChangedEventData;
37+
import com.azure.messaging.eventgrid.systemevents.AgriFoodFarmingSatelliteDataIngestionJobStatusChangedEventData;
38+
import com.azure.messaging.eventgrid.systemevents.AgriFoodFarmingSeasonChangedEventData;
39+
import com.azure.messaging.eventgrid.systemevents.AgriFoodFarmingSeasonalFieldChangedEventData;
40+
import com.azure.messaging.eventgrid.systemevents.AgriFoodFarmingTillageDataChangedEventData;
41+
import com.azure.messaging.eventgrid.systemevents.AgriFoodFarmingWeatherDataIngestionJobStatusChangedEventData;
2742
import com.azure.messaging.eventgrid.systemevents.AppConfigurationKeyValueDeletedEventData;
2843
import com.azure.messaging.eventgrid.systemevents.AppConfigurationKeyValueModifiedEventData;
2944
import com.azure.messaging.eventgrid.systemevents.ContainerRegistryChartDeletedEventData;
@@ -103,6 +118,7 @@
103118
import com.azure.messaging.eventgrid.systemevents.StorageAsyncOperationInitiatedEventData;
104119
import com.azure.messaging.eventgrid.systemevents.StorageBlobCreatedEventData;
105120
import com.azure.messaging.eventgrid.systemevents.StorageBlobDeletedEventData;
121+
import com.azure.messaging.eventgrid.systemevents.StorageBlobInventoryPolicyCompletedEventData;
106122
import com.azure.messaging.eventgrid.systemevents.StorageBlobRenamedEventData;
107123
import com.azure.messaging.eventgrid.systemevents.StorageBlobTierChangedEventData;
108124
import com.azure.messaging.eventgrid.systemevents.StorageDirectoryCreatedEventData;
@@ -406,6 +422,11 @@ public final class SystemEventNames {
406422
*/
407423
public static final String STORAGE_BLOB_DELETED = "Microsoft.Storage.BlobDeleted";
408424

425+
/** Schema of the Data property of an EventGridEvent for an Microsoft.Storage.BlobInventoryPolicyCompleted event. */
426+
public static final String STORAGE_BLOB_INVENTORY_POLICY_COMPLETED =
427+
"Microsoft.Storage.BlobInventoryPolicyCompleted";
428+
429+
409430
/**
410431
* indicates an event of blob renaming.
411432
*/
@@ -532,6 +553,67 @@ public final class SystemEventNames {
532553
public static final String POLICY_INSIGHTS_POLICY_STATE_CHANGED = "Microsoft.PolicyInsights.PolicyStateChanged";
533554
public static final String POLICY_INSIGHTS_POLICY_STATE_DELETED = "Microsoft.PolicyInsights.PolicyStateDeleted";
534555

556+
// Agriculture Food Farming
557+
/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.ApplicationDataChanged event. */
558+
public static final String AGRI_FOOD_FARMING_APPLICATION_DATA_CHANGED =
559+
"Microsoft.AgFoodPlatform.ApplicationDataChanged";
560+
561+
/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.BoundaryChanged event. */
562+
public static final String AGRI_FOOD_FARMING_BOUNDARY_CHANGED = "Microsoft.AgFoodPlatform.BoundaryChanged";
563+
564+
/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.CropChanged event. */
565+
public static final String AGRI_FOOD_FARMING_CROP_CHANGED = "Microsoft.AgFoodPlatform.CropChanged";
566+
567+
/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.CropVarietyChanged event. */
568+
public static final String AGRI_FOOD_FARMING_CROP_VARIETY_CHANGED = "Microsoft.AgFoodPlatform.CropVarietyChanged";
569+
570+
/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.FarmChanged event. */
571+
public static final String AGRI_FOOD_FARMING_FARM_CHANGED = "Microsoft.AgFoodPlatform.FarmChanged";
572+
573+
/**
574+
* Schema of the Data property of an EventGridEvent for a
575+
* Microsoft.AgFoodPlatform.FarmOperationDataIngestionJobStatusChanged event.
576+
*/
577+
public static final String AGRI_FOOD_FARMING_FARM_OPERATION_DATA_INGESTION_JOB_STATUS_CHANGED =
578+
"Microsoft.AgFoodPlatform.FarmOperationDataIngestionJobStatusChanged";
579+
580+
/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.FarmerChanged event. */
581+
public static final String AGRI_FOOD_FARMING_FARMER_CHANGED = "Microsoft.AgFoodPlatform.FarmerChanged";
582+
583+
/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.FieldChanged event. */
584+
public static final String AGRI_FOOD_FARMING_FIELD_CHANGED = "Microsoft.AgFoodPlatform.FieldChanged";
585+
586+
/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.HarvestDataChanged event. */
587+
public static final String AGRI_FOOD_FARMING_HARVEST_DATA_CHANGED = "Microsoft.AgFoodPlatform.HarvestDataChanged";
588+
589+
/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.PlantingDataChanged event. */
590+
public static final String AGRI_FOOD_FARMING_PLANTING_DATA_CHANGED = "Microsoft.AgFoodPlatform.PlantingDataChanged";
591+
592+
/**
593+
* Schema of the Data property of an EventGridEvent for a
594+
* Microsoft.AgFoodPlatform.SatelliteDataIngestionJobStatusChanged event.
595+
*/
596+
public static final String AGRI_FOOD_FARMING_SATELLITE_DATA_INGESTION_JOB_STATUS_CHANGED =
597+
"Microsoft.AgFoodPlatform.SatelliteDataIngestionJobStatusChanged";
598+
599+
/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.SeasonChanged event. */
600+
public static final String AGRI_FOOD_FARMING_SEASON_CHANGED = "Microsoft.AgFoodPlatform.SeasonChanged";
601+
602+
/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.SeasonalFieldChanged event. */
603+
public static final String AGRI_FOOD_FARMING_SEASONAL_FIELD_CHANGED =
604+
"Microsoft.AgFoodPlatform.SeasonalFieldChanged";
605+
606+
/** Schema of the Data property of an EventGridEvent for a Microsoft.AgFoodPlatform.TillageDataChanged event. */
607+
public static final String AGRI_FOOD_FARMING_TILLAGE_DATA_CHANGED = "Microsoft.AgFoodPlatform.TillageDataChanged";
608+
609+
/**
610+
* Schema of the Data property of an EventGridEvent for a
611+
* Microsoft.AgFoodPlatform.WeatherDataIngestionJobStatusChanged event.
612+
*/
613+
public static final String AGRI_FOOD_FARMING_WEATHER_DATA_INGESTION_JOB_STATUS_CHANGED =
614+
"Microsoft.AgFoodPlatform.WeatherDataIngestionJobStatusChanged";
615+
616+
535617
private static final Map<String, Class<?>> SYSTEM_EVENT_MAPPINGS = new HashMap<String, Class<?>>() {
536618
{
537619
// AppConfiguration events.
@@ -608,6 +690,7 @@ public final class SystemEventNames {
608690
// Storage events.
609691
put(STORAGE_BLOB_CREATED, StorageBlobCreatedEventData.class);
610692
put(STORAGE_BLOB_DELETED, StorageBlobDeletedEventData.class);
693+
put(STORAGE_BLOB_INVENTORY_POLICY_COMPLETED, StorageBlobInventoryPolicyCompletedEventData.class);
611694
put(STORAGE_BLOB_RENAMED, StorageBlobRenamedEventData.class);
612695
put(STORAGE_BLOB_TIER_CHANGED, StorageBlobTierChangedEventData.class);
613696
put(STORAGE_DIRECTORY_CREATED, StorageDirectoryCreatedEventData.class);
@@ -689,6 +772,31 @@ public final class SystemEventNames {
689772
put(POLICY_INSIGHTS_POLICY_STATE_CREATED, PolicyInsightsPolicyStateCreatedEventData.class);
690773
put(POLICY_INSIGHTS_POLICY_STATE_CHANGED, PolicyInsightsPolicyStateChangedEventData.class);
691774
put(POLICY_INSIGHTS_POLICY_STATE_DELETED, PolicyInsightsPolicyStateDeletedEventData.class);
775+
776+
// Agriculture Food Farming
777+
put(
778+
AGRI_FOOD_FARMING_APPLICATION_DATA_CHANGED,
779+
AgriFoodFarmingApplicationDataChangedEventData.class);
780+
put(AGRI_FOOD_FARMING_BOUNDARY_CHANGED, AgriFoodFarmingBoundaryChangedEventData.class);
781+
put(AGRI_FOOD_FARMING_CROP_CHANGED, AgriFoodFarmingCropChangedEventData.class);
782+
put(AGRI_FOOD_FARMING_CROP_VARIETY_CHANGED, AgriFoodFarmingCropVarietyChangedEventData.class);
783+
put(AGRI_FOOD_FARMING_FARM_CHANGED, AgriFoodFarmingFarmChangedEventData.class);
784+
put(
785+
AGRI_FOOD_FARMING_FARM_OPERATION_DATA_INGESTION_JOB_STATUS_CHANGED,
786+
AgriFoodFarmingFarmOperationDataIngestionJobStatusChangedEventData.class);
787+
put(AGRI_FOOD_FARMING_FARMER_CHANGED, AgriFoodFarmingFarmerChangedEventData.class);
788+
put(AGRI_FOOD_FARMING_FIELD_CHANGED, AgriFoodFarmingFieldChangedEventData.class);
789+
put(AGRI_FOOD_FARMING_HARVEST_DATA_CHANGED, AgriFoodFarmingHarvestDataChangedEventData.class);
790+
put(AGRI_FOOD_FARMING_PLANTING_DATA_CHANGED, AgriFoodFarmingPlantingDataChangedEventData.class);
791+
put(
792+
AGRI_FOOD_FARMING_SATELLITE_DATA_INGESTION_JOB_STATUS_CHANGED,
793+
AgriFoodFarmingSatelliteDataIngestionJobStatusChangedEventData.class);
794+
put(AGRI_FOOD_FARMING_SEASON_CHANGED, AgriFoodFarmingSeasonChangedEventData.class);
795+
put(AGRI_FOOD_FARMING_SEASONAL_FIELD_CHANGED, AgriFoodFarmingSeasonalFieldChangedEventData.class);
796+
put(AGRI_FOOD_FARMING_TILLAGE_DATA_CHANGED, AgriFoodFarmingTillageDataChangedEventData.class);
797+
put(
798+
AGRI_FOOD_FARMING_WEATHER_DATA_INGESTION_JOB_STATUS_CHANGED,
799+
AgriFoodFarmingWeatherDataIngestionJobStatusChangedEventData.class);
692800
}
693801
};
694802

0 commit comments

Comments
 (0)