Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated mappings for new Microsoft.Web event types in the azure-sdk-for-net repo #12171

Merged
merged 1 commit into from
Jun 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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