Skip to content

Commit

Permalink
updated mappings for new Microsoft.Web event types in the azure-sdk-f…
Browse files Browse the repository at this point in the history
…or-net repo (#12171)

Co-authored-by: Elle Tojaroon <patojaro@microsoft.com>
  • Loading branch information
ElleTojaroon and Elle Tojaroon authored Jun 9, 2020
1 parent c6adceb commit 9d67114
Show file tree
Hide file tree
Showing 44 changed files with 28,683 additions and 14 deletions.
6 changes: 3 additions & 3 deletions sdk/eng/mgmt/mgmtmetadata/eventgrid_data-plane.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ Commencing code generation
Generating CSharp code
Executing AutoRest command
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=..\..\..
2019-10-22 23:01:34 UTC
2020-05-19 04:32:56 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: master
Commit: 282efa7dd8301ba615d8741f740f1ed7f500fed1
Commit: 3db4f7d4adfb69524af23765ae4cdb4cf4d9ccb3
AutoRest information
Requested version: latest
Bootstrapper version: autorest@2.0.4283
Bootstrapper version: autorest@3.0.6187
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,20 @@ public class EventTypes
public const string StorageDirectoryCreatedEvent = "Microsoft.Storage.DirectoryCreated";
public const string StorageDirectoryDeletedEvent = "Microsoft.Storage.DirectoryDeleted";
public const string StorageDirectoryRenamedEvent = "Microsoft.Storage.DirectoryRenamed";

// App Service
public const string WebAppUpdated = "Microsoft.Web.AppUpdated";
public const string WebBackupOperationStarted = "Microsoft.Web.BackupOperationStarted";
public const string WebBackupOperationCompleted = "Microsoft.Web.BackupOperationCompleted";
public const string WebBackupOperationFailed = "Microsoft.Web.BackupOperationFailed";
public const string WebRestoreOperationStarted = "Microsoft.Web.RestoreOperationStarted";
public const string WebRestoreOperationCompleted = "Microsoft.Web.RestoreOperationCompleted";
public const string WebRestoreOperationFailed = "Microsoft.Web.RestoreOperationFailed";
public const string WebSlotSwapStarted = "Microsoft.Web.SlotSwapStarted";
public const string WebSlotSwapCompleted = "Microsoft.Web.SlotSwapCompleted";
public const string WebSlotSwapFailed = "Microsoft.Web.SlotSwapFailed";
public const string WebSlotSwapWithPreviewStarted = "Microsoft.Web.SlotSwapWithPreviewStarted";
public const string WebSlotSwapWithPreviewCancelled = "Microsoft.Web.SlotSwapWithPreviewCancelled";
public const string WebAppServicePlanUpdated = "Microsoft.Web.AppServicePlanUpdated";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,22 @@ internal static class SystemEventTypeMappings
{ EventTypes.StorageBlobRenamedEvent, typeof(StorageBlobRenamedEventData) },
{ EventTypes.StorageDirectoryCreatedEvent, typeof(StorageDirectoryCreatedEventData) },
{ EventTypes.StorageDirectoryDeletedEvent, typeof(StorageDirectoryDeletedEventData) },
{ EventTypes.StorageDirectoryRenamedEvent, typeof(StorageDirectoryRenamedEventData) }
{ EventTypes.StorageDirectoryRenamedEvent, typeof(StorageDirectoryRenamedEventData) },

// App Service
{ EventTypes.WebAppUpdated, typeof(WebAppUpdatedEventData) },
{ EventTypes.WebBackupOperationStarted, typeof(WebBackupOperationStartedEventData) },
{ EventTypes.WebBackupOperationCompleted, typeof(WebBackupOperationCompletedEventData) },
{ EventTypes.WebBackupOperationFailed, typeof(WebBackupOperationFailedEventData) },
{ EventTypes.WebRestoreOperationStarted, typeof(WebRestoreOperationStartedEventData) },
{ EventTypes.WebRestoreOperationCompleted, typeof(WebRestoreOperationCompletedEventData) },
{ EventTypes.WebRestoreOperationFailed, typeof(WebRestoreOperationFailedEventData) },
{ EventTypes.WebSlotSwapStarted, typeof(WebSlotSwapStartedEventData) },
{ EventTypes.WebSlotSwapCompleted, typeof(WebSlotSwapCompletedEventData) },
{ EventTypes.WebSlotSwapFailed, typeof(WebSlotSwapFailedEventData) },
{ EventTypes.WebSlotSwapWithPreviewStarted, typeof(WebSlotSwapWithPreviewStartedEventData) },
{ EventTypes.WebSlotSwapWithPreviewCancelled, typeof(WebSlotSwapWithPreviewCancelledEventData) },
{ EventTypes.WebAppServicePlanUpdated, typeof(WebAppServicePlanUpdatedEventData) }
};
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9d67114

Please sign in to comment.