diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/CHANGELOG.md b/sdk/eventgrid/Microsoft.Azure.EventGrid/CHANGELOG.md
deleted file mode 100644
index 68a5b85eeec6a..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/CHANGELOG.md
+++ /dev/null
@@ -1,16 +0,0 @@
-# Release History
-
-## 3.3.0-beta.1 (Unreleased)
-
-### Features Added
-
-### Breaking Changes
-
-### Key Bugs Fixed
-
-### Fixed
-
-
-## 3.2.1 (2021-06-15)
-Update package description to include pointer to the new Azure.Messaging.EventGrid package and the migration guide.
-
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/Directory.Build.props b/sdk/eventgrid/Microsoft.Azure.EventGrid/Directory.Build.props
deleted file mode 100644
index c46d2780ef60b..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/Directory.Build.props
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/Microsoft.Azure.EventGrid.sln b/sdk/eventgrid/Microsoft.Azure.EventGrid/Microsoft.Azure.EventGrid.sln
deleted file mode 100644
index f7a03d1db3b4b..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/Microsoft.Azure.EventGrid.sln
+++ /dev/null
@@ -1,43 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 15
-VisualStudioVersion = 15.0.28307.539
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.EventGrid", "src\Microsoft.Azure.EventGrid.csproj", "{56365DD6-E870-463D-8311-DFFF28D2D481}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.EventGrid.Tests", "tests\Microsoft.Azure.EventGrid.Tests.csproj", "{3A25CF93-B406-427A-9CB6-6519B4EDD4B8}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Rest.ClientRuntime.Azure.TestFramework", "..\..\mgmtcommon\TestFramework\ClientRuntime.Azure.TestFramework\Microsoft.Rest.ClientRuntime.Azure.TestFramework.csproj", "{368CFDE6-6DE6-4105-A077-5F859D7A409E}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Azure.Test.HttpRecorder", "..\..\mgmtcommon\TestFramework\Microsoft.Azure.Test.HttpRecorder\Microsoft.Azure.Test.HttpRecorder.csproj", "{FB48478D-EEB8-415A-B01D-DE0300B606A0}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {56365DD6-E870-463D-8311-DFFF28D2D481}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {56365DD6-E870-463D-8311-DFFF28D2D481}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {56365DD6-E870-463D-8311-DFFF28D2D481}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {56365DD6-E870-463D-8311-DFFF28D2D481}.Release|Any CPU.Build.0 = Release|Any CPU
- {3A25CF93-B406-427A-9CB6-6519B4EDD4B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {3A25CF93-B406-427A-9CB6-6519B4EDD4B8}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {3A25CF93-B406-427A-9CB6-6519B4EDD4B8}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {3A25CF93-B406-427A-9CB6-6519B4EDD4B8}.Release|Any CPU.Build.0 = Release|Any CPU
- {368CFDE6-6DE6-4105-A077-5F859D7A409E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {368CFDE6-6DE6-4105-A077-5F859D7A409E}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {368CFDE6-6DE6-4105-A077-5F859D7A409E}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {368CFDE6-6DE6-4105-A077-5F859D7A409E}.Release|Any CPU.Build.0 = Release|Any CPU
- {FB48478D-EEB8-415A-B01D-DE0300B606A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {FB48478D-EEB8-415A-B01D-DE0300B606A0}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {FB48478D-EEB8-415A-B01D-DE0300B606A0}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {FB48478D-EEB8-415A-B01D-DE0300B606A0}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- SolutionGuid = {D76D4C3B-CDA9-4098-8E6F-71E601A57979}
- EndGlobalSection
-EndGlobal
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Customization/EventGridSubscriber.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Customization/EventGridSubscriber.cs
deleted file mode 100644
index 89b40d4172424..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Customization/EventGridSubscriber.cs
+++ /dev/null
@@ -1,240 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-
-using Microsoft.Azure.EventGrid.Models;
-using Microsoft.Rest.Serialization;
-using Newtonsoft.Json;
-using Newtonsoft.Json.Linq;
-using System;
-using System.Collections.Concurrent;
-using System.Collections.Generic;
-using System.IO;
-
-namespace Microsoft.Azure.EventGrid
-{
- public class EventGridSubscriber : IEventGridEventDeserializer, ICustomEventTypeMapper
- {
- static readonly JsonSerializer defaultJsonSerializer;
- readonly ConcurrentDictionary customEventTypeMapping;
-
- static EventGridSubscriber()
- {
- defaultJsonSerializer = GetJsonSerializerWithPolymorphicSupport();
- }
-
- public EventGridSubscriber()
- {
- customEventTypeMapping = new ConcurrentDictionary(StringComparer.OrdinalIgnoreCase);
- }
-
- ///
- /// Deserializes the provided event data using a default JSON serializer that supports all system event types.
- /// A webhook/function that is consuming events can call this function to deserialize EventGrid events.
- /// For system events, the Data property of each event in the returned array will be set to the appropriate
- /// type (e.g. StorageBlobCreatedEventData). For events on custom topics where the type of the Data property
- /// can be of any type, the calling function will have to first add a custom event mapping before calling this function.
- ///
- /// The JSON string containing an array of EventGrid events
- /// A list of EventGrid Events
- public EventGridEvent[] DeserializeEventGridEvents(string requestContent)
- {
- return this.DeserializeEventGridEvents(requestContent, defaultJsonSerializer);
- }
-
- ///
- /// Deserializes the provided event data using a custom JSON serializer.
- /// A webhook/function that is consuming events can call this function to deserialize EventGrid events.
- /// For system events, the Data property of each event in the returned array will be set to the appropriate
- /// type (e.g. StorageBlobCreatedEventData). For events on custom topics where the type of the Data property
- /// can be of any type, the calling function will have to first add a custom event mapping before calling this function.
- ///
- /// The JSON string containing an array of EventGrid events
- /// JsonSerializer to use for the deserialization.
- /// A list of EventGrid Events
- public EventGridEvent[] DeserializeEventGridEvents(string requestContent, JsonSerializer jsonSerializer)
- {
- EventGridEvent[] eventGridEvents = JsonConvert.DeserializeObject(requestContent, jsonSerializer.GetJsonSerializerSettings());
- return DeserializeEventGridEventData(eventGridEvents, jsonSerializer);
- }
-
- ///
- /// Deserializes the provided stream using a default JSON serializer that supports all system event types.
- /// A webhook/function that is consuming events can call this function to deserialize EventGrid events.
- /// For system events, the Data property of each event in the returned array will be set to the appropriate
- /// type (e.g. StorageBlobCreatedEventData). For events on custom topics where the type of the Data property
- /// can be of any type, the calling function will have to first add a custom event mapping before calling this function.
- ///
- /// Request Stream
- /// A list of EventGrid Events
- public EventGridEvent[] DeserializeEventGridEvents(Stream requestStream)
- {
- return this.DeserializeEventGridEvents(requestStream, defaultJsonSerializer);
- }
-
- ///
- /// Deserializes the provided stream using a custom JSON serializer.
- /// A webhook/function that is consuming events can call this function to deserialize EventGrid events.
- /// For system events, the Data property of each event in the returned array will be set to the appropriate
- /// type (e.g. StorageBlobCreatedEventData). For events on custom topics where the type of the Data property
- /// can be of any type, the calling function will have to first add a custom event mapping before calling this function.
- ///
- /// Request Stream
- /// JsonSerializer to use for the deserialization.
- /// A list of EventGrid Events
- public EventGridEvent[] DeserializeEventGridEvents(Stream requestStream, JsonSerializer jsonSerializer)
- {
- EventGridEvent[] eventGridEvents = null;
-
- using (var streamReader = new StreamReader(requestStream))
- {
- using (var jsonTextReader = new JsonTextReader(streamReader))
- {
- eventGridEvents = (EventGridEvent[])jsonSerializer.Deserialize(jsonTextReader, typeof(EventGridEvent[]));
- }
- }
-
- return DeserializeEventGridEventData(eventGridEvents, jsonSerializer);
- }
-
- ///
- /// Adds or updates a custom event mapping that associates an eventType string with the corresponding type of event data.
- ///
- /// The event type to register, such as "Contoso.Items.ItemReceived"
- /// The type of eventdata corresponding to this eventType, such as typeof(ContosoItemReceivedEventData)
- public void AddOrUpdateCustomEventMapping(string eventType, Type eventDataType)
- {
- this.ValidateEventType(eventType);
-
- if (eventDataType == null)
- {
- throw new ArgumentNullException(nameof(eventDataType));
- }
-
- this.customEventTypeMapping.AddOrUpdate(
- eventType,
- eventDataType,
- (_, existingValue) => eventDataType);
- }
-
- ///
- /// Gets information about a custom event mapping.
- ///
- /// The registered event type, such as "Contoso.Items.ItemReceived"
- /// The type of eventdata corresponding to this eventType, such as typeof(ContosoItemReceivedEventData)
- /// True if the specified mapping exists.
- public bool TryGetCustomEventMapping(string eventType, out Type eventDataType)
- {
- this.ValidateEventType(eventType);
-
- return this.customEventTypeMapping.TryGetValue(eventType, out eventDataType);
- }
-
- ///
- /// List all registered custom event mappings.
- ///
- /// An IEnumerable of mappings
- public IEnumerable> ListAllCustomEventMappings()
- {
- foreach (KeyValuePair kvp in this.customEventTypeMapping)
- {
- yield return kvp;
- }
- }
-
- ///
- /// Removes a custom event mapping.
- ///
- /// The registered event type, such as "Contoso.Items.ItemReceived"
- /// The type of eventdata corresponding to this eventType, such as typeof(ContosoItemReceivedEventData)
- /// True if the specified mapping was removed successfully.
- public bool TryRemoveCustomEventMapping(string eventType, out Type eventDataType)
- {
- this.ValidateEventType(eventType);
- return this.customEventTypeMapping.TryRemove(eventType, out eventDataType);
- }
-
- void ValidateEventType(string eventType)
- {
- if (string.IsNullOrEmpty(eventType))
- {
- throw new ArgumentNullException(nameof(eventType));
- }
- }
-
- EventGridEvent[] DeserializeEventGridEventData(EventGridEvent[] eventGridEvents, JsonSerializer jsonSerializer)
- {
- foreach (EventGridEvent receivedEvent in eventGridEvents)
- {
- Type typeOfEventData = null;
-
- // First, let's attempt to find the mapping for the event type in the system event type mapping.
- // Note that system event data would always be of type JObject.
- if (SystemEventTypeMappings.SystemEventMappings.TryGetValue(receivedEvent.EventType, out typeOfEventData))
- {
- JObject dataObject = receivedEvent.Data as JObject;
- if (dataObject != null)
- {
- var eventData = dataObject.ToObject(typeOfEventData, jsonSerializer);
- receivedEvent.Data = eventData;
- }
- }
- // If not a system event, let's attempt to find the mapping for the event type in the custom event mapping.
- else if (this.TryGetCustomEventMapping(receivedEvent.EventType, out typeOfEventData))
- {
- JToken dataToken = receivedEvent.Data as JToken;
- if (dataToken == null)
- {
- // Nothing to do (e.g. this will happen if Data is a primitive/string type).
- continue;
- }
-
- switch (dataToken.Type)
- {
- case JTokenType.Object:
- var eventData = dataToken.ToObject(typeOfEventData, jsonSerializer);
- receivedEvent.Data = eventData;
- break;
- case JTokenType.Array:
- var arrayEventData = JsonConvert.DeserializeObject(
- dataToken.ToString(),
- typeOfEventData,
- jsonSerializer.GetJsonSerializerSettings());
- receivedEvent.Data = arrayEventData;
- break;
- default:
- break;
- }
- }
- }
-
- return eventGridEvents;
- }
-
- static JsonSerializer GetJsonSerializerWithPolymorphicSupport()
- {
- JsonSerializerSettings deserializationSettings = new JsonSerializerSettings
- {
- DateFormatHandling = DateFormatHandling.IsoDateFormat,
- DateTimeZoneHandling = DateTimeZoneHandling.Utc,
- NullValueHandling = NullValueHandling.Ignore,
- ReferenceLoopHandling = ReferenceLoopHandling.Serialize,
- Converters = new List
- {
- new Iso8601TimeSpanConverter()
- }
- };
-
- JsonSerializer jsonSerializer = JsonSerializer.Create(deserializationSettings);
-
- // Note: If any of the events have polymorphic data, add converters for them here.
- // This enables the polymorphic deserialization for the event data.
- // For example, MediaJobCompletedEventData's MediaJobOutput type is polymorphic
- // based on the @odata.type property in the data.
-
- jsonSerializer.Converters.Add(new PolymorphicDeserializeJsonConverter("@odata.type"));
-
- return jsonSerializer;
- }
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Customization/EventTypes.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Customization/EventTypes.cs
deleted file mode 100644
index a653e166d10a6..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Customization/EventTypes.cs
+++ /dev/null
@@ -1,116 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-
-namespace Microsoft.Azure.EventGrid
-{
- ///
- /// Represents the names of the various event types for the system events published to
- /// Azure Event Grid.
- ///
- public class EventTypes
- {
- // Keep this sorted by the name of the service publishing the events.
-
- // AppConfiguration events
- public const string AppConfigurationKeyValueDeletedEvent = "Microsoft.AppConfiguration.KeyValueDeleted";
- public const string AppConfigurationKeyValueModifiedEvent = "Microsoft.AppConfiguration.KeyValueModified";
-
- // ContainerRegistry events
- public const string ContainerRegistryImagePushedEvent = "Microsoft.ContainerRegistry.ImagePushed";
- public const string ContainerRegistryImageDeletedEvent = "Microsoft.ContainerRegistry.ImageDeleted";
- public const string ContainerRegistryChartDeletedEvent = "Microsoft.ContainerRegistry.ChartDeleted";
- public const string ContainerRegistryChartPushedEvent = "Microsoft.ContainerRegistry.ChartPushed";
-
- // Device events
- public const string IoTHubDeviceCreatedEvent = "Microsoft.Devices.DeviceCreated";
- public const string IoTHubDeviceDeletedEvent = "Microsoft.Devices.DeviceDeleted";
- public const string IoTHubDeviceConnectedEvent = "Microsoft.Devices.DeviceConnected";
- public const string IoTHubDeviceDisconnectedEvent = "Microsoft.Devices.DeviceDisconnected";
- public const string IotHubDeviceTelemetryEvent = "Microsoft.Devices.DeviceTelemetry";
-
- // EventGrid events
- public const string EventGridSubscriptionValidationEvent = "Microsoft.EventGrid.SubscriptionValidationEvent";
- public const string EventGridSubscriptionDeletedEvent = "Microsoft.EventGrid.SubscriptionDeletedEvent";
-
- // Event Hub Events
- public const string EventHubCaptureFileCreatedEvent = "Microsoft.EventHub.CaptureFileCreated";
-
- // MachineLearningServices events
- public const string MachineLearningServicesDatasetDriftDetectedEvent = "Microsoft.MachineLearningServices.DatasetDriftDetected";
- public const string MachineLearningServicesModelDeployedEvent = "Microsoft.MachineLearningServices.ModelDeployed";
- public const string MachineLearningServicesModelRegisteredEvent = "Microsoft.MachineLearningServices.ModelRegistered";
- public const string MachineLearningServicesRunCompletedEvent = "Microsoft.MachineLearningServices.RunCompleted";
- public const string MachineLearningServicesRunStatusChangedEvent = "Microsoft.MachineLearningServices.RunStatusChanged";
-
- // Maps events
- public const string MapsGeofenceEnteredEvent = "Microsoft.Maps.GeofenceEntered";
- public const string MapsGeofenceExitedEvent = "Microsoft.Maps.GeofenceExited";
- public const string MapsGeofenceResultEvent = "Microsoft.Maps.GeofenceResult";
-
- // Media Services events
- public const string MediaJobStateChangeEvent = "Microsoft.Media.JobStateChange";
- public const string MediaJobOutputStateChangeEvent = "Microsoft.Media.JobOutputStateChange";
- public const string MediaJobScheduledEvent = "Microsoft.Media.JobScheduled";
- public const string MediaJobProcessingEvent = "Microsoft.Media.JobProcessing";
- public const string MediaJobCancelingEvent = "Microsoft.Media.JobCanceling";
- public const string MediaJobFinishedEvent = "Microsoft.Media.JobFinished";
- public const string MediaJobCanceledEvent = "Microsoft.Media.JobCanceled";
- public const string MediaJobErroredEvent = "Microsoft.Media.JobErrored";
- public const string MediaJobOutputCanceledEvent = "Microsoft.Media.JobOutputCanceled";
- public const string MediaJobOutputCancelingEvent = "Microsoft.Media.JobOutputCanceling";
- public const string MediaJobOutputErroredEvent = "Microsoft.Media.JobOutputErrored";
- public const string MediaJobOutputFinishedEvent = "Microsoft.Media.JobOutputFinished";
- public const string MediaJobOutputProcessingEvent = "Microsoft.Media.JobOutputProcessing";
- public const string MediaJobOutputScheduledEvent = "Microsoft.Media.JobOutputScheduled";
- public const string MediaJobOutputProgressEvent = "Microsoft.Media.JobOutputProgress";
- public const string MediaLiveEventEncoderConnectedEvent = "Microsoft.Media.LiveEventEncoderConnected";
- public const string MediaLiveEventConnectionRejectedEvent = "Microsoft.Media.LiveEventConnectionRejected";
- public const string MediaLiveEventEncoderDisconnectedEvent = "Microsoft.Media.LiveEventEncoderDisconnected";
- public const string MediaLiveEventIncomingStreamReceivedEvent = "Microsoft.Media.LiveEventIncomingStreamReceived";
- public const string MediaLiveEventIncomingStreamsOutOfSyncEvent = "Microsoft.Media.LiveEventIncomingStreamsOutOfSync";
- public const string MediaLiveEventIncomingVideoStreamsOutOfSyncEvent = "Microsoft.Media.LiveEventIncomingVideoStreamsOutOfSync";
- public const string MediaLiveEventIncomingChunkDroppedEvent = "Microsoft.Media.LiveEventIncomingDataChunkDropped";
- public const string MediaLiveEventIngestHeartbeatEvent = "Microsoft.Media.LiveEventIngestHeartbeat";
- public const string MediaLiveEventTrackDiscontinuityDetectedEvent = "Microsoft.Media.LiveEventTrackDiscontinuityDetected";
-
- // Resource Manager (Azure Subscription/Resource Group) events
- public const string ResourceWriteSuccessEvent = "Microsoft.Resources.ResourceWriteSuccess";
- public const string ResourceWriteFailureEvent = "Microsoft.Resources.ResourceWriteFailure";
- public const string ResourceWriteCancelEvent = "Microsoft.Resources.ResourceWriteCancel";
- public const string ResourceDeleteSuccessEvent = "Microsoft.Resources.ResourceDeleteSuccess";
- public const string ResourceDeleteFailureEvent = "Microsoft.Resources.ResourceDeleteFailure";
- public const string ResourceDeleteCancelEvent = "Microsoft.Resources.ResourceDeleteCancel";
- public const string ResourceActionSuccessEvent = "Microsoft.Resources.ResourceActionSuccess";
- public const string ResourceActionFailureEvent = "Microsoft.Resources.ResourceActionFailure";
- public const string ResourceActionCancelEvent = "Microsoft.Resources.ResourceActionCancel";
-
- // ServiceBus events
- public const string ServiceBusActiveMessagesAvailableWithNoListenersEvent = "Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners";
- public const string ServiceBusDeadletterMessagesAvailableWithNoListenerEvent = "Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListener";
-
- // Storage events
- public const string StorageBlobCreatedEvent = "Microsoft.Storage.BlobCreated";
- public const string StorageBlobDeletedEvent = "Microsoft.Storage.BlobDeleted";
- public const string StorageBlobRenamedEvent = "Microsoft.Storage.BlobRenamed";
- public const string StorageDirectoryCreatedEvent = "Microsoft.Storage.DirectoryCreated";
- public const string StorageDirectoryDeletedEvent = "Microsoft.Storage.DirectoryDeleted";
- public const string StorageDirectoryRenamedEvent = "Microsoft.Storage.DirectoryRenamed";
- public const string StorageLifecyclePolicyCompletedEvent = "Microsoft.Storage.LifecyclePolicyCompleted";
-
- // 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";
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Customization/ICustomEventTypeMapper.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Customization/ICustomEventTypeMapper.cs
deleted file mode 100644
index e4a668ecc30c8..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Customization/ICustomEventTypeMapper.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-
-using System;
-using System.Collections.Generic;
-
-namespace Microsoft.Azure.EventGrid
-{
- public interface ICustomEventTypeMapper
- {
- void AddOrUpdateCustomEventMapping(string eventType, Type eventDataType);
-
- bool TryRemoveCustomEventMapping(string eventType, out Type eventDataType);
-
- bool TryGetCustomEventMapping(string eventType, out Type eventDataType);
-
- IEnumerable> ListAllCustomEventMappings();
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Customization/IEventGridEventDeserializer.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Customization/IEventGridEventDeserializer.cs
deleted file mode 100644
index be1047215a6c9..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Customization/IEventGridEventDeserializer.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-
-using Microsoft.Azure.EventGrid.Models;
-using Newtonsoft.Json;
-using System.IO;
-
-namespace Microsoft.Azure.EventGrid
-{
- public interface IEventGridEventDeserializer
- {
- EventGridEvent[] DeserializeEventGridEvents(string requestContent);
-
- EventGridEvent[] DeserializeEventGridEvents(string requestContent, JsonSerializer jsonSerializer);
-
- EventGridEvent[] DeserializeEventGridEvents(Stream requestStream);
-
- EventGridEvent[] DeserializeEventGridEvents(Stream requestStream, JsonSerializer jsonSerializer);
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Customization/JsonSerializerExtensions.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Customization/JsonSerializerExtensions.cs
deleted file mode 100644
index 1e4a43885251e..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Customization/JsonSerializerExtensions.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-
-using Newtonsoft.Json;
-
-namespace Microsoft.Azure.EventGrid
-{
- static class JsonSerializerExtensions
- {
- public static JsonSerializerSettings GetJsonSerializerSettings(this JsonSerializer serializer)
- {
- var jsonSerializerSettings = new JsonSerializerSettings
- {
- Context = serializer.Context,
- Culture = serializer.Culture,
- ContractResolver = serializer.ContractResolver,
- ConstructorHandling = serializer.ConstructorHandling,
- CheckAdditionalContent = serializer.CheckAdditionalContent,
- DateFormatHandling = serializer.DateFormatHandling,
- DateFormatString = serializer.DateFormatString,
- DateParseHandling = serializer.DateParseHandling,
- DateTimeZoneHandling = serializer.DateTimeZoneHandling,
- DefaultValueHandling = serializer.DefaultValueHandling,
- FloatFormatHandling = serializer.FloatFormatHandling,
- Formatting = serializer.Formatting,
- FloatParseHandling = serializer.FloatParseHandling,
- MaxDepth = serializer.MaxDepth,
- MetadataPropertyHandling = serializer.MetadataPropertyHandling,
- MissingMemberHandling = serializer.MissingMemberHandling,
- NullValueHandling = serializer.NullValueHandling,
- ObjectCreationHandling = serializer.ObjectCreationHandling,
- PreserveReferencesHandling = serializer.PreserveReferencesHandling,
- ReferenceResolver = serializer.ReferenceResolver,
- ReferenceLoopHandling = serializer.ReferenceLoopHandling,
- StringEscapeHandling = serializer.StringEscapeHandling,
- TraceWriter = serializer.TraceWriter,
- TypeNameHandling = serializer.TypeNameHandling,
- };
-
- foreach (JsonConverter converter in serializer.Converters)
- {
- jsonSerializerSettings.Converters.Add(converter);
- }
-
- return jsonSerializerSettings;
- }
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Customization/Models/ResourceCredentials.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Customization/Models/ResourceCredentials.cs
deleted file mode 100644
index fcd1187969619..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Customization/Models/ResourceCredentials.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-
-using System.Net.Http;
-using System.Threading;
-using System.Threading.Tasks;
-using Microsoft.Rest;
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- public class ResourceCredentials : ServiceClientCredentials
- {
- readonly string resourceKey;
-
- public ResourceCredentials(string resourceKey)
- {
- this.resourceKey = resourceKey;
- }
-
- public override void InitializeServiceClient(ServiceClient client)
- {
- }
-
- public override async Task ProcessHttpRequestAsync(HttpRequestMessage request, CancellationToken cancellationToken)
- {
- request.Headers.Add("aeg-sas-key", this.resourceKey);
- await base.ProcessHttpRequestAsync(request, cancellationToken).ConfigureAwait(false);
- }
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Customization/Models/TopicCredentials.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Customization/Models/TopicCredentials.cs
deleted file mode 100644
index 8c145c5b1cb5b..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Customization/Models/TopicCredentials.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-
-using System.Net.Http;
-using System.Threading;
-using System.Threading.Tasks;
-using Microsoft.Rest;
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- public class TopicCredentials : ServiceClientCredentials
- {
- readonly string topicKey;
-
- public TopicCredentials(string topicKey)
- {
- this.topicKey = topicKey;
- }
-
- public override void InitializeServiceClient(ServiceClient client)
- {
- }
-
- public override async Task ProcessHttpRequestAsync(HttpRequestMessage request, CancellationToken cancellationToken)
- {
- request.Headers.Add("aeg-sas-key", this.topicKey);
- await base.ProcessHttpRequestAsync(request, cancellationToken).ConfigureAwait(false);
- }
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Customization/SystemEventTypeMappings.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Customization/SystemEventTypeMappings.cs
deleted file mode 100644
index 69b4ef40bcf37..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Customization/SystemEventTypeMappings.cs
+++ /dev/null
@@ -1,122 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-
-using Microsoft.Azure.EventGrid.Models;
-using System;
-using System.Collections.Generic;
-
-namespace Microsoft.Azure.EventGrid
-{
- internal static class SystemEventTypeMappings
- {
- public static readonly IReadOnlyDictionary SystemEventMappings = new Dictionary(StringComparer.OrdinalIgnoreCase)
- {
- // KEEP THIS SORTED BY THE NAME OF THE PUBLISHING SERVICE
- // Add handling for additional event types here.
- // NOTE: If any of the event data fields is polymorphic, remember to add an entry for the discriminator/BaseType
- // in EventGridSubscriber.GetJsonSerializerWithPolymorphicSupport()
- // Example: jsonSerializer.Converters.Add(new PolymorphicDeserializeJsonConverter("@odata.type"));
-
- // AppConfiguration events
- { EventTypes.AppConfigurationKeyValueDeletedEvent, typeof(AppConfigurationKeyValueDeletedEventData) },
- { EventTypes.AppConfigurationKeyValueModifiedEvent, typeof(AppConfigurationKeyValueModifiedEventData) },
-
- // ContainerRegistry events
- { EventTypes.ContainerRegistryImagePushedEvent, typeof(ContainerRegistryImagePushedEventData) },
- { EventTypes.ContainerRegistryImageDeletedEvent, typeof(ContainerRegistryImageDeletedEventData) },
- { EventTypes.ContainerRegistryChartDeletedEvent, typeof(ContainerRegistryChartDeletedEventData) },
- { EventTypes.ContainerRegistryChartPushedEvent, typeof(ContainerRegistryChartPushedEventData) },
-
- // IoTHub Device events
- { EventTypes.IoTHubDeviceCreatedEvent, typeof(IotHubDeviceCreatedEventData) },
- { EventTypes.IoTHubDeviceDeletedEvent, typeof(IotHubDeviceDeletedEventData) },
- { EventTypes.IoTHubDeviceConnectedEvent, typeof(IotHubDeviceConnectedEventData) },
- { EventTypes.IoTHubDeviceDisconnectedEvent, typeof(IotHubDeviceDisconnectedEventData) },
- { EventTypes.IotHubDeviceTelemetryEvent, typeof(IotHubDeviceTelemetryEventData) },
-
- // EventGrid events
- { EventTypes.EventGridSubscriptionValidationEvent, typeof(SubscriptionValidationEventData) },
- { EventTypes.EventGridSubscriptionDeletedEvent, typeof(SubscriptionDeletedEventData) },
-
- // Event Hub events
- { EventTypes.EventHubCaptureFileCreatedEvent, typeof(EventHubCaptureFileCreatedEventData) },
-
- // MachineLearningServices events
- { EventTypes.MachineLearningServicesDatasetDriftDetectedEvent, typeof(MachineLearningServicesDatasetDriftDetectedEventData) },
- { EventTypes.MachineLearningServicesModelDeployedEvent, typeof(MachineLearningServicesModelDeployedEventData) },
- { EventTypes.MachineLearningServicesModelRegisteredEvent, typeof(MachineLearningServicesModelRegisteredEventData) },
- { EventTypes.MachineLearningServicesRunCompletedEvent, typeof(MachineLearningServicesRunCompletedEventData) },
- { EventTypes.MachineLearningServicesRunStatusChangedEvent, typeof(MachineLearningServicesRunStatusChangedEventData) },
-
- // Maps events
- { EventTypes.MapsGeofenceEnteredEvent, typeof(MapsGeofenceEnteredEventData) },
- { EventTypes.MapsGeofenceExitedEvent, typeof(MapsGeofenceExitedEventData) },
- { EventTypes.MapsGeofenceResultEvent, typeof(MapsGeofenceResultEventData) },
-
- // Media Services events
- { EventTypes.MediaJobStateChangeEvent, typeof(MediaJobStateChangeEventData) },
- { EventTypes.MediaJobOutputStateChangeEvent, typeof(MediaJobOutputStateChangeEventData) },
- { EventTypes.MediaJobScheduledEvent, typeof(MediaJobScheduledEventData) },
- { EventTypes.MediaJobProcessingEvent, typeof(MediaJobProcessingEventData) },
- { EventTypes.MediaJobCancelingEvent, typeof(MediaJobCancelingEventData) },
- { EventTypes.MediaJobFinishedEvent, typeof(MediaJobFinishedEventData) },
- { EventTypes.MediaJobCanceledEvent, typeof(MediaJobCanceledEventData) },
- { EventTypes.MediaJobErroredEvent, typeof(MediaJobErroredEventData) },
- { EventTypes.MediaJobOutputCanceledEvent, typeof(MediaJobOutputCanceledEventData) },
- { EventTypes.MediaJobOutputCancelingEvent, typeof(MediaJobOutputCancelingEventData) },
- { EventTypes.MediaJobOutputErroredEvent, typeof(MediaJobOutputErroredEventData) },
- { EventTypes.MediaJobOutputFinishedEvent, typeof(MediaJobOutputFinishedEventData) },
- { EventTypes.MediaJobOutputProcessingEvent, typeof(MediaJobOutputProcessingEventData) },
- { EventTypes.MediaJobOutputScheduledEvent, typeof(MediaJobOutputScheduledEventData) },
- { EventTypes.MediaJobOutputProgressEvent, typeof(MediaJobOutputProgressEventData) },
- { EventTypes.MediaLiveEventEncoderConnectedEvent, typeof(MediaLiveEventEncoderConnectedEventData) },
- { EventTypes.MediaLiveEventConnectionRejectedEvent, typeof(MediaLiveEventConnectionRejectedEventData) },
- { EventTypes.MediaLiveEventEncoderDisconnectedEvent, typeof(MediaLiveEventEncoderDisconnectedEventData) },
- { EventTypes.MediaLiveEventIncomingStreamReceivedEvent, typeof(MediaLiveEventIncomingStreamReceivedEventData) },
- { EventTypes.MediaLiveEventIncomingStreamsOutOfSyncEvent, typeof(MediaLiveEventIncomingStreamsOutOfSyncEventData) },
- { EventTypes.MediaLiveEventIncomingVideoStreamsOutOfSyncEvent, typeof(MediaLiveEventIncomingVideoStreamsOutOfSyncEventData) },
- { EventTypes.MediaLiveEventIncomingChunkDroppedEvent, typeof(MediaLiveEventIncomingDataChunkDroppedEventData) },
- { EventTypes.MediaLiveEventIngestHeartbeatEvent, typeof(MediaLiveEventIngestHeartbeatEventData) },
- { EventTypes.MediaLiveEventTrackDiscontinuityDetectedEvent, typeof(MediaLiveEventTrackDiscontinuityDetectedEventData) },
-
- // Resource Manager (Azure Subscription/Resource Group) events
- { EventTypes.ResourceWriteSuccessEvent, typeof(ResourceWriteSuccessData) },
- { EventTypes.ResourceWriteFailureEvent, typeof(ResourceWriteFailureData) },
- { EventTypes.ResourceWriteCancelEvent, typeof(ResourceWriteCancelData) },
- { EventTypes.ResourceDeleteSuccessEvent, typeof(ResourceDeleteSuccessData) },
- { EventTypes.ResourceDeleteFailureEvent, typeof(ResourceDeleteFailureData) },
- { EventTypes.ResourceDeleteCancelEvent, typeof(ResourceDeleteCancelData) },
- { EventTypes.ResourceActionSuccessEvent, typeof(ResourceActionSuccessData) },
- { EventTypes.ResourceActionFailureEvent, typeof(ResourceActionFailureData) },
- { EventTypes.ResourceActionCancelEvent, typeof(ResourceActionCancelData) },
-
- // ServiceBus events
- { EventTypes.ServiceBusActiveMessagesAvailableWithNoListenersEvent, typeof(ServiceBusActiveMessagesAvailableWithNoListenersEventData) },
- { EventTypes.ServiceBusDeadletterMessagesAvailableWithNoListenerEvent, typeof(ServiceBusDeadletterMessagesAvailableWithNoListenersEventData) },
-
- // Storage events
- { EventTypes.StorageBlobCreatedEvent, typeof(StorageBlobCreatedEventData) },
- { EventTypes.StorageBlobDeletedEvent, typeof(StorageBlobDeletedEventData) },
- { EventTypes.StorageBlobRenamedEvent, typeof(StorageBlobRenamedEventData) },
- { EventTypes.StorageDirectoryCreatedEvent, typeof(StorageDirectoryCreatedEventData) },
- { EventTypes.StorageDirectoryDeletedEvent, typeof(StorageDirectoryDeletedEventData) },
- { 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) }
- };
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/EventGridClient.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/EventGridClient.cs
deleted file mode 100644
index dc91e480712ac..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/EventGridClient.cs
+++ /dev/null
@@ -1,420 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid
-{
- using Microsoft.Rest;
- using Microsoft.Rest.Azure;
- using Microsoft.Rest.Serialization;
- using Models;
- using Newtonsoft.Json;
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
- using System.Net;
- using System.Net.Http;
- using System.Threading;
- using System.Threading.Tasks;
-
- ///
- /// EventGrid Client
- ///
- public partial class EventGridClient : ServiceClient, IEventGridClient, IAzureClient
- {
- ///
- /// The base URI of the service.
- ///
- internal string BaseUri {get; set;}
-
- ///
- /// Gets or sets json serialization settings.
- ///
- public JsonSerializerSettings SerializationSettings { get; private set; }
-
- ///
- /// Gets or sets json deserialization settings.
- ///
- public JsonSerializerSettings DeserializationSettings { get; private set; }
-
- ///
- /// Credentials needed for the client to connect to Azure.
- ///
- public ServiceClientCredentials Credentials { get; private set; }
-
- ///
- /// Version of the API to be used with the client request.
- ///
- public string ApiVersion { get; private set; }
-
- ///
- /// The preferred language for the response.
- ///
- public string AcceptLanguage { get; set; }
-
- ///
- /// The retry timeout in seconds for Long Running Operations. Default value is
- /// 30.
- ///
- public int? LongRunningOperationRetryTimeout { get; set; }
-
- ///
- /// Whether a unique x-ms-client-request-id should be generated. When set to
- /// true a unique x-ms-client-request-id value is generated and included in
- /// each request. Default is true.
- ///
- public bool? GenerateClientRequestId { get; set; }
-
- ///
- /// Initializes a new instance of the EventGridClient class.
- ///
- ///
- /// HttpClient to be used
- ///
- ///
- /// True: will dispose the provided httpClient on calling EventGridClient.Dispose(). False: will not dispose provided httpClient
- protected EventGridClient(HttpClient httpClient, bool disposeHttpClient) : base(httpClient, disposeHttpClient)
- {
- Initialize();
- }
-
- ///
- /// Initializes a new instance of the EventGridClient class.
- ///
- ///
- /// Optional. The delegating handlers to add to the http client pipeline.
- ///
- protected EventGridClient(params DelegatingHandler[] handlers) : base(handlers)
- {
- Initialize();
- }
-
- ///
- /// Initializes a new instance of the EventGridClient class.
- ///
- ///
- /// Optional. The http client handler used to handle http transport.
- ///
- ///
- /// Optional. The delegating handlers to add to the http client pipeline.
- ///
- protected EventGridClient(HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : base(rootHandler, handlers)
- {
- Initialize();
- }
-
- ///
- /// Initializes a new instance of the EventGridClient class.
- ///
- ///
- /// Required. Credentials needed for the client to connect to Azure.
- ///
- ///
- /// Optional. The delegating handlers to add to the http client pipeline.
- ///
- ///
- /// Thrown when a required parameter is null
- ///
- public EventGridClient(ServiceClientCredentials credentials, params DelegatingHandler[] handlers) : this(handlers)
- {
- if (credentials == null)
- {
- throw new System.ArgumentNullException("credentials");
- }
- Credentials = credentials;
- if (Credentials != null)
- {
- Credentials.InitializeServiceClient(this);
- }
- }
-
- ///
- /// Initializes a new instance of the EventGridClient class.
- ///
- ///
- /// Required. Credentials needed for the client to connect to Azure.
- ///
- ///
- /// HttpClient to be used
- ///
- ///
- /// True: will dispose the provided httpClient on calling EventGridClient.Dispose(). False: will not dispose provided httpClient
- ///
- /// Thrown when a required parameter is null
- ///
- public EventGridClient(ServiceClientCredentials credentials, HttpClient httpClient, bool disposeHttpClient) : this(httpClient, disposeHttpClient)
- {
- if (credentials == null)
- {
- throw new System.ArgumentNullException("credentials");
- }
- Credentials = credentials;
- if (Credentials != null)
- {
- Credentials.InitializeServiceClient(this);
- }
- }
-
- ///
- /// Initializes a new instance of the EventGridClient class.
- ///
- ///
- /// Required. Credentials needed for the client to connect to Azure.
- ///
- ///
- /// Optional. The http client handler used to handle http transport.
- ///
- ///
- /// Optional. The delegating handlers to add to the http client pipeline.
- ///
- ///
- /// Thrown when a required parameter is null
- ///
- public EventGridClient(ServiceClientCredentials credentials, HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : this(rootHandler, handlers)
- {
- if (credentials == null)
- {
- throw new System.ArgumentNullException("credentials");
- }
- Credentials = credentials;
- if (Credentials != null)
- {
- Credentials.InitializeServiceClient(this);
- }
- }
-
- ///
- /// An optional partial-method to perform custom initialization.
- ///
- partial void CustomInitialize();
- ///
- /// Initializes client properties.
- ///
- private void Initialize()
- {
- BaseUri = "https://{topicHostname}";
- ApiVersion = "2018-01-01";
- AcceptLanguage = "en-US";
- LongRunningOperationRetryTimeout = 30;
- GenerateClientRequestId = true;
- SerializationSettings = new JsonSerializerSettings
- {
- Formatting = Newtonsoft.Json.Formatting.Indented,
- DateFormatHandling = Newtonsoft.Json.DateFormatHandling.IsoDateFormat,
- DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Utc,
- NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore,
- ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize,
- ContractResolver = new ReadOnlyJsonContractResolver(),
- Converters = new List
- {
- new Iso8601TimeSpanConverter()
- }
- };
- DeserializationSettings = new JsonSerializerSettings
- {
- DateFormatHandling = Newtonsoft.Json.DateFormatHandling.IsoDateFormat,
- DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Utc,
- NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore,
- ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize,
- ContractResolver = new ReadOnlyJsonContractResolver(),
- Converters = new List
- {
- new Iso8601TimeSpanConverter()
- }
- };
- SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("@odata.type"));
- DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("@odata.type"));
- CustomInitialize();
- DeserializationSettings.Converters.Add(new CloudErrorJsonConverter());
- }
- ///
- /// Publishes a batch of events to an Azure Event Grid topic.
- ///
- ///
- /// The host name of the topic, e.g. topic1.westus2-1.eventgrid.azure.net
- ///
- ///
- /// An array of events to be published to Event Grid.
- ///
- ///
- /// Headers that will be added to request.
- ///
- ///
- /// The cancellation token.
- ///
- ///
- /// Thrown when the operation returned an invalid status code
- ///
- ///
- /// Thrown when a required parameter is null
- ///
- ///
- /// Thrown when a required parameter is null
- ///
- ///
- /// A response object containing the response body and response headers.
- ///
- public async Task PublishEventsWithHttpMessagesAsync(string topicHostname, IList events, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
- {
- if (topicHostname == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "topicHostname");
- }
- if (events == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "events");
- }
- if (events != null)
- {
- foreach (var element in events)
- {
- if (element != null)
- {
- element.Validate();
- }
- }
- }
- string apiVersion = "2018-01-01";
- // Tracing
- bool _shouldTrace = ServiceClientTracing.IsEnabled;
- string _invocationId = null;
- if (_shouldTrace)
- {
- _invocationId = ServiceClientTracing.NextInvocationId.ToString();
- Dictionary tracingParameters = new Dictionary();
- tracingParameters.Add("topicHostname", topicHostname);
- tracingParameters.Add("events", events);
- tracingParameters.Add("apiVersion", apiVersion);
- tracingParameters.Add("cancellationToken", cancellationToken);
- ServiceClientTracing.Enter(_invocationId, this, "PublishEvents", tracingParameters);
- }
- // Construct URL
- var _baseUrl = BaseUri;
- var _url = _baseUrl + (_baseUrl.EndsWith("/") ? "" : "/") + "api/events";
- _url = _url.Replace("{topicHostname}", topicHostname);
- List _queryParameters = new List();
- if (apiVersion != null)
- {
- _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
- }
- if (_queryParameters.Count > 0)
- {
- _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
- }
- // Create HTTP transport objects
- var _httpRequest = new HttpRequestMessage();
- HttpResponseMessage _httpResponse = null;
- _httpRequest.Method = new HttpMethod("POST");
- _httpRequest.RequestUri = new System.Uri(_url);
- // Set Headers
- if (GenerateClientRequestId != null && GenerateClientRequestId.Value)
- {
- _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
- }
- if (AcceptLanguage != null)
- {
- if (_httpRequest.Headers.Contains("accept-language"))
- {
- _httpRequest.Headers.Remove("accept-language");
- }
- _httpRequest.Headers.TryAddWithoutValidation("accept-language", AcceptLanguage);
- }
-
-
- if (customHeaders != null)
- {
- foreach(var _header in customHeaders)
- {
- if (_httpRequest.Headers.Contains(_header.Key))
- {
- _httpRequest.Headers.Remove(_header.Key);
- }
- _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
- }
- }
-
- // Serialize Request
- string _requestContent = null;
- if(events != null)
- {
- _requestContent = SafeJsonConvert.SerializeObject(events, SerializationSettings);
- _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8);
- _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8");
- }
- // Set Credentials
- if (Credentials != null)
- {
- cancellationToken.ThrowIfCancellationRequested();
- await Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
- }
- // Send Request
- if (_shouldTrace)
- {
- ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
- }
- cancellationToken.ThrowIfCancellationRequested();
- _httpResponse = await HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
- if (_shouldTrace)
- {
- ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
- }
- HttpStatusCode _statusCode = _httpResponse.StatusCode;
- cancellationToken.ThrowIfCancellationRequested();
- string _responseContent = null;
- if ((int)_statusCode != 200)
- {
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
- try
- {
- _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- CloudError _errorBody = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings);
- if (_errorBody != null)
- {
- ex = new CloudException(_errorBody.Message);
- ex.Body = _errorBody;
- }
- }
- catch (JsonException)
- {
- // Ignore the exception
- }
- ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
- ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
- if (_httpResponse.Headers.Contains("x-ms-request-id"))
- {
- ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
- }
- if (_shouldTrace)
- {
- ServiceClientTracing.Error(_invocationId, ex);
- }
- _httpRequest.Dispose();
- if (_httpResponse != null)
- {
- _httpResponse.Dispose();
- }
- throw ex;
- }
- // Create Result
- var _result = new AzureOperationResponse();
- _result.Request = _httpRequest;
- _result.Response = _httpResponse;
- if (_httpResponse.Headers.Contains("x-ms-request-id"))
- {
- _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
- }
- if (_shouldTrace)
- {
- ServiceClientTracing.Exit(_invocationId, _result);
- }
- return _result;
- }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/EventGridClientExtensions.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/EventGridClientExtensions.cs
deleted file mode 100644
index e6781ac429328..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/EventGridClientExtensions.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid
-{
- using Microsoft.Rest;
- using Microsoft.Rest.Azure;
- using Models;
- using System.Collections;
- using System.Collections.Generic;
- using System.Threading;
- using System.Threading.Tasks;
-
- ///
- /// Extension methods for EventGridClient.
- ///
- public static partial class EventGridClientExtensions
- {
- ///
- /// Publishes a batch of events to an Azure Event Grid topic.
- ///
- ///
- /// The operations group for this extension method.
- ///
- ///
- /// The host name of the topic, e.g. topic1.westus2-1.eventgrid.azure.net
- ///
- ///
- /// An array of events to be published to Event Grid.
- ///
- ///
- /// The cancellation token.
- ///
- public static async Task PublishEventsAsync(this IEventGridClient operations, string topicHostname, IList events, CancellationToken cancellationToken = default(CancellationToken))
- {
- (await operations.PublishEventsWithHttpMessagesAsync(topicHostname, events, null, cancellationToken).ConfigureAwait(false)).Dispose();
- }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/IEventGridClient.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/IEventGridClient.cs
deleted file mode 100644
index e5b30846e268d..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/IEventGridClient.cs
+++ /dev/null
@@ -1,89 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid
-{
- using Microsoft.Rest;
- using Microsoft.Rest.Azure;
- using Models;
- using Newtonsoft.Json;
- using System.Collections;
- using System.Collections.Generic;
- using System.Threading;
- using System.Threading.Tasks;
-
- ///
- /// EventGrid Client
- ///
- public partial interface IEventGridClient : System.IDisposable
- {
- ///
- /// The base URI of the service.
- ///
-
- ///
- /// Gets or sets json serialization settings.
- ///
- JsonSerializerSettings SerializationSettings { get; }
-
- ///
- /// Gets or sets json deserialization settings.
- ///
- JsonSerializerSettings DeserializationSettings { get; }
-
- ///
- /// Credentials needed for the client to connect to Azure.
- ///
- ServiceClientCredentials Credentials { get; }
-
- ///
- /// Version of the API to be used with the client request.
- ///
- string ApiVersion { get; }
-
- ///
- /// The preferred language for the response.
- ///
- string AcceptLanguage { get; set; }
-
- ///
- /// The retry timeout in seconds for Long Running Operations. Default
- /// value is 30.
- ///
- int? LongRunningOperationRetryTimeout { get; set; }
-
- ///
- /// Whether a unique x-ms-client-request-id should be generated. When
- /// set to true a unique x-ms-client-request-id value is generated and
- /// included in each request. Default is true.
- ///
- bool? GenerateClientRequestId { get; set; }
-
-
- ///
- /// Publishes a batch of events to an Azure Event Grid topic.
- ///
- ///
- /// The host name of the topic, e.g.
- /// topic1.westus2-1.eventgrid.azure.net
- ///
- ///
- /// An array of events to be published to Event Grid.
- ///
- ///
- /// The headers that will be added to request.
- ///
- ///
- /// The cancellation token.
- ///
- Task PublishEventsWithHttpMessagesAsync(string topicHostname, IList events, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/AppAction.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/AppAction.cs
deleted file mode 100644
index c92e170b89982..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/AppAction.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
-
- ///
- /// Defines values for AppAction.
- ///
- public static class AppAction
- {
- ///
- /// Web app was restarted.
- ///
- public const string Restarted = "Restarted";
- ///
- /// Web app was stopped.
- ///
- public const string Stopped = "Stopped";
- ///
- /// There was an operation to change app setting on the web app.
- ///
- public const string ChangedAppSettings = "ChangedAppSettings";
- ///
- /// The job has started.
- ///
- public const string Started = "Started";
- ///
- /// The job has completed.
- ///
- public const string Completed = "Completed";
- ///
- /// The job has failed to complete.
- ///
- public const string Failed = "Failed";
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/AppConfigurationKeyValueDeletedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/AppConfigurationKeyValueDeletedEventData.cs
deleted file mode 100644
index 8acca0d0db217..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/AppConfigurationKeyValueDeletedEventData.cs
+++ /dev/null
@@ -1,75 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.AppConfiguration.KeyValueDeleted event.
- ///
- public partial class AppConfigurationKeyValueDeletedEventData
- {
- ///
- /// Initializes a new instance of the
- /// AppConfigurationKeyValueDeletedEventData class.
- ///
- public AppConfigurationKeyValueDeletedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// AppConfigurationKeyValueDeletedEventData class.
- ///
- /// The key used to identify the key-value that was
- /// deleted.
- /// The label, if any, used to identify the
- /// key-value that was deleted.
- /// The etag representing the key-value that was
- /// deleted.
- public AppConfigurationKeyValueDeletedEventData(string key = default(string), string label = default(string), string etag = default(string))
- {
- Key = key;
- Label = label;
- Etag = etag;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the key used to identify the key-value that was
- /// deleted.
- ///
- [JsonProperty(PropertyName = "key")]
- public string Key { get; set; }
-
- ///
- /// Gets or sets the label, if any, used to identify the key-value that
- /// was deleted.
- ///
- [JsonProperty(PropertyName = "label")]
- public string Label { get; set; }
-
- ///
- /// Gets or sets the etag representing the key-value that was deleted.
- ///
- [JsonProperty(PropertyName = "etag")]
- public string Etag { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/AppConfigurationKeyValueModifiedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/AppConfigurationKeyValueModifiedEventData.cs
deleted file mode 100644
index 948d2b51af0bd..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/AppConfigurationKeyValueModifiedEventData.cs
+++ /dev/null
@@ -1,75 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.AppConfiguration.KeyValueModified event.
- ///
- public partial class AppConfigurationKeyValueModifiedEventData
- {
- ///
- /// Initializes a new instance of the
- /// AppConfigurationKeyValueModifiedEventData class.
- ///
- public AppConfigurationKeyValueModifiedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// AppConfigurationKeyValueModifiedEventData class.
- ///
- /// The key used to identify the key-value that was
- /// modified.
- /// The label, if any, used to identify the
- /// key-value that was modified.
- /// The etag representing the new state of the
- /// key-value.
- public AppConfigurationKeyValueModifiedEventData(string key = default(string), string label = default(string), string etag = default(string))
- {
- Key = key;
- Label = label;
- Etag = etag;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the key used to identify the key-value that was
- /// modified.
- ///
- [JsonProperty(PropertyName = "key")]
- public string Key { get; set; }
-
- ///
- /// Gets or sets the label, if any, used to identify the key-value that
- /// was modified.
- ///
- [JsonProperty(PropertyName = "label")]
- public string Label { get; set; }
-
- ///
- /// Gets or sets the etag representing the new state of the key-value.
- ///
- [JsonProperty(PropertyName = "etag")]
- public string Etag { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/AppEventTypeDetail.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/AppEventTypeDetail.cs
deleted file mode 100644
index 1eceed77d72b3..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/AppEventTypeDetail.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Detail of action on the app.
- ///
- public partial class AppEventTypeDetail
- {
- ///
- /// Initializes a new instance of the AppEventTypeDetail class.
- ///
- public AppEventTypeDetail()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the AppEventTypeDetail class.
- ///
- /// Type of action of the operation. Possible
- /// values include: 'Restarted', 'Stopped', 'ChangedAppSettings',
- /// 'Started', 'Completed', 'Failed'
- public AppEventTypeDetail(string action = default(string))
- {
- Action = action;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets type of action of the operation. Possible values
- /// include: 'Restarted', 'Stopped', 'ChangedAppSettings', 'Started',
- /// 'Completed', 'Failed'
- ///
- [JsonProperty(PropertyName = "action")]
- public string Action { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/AppServicePlanAction.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/AppServicePlanAction.cs
deleted file mode 100644
index d2f0dc161de46..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/AppServicePlanAction.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
-
- ///
- /// Defines values for AppServicePlanAction.
- ///
- public static class AppServicePlanAction
- {
- ///
- /// App Service plan is being updated.
- ///
- public const string Updated = "Updated";
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/AppServicePlanEventTypeDetail.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/AppServicePlanEventTypeDetail.cs
deleted file mode 100644
index 7d258cd9b2d21..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/AppServicePlanEventTypeDetail.cs
+++ /dev/null
@@ -1,75 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Detail of action on the app service plan.
- ///
- public partial class AppServicePlanEventTypeDetail
- {
- ///
- /// Initializes a new instance of the AppServicePlanEventTypeDetail
- /// class.
- ///
- public AppServicePlanEventTypeDetail()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the AppServicePlanEventTypeDetail
- /// class.
- ///
- /// Kind of environment where app service plan
- /// is. Possible values include: 'Public', 'AseV1', 'AseV2'
- /// Type of action on the app service plan.
- /// Possible values include: 'Updated'
- /// Possible values include: 'Started',
- /// 'Completed', 'Failed'
- public AppServicePlanEventTypeDetail(string stampKind = default(string), string action = default(string), string status = default(string))
- {
- StampKind = stampKind;
- Action = action;
- Status = status;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets kind of environment where app service plan is.
- /// Possible values include: 'Public', 'AseV1', 'AseV2'
- ///
- [JsonProperty(PropertyName = "stampKind")]
- public string StampKind { get; set; }
-
- ///
- /// Gets or sets type of action on the app service plan. Possible
- /// values include: 'Updated'
- ///
- [JsonProperty(PropertyName = "action")]
- public string Action { get; set; }
-
- ///
- /// Gets or sets possible values include: 'Started', 'Completed',
- /// 'Failed'
- ///
- [JsonProperty(PropertyName = "status")]
- public string Status { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/AsyncStatus.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/AsyncStatus.cs
deleted file mode 100644
index 7f23c8bed1866..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/AsyncStatus.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
-
- ///
- /// Defines values for AsyncStatus.
- ///
- public static class AsyncStatus
- {
- ///
- /// Async operation has started.
- ///
- public const string Started = "Started";
- ///
- /// Async operation has completed.
- ///
- public const string Completed = "Completed";
- ///
- /// Async operation failed to complete.
- ///
- public const string Failed = "Failed";
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryArtifactEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryArtifactEventData.cs
deleted file mode 100644
index e4ccdee1a73e2..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryArtifactEventData.cs
+++ /dev/null
@@ -1,79 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// The content of the event request message.
- ///
- public partial class ContainerRegistryArtifactEventData
- {
- ///
- /// Initializes a new instance of the
- /// ContainerRegistryArtifactEventData class.
- ///
- public ContainerRegistryArtifactEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// ContainerRegistryArtifactEventData class.
- ///
- /// The event ID.
- /// The time at which the event
- /// occurred.
- /// The action that encompasses the provided
- /// event.
- /// The target of the event.
- public ContainerRegistryArtifactEventData(string id = default(string), System.DateTime? timestamp = default(System.DateTime?), string action = default(string), ContainerRegistryArtifactEventTarget target = default(ContainerRegistryArtifactEventTarget))
- {
- Id = id;
- Timestamp = timestamp;
- Action = action;
- Target = target;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the event ID.
- ///
- [JsonProperty(PropertyName = "id")]
- public string Id { get; set; }
-
- ///
- /// Gets or sets the time at which the event occurred.
- ///
- [JsonProperty(PropertyName = "timestamp")]
- public System.DateTime? Timestamp { get; set; }
-
- ///
- /// Gets or sets the action that encompasses the provided event.
- ///
- [JsonProperty(PropertyName = "action")]
- public string Action { get; set; }
-
- ///
- /// Gets or sets the target of the event.
- ///
- [JsonProperty(PropertyName = "target")]
- public ContainerRegistryArtifactEventTarget Target { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryArtifactEventTarget.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryArtifactEventTarget.cs
deleted file mode 100644
index f0f0fc9211c6e..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryArtifactEventTarget.cs
+++ /dev/null
@@ -1,102 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// The target of the event.
- ///
- public partial class ContainerRegistryArtifactEventTarget
- {
- ///
- /// Initializes a new instance of the
- /// ContainerRegistryArtifactEventTarget class.
- ///
- public ContainerRegistryArtifactEventTarget()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// ContainerRegistryArtifactEventTarget class.
- ///
- /// The MIME type of the artifact.
- /// The size in bytes of the artifact.
- /// The digest of the artifact.
- /// The repository name of the
- /// artifact.
- /// The tag of the artifact.
- /// The name of the artifact.
- /// The version of the artifact.
- public ContainerRegistryArtifactEventTarget(string mediaType = default(string), long? size = default(long?), string digest = default(string), string repository = default(string), string tag = default(string), string name = default(string), string version = default(string))
- {
- MediaType = mediaType;
- Size = size;
- Digest = digest;
- Repository = repository;
- Tag = tag;
- Name = name;
- Version = version;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the MIME type of the artifact.
- ///
- [JsonProperty(PropertyName = "mediaType")]
- public string MediaType { get; set; }
-
- ///
- /// Gets or sets the size in bytes of the artifact.
- ///
- [JsonProperty(PropertyName = "size")]
- public long? Size { get; set; }
-
- ///
- /// Gets or sets the digest of the artifact.
- ///
- [JsonProperty(PropertyName = "digest")]
- public string Digest { get; set; }
-
- ///
- /// Gets or sets the repository name of the artifact.
- ///
- [JsonProperty(PropertyName = "repository")]
- public string Repository { get; set; }
-
- ///
- /// Gets or sets the tag of the artifact.
- ///
- [JsonProperty(PropertyName = "tag")]
- public string Tag { get; set; }
-
- ///
- /// Gets or sets the name of the artifact.
- ///
- [JsonProperty(PropertyName = "name")]
- public string Name { get; set; }
-
- ///
- /// Gets or sets the version of the artifact.
- ///
- [JsonProperty(PropertyName = "version")]
- public string Version { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryChartDeletedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryChartDeletedEventData.cs
deleted file mode 100644
index 0106bf9c75884..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryChartDeletedEventData.cs
+++ /dev/null
@@ -1,52 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for a
- /// Microsoft.ContainerRegistry.ChartDeleted event.
- ///
- public partial class ContainerRegistryChartDeletedEventData : ContainerRegistryArtifactEventData
- {
- ///
- /// Initializes a new instance of the
- /// ContainerRegistryChartDeletedEventData class.
- ///
- public ContainerRegistryChartDeletedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// ContainerRegistryChartDeletedEventData class.
- ///
- /// The event ID.
- /// The time at which the event
- /// occurred.
- /// The action that encompasses the provided
- /// event.
- /// The target of the event.
- public ContainerRegistryChartDeletedEventData(string id = default(string), System.DateTime? timestamp = default(System.DateTime?), string action = default(string), ContainerRegistryArtifactEventTarget target = default(ContainerRegistryArtifactEventTarget))
- : base(id, timestamp, action, target)
- {
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryChartPushedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryChartPushedEventData.cs
deleted file mode 100644
index 10d13e47cc032..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryChartPushedEventData.cs
+++ /dev/null
@@ -1,52 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for a
- /// Microsoft.ContainerRegistry.ChartPushed event.
- ///
- public partial class ContainerRegistryChartPushedEventData : ContainerRegistryArtifactEventData
- {
- ///
- /// Initializes a new instance of the
- /// ContainerRegistryChartPushedEventData class.
- ///
- public ContainerRegistryChartPushedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// ContainerRegistryChartPushedEventData class.
- ///
- /// The event ID.
- /// The time at which the event
- /// occurred.
- /// The action that encompasses the provided
- /// event.
- /// The target of the event.
- public ContainerRegistryChartPushedEventData(string id = default(string), System.DateTime? timestamp = default(System.DateTime?), string action = default(string), ContainerRegistryArtifactEventTarget target = default(ContainerRegistryArtifactEventTarget))
- : base(id, timestamp, action, target)
- {
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryEventActor.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryEventActor.cs
deleted file mode 100644
index 2b54e60e0c5e3..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryEventActor.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// The agent that initiated the event. For most situations, this could be
- /// from the authorization context of the request.
- ///
- public partial class ContainerRegistryEventActor
- {
- ///
- /// Initializes a new instance of the ContainerRegistryEventActor
- /// class.
- ///
- public ContainerRegistryEventActor()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the ContainerRegistryEventActor
- /// class.
- ///
- /// The subject or username associated with the
- /// request context that generated the event.
- public ContainerRegistryEventActor(string name = default(string))
- {
- Name = name;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the subject or username associated with the request
- /// context that generated the event.
- ///
- [JsonProperty(PropertyName = "name")]
- public string Name { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryEventData.cs
deleted file mode 100644
index 9df388737e9c5..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryEventData.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// The content of the event request message.
- ///
- public partial class ContainerRegistryEventData
- {
- ///
- /// Initializes a new instance of the ContainerRegistryEventData class.
- ///
- public ContainerRegistryEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the ContainerRegistryEventData class.
- ///
- /// The event ID.
- /// The time at which the event
- /// occurred.
- /// The action that encompasses the provided
- /// event.
- /// The target of the event.
- /// The request that generated the event.
- /// The agent that initiated the event. For most
- /// situations, this could be from the authorization context of the
- /// request.
- /// The registry node that generated the event.
- /// Put differently, while the actor initiates the event, the source
- /// generates it.
- public ContainerRegistryEventData(string id = default(string), System.DateTime? timestamp = default(System.DateTime?), string action = default(string), ContainerRegistryEventTarget target = default(ContainerRegistryEventTarget), ContainerRegistryEventRequest request = default(ContainerRegistryEventRequest), ContainerRegistryEventActor actor = default(ContainerRegistryEventActor), ContainerRegistryEventSource source = default(ContainerRegistryEventSource))
- {
- Id = id;
- Timestamp = timestamp;
- Action = action;
- Target = target;
- Request = request;
- Actor = actor;
- Source = source;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the event ID.
- ///
- [JsonProperty(PropertyName = "id")]
- public string Id { get; set; }
-
- ///
- /// Gets or sets the time at which the event occurred.
- ///
- [JsonProperty(PropertyName = "timestamp")]
- public System.DateTime? Timestamp { get; set; }
-
- ///
- /// Gets or sets the action that encompasses the provided event.
- ///
- [JsonProperty(PropertyName = "action")]
- public string Action { get; set; }
-
- ///
- /// Gets or sets the target of the event.
- ///
- [JsonProperty(PropertyName = "target")]
- public ContainerRegistryEventTarget Target { get; set; }
-
- ///
- /// Gets or sets the request that generated the event.
- ///
- [JsonProperty(PropertyName = "request")]
- public ContainerRegistryEventRequest Request { get; set; }
-
- ///
- /// Gets or sets the agent that initiated the event. For most
- /// situations, this could be from the authorization context of the
- /// request.
- ///
- [JsonProperty(PropertyName = "actor")]
- public ContainerRegistryEventActor Actor { get; set; }
-
- ///
- /// Gets or sets the registry node that generated the event. Put
- /// differently, while the actor initiates the event, the source
- /// generates it.
- ///
- [JsonProperty(PropertyName = "source")]
- public ContainerRegistryEventSource Source { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryEventRequest.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryEventRequest.cs
deleted file mode 100644
index 273094f22e788..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryEventRequest.cs
+++ /dev/null
@@ -1,96 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// The request that generated the event.
- ///
- public partial class ContainerRegistryEventRequest
- {
- ///
- /// Initializes a new instance of the ContainerRegistryEventRequest
- /// class.
- ///
- public ContainerRegistryEventRequest()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the ContainerRegistryEventRequest
- /// class.
- ///
- /// The ID of the request that initiated the
- /// event.
- /// The IP or hostname and possibly port of the
- /// client connection that initiated the event. This is the RemoteAddr
- /// from the standard http request.
- /// The externally accessible hostname of the
- /// registry instance, as specified by the http host header on incoming
- /// requests.
- /// The request method that generated the
- /// event.
- /// The user agent header of the
- /// request.
- public ContainerRegistryEventRequest(string id = default(string), string addr = default(string), string host = default(string), string method = default(string), string useragent = default(string))
- {
- Id = id;
- Addr = addr;
- Host = host;
- Method = method;
- Useragent = useragent;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the ID of the request that initiated the event.
- ///
- [JsonProperty(PropertyName = "id")]
- public string Id { get; set; }
-
- ///
- /// Gets or sets the IP or hostname and possibly port of the client
- /// connection that initiated the event. This is the RemoteAddr from
- /// the standard http request.
- ///
- [JsonProperty(PropertyName = "addr")]
- public string Addr { get; set; }
-
- ///
- /// Gets or sets the externally accessible hostname of the registry
- /// instance, as specified by the http host header on incoming
- /// requests.
- ///
- [JsonProperty(PropertyName = "host")]
- public string Host { get; set; }
-
- ///
- /// Gets or sets the request method that generated the event.
- ///
- [JsonProperty(PropertyName = "method")]
- public string Method { get; set; }
-
- ///
- /// Gets or sets the user agent header of the request.
- ///
- [JsonProperty(PropertyName = "useragent")]
- public string Useragent { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryEventSource.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryEventSource.cs
deleted file mode 100644
index b671fc0b15767..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryEventSource.cs
+++ /dev/null
@@ -1,68 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// The registry node that generated the event. Put differently, while the
- /// actor initiates the event, the source generates it.
- ///
- public partial class ContainerRegistryEventSource
- {
- ///
- /// Initializes a new instance of the ContainerRegistryEventSource
- /// class.
- ///
- public ContainerRegistryEventSource()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the ContainerRegistryEventSource
- /// class.
- ///
- /// The IP or hostname and the port of the registry
- /// node that generated the event. Generally, this will be resolved by
- /// os.Hostname() along with the running port.
- /// The running instance of an application.
- /// Changes after each restart.
- public ContainerRegistryEventSource(string addr = default(string), string instanceID = default(string))
- {
- Addr = addr;
- InstanceID = instanceID;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the IP or hostname and the port of the registry node
- /// that generated the event. Generally, this will be resolved by
- /// os.Hostname() along with the running port.
- ///
- [JsonProperty(PropertyName = "addr")]
- public string Addr { get; set; }
-
- ///
- /// Gets or sets the running instance of an application. Changes after
- /// each restart.
- ///
- [JsonProperty(PropertyName = "instanceID")]
- public string InstanceID { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryEventTarget.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryEventTarget.cs
deleted file mode 100644
index ed6adb7646e68..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryEventTarget.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// The target of the event.
- ///
- public partial class ContainerRegistryEventTarget
- {
- ///
- /// Initializes a new instance of the ContainerRegistryEventTarget
- /// class.
- ///
- public ContainerRegistryEventTarget()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the ContainerRegistryEventTarget
- /// class.
- ///
- /// The MIME type of the referenced
- /// object.
- /// The number of bytes of the content. Same as
- /// Length field.
- /// The digest of the content, as defined by the
- /// Registry V2 HTTP API Specification.
- /// The number of bytes of the content. Same as
- /// Size field.
- /// The repository name.
- /// The direct URL to the content.
- /// The tag name.
- public ContainerRegistryEventTarget(string mediaType = default(string), long? size = default(long?), string digest = default(string), long? length = default(long?), string repository = default(string), string url = default(string), string tag = default(string))
- {
- MediaType = mediaType;
- Size = size;
- Digest = digest;
- Length = length;
- Repository = repository;
- Url = url;
- Tag = tag;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the MIME type of the referenced object.
- ///
- [JsonProperty(PropertyName = "mediaType")]
- public string MediaType { get; set; }
-
- ///
- /// Gets or sets the number of bytes of the content. Same as Length
- /// field.
- ///
- [JsonProperty(PropertyName = "size")]
- public long? Size { get; set; }
-
- ///
- /// Gets or sets the digest of the content, as defined by the Registry
- /// V2 HTTP API Specification.
- ///
- [JsonProperty(PropertyName = "digest")]
- public string Digest { get; set; }
-
- ///
- /// Gets or sets the number of bytes of the content. Same as Size
- /// field.
- ///
- [JsonProperty(PropertyName = "length")]
- public long? Length { get; set; }
-
- ///
- /// Gets or sets the repository name.
- ///
- [JsonProperty(PropertyName = "repository")]
- public string Repository { get; set; }
-
- ///
- /// Gets or sets the direct URL to the content.
- ///
- [JsonProperty(PropertyName = "url")]
- public string Url { get; set; }
-
- ///
- /// Gets or sets the tag name.
- ///
- [JsonProperty(PropertyName = "tag")]
- public string Tag { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryImageDeletedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryImageDeletedEventData.cs
deleted file mode 100644
index fd12b16b952e4..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryImageDeletedEventData.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for a
- /// Microsoft.ContainerRegistry.ImageDeleted event.
- ///
- public partial class ContainerRegistryImageDeletedEventData : ContainerRegistryEventData
- {
- ///
- /// Initializes a new instance of the
- /// ContainerRegistryImageDeletedEventData class.
- ///
- public ContainerRegistryImageDeletedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// ContainerRegistryImageDeletedEventData class.
- ///
- /// The event ID.
- /// The time at which the event
- /// occurred.
- /// The action that encompasses the provided
- /// event.
- /// The target of the event.
- /// The request that generated the event.
- /// The agent that initiated the event. For most
- /// situations, this could be from the authorization context of the
- /// request.
- /// The registry node that generated the event.
- /// Put differently, while the actor initiates the event, the source
- /// generates it.
- public ContainerRegistryImageDeletedEventData(string id = default(string), System.DateTime? timestamp = default(System.DateTime?), string action = default(string), ContainerRegistryEventTarget target = default(ContainerRegistryEventTarget), ContainerRegistryEventRequest request = default(ContainerRegistryEventRequest), ContainerRegistryEventActor actor = default(ContainerRegistryEventActor), ContainerRegistryEventSource source = default(ContainerRegistryEventSource))
- : base(id, timestamp, action, target, request, actor, source)
- {
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryImagePushedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryImagePushedEventData.cs
deleted file mode 100644
index 882ae2d424e99..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ContainerRegistryImagePushedEventData.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for a
- /// Microsoft.ContainerRegistry.ImagePushed event.
- ///
- public partial class ContainerRegistryImagePushedEventData : ContainerRegistryEventData
- {
- ///
- /// Initializes a new instance of the
- /// ContainerRegistryImagePushedEventData class.
- ///
- public ContainerRegistryImagePushedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// ContainerRegistryImagePushedEventData class.
- ///
- /// The event ID.
- /// The time at which the event
- /// occurred.
- /// The action that encompasses the provided
- /// event.
- /// The target of the event.
- /// The request that generated the event.
- /// The agent that initiated the event. For most
- /// situations, this could be from the authorization context of the
- /// request.
- /// The registry node that generated the event.
- /// Put differently, while the actor initiates the event, the source
- /// generates it.
- public ContainerRegistryImagePushedEventData(string id = default(string), System.DateTime? timestamp = default(System.DateTime?), string action = default(string), ContainerRegistryEventTarget target = default(ContainerRegistryEventTarget), ContainerRegistryEventRequest request = default(ContainerRegistryEventRequest), ContainerRegistryEventActor actor = default(ContainerRegistryEventActor), ContainerRegistryEventSource source = default(ContainerRegistryEventSource))
- : base(id, timestamp, action, target, request, actor, source)
- {
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceConnectionStateEventInfo.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceConnectionStateEventInfo.cs
deleted file mode 100644
index d53a2dae834de..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceConnectionStateEventInfo.cs
+++ /dev/null
@@ -1,61 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Information about the device connection state event.
- ///
- public partial class DeviceConnectionStateEventInfo
- {
- ///
- /// Initializes a new instance of the DeviceConnectionStateEventInfo
- /// class.
- ///
- public DeviceConnectionStateEventInfo()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the DeviceConnectionStateEventInfo
- /// class.
- ///
- /// Sequence number is string
- /// representation of a hexadecimal number. string compare can be used
- /// to identify the larger number because both in ASCII and HEX numbers
- /// come after alphabets. If you are converting the string to hex, then
- /// the number is a 256 bit number.
- public DeviceConnectionStateEventInfo(string sequenceNumber = default(string))
- {
- SequenceNumber = sequenceNumber;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets sequence number is string representation of a
- /// hexadecimal number. string compare can be used to identify the
- /// larger number because both in ASCII and HEX numbers come after
- /// alphabets. If you are converting the string to hex, then the number
- /// is a 256 bit number.
- ///
- [JsonProperty(PropertyName = "sequenceNumber")]
- public string SequenceNumber { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceConnectionStateEventProperties.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceConnectionStateEventProperties.cs
deleted file mode 100644
index 01c02b1be92fa..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceConnectionStateEventProperties.cs
+++ /dev/null
@@ -1,97 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for a device
- /// connection state event (DeviceConnected, DeviceDisconnected).
- ///
- public partial class DeviceConnectionStateEventProperties
- {
- ///
- /// Initializes a new instance of the
- /// DeviceConnectionStateEventProperties class.
- ///
- public DeviceConnectionStateEventProperties()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// DeviceConnectionStateEventProperties class.
- ///
- /// The unique identifier of the device. This
- /// case-sensitive string can be up to 128 characters long, and
- /// supports ASCII 7-bit alphanumeric characters plus the following
- /// special characters: - : . + % _ # * ? ! ( ) , = @ ; $
- /// '.
- /// The unique identifier of the module. This
- /// case-sensitive string can be up to 128 characters long, and
- /// supports ASCII 7-bit alphanumeric characters plus the following
- /// special characters: - : . + % _ # * ? ! ( ) , = @ ; $
- /// '.
- /// Name of the IoT Hub where the device was
- /// created or deleted.
- /// Information about the
- /// device connection state event.
- public DeviceConnectionStateEventProperties(string deviceId = default(string), string moduleId = default(string), string hubName = default(string), DeviceConnectionStateEventInfo deviceConnectionStateEventInfo = default(DeviceConnectionStateEventInfo))
- {
- DeviceId = deviceId;
- ModuleId = moduleId;
- HubName = hubName;
- DeviceConnectionStateEventInfo = deviceConnectionStateEventInfo;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the unique identifier of the device. This
- /// case-sensitive string can be up to 128 characters long, and
- /// supports ASCII 7-bit alphanumeric characters plus the following
- /// special characters: - : . + % _ # * ? ! ( ) , = @ ; $
- /// '.
- ///
- [JsonProperty(PropertyName = "deviceId")]
- public string DeviceId { get; set; }
-
- ///
- /// Gets or sets the unique identifier of the module. This
- /// case-sensitive string can be up to 128 characters long, and
- /// supports ASCII 7-bit alphanumeric characters plus the following
- /// special characters: - : . + % _ # * ? ! ( ) , = @ ; $
- /// '.
- ///
- [JsonProperty(PropertyName = "moduleId")]
- public string ModuleId { get; set; }
-
- ///
- /// Gets or sets name of the IoT Hub where the device was created or
- /// deleted.
- ///
- [JsonProperty(PropertyName = "hubName")]
- public string HubName { get; set; }
-
- ///
- /// Gets or sets information about the device connection state event.
- ///
- [JsonProperty(PropertyName = "deviceConnectionStateEventInfo")]
- public DeviceConnectionStateEventInfo DeviceConnectionStateEventInfo { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceLifeCycleEventProperties.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceLifeCycleEventProperties.cs
deleted file mode 100644
index 0f2b90d79b243..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceLifeCycleEventProperties.cs
+++ /dev/null
@@ -1,82 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for a device life
- /// cycle event (DeviceCreated, DeviceDeleted).
- ///
- public partial class DeviceLifeCycleEventProperties
- {
- ///
- /// Initializes a new instance of the DeviceLifeCycleEventProperties
- /// class.
- ///
- public DeviceLifeCycleEventProperties()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the DeviceLifeCycleEventProperties
- /// class.
- ///
- /// The unique identifier of the device. This
- /// case-sensitive string can be up to 128 characters long, and
- /// supports ASCII 7-bit alphanumeric characters plus the following
- /// special characters: - : . + % _ # * ? ! ( ) , = @ ; $
- /// '.
- /// Name of the IoT Hub where the device was
- /// created or deleted.
- /// Information about the device twin, which is the
- /// cloud representation of application device metadata.
- public DeviceLifeCycleEventProperties(string deviceId = default(string), string hubName = default(string), DeviceTwinInfo twin = default(DeviceTwinInfo))
- {
- DeviceId = deviceId;
- HubName = hubName;
- Twin = twin;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the unique identifier of the device. This
- /// case-sensitive string can be up to 128 characters long, and
- /// supports ASCII 7-bit alphanumeric characters plus the following
- /// special characters: - : . + % _ # * ? ! ( ) , = @ ; $
- /// '.
- ///
- [JsonProperty(PropertyName = "deviceId")]
- public string DeviceId { get; set; }
-
- ///
- /// Gets or sets name of the IoT Hub where the device was created or
- /// deleted.
- ///
- [JsonProperty(PropertyName = "hubName")]
- public string HubName { get; set; }
-
- ///
- /// Gets or sets information about the device twin, which is the cloud
- /// representation of application device metadata.
- ///
- [JsonProperty(PropertyName = "twin")]
- public DeviceTwinInfo Twin { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceTelemetryEventProperties.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceTelemetryEventProperties.cs
deleted file mode 100644
index 66b15bee29d69..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceTelemetryEventProperties.cs
+++ /dev/null
@@ -1,78 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for a device telemetry
- /// event (DeviceTelemetry).
- ///
- public partial class DeviceTelemetryEventProperties
- {
- ///
- /// Initializes a new instance of the DeviceTelemetryEventProperties
- /// class.
- ///
- public DeviceTelemetryEventProperties()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the DeviceTelemetryEventProperties
- /// class.
- ///
- /// The content of the message from the
- /// device.
- /// Application properties are user-defined
- /// strings that can be added to the message. These fields are
- /// optional.
- /// System properties help identify
- /// contents and source of the messages.
- public DeviceTelemetryEventProperties(object body = default(object), IDictionary properties = default(IDictionary), IDictionary systemProperties = default(IDictionary))
- {
- Body = body;
- Properties = properties;
- SystemProperties = systemProperties;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the content of the message from the device.
- ///
- [JsonProperty(PropertyName = "body")]
- public object Body { get; set; }
-
- ///
- /// Gets or sets application properties are user-defined strings that
- /// can be added to the message. These fields are optional.
- ///
- [JsonProperty(PropertyName = "properties")]
- public IDictionary Properties { get; set; }
-
- ///
- /// Gets or sets system properties help identify contents and source of
- /// the messages.
- ///
- [JsonProperty(PropertyName = "systemProperties")]
- public IDictionary SystemProperties { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceTwinInfo.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceTwinInfo.cs
deleted file mode 100644
index 3859e4e56b39d..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceTwinInfo.cs
+++ /dev/null
@@ -1,155 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Information about the device twin, which is the cloud representation of
- /// application device metadata.
- ///
- public partial class DeviceTwinInfo
- {
- ///
- /// Initializes a new instance of the DeviceTwinInfo class.
- ///
- public DeviceTwinInfo()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the DeviceTwinInfo class.
- ///
- /// Authentication type used for this
- /// device: either SAS, SelfSigned, or CertificateAuthority.
- /// Count of cloud to device
- /// messages sent to this device.
- /// Whether the device is connected or
- /// disconnected.
- /// The unique identifier of the device
- /// twin.
- /// A piece of information that describes the
- /// content of the device twin. Each etag is guaranteed to be unique
- /// per device twin.
- /// The ISO8601 timestamp of the last
- /// activity.
- /// Properties JSON element.
- /// Whether the device twin is enabled or
- /// disabled.
- /// The ISO8601 timestamp of the last
- /// device twin status update.
- /// An integer that is incremented by one each
- /// time the device twin is updated.
- /// The thumbprint is a unique value for
- /// the x509 certificate, commonly used to find a particular
- /// certificate in a certificate store. The thumbprint is dynamically
- /// generated using the SHA1 algorithm, and does not physically exist
- /// in the certificate.
- public DeviceTwinInfo(string authenticationType = default(string), double? cloudToDeviceMessageCount = default(double?), string connectionState = default(string), string deviceId = default(string), string etag = default(string), string lastActivityTime = default(string), DeviceTwinInfoProperties properties = default(DeviceTwinInfoProperties), string status = default(string), string statusUpdateTime = default(string), double? version = default(double?), DeviceTwinInfoX509Thumbprint x509Thumbprint = default(DeviceTwinInfoX509Thumbprint))
- {
- AuthenticationType = authenticationType;
- CloudToDeviceMessageCount = cloudToDeviceMessageCount;
- ConnectionState = connectionState;
- DeviceId = deviceId;
- Etag = etag;
- LastActivityTime = lastActivityTime;
- Properties = properties;
- Status = status;
- StatusUpdateTime = statusUpdateTime;
- Version = version;
- X509Thumbprint = x509Thumbprint;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets authentication type used for this device: either SAS,
- /// SelfSigned, or CertificateAuthority.
- ///
- [JsonProperty(PropertyName = "authenticationType")]
- public string AuthenticationType { get; set; }
-
- ///
- /// Gets or sets count of cloud to device messages sent to this device.
- ///
- [JsonProperty(PropertyName = "cloudToDeviceMessageCount")]
- public double? CloudToDeviceMessageCount { get; set; }
-
- ///
- /// Gets or sets whether the device is connected or disconnected.
- ///
- [JsonProperty(PropertyName = "connectionState")]
- public string ConnectionState { get; set; }
-
- ///
- /// Gets or sets the unique identifier of the device twin.
- ///
- [JsonProperty(PropertyName = "deviceId")]
- public string DeviceId { get; set; }
-
- ///
- /// Gets or sets a piece of information that describes the content of
- /// the device twin. Each etag is guaranteed to be unique per device
- /// twin.
- ///
- [JsonProperty(PropertyName = "etag")]
- public string Etag { get; set; }
-
- ///
- /// Gets or sets the ISO8601 timestamp of the last activity.
- ///
- [JsonProperty(PropertyName = "lastActivityTime")]
- public string LastActivityTime { get; set; }
-
- ///
- /// Gets or sets properties JSON element.
- ///
- [JsonProperty(PropertyName = "properties")]
- public DeviceTwinInfoProperties Properties { get; set; }
-
- ///
- /// Gets or sets whether the device twin is enabled or disabled.
- ///
- [JsonProperty(PropertyName = "status")]
- public string Status { get; set; }
-
- ///
- /// Gets or sets the ISO8601 timestamp of the last device twin status
- /// update.
- ///
- [JsonProperty(PropertyName = "statusUpdateTime")]
- public string StatusUpdateTime { get; set; }
-
- ///
- /// Gets or sets an integer that is incremented by one each time the
- /// device twin is updated.
- ///
- [JsonProperty(PropertyName = "version")]
- public double? Version { get; set; }
-
- ///
- /// Gets or sets the thumbprint is a unique value for the x509
- /// certificate, commonly used to find a particular certificate in a
- /// certificate store. The thumbprint is dynamically generated using
- /// the SHA1 algorithm, and does not physically exist in the
- /// certificate.
- ///
- [JsonProperty(PropertyName = "x509Thumbprint")]
- public DeviceTwinInfoX509Thumbprint X509Thumbprint { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceTwinInfoProperties.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceTwinInfoProperties.cs
deleted file mode 100644
index d3a6b41492d34..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceTwinInfoProperties.cs
+++ /dev/null
@@ -1,65 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Properties JSON element.
- ///
- public partial class DeviceTwinInfoProperties
- {
- ///
- /// Initializes a new instance of the DeviceTwinInfoProperties class.
- ///
- public DeviceTwinInfoProperties()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the DeviceTwinInfoProperties class.
- ///
- /// A portion of the properties that can be
- /// written only by the application back-end, and read by the
- /// device.
- /// A portion of the properties that can be
- /// written only by the device, and read by the application
- /// back-end.
- public DeviceTwinInfoProperties(DeviceTwinProperties desired = default(DeviceTwinProperties), DeviceTwinProperties reported = default(DeviceTwinProperties))
- {
- Desired = desired;
- Reported = reported;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets a portion of the properties that can be written only
- /// by the application back-end, and read by the device.
- ///
- [JsonProperty(PropertyName = "desired")]
- public DeviceTwinProperties Desired { get; set; }
-
- ///
- /// Gets or sets a portion of the properties that can be written only
- /// by the device, and read by the application back-end.
- ///
- [JsonProperty(PropertyName = "reported")]
- public DeviceTwinProperties Reported { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceTwinInfoX509Thumbprint.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceTwinInfoX509Thumbprint.cs
deleted file mode 100644
index 683e65436fad3..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceTwinInfoX509Thumbprint.cs
+++ /dev/null
@@ -1,66 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// The thumbprint is a unique value for the x509 certificate, commonly
- /// used to find a particular certificate in a certificate store. The
- /// thumbprint is dynamically generated using the SHA1 algorithm, and does
- /// not physically exist in the certificate.
- ///
- public partial class DeviceTwinInfoX509Thumbprint
- {
- ///
- /// Initializes a new instance of the DeviceTwinInfoX509Thumbprint
- /// class.
- ///
- public DeviceTwinInfoX509Thumbprint()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the DeviceTwinInfoX509Thumbprint
- /// class.
- ///
- /// Primary thumbprint for the x509
- /// certificate.
- /// Secondary thumbprint for the x509
- /// certificate.
- public DeviceTwinInfoX509Thumbprint(string primaryThumbprint = default(string), string secondaryThumbprint = default(string))
- {
- PrimaryThumbprint = primaryThumbprint;
- SecondaryThumbprint = secondaryThumbprint;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets primary thumbprint for the x509 certificate.
- ///
- [JsonProperty(PropertyName = "primaryThumbprint")]
- public string PrimaryThumbprint { get; set; }
-
- ///
- /// Gets or sets secondary thumbprint for the x509 certificate.
- ///
- [JsonProperty(PropertyName = "secondaryThumbprint")]
- public string SecondaryThumbprint { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceTwinMetadata.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceTwinMetadata.cs
deleted file mode 100644
index 48a299ce7aaec..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceTwinMetadata.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Metadata information for the properties JSON document.
- ///
- public partial class DeviceTwinMetadata
- {
- ///
- /// Initializes a new instance of the DeviceTwinMetadata class.
- ///
- public DeviceTwinMetadata()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the DeviceTwinMetadata class.
- ///
- /// The ISO8601 timestamp of the last time
- /// the properties were updated.
- public DeviceTwinMetadata(string lastUpdated = default(string))
- {
- LastUpdated = lastUpdated;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the ISO8601 timestamp of the last time the properties
- /// were updated.
- ///
- [JsonProperty(PropertyName = "lastUpdated")]
- public string LastUpdated { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceTwinProperties.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceTwinProperties.cs
deleted file mode 100644
index 1c01d222660f4..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/DeviceTwinProperties.cs
+++ /dev/null
@@ -1,61 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// A portion of the properties that can be written only by the application
- /// back-end, and read by the device.
- ///
- public partial class DeviceTwinProperties
- {
- ///
- /// Initializes a new instance of the DeviceTwinProperties class.
- ///
- public DeviceTwinProperties()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the DeviceTwinProperties class.
- ///
- /// Metadata information for the properties JSON
- /// document.
- /// Version of device twin properties.
- public DeviceTwinProperties(DeviceTwinMetadata metadata = default(DeviceTwinMetadata), double? version = default(double?))
- {
- Metadata = metadata;
- Version = version;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets metadata information for the properties JSON document.
- ///
- [JsonProperty(PropertyName = "metadata")]
- public DeviceTwinMetadata Metadata { get; set; }
-
- ///
- /// Gets or sets version of device twin properties.
- ///
- [JsonProperty(PropertyName = "version")]
- public double? Version { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/EventGridEvent.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/EventGridEvent.cs
deleted file mode 100644
index 34b91d48296a4..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/EventGridEvent.cs
+++ /dev/null
@@ -1,142 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Microsoft.Rest;
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Properties of an event published to an Event Grid topic.
- ///
- public partial class EventGridEvent
- {
- ///
- /// Initializes a new instance of the EventGridEvent class.
- ///
- public EventGridEvent()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the EventGridEvent class.
- ///
- /// An unique identifier for the event.
- /// A resource path relative to the topic
- /// path.
- /// Event data specific to the event type.
- /// The type of the event that
- /// occurred.
- /// The time (in UTC) the event was
- /// generated.
- /// The schema version of the data
- /// object.
- /// The resource path of the event source.
- /// The schema version of the event
- /// metadata.
- public EventGridEvent(string id, string subject, object data, string eventType, System.DateTime eventTime, string dataVersion, string topic = default(string), string metadataVersion = default(string))
- {
- Id = id;
- Topic = topic;
- Subject = subject;
- Data = data;
- EventType = eventType;
- EventTime = eventTime;
- MetadataVersion = metadataVersion;
- DataVersion = dataVersion;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets an unique identifier for the event.
- ///
- [JsonProperty(PropertyName = "id")]
- public string Id { get; set; }
-
- ///
- /// Gets or sets the resource path of the event source.
- ///
- [JsonProperty(PropertyName = "topic")]
- public string Topic { get; set; }
-
- ///
- /// Gets or sets a resource path relative to the topic path.
- ///
- [JsonProperty(PropertyName = "subject")]
- public string Subject { get; set; }
-
- ///
- /// Gets or sets event data specific to the event type.
- ///
- [JsonProperty(PropertyName = "data")]
- public object Data { get; set; }
-
- ///
- /// Gets or sets the type of the event that occurred.
- ///
- [JsonProperty(PropertyName = "eventType")]
- public string EventType { get; set; }
-
- ///
- /// Gets or sets the time (in UTC) the event was generated.
- ///
- [JsonProperty(PropertyName = "eventTime")]
- public System.DateTime EventTime { get; set; }
-
- ///
- /// Gets the schema version of the event metadata.
- ///
- [JsonProperty(PropertyName = "metadataVersion")]
- public string MetadataVersion { get; private set; }
-
- ///
- /// Gets or sets the schema version of the data object.
- ///
- [JsonProperty(PropertyName = "dataVersion")]
- public string DataVersion { get; set; }
-
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- if (Id == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "Id");
- }
- if (Subject == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "Subject");
- }
- if (Data == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "Data");
- }
- if (EventType == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "EventType");
- }
- if (DataVersion == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "DataVersion");
- }
- }
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/EventHubCaptureFileCreatedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/EventHubCaptureFileCreatedEventData.cs
deleted file mode 100644
index 3a53e920bdd20..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/EventHubCaptureFileCreatedEventData.cs
+++ /dev/null
@@ -1,121 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.EventHub.CaptureFileCreated event.
- ///
- public partial class EventHubCaptureFileCreatedEventData
- {
- ///
- /// Initializes a new instance of the
- /// EventHubCaptureFileCreatedEventData class.
- ///
- public EventHubCaptureFileCreatedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// EventHubCaptureFileCreatedEventData class.
- ///
- /// The path to the capture file.
- /// The file type of the capture file.
- /// The shard ID.
- /// The file size.
- /// The number of events in the file.
- /// The smallest sequence number from
- /// the queue.
- /// The last sequence number from the
- /// queue.
- /// The first time from the
- /// queue.
- /// The last time from the queue.
- public EventHubCaptureFileCreatedEventData(string fileurl = default(string), string fileType = default(string), string partitionId = default(string), int? sizeInBytes = default(int?), int? eventCount = default(int?), int? firstSequenceNumber = default(int?), int? lastSequenceNumber = default(int?), System.DateTime? firstEnqueueTime = default(System.DateTime?), System.DateTime? lastEnqueueTime = default(System.DateTime?))
- {
- Fileurl = fileurl;
- FileType = fileType;
- PartitionId = partitionId;
- SizeInBytes = sizeInBytes;
- EventCount = eventCount;
- FirstSequenceNumber = firstSequenceNumber;
- LastSequenceNumber = lastSequenceNumber;
- FirstEnqueueTime = firstEnqueueTime;
- LastEnqueueTime = lastEnqueueTime;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the path to the capture file.
- ///
- [JsonProperty(PropertyName = "fileurl")]
- public string Fileurl { get; set; }
-
- ///
- /// Gets or sets the file type of the capture file.
- ///
- [JsonProperty(PropertyName = "fileType")]
- public string FileType { get; set; }
-
- ///
- /// Gets or sets the shard ID.
- ///
- [JsonProperty(PropertyName = "partitionId")]
- public string PartitionId { get; set; }
-
- ///
- /// Gets or sets the file size.
- ///
- [JsonProperty(PropertyName = "sizeInBytes")]
- public int? SizeInBytes { get; set; }
-
- ///
- /// Gets or sets the number of events in the file.
- ///
- [JsonProperty(PropertyName = "eventCount")]
- public int? EventCount { get; set; }
-
- ///
- /// Gets or sets the smallest sequence number from the queue.
- ///
- [JsonProperty(PropertyName = "firstSequenceNumber")]
- public int? FirstSequenceNumber { get; set; }
-
- ///
- /// Gets or sets the last sequence number from the queue.
- ///
- [JsonProperty(PropertyName = "lastSequenceNumber")]
- public int? LastSequenceNumber { get; set; }
-
- ///
- /// Gets or sets the first time from the queue.
- ///
- [JsonProperty(PropertyName = "firstEnqueueTime")]
- public System.DateTime? FirstEnqueueTime { get; set; }
-
- ///
- /// Gets or sets the last time from the queue.
- ///
- [JsonProperty(PropertyName = "lastEnqueueTime")]
- public System.DateTime? LastEnqueueTime { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/IotHubDeviceConnectedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/IotHubDeviceConnectedEventData.cs
deleted file mode 100644
index 16baef61df0e6..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/IotHubDeviceConnectedEventData.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using System.Linq;
-
- ///
- /// Event data for Microsoft.Devices.DeviceConnected event.
- ///
- public partial class IotHubDeviceConnectedEventData : DeviceConnectionStateEventProperties
- {
- ///
- /// Initializes a new instance of the IotHubDeviceConnectedEventData
- /// class.
- ///
- public IotHubDeviceConnectedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the IotHubDeviceConnectedEventData
- /// class.
- ///
- /// The unique identifier of the device. This
- /// case-sensitive string can be up to 128 characters long, and
- /// supports ASCII 7-bit alphanumeric characters plus the following
- /// special characters: - : . + % _ # * ? ! ( ) , = @ ; $
- /// '.
- /// The unique identifier of the module. This
- /// case-sensitive string can be up to 128 characters long, and
- /// supports ASCII 7-bit alphanumeric characters plus the following
- /// special characters: - : . + % _ # * ? ! ( ) , = @ ; $
- /// '.
- /// Name of the IoT Hub where the device was
- /// created or deleted.
- /// Information about the
- /// device connection state event.
- public IotHubDeviceConnectedEventData(string deviceId = default(string), string moduleId = default(string), string hubName = default(string), DeviceConnectionStateEventInfo deviceConnectionStateEventInfo = default(DeviceConnectionStateEventInfo))
- : base(deviceId, moduleId, hubName, deviceConnectionStateEventInfo)
- {
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/IotHubDeviceCreatedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/IotHubDeviceCreatedEventData.cs
deleted file mode 100644
index 71afffde54562..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/IotHubDeviceCreatedEventData.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using System.Linq;
-
- ///
- /// Event data for Microsoft.Devices.DeviceCreated event.
- ///
- public partial class IotHubDeviceCreatedEventData : DeviceLifeCycleEventProperties
- {
- ///
- /// Initializes a new instance of the IotHubDeviceCreatedEventData
- /// class.
- ///
- public IotHubDeviceCreatedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the IotHubDeviceCreatedEventData
- /// class.
- ///
- /// The unique identifier of the device. This
- /// case-sensitive string can be up to 128 characters long, and
- /// supports ASCII 7-bit alphanumeric characters plus the following
- /// special characters: - : . + % _ # * ? ! ( ) , = @ ; $
- /// '.
- /// Name of the IoT Hub where the device was
- /// created or deleted.
- /// Information about the device twin, which is the
- /// cloud representation of application device metadata.
- public IotHubDeviceCreatedEventData(string deviceId = default(string), string hubName = default(string), DeviceTwinInfo twin = default(DeviceTwinInfo))
- : base(deviceId, hubName, twin)
- {
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/IotHubDeviceDeletedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/IotHubDeviceDeletedEventData.cs
deleted file mode 100644
index b4025ab80e1be..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/IotHubDeviceDeletedEventData.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using System.Linq;
-
- ///
- /// Event data for Microsoft.Devices.DeviceDeleted event.
- ///
- public partial class IotHubDeviceDeletedEventData : DeviceLifeCycleEventProperties
- {
- ///
- /// Initializes a new instance of the IotHubDeviceDeletedEventData
- /// class.
- ///
- public IotHubDeviceDeletedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the IotHubDeviceDeletedEventData
- /// class.
- ///
- /// The unique identifier of the device. This
- /// case-sensitive string can be up to 128 characters long, and
- /// supports ASCII 7-bit alphanumeric characters plus the following
- /// special characters: - : . + % _ # * ? ! ( ) , = @ ; $
- /// '.
- /// Name of the IoT Hub where the device was
- /// created or deleted.
- /// Information about the device twin, which is the
- /// cloud representation of application device metadata.
- public IotHubDeviceDeletedEventData(string deviceId = default(string), string hubName = default(string), DeviceTwinInfo twin = default(DeviceTwinInfo))
- : base(deviceId, hubName, twin)
- {
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/IotHubDeviceDisconnectedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/IotHubDeviceDisconnectedEventData.cs
deleted file mode 100644
index 261b8c8cae4c0..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/IotHubDeviceDisconnectedEventData.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using System.Linq;
-
- ///
- /// Event data for Microsoft.Devices.DeviceDisconnected event.
- ///
- public partial class IotHubDeviceDisconnectedEventData : DeviceConnectionStateEventProperties
- {
- ///
- /// Initializes a new instance of the IotHubDeviceDisconnectedEventData
- /// class.
- ///
- public IotHubDeviceDisconnectedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the IotHubDeviceDisconnectedEventData
- /// class.
- ///
- /// The unique identifier of the device. This
- /// case-sensitive string can be up to 128 characters long, and
- /// supports ASCII 7-bit alphanumeric characters plus the following
- /// special characters: - : . + % _ # * ? ! ( ) , = @ ; $
- /// '.
- /// The unique identifier of the module. This
- /// case-sensitive string can be up to 128 characters long, and
- /// supports ASCII 7-bit alphanumeric characters plus the following
- /// special characters: - : . + % _ # * ? ! ( ) , = @ ; $
- /// '.
- /// Name of the IoT Hub where the device was
- /// created or deleted.
- /// Information about the
- /// device connection state event.
- public IotHubDeviceDisconnectedEventData(string deviceId = default(string), string moduleId = default(string), string hubName = default(string), DeviceConnectionStateEventInfo deviceConnectionStateEventInfo = default(DeviceConnectionStateEventInfo))
- : base(deviceId, moduleId, hubName, deviceConnectionStateEventInfo)
- {
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/IotHubDeviceTelemetryEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/IotHubDeviceTelemetryEventData.cs
deleted file mode 100644
index f3d08d50a3a8f..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/IotHubDeviceTelemetryEventData.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
-
- ///
- /// Event data for Microsoft.Devices.DeviceTelemetry event.
- ///
- public partial class IotHubDeviceTelemetryEventData : DeviceTelemetryEventProperties
- {
- ///
- /// Initializes a new instance of the IotHubDeviceTelemetryEventData
- /// class.
- ///
- public IotHubDeviceTelemetryEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the IotHubDeviceTelemetryEventData
- /// class.
- ///
- /// The content of the message from the
- /// device.
- /// Application properties are user-defined
- /// strings that can be added to the message. These fields are
- /// optional.
- /// System properties help identify
- /// contents and source of the messages.
- public IotHubDeviceTelemetryEventData(object body = default(object), IDictionary properties = default(IDictionary), IDictionary systemProperties = default(IDictionary))
- : base(body, properties, systemProperties)
- {
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultCertificateExpiredEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultCertificateExpiredEventData.cs
deleted file mode 100644
index 39874e88cf0b5..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultCertificateExpiredEventData.cs
+++ /dev/null
@@ -1,112 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// CertificateExpired event.
- ///
- public partial class KeyVaultCertificateExpiredEventData
- {
- ///
- /// Initializes a new instance of the
- /// KeyVaultCertificateExpiredEventData class.
- ///
- public KeyVaultCertificateExpiredEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// KeyVaultCertificateExpiredEventData class.
- ///
- /// The id of the object that triggered this
- /// event.
- /// Key vault name of the object that triggered
- /// this event.
- /// The type of the object that triggered this
- /// event
- /// The name of the object that triggered this
- /// event
- /// The version of the object that triggered this
- /// event
- /// Not before date of the object that triggered this
- /// event
- /// The expiration date of the object that triggered
- /// this event
- public KeyVaultCertificateExpiredEventData(string id = default(string), string vaultName = default(string), string objectType = default(string), string objectName = default(string), string version = default(string), double? nbf = default(double?), double? exp = default(double?))
- {
- Id = id;
- VaultName = vaultName;
- ObjectType = objectType;
- ObjectName = objectName;
- Version = version;
- Nbf = nbf;
- Exp = exp;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the id of the object that triggered this event.
- ///
- [JsonProperty(PropertyName = "id")]
- public string Id { get; set; }
-
- ///
- /// Gets or sets key vault name of the object that triggered this
- /// event.
- ///
- [JsonProperty(PropertyName = "vaultName")]
- public string VaultName { get; set; }
-
- ///
- /// Gets or sets the type of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "objectType")]
- public string ObjectType { get; set; }
-
- ///
- /// Gets or sets the name of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "objectName")]
- public string ObjectName { get; set; }
-
- ///
- /// Gets or sets the version of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "version")]
- public string Version { get; set; }
-
- ///
- /// Gets or sets not before date of the object that triggered this
- /// event
- ///
- [JsonProperty(PropertyName = "nbf")]
- public double? Nbf { get; set; }
-
- ///
- /// Gets or sets the expiration date of the object that triggered this
- /// event
- ///
- [JsonProperty(PropertyName = "exp")]
- public double? Exp { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultCertificateNearExpiryEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultCertificateNearExpiryEventData.cs
deleted file mode 100644
index d57e8270fa1df..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultCertificateNearExpiryEventData.cs
+++ /dev/null
@@ -1,112 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// CertificateNearExpiry event.
- ///
- public partial class KeyVaultCertificateNearExpiryEventData
- {
- ///
- /// Initializes a new instance of the
- /// KeyVaultCertificateNearExpiryEventData class.
- ///
- public KeyVaultCertificateNearExpiryEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// KeyVaultCertificateNearExpiryEventData class.
- ///
- /// The id of the object that triggered this
- /// event.
- /// Key vault name of the object that triggered
- /// this event.
- /// The type of the object that triggered this
- /// event
- /// The name of the object that triggered this
- /// event
- /// The version of the object that triggered this
- /// event
- /// Not before date of the object that triggered this
- /// event
- /// The expiration date of the object that triggered
- /// this event
- public KeyVaultCertificateNearExpiryEventData(string id = default(string), string vaultName = default(string), string objectType = default(string), string objectName = default(string), string version = default(string), double? nbf = default(double?), double? exp = default(double?))
- {
- Id = id;
- VaultName = vaultName;
- ObjectType = objectType;
- ObjectName = objectName;
- Version = version;
- Nbf = nbf;
- Exp = exp;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the id of the object that triggered this event.
- ///
- [JsonProperty(PropertyName = "id")]
- public string Id { get; set; }
-
- ///
- /// Gets or sets key vault name of the object that triggered this
- /// event.
- ///
- [JsonProperty(PropertyName = "vaultName")]
- public string VaultName { get; set; }
-
- ///
- /// Gets or sets the type of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "objectType")]
- public string ObjectType { get; set; }
-
- ///
- /// Gets or sets the name of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "objectName")]
- public string ObjectName { get; set; }
-
- ///
- /// Gets or sets the version of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "version")]
- public string Version { get; set; }
-
- ///
- /// Gets or sets not before date of the object that triggered this
- /// event
- ///
- [JsonProperty(PropertyName = "nbf")]
- public double? Nbf { get; set; }
-
- ///
- /// Gets or sets the expiration date of the object that triggered this
- /// event
- ///
- [JsonProperty(PropertyName = "exp")]
- public double? Exp { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultCertificateNewVersionCreatedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultCertificateNewVersionCreatedEventData.cs
deleted file mode 100644
index f0ff147c4db17..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultCertificateNewVersionCreatedEventData.cs
+++ /dev/null
@@ -1,112 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// CertificateNewVersionCreated event.
- ///
- public partial class KeyVaultCertificateNewVersionCreatedEventData
- {
- ///
- /// Initializes a new instance of the
- /// KeyVaultCertificateNewVersionCreatedEventData class.
- ///
- public KeyVaultCertificateNewVersionCreatedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// KeyVaultCertificateNewVersionCreatedEventData class.
- ///
- /// The id of the object that triggered this
- /// event.
- /// Key vault name of the object that triggered
- /// this event.
- /// The type of the object that triggered this
- /// event
- /// The name of the object that triggered this
- /// event
- /// The version of the object that triggered this
- /// event
- /// Not before date of the object that triggered this
- /// event
- /// The expiration date of the object that triggered
- /// this event
- public KeyVaultCertificateNewVersionCreatedEventData(string id = default(string), string vaultName = default(string), string objectType = default(string), string objectName = default(string), string version = default(string), double? nbf = default(double?), double? exp = default(double?))
- {
- Id = id;
- VaultName = vaultName;
- ObjectType = objectType;
- ObjectName = objectName;
- Version = version;
- Nbf = nbf;
- Exp = exp;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the id of the object that triggered this event.
- ///
- [JsonProperty(PropertyName = "id")]
- public string Id { get; set; }
-
- ///
- /// Gets or sets key vault name of the object that triggered this
- /// event.
- ///
- [JsonProperty(PropertyName = "vaultName")]
- public string VaultName { get; set; }
-
- ///
- /// Gets or sets the type of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "objectType")]
- public string ObjectType { get; set; }
-
- ///
- /// Gets or sets the name of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "objectName")]
- public string ObjectName { get; set; }
-
- ///
- /// Gets or sets the version of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "version")]
- public string Version { get; set; }
-
- ///
- /// Gets or sets not before date of the object that triggered this
- /// event
- ///
- [JsonProperty(PropertyName = "nbf")]
- public double? Nbf { get; set; }
-
- ///
- /// Gets or sets the expiration date of the object that triggered this
- /// event
- ///
- [JsonProperty(PropertyName = "exp")]
- public double? Exp { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultKeyExpiredEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultKeyExpiredEventData.cs
deleted file mode 100644
index 15b16ddd92c58..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultKeyExpiredEventData.cs
+++ /dev/null
@@ -1,112 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an KeyExpired
- /// event.
- ///
- public partial class KeyVaultKeyExpiredEventData
- {
- ///
- /// Initializes a new instance of the KeyVaultKeyExpiredEventData
- /// class.
- ///
- public KeyVaultKeyExpiredEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the KeyVaultKeyExpiredEventData
- /// class.
- ///
- /// The id of the object that triggered this
- /// event.
- /// Key vault name of the object that triggered
- /// this event.
- /// The type of the object that triggered this
- /// event
- /// The name of the object that triggered this
- /// event
- /// The version of the object that triggered this
- /// event
- /// Not before date of the object that triggered this
- /// event
- /// The expiration date of the object that triggered
- /// this event
- public KeyVaultKeyExpiredEventData(string id = default(string), string vaultName = default(string), string objectType = default(string), string objectName = default(string), string version = default(string), double? nbf = default(double?), double? exp = default(double?))
- {
- Id = id;
- VaultName = vaultName;
- ObjectType = objectType;
- ObjectName = objectName;
- Version = version;
- Nbf = nbf;
- Exp = exp;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the id of the object that triggered this event.
- ///
- [JsonProperty(PropertyName = "id")]
- public string Id { get; set; }
-
- ///
- /// Gets or sets key vault name of the object that triggered this
- /// event.
- ///
- [JsonProperty(PropertyName = "vaultName")]
- public string VaultName { get; set; }
-
- ///
- /// Gets or sets the type of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "objectType")]
- public string ObjectType { get; set; }
-
- ///
- /// Gets or sets the name of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "objectName")]
- public string ObjectName { get; set; }
-
- ///
- /// Gets or sets the version of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "version")]
- public string Version { get; set; }
-
- ///
- /// Gets or sets not before date of the object that triggered this
- /// event
- ///
- [JsonProperty(PropertyName = "nbf")]
- public double? Nbf { get; set; }
-
- ///
- /// Gets or sets the expiration date of the object that triggered this
- /// event
- ///
- [JsonProperty(PropertyName = "exp")]
- public double? Exp { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultKeyNearExpiryEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultKeyNearExpiryEventData.cs
deleted file mode 100644
index 3b4b43159cf07..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultKeyNearExpiryEventData.cs
+++ /dev/null
@@ -1,112 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an KeyNearExpiry
- /// event.
- ///
- public partial class KeyVaultKeyNearExpiryEventData
- {
- ///
- /// Initializes a new instance of the KeyVaultKeyNearExpiryEventData
- /// class.
- ///
- public KeyVaultKeyNearExpiryEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the KeyVaultKeyNearExpiryEventData
- /// class.
- ///
- /// The id of the object that triggered this
- /// event.
- /// Key vault name of the object that triggered
- /// this event.
- /// The type of the object that triggered this
- /// event
- /// The name of the object that triggered this
- /// event
- /// The version of the object that triggered this
- /// event
- /// Not before date of the object that triggered this
- /// event
- /// The expiration date of the object that triggered
- /// this event
- public KeyVaultKeyNearExpiryEventData(string id = default(string), string vaultName = default(string), string objectType = default(string), string objectName = default(string), string version = default(string), double? nbf = default(double?), double? exp = default(double?))
- {
- Id = id;
- VaultName = vaultName;
- ObjectType = objectType;
- ObjectName = objectName;
- Version = version;
- Nbf = nbf;
- Exp = exp;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the id of the object that triggered this event.
- ///
- [JsonProperty(PropertyName = "id")]
- public string Id { get; set; }
-
- ///
- /// Gets or sets key vault name of the object that triggered this
- /// event.
- ///
- [JsonProperty(PropertyName = "vaultName")]
- public string VaultName { get; set; }
-
- ///
- /// Gets or sets the type of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "objectType")]
- public string ObjectType { get; set; }
-
- ///
- /// Gets or sets the name of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "objectName")]
- public string ObjectName { get; set; }
-
- ///
- /// Gets or sets the version of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "version")]
- public string Version { get; set; }
-
- ///
- /// Gets or sets not before date of the object that triggered this
- /// event
- ///
- [JsonProperty(PropertyName = "nbf")]
- public double? Nbf { get; set; }
-
- ///
- /// Gets or sets the expiration date of the object that triggered this
- /// event
- ///
- [JsonProperty(PropertyName = "exp")]
- public double? Exp { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultKeyNewVersionCreatedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultKeyNewVersionCreatedEventData.cs
deleted file mode 100644
index 3e49371363577..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultKeyNewVersionCreatedEventData.cs
+++ /dev/null
@@ -1,112 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// KeyNewVersionCreated event.
- ///
- public partial class KeyVaultKeyNewVersionCreatedEventData
- {
- ///
- /// Initializes a new instance of the
- /// KeyVaultKeyNewVersionCreatedEventData class.
- ///
- public KeyVaultKeyNewVersionCreatedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// KeyVaultKeyNewVersionCreatedEventData class.
- ///
- /// The id of the object that triggered this
- /// event.
- /// Key vault name of the object that triggered
- /// this event.
- /// The type of the object that triggered this
- /// event
- /// The name of the object that triggered this
- /// event
- /// The version of the object that triggered this
- /// event
- /// Not before date of the object that triggered this
- /// event
- /// The expiration date of the object that triggered
- /// this event
- public KeyVaultKeyNewVersionCreatedEventData(string id = default(string), string vaultName = default(string), string objectType = default(string), string objectName = default(string), string version = default(string), double? nbf = default(double?), double? exp = default(double?))
- {
- Id = id;
- VaultName = vaultName;
- ObjectType = objectType;
- ObjectName = objectName;
- Version = version;
- Nbf = nbf;
- Exp = exp;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the id of the object that triggered this event.
- ///
- [JsonProperty(PropertyName = "id")]
- public string Id { get; set; }
-
- ///
- /// Gets or sets key vault name of the object that triggered this
- /// event.
- ///
- [JsonProperty(PropertyName = "vaultName")]
- public string VaultName { get; set; }
-
- ///
- /// Gets or sets the type of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "objectType")]
- public string ObjectType { get; set; }
-
- ///
- /// Gets or sets the name of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "objectName")]
- public string ObjectName { get; set; }
-
- ///
- /// Gets or sets the version of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "version")]
- public string Version { get; set; }
-
- ///
- /// Gets or sets not before date of the object that triggered this
- /// event
- ///
- [JsonProperty(PropertyName = "nbf")]
- public double? Nbf { get; set; }
-
- ///
- /// Gets or sets the expiration date of the object that triggered this
- /// event
- ///
- [JsonProperty(PropertyName = "exp")]
- public double? Exp { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultSecretExpiredEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultSecretExpiredEventData.cs
deleted file mode 100644
index 957a646c31e52..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultSecretExpiredEventData.cs
+++ /dev/null
@@ -1,112 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an SecretExpired
- /// event.
- ///
- public partial class KeyVaultSecretExpiredEventData
- {
- ///
- /// Initializes a new instance of the KeyVaultSecretExpiredEventData
- /// class.
- ///
- public KeyVaultSecretExpiredEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the KeyVaultSecretExpiredEventData
- /// class.
- ///
- /// The id of the object that triggered this
- /// event.
- /// Key vault name of the object that triggered
- /// this event.
- /// The type of the object that triggered this
- /// event
- /// The name of the object that triggered this
- /// event
- /// The version of the object that triggered this
- /// event
- /// Not before date of the object that triggered this
- /// event
- /// The expiration date of the object that triggered
- /// this event
- public KeyVaultSecretExpiredEventData(string id = default(string), string vaultName = default(string), string objectType = default(string), string objectName = default(string), string version = default(string), double? nbf = default(double?), double? exp = default(double?))
- {
- Id = id;
- VaultName = vaultName;
- ObjectType = objectType;
- ObjectName = objectName;
- Version = version;
- Nbf = nbf;
- Exp = exp;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the id of the object that triggered this event.
- ///
- [JsonProperty(PropertyName = "id")]
- public string Id { get; set; }
-
- ///
- /// Gets or sets key vault name of the object that triggered this
- /// event.
- ///
- [JsonProperty(PropertyName = "vaultName")]
- public string VaultName { get; set; }
-
- ///
- /// Gets or sets the type of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "objectType")]
- public string ObjectType { get; set; }
-
- ///
- /// Gets or sets the name of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "objectName")]
- public string ObjectName { get; set; }
-
- ///
- /// Gets or sets the version of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "version")]
- public string Version { get; set; }
-
- ///
- /// Gets or sets not before date of the object that triggered this
- /// event
- ///
- [JsonProperty(PropertyName = "nbf")]
- public double? Nbf { get; set; }
-
- ///
- /// Gets or sets the expiration date of the object that triggered this
- /// event
- ///
- [JsonProperty(PropertyName = "exp")]
- public double? Exp { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultSecretNearExpiryEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultSecretNearExpiryEventData.cs
deleted file mode 100644
index 019f53e9f64c9..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultSecretNearExpiryEventData.cs
+++ /dev/null
@@ -1,112 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// SecretNearExpiry event.
- ///
- public partial class KeyVaultSecretNearExpiryEventData
- {
- ///
- /// Initializes a new instance of the KeyVaultSecretNearExpiryEventData
- /// class.
- ///
- public KeyVaultSecretNearExpiryEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the KeyVaultSecretNearExpiryEventData
- /// class.
- ///
- /// The id of the object that triggered this
- /// event.
- /// Key vault name of the object that triggered
- /// this event.
- /// The type of the object that triggered this
- /// event
- /// The name of the object that triggered this
- /// event
- /// The version of the object that triggered this
- /// event
- /// Not before date of the object that triggered this
- /// event
- /// The expiration date of the object that triggered
- /// this event
- public KeyVaultSecretNearExpiryEventData(string id = default(string), string vaultName = default(string), string objectType = default(string), string objectName = default(string), string version = default(string), double? nbf = default(double?), double? exp = default(double?))
- {
- Id = id;
- VaultName = vaultName;
- ObjectType = objectType;
- ObjectName = objectName;
- Version = version;
- Nbf = nbf;
- Exp = exp;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the id of the object that triggered this event.
- ///
- [JsonProperty(PropertyName = "id")]
- public string Id { get; set; }
-
- ///
- /// Gets or sets key vault name of the object that triggered this
- /// event.
- ///
- [JsonProperty(PropertyName = "vaultName")]
- public string VaultName { get; set; }
-
- ///
- /// Gets or sets the type of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "objectType")]
- public string ObjectType { get; set; }
-
- ///
- /// Gets or sets the name of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "objectName")]
- public string ObjectName { get; set; }
-
- ///
- /// Gets or sets the version of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "version")]
- public string Version { get; set; }
-
- ///
- /// Gets or sets not before date of the object that triggered this
- /// event
- ///
- [JsonProperty(PropertyName = "nbf")]
- public double? Nbf { get; set; }
-
- ///
- /// Gets or sets the expiration date of the object that triggered this
- /// event
- ///
- [JsonProperty(PropertyName = "exp")]
- public double? Exp { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultSecretNewVersionCreatedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultSecretNewVersionCreatedEventData.cs
deleted file mode 100644
index 60ece926c90ea..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/KeyVaultSecretNewVersionCreatedEventData.cs
+++ /dev/null
@@ -1,112 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// SecretNewVersionCreated event.
- ///
- public partial class KeyVaultSecretNewVersionCreatedEventData
- {
- ///
- /// Initializes a new instance of the
- /// KeyVaultSecretNewVersionCreatedEventData class.
- ///
- public KeyVaultSecretNewVersionCreatedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// KeyVaultSecretNewVersionCreatedEventData class.
- ///
- /// The id of the object that triggered this
- /// event.
- /// Key vault name of the object that triggered
- /// this event.
- /// The type of the object that triggered this
- /// event
- /// The name of the object that triggered this
- /// event
- /// The version of the object that triggered this
- /// event
- /// Not before date of the object that triggered this
- /// event
- /// The expiration date of the object that triggered
- /// this event
- public KeyVaultSecretNewVersionCreatedEventData(string id = default(string), string vaultName = default(string), string objectType = default(string), string objectName = default(string), string version = default(string), double? nbf = default(double?), double? exp = default(double?))
- {
- Id = id;
- VaultName = vaultName;
- ObjectType = objectType;
- ObjectName = objectName;
- Version = version;
- Nbf = nbf;
- Exp = exp;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the id of the object that triggered this event.
- ///
- [JsonProperty(PropertyName = "id")]
- public string Id { get; set; }
-
- ///
- /// Gets or sets key vault name of the object that triggered this
- /// event.
- ///
- [JsonProperty(PropertyName = "vaultName")]
- public string VaultName { get; set; }
-
- ///
- /// Gets or sets the type of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "objectType")]
- public string ObjectType { get; set; }
-
- ///
- /// Gets or sets the name of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "objectName")]
- public string ObjectName { get; set; }
-
- ///
- /// Gets or sets the version of the object that triggered this event
- ///
- [JsonProperty(PropertyName = "version")]
- public string Version { get; set; }
-
- ///
- /// Gets or sets not before date of the object that triggered this
- /// event
- ///
- [JsonProperty(PropertyName = "nbf")]
- public double? Nbf { get; set; }
-
- ///
- /// Gets or sets the expiration date of the object that triggered this
- /// event
- ///
- [JsonProperty(PropertyName = "exp")]
- public double? Exp { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MachineLearningServicesDatasetDriftDetectedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MachineLearningServicesDatasetDriftDetectedEventData.cs
deleted file mode 100644
index b85fdfffa0153..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MachineLearningServicesDatasetDriftDetectedEventData.cs
+++ /dev/null
@@ -1,122 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.MachineLearningServices.DatasetDriftDetected event.
- ///
- public partial class MachineLearningServicesDatasetDriftDetectedEventData
- {
- ///
- /// Initializes a new instance of the
- /// MachineLearningServicesDatasetDriftDetectedEventData class.
- ///
- public MachineLearningServicesDatasetDriftDetectedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// MachineLearningServicesDatasetDriftDetectedEventData class.
- ///
- /// The ID of the data drift monitor that
- /// triggered the event.
- /// The name of the data drift monitor that
- /// triggered the event.
- /// The ID of the Run that detected data
- /// drift.
- /// The ID of the base Dataset used to
- /// detect drift.
- /// The ID of the target Dataset used to
- /// detect drift.
- /// The coefficient result that
- /// triggered the event.
- /// The start time of the target dataset time
- /// series that resulted in drift detection.
- /// The end time of the target dataset time
- /// series that resulted in drift detection.
- public MachineLearningServicesDatasetDriftDetectedEventData(string dataDriftId = default(string), string dataDriftName = default(string), string runId = default(string), string baseDatasetId = default(string), string targetDatasetId = default(string), double? driftCoefficient = default(double?), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?))
- {
- DataDriftId = dataDriftId;
- DataDriftName = dataDriftName;
- RunId = runId;
- BaseDatasetId = baseDatasetId;
- TargetDatasetId = targetDatasetId;
- DriftCoefficient = driftCoefficient;
- StartTime = startTime;
- EndTime = endTime;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the ID of the data drift monitor that triggered the
- /// event.
- ///
- [JsonProperty(PropertyName = "dataDriftId")]
- public string DataDriftId { get; set; }
-
- ///
- /// Gets or sets the name of the data drift monitor that triggered the
- /// event.
- ///
- [JsonProperty(PropertyName = "dataDriftName")]
- public string DataDriftName { get; set; }
-
- ///
- /// Gets or sets the ID of the Run that detected data drift.
- ///
- [JsonProperty(PropertyName = "runId")]
- public string RunId { get; set; }
-
- ///
- /// Gets or sets the ID of the base Dataset used to detect drift.
- ///
- [JsonProperty(PropertyName = "baseDatasetId")]
- public string BaseDatasetId { get; set; }
-
- ///
- /// Gets or sets the ID of the target Dataset used to detect drift.
- ///
- [JsonProperty(PropertyName = "targetDatasetId")]
- public string TargetDatasetId { get; set; }
-
- ///
- /// Gets or sets the coefficient result that triggered the event.
- ///
- [JsonProperty(PropertyName = "driftCoefficient")]
- public double? DriftCoefficient { get; set; }
-
- ///
- /// Gets or sets the start time of the target dataset time series that
- /// resulted in drift detection.
- ///
- [JsonProperty(PropertyName = "startTime")]
- public System.DateTime? StartTime { get; set; }
-
- ///
- /// Gets or sets the end time of the target dataset time series that
- /// resulted in drift detection.
- ///
- [JsonProperty(PropertyName = "endTime")]
- public System.DateTime? EndTime { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MachineLearningServicesModelDeployedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MachineLearningServicesModelDeployedEventData.cs
deleted file mode 100644
index 91e3c24ff9f57..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MachineLearningServicesModelDeployedEventData.cs
+++ /dev/null
@@ -1,91 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.MachineLearningServices.ModelDeployed event.
- ///
- public partial class MachineLearningServicesModelDeployedEventData
- {
- ///
- /// Initializes a new instance of the
- /// MachineLearningServicesModelDeployedEventData class.
- ///
- public MachineLearningServicesModelDeployedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// MachineLearningServicesModelDeployedEventData class.
- ///
- /// The name of the deployed service.
- /// The compute type (e.g. ACI, AKS)
- /// of the deployed service.
- /// A common separated list of model IDs. The
- /// IDs of the models deployed in the service.
- /// The tags of the deployed service.
- /// The properties of the deployed
- /// service.
- public MachineLearningServicesModelDeployedEventData(string serviceName = default(string), string serviceComputeType = default(string), string modelIds = default(string), object serviceTags = default(object), object serviceProperties = default(object))
- {
- ServiceName = serviceName;
- ServiceComputeType = serviceComputeType;
- ModelIds = modelIds;
- ServiceTags = serviceTags;
- ServiceProperties = serviceProperties;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the name of the deployed service.
- ///
- [JsonProperty(PropertyName = "serviceName")]
- public string ServiceName { get; set; }
-
- ///
- /// Gets or sets the compute type (e.g. ACI, AKS) of the deployed
- /// service.
- ///
- [JsonProperty(PropertyName = "serviceComputeType")]
- public string ServiceComputeType { get; set; }
-
- ///
- /// Gets or sets a common separated list of model IDs. The IDs of the
- /// models deployed in the service.
- ///
- [JsonProperty(PropertyName = "modelIds")]
- public string ModelIds { get; set; }
-
- ///
- /// Gets or sets the tags of the deployed service.
- ///
- [JsonProperty(PropertyName = "serviceTags")]
- public object ServiceTags { get; set; }
-
- ///
- /// Gets or sets the properties of the deployed service.
- ///
- [JsonProperty(PropertyName = "serviceProperties")]
- public object ServiceProperties { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MachineLearningServicesModelRegisteredEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MachineLearningServicesModelRegisteredEventData.cs
deleted file mode 100644
index 2881a3dfd20e8..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MachineLearningServicesModelRegisteredEventData.cs
+++ /dev/null
@@ -1,82 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.MachineLearningServices.ModelRegistered event.
- ///
- public partial class MachineLearningServicesModelRegisteredEventData
- {
- ///
- /// Initializes a new instance of the
- /// MachineLearningServicesModelRegisteredEventData class.
- ///
- public MachineLearningServicesModelRegisteredEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// MachineLearningServicesModelRegisteredEventData class.
- ///
- /// The name of the model that was
- /// registered.
- /// The version of the model that was
- /// registered.
- /// The tags of the model that was
- /// registered.
- /// The properties of the model that was
- /// registered.
- public MachineLearningServicesModelRegisteredEventData(string modelName = default(string), string modelVersion = default(string), object modelTags = default(object), object modelProperties = default(object))
- {
- ModelName = modelName;
- ModelVersion = modelVersion;
- ModelTags = modelTags;
- ModelProperties = modelProperties;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the name of the model that was registered.
- ///
- [JsonProperty(PropertyName = "modelName")]
- public string ModelName { get; set; }
-
- ///
- /// Gets or sets the version of the model that was registered.
- ///
- [JsonProperty(PropertyName = "modelVersion")]
- public string ModelVersion { get; set; }
-
- ///
- /// Gets or sets the tags of the model that was registered.
- ///
- [JsonProperty(PropertyName = "modelTags")]
- public object ModelTags { get; set; }
-
- ///
- /// Gets or sets the properties of the model that was registered.
- ///
- [JsonProperty(PropertyName = "modelProperties")]
- public object ModelProperties { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MachineLearningServicesRunCompletedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MachineLearningServicesRunCompletedEventData.cs
deleted file mode 100644
index defbcb896a2e6..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MachineLearningServicesRunCompletedEventData.cs
+++ /dev/null
@@ -1,97 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.MachineLearningServices.RunCompleted event.
- ///
- public partial class MachineLearningServicesRunCompletedEventData
- {
- ///
- /// Initializes a new instance of the
- /// MachineLearningServicesRunCompletedEventData class.
- ///
- public MachineLearningServicesRunCompletedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// MachineLearningServicesRunCompletedEventData class.
- ///
- /// The ID of the experiment that the run
- /// belongs to.
- /// The name of the experiment that the
- /// run belongs to.
- /// The ID of the Run that was completed.
- /// The Run Type of the completed Run.
- /// The tags of the completed Run.
- /// The properties of the completed
- /// Run.
- public MachineLearningServicesRunCompletedEventData(string experimentId = default(string), string experimentName = default(string), string runId = default(string), string runType = default(string), object runTags = default(object), object runProperties = default(object))
- {
- ExperimentId = experimentId;
- ExperimentName = experimentName;
- RunId = runId;
- RunType = runType;
- RunTags = runTags;
- RunProperties = runProperties;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the ID of the experiment that the run belongs to.
- ///
- [JsonProperty(PropertyName = "experimentId")]
- public string ExperimentId { get; set; }
-
- ///
- /// Gets or sets the name of the experiment that the run belongs to.
- ///
- [JsonProperty(PropertyName = "experimentName")]
- public string ExperimentName { get; set; }
-
- ///
- /// Gets or sets the ID of the Run that was completed.
- ///
- [JsonProperty(PropertyName = "runId")]
- public string RunId { get; set; }
-
- ///
- /// Gets or sets the Run Type of the completed Run.
- ///
- [JsonProperty(PropertyName = "runType")]
- public string RunType { get; set; }
-
- ///
- /// Gets or sets the tags of the completed Run.
- ///
- [JsonProperty(PropertyName = "runTags")]
- public object RunTags { get; set; }
-
- ///
- /// Gets or sets the properties of the completed Run.
- ///
- [JsonProperty(PropertyName = "runProperties")]
- public object RunProperties { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MachineLearningServicesRunStatusChangedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MachineLearningServicesRunStatusChangedEventData.cs
deleted file mode 100644
index 70679661d1a8d..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MachineLearningServicesRunStatusChangedEventData.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.MachineLearningServices.RunStatusChanged event.
- ///
- public partial class MachineLearningServicesRunStatusChangedEventData
- {
- ///
- /// Initializes a new instance of the
- /// MachineLearningServicesRunStatusChangedEventData class.
- ///
- public MachineLearningServicesRunStatusChangedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// MachineLearningServicesRunStatusChangedEventData class.
- ///
- /// The ID of the experiment that the
- /// Machine Learning Run belongs to.
- /// The name of the experiment that the
- /// Machine Learning Run belongs to.
- /// The ID of the Machine Learning Run.
- /// The Run Type of the Machine Learning
- /// Run.
- /// The tags of the Machine Learning Run.
- /// The properties of the Machine Learning
- /// Run.
- /// The status of the Machine Learning
- /// Run.
- public MachineLearningServicesRunStatusChangedEventData(string experimentId = default(string), string experimentName = default(string), string runId = default(string), string runType = default(string), object runTags = default(object), object runProperties = default(object), string runStatus = default(string))
- {
- ExperimentId = experimentId;
- ExperimentName = experimentName;
- RunId = runId;
- RunType = runType;
- RunTags = runTags;
- RunProperties = runProperties;
- RunStatus = runStatus;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the ID of the experiment that the Machine Learning Run
- /// belongs to.
- ///
- [JsonProperty(PropertyName = "experimentId")]
- public string ExperimentId { get; set; }
-
- ///
- /// Gets or sets the name of the experiment that the Machine Learning
- /// Run belongs to.
- ///
- [JsonProperty(PropertyName = "experimentName")]
- public string ExperimentName { get; set; }
-
- ///
- /// Gets or sets the ID of the Machine Learning Run.
- ///
- [JsonProperty(PropertyName = "runId")]
- public string RunId { get; set; }
-
- ///
- /// Gets or sets the Run Type of the Machine Learning Run.
- ///
- [JsonProperty(PropertyName = "runType")]
- public string RunType { get; set; }
-
- ///
- /// Gets or sets the tags of the Machine Learning Run.
- ///
- [JsonProperty(PropertyName = "runTags")]
- public object RunTags { get; set; }
-
- ///
- /// Gets or sets the properties of the Machine Learning Run.
- ///
- [JsonProperty(PropertyName = "runProperties")]
- public object RunProperties { get; set; }
-
- ///
- /// Gets or sets the status of the Machine Learning Run.
- ///
- [JsonProperty(PropertyName = "runStatus")]
- public string RunStatus { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MapsGeofenceEnteredEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MapsGeofenceEnteredEventData.cs
deleted file mode 100644
index a1f97d7c1a25f..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MapsGeofenceEnteredEventData.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for a
- /// Microsoft.Maps.GeofenceEntered event.
- ///
- public partial class MapsGeofenceEnteredEventData : MapsGeofenceEventProperties
- {
- ///
- /// Initializes a new instance of the MapsGeofenceEnteredEventData
- /// class.
- ///
- public MapsGeofenceEnteredEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the MapsGeofenceEnteredEventData
- /// class.
- ///
- /// Lists of the geometry ID of
- /// the geofence which is expired relative to the user time in the
- /// request.
- /// Lists the fence geometries that either
- /// fully contain the coordinate position or have an overlap with the
- /// searchBuffer around the fence.
- /// Lists of the geometry
- /// ID of the geofence which is in invalid period relative to the user
- /// time in the request.
- /// True if at least one event is
- /// published to the Azure Maps event subscriber, false if no event is
- /// published to the Azure Maps event subscriber.
- public MapsGeofenceEnteredEventData(IList expiredGeofenceGeometryId = default(IList), IList geometries = default(IList), IList invalidPeriodGeofenceGeometryId = default(IList), bool? isEventPublished = default(bool?))
- : base(expiredGeofenceGeometryId, geometries, invalidPeriodGeofenceGeometryId, isEventPublished)
- {
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MapsGeofenceEventProperties.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MapsGeofenceEventProperties.cs
deleted file mode 100644
index 95551c6ad8367..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MapsGeofenceEventProperties.cs
+++ /dev/null
@@ -1,94 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for a Geofence event
- /// (GeofenceEntered, GeofenceExited, GeofenceResult).
- ///
- public partial class MapsGeofenceEventProperties
- {
- ///
- /// Initializes a new instance of the MapsGeofenceEventProperties
- /// class.
- ///
- public MapsGeofenceEventProperties()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the MapsGeofenceEventProperties
- /// class.
- ///
- /// Lists of the geometry ID of
- /// the geofence which is expired relative to the user time in the
- /// request.
- /// Lists the fence geometries that either
- /// fully contain the coordinate position or have an overlap with the
- /// searchBuffer around the fence.
- /// Lists of the geometry
- /// ID of the geofence which is in invalid period relative to the user
- /// time in the request.
- /// True if at least one event is
- /// published to the Azure Maps event subscriber, false if no event is
- /// published to the Azure Maps event subscriber.
- public MapsGeofenceEventProperties(IList expiredGeofenceGeometryId = default(IList), IList geometries = default(IList), IList invalidPeriodGeofenceGeometryId = default(IList), bool? isEventPublished = default(bool?))
- {
- ExpiredGeofenceGeometryId = expiredGeofenceGeometryId;
- Geometries = geometries;
- InvalidPeriodGeofenceGeometryId = invalidPeriodGeofenceGeometryId;
- IsEventPublished = isEventPublished;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets lists of the geometry ID of the geofence which is
- /// expired relative to the user time in the request.
- ///
- [JsonProperty(PropertyName = "expiredGeofenceGeometryId")]
- public IList ExpiredGeofenceGeometryId { get; set; }
-
- ///
- /// Gets or sets lists the fence geometries that either fully contain
- /// the coordinate position or have an overlap with the searchBuffer
- /// around the fence.
- ///
- [JsonProperty(PropertyName = "geometries")]
- public IList Geometries { get; set; }
-
- ///
- /// Gets or sets lists of the geometry ID of the geofence which is in
- /// invalid period relative to the user time in the request.
- ///
- [JsonProperty(PropertyName = "invalidPeriodGeofenceGeometryId")]
- public IList InvalidPeriodGeofenceGeometryId { get; set; }
-
- ///
- /// Gets or sets true if at least one event is published to the Azure
- /// Maps event subscriber, false if no event is published to the Azure
- /// Maps event subscriber.
- ///
- [JsonProperty(PropertyName = "isEventPublished")]
- public bool? IsEventPublished { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MapsGeofenceExitedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MapsGeofenceExitedEventData.cs
deleted file mode 100644
index 41a2e49258d61..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MapsGeofenceExitedEventData.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for a
- /// Microsoft.Maps.GeofenceExited event.
- ///
- public partial class MapsGeofenceExitedEventData : MapsGeofenceEventProperties
- {
- ///
- /// Initializes a new instance of the MapsGeofenceExitedEventData
- /// class.
- ///
- public MapsGeofenceExitedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the MapsGeofenceExitedEventData
- /// class.
- ///
- /// Lists of the geometry ID of
- /// the geofence which is expired relative to the user time in the
- /// request.
- /// Lists the fence geometries that either
- /// fully contain the coordinate position or have an overlap with the
- /// searchBuffer around the fence.
- /// Lists of the geometry
- /// ID of the geofence which is in invalid period relative to the user
- /// time in the request.
- /// True if at least one event is
- /// published to the Azure Maps event subscriber, false if no event is
- /// published to the Azure Maps event subscriber.
- public MapsGeofenceExitedEventData(IList expiredGeofenceGeometryId = default(IList), IList geometries = default(IList), IList invalidPeriodGeofenceGeometryId = default(IList), bool? isEventPublished = default(bool?))
- : base(expiredGeofenceGeometryId, geometries, invalidPeriodGeofenceGeometryId, isEventPublished)
- {
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MapsGeofenceGeometry.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MapsGeofenceGeometry.cs
deleted file mode 100644
index a1a26b448a1c9..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MapsGeofenceGeometry.cs
+++ /dev/null
@@ -1,117 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// The geofence geometry.
- ///
- public partial class MapsGeofenceGeometry
- {
- ///
- /// Initializes a new instance of the MapsGeofenceGeometry class.
- ///
- public MapsGeofenceGeometry()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the MapsGeofenceGeometry class.
- ///
- /// ID of the device.
- /// Distance from the coordinate to the closest
- /// border of the geofence. Positive means the coordinate is outside of
- /// the geofence. If the coordinate is outside of the geofence, but
- /// more than the value of searchBuffer away from the closest geofence
- /// border, then the value is 999. Negative means the coordinate is
- /// inside of the geofence. If the coordinate is inside the polygon,
- /// but more than the value of searchBuffer away from the closest
- /// geofencing border,then the value is -999. A value of 999 means that
- /// there is great confidence the coordinate is well outside the
- /// geofence. A value of -999 means that there is great confidence the
- /// coordinate is well within the geofence.
- /// The unique ID for the geofence
- /// geometry.
- /// Latitude of the nearest point of the
- /// geometry.
- /// Longitude of the nearest point of the
- /// geometry.
- /// The unique id returned from user upload service
- /// when uploading a geofence. Will not be included in geofencing post
- /// API.
- public MapsGeofenceGeometry(string deviceId = default(string), double? distance = default(double?), string geometryId = default(string), double? nearestLat = default(double?), double? nearestLon = default(double?), string udId = default(string))
- {
- DeviceId = deviceId;
- Distance = distance;
- GeometryId = geometryId;
- NearestLat = nearestLat;
- NearestLon = nearestLon;
- UdId = udId;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets ID of the device.
- ///
- [JsonProperty(PropertyName = "deviceId")]
- public string DeviceId { get; set; }
-
- ///
- /// Gets or sets distance from the coordinate to the closest border of
- /// the geofence. Positive means the coordinate is outside of the
- /// geofence. If the coordinate is outside of the geofence, but more
- /// than the value of searchBuffer away from the closest geofence
- /// border, then the value is 999. Negative means the coordinate is
- /// inside of the geofence. If the coordinate is inside the polygon,
- /// but more than the value of searchBuffer away from the closest
- /// geofencing border,then the value is -999. A value of 999 means that
- /// there is great confidence the coordinate is well outside the
- /// geofence. A value of -999 means that there is great confidence the
- /// coordinate is well within the geofence.
- ///
- [JsonProperty(PropertyName = "distance")]
- public double? Distance { get; set; }
-
- ///
- /// Gets or sets the unique ID for the geofence geometry.
- ///
- [JsonProperty(PropertyName = "geometryId")]
- public string GeometryId { get; set; }
-
- ///
- /// Gets or sets latitude of the nearest point of the geometry.
- ///
- [JsonProperty(PropertyName = "nearestLat")]
- public double? NearestLat { get; set; }
-
- ///
- /// Gets or sets longitude of the nearest point of the geometry.
- ///
- [JsonProperty(PropertyName = "nearestLon")]
- public double? NearestLon { get; set; }
-
- ///
- /// Gets or sets the unique id returned from user upload service when
- /// uploading a geofence. Will not be included in geofencing post API.
- ///
- [JsonProperty(PropertyName = "udId")]
- public string UdId { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MapsGeofenceResultEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MapsGeofenceResultEventData.cs
deleted file mode 100644
index 39c305cee7e18..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MapsGeofenceResultEventData.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for a
- /// Microsoft.Maps.GeofenceResult event.
- ///
- public partial class MapsGeofenceResultEventData : MapsGeofenceEventProperties
- {
- ///
- /// Initializes a new instance of the MapsGeofenceResultEventData
- /// class.
- ///
- public MapsGeofenceResultEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the MapsGeofenceResultEventData
- /// class.
- ///
- /// Lists of the geometry ID of
- /// the geofence which is expired relative to the user time in the
- /// request.
- /// Lists the fence geometries that either
- /// fully contain the coordinate position or have an overlap with the
- /// searchBuffer around the fence.
- /// Lists of the geometry
- /// ID of the geofence which is in invalid period relative to the user
- /// time in the request.
- /// True if at least one event is
- /// published to the Azure Maps event subscriber, false if no event is
- /// published to the Azure Maps event subscriber.
- public MapsGeofenceResultEventData(IList expiredGeofenceGeometryId = default(IList), IList geometries = default(IList), IList invalidPeriodGeofenceGeometryId = default(IList), bool? isEventPublished = default(bool?))
- : base(expiredGeofenceGeometryId, geometries, invalidPeriodGeofenceGeometryId, isEventPublished)
- {
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobCanceledEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobCanceledEventData.cs
deleted file mode 100644
index 96c45396fdc1a..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobCanceledEventData.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
-
- ///
- /// Job canceled event data
- ///
- public partial class MediaJobCanceledEventData : MediaJobStateChangeEventData
- {
- ///
- /// Initializes a new instance of the MediaJobCanceledEventData class.
- ///
- public MediaJobCanceledEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the MediaJobCanceledEventData class.
- ///
- /// The previous state of the Job. Possible
- /// values include: 'Canceled', 'Canceling', 'Error', 'Finished',
- /// 'Processing', 'Queued', 'Scheduled'
- /// The new state of the Job. Possible values
- /// include: 'Canceled', 'Canceling', 'Error', 'Finished',
- /// 'Processing', 'Queued', 'Scheduled'
- /// Gets the Job correlation
- /// data.
- /// Gets the Job outputs.
- public MediaJobCanceledEventData(MediaJobState previousState = default(MediaJobState), MediaJobState state = default(MediaJobState), IDictionary correlationData = default(IDictionary), IList outputs = default(IList))
- : base(previousState, state, correlationData)
- {
- Outputs = outputs;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets the Job outputs.
- ///
- [JsonProperty(PropertyName = "outputs")]
- public IList Outputs { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobCancelingEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobCancelingEventData.cs
deleted file mode 100644
index 5bf04ba25d58e..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobCancelingEventData.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
-
- ///
- /// Job canceling event data
- ///
- public partial class MediaJobCancelingEventData : MediaJobStateChangeEventData
- {
- ///
- /// Initializes a new instance of the MediaJobCancelingEventData class.
- ///
- public MediaJobCancelingEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the MediaJobCancelingEventData class.
- ///
- /// The previous state of the Job. Possible
- /// values include: 'Canceled', 'Canceling', 'Error', 'Finished',
- /// 'Processing', 'Queued', 'Scheduled'
- /// The new state of the Job. Possible values
- /// include: 'Canceled', 'Canceling', 'Error', 'Finished',
- /// 'Processing', 'Queued', 'Scheduled'
- /// Gets the Job correlation
- /// data.
- public MediaJobCancelingEventData(MediaJobState previousState = default(MediaJobState), MediaJobState state = default(MediaJobState), IDictionary correlationData = default(IDictionary))
- : base(previousState, state, correlationData)
- {
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobError.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobError.cs
deleted file mode 100644
index 614f9b76faed6..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobError.cs
+++ /dev/null
@@ -1,106 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
-
- ///
- /// Details of JobOutput errors.
- ///
- public partial class MediaJobError
- {
- ///
- /// Initializes a new instance of the MediaJobError class.
- ///
- public MediaJobError()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the MediaJobError class.
- ///
- /// Error code describing the error. Possible values
- /// include: 'ServiceError', 'ServiceTransientError',
- /// 'DownloadNotAccessible', 'DownloadTransientError',
- /// 'UploadNotAccessible', 'UploadTransientError',
- /// 'ConfigurationUnsupported', 'ContentMalformed',
- /// 'ContentUnsupported'
- /// A human-readable language-dependent
- /// representation of the error.
- /// Helps with categorization of errors.
- /// Possible values include: 'Service', 'Download', 'Upload',
- /// 'Configuration', 'Content'
- /// Indicates that it may be possible to retry the
- /// Job. If retry is unsuccessful, please contact Azure support via
- /// Azure Portal. Possible values include: 'DoNotRetry',
- /// 'MayRetry'
- /// An array of details about specific errors
- /// that led to this reported error.
- public MediaJobError(MediaJobErrorCode code = default(MediaJobErrorCode), string message = default(string), MediaJobErrorCategory category = default(MediaJobErrorCategory), MediaJobRetry retry = default(MediaJobRetry), IList details = default(IList))
- {
- Code = code;
- Message = message;
- Category = category;
- Retry = retry;
- Details = details;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets error code describing the error. Possible values include:
- /// 'ServiceError', 'ServiceTransientError', 'DownloadNotAccessible',
- /// 'DownloadTransientError', 'UploadNotAccessible',
- /// 'UploadTransientError', 'ConfigurationUnsupported',
- /// 'ContentMalformed', 'ContentUnsupported'
- ///
- [JsonProperty(PropertyName = "code")]
- public MediaJobErrorCode Code { get; private set; }
-
- ///
- /// Gets a human-readable language-dependent representation of the
- /// error.
- ///
- [JsonProperty(PropertyName = "message")]
- public string Message { get; private set; }
-
- ///
- /// Gets helps with categorization of errors. Possible values include:
- /// 'Service', 'Download', 'Upload', 'Configuration', 'Content'
- ///
- [JsonProperty(PropertyName = "category")]
- public MediaJobErrorCategory Category { get; private set; }
-
- ///
- /// Gets indicates that it may be possible to retry the Job. If retry
- /// is unsuccessful, please contact Azure support via Azure Portal.
- /// Possible values include: 'DoNotRetry', 'MayRetry'
- ///
- [JsonProperty(PropertyName = "retry")]
- public MediaJobRetry Retry { get; private set; }
-
- ///
- /// Gets an array of details about specific errors that led to this
- /// reported error.
- ///
- [JsonProperty(PropertyName = "details")]
- public IList Details { get; private set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobErrorCategory.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobErrorCategory.cs
deleted file mode 100644
index 123807d7ccc3b..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobErrorCategory.cs
+++ /dev/null
@@ -1,93 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using Newtonsoft.Json.Converters;
- using System.Runtime;
- using System.Runtime.Serialization;
-
- ///
- /// Defines values for MediaJobErrorCategory.
- ///
- [JsonConverter(typeof(StringEnumConverter))]
- public enum MediaJobErrorCategory
- {
- ///
- /// The error is service related.
- ///
- [EnumMember(Value = "Service")]
- Service,
- ///
- /// The error is download related.
- ///
- [EnumMember(Value = "Download")]
- Download,
- ///
- /// The error is upload related.
- ///
- [EnumMember(Value = "Upload")]
- Upload,
- ///
- /// The error is configuration related.
- ///
- [EnumMember(Value = "Configuration")]
- Configuration,
- ///
- /// The error is related to data in the input files.
- ///
- [EnumMember(Value = "Content")]
- Content
- }
- internal static class MediaJobErrorCategoryEnumExtension
- {
- internal static string ToSerializedValue(this MediaJobErrorCategory? value)
- {
- return value == null ? null : ((MediaJobErrorCategory)value).ToSerializedValue();
- }
-
- internal static string ToSerializedValue(this MediaJobErrorCategory value)
- {
- switch( value )
- {
- case MediaJobErrorCategory.Service:
- return "Service";
- case MediaJobErrorCategory.Download:
- return "Download";
- case MediaJobErrorCategory.Upload:
- return "Upload";
- case MediaJobErrorCategory.Configuration:
- return "Configuration";
- case MediaJobErrorCategory.Content:
- return "Content";
- }
- return null;
- }
-
- internal static MediaJobErrorCategory? ParseMediaJobErrorCategory(this string value)
- {
- switch( value )
- {
- case "Service":
- return MediaJobErrorCategory.Service;
- case "Download":
- return MediaJobErrorCategory.Download;
- case "Upload":
- return MediaJobErrorCategory.Upload;
- case "Configuration":
- return MediaJobErrorCategory.Configuration;
- case "Content":
- return MediaJobErrorCategory.Content;
- }
- return null;
- }
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobErrorCode.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobErrorCode.cs
deleted file mode 100644
index 9c58900301d6b..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobErrorCode.cs
+++ /dev/null
@@ -1,142 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using Newtonsoft.Json.Converters;
- using System.Runtime;
- using System.Runtime.Serialization;
-
- ///
- /// Defines values for MediaJobErrorCode.
- ///
- [JsonConverter(typeof(StringEnumConverter))]
- public enum MediaJobErrorCode
- {
- ///
- /// Fatal service error, please contact support.
- ///
- [EnumMember(Value = "ServiceError")]
- ServiceError,
- ///
- /// Transient error, please retry, if retry is unsuccessful, please
- /// contact support.
- ///
- [EnumMember(Value = "ServiceTransientError")]
- ServiceTransientError,
- ///
- /// While trying to download the input files, the files were not
- /// accessible, please check the availability of the source.
- ///
- [EnumMember(Value = "DownloadNotAccessible")]
- DownloadNotAccessible,
- ///
- /// While trying to download the input files, there was an issue during
- /// transfer (storage service, network errors), see details and check
- /// your source.
- ///
- [EnumMember(Value = "DownloadTransientError")]
- DownloadTransientError,
- ///
- /// While trying to upload the output files, the destination was not
- /// reachable, please check the availability of the destination.
- ///
- [EnumMember(Value = "UploadNotAccessible")]
- UploadNotAccessible,
- ///
- /// While trying to upload the output files, there was an issue during
- /// transfer (storage service, network errors), see details and check
- /// your destination.
- ///
- [EnumMember(Value = "UploadTransientError")]
- UploadTransientError,
- ///
- /// There was a problem with the combination of input files and the
- /// configuration settings applied, fix the configuration settings and
- /// retry with the same input, or change input to match the
- /// configuration.
- ///
- [EnumMember(Value = "ConfigurationUnsupported")]
- ConfigurationUnsupported,
- ///
- /// There was a problem with the input content (for example: zero byte
- /// files, or corrupt/non-decodable files), check the input files.
- ///
- [EnumMember(Value = "ContentMalformed")]
- ContentMalformed,
- ///
- /// There was a problem with the format of the input (not valid media
- /// file, or an unsupported file/codec), check the validity of the
- /// input files.
- ///
- [EnumMember(Value = "ContentUnsupported")]
- ContentUnsupported
- }
- internal static class MediaJobErrorCodeEnumExtension
- {
- internal static string ToSerializedValue(this MediaJobErrorCode? value)
- {
- return value == null ? null : ((MediaJobErrorCode)value).ToSerializedValue();
- }
-
- internal static string ToSerializedValue(this MediaJobErrorCode value)
- {
- switch( value )
- {
- case MediaJobErrorCode.ServiceError:
- return "ServiceError";
- case MediaJobErrorCode.ServiceTransientError:
- return "ServiceTransientError";
- case MediaJobErrorCode.DownloadNotAccessible:
- return "DownloadNotAccessible";
- case MediaJobErrorCode.DownloadTransientError:
- return "DownloadTransientError";
- case MediaJobErrorCode.UploadNotAccessible:
- return "UploadNotAccessible";
- case MediaJobErrorCode.UploadTransientError:
- return "UploadTransientError";
- case MediaJobErrorCode.ConfigurationUnsupported:
- return "ConfigurationUnsupported";
- case MediaJobErrorCode.ContentMalformed:
- return "ContentMalformed";
- case MediaJobErrorCode.ContentUnsupported:
- return "ContentUnsupported";
- }
- return null;
- }
-
- internal static MediaJobErrorCode? ParseMediaJobErrorCode(this string value)
- {
- switch( value )
- {
- case "ServiceError":
- return MediaJobErrorCode.ServiceError;
- case "ServiceTransientError":
- return MediaJobErrorCode.ServiceTransientError;
- case "DownloadNotAccessible":
- return MediaJobErrorCode.DownloadNotAccessible;
- case "DownloadTransientError":
- return MediaJobErrorCode.DownloadTransientError;
- case "UploadNotAccessible":
- return MediaJobErrorCode.UploadNotAccessible;
- case "UploadTransientError":
- return MediaJobErrorCode.UploadTransientError;
- case "ConfigurationUnsupported":
- return MediaJobErrorCode.ConfigurationUnsupported;
- case "ContentMalformed":
- return MediaJobErrorCode.ContentMalformed;
- case "ContentUnsupported":
- return MediaJobErrorCode.ContentUnsupported;
- }
- return null;
- }
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobErrorDetail.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobErrorDetail.cs
deleted file mode 100644
index f1eeb1005db6b..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobErrorDetail.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Details of JobOutput errors.
- ///
- public partial class MediaJobErrorDetail
- {
- ///
- /// Initializes a new instance of the MediaJobErrorDetail class.
- ///
- public MediaJobErrorDetail()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the MediaJobErrorDetail class.
- ///
- /// Code describing the error detail.
- /// A human-readable representation of the
- /// error.
- public MediaJobErrorDetail(string code = default(string), string message = default(string))
- {
- Code = code;
- Message = message;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets code describing the error detail.
- ///
- [JsonProperty(PropertyName = "code")]
- public string Code { get; private set; }
-
- ///
- /// Gets a human-readable representation of the error.
- ///
- [JsonProperty(PropertyName = "message")]
- public string Message { get; private set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobErroredEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobErroredEventData.cs
deleted file mode 100644
index 5059b8a2bad90..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobErroredEventData.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
-
- ///
- /// Job error state event data
- ///
- public partial class MediaJobErroredEventData : MediaJobStateChangeEventData
- {
- ///
- /// Initializes a new instance of the MediaJobErroredEventData class.
- ///
- public MediaJobErroredEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the MediaJobErroredEventData class.
- ///
- /// The previous state of the Job. Possible
- /// values include: 'Canceled', 'Canceling', 'Error', 'Finished',
- /// 'Processing', 'Queued', 'Scheduled'
- /// The new state of the Job. Possible values
- /// include: 'Canceled', 'Canceling', 'Error', 'Finished',
- /// 'Processing', 'Queued', 'Scheduled'
- /// Gets the Job correlation
- /// data.
- /// Gets the Job outputs.
- public MediaJobErroredEventData(MediaJobState previousState = default(MediaJobState), MediaJobState state = default(MediaJobState), IDictionary correlationData = default(IDictionary), IList outputs = default(IList))
- : base(previousState, state, correlationData)
- {
- Outputs = outputs;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets the Job outputs.
- ///
- [JsonProperty(PropertyName = "outputs")]
- public IList Outputs { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobFinishedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobFinishedEventData.cs
deleted file mode 100644
index 354b4748b69f3..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobFinishedEventData.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
-
- ///
- /// Job finished event data
- ///
- public partial class MediaJobFinishedEventData : MediaJobStateChangeEventData
- {
- ///
- /// Initializes a new instance of the MediaJobFinishedEventData class.
- ///
- public MediaJobFinishedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the MediaJobFinishedEventData class.
- ///
- /// The previous state of the Job. Possible
- /// values include: 'Canceled', 'Canceling', 'Error', 'Finished',
- /// 'Processing', 'Queued', 'Scheduled'
- /// The new state of the Job. Possible values
- /// include: 'Canceled', 'Canceling', 'Error', 'Finished',
- /// 'Processing', 'Queued', 'Scheduled'
- /// Gets the Job correlation
- /// data.
- /// Gets the Job outputs.
- public MediaJobFinishedEventData(MediaJobState previousState = default(MediaJobState), MediaJobState state = default(MediaJobState), IDictionary correlationData = default(IDictionary), IList outputs = default(IList))
- : base(previousState, state, correlationData)
- {
- Outputs = outputs;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets the Job outputs.
- ///
- [JsonProperty(PropertyName = "outputs")]
- public IList Outputs { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutput.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutput.cs
deleted file mode 100644
index 74dc9c62ab450..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutput.cs
+++ /dev/null
@@ -1,89 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// The event data for a Job output.
- ///
- [Newtonsoft.Json.JsonObject("MediaJobOutput")]
- public partial class MediaJobOutput
- {
- ///
- /// Initializes a new instance of the MediaJobOutput class.
- ///
- public MediaJobOutput()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the MediaJobOutput class.
- ///
- /// Gets the Job output progress.
- /// Gets the Job output state. Possible values
- /// include: 'Canceled', 'Canceling', 'Error', 'Finished',
- /// 'Processing', 'Queued', 'Scheduled'
- /// Gets the Job output error.
- /// Gets the Job output label.
- public MediaJobOutput(long progress, MediaJobState state, MediaJobError error = default(MediaJobError), string label = default(string))
- {
- Error = error;
- Label = label;
- Progress = progress;
- State = state;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets the Job output error.
- ///
- [JsonProperty(PropertyName = "error")]
- public MediaJobError Error { get; set; }
-
- ///
- /// Gets the Job output label.
- ///
- [JsonProperty(PropertyName = "label")]
- public string Label { get; set; }
-
- ///
- /// Gets the Job output progress.
- ///
- [JsonProperty(PropertyName = "progress")]
- public long Progress { get; set; }
-
- ///
- /// Gets the Job output state. Possible values include: 'Canceled',
- /// 'Canceling', 'Error', 'Finished', 'Processing', 'Queued',
- /// 'Scheduled'
- ///
- [JsonProperty(PropertyName = "state")]
- public MediaJobState State { get; set; }
-
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- }
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputAsset.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputAsset.cs
deleted file mode 100644
index 0ed32743cae71..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputAsset.cs
+++ /dev/null
@@ -1,69 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// The event data for a Job output asset.
- ///
- [Newtonsoft.Json.JsonObject("#Microsoft.Media.JobOutputAsset")]
- public partial class MediaJobOutputAsset : MediaJobOutput
- {
- ///
- /// Initializes a new instance of the MediaJobOutputAsset class.
- ///
- public MediaJobOutputAsset()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the MediaJobOutputAsset class.
- ///
- /// Gets the Job output progress.
- /// Gets the Job output state. Possible values
- /// include: 'Canceled', 'Canceling', 'Error', 'Finished',
- /// 'Processing', 'Queued', 'Scheduled'
- /// Gets the Job output error.
- /// Gets the Job output label.
- /// Gets the Job output asset name.
- public MediaJobOutputAsset(long progress, MediaJobState state, MediaJobError error = default(MediaJobError), string label = default(string), string assetName = default(string))
- : base(progress, state, error, label)
- {
- AssetName = assetName;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets the Job output asset name.
- ///
- [JsonProperty(PropertyName = "assetName")]
- public string AssetName { get; set; }
-
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public override void Validate()
- {
- base.Validate();
- }
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputCanceledEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputCanceledEventData.cs
deleted file mode 100644
index 9e0744b9ca8ec..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputCanceledEventData.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
-
- ///
- /// Job output canceled event data
- ///
- public partial class MediaJobOutputCanceledEventData : MediaJobOutputStateChangeEventData
- {
- ///
- /// Initializes a new instance of the MediaJobOutputCanceledEventData
- /// class.
- ///
- public MediaJobOutputCanceledEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the MediaJobOutputCanceledEventData
- /// class.
- ///
- /// The previous state of the Job. Possible
- /// values include: 'Canceled', 'Canceling', 'Error', 'Finished',
- /// 'Processing', 'Queued', 'Scheduled'
- /// Gets the output.
- /// Gets the Job correlation
- /// data.
- public MediaJobOutputCanceledEventData(MediaJobState previousState = default(MediaJobState), MediaJobOutput output = default(MediaJobOutput), IDictionary jobCorrelationData = default(IDictionary))
- : base(previousState, output, jobCorrelationData)
- {
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public override void Validate()
- {
- base.Validate();
- }
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputCancelingEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputCancelingEventData.cs
deleted file mode 100644
index d0c2debfcf8b6..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputCancelingEventData.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
-
- ///
- /// Job output canceling event data
- ///
- public partial class MediaJobOutputCancelingEventData : MediaJobOutputStateChangeEventData
- {
- ///
- /// Initializes a new instance of the MediaJobOutputCancelingEventData
- /// class.
- ///
- public MediaJobOutputCancelingEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the MediaJobOutputCancelingEventData
- /// class.
- ///
- /// The previous state of the Job. Possible
- /// values include: 'Canceled', 'Canceling', 'Error', 'Finished',
- /// 'Processing', 'Queued', 'Scheduled'
- /// Gets the output.
- /// Gets the Job correlation
- /// data.
- public MediaJobOutputCancelingEventData(MediaJobState previousState = default(MediaJobState), MediaJobOutput output = default(MediaJobOutput), IDictionary jobCorrelationData = default(IDictionary))
- : base(previousState, output, jobCorrelationData)
- {
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public override void Validate()
- {
- base.Validate();
- }
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputErroredEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputErroredEventData.cs
deleted file mode 100644
index cb85133188016..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputErroredEventData.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
-
- ///
- /// Job output error event data
- ///
- public partial class MediaJobOutputErroredEventData : MediaJobOutputStateChangeEventData
- {
- ///
- /// Initializes a new instance of the MediaJobOutputErroredEventData
- /// class.
- ///
- public MediaJobOutputErroredEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the MediaJobOutputErroredEventData
- /// class.
- ///
- /// The previous state of the Job. Possible
- /// values include: 'Canceled', 'Canceling', 'Error', 'Finished',
- /// 'Processing', 'Queued', 'Scheduled'
- /// Gets the output.
- /// Gets the Job correlation
- /// data.
- public MediaJobOutputErroredEventData(MediaJobState previousState = default(MediaJobState), MediaJobOutput output = default(MediaJobOutput), IDictionary jobCorrelationData = default(IDictionary))
- : base(previousState, output, jobCorrelationData)
- {
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public override void Validate()
- {
- base.Validate();
- }
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputFinishedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputFinishedEventData.cs
deleted file mode 100644
index 21138787e2df4..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputFinishedEventData.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
-
- ///
- /// Job output finished event data
- ///
- public partial class MediaJobOutputFinishedEventData : MediaJobOutputStateChangeEventData
- {
- ///
- /// Initializes a new instance of the MediaJobOutputFinishedEventData
- /// class.
- ///
- public MediaJobOutputFinishedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the MediaJobOutputFinishedEventData
- /// class.
- ///
- /// The previous state of the Job. Possible
- /// values include: 'Canceled', 'Canceling', 'Error', 'Finished',
- /// 'Processing', 'Queued', 'Scheduled'
- /// Gets the output.
- /// Gets the Job correlation
- /// data.
- public MediaJobOutputFinishedEventData(MediaJobState previousState = default(MediaJobState), MediaJobOutput output = default(MediaJobOutput), IDictionary jobCorrelationData = default(IDictionary))
- : base(previousState, output, jobCorrelationData)
- {
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public override void Validate()
- {
- base.Validate();
- }
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputProcessingEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputProcessingEventData.cs
deleted file mode 100644
index c14131ddf61a2..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputProcessingEventData.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
-
- ///
- /// Job output processing event data
- ///
- public partial class MediaJobOutputProcessingEventData : MediaJobOutputStateChangeEventData
- {
- ///
- /// Initializes a new instance of the MediaJobOutputProcessingEventData
- /// class.
- ///
- public MediaJobOutputProcessingEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the MediaJobOutputProcessingEventData
- /// class.
- ///
- /// The previous state of the Job. Possible
- /// values include: 'Canceled', 'Canceling', 'Error', 'Finished',
- /// 'Processing', 'Queued', 'Scheduled'
- /// Gets the output.
- /// Gets the Job correlation
- /// data.
- public MediaJobOutputProcessingEventData(MediaJobState previousState = default(MediaJobState), MediaJobOutput output = default(MediaJobOutput), IDictionary jobCorrelationData = default(IDictionary))
- : base(previousState, output, jobCorrelationData)
- {
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public override void Validate()
- {
- base.Validate();
- }
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputProgressEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputProgressEventData.cs
deleted file mode 100644
index 1fc19c1b46f41..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputProgressEventData.cs
+++ /dev/null
@@ -1,72 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
-
- ///
- /// Job Output Progress Event Data.
- ///
- public partial class MediaJobOutputProgressEventData
- {
- ///
- /// Initializes a new instance of the MediaJobOutputProgressEventData
- /// class.
- ///
- public MediaJobOutputProgressEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the MediaJobOutputProgressEventData
- /// class.
- ///
- /// Gets the Job output label.
- /// Gets the Job output progress.
- /// Gets the Job correlation
- /// data.
- public MediaJobOutputProgressEventData(string label = default(string), long? progress = default(long?), IDictionary jobCorrelationData = default(IDictionary))
- {
- Label = label;
- Progress = progress;
- JobCorrelationData = jobCorrelationData;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets the Job output label.
- ///
- [JsonProperty(PropertyName = "label")]
- public string Label { get; set; }
-
- ///
- /// Gets the Job output progress.
- ///
- [JsonProperty(PropertyName = "progress")]
- public long? Progress { get; set; }
-
- ///
- /// Gets the Job correlation data.
- ///
- [JsonProperty(PropertyName = "jobCorrelationData")]
- public IDictionary JobCorrelationData { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputScheduledEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputScheduledEventData.cs
deleted file mode 100644
index e9e2caa29aea6..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputScheduledEventData.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
-
- ///
- /// Job output scheduled event data
- ///
- public partial class MediaJobOutputScheduledEventData : MediaJobOutputStateChangeEventData
- {
- ///
- /// Initializes a new instance of the MediaJobOutputScheduledEventData
- /// class.
- ///
- public MediaJobOutputScheduledEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the MediaJobOutputScheduledEventData
- /// class.
- ///
- /// The previous state of the Job. Possible
- /// values include: 'Canceled', 'Canceling', 'Error', 'Finished',
- /// 'Processing', 'Queued', 'Scheduled'
- /// Gets the output.
- /// Gets the Job correlation
- /// data.
- public MediaJobOutputScheduledEventData(MediaJobState previousState = default(MediaJobState), MediaJobOutput output = default(MediaJobOutput), IDictionary jobCorrelationData = default(IDictionary))
- : base(previousState, output, jobCorrelationData)
- {
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public override void Validate()
- {
- base.Validate();
- }
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputStateChangeEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputStateChangeEventData.cs
deleted file mode 100644
index cf7d7c0a8ff5b..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobOutputStateChangeEventData.cs
+++ /dev/null
@@ -1,90 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for a
- /// Microsoft.Media.JobOutputStateChange event.
- ///
- public partial class MediaJobOutputStateChangeEventData
- {
- ///
- /// Initializes a new instance of the
- /// MediaJobOutputStateChangeEventData class.
- ///
- public MediaJobOutputStateChangeEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// MediaJobOutputStateChangeEventData class.
- ///
- /// The previous state of the Job. Possible
- /// values include: 'Canceled', 'Canceling', 'Error', 'Finished',
- /// 'Processing', 'Queued', 'Scheduled'
- /// Gets the output.
- /// Gets the Job correlation
- /// data.
- public MediaJobOutputStateChangeEventData(MediaJobState previousState = default(MediaJobState), MediaJobOutput output = default(MediaJobOutput), IDictionary jobCorrelationData = default(IDictionary))
- {
- PreviousState = previousState;
- Output = output;
- JobCorrelationData = jobCorrelationData;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets the previous state of the Job. Possible values include:
- /// 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing',
- /// 'Queued', 'Scheduled'
- ///
- [JsonProperty(PropertyName = "previousState")]
- public MediaJobState PreviousState { get; private set; }
-
- ///
- /// Gets the output.
- ///
- [JsonProperty(PropertyName = "output")]
- public MediaJobOutput Output { get; set; }
-
- ///
- /// Gets the Job correlation data.
- ///
- [JsonProperty(PropertyName = "jobCorrelationData")]
- public IDictionary JobCorrelationData { get; set; }
-
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- if (Output != null)
- {
- Output.Validate();
- }
- }
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobProcessingEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobProcessingEventData.cs
deleted file mode 100644
index 0a9e941d0c44b..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobProcessingEventData.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
-
- ///
- /// Job processing event data
- ///
- public partial class MediaJobProcessingEventData : MediaJobStateChangeEventData
- {
- ///
- /// Initializes a new instance of the MediaJobProcessingEventData
- /// class.
- ///
- public MediaJobProcessingEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the MediaJobProcessingEventData
- /// class.
- ///
- /// The previous state of the Job. Possible
- /// values include: 'Canceled', 'Canceling', 'Error', 'Finished',
- /// 'Processing', 'Queued', 'Scheduled'
- /// The new state of the Job. Possible values
- /// include: 'Canceled', 'Canceling', 'Error', 'Finished',
- /// 'Processing', 'Queued', 'Scheduled'
- /// Gets the Job correlation
- /// data.
- public MediaJobProcessingEventData(MediaJobState previousState = default(MediaJobState), MediaJobState state = default(MediaJobState), IDictionary correlationData = default(IDictionary))
- : base(previousState, state, correlationData)
- {
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobRetry.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobRetry.cs
deleted file mode 100644
index fda5c43f54028..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobRetry.cs
+++ /dev/null
@@ -1,69 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using Newtonsoft.Json.Converters;
- using System.Runtime;
- using System.Runtime.Serialization;
-
- ///
- /// Defines values for MediaJobRetry.
- ///
- [JsonConverter(typeof(StringEnumConverter))]
- public enum MediaJobRetry
- {
- ///
- /// Issue needs to be investigated and then the job resubmitted with
- /// corrections or retried once the underlying issue has been
- /// corrected.
- ///
- [EnumMember(Value = "DoNotRetry")]
- DoNotRetry,
- ///
- /// Issue may be resolved after waiting for a period of time and
- /// resubmitting the same Job.
- ///
- [EnumMember(Value = "MayRetry")]
- MayRetry
- }
- internal static class MediaJobRetryEnumExtension
- {
- internal static string ToSerializedValue(this MediaJobRetry? value)
- {
- return value == null ? null : ((MediaJobRetry)value).ToSerializedValue();
- }
-
- internal static string ToSerializedValue(this MediaJobRetry value)
- {
- switch( value )
- {
- case MediaJobRetry.DoNotRetry:
- return "DoNotRetry";
- case MediaJobRetry.MayRetry:
- return "MayRetry";
- }
- return null;
- }
-
- internal static MediaJobRetry? ParseMediaJobRetry(this string value)
- {
- switch( value )
- {
- case "DoNotRetry":
- return MediaJobRetry.DoNotRetry;
- case "MayRetry":
- return MediaJobRetry.MayRetry;
- }
- return null;
- }
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobScheduledEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobScheduledEventData.cs
deleted file mode 100644
index 1547246fd9420..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobScheduledEventData.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
-
- ///
- /// Job scheduled event data
- ///
- public partial class MediaJobScheduledEventData : MediaJobStateChangeEventData
- {
- ///
- /// Initializes a new instance of the MediaJobScheduledEventData class.
- ///
- public MediaJobScheduledEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the MediaJobScheduledEventData class.
- ///
- /// The previous state of the Job. Possible
- /// values include: 'Canceled', 'Canceling', 'Error', 'Finished',
- /// 'Processing', 'Queued', 'Scheduled'
- /// The new state of the Job. Possible values
- /// include: 'Canceled', 'Canceling', 'Error', 'Finished',
- /// 'Processing', 'Queued', 'Scheduled'
- /// Gets the Job correlation
- /// data.
- public MediaJobScheduledEventData(MediaJobState previousState = default(MediaJobState), MediaJobState state = default(MediaJobState), IDictionary correlationData = default(IDictionary))
- : base(previousState, state, correlationData)
- {
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobState.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobState.cs
deleted file mode 100644
index 05f4ebfb5402c..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobState.cs
+++ /dev/null
@@ -1,115 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using Newtonsoft.Json.Converters;
- using System.Runtime;
- using System.Runtime.Serialization;
-
- ///
- /// Defines values for MediaJobState.
- ///
- [JsonConverter(typeof(StringEnumConverter))]
- public enum MediaJobState
- {
- ///
- /// The job was canceled. This is a final state for the job.
- ///
- [EnumMember(Value = "Canceled")]
- Canceled,
- ///
- /// The job is in the process of being canceled. This is a transient
- /// state for the job.
- ///
- [EnumMember(Value = "Canceling")]
- Canceling,
- ///
- /// The job has encountered an error. This is a final state for the
- /// job.
- ///
- [EnumMember(Value = "Error")]
- Error,
- ///
- /// The job is finished. This is a final state for the job.
- ///
- [EnumMember(Value = "Finished")]
- Finished,
- ///
- /// The job is processing. This is a transient state for the job.
- ///
- [EnumMember(Value = "Processing")]
- Processing,
- ///
- /// The job is in a queued state, waiting for resources to become
- /// available. This is a transient state.
- ///
- [EnumMember(Value = "Queued")]
- Queued,
- ///
- /// The job is being scheduled to run on an available resource. This is
- /// a transient state, between queued and processing states.
- ///
- [EnumMember(Value = "Scheduled")]
- Scheduled
- }
- internal static class MediaJobStateEnumExtension
- {
- internal static string ToSerializedValue(this MediaJobState? value)
- {
- return value == null ? null : ((MediaJobState)value).ToSerializedValue();
- }
-
- internal static string ToSerializedValue(this MediaJobState value)
- {
- switch( value )
- {
- case MediaJobState.Canceled:
- return "Canceled";
- case MediaJobState.Canceling:
- return "Canceling";
- case MediaJobState.Error:
- return "Error";
- case MediaJobState.Finished:
- return "Finished";
- case MediaJobState.Processing:
- return "Processing";
- case MediaJobState.Queued:
- return "Queued";
- case MediaJobState.Scheduled:
- return "Scheduled";
- }
- return null;
- }
-
- internal static MediaJobState? ParseMediaJobState(this string value)
- {
- switch( value )
- {
- case "Canceled":
- return MediaJobState.Canceled;
- case "Canceling":
- return MediaJobState.Canceling;
- case "Error":
- return MediaJobState.Error;
- case "Finished":
- return MediaJobState.Finished;
- case "Processing":
- return MediaJobState.Processing;
- case "Queued":
- return MediaJobState.Queued;
- case "Scheduled":
- return MediaJobState.Scheduled;
- }
- return null;
- }
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobStateChangeEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobStateChangeEventData.cs
deleted file mode 100644
index a357f4dfc8dfa..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaJobStateChangeEventData.cs
+++ /dev/null
@@ -1,81 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for a
- /// Microsoft.Media.JobStateChange event.
- ///
- public partial class MediaJobStateChangeEventData
- {
- ///
- /// Initializes a new instance of the MediaJobStateChangeEventData
- /// class.
- ///
- public MediaJobStateChangeEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the MediaJobStateChangeEventData
- /// class.
- ///
- /// The previous state of the Job. Possible
- /// values include: 'Canceled', 'Canceling', 'Error', 'Finished',
- /// 'Processing', 'Queued', 'Scheduled'
- /// The new state of the Job. Possible values
- /// include: 'Canceled', 'Canceling', 'Error', 'Finished',
- /// 'Processing', 'Queued', 'Scheduled'
- /// Gets the Job correlation
- /// data.
- public MediaJobStateChangeEventData(MediaJobState previousState = default(MediaJobState), MediaJobState state = default(MediaJobState), IDictionary correlationData = default(IDictionary))
- {
- PreviousState = previousState;
- State = state;
- CorrelationData = correlationData;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets the previous state of the Job. Possible values include:
- /// 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing',
- /// 'Queued', 'Scheduled'
- ///
- [JsonProperty(PropertyName = "previousState")]
- public MediaJobState PreviousState { get; private set; }
-
- ///
- /// Gets the new state of the Job. Possible values include: 'Canceled',
- /// 'Canceling', 'Error', 'Finished', 'Processing', 'Queued',
- /// 'Scheduled'
- ///
- [JsonProperty(PropertyName = "state")]
- public MediaJobState State { get; private set; }
-
- ///
- /// Gets the Job correlation data.
- ///
- [JsonProperty(PropertyName = "correlationData")]
- public IDictionary CorrelationData { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventConnectionRejectedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventConnectionRejectedEventData.cs
deleted file mode 100644
index 656aeabc25fe7..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventConnectionRejectedEventData.cs
+++ /dev/null
@@ -1,86 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Encoder connection rejected event data.
- ///
- public partial class MediaLiveEventConnectionRejectedEventData
- {
- ///
- /// Initializes a new instance of the
- /// MediaLiveEventConnectionRejectedEventData class.
- ///
- public MediaLiveEventConnectionRejectedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// MediaLiveEventConnectionRejectedEventData class.
- ///
- /// Gets the ingest URL provided by the live
- /// event.
- /// Gets the stream Id.
- /// Gets the remote IP.
- /// Gets the remote port.
- /// Gets the result code.
- public MediaLiveEventConnectionRejectedEventData(string ingestUrl = default(string), string streamId = default(string), string encoderIp = default(string), string encoderPort = default(string), string resultCode = default(string))
- {
- IngestUrl = ingestUrl;
- StreamId = streamId;
- EncoderIp = encoderIp;
- EncoderPort = encoderPort;
- ResultCode = resultCode;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets the ingest URL provided by the live event.
- ///
- [JsonProperty(PropertyName = "ingestUrl")]
- public string IngestUrl { get; private set; }
-
- ///
- /// Gets the stream Id.
- ///
- [JsonProperty(PropertyName = "streamId")]
- public string StreamId { get; private set; }
-
- ///
- /// Gets the remote IP.
- ///
- [JsonProperty(PropertyName = "encoderIp")]
- public string EncoderIp { get; private set; }
-
- ///
- /// Gets the remote port.
- ///
- [JsonProperty(PropertyName = "encoderPort")]
- public string EncoderPort { get; private set; }
-
- ///
- /// Gets the result code.
- ///
- [JsonProperty(PropertyName = "resultCode")]
- public string ResultCode { get; private set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventEncoderConnectedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventEncoderConnectedEventData.cs
deleted file mode 100644
index 720d99f9f5219..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventEncoderConnectedEventData.cs
+++ /dev/null
@@ -1,78 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Encoder connect event data.
- ///
- public partial class MediaLiveEventEncoderConnectedEventData
- {
- ///
- /// Initializes a new instance of the
- /// MediaLiveEventEncoderConnectedEventData class.
- ///
- public MediaLiveEventEncoderConnectedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// MediaLiveEventEncoderConnectedEventData class.
- ///
- /// Gets the ingest URL provided by the live
- /// event.
- /// Gets the stream Id.
- /// Gets the remote IP.
- /// Gets the remote port.
- public MediaLiveEventEncoderConnectedEventData(string ingestUrl = default(string), string streamId = default(string), string encoderIp = default(string), string encoderPort = default(string))
- {
- IngestUrl = ingestUrl;
- StreamId = streamId;
- EncoderIp = encoderIp;
- EncoderPort = encoderPort;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets the ingest URL provided by the live event.
- ///
- [JsonProperty(PropertyName = "ingestUrl")]
- public string IngestUrl { get; private set; }
-
- ///
- /// Gets the stream Id.
- ///
- [JsonProperty(PropertyName = "streamId")]
- public string StreamId { get; private set; }
-
- ///
- /// Gets the remote IP.
- ///
- [JsonProperty(PropertyName = "encoderIp")]
- public string EncoderIp { get; private set; }
-
- ///
- /// Gets the remote port.
- ///
- [JsonProperty(PropertyName = "encoderPort")]
- public string EncoderPort { get; private set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventEncoderDisconnectedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventEncoderDisconnectedEventData.cs
deleted file mode 100644
index 1347336e7af09..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventEncoderDisconnectedEventData.cs
+++ /dev/null
@@ -1,86 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Encoder disconnected event data.
- ///
- public partial class MediaLiveEventEncoderDisconnectedEventData
- {
- ///
- /// Initializes a new instance of the
- /// MediaLiveEventEncoderDisconnectedEventData class.
- ///
- public MediaLiveEventEncoderDisconnectedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// MediaLiveEventEncoderDisconnectedEventData class.
- ///
- /// Gets the ingest URL provided by the live
- /// event.
- /// Gets the stream Id.
- /// Gets the remote IP.
- /// Gets the remote port.
- /// Gets the result code.
- public MediaLiveEventEncoderDisconnectedEventData(string ingestUrl = default(string), string streamId = default(string), string encoderIp = default(string), string encoderPort = default(string), string resultCode = default(string))
- {
- IngestUrl = ingestUrl;
- StreamId = streamId;
- EncoderIp = encoderIp;
- EncoderPort = encoderPort;
- ResultCode = resultCode;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets the ingest URL provided by the live event.
- ///
- [JsonProperty(PropertyName = "ingestUrl")]
- public string IngestUrl { get; private set; }
-
- ///
- /// Gets the stream Id.
- ///
- [JsonProperty(PropertyName = "streamId")]
- public string StreamId { get; private set; }
-
- ///
- /// Gets the remote IP.
- ///
- [JsonProperty(PropertyName = "encoderIp")]
- public string EncoderIp { get; private set; }
-
- ///
- /// Gets the remote port.
- ///
- [JsonProperty(PropertyName = "encoderPort")]
- public string EncoderPort { get; private set; }
-
- ///
- /// Gets the result code.
- ///
- [JsonProperty(PropertyName = "resultCode")]
- public string ResultCode { get; private set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventIncomingDataChunkDroppedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventIncomingDataChunkDroppedEventData.cs
deleted file mode 100644
index 8181c973ae4e9..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventIncomingDataChunkDroppedEventData.cs
+++ /dev/null
@@ -1,98 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Ingest fragment dropped event data.
- ///
- public partial class MediaLiveEventIncomingDataChunkDroppedEventData
- {
- ///
- /// Initializes a new instance of the
- /// MediaLiveEventIncomingDataChunkDroppedEventData class.
- ///
- public MediaLiveEventIncomingDataChunkDroppedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// MediaLiveEventIncomingDataChunkDroppedEventData class.
- ///
- /// Gets the timestamp of the data chunk
- /// dropped.
- /// Gets the type of the track (Audio /
- /// Video).
- /// Gets the bitrate of the track.
- /// Gets the timescale of the
- /// Timestamp.
- /// Gets the result code for fragment drop
- /// operation.
- /// Gets the name of the track for which
- /// fragment is dropped.
- public MediaLiveEventIncomingDataChunkDroppedEventData(string timestamp = default(string), string trackType = default(string), long? bitrate = default(long?), string timescale = default(string), string resultCode = default(string), string trackName = default(string))
- {
- Timestamp = timestamp;
- TrackType = trackType;
- Bitrate = bitrate;
- Timescale = timescale;
- ResultCode = resultCode;
- TrackName = trackName;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets the timestamp of the data chunk dropped.
- ///
- [JsonProperty(PropertyName = "timestamp")]
- public string Timestamp { get; private set; }
-
- ///
- /// Gets the type of the track (Audio / Video).
- ///
- [JsonProperty(PropertyName = "trackType")]
- public string TrackType { get; private set; }
-
- ///
- /// Gets the bitrate of the track.
- ///
- [JsonProperty(PropertyName = "bitrate")]
- public long? Bitrate { get; private set; }
-
- ///
- /// Gets the timescale of the Timestamp.
- ///
- [JsonProperty(PropertyName = "timescale")]
- public string Timescale { get; private set; }
-
- ///
- /// Gets the result code for fragment drop operation.
- ///
- [JsonProperty(PropertyName = "resultCode")]
- public string ResultCode { get; private set; }
-
- ///
- /// Gets the name of the track for which fragment is dropped.
- ///
- [JsonProperty(PropertyName = "trackName")]
- public string TrackName { get; private set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventIncomingStreamReceivedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventIncomingStreamReceivedEventData.cs
deleted file mode 100644
index ab211e6697f99..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventIncomingStreamReceivedEventData.cs
+++ /dev/null
@@ -1,122 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Encoder connect event data.
- ///
- public partial class MediaLiveEventIncomingStreamReceivedEventData
- {
- ///
- /// Initializes a new instance of the
- /// MediaLiveEventIncomingStreamReceivedEventData class.
- ///
- public MediaLiveEventIncomingStreamReceivedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// MediaLiveEventIncomingStreamReceivedEventData class.
- ///
- /// Gets the ingest URL provided by the live
- /// event.
- /// Gets the type of the track (Audio /
- /// Video).
- /// Gets the track name.
- /// Gets the bitrate of the track.
- /// Gets the remote IP.
- /// Gets the remote port.
- /// Gets the first timestamp of the data chunk
- /// received.
- /// Gets the duration of the first data
- /// chunk.
- /// Gets the timescale in which timestamp is
- /// represented.
- public MediaLiveEventIncomingStreamReceivedEventData(string ingestUrl = default(string), string trackType = default(string), string trackName = default(string), long? bitrate = default(long?), string encoderIp = default(string), string encoderPort = default(string), string timestamp = default(string), string duration = default(string), string timescale = default(string))
- {
- IngestUrl = ingestUrl;
- TrackType = trackType;
- TrackName = trackName;
- Bitrate = bitrate;
- EncoderIp = encoderIp;
- EncoderPort = encoderPort;
- Timestamp = timestamp;
- Duration = duration;
- Timescale = timescale;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets the ingest URL provided by the live event.
- ///
- [JsonProperty(PropertyName = "ingestUrl")]
- public string IngestUrl { get; private set; }
-
- ///
- /// Gets the type of the track (Audio / Video).
- ///
- [JsonProperty(PropertyName = "trackType")]
- public string TrackType { get; private set; }
-
- ///
- /// Gets the track name.
- ///
- [JsonProperty(PropertyName = "trackName")]
- public string TrackName { get; private set; }
-
- ///
- /// Gets the bitrate of the track.
- ///
- [JsonProperty(PropertyName = "bitrate")]
- public long? Bitrate { get; private set; }
-
- ///
- /// Gets the remote IP.
- ///
- [JsonProperty(PropertyName = "encoderIp")]
- public string EncoderIp { get; private set; }
-
- ///
- /// Gets the remote port.
- ///
- [JsonProperty(PropertyName = "encoderPort")]
- public string EncoderPort { get; private set; }
-
- ///
- /// Gets the first timestamp of the data chunk received.
- ///
- [JsonProperty(PropertyName = "timestamp")]
- public string Timestamp { get; private set; }
-
- ///
- /// Gets the duration of the first data chunk.
- ///
- [JsonProperty(PropertyName = "duration")]
- public string Duration { get; private set; }
-
- ///
- /// Gets the timescale in which timestamp is represented.
- ///
- [JsonProperty(PropertyName = "timescale")]
- public string Timescale { get; private set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventIncomingStreamsOutOfSyncEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventIncomingStreamsOutOfSyncEventData.cs
deleted file mode 100644
index 2ba563ff6e3a7..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventIncomingStreamsOutOfSyncEventData.cs
+++ /dev/null
@@ -1,99 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Incoming streams out of sync event data.
- ///
- public partial class MediaLiveEventIncomingStreamsOutOfSyncEventData
- {
- ///
- /// Initializes a new instance of the
- /// MediaLiveEventIncomingStreamsOutOfSyncEventData class.
- ///
- public MediaLiveEventIncomingStreamsOutOfSyncEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// MediaLiveEventIncomingStreamsOutOfSyncEventData class.
- ///
- /// Gets the minimum last timestamp
- /// received.
- /// Gets the type of
- /// stream with minimum last timestamp.
- /// Gets the maximum timestamp among all
- /// the tracks (audio or video).
- /// Gets the type of
- /// stream with maximum last timestamp.
- /// Gets the timescale in
- /// which "MinLastTimestamp" is represented.
- /// Gets the timescale in
- /// which "MaxLastTimestamp" is represented.
- public MediaLiveEventIncomingStreamsOutOfSyncEventData(string minLastTimestamp = default(string), string typeOfStreamWithMinLastTimestamp = default(string), string maxLastTimestamp = default(string), string typeOfStreamWithMaxLastTimestamp = default(string), string timescaleOfMinLastTimestamp = default(string), string timescaleOfMaxLastTimestamp = default(string))
- {
- MinLastTimestamp = minLastTimestamp;
- TypeOfStreamWithMinLastTimestamp = typeOfStreamWithMinLastTimestamp;
- MaxLastTimestamp = maxLastTimestamp;
- TypeOfStreamWithMaxLastTimestamp = typeOfStreamWithMaxLastTimestamp;
- TimescaleOfMinLastTimestamp = timescaleOfMinLastTimestamp;
- TimescaleOfMaxLastTimestamp = timescaleOfMaxLastTimestamp;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets the minimum last timestamp received.
- ///
- [JsonProperty(PropertyName = "minLastTimestamp")]
- public string MinLastTimestamp { get; private set; }
-
- ///
- /// Gets the type of stream with minimum last timestamp.
- ///
- [JsonProperty(PropertyName = "typeOfStreamWithMinLastTimestamp")]
- public string TypeOfStreamWithMinLastTimestamp { get; private set; }
-
- ///
- /// Gets the maximum timestamp among all the tracks (audio or video).
- ///
- [JsonProperty(PropertyName = "maxLastTimestamp")]
- public string MaxLastTimestamp { get; private set; }
-
- ///
- /// Gets the type of stream with maximum last timestamp.
- ///
- [JsonProperty(PropertyName = "typeOfStreamWithMaxLastTimestamp")]
- public string TypeOfStreamWithMaxLastTimestamp { get; private set; }
-
- ///
- /// Gets the timescale in which "MinLastTimestamp" is represented.
- ///
- [JsonProperty(PropertyName = "timescaleOfMinLastTimestamp")]
- public string TimescaleOfMinLastTimestamp { get; private set; }
-
- ///
- /// Gets the timescale in which "MaxLastTimestamp" is represented.
- ///
- [JsonProperty(PropertyName = "timescaleOfMaxLastTimestamp")]
- public string TimescaleOfMaxLastTimestamp { get; private set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventIncomingVideoStreamsOutOfSyncEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventIncomingVideoStreamsOutOfSyncEventData.cs
deleted file mode 100644
index 4cfa7036ada0e..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventIncomingVideoStreamsOutOfSyncEventData.cs
+++ /dev/null
@@ -1,91 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Incoming video stream out of synch event data.
- ///
- public partial class MediaLiveEventIncomingVideoStreamsOutOfSyncEventData
- {
- ///
- /// Initializes a new instance of the
- /// MediaLiveEventIncomingVideoStreamsOutOfSyncEventData class.
- ///
- public MediaLiveEventIncomingVideoStreamsOutOfSyncEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// MediaLiveEventIncomingVideoStreamsOutOfSyncEventData class.
- ///
- /// Gets the first timestamp received for
- /// one of the quality levels.
- /// Gets the duration of the data chunk
- /// with first timestamp.
- /// Gets the timestamp received for some
- /// other quality levels.
- /// Gets the duration of the data chunk
- /// with second timestamp.
- /// Gets the timescale in which both the
- /// timestamps and durations are represented.
- public MediaLiveEventIncomingVideoStreamsOutOfSyncEventData(string firstTimestamp = default(string), string firstDuration = default(string), string secondTimestamp = default(string), string secondDuration = default(string), string timescale = default(string))
- {
- FirstTimestamp = firstTimestamp;
- FirstDuration = firstDuration;
- SecondTimestamp = secondTimestamp;
- SecondDuration = secondDuration;
- Timescale = timescale;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets the first timestamp received for one of the quality levels.
- ///
- [JsonProperty(PropertyName = "firstTimestamp")]
- public string FirstTimestamp { get; private set; }
-
- ///
- /// Gets the duration of the data chunk with first timestamp.
- ///
- [JsonProperty(PropertyName = "firstDuration")]
- public string FirstDuration { get; private set; }
-
- ///
- /// Gets the timestamp received for some other quality levels.
- ///
- [JsonProperty(PropertyName = "secondTimestamp")]
- public string SecondTimestamp { get; private set; }
-
- ///
- /// Gets the duration of the data chunk with second timestamp.
- ///
- [JsonProperty(PropertyName = "secondDuration")]
- public string SecondDuration { get; private set; }
-
- ///
- /// Gets the timescale in which both the timestamps and durations are
- /// represented.
- ///
- [JsonProperty(PropertyName = "timescale")]
- public string Timescale { get; private set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventIngestHeartbeatEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventIngestHeartbeatEventData.cs
deleted file mode 100644
index 01411774c1f37..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventIngestHeartbeatEventData.cs
+++ /dev/null
@@ -1,147 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Ingest fragment dropped event data.
- ///
- public partial class MediaLiveEventIngestHeartbeatEventData
- {
- ///
- /// Initializes a new instance of the
- /// MediaLiveEventIngestHeartbeatEventData class.
- ///
- public MediaLiveEventIngestHeartbeatEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// MediaLiveEventIngestHeartbeatEventData class.
- ///
- /// Gets the type of the track (Audio /
- /// Video).
- /// Gets the track name.
- /// Gets the bitrate of the track.
- /// Gets the incoming bitrate.
- /// Gets the last timestamp.
- /// Gets the timescale of the last
- /// timestamp.
- /// Gets the fragment Overlap count.
- /// Gets the fragment Discontinuity
- /// count.
- /// Gets Non increasing count.
- /// Gets a value indicating whether
- /// unexpected bitrate is present or not.
- /// Gets the state of the live event.
- /// Gets a value indicating whether preview is
- /// healthy or not.
- public MediaLiveEventIngestHeartbeatEventData(string trackType = default(string), string trackName = default(string), long? bitrate = default(long?), long? incomingBitrate = default(long?), string lastTimestamp = default(string), string timescale = default(string), long? overlapCount = default(long?), long? discontinuityCount = default(long?), long? nonincreasingCount = default(long?), bool? unexpectedBitrate = default(bool?), string state = default(string), bool? healthy = default(bool?))
- {
- TrackType = trackType;
- TrackName = trackName;
- Bitrate = bitrate;
- IncomingBitrate = incomingBitrate;
- LastTimestamp = lastTimestamp;
- Timescale = timescale;
- OverlapCount = overlapCount;
- DiscontinuityCount = discontinuityCount;
- NonincreasingCount = nonincreasingCount;
- UnexpectedBitrate = unexpectedBitrate;
- State = state;
- Healthy = healthy;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets the type of the track (Audio / Video).
- ///
- [JsonProperty(PropertyName = "trackType")]
- public string TrackType { get; private set; }
-
- ///
- /// Gets the track name.
- ///
- [JsonProperty(PropertyName = "trackName")]
- public string TrackName { get; private set; }
-
- ///
- /// Gets the bitrate of the track.
- ///
- [JsonProperty(PropertyName = "bitrate")]
- public long? Bitrate { get; private set; }
-
- ///
- /// Gets the incoming bitrate.
- ///
- [JsonProperty(PropertyName = "incomingBitrate")]
- public long? IncomingBitrate { get; private set; }
-
- ///
- /// Gets the last timestamp.
- ///
- [JsonProperty(PropertyName = "lastTimestamp")]
- public string LastTimestamp { get; private set; }
-
- ///
- /// Gets the timescale of the last timestamp.
- ///
- [JsonProperty(PropertyName = "timescale")]
- public string Timescale { get; private set; }
-
- ///
- /// Gets the fragment Overlap count.
- ///
- [JsonProperty(PropertyName = "overlapCount")]
- public long? OverlapCount { get; private set; }
-
- ///
- /// Gets the fragment Discontinuity count.
- ///
- [JsonProperty(PropertyName = "discontinuityCount")]
- public long? DiscontinuityCount { get; private set; }
-
- ///
- /// Gets Non increasing count.
- ///
- [JsonProperty(PropertyName = "nonincreasingCount")]
- public long? NonincreasingCount { get; private set; }
-
- ///
- /// Gets a value indicating whether unexpected bitrate is present or
- /// not.
- ///
- [JsonProperty(PropertyName = "unexpectedBitrate")]
- public bool? UnexpectedBitrate { get; private set; }
-
- ///
- /// Gets the state of the live event.
- ///
- [JsonProperty(PropertyName = "state")]
- public string State { get; private set; }
-
- ///
- /// Gets a value indicating whether preview is healthy or not.
- ///
- [JsonProperty(PropertyName = "healthy")]
- public bool? Healthy { get; private set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventTrackDiscontinuityDetectedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventTrackDiscontinuityDetectedEventData.cs
deleted file mode 100644
index 2795e06a283e0..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/MediaLiveEventTrackDiscontinuityDetectedEventData.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Ingest track discontinuity detected event data.
- ///
- public partial class MediaLiveEventTrackDiscontinuityDetectedEventData
- {
- ///
- /// Initializes a new instance of the
- /// MediaLiveEventTrackDiscontinuityDetectedEventData class.
- ///
- public MediaLiveEventTrackDiscontinuityDetectedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// MediaLiveEventTrackDiscontinuityDetectedEventData class.
- ///
- /// Gets the type of the track (Audio /
- /// Video).
- /// Gets the track name.
- /// Gets the bitrate.
- /// Gets the timestamp of the previous
- /// fragment.
- /// Gets the timestamp of the current
- /// fragment.
- /// Gets the timescale in which both timestamps
- /// and discontinuity gap are represented.
- /// Gets the discontinuity gap between
- /// PreviousTimestamp and NewTimestamp.
- public MediaLiveEventTrackDiscontinuityDetectedEventData(string trackType = default(string), string trackName = default(string), long? bitrate = default(long?), string previousTimestamp = default(string), string newTimestamp = default(string), string timescale = default(string), string discontinuityGap = default(string))
- {
- TrackType = trackType;
- TrackName = trackName;
- Bitrate = bitrate;
- PreviousTimestamp = previousTimestamp;
- NewTimestamp = newTimestamp;
- Timescale = timescale;
- DiscontinuityGap = discontinuityGap;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets the type of the track (Audio / Video).
- ///
- [JsonProperty(PropertyName = "trackType")]
- public string TrackType { get; private set; }
-
- ///
- /// Gets the track name.
- ///
- [JsonProperty(PropertyName = "trackName")]
- public string TrackName { get; private set; }
-
- ///
- /// Gets the bitrate.
- ///
- [JsonProperty(PropertyName = "bitrate")]
- public long? Bitrate { get; private set; }
-
- ///
- /// Gets the timestamp of the previous fragment.
- ///
- [JsonProperty(PropertyName = "previousTimestamp")]
- public string PreviousTimestamp { get; private set; }
-
- ///
- /// Gets the timestamp of the current fragment.
- ///
- [JsonProperty(PropertyName = "newTimestamp")]
- public string NewTimestamp { get; private set; }
-
- ///
- /// Gets the timescale in which both timestamps and discontinuity gap
- /// are represented.
- ///
- [JsonProperty(PropertyName = "timescale")]
- public string Timescale { get; private set; }
-
- ///
- /// Gets the discontinuity gap between PreviousTimestamp and
- /// NewTimestamp.
- ///
- [JsonProperty(PropertyName = "discontinuityGap")]
- public string DiscontinuityGap { get; private set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/RedisExportRDBCompletedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/RedisExportRDBCompletedEventData.cs
deleted file mode 100644
index 89f6741f76d42..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/RedisExportRDBCompletedEventData.cs
+++ /dev/null
@@ -1,72 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.Cache.ExportRDBCompleted event.
- ///
- public partial class RedisExportRDBCompletedEventData
- {
- ///
- /// Initializes a new instance of the RedisExportRDBCompletedEventData
- /// class.
- ///
- public RedisExportRDBCompletedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the RedisExportRDBCompletedEventData
- /// class.
- ///
- /// The time at which the event
- /// occurred.
- /// The name of this event.
- /// The status of this event. Failed or succeeded
- ///
- public RedisExportRDBCompletedEventData(System.DateTime? timestamp = default(System.DateTime?), string name = default(string), string status = default(string))
- {
- Timestamp = timestamp;
- Name = name;
- Status = status;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the time at which the event occurred.
- ///
- [JsonProperty(PropertyName = "timestamp")]
- public System.DateTime? Timestamp { get; set; }
-
- ///
- /// Gets or sets the name of this event.
- ///
- [JsonProperty(PropertyName = "name")]
- public string Name { get; set; }
-
- ///
- /// Gets or sets the status of this event. Failed or succeeded
- ///
- [JsonProperty(PropertyName = "status")]
- public string Status { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/RedisImportRDBCompletedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/RedisImportRDBCompletedEventData.cs
deleted file mode 100644
index ff02a185985e3..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/RedisImportRDBCompletedEventData.cs
+++ /dev/null
@@ -1,72 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.Cache.ImportRDBCompleted event.
- ///
- public partial class RedisImportRDBCompletedEventData
- {
- ///
- /// Initializes a new instance of the RedisImportRDBCompletedEventData
- /// class.
- ///
- public RedisImportRDBCompletedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the RedisImportRDBCompletedEventData
- /// class.
- ///
- /// The time at which the event
- /// occurred.
- /// The name of this event.
- /// The status of this event. Failed or succeeded
- ///
- public RedisImportRDBCompletedEventData(System.DateTime? timestamp = default(System.DateTime?), string name = default(string), string status = default(string))
- {
- Timestamp = timestamp;
- Name = name;
- Status = status;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the time at which the event occurred.
- ///
- [JsonProperty(PropertyName = "timestamp")]
- public System.DateTime? Timestamp { get; set; }
-
- ///
- /// Gets or sets the name of this event.
- ///
- [JsonProperty(PropertyName = "name")]
- public string Name { get; set; }
-
- ///
- /// Gets or sets the status of this event. Failed or succeeded
- ///
- [JsonProperty(PropertyName = "status")]
- public string Status { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/RedisPatchingCompletedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/RedisPatchingCompletedEventData.cs
deleted file mode 100644
index 2e4d579d27440..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/RedisPatchingCompletedEventData.cs
+++ /dev/null
@@ -1,72 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.Cache.PatchingCompleted event.
- ///
- public partial class RedisPatchingCompletedEventData
- {
- ///
- /// Initializes a new instance of the RedisPatchingCompletedEventData
- /// class.
- ///
- public RedisPatchingCompletedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the RedisPatchingCompletedEventData
- /// class.
- ///
- /// The time at which the event
- /// occurred.
- /// The name of this event.
- /// The status of this event. Failed or succeeded
- ///
- public RedisPatchingCompletedEventData(System.DateTime? timestamp = default(System.DateTime?), string name = default(string), string status = default(string))
- {
- Timestamp = timestamp;
- Name = name;
- Status = status;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the time at which the event occurred.
- ///
- [JsonProperty(PropertyName = "timestamp")]
- public System.DateTime? Timestamp { get; set; }
-
- ///
- /// Gets or sets the name of this event.
- ///
- [JsonProperty(PropertyName = "name")]
- public string Name { get; set; }
-
- ///
- /// Gets or sets the status of this event. Failed or succeeded
- ///
- [JsonProperty(PropertyName = "status")]
- public string Status { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/RedisScalingCompletedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/RedisScalingCompletedEventData.cs
deleted file mode 100644
index 7bb9aa8edf64c..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/RedisScalingCompletedEventData.cs
+++ /dev/null
@@ -1,72 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.Cache.ScalingCompleted event.
- ///
- public partial class RedisScalingCompletedEventData
- {
- ///
- /// Initializes a new instance of the RedisScalingCompletedEventData
- /// class.
- ///
- public RedisScalingCompletedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the RedisScalingCompletedEventData
- /// class.
- ///
- /// The time at which the event
- /// occurred.
- /// The name of this event.
- /// The status of this event. Failed or succeeded
- ///
- public RedisScalingCompletedEventData(System.DateTime? timestamp = default(System.DateTime?), string name = default(string), string status = default(string))
- {
- Timestamp = timestamp;
- Name = name;
- Status = status;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the time at which the event occurred.
- ///
- [JsonProperty(PropertyName = "timestamp")]
- public System.DateTime? Timestamp { get; set; }
-
- ///
- /// Gets or sets the name of this event.
- ///
- [JsonProperty(PropertyName = "name")]
- public string Name { get; set; }
-
- ///
- /// Gets or sets the status of this event. Failed or succeeded
- ///
- [JsonProperty(PropertyName = "status")]
- public string Status { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceActionCancelData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceActionCancelData.cs
deleted file mode 100644
index e1550c0b21c7b..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceActionCancelData.cs
+++ /dev/null
@@ -1,140 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.Resources.ResourceActionCancel event. This is raised when a
- /// resource action operation is canceled.
- ///
- public partial class ResourceActionCancelData
- {
- ///
- /// Initializes a new instance of the ResourceActionCancelData class.
- ///
- public ResourceActionCancelData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the ResourceActionCancelData class.
- ///
- /// The tenant ID of the resource.
- /// The subscription ID of the
- /// resource.
- /// The resource group of the
- /// resource.
- /// The resource provider performing the
- /// operation.
- /// The URI of the resource in the
- /// operation.
- /// The operation that was
- /// performed.
- /// The status of the operation.
- /// The requested authorization for the
- /// operation.
- /// The properties of the claims.
- /// An operation ID used for
- /// troubleshooting.
- /// The details of the operation.
- public ResourceActionCancelData(string tenantId = default(string), string subscriptionId = default(string), string resourceGroup = default(string), string resourceProvider = default(string), string resourceUri = default(string), string operationName = default(string), string status = default(string), string authorization = default(string), string claims = default(string), string correlationId = default(string), string httpRequest = default(string))
- {
- TenantId = tenantId;
- SubscriptionId = subscriptionId;
- ResourceGroup = resourceGroup;
- ResourceProvider = resourceProvider;
- ResourceUri = resourceUri;
- OperationName = operationName;
- Status = status;
- Authorization = authorization;
- Claims = claims;
- CorrelationId = correlationId;
- HttpRequest = httpRequest;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the tenant ID of the resource.
- ///
- [JsonProperty(PropertyName = "tenantId")]
- public string TenantId { get; set; }
-
- ///
- /// Gets or sets the subscription ID of the resource.
- ///
- [JsonProperty(PropertyName = "subscriptionId")]
- public string SubscriptionId { get; set; }
-
- ///
- /// Gets or sets the resource group of the resource.
- ///
- [JsonProperty(PropertyName = "resourceGroup")]
- public string ResourceGroup { get; set; }
-
- ///
- /// Gets or sets the resource provider performing the operation.
- ///
- [JsonProperty(PropertyName = "resourceProvider")]
- public string ResourceProvider { get; set; }
-
- ///
- /// Gets or sets the URI of the resource in the operation.
- ///
- [JsonProperty(PropertyName = "resourceUri")]
- public string ResourceUri { get; set; }
-
- ///
- /// Gets or sets the operation that was performed.
- ///
- [JsonProperty(PropertyName = "operationName")]
- public string OperationName { get; set; }
-
- ///
- /// Gets or sets the status of the operation.
- ///
- [JsonProperty(PropertyName = "status")]
- public string Status { get; set; }
-
- ///
- /// Gets or sets the requested authorization for the operation.
- ///
- [JsonProperty(PropertyName = "authorization")]
- public string Authorization { get; set; }
-
- ///
- /// Gets or sets the properties of the claims.
- ///
- [JsonProperty(PropertyName = "claims")]
- public string Claims { get; set; }
-
- ///
- /// Gets or sets an operation ID used for troubleshooting.
- ///
- [JsonProperty(PropertyName = "correlationId")]
- public string CorrelationId { get; set; }
-
- ///
- /// Gets or sets the details of the operation.
- ///
- [JsonProperty(PropertyName = "httpRequest")]
- public string HttpRequest { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceActionFailureData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceActionFailureData.cs
deleted file mode 100644
index 230f7f24dcc1b..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceActionFailureData.cs
+++ /dev/null
@@ -1,140 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for a
- /// Microsoft.Resources.ResourceActionFailure event. This is raised when a
- /// resource action operation fails.
- ///
- public partial class ResourceActionFailureData
- {
- ///
- /// Initializes a new instance of the ResourceActionFailureData class.
- ///
- public ResourceActionFailureData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the ResourceActionFailureData class.
- ///
- /// The tenant ID of the resource.
- /// The subscription ID of the
- /// resource.
- /// The resource group of the
- /// resource.
- /// The resource provider performing the
- /// operation.
- /// The URI of the resource in the
- /// operation.
- /// The operation that was
- /// performed.
- /// The status of the operation.
- /// The requested authorization for the
- /// operation.
- /// The properties of the claims.
- /// An operation ID used for
- /// troubleshooting.
- /// The details of the operation.
- public ResourceActionFailureData(string tenantId = default(string), string subscriptionId = default(string), string resourceGroup = default(string), string resourceProvider = default(string), string resourceUri = default(string), string operationName = default(string), string status = default(string), string authorization = default(string), string claims = default(string), string correlationId = default(string), string httpRequest = default(string))
- {
- TenantId = tenantId;
- SubscriptionId = subscriptionId;
- ResourceGroup = resourceGroup;
- ResourceProvider = resourceProvider;
- ResourceUri = resourceUri;
- OperationName = operationName;
- Status = status;
- Authorization = authorization;
- Claims = claims;
- CorrelationId = correlationId;
- HttpRequest = httpRequest;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the tenant ID of the resource.
- ///
- [JsonProperty(PropertyName = "tenantId")]
- public string TenantId { get; set; }
-
- ///
- /// Gets or sets the subscription ID of the resource.
- ///
- [JsonProperty(PropertyName = "subscriptionId")]
- public string SubscriptionId { get; set; }
-
- ///
- /// Gets or sets the resource group of the resource.
- ///
- [JsonProperty(PropertyName = "resourceGroup")]
- public string ResourceGroup { get; set; }
-
- ///
- /// Gets or sets the resource provider performing the operation.
- ///
- [JsonProperty(PropertyName = "resourceProvider")]
- public string ResourceProvider { get; set; }
-
- ///
- /// Gets or sets the URI of the resource in the operation.
- ///
- [JsonProperty(PropertyName = "resourceUri")]
- public string ResourceUri { get; set; }
-
- ///
- /// Gets or sets the operation that was performed.
- ///
- [JsonProperty(PropertyName = "operationName")]
- public string OperationName { get; set; }
-
- ///
- /// Gets or sets the status of the operation.
- ///
- [JsonProperty(PropertyName = "status")]
- public string Status { get; set; }
-
- ///
- /// Gets or sets the requested authorization for the operation.
- ///
- [JsonProperty(PropertyName = "authorization")]
- public string Authorization { get; set; }
-
- ///
- /// Gets or sets the properties of the claims.
- ///
- [JsonProperty(PropertyName = "claims")]
- public string Claims { get; set; }
-
- ///
- /// Gets or sets an operation ID used for troubleshooting.
- ///
- [JsonProperty(PropertyName = "correlationId")]
- public string CorrelationId { get; set; }
-
- ///
- /// Gets or sets the details of the operation.
- ///
- [JsonProperty(PropertyName = "httpRequest")]
- public string HttpRequest { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceActionSuccessData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceActionSuccessData.cs
deleted file mode 100644
index f98497e0a88a3..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceActionSuccessData.cs
+++ /dev/null
@@ -1,140 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for a
- /// Microsoft.Resources.ResourceActionSuccess event. This is raised when a
- /// resource action operation succeeds.
- ///
- public partial class ResourceActionSuccessData
- {
- ///
- /// Initializes a new instance of the ResourceActionSuccessData class.
- ///
- public ResourceActionSuccessData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the ResourceActionSuccessData class.
- ///
- /// The tenant ID of the resource.
- /// The subscription ID of the
- /// resource.
- /// The resource group of the
- /// resource.
- /// The resource provider performing the
- /// operation.
- /// The URI of the resource in the
- /// operation.
- /// The operation that was
- /// performed.
- /// The status of the operation.
- /// The requested authorization for the
- /// operation.
- /// The properties of the claims.
- /// An operation ID used for
- /// troubleshooting.
- /// The details of the operation.
- public ResourceActionSuccessData(string tenantId = default(string), string subscriptionId = default(string), string resourceGroup = default(string), string resourceProvider = default(string), string resourceUri = default(string), string operationName = default(string), string status = default(string), string authorization = default(string), string claims = default(string), string correlationId = default(string), string httpRequest = default(string))
- {
- TenantId = tenantId;
- SubscriptionId = subscriptionId;
- ResourceGroup = resourceGroup;
- ResourceProvider = resourceProvider;
- ResourceUri = resourceUri;
- OperationName = operationName;
- Status = status;
- Authorization = authorization;
- Claims = claims;
- CorrelationId = correlationId;
- HttpRequest = httpRequest;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the tenant ID of the resource.
- ///
- [JsonProperty(PropertyName = "tenantId")]
- public string TenantId { get; set; }
-
- ///
- /// Gets or sets the subscription ID of the resource.
- ///
- [JsonProperty(PropertyName = "subscriptionId")]
- public string SubscriptionId { get; set; }
-
- ///
- /// Gets or sets the resource group of the resource.
- ///
- [JsonProperty(PropertyName = "resourceGroup")]
- public string ResourceGroup { get; set; }
-
- ///
- /// Gets or sets the resource provider performing the operation.
- ///
- [JsonProperty(PropertyName = "resourceProvider")]
- public string ResourceProvider { get; set; }
-
- ///
- /// Gets or sets the URI of the resource in the operation.
- ///
- [JsonProperty(PropertyName = "resourceUri")]
- public string ResourceUri { get; set; }
-
- ///
- /// Gets or sets the operation that was performed.
- ///
- [JsonProperty(PropertyName = "operationName")]
- public string OperationName { get; set; }
-
- ///
- /// Gets or sets the status of the operation.
- ///
- [JsonProperty(PropertyName = "status")]
- public string Status { get; set; }
-
- ///
- /// Gets or sets the requested authorization for the operation.
- ///
- [JsonProperty(PropertyName = "authorization")]
- public string Authorization { get; set; }
-
- ///
- /// Gets or sets the properties of the claims.
- ///
- [JsonProperty(PropertyName = "claims")]
- public string Claims { get; set; }
-
- ///
- /// Gets or sets an operation ID used for troubleshooting.
- ///
- [JsonProperty(PropertyName = "correlationId")]
- public string CorrelationId { get; set; }
-
- ///
- /// Gets or sets the details of the operation.
- ///
- [JsonProperty(PropertyName = "httpRequest")]
- public string HttpRequest { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceDeleteCancelData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceDeleteCancelData.cs
deleted file mode 100644
index eab149e42b069..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceDeleteCancelData.cs
+++ /dev/null
@@ -1,140 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.Resources.ResourceDeleteCancel event. This is raised when a
- /// resource delete operation is canceled.
- ///
- public partial class ResourceDeleteCancelData
- {
- ///
- /// Initializes a new instance of the ResourceDeleteCancelData class.
- ///
- public ResourceDeleteCancelData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the ResourceDeleteCancelData class.
- ///
- /// The tenant ID of the resource.
- /// The subscription ID of the
- /// resource.
- /// The resource group of the
- /// resource.
- /// The resource provider performing the
- /// operation.
- /// The URI of the resource in the
- /// operation.
- /// The operation that was
- /// performed.
- /// The status of the operation.
- /// The requested authorization for the
- /// operation.
- /// The properties of the claims.
- /// An operation ID used for
- /// troubleshooting.
- /// The details of the operation.
- public ResourceDeleteCancelData(string tenantId = default(string), string subscriptionId = default(string), string resourceGroup = default(string), string resourceProvider = default(string), string resourceUri = default(string), string operationName = default(string), string status = default(string), string authorization = default(string), string claims = default(string), string correlationId = default(string), string httpRequest = default(string))
- {
- TenantId = tenantId;
- SubscriptionId = subscriptionId;
- ResourceGroup = resourceGroup;
- ResourceProvider = resourceProvider;
- ResourceUri = resourceUri;
- OperationName = operationName;
- Status = status;
- Authorization = authorization;
- Claims = claims;
- CorrelationId = correlationId;
- HttpRequest = httpRequest;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the tenant ID of the resource.
- ///
- [JsonProperty(PropertyName = "tenantId")]
- public string TenantId { get; set; }
-
- ///
- /// Gets or sets the subscription ID of the resource.
- ///
- [JsonProperty(PropertyName = "subscriptionId")]
- public string SubscriptionId { get; set; }
-
- ///
- /// Gets or sets the resource group of the resource.
- ///
- [JsonProperty(PropertyName = "resourceGroup")]
- public string ResourceGroup { get; set; }
-
- ///
- /// Gets or sets the resource provider performing the operation.
- ///
- [JsonProperty(PropertyName = "resourceProvider")]
- public string ResourceProvider { get; set; }
-
- ///
- /// Gets or sets the URI of the resource in the operation.
- ///
- [JsonProperty(PropertyName = "resourceUri")]
- public string ResourceUri { get; set; }
-
- ///
- /// Gets or sets the operation that was performed.
- ///
- [JsonProperty(PropertyName = "operationName")]
- public string OperationName { get; set; }
-
- ///
- /// Gets or sets the status of the operation.
- ///
- [JsonProperty(PropertyName = "status")]
- public string Status { get; set; }
-
- ///
- /// Gets or sets the requested authorization for the operation.
- ///
- [JsonProperty(PropertyName = "authorization")]
- public string Authorization { get; set; }
-
- ///
- /// Gets or sets the properties of the claims.
- ///
- [JsonProperty(PropertyName = "claims")]
- public string Claims { get; set; }
-
- ///
- /// Gets or sets an operation ID used for troubleshooting.
- ///
- [JsonProperty(PropertyName = "correlationId")]
- public string CorrelationId { get; set; }
-
- ///
- /// Gets or sets the details of the operation.
- ///
- [JsonProperty(PropertyName = "httpRequest")]
- public string HttpRequest { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceDeleteFailureData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceDeleteFailureData.cs
deleted file mode 100644
index 1dcec747ac689..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceDeleteFailureData.cs
+++ /dev/null
@@ -1,140 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for a
- /// Microsoft.Resources.ResourceDeleteFailure event. This is raised when a
- /// resource delete operation fails.
- ///
- public partial class ResourceDeleteFailureData
- {
- ///
- /// Initializes a new instance of the ResourceDeleteFailureData class.
- ///
- public ResourceDeleteFailureData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the ResourceDeleteFailureData class.
- ///
- /// The tenant ID of the resource.
- /// The subscription ID of the
- /// resource.
- /// The resource group of the
- /// resource.
- /// The resource provider performing the
- /// operation.
- /// The URI of the resource in the
- /// operation.
- /// The operation that was
- /// performed.
- /// The status of the operation.
- /// The requested authorization for the
- /// operation.
- /// The properties of the claims.
- /// An operation ID used for
- /// troubleshooting.
- /// The details of the operation.
- public ResourceDeleteFailureData(string tenantId = default(string), string subscriptionId = default(string), string resourceGroup = default(string), string resourceProvider = default(string), string resourceUri = default(string), string operationName = default(string), string status = default(string), string authorization = default(string), string claims = default(string), string correlationId = default(string), string httpRequest = default(string))
- {
- TenantId = tenantId;
- SubscriptionId = subscriptionId;
- ResourceGroup = resourceGroup;
- ResourceProvider = resourceProvider;
- ResourceUri = resourceUri;
- OperationName = operationName;
- Status = status;
- Authorization = authorization;
- Claims = claims;
- CorrelationId = correlationId;
- HttpRequest = httpRequest;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the tenant ID of the resource.
- ///
- [JsonProperty(PropertyName = "tenantId")]
- public string TenantId { get; set; }
-
- ///
- /// Gets or sets the subscription ID of the resource.
- ///
- [JsonProperty(PropertyName = "subscriptionId")]
- public string SubscriptionId { get; set; }
-
- ///
- /// Gets or sets the resource group of the resource.
- ///
- [JsonProperty(PropertyName = "resourceGroup")]
- public string ResourceGroup { get; set; }
-
- ///
- /// Gets or sets the resource provider performing the operation.
- ///
- [JsonProperty(PropertyName = "resourceProvider")]
- public string ResourceProvider { get; set; }
-
- ///
- /// Gets or sets the URI of the resource in the operation.
- ///
- [JsonProperty(PropertyName = "resourceUri")]
- public string ResourceUri { get; set; }
-
- ///
- /// Gets or sets the operation that was performed.
- ///
- [JsonProperty(PropertyName = "operationName")]
- public string OperationName { get; set; }
-
- ///
- /// Gets or sets the status of the operation.
- ///
- [JsonProperty(PropertyName = "status")]
- public string Status { get; set; }
-
- ///
- /// Gets or sets the requested authorization for the operation.
- ///
- [JsonProperty(PropertyName = "authorization")]
- public string Authorization { get; set; }
-
- ///
- /// Gets or sets the properties of the claims.
- ///
- [JsonProperty(PropertyName = "claims")]
- public string Claims { get; set; }
-
- ///
- /// Gets or sets an operation ID used for troubleshooting.
- ///
- [JsonProperty(PropertyName = "correlationId")]
- public string CorrelationId { get; set; }
-
- ///
- /// Gets or sets the details of the operation.
- ///
- [JsonProperty(PropertyName = "httpRequest")]
- public string HttpRequest { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceDeleteSuccessData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceDeleteSuccessData.cs
deleted file mode 100644
index 07baa7d9c7304..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceDeleteSuccessData.cs
+++ /dev/null
@@ -1,140 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for a
- /// Microsoft.Resources.ResourceDeleteSuccess event. This is raised when a
- /// resource delete operation succeeds.
- ///
- public partial class ResourceDeleteSuccessData
- {
- ///
- /// Initializes a new instance of the ResourceDeleteSuccessData class.
- ///
- public ResourceDeleteSuccessData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the ResourceDeleteSuccessData class.
- ///
- /// The tenant ID of the resource.
- /// The subscription ID of the
- /// resource.
- /// The resource group of the
- /// resource.
- /// The resource provider performing the
- /// operation.
- /// The URI of the resource in the
- /// operation.
- /// The operation that was
- /// performed.
- /// The status of the operation.
- /// The requested authorization for the
- /// operation.
- /// The properties of the claims.
- /// An operation ID used for
- /// troubleshooting.
- /// The details of the operation.
- public ResourceDeleteSuccessData(string tenantId = default(string), string subscriptionId = default(string), string resourceGroup = default(string), string resourceProvider = default(string), string resourceUri = default(string), string operationName = default(string), string status = default(string), string authorization = default(string), string claims = default(string), string correlationId = default(string), string httpRequest = default(string))
- {
- TenantId = tenantId;
- SubscriptionId = subscriptionId;
- ResourceGroup = resourceGroup;
- ResourceProvider = resourceProvider;
- ResourceUri = resourceUri;
- OperationName = operationName;
- Status = status;
- Authorization = authorization;
- Claims = claims;
- CorrelationId = correlationId;
- HttpRequest = httpRequest;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the tenant ID of the resource.
- ///
- [JsonProperty(PropertyName = "tenantId")]
- public string TenantId { get; set; }
-
- ///
- /// Gets or sets the subscription ID of the resource.
- ///
- [JsonProperty(PropertyName = "subscriptionId")]
- public string SubscriptionId { get; set; }
-
- ///
- /// Gets or sets the resource group of the resource.
- ///
- [JsonProperty(PropertyName = "resourceGroup")]
- public string ResourceGroup { get; set; }
-
- ///
- /// Gets or sets the resource provider performing the operation.
- ///
- [JsonProperty(PropertyName = "resourceProvider")]
- public string ResourceProvider { get; set; }
-
- ///
- /// Gets or sets the URI of the resource in the operation.
- ///
- [JsonProperty(PropertyName = "resourceUri")]
- public string ResourceUri { get; set; }
-
- ///
- /// Gets or sets the operation that was performed.
- ///
- [JsonProperty(PropertyName = "operationName")]
- public string OperationName { get; set; }
-
- ///
- /// Gets or sets the status of the operation.
- ///
- [JsonProperty(PropertyName = "status")]
- public string Status { get; set; }
-
- ///
- /// Gets or sets the requested authorization for the operation.
- ///
- [JsonProperty(PropertyName = "authorization")]
- public string Authorization { get; set; }
-
- ///
- /// Gets or sets the properties of the claims.
- ///
- [JsonProperty(PropertyName = "claims")]
- public string Claims { get; set; }
-
- ///
- /// Gets or sets an operation ID used for troubleshooting.
- ///
- [JsonProperty(PropertyName = "correlationId")]
- public string CorrelationId { get; set; }
-
- ///
- /// Gets or sets the details of the operation.
- ///
- [JsonProperty(PropertyName = "httpRequest")]
- public string HttpRequest { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceWriteCancelData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceWriteCancelData.cs
deleted file mode 100644
index 67121dcb0d25a..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceWriteCancelData.cs
+++ /dev/null
@@ -1,140 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for a
- /// Microsoft.Resources.ResourceWriteCancel event. This is raised when a
- /// resource create or update operation is canceled.
- ///
- public partial class ResourceWriteCancelData
- {
- ///
- /// Initializes a new instance of the ResourceWriteCancelData class.
- ///
- public ResourceWriteCancelData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the ResourceWriteCancelData class.
- ///
- /// The tenant ID of the resource.
- /// The subscription ID of the
- /// resource.
- /// The resource group of the
- /// resource.
- /// The resource provider performing the
- /// operation.
- /// The URI of the resource in the
- /// operation.
- /// The operation that was
- /// performed.
- /// The status of the operation.
- /// The requested authorization for the
- /// operation.
- /// The properties of the claims.
- /// An operation ID used for
- /// troubleshooting.
- /// The details of the operation.
- public ResourceWriteCancelData(string tenantId = default(string), string subscriptionId = default(string), string resourceGroup = default(string), string resourceProvider = default(string), string resourceUri = default(string), string operationName = default(string), string status = default(string), string authorization = default(string), string claims = default(string), string correlationId = default(string), string httpRequest = default(string))
- {
- TenantId = tenantId;
- SubscriptionId = subscriptionId;
- ResourceGroup = resourceGroup;
- ResourceProvider = resourceProvider;
- ResourceUri = resourceUri;
- OperationName = operationName;
- Status = status;
- Authorization = authorization;
- Claims = claims;
- CorrelationId = correlationId;
- HttpRequest = httpRequest;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the tenant ID of the resource.
- ///
- [JsonProperty(PropertyName = "tenantId")]
- public string TenantId { get; set; }
-
- ///
- /// Gets or sets the subscription ID of the resource.
- ///
- [JsonProperty(PropertyName = "subscriptionId")]
- public string SubscriptionId { get; set; }
-
- ///
- /// Gets or sets the resource group of the resource.
- ///
- [JsonProperty(PropertyName = "resourceGroup")]
- public string ResourceGroup { get; set; }
-
- ///
- /// Gets or sets the resource provider performing the operation.
- ///
- [JsonProperty(PropertyName = "resourceProvider")]
- public string ResourceProvider { get; set; }
-
- ///
- /// Gets or sets the URI of the resource in the operation.
- ///
- [JsonProperty(PropertyName = "resourceUri")]
- public string ResourceUri { get; set; }
-
- ///
- /// Gets or sets the operation that was performed.
- ///
- [JsonProperty(PropertyName = "operationName")]
- public string OperationName { get; set; }
-
- ///
- /// Gets or sets the status of the operation.
- ///
- [JsonProperty(PropertyName = "status")]
- public string Status { get; set; }
-
- ///
- /// Gets or sets the requested authorization for the operation.
- ///
- [JsonProperty(PropertyName = "authorization")]
- public string Authorization { get; set; }
-
- ///
- /// Gets or sets the properties of the claims.
- ///
- [JsonProperty(PropertyName = "claims")]
- public string Claims { get; set; }
-
- ///
- /// Gets or sets an operation ID used for troubleshooting.
- ///
- [JsonProperty(PropertyName = "correlationId")]
- public string CorrelationId { get; set; }
-
- ///
- /// Gets or sets the details of the operation.
- ///
- [JsonProperty(PropertyName = "httpRequest")]
- public string HttpRequest { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceWriteFailureData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceWriteFailureData.cs
deleted file mode 100644
index d1176a1ba815e..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceWriteFailureData.cs
+++ /dev/null
@@ -1,140 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for a
- /// Microsoft.Resources.ResourceWriteFailure event. This is raised when a
- /// resource create or update operation fails.
- ///
- public partial class ResourceWriteFailureData
- {
- ///
- /// Initializes a new instance of the ResourceWriteFailureData class.
- ///
- public ResourceWriteFailureData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the ResourceWriteFailureData class.
- ///
- /// The tenant ID of the resource.
- /// The subscription ID of the
- /// resource.
- /// The resource group of the
- /// resource.
- /// The resource provider performing the
- /// operation.
- /// The URI of the resource in the
- /// operation.
- /// The operation that was
- /// performed.
- /// The status of the operation.
- /// The requested authorization for the
- /// operation.
- /// The properties of the claims.
- /// An operation ID used for
- /// troubleshooting.
- /// The details of the operation.
- public ResourceWriteFailureData(string tenantId = default(string), string subscriptionId = default(string), string resourceGroup = default(string), string resourceProvider = default(string), string resourceUri = default(string), string operationName = default(string), string status = default(string), string authorization = default(string), string claims = default(string), string correlationId = default(string), string httpRequest = default(string))
- {
- TenantId = tenantId;
- SubscriptionId = subscriptionId;
- ResourceGroup = resourceGroup;
- ResourceProvider = resourceProvider;
- ResourceUri = resourceUri;
- OperationName = operationName;
- Status = status;
- Authorization = authorization;
- Claims = claims;
- CorrelationId = correlationId;
- HttpRequest = httpRequest;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the tenant ID of the resource.
- ///
- [JsonProperty(PropertyName = "tenantId")]
- public string TenantId { get; set; }
-
- ///
- /// Gets or sets the subscription ID of the resource.
- ///
- [JsonProperty(PropertyName = "subscriptionId")]
- public string SubscriptionId { get; set; }
-
- ///
- /// Gets or sets the resource group of the resource.
- ///
- [JsonProperty(PropertyName = "resourceGroup")]
- public string ResourceGroup { get; set; }
-
- ///
- /// Gets or sets the resource provider performing the operation.
- ///
- [JsonProperty(PropertyName = "resourceProvider")]
- public string ResourceProvider { get; set; }
-
- ///
- /// Gets or sets the URI of the resource in the operation.
- ///
- [JsonProperty(PropertyName = "resourceUri")]
- public string ResourceUri { get; set; }
-
- ///
- /// Gets or sets the operation that was performed.
- ///
- [JsonProperty(PropertyName = "operationName")]
- public string OperationName { get; set; }
-
- ///
- /// Gets or sets the status of the operation.
- ///
- [JsonProperty(PropertyName = "status")]
- public string Status { get; set; }
-
- ///
- /// Gets or sets the requested authorization for the operation.
- ///
- [JsonProperty(PropertyName = "authorization")]
- public string Authorization { get; set; }
-
- ///
- /// Gets or sets the properties of the claims.
- ///
- [JsonProperty(PropertyName = "claims")]
- public string Claims { get; set; }
-
- ///
- /// Gets or sets an operation ID used for troubleshooting.
- ///
- [JsonProperty(PropertyName = "correlationId")]
- public string CorrelationId { get; set; }
-
- ///
- /// Gets or sets the details of the operation.
- ///
- [JsonProperty(PropertyName = "httpRequest")]
- public string HttpRequest { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceWriteSuccessData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceWriteSuccessData.cs
deleted file mode 100644
index 6732550dcaf81..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ResourceWriteSuccessData.cs
+++ /dev/null
@@ -1,140 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for a
- /// Microsoft.Resources.ResourceWriteSuccess event. This is raised when a
- /// resource create or update operation succeeds.
- ///
- public partial class ResourceWriteSuccessData
- {
- ///
- /// Initializes a new instance of the ResourceWriteSuccessData class.
- ///
- public ResourceWriteSuccessData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the ResourceWriteSuccessData class.
- ///
- /// The tenant ID of the resource.
- /// The subscription ID of the
- /// resource.
- /// The resource group of the
- /// resource.
- /// The resource provider performing the
- /// operation.
- /// The URI of the resource in the
- /// operation.
- /// The operation that was
- /// performed.
- /// The status of the operation.
- /// The requested authorization for the
- /// operation.
- /// The properties of the claims.
- /// An operation ID used for
- /// troubleshooting.
- /// The details of the operation.
- public ResourceWriteSuccessData(string tenantId = default(string), string subscriptionId = default(string), string resourceGroup = default(string), string resourceProvider = default(string), string resourceUri = default(string), string operationName = default(string), string status = default(string), string authorization = default(string), string claims = default(string), string correlationId = default(string), string httpRequest = default(string))
- {
- TenantId = tenantId;
- SubscriptionId = subscriptionId;
- ResourceGroup = resourceGroup;
- ResourceProvider = resourceProvider;
- ResourceUri = resourceUri;
- OperationName = operationName;
- Status = status;
- Authorization = authorization;
- Claims = claims;
- CorrelationId = correlationId;
- HttpRequest = httpRequest;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the tenant ID of the resource.
- ///
- [JsonProperty(PropertyName = "tenantId")]
- public string TenantId { get; set; }
-
- ///
- /// Gets or sets the subscription ID of the resource.
- ///
- [JsonProperty(PropertyName = "subscriptionId")]
- public string SubscriptionId { get; set; }
-
- ///
- /// Gets or sets the resource group of the resource.
- ///
- [JsonProperty(PropertyName = "resourceGroup")]
- public string ResourceGroup { get; set; }
-
- ///
- /// Gets or sets the resource provider performing the operation.
- ///
- [JsonProperty(PropertyName = "resourceProvider")]
- public string ResourceProvider { get; set; }
-
- ///
- /// Gets or sets the URI of the resource in the operation.
- ///
- [JsonProperty(PropertyName = "resourceUri")]
- public string ResourceUri { get; set; }
-
- ///
- /// Gets or sets the operation that was performed.
- ///
- [JsonProperty(PropertyName = "operationName")]
- public string OperationName { get; set; }
-
- ///
- /// Gets or sets the status of the operation.
- ///
- [JsonProperty(PropertyName = "status")]
- public string Status { get; set; }
-
- ///
- /// Gets or sets the requested authorization for the operation.
- ///
- [JsonProperty(PropertyName = "authorization")]
- public string Authorization { get; set; }
-
- ///
- /// Gets or sets the properties of the claims.
- ///
- [JsonProperty(PropertyName = "claims")]
- public string Claims { get; set; }
-
- ///
- /// Gets or sets an operation ID used for troubleshooting.
- ///
- [JsonProperty(PropertyName = "correlationId")]
- public string CorrelationId { get; set; }
-
- ///
- /// Gets or sets the details of the operation.
- ///
- [JsonProperty(PropertyName = "httpRequest")]
- public string HttpRequest { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ServiceBusActiveMessagesAvailableWithNoListenersEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ServiceBusActiveMessagesAvailableWithNoListenersEventData.cs
deleted file mode 100644
index 0c47aa5fc91ec..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ServiceBusActiveMessagesAvailableWithNoListenersEventData.cs
+++ /dev/null
@@ -1,110 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for a
- /// Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners event.
- ///
- public partial class ServiceBusActiveMessagesAvailableWithNoListenersEventData
- {
- ///
- /// Initializes a new instance of the
- /// ServiceBusActiveMessagesAvailableWithNoListenersEventData class.
- ///
- public ServiceBusActiveMessagesAvailableWithNoListenersEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// ServiceBusActiveMessagesAvailableWithNoListenersEventData class.
- ///
- /// The namespace name of the
- /// Microsoft.ServiceBus resource.
- /// The endpoint of the Microsoft.ServiceBus
- /// resource.
- /// The entity type of the
- /// Microsoft.ServiceBus resource. Could be one of 'queue' or
- /// 'subscriber'.
- /// The name of the Microsoft.ServiceBus queue.
- /// If the entity type is of type 'subscriber', then this value will be
- /// null.
- /// The name of the Microsoft.ServiceBus topic.
- /// If the entity type is of type 'queue', then this value will be
- /// null.
- /// The name of the Microsoft.ServiceBus
- /// topic's subscription. If the entity type is of type 'queue', then
- /// this value will be null.
- public ServiceBusActiveMessagesAvailableWithNoListenersEventData(string namespaceName = default(string), string requestUri = default(string), string entityType = default(string), string queueName = default(string), string topicName = default(string), string subscriptionName = default(string))
- {
- NamespaceName = namespaceName;
- RequestUri = requestUri;
- EntityType = entityType;
- QueueName = queueName;
- TopicName = topicName;
- SubscriptionName = subscriptionName;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the namespace name of the Microsoft.ServiceBus
- /// resource.
- ///
- [JsonProperty(PropertyName = "namespaceName")]
- public string NamespaceName { get; set; }
-
- ///
- /// Gets or sets the endpoint of the Microsoft.ServiceBus resource.
- ///
- [JsonProperty(PropertyName = "requestUri")]
- public string RequestUri { get; set; }
-
- ///
- /// Gets or sets the entity type of the Microsoft.ServiceBus resource.
- /// Could be one of 'queue' or 'subscriber'.
- ///
- [JsonProperty(PropertyName = "entityType")]
- public string EntityType { get; set; }
-
- ///
- /// Gets or sets the name of the Microsoft.ServiceBus queue. If the
- /// entity type is of type 'subscriber', then this value will be null.
- ///
- [JsonProperty(PropertyName = "queueName")]
- public string QueueName { get; set; }
-
- ///
- /// Gets or sets the name of the Microsoft.ServiceBus topic. If the
- /// entity type is of type 'queue', then this value will be null.
- ///
- [JsonProperty(PropertyName = "topicName")]
- public string TopicName { get; set; }
-
- ///
- /// Gets or sets the name of the Microsoft.ServiceBus topic's
- /// subscription. If the entity type is of type 'queue', then this
- /// value will be null.
- ///
- [JsonProperty(PropertyName = "subscriptionName")]
- public string SubscriptionName { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ServiceBusDeadletterMessagesAvailableWithNoListenersEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ServiceBusDeadletterMessagesAvailableWithNoListenersEventData.cs
deleted file mode 100644
index 80a5c1a705dd2..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/ServiceBusDeadletterMessagesAvailableWithNoListenersEventData.cs
+++ /dev/null
@@ -1,113 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for a
- /// Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListenersEvent
- /// event.
- ///
- public partial class ServiceBusDeadletterMessagesAvailableWithNoListenersEventData
- {
- ///
- /// Initializes a new instance of the
- /// ServiceBusDeadletterMessagesAvailableWithNoListenersEventData
- /// class.
- ///
- public ServiceBusDeadletterMessagesAvailableWithNoListenersEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// ServiceBusDeadletterMessagesAvailableWithNoListenersEventData
- /// class.
- ///
- /// The namespace name of the
- /// Microsoft.ServiceBus resource.
- /// The endpoint of the Microsoft.ServiceBus
- /// resource.
- /// The entity type of the
- /// Microsoft.ServiceBus resource. Could be one of 'queue' or
- /// 'subscriber'.
- /// The name of the Microsoft.ServiceBus queue.
- /// If the entity type is of type 'subscriber', then this value will be
- /// null.
- /// The name of the Microsoft.ServiceBus topic.
- /// If the entity type is of type 'queue', then this value will be
- /// null.
- /// The name of the Microsoft.ServiceBus
- /// topic's subscription. If the entity type is of type 'queue', then
- /// this value will be null.
- public ServiceBusDeadletterMessagesAvailableWithNoListenersEventData(string namespaceName = default(string), string requestUri = default(string), string entityType = default(string), string queueName = default(string), string topicName = default(string), string subscriptionName = default(string))
- {
- NamespaceName = namespaceName;
- RequestUri = requestUri;
- EntityType = entityType;
- QueueName = queueName;
- TopicName = topicName;
- SubscriptionName = subscriptionName;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the namespace name of the Microsoft.ServiceBus
- /// resource.
- ///
- [JsonProperty(PropertyName = "namespaceName")]
- public string NamespaceName { get; set; }
-
- ///
- /// Gets or sets the endpoint of the Microsoft.ServiceBus resource.
- ///
- [JsonProperty(PropertyName = "requestUri")]
- public string RequestUri { get; set; }
-
- ///
- /// Gets or sets the entity type of the Microsoft.ServiceBus resource.
- /// Could be one of 'queue' or 'subscriber'.
- ///
- [JsonProperty(PropertyName = "entityType")]
- public string EntityType { get; set; }
-
- ///
- /// Gets or sets the name of the Microsoft.ServiceBus queue. If the
- /// entity type is of type 'subscriber', then this value will be null.
- ///
- [JsonProperty(PropertyName = "queueName")]
- public string QueueName { get; set; }
-
- ///
- /// Gets or sets the name of the Microsoft.ServiceBus topic. If the
- /// entity type is of type 'queue', then this value will be null.
- ///
- [JsonProperty(PropertyName = "topicName")]
- public string TopicName { get; set; }
-
- ///
- /// Gets or sets the name of the Microsoft.ServiceBus topic's
- /// subscription. If the entity type is of type 'queue', then this
- /// value will be null.
- ///
- [JsonProperty(PropertyName = "subscriptionName")]
- public string SubscriptionName { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/SignalRServiceClientConnectionConnectedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/SignalRServiceClientConnectionConnectedEventData.cs
deleted file mode 100644
index db7adc533a9f8..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/SignalRServiceClientConnectionConnectedEventData.cs
+++ /dev/null
@@ -1,82 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for a
- /// Microsoft.SignalRService.ClientConnectionConnected event.
- ///
- public partial class SignalRServiceClientConnectionConnectedEventData
- {
- ///
- /// Initializes a new instance of the
- /// SignalRServiceClientConnectionConnectedEventData class.
- ///
- public SignalRServiceClientConnectionConnectedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// SignalRServiceClientConnectionConnectedEventData class.
- ///
- /// The time at which the event
- /// occurred.
- /// The hub of connected client
- /// connection.
- /// The connection Id of connected client
- /// connection.
- /// The user Id of connected client
- /// connection.
- public SignalRServiceClientConnectionConnectedEventData(System.DateTime? timestamp = default(System.DateTime?), string hubName = default(string), string connectionId = default(string), string userId = default(string))
- {
- Timestamp = timestamp;
- HubName = hubName;
- ConnectionId = connectionId;
- UserId = userId;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the time at which the event occurred.
- ///
- [JsonProperty(PropertyName = "timestamp")]
- public System.DateTime? Timestamp { get; set; }
-
- ///
- /// Gets or sets the hub of connected client connection.
- ///
- [JsonProperty(PropertyName = "hubName")]
- public string HubName { get; set; }
-
- ///
- /// Gets or sets the connection Id of connected client connection.
- ///
- [JsonProperty(PropertyName = "connectionId")]
- public string ConnectionId { get; set; }
-
- ///
- /// Gets or sets the user Id of connected client connection.
- ///
- [JsonProperty(PropertyName = "userId")]
- public string UserId { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/SignalRServiceClientConnectionDisconnectedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/SignalRServiceClientConnectionDisconnectedEventData.cs
deleted file mode 100644
index 848f2b480dd54..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/SignalRServiceClientConnectionDisconnectedEventData.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for a
- /// Microsoft.SignalRService.ClientConnectionDisconnected event.
- ///
- public partial class SignalRServiceClientConnectionDisconnectedEventData
- {
- ///
- /// Initializes a new instance of the
- /// SignalRServiceClientConnectionDisconnectedEventData class.
- ///
- public SignalRServiceClientConnectionDisconnectedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// SignalRServiceClientConnectionDisconnectedEventData class.
- ///
- /// The time at which the event
- /// occurred.
- /// The hub of connected client
- /// connection.
- /// The connection Id of connected client
- /// connection.
- /// The user Id of connected client
- /// connection.
- /// The message of error that cause the
- /// client connection disconnected.
- public SignalRServiceClientConnectionDisconnectedEventData(System.DateTime? timestamp = default(System.DateTime?), string hubName = default(string), string connectionId = default(string), string userId = default(string), string errorMessage = default(string))
- {
- Timestamp = timestamp;
- HubName = hubName;
- ConnectionId = connectionId;
- UserId = userId;
- ErrorMessage = errorMessage;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the time at which the event occurred.
- ///
- [JsonProperty(PropertyName = "timestamp")]
- public System.DateTime? Timestamp { get; set; }
-
- ///
- /// Gets or sets the hub of connected client connection.
- ///
- [JsonProperty(PropertyName = "hubName")]
- public string HubName { get; set; }
-
- ///
- /// Gets or sets the connection Id of connected client connection.
- ///
- [JsonProperty(PropertyName = "connectionId")]
- public string ConnectionId { get; set; }
-
- ///
- /// Gets or sets the user Id of connected client connection.
- ///
- [JsonProperty(PropertyName = "userId")]
- public string UserId { get; set; }
-
- ///
- /// Gets or sets the message of error that cause the client connection
- /// disconnected.
- ///
- [JsonProperty(PropertyName = "errorMessage")]
- public string ErrorMessage { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/StampKind.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/StampKind.cs
deleted file mode 100644
index 673dd72cc070c..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/StampKind.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
-
- ///
- /// Defines values for StampKind.
- ///
- public static class StampKind
- {
- ///
- /// App Service Plan is running on a public stamp.
- ///
- public const string Public = "Public";
- ///
- /// App Service Plan is running on an App Service Environment V1.
- ///
- public const string AseV1 = "AseV1";
- ///
- /// App Service Plan is running on an App Service Environment V2.
- ///
- public const string AseV2 = "AseV2";
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/StorageBlobCreatedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/StorageBlobCreatedEventData.cs
deleted file mode 100644
index 76ee9004fa141..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/StorageBlobCreatedEventData.cs
+++ /dev/null
@@ -1,170 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.Storage.BlobCreated event.
- ///
- public partial class StorageBlobCreatedEventData
- {
- ///
- /// Initializes a new instance of the StorageBlobCreatedEventData
- /// class.
- ///
- public StorageBlobCreatedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the StorageBlobCreatedEventData
- /// class.
- ///
- /// The name of the API/operation that triggered this
- /// event.
- /// A request id provided by the client
- /// of the storage API operation that triggered this event.
- /// The request id generated by the Storage
- /// service for the storage API operation that triggered this
- /// event.
- /// The etag of the blob at the time this event was
- /// triggered.
- /// The content type of the blob. This is the
- /// same as what would be returned in the Content-Type header from the
- /// blob.
- /// The size of the blob in bytes. This is
- /// the same as what would be returned in the Content-Length header
- /// from the blob.
- /// The offset of the blob in
- /// bytes.
- /// The type of blob.
- /// The path to the blob.
- /// An opaque string value representing the
- /// logical sequence of events for any particular blob name. Users can
- /// use standard string comparison to understand the relative sequence
- /// of two events on the same blob name.
- /// The identity of the requester that triggered
- /// this event.
- /// For service use only. Diagnostic
- /// data occasionally included by the Azure Storage service. This
- /// property should be ignored by event consumers.
- public StorageBlobCreatedEventData(string api = default(string), string clientRequestId = default(string), string requestId = default(string), string eTag = default(string), string contentType = default(string), long? contentLength = default(long?), long? contentOffset = default(long?), string blobType = default(string), string url = default(string), string sequencer = default(string), string identity = default(string), object storageDiagnostics = default(object))
- {
- Api = api;
- ClientRequestId = clientRequestId;
- RequestId = requestId;
- ETag = eTag;
- ContentType = contentType;
- ContentLength = contentLength;
- ContentOffset = contentOffset;
- BlobType = blobType;
- Url = url;
- Sequencer = sequencer;
- Identity = identity;
- StorageDiagnostics = storageDiagnostics;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the name of the API/operation that triggered this
- /// event.
- ///
- [JsonProperty(PropertyName = "api")]
- public string Api { get; set; }
-
- ///
- /// Gets or sets a request id provided by the client of the storage API
- /// operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "clientRequestId")]
- public string ClientRequestId { get; set; }
-
- ///
- /// Gets or sets the request id generated by the Storage service for
- /// the storage API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "requestId")]
- public string RequestId { get; set; }
-
- ///
- /// Gets or sets the etag of the blob at the time this event was
- /// triggered.
- ///
- [JsonProperty(PropertyName = "eTag")]
- public string ETag { get; set; }
-
- ///
- /// Gets or sets the content type of the blob. This is the same as what
- /// would be returned in the Content-Type header from the blob.
- ///
- [JsonProperty(PropertyName = "contentType")]
- public string ContentType { get; set; }
-
- ///
- /// Gets or sets the size of the blob in bytes. This is the same as
- /// what would be returned in the Content-Length header from the blob.
- ///
- [JsonProperty(PropertyName = "contentLength")]
- public long? ContentLength { get; set; }
-
- ///
- /// Gets or sets the offset of the blob in bytes.
- ///
- [JsonProperty(PropertyName = "contentOffset")]
- public long? ContentOffset { get; set; }
-
- ///
- /// Gets or sets the type of blob.
- ///
- [JsonProperty(PropertyName = "blobType")]
- public string BlobType { get; set; }
-
- ///
- /// Gets or sets the path to the blob.
- ///
- [JsonProperty(PropertyName = "url")]
- public string Url { get; set; }
-
- ///
- /// Gets or sets an opaque string value representing the logical
- /// sequence of events for any particular blob name. Users can use
- /// standard string comparison to understand the relative sequence of
- /// two events on the same blob name.
- ///
- [JsonProperty(PropertyName = "sequencer")]
- public string Sequencer { get; set; }
-
- ///
- /// Gets or sets the identity of the requester that triggered this
- /// event.
- ///
- [JsonProperty(PropertyName = "identity")]
- public string Identity { get; set; }
-
- ///
- /// Gets or sets for service use only. Diagnostic data occasionally
- /// included by the Azure Storage service. This property should be
- /// ignored by event consumers.
- ///
- [JsonProperty(PropertyName = "storageDiagnostics")]
- public object StorageDiagnostics { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/StorageBlobDeletedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/StorageBlobDeletedEventData.cs
deleted file mode 100644
index be2388c5b5482..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/StorageBlobDeletedEventData.cs
+++ /dev/null
@@ -1,140 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.Storage.BlobDeleted event.
- ///
- public partial class StorageBlobDeletedEventData
- {
- ///
- /// Initializes a new instance of the StorageBlobDeletedEventData
- /// class.
- ///
- public StorageBlobDeletedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the StorageBlobDeletedEventData
- /// class.
- ///
- /// The name of the API/operation that triggered this
- /// event.
- /// A request id provided by the client
- /// of the storage API operation that triggered this event.
- /// The request id generated by the Storage
- /// service for the storage API operation that triggered this
- /// event.
- /// The content type of the blob. This is the
- /// same as what would be returned in the Content-Type header from the
- /// blob.
- /// The type of blob.
- /// The path to the blob.
- /// An opaque string value representing the
- /// logical sequence of events for any particular blob name. Users can
- /// use standard string comparison to understand the relative sequence
- /// of two events on the same blob name.
- /// The identity of the requester that triggered
- /// this event.
- /// For service use only. Diagnostic
- /// data occasionally included by the Azure Storage service. This
- /// property should be ignored by event consumers.
- public StorageBlobDeletedEventData(string api = default(string), string clientRequestId = default(string), string requestId = default(string), string contentType = default(string), string blobType = default(string), string url = default(string), string sequencer = default(string), string identity = default(string), object storageDiagnostics = default(object))
- {
- Api = api;
- ClientRequestId = clientRequestId;
- RequestId = requestId;
- ContentType = contentType;
- BlobType = blobType;
- Url = url;
- Sequencer = sequencer;
- Identity = identity;
- StorageDiagnostics = storageDiagnostics;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the name of the API/operation that triggered this
- /// event.
- ///
- [JsonProperty(PropertyName = "api")]
- public string Api { get; set; }
-
- ///
- /// Gets or sets a request id provided by the client of the storage API
- /// operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "clientRequestId")]
- public string ClientRequestId { get; set; }
-
- ///
- /// Gets or sets the request id generated by the Storage service for
- /// the storage API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "requestId")]
- public string RequestId { get; set; }
-
- ///
- /// Gets or sets the content type of the blob. This is the same as what
- /// would be returned in the Content-Type header from the blob.
- ///
- [JsonProperty(PropertyName = "contentType")]
- public string ContentType { get; set; }
-
- ///
- /// Gets or sets the type of blob.
- ///
- [JsonProperty(PropertyName = "blobType")]
- public string BlobType { get; set; }
-
- ///
- /// Gets or sets the path to the blob.
- ///
- [JsonProperty(PropertyName = "url")]
- public string Url { get; set; }
-
- ///
- /// Gets or sets an opaque string value representing the logical
- /// sequence of events for any particular blob name. Users can use
- /// standard string comparison to understand the relative sequence of
- /// two events on the same blob name.
- ///
- [JsonProperty(PropertyName = "sequencer")]
- public string Sequencer { get; set; }
-
- ///
- /// Gets or sets the identity of the requester that triggered this
- /// event.
- ///
- [JsonProperty(PropertyName = "identity")]
- public string Identity { get; set; }
-
- ///
- /// Gets or sets for service use only. Diagnostic data occasionally
- /// included by the Azure Storage service. This property should be
- /// ignored by event consumers.
- ///
- [JsonProperty(PropertyName = "storageDiagnostics")]
- public object StorageDiagnostics { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/StorageBlobRenamedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/StorageBlobRenamedEventData.cs
deleted file mode 100644
index 0c57ec170e217..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/StorageBlobRenamedEventData.cs
+++ /dev/null
@@ -1,131 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.Storage.BlobRenamed event.
- ///
- public partial class StorageBlobRenamedEventData
- {
- ///
- /// Initializes a new instance of the StorageBlobRenamedEventData
- /// class.
- ///
- public StorageBlobRenamedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the StorageBlobRenamedEventData
- /// class.
- ///
- /// The name of the API/operation that triggered this
- /// event.
- /// A request id provided by the client
- /// of the storage API operation that triggered this event.
- /// The request id generated by the storage
- /// service for the storage API operation that triggered this
- /// event.
- /// The path to the blob that was
- /// renamed.
- /// The new path to the blob after the
- /// rename operation.
- /// An opaque string value representing the
- /// logical sequence of events for any particular blob name. Users can
- /// use standard string comparison to understand the relative sequence
- /// of two events on the same blob name.
- /// The identity of the requester that triggered
- /// this event.
- /// For service use only. Diagnostic
- /// data occasionally included by the Azure Storage service. This
- /// property should be ignored by event consumers.
- public StorageBlobRenamedEventData(string api = default(string), string clientRequestId = default(string), string requestId = default(string), string sourceUrl = default(string), string destinationUrl = default(string), string sequencer = default(string), string identity = default(string), object storageDiagnostics = default(object))
- {
- Api = api;
- ClientRequestId = clientRequestId;
- RequestId = requestId;
- SourceUrl = sourceUrl;
- DestinationUrl = destinationUrl;
- Sequencer = sequencer;
- Identity = identity;
- StorageDiagnostics = storageDiagnostics;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the name of the API/operation that triggered this
- /// event.
- ///
- [JsonProperty(PropertyName = "api")]
- public string Api { get; set; }
-
- ///
- /// Gets or sets a request id provided by the client of the storage API
- /// operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "clientRequestId")]
- public string ClientRequestId { get; set; }
-
- ///
- /// Gets or sets the request id generated by the storage service for
- /// the storage API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "requestId")]
- public string RequestId { get; set; }
-
- ///
- /// Gets or sets the path to the blob that was renamed.
- ///
- [JsonProperty(PropertyName = "sourceUrl")]
- public string SourceUrl { get; set; }
-
- ///
- /// Gets or sets the new path to the blob after the rename operation.
- ///
- [JsonProperty(PropertyName = "destinationUrl")]
- public string DestinationUrl { get; set; }
-
- ///
- /// Gets or sets an opaque string value representing the logical
- /// sequence of events for any particular blob name. Users can use
- /// standard string comparison to understand the relative sequence of
- /// two events on the same blob name.
- ///
- [JsonProperty(PropertyName = "sequencer")]
- public string Sequencer { get; set; }
-
- ///
- /// Gets or sets the identity of the requester that triggered this
- /// event.
- ///
- [JsonProperty(PropertyName = "identity")]
- public string Identity { get; set; }
-
- ///
- /// Gets or sets for service use only. Diagnostic data occasionally
- /// included by the Azure Storage service. This property should be
- /// ignored by event consumers.
- ///
- [JsonProperty(PropertyName = "storageDiagnostics")]
- public object StorageDiagnostics { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/StorageDirectoryCreatedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/StorageDirectoryCreatedEventData.cs
deleted file mode 100644
index b392b57c1cf2f..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/StorageDirectoryCreatedEventData.cs
+++ /dev/null
@@ -1,131 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.Storage.DirectoryCreated event.
- ///
- public partial class StorageDirectoryCreatedEventData
- {
- ///
- /// Initializes a new instance of the StorageDirectoryCreatedEventData
- /// class.
- ///
- public StorageDirectoryCreatedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the StorageDirectoryCreatedEventData
- /// class.
- ///
- /// The name of the API/operation that triggered this
- /// event.
- /// A request id provided by the client
- /// of the storage API operation that triggered this event.
- /// The request id generated by the storage
- /// service for the storage API operation that triggered this
- /// event.
- /// The etag of the directory at the time this event
- /// was triggered.
- /// The path to the directory.
- /// An opaque string value representing the
- /// logical sequence of events for any particular directory name. Users
- /// can use standard string comparison to understand the relative
- /// sequence of two events on the same directory name.
- /// The identity of the requester that triggered
- /// this event.
- /// For service use only. Diagnostic
- /// data occasionally included by the Azure Storage service. This
- /// property should be ignored by event consumers.
- public StorageDirectoryCreatedEventData(string api = default(string), string clientRequestId = default(string), string requestId = default(string), string eTag = default(string), string url = default(string), string sequencer = default(string), string identity = default(string), object storageDiagnostics = default(object))
- {
- Api = api;
- ClientRequestId = clientRequestId;
- RequestId = requestId;
- ETag = eTag;
- Url = url;
- Sequencer = sequencer;
- Identity = identity;
- StorageDiagnostics = storageDiagnostics;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the name of the API/operation that triggered this
- /// event.
- ///
- [JsonProperty(PropertyName = "api")]
- public string Api { get; set; }
-
- ///
- /// Gets or sets a request id provided by the client of the storage API
- /// operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "clientRequestId")]
- public string ClientRequestId { get; set; }
-
- ///
- /// Gets or sets the request id generated by the storage service for
- /// the storage API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "requestId")]
- public string RequestId { get; set; }
-
- ///
- /// Gets or sets the etag of the directory at the time this event was
- /// triggered.
- ///
- [JsonProperty(PropertyName = "eTag")]
- public string ETag { get; set; }
-
- ///
- /// Gets or sets the path to the directory.
- ///
- [JsonProperty(PropertyName = "url")]
- public string Url { get; set; }
-
- ///
- /// Gets or sets an opaque string value representing the logical
- /// sequence of events for any particular directory name. Users can use
- /// standard string comparison to understand the relative sequence of
- /// two events on the same directory name.
- ///
- [JsonProperty(PropertyName = "sequencer")]
- public string Sequencer { get; set; }
-
- ///
- /// Gets or sets the identity of the requester that triggered this
- /// event.
- ///
- [JsonProperty(PropertyName = "identity")]
- public string Identity { get; set; }
-
- ///
- /// Gets or sets for service use only. Diagnostic data occasionally
- /// included by the Azure Storage service. This property should be
- /// ignored by event consumers.
- ///
- [JsonProperty(PropertyName = "storageDiagnostics")]
- public object StorageDiagnostics { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/StorageDirectoryDeletedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/StorageDirectoryDeletedEventData.cs
deleted file mode 100644
index b61699c4e059a..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/StorageDirectoryDeletedEventData.cs
+++ /dev/null
@@ -1,130 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.Storage.DirectoryDeleted event.
- ///
- public partial class StorageDirectoryDeletedEventData
- {
- ///
- /// Initializes a new instance of the StorageDirectoryDeletedEventData
- /// class.
- ///
- public StorageDirectoryDeletedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the StorageDirectoryDeletedEventData
- /// class.
- ///
- /// The name of the API/operation that triggered this
- /// event.
- /// A request id provided by the client
- /// of the storage API operation that triggered this event.
- /// The request id generated by the storage
- /// service for the storage API operation that triggered this
- /// event.
- /// The path to the deleted directory.
- /// Is this event for a recursive delete
- /// operation.
- /// An opaque string value representing the
- /// logical sequence of events for any particular directory name. Users
- /// can use standard string comparison to understand the relative
- /// sequence of two events on the same directory name.
- /// The identity of the requester that triggered
- /// this event.
- /// For service use only. Diagnostic
- /// data occasionally included by the Azure Storage service. This
- /// property should be ignored by event consumers.
- public StorageDirectoryDeletedEventData(string api = default(string), string clientRequestId = default(string), string requestId = default(string), string url = default(string), bool? recursive = default(bool?), string sequencer = default(string), string identity = default(string), object storageDiagnostics = default(object))
- {
- Api = api;
- ClientRequestId = clientRequestId;
- RequestId = requestId;
- Url = url;
- Recursive = recursive;
- Sequencer = sequencer;
- Identity = identity;
- StorageDiagnostics = storageDiagnostics;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the name of the API/operation that triggered this
- /// event.
- ///
- [JsonProperty(PropertyName = "api")]
- public string Api { get; set; }
-
- ///
- /// Gets or sets a request id provided by the client of the storage API
- /// operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "clientRequestId")]
- public string ClientRequestId { get; set; }
-
- ///
- /// Gets or sets the request id generated by the storage service for
- /// the storage API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "requestId")]
- public string RequestId { get; set; }
-
- ///
- /// Gets or sets the path to the deleted directory.
- ///
- [JsonProperty(PropertyName = "url")]
- public string Url { get; set; }
-
- ///
- /// Gets or sets is this event for a recursive delete operation.
- ///
- [JsonProperty(PropertyName = "recursive")]
- public bool? Recursive { get; set; }
-
- ///
- /// Gets or sets an opaque string value representing the logical
- /// sequence of events for any particular directory name. Users can use
- /// standard string comparison to understand the relative sequence of
- /// two events on the same directory name.
- ///
- [JsonProperty(PropertyName = "sequencer")]
- public string Sequencer { get; set; }
-
- ///
- /// Gets or sets the identity of the requester that triggered this
- /// event.
- ///
- [JsonProperty(PropertyName = "identity")]
- public string Identity { get; set; }
-
- ///
- /// Gets or sets for service use only. Diagnostic data occasionally
- /// included by the Azure Storage service. This property should be
- /// ignored by event consumers.
- ///
- [JsonProperty(PropertyName = "storageDiagnostics")]
- public object StorageDiagnostics { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/StorageDirectoryRenamedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/StorageDirectoryRenamedEventData.cs
deleted file mode 100644
index eeec8e2364fd7..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/StorageDirectoryRenamedEventData.cs
+++ /dev/null
@@ -1,132 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.Storage.DirectoryRenamed event.
- ///
- public partial class StorageDirectoryRenamedEventData
- {
- ///
- /// Initializes a new instance of the StorageDirectoryRenamedEventData
- /// class.
- ///
- public StorageDirectoryRenamedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the StorageDirectoryRenamedEventData
- /// class.
- ///
- /// The name of the API/operation that triggered this
- /// event.
- /// A request id provided by the client
- /// of the storage API operation that triggered this event.
- /// The request id generated by the storage
- /// service for the storage API operation that triggered this
- /// event.
- /// The path to the directory that was
- /// renamed.
- /// The new path to the directory after
- /// the rename operation.
- /// An opaque string value representing the
- /// logical sequence of events for any particular directory name. Users
- /// can use standard string comparison to understand the relative
- /// sequence of two events on the same directory name.
- /// The identity of the requester that triggered
- /// this event.
- /// For service use only. Diagnostic
- /// data occasionally included by the Azure Storage service. This
- /// property should be ignored by event consumers.
- public StorageDirectoryRenamedEventData(string api = default(string), string clientRequestId = default(string), string requestId = default(string), string sourceUrl = default(string), string destinationUrl = default(string), string sequencer = default(string), string identity = default(string), object storageDiagnostics = default(object))
- {
- Api = api;
- ClientRequestId = clientRequestId;
- RequestId = requestId;
- SourceUrl = sourceUrl;
- DestinationUrl = destinationUrl;
- Sequencer = sequencer;
- Identity = identity;
- StorageDiagnostics = storageDiagnostics;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the name of the API/operation that triggered this
- /// event.
- ///
- [JsonProperty(PropertyName = "api")]
- public string Api { get; set; }
-
- ///
- /// Gets or sets a request id provided by the client of the storage API
- /// operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "clientRequestId")]
- public string ClientRequestId { get; set; }
-
- ///
- /// Gets or sets the request id generated by the storage service for
- /// the storage API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "requestId")]
- public string RequestId { get; set; }
-
- ///
- /// Gets or sets the path to the directory that was renamed.
- ///
- [JsonProperty(PropertyName = "sourceUrl")]
- public string SourceUrl { get; set; }
-
- ///
- /// Gets or sets the new path to the directory after the rename
- /// operation.
- ///
- [JsonProperty(PropertyName = "destinationUrl")]
- public string DestinationUrl { get; set; }
-
- ///
- /// Gets or sets an opaque string value representing the logical
- /// sequence of events for any particular directory name. Users can use
- /// standard string comparison to understand the relative sequence of
- /// two events on the same directory name.
- ///
- [JsonProperty(PropertyName = "sequencer")]
- public string Sequencer { get; set; }
-
- ///
- /// Gets or sets the identity of the requester that triggered this
- /// event.
- ///
- [JsonProperty(PropertyName = "identity")]
- public string Identity { get; set; }
-
- ///
- /// Gets or sets for service use only. Diagnostic data occasionally
- /// included by the Azure Storage service. This property should be
- /// ignored by event consumers.
- ///
- [JsonProperty(PropertyName = "storageDiagnostics")]
- public object StorageDiagnostics { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/SubscriptionDeletedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/SubscriptionDeletedEventData.cs
deleted file mode 100644
index 909480000cf75..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/SubscriptionDeletedEventData.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for a
- /// Microsoft.EventGrid.SubscriptionDeletedEvent.
- ///
- public partial class SubscriptionDeletedEventData
- {
- ///
- /// Initializes a new instance of the SubscriptionDeletedEventData
- /// class.
- ///
- public SubscriptionDeletedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the SubscriptionDeletedEventData
- /// class.
- ///
- /// The Azure resource ID of the
- /// deleted event subscription.
- public SubscriptionDeletedEventData(string eventSubscriptionId = default(string))
- {
- EventSubscriptionId = eventSubscriptionId;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets the Azure resource ID of the deleted event subscription.
- ///
- [JsonProperty(PropertyName = "eventSubscriptionId")]
- public string EventSubscriptionId { get; private set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/SubscriptionValidationEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/SubscriptionValidationEventData.cs
deleted file mode 100644
index 7977a7c3796db..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/SubscriptionValidationEventData.cs
+++ /dev/null
@@ -1,81 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for a
- /// Microsoft.EventGrid.SubscriptionValidationEvent.
- ///
- public partial class SubscriptionValidationEventData
- {
- ///
- /// Initializes a new instance of the SubscriptionValidationEventData
- /// class.
- ///
- public SubscriptionValidationEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the SubscriptionValidationEventData
- /// class.
- ///
- /// The validation code sent by Azure
- /// Event Grid to validate an event subscription. To complete the
- /// validation handshake, the subscriber must either respond with this
- /// validation code as part of the validation response, or perform a
- /// GET request on the validationUrl (available starting version
- /// 2018-05-01-preview).
- /// The validation URL sent by Azure Event
- /// Grid (available starting version 2018-05-01-preview). To complete
- /// the validation handshake, the subscriber must either respond with
- /// the validationCode as part of the validation response, or perform a
- /// GET request on the validationUrl (available starting version
- /// 2018-05-01-preview).
- public SubscriptionValidationEventData(string validationCode = default(string), string validationUrl = default(string))
- {
- ValidationCode = validationCode;
- ValidationUrl = validationUrl;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets the validation code sent by Azure Event Grid to validate an
- /// event subscription. To complete the validation handshake, the
- /// subscriber must either respond with this validation code as part of
- /// the validation response, or perform a GET request on the
- /// validationUrl (available starting version 2018-05-01-preview).
- ///
- [JsonProperty(PropertyName = "validationCode")]
- public string ValidationCode { get; private set; }
-
- ///
- /// Gets the validation URL sent by Azure Event Grid (available
- /// starting version 2018-05-01-preview). To complete the validation
- /// handshake, the subscriber must either respond with the
- /// validationCode as part of the validation response, or perform a GET
- /// request on the validationUrl (available starting version
- /// 2018-05-01-preview).
- ///
- [JsonProperty(PropertyName = "validationUrl")]
- public string ValidationUrl { get; private set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/SubscriptionValidationResponse.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/SubscriptionValidationResponse.cs
deleted file mode 100644
index bba0c437a4163..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/SubscriptionValidationResponse.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// To complete an event subscription validation handshake, a subscriber
- /// can use either the validationCode or the validationUrl received in a
- /// SubscriptionValidationEvent. When the validationCode is used, the
- /// SubscriptionValidationResponse can be used to build the response.
- ///
- public partial class SubscriptionValidationResponse
- {
- ///
- /// Initializes a new instance of the SubscriptionValidationResponse
- /// class.
- ///
- public SubscriptionValidationResponse()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the SubscriptionValidationResponse
- /// class.
- ///
- /// The validation response sent by
- /// the subscriber to Azure Event Grid to complete the validation of an
- /// event subscription.
- public SubscriptionValidationResponse(string validationResponse = default(string))
- {
- ValidationResponse = validationResponse;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the validation response sent by the subscriber to
- /// Azure Event Grid to complete the validation of an event
- /// subscription.
- ///
- [JsonProperty(PropertyName = "validationResponse")]
- public string ValidationResponse { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebAppServicePlanUpdatedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebAppServicePlanUpdatedEventData.cs
deleted file mode 100644
index 9b451ac2e9e83..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebAppServicePlanUpdatedEventData.cs
+++ /dev/null
@@ -1,119 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.Web.AppServicePlanUpdated event.
- ///
- public partial class WebAppServicePlanUpdatedEventData
- {
- ///
- /// Initializes a new instance of the WebAppServicePlanUpdatedEventData
- /// class.
- ///
- public WebAppServicePlanUpdatedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the WebAppServicePlanUpdatedEventData
- /// class.
- ///
- /// sku of app service plan.
- /// name of the app service plan that had this
- /// event.
- /// The client request id generated by
- /// the app service for the app service plan API operation that
- /// triggered this event.
- /// The correlation request id
- /// generated by the app service for the app service plan API operation
- /// that triggered this event.
- /// The request id generated by the app service
- /// for the app service plan API operation that triggered this
- /// event.
- /// HTTP request URL of this operation.
- /// HTTP verb of this operation.
- public WebAppServicePlanUpdatedEventData(AppServicePlanEventTypeDetail appServicePlanEventTypeDetail = default(AppServicePlanEventTypeDetail), WebAppServicePlanUpdatedEventDataSku sku = default(WebAppServicePlanUpdatedEventDataSku), string name = default(string), string clientRequestId = default(string), string correlationRequestId = default(string), string requestId = default(string), string address = default(string), string verb = default(string))
- {
- AppServicePlanEventTypeDetail = appServicePlanEventTypeDetail;
- Sku = sku;
- Name = name;
- ClientRequestId = clientRequestId;
- CorrelationRequestId = correlationRequestId;
- RequestId = requestId;
- Address = address;
- Verb = verb;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- ///
- [JsonProperty(PropertyName = "appServicePlanEventTypeDetail")]
- public AppServicePlanEventTypeDetail AppServicePlanEventTypeDetail { get; set; }
-
- ///
- /// Gets or sets sku of app service plan.
- ///
- [JsonProperty(PropertyName = "sku")]
- public WebAppServicePlanUpdatedEventDataSku Sku { get; set; }
-
- ///
- /// Gets or sets name of the app service plan that had this event.
- ///
- [JsonProperty(PropertyName = "name")]
- public string Name { get; set; }
-
- ///
- /// Gets or sets the client request id generated by the app service for
- /// the app service plan API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "clientRequestId")]
- public string ClientRequestId { get; set; }
-
- ///
- /// Gets or sets the correlation request id generated by the app
- /// service for the app service plan API operation that triggered this
- /// event.
- ///
- [JsonProperty(PropertyName = "correlationRequestId")]
- public string CorrelationRequestId { get; set; }
-
- ///
- /// Gets or sets the request id generated by the app service for the
- /// app service plan API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "requestId")]
- public string RequestId { get; set; }
-
- ///
- /// Gets or sets HTTP request URL of this operation.
- ///
- [JsonProperty(PropertyName = "address")]
- public string Address { get; set; }
-
- ///
- /// Gets or sets HTTP verb of this operation.
- ///
- [JsonProperty(PropertyName = "verb")]
- public string Verb { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebAppServicePlanUpdatedEventDataSku.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebAppServicePlanUpdatedEventDataSku.cs
deleted file mode 100644
index 65ca3445c3600..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebAppServicePlanUpdatedEventDataSku.cs
+++ /dev/null
@@ -1,85 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// sku of app service plan.
- ///
- public partial class WebAppServicePlanUpdatedEventDataSku
- {
- ///
- /// Initializes a new instance of the
- /// WebAppServicePlanUpdatedEventDataSku class.
- ///
- public WebAppServicePlanUpdatedEventDataSku()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// WebAppServicePlanUpdatedEventDataSku class.
- ///
- /// name of app service plan sku.
- /// tier of app service plan sku.
- /// size of app service plan sku.
- /// family of app service plan sku.
- /// capacity of app service plan sku.
- public WebAppServicePlanUpdatedEventDataSku(string name = default(string), string tier = default(string), string size = default(string), string family = default(string), string capacity = default(string))
- {
- Name = name;
- Tier = tier;
- Size = size;
- Family = family;
- Capacity = capacity;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets name of app service plan sku.
- ///
- [JsonProperty(PropertyName = "name")]
- public string Name { get; set; }
-
- ///
- /// Gets or sets tier of app service plan sku.
- ///
- [JsonProperty(PropertyName = "Tier")]
- public string Tier { get; set; }
-
- ///
- /// Gets or sets size of app service plan sku.
- ///
- [JsonProperty(PropertyName = "Size")]
- public string Size { get; set; }
-
- ///
- /// Gets or sets family of app service plan sku.
- ///
- [JsonProperty(PropertyName = "Family")]
- public string Family { get; set; }
-
- ///
- /// Gets or sets capacity of app service plan sku.
- ///
- [JsonProperty(PropertyName = "Capacity")]
- public string Capacity { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebAppUpdatedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebAppUpdatedEventData.cs
deleted file mode 100644
index 1f84b5f97e202..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebAppUpdatedEventData.cs
+++ /dev/null
@@ -1,107 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.Web.AppUpdated event.
- ///
- public partial class WebAppUpdatedEventData
- {
- ///
- /// Initializes a new instance of the WebAppUpdatedEventData class.
- ///
- public WebAppUpdatedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the WebAppUpdatedEventData class.
- ///
- /// name of the web site that had this
- /// event.
- /// The client request id generated by
- /// the app service for the site API operation that triggered this
- /// event.
- /// The correlation request id
- /// generated by the app service for the site API operation that
- /// triggered this event.
- /// The request id generated by the app service
- /// for the site API operation that triggered this event.
- /// HTTP request URL of this operation.
- /// HTTP verb of this operation.
- public WebAppUpdatedEventData(AppEventTypeDetail appEventTypeDetail = default(AppEventTypeDetail), string name = default(string), string clientRequestId = default(string), string correlationRequestId = default(string), string requestId = default(string), string address = default(string), string verb = default(string))
- {
- AppEventTypeDetail = appEventTypeDetail;
- Name = name;
- ClientRequestId = clientRequestId;
- CorrelationRequestId = correlationRequestId;
- RequestId = requestId;
- Address = address;
- Verb = verb;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- ///
- [JsonProperty(PropertyName = "appEventTypeDetail")]
- public AppEventTypeDetail AppEventTypeDetail { get; set; }
-
- ///
- /// Gets or sets name of the web site that had this event.
- ///
- [JsonProperty(PropertyName = "name")]
- public string Name { get; set; }
-
- ///
- /// Gets or sets the client request id generated by the app service for
- /// the site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "clientRequestId")]
- public string ClientRequestId { get; set; }
-
- ///
- /// Gets or sets the correlation request id generated by the app
- /// service for the site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "correlationRequestId")]
- public string CorrelationRequestId { get; set; }
-
- ///
- /// Gets or sets the request id generated by the app service for the
- /// site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "requestId")]
- public string RequestId { get; set; }
-
- ///
- /// Gets or sets HTTP request URL of this operation.
- ///
- [JsonProperty(PropertyName = "address")]
- public string Address { get; set; }
-
- ///
- /// Gets or sets HTTP verb of this operation.
- ///
- [JsonProperty(PropertyName = "verb")]
- public string Verb { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebBackupOperationCompletedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebBackupOperationCompletedEventData.cs
deleted file mode 100644
index 0b2b37b8201fc..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebBackupOperationCompletedEventData.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.Web.BackupOperationCompleted event.
- ///
- public partial class WebBackupOperationCompletedEventData
- {
- ///
- /// Initializes a new instance of the
- /// WebBackupOperationCompletedEventData class.
- ///
- public WebBackupOperationCompletedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// WebBackupOperationCompletedEventData class.
- ///
- /// name of the web site that had this
- /// event.
- /// The client request id generated by
- /// the app service for the site API operation that triggered this
- /// event.
- /// The correlation request id
- /// generated by the app service for the site API operation that
- /// triggered this event.
- /// The request id generated by the app service
- /// for the site API operation that triggered this event.
- /// HTTP request URL of this operation.
- /// HTTP verb of this operation.
- public WebBackupOperationCompletedEventData(AppEventTypeDetail appEventTypeDetail = default(AppEventTypeDetail), string name = default(string), string clientRequestId = default(string), string correlationRequestId = default(string), string requestId = default(string), string address = default(string), string verb = default(string))
- {
- AppEventTypeDetail = appEventTypeDetail;
- Name = name;
- ClientRequestId = clientRequestId;
- CorrelationRequestId = correlationRequestId;
- RequestId = requestId;
- Address = address;
- Verb = verb;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- ///
- [JsonProperty(PropertyName = "appEventTypeDetail")]
- public AppEventTypeDetail AppEventTypeDetail { get; set; }
-
- ///
- /// Gets or sets name of the web site that had this event.
- ///
- [JsonProperty(PropertyName = "name")]
- public string Name { get; set; }
-
- ///
- /// Gets or sets the client request id generated by the app service for
- /// the site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "clientRequestId")]
- public string ClientRequestId { get; set; }
-
- ///
- /// Gets or sets the correlation request id generated by the app
- /// service for the site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "correlationRequestId")]
- public string CorrelationRequestId { get; set; }
-
- ///
- /// Gets or sets the request id generated by the app service for the
- /// site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "requestId")]
- public string RequestId { get; set; }
-
- ///
- /// Gets or sets HTTP request URL of this operation.
- ///
- [JsonProperty(PropertyName = "address")]
- public string Address { get; set; }
-
- ///
- /// Gets or sets HTTP verb of this operation.
- ///
- [JsonProperty(PropertyName = "verb")]
- public string Verb { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebBackupOperationFailedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebBackupOperationFailedEventData.cs
deleted file mode 100644
index 969a3b1ab5f52..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebBackupOperationFailedEventData.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.Web.BackupOperationFailed event.
- ///
- public partial class WebBackupOperationFailedEventData
- {
- ///
- /// Initializes a new instance of the WebBackupOperationFailedEventData
- /// class.
- ///
- public WebBackupOperationFailedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the WebBackupOperationFailedEventData
- /// class.
- ///
- /// name of the web site that had this
- /// event.
- /// The client request id generated by
- /// the app service for the site API operation that triggered this
- /// event.
- /// The correlation request id
- /// generated by the app service for the site API operation that
- /// triggered this event.
- /// The request id generated by the app service
- /// for the site API operation that triggered this event.
- /// HTTP request URL of this operation.
- /// HTTP verb of this operation.
- public WebBackupOperationFailedEventData(AppEventTypeDetail appEventTypeDetail = default(AppEventTypeDetail), string name = default(string), string clientRequestId = default(string), string correlationRequestId = default(string), string requestId = default(string), string address = default(string), string verb = default(string))
- {
- AppEventTypeDetail = appEventTypeDetail;
- Name = name;
- ClientRequestId = clientRequestId;
- CorrelationRequestId = correlationRequestId;
- RequestId = requestId;
- Address = address;
- Verb = verb;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- ///
- [JsonProperty(PropertyName = "appEventTypeDetail")]
- public AppEventTypeDetail AppEventTypeDetail { get; set; }
-
- ///
- /// Gets or sets name of the web site that had this event.
- ///
- [JsonProperty(PropertyName = "name")]
- public string Name { get; set; }
-
- ///
- /// Gets or sets the client request id generated by the app service for
- /// the site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "clientRequestId")]
- public string ClientRequestId { get; set; }
-
- ///
- /// Gets or sets the correlation request id generated by the app
- /// service for the site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "correlationRequestId")]
- public string CorrelationRequestId { get; set; }
-
- ///
- /// Gets or sets the request id generated by the app service for the
- /// site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "requestId")]
- public string RequestId { get; set; }
-
- ///
- /// Gets or sets HTTP request URL of this operation.
- ///
- [JsonProperty(PropertyName = "address")]
- public string Address { get; set; }
-
- ///
- /// Gets or sets HTTP verb of this operation.
- ///
- [JsonProperty(PropertyName = "verb")]
- public string Verb { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebBackupOperationStartedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebBackupOperationStartedEventData.cs
deleted file mode 100644
index b1838bee2e2f3..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebBackupOperationStartedEventData.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.Web.BackupOperationStarted event.
- ///
- public partial class WebBackupOperationStartedEventData
- {
- ///
- /// Initializes a new instance of the
- /// WebBackupOperationStartedEventData class.
- ///
- public WebBackupOperationStartedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// WebBackupOperationStartedEventData class.
- ///
- /// name of the web site that had this
- /// event.
- /// The client request id generated by
- /// the app service for the site API operation that triggered this
- /// event.
- /// The correlation request id
- /// generated by the app service for the site API operation that
- /// triggered this event.
- /// The request id generated by the app service
- /// for the site API operation that triggered this event.
- /// HTTP request URL of this operation.
- /// HTTP verb of this operation.
- public WebBackupOperationStartedEventData(AppEventTypeDetail appEventTypeDetail = default(AppEventTypeDetail), string name = default(string), string clientRequestId = default(string), string correlationRequestId = default(string), string requestId = default(string), string address = default(string), string verb = default(string))
- {
- AppEventTypeDetail = appEventTypeDetail;
- Name = name;
- ClientRequestId = clientRequestId;
- CorrelationRequestId = correlationRequestId;
- RequestId = requestId;
- Address = address;
- Verb = verb;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- ///
- [JsonProperty(PropertyName = "appEventTypeDetail")]
- public AppEventTypeDetail AppEventTypeDetail { get; set; }
-
- ///
- /// Gets or sets name of the web site that had this event.
- ///
- [JsonProperty(PropertyName = "name")]
- public string Name { get; set; }
-
- ///
- /// Gets or sets the client request id generated by the app service for
- /// the site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "clientRequestId")]
- public string ClientRequestId { get; set; }
-
- ///
- /// Gets or sets the correlation request id generated by the app
- /// service for the site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "correlationRequestId")]
- public string CorrelationRequestId { get; set; }
-
- ///
- /// Gets or sets the request id generated by the app service for the
- /// site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "requestId")]
- public string RequestId { get; set; }
-
- ///
- /// Gets or sets HTTP request URL of this operation.
- ///
- [JsonProperty(PropertyName = "address")]
- public string Address { get; set; }
-
- ///
- /// Gets or sets HTTP verb of this operation.
- ///
- [JsonProperty(PropertyName = "verb")]
- public string Verb { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebRestoreOperationCompletedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebRestoreOperationCompletedEventData.cs
deleted file mode 100644
index f0bc8bc6ae505..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebRestoreOperationCompletedEventData.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.Web.RestoreOperationCompleted event.
- ///
- public partial class WebRestoreOperationCompletedEventData
- {
- ///
- /// Initializes a new instance of the
- /// WebRestoreOperationCompletedEventData class.
- ///
- public WebRestoreOperationCompletedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// WebRestoreOperationCompletedEventData class.
- ///
- /// name of the web site that had this
- /// event.
- /// The client request id generated by
- /// the app service for the site API operation that triggered this
- /// event.
- /// The correlation request id
- /// generated by the app service for the site API operation that
- /// triggered this event.
- /// The request id generated by the app service
- /// for the site API operation that triggered this event.
- /// HTTP request URL of this operation.
- /// HTTP verb of this operation.
- public WebRestoreOperationCompletedEventData(AppEventTypeDetail appEventTypeDetail = default(AppEventTypeDetail), string name = default(string), string clientRequestId = default(string), string correlationRequestId = default(string), string requestId = default(string), string address = default(string), string verb = default(string))
- {
- AppEventTypeDetail = appEventTypeDetail;
- Name = name;
- ClientRequestId = clientRequestId;
- CorrelationRequestId = correlationRequestId;
- RequestId = requestId;
- Address = address;
- Verb = verb;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- ///
- [JsonProperty(PropertyName = "appEventTypeDetail")]
- public AppEventTypeDetail AppEventTypeDetail { get; set; }
-
- ///
- /// Gets or sets name of the web site that had this event.
- ///
- [JsonProperty(PropertyName = "name")]
- public string Name { get; set; }
-
- ///
- /// Gets or sets the client request id generated by the app service for
- /// the site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "clientRequestId")]
- public string ClientRequestId { get; set; }
-
- ///
- /// Gets or sets the correlation request id generated by the app
- /// service for the site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "correlationRequestId")]
- public string CorrelationRequestId { get; set; }
-
- ///
- /// Gets or sets the request id generated by the app service for the
- /// site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "requestId")]
- public string RequestId { get; set; }
-
- ///
- /// Gets or sets HTTP request URL of this operation.
- ///
- [JsonProperty(PropertyName = "address")]
- public string Address { get; set; }
-
- ///
- /// Gets or sets HTTP verb of this operation.
- ///
- [JsonProperty(PropertyName = "verb")]
- public string Verb { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebRestoreOperationFailedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebRestoreOperationFailedEventData.cs
deleted file mode 100644
index ce6d5fc45b278..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebRestoreOperationFailedEventData.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.Web.RestoreOperationFailed event.
- ///
- public partial class WebRestoreOperationFailedEventData
- {
- ///
- /// Initializes a new instance of the
- /// WebRestoreOperationFailedEventData class.
- ///
- public WebRestoreOperationFailedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// WebRestoreOperationFailedEventData class.
- ///
- /// name of the web site that had this
- /// event.
- /// The client request id generated by
- /// the app service for the site API operation that triggered this
- /// event.
- /// The correlation request id
- /// generated by the app service for the site API operation that
- /// triggered this event.
- /// The request id generated by the app service
- /// for the site API operation that triggered this event.
- /// HTTP request URL of this operation.
- /// HTTP verb of this operation.
- public WebRestoreOperationFailedEventData(AppEventTypeDetail appEventTypeDetail = default(AppEventTypeDetail), string name = default(string), string clientRequestId = default(string), string correlationRequestId = default(string), string requestId = default(string), string address = default(string), string verb = default(string))
- {
- AppEventTypeDetail = appEventTypeDetail;
- Name = name;
- ClientRequestId = clientRequestId;
- CorrelationRequestId = correlationRequestId;
- RequestId = requestId;
- Address = address;
- Verb = verb;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- ///
- [JsonProperty(PropertyName = "appEventTypeDetail")]
- public AppEventTypeDetail AppEventTypeDetail { get; set; }
-
- ///
- /// Gets or sets name of the web site that had this event.
- ///
- [JsonProperty(PropertyName = "name")]
- public string Name { get; set; }
-
- ///
- /// Gets or sets the client request id generated by the app service for
- /// the site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "clientRequestId")]
- public string ClientRequestId { get; set; }
-
- ///
- /// Gets or sets the correlation request id generated by the app
- /// service for the site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "correlationRequestId")]
- public string CorrelationRequestId { get; set; }
-
- ///
- /// Gets or sets the request id generated by the app service for the
- /// site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "requestId")]
- public string RequestId { get; set; }
-
- ///
- /// Gets or sets HTTP request URL of this operation.
- ///
- [JsonProperty(PropertyName = "address")]
- public string Address { get; set; }
-
- ///
- /// Gets or sets HTTP verb of this operation.
- ///
- [JsonProperty(PropertyName = "verb")]
- public string Verb { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebRestoreOperationStartedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebRestoreOperationStartedEventData.cs
deleted file mode 100644
index 3e0ad3596e1a2..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebRestoreOperationStartedEventData.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.Web.RestoreOperationStarted event.
- ///
- public partial class WebRestoreOperationStartedEventData
- {
- ///
- /// Initializes a new instance of the
- /// WebRestoreOperationStartedEventData class.
- ///
- public WebRestoreOperationStartedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// WebRestoreOperationStartedEventData class.
- ///
- /// name of the web site that had this
- /// event.
- /// The client request id generated by
- /// the app service for the site API operation that triggered this
- /// event.
- /// The correlation request id
- /// generated by the app service for the site API operation that
- /// triggered this event.
- /// The request id generated by the app service
- /// for the site API operation that triggered this event.
- /// HTTP request URL of this operation.
- /// HTTP verb of this operation.
- public WebRestoreOperationStartedEventData(AppEventTypeDetail appEventTypeDetail = default(AppEventTypeDetail), string name = default(string), string clientRequestId = default(string), string correlationRequestId = default(string), string requestId = default(string), string address = default(string), string verb = default(string))
- {
- AppEventTypeDetail = appEventTypeDetail;
- Name = name;
- ClientRequestId = clientRequestId;
- CorrelationRequestId = correlationRequestId;
- RequestId = requestId;
- Address = address;
- Verb = verb;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- ///
- [JsonProperty(PropertyName = "appEventTypeDetail")]
- public AppEventTypeDetail AppEventTypeDetail { get; set; }
-
- ///
- /// Gets or sets name of the web site that had this event.
- ///
- [JsonProperty(PropertyName = "name")]
- public string Name { get; set; }
-
- ///
- /// Gets or sets the client request id generated by the app service for
- /// the site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "clientRequestId")]
- public string ClientRequestId { get; set; }
-
- ///
- /// Gets or sets the correlation request id generated by the app
- /// service for the site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "correlationRequestId")]
- public string CorrelationRequestId { get; set; }
-
- ///
- /// Gets or sets the request id generated by the app service for the
- /// site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "requestId")]
- public string RequestId { get; set; }
-
- ///
- /// Gets or sets HTTP request URL of this operation.
- ///
- [JsonProperty(PropertyName = "address")]
- public string Address { get; set; }
-
- ///
- /// Gets or sets HTTP verb of this operation.
- ///
- [JsonProperty(PropertyName = "verb")]
- public string Verb { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebSlotSwapCompletedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebSlotSwapCompletedEventData.cs
deleted file mode 100644
index 9279cdcb20849..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebSlotSwapCompletedEventData.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.Web.SlotSwapCompleted event.
- ///
- public partial class WebSlotSwapCompletedEventData
- {
- ///
- /// Initializes a new instance of the WebSlotSwapCompletedEventData
- /// class.
- ///
- public WebSlotSwapCompletedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the WebSlotSwapCompletedEventData
- /// class.
- ///
- /// name of the web site that had this
- /// event.
- /// The client request id generated by
- /// the app service for the site API operation that triggered this
- /// event.
- /// The correlation request id
- /// generated by the app service for the site API operation that
- /// triggered this event.
- /// The request id generated by the app service
- /// for the site API operation that triggered this event.
- /// HTTP request URL of this operation.
- /// HTTP verb of this operation.
- public WebSlotSwapCompletedEventData(AppEventTypeDetail appEventTypeDetail = default(AppEventTypeDetail), string name = default(string), string clientRequestId = default(string), string correlationRequestId = default(string), string requestId = default(string), string address = default(string), string verb = default(string))
- {
- AppEventTypeDetail = appEventTypeDetail;
- Name = name;
- ClientRequestId = clientRequestId;
- CorrelationRequestId = correlationRequestId;
- RequestId = requestId;
- Address = address;
- Verb = verb;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- ///
- [JsonProperty(PropertyName = "appEventTypeDetail")]
- public AppEventTypeDetail AppEventTypeDetail { get; set; }
-
- ///
- /// Gets or sets name of the web site that had this event.
- ///
- [JsonProperty(PropertyName = "name")]
- public string Name { get; set; }
-
- ///
- /// Gets or sets the client request id generated by the app service for
- /// the site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "clientRequestId")]
- public string ClientRequestId { get; set; }
-
- ///
- /// Gets or sets the correlation request id generated by the app
- /// service for the site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "correlationRequestId")]
- public string CorrelationRequestId { get; set; }
-
- ///
- /// Gets or sets the request id generated by the app service for the
- /// site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "requestId")]
- public string RequestId { get; set; }
-
- ///
- /// Gets or sets HTTP request URL of this operation.
- ///
- [JsonProperty(PropertyName = "address")]
- public string Address { get; set; }
-
- ///
- /// Gets or sets HTTP verb of this operation.
- ///
- [JsonProperty(PropertyName = "verb")]
- public string Verb { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebSlotSwapFailedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebSlotSwapFailedEventData.cs
deleted file mode 100644
index 059bbc188f9c2..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebSlotSwapFailedEventData.cs
+++ /dev/null
@@ -1,107 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.Web.SlotSwapFailed event.
- ///
- public partial class WebSlotSwapFailedEventData
- {
- ///
- /// Initializes a new instance of the WebSlotSwapFailedEventData class.
- ///
- public WebSlotSwapFailedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the WebSlotSwapFailedEventData class.
- ///
- /// name of the web site that had this
- /// event.
- /// The client request id generated by
- /// the app service for the site API operation that triggered this
- /// event.
- /// The correlation request id
- /// generated by the app service for the site API operation that
- /// triggered this event.
- /// The request id generated by the app service
- /// for the site API operation that triggered this event.
- /// HTTP request URL of this operation.
- /// HTTP verb of this operation.
- public WebSlotSwapFailedEventData(AppEventTypeDetail appEventTypeDetail = default(AppEventTypeDetail), string name = default(string), string clientRequestId = default(string), string correlationRequestId = default(string), string requestId = default(string), string address = default(string), string verb = default(string))
- {
- AppEventTypeDetail = appEventTypeDetail;
- Name = name;
- ClientRequestId = clientRequestId;
- CorrelationRequestId = correlationRequestId;
- RequestId = requestId;
- Address = address;
- Verb = verb;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- ///
- [JsonProperty(PropertyName = "appEventTypeDetail")]
- public AppEventTypeDetail AppEventTypeDetail { get; set; }
-
- ///
- /// Gets or sets name of the web site that had this event.
- ///
- [JsonProperty(PropertyName = "name")]
- public string Name { get; set; }
-
- ///
- /// Gets or sets the client request id generated by the app service for
- /// the site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "clientRequestId")]
- public string ClientRequestId { get; set; }
-
- ///
- /// Gets or sets the correlation request id generated by the app
- /// service for the site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "correlationRequestId")]
- public string CorrelationRequestId { get; set; }
-
- ///
- /// Gets or sets the request id generated by the app service for the
- /// site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "requestId")]
- public string RequestId { get; set; }
-
- ///
- /// Gets or sets HTTP request URL of this operation.
- ///
- [JsonProperty(PropertyName = "address")]
- public string Address { get; set; }
-
- ///
- /// Gets or sets HTTP verb of this operation.
- ///
- [JsonProperty(PropertyName = "verb")]
- public string Verb { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebSlotSwapStartedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebSlotSwapStartedEventData.cs
deleted file mode 100644
index 11a65317c5c7f..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebSlotSwapStartedEventData.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.Web.SlotSwapStarted event.
- ///
- public partial class WebSlotSwapStartedEventData
- {
- ///
- /// Initializes a new instance of the WebSlotSwapStartedEventData
- /// class.
- ///
- public WebSlotSwapStartedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the WebSlotSwapStartedEventData
- /// class.
- ///
- /// name of the web site that had this
- /// event.
- /// The client request id generated by
- /// the app service for the site API operation that triggered this
- /// event.
- /// The correlation request id
- /// generated by the app service for the site API operation that
- /// triggered this event.
- /// The request id generated by the app service
- /// for the site API operation that triggered this event.
- /// HTTP request URL of this operation.
- /// HTTP verb of this operation.
- public WebSlotSwapStartedEventData(AppEventTypeDetail appEventTypeDetail = default(AppEventTypeDetail), string name = default(string), string clientRequestId = default(string), string correlationRequestId = default(string), string requestId = default(string), string address = default(string), string verb = default(string))
- {
- AppEventTypeDetail = appEventTypeDetail;
- Name = name;
- ClientRequestId = clientRequestId;
- CorrelationRequestId = correlationRequestId;
- RequestId = requestId;
- Address = address;
- Verb = verb;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- ///
- [JsonProperty(PropertyName = "appEventTypeDetail")]
- public AppEventTypeDetail AppEventTypeDetail { get; set; }
-
- ///
- /// Gets or sets name of the web site that had this event.
- ///
- [JsonProperty(PropertyName = "name")]
- public string Name { get; set; }
-
- ///
- /// Gets or sets the client request id generated by the app service for
- /// the site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "clientRequestId")]
- public string ClientRequestId { get; set; }
-
- ///
- /// Gets or sets the correlation request id generated by the app
- /// service for the site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "correlationRequestId")]
- public string CorrelationRequestId { get; set; }
-
- ///
- /// Gets or sets the request id generated by the app service for the
- /// site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "requestId")]
- public string RequestId { get; set; }
-
- ///
- /// Gets or sets HTTP request URL of this operation.
- ///
- [JsonProperty(PropertyName = "address")]
- public string Address { get; set; }
-
- ///
- /// Gets or sets HTTP verb of this operation.
- ///
- [JsonProperty(PropertyName = "verb")]
- public string Verb { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebSlotSwapWithPreviewCancelledEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebSlotSwapWithPreviewCancelledEventData.cs
deleted file mode 100644
index d548914f636e0..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebSlotSwapWithPreviewCancelledEventData.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.Web.SlotSwapWithPreviewCancelled event.
- ///
- public partial class WebSlotSwapWithPreviewCancelledEventData
- {
- ///
- /// Initializes a new instance of the
- /// WebSlotSwapWithPreviewCancelledEventData class.
- ///
- public WebSlotSwapWithPreviewCancelledEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// WebSlotSwapWithPreviewCancelledEventData class.
- ///
- /// name of the web site that had this
- /// event.
- /// The client request id generated by
- /// the app service for the site API operation that triggered this
- /// event.
- /// The correlation request id
- /// generated by the app service for the site API operation that
- /// triggered this event.
- /// The request id generated by the app service
- /// for the site API operation that triggered this event.
- /// HTTP request URL of this operation.
- /// HTTP verb of this operation.
- public WebSlotSwapWithPreviewCancelledEventData(AppEventTypeDetail appEventTypeDetail = default(AppEventTypeDetail), string name = default(string), string clientRequestId = default(string), string correlationRequestId = default(string), string requestId = default(string), string address = default(string), string verb = default(string))
- {
- AppEventTypeDetail = appEventTypeDetail;
- Name = name;
- ClientRequestId = clientRequestId;
- CorrelationRequestId = correlationRequestId;
- RequestId = requestId;
- Address = address;
- Verb = verb;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- ///
- [JsonProperty(PropertyName = "appEventTypeDetail")]
- public AppEventTypeDetail AppEventTypeDetail { get; set; }
-
- ///
- /// Gets or sets name of the web site that had this event.
- ///
- [JsonProperty(PropertyName = "name")]
- public string Name { get; set; }
-
- ///
- /// Gets or sets the client request id generated by the app service for
- /// the site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "clientRequestId")]
- public string ClientRequestId { get; set; }
-
- ///
- /// Gets or sets the correlation request id generated by the app
- /// service for the site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "correlationRequestId")]
- public string CorrelationRequestId { get; set; }
-
- ///
- /// Gets or sets the request id generated by the app service for the
- /// site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "requestId")]
- public string RequestId { get; set; }
-
- ///
- /// Gets or sets HTTP request URL of this operation.
- ///
- [JsonProperty(PropertyName = "address")]
- public string Address { get; set; }
-
- ///
- /// Gets or sets HTTP verb of this operation.
- ///
- [JsonProperty(PropertyName = "verb")]
- public string Verb { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebSlotSwapWithPreviewStartedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebSlotSwapWithPreviewStartedEventData.cs
deleted file mode 100644
index 79018f081474f..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/Models/WebSlotSwapWithPreviewStartedEventData.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Schema of the Data property of an EventGridEvent for an
- /// Microsoft.Web.SlotSwapWithPreviewStarted event.
- ///
- public partial class WebSlotSwapWithPreviewStartedEventData
- {
- ///
- /// Initializes a new instance of the
- /// WebSlotSwapWithPreviewStartedEventData class.
- ///
- public WebSlotSwapWithPreviewStartedEventData()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// WebSlotSwapWithPreviewStartedEventData class.
- ///
- /// name of the web site that had this
- /// event.
- /// The client request id generated by
- /// the app service for the site API operation that triggered this
- /// event.
- /// The correlation request id
- /// generated by the app service for the site API operation that
- /// triggered this event.
- /// The request id generated by the app service
- /// for the site API operation that triggered this event.
- /// HTTP request URL of this operation.
- /// HTTP verb of this operation.
- public WebSlotSwapWithPreviewStartedEventData(AppEventTypeDetail appEventTypeDetail = default(AppEventTypeDetail), string name = default(string), string clientRequestId = default(string), string correlationRequestId = default(string), string requestId = default(string), string address = default(string), string verb = default(string))
- {
- AppEventTypeDetail = appEventTypeDetail;
- Name = name;
- ClientRequestId = clientRequestId;
- CorrelationRequestId = correlationRequestId;
- RequestId = requestId;
- Address = address;
- Verb = verb;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- ///
- [JsonProperty(PropertyName = "appEventTypeDetail")]
- public AppEventTypeDetail AppEventTypeDetail { get; set; }
-
- ///
- /// Gets or sets name of the web site that had this event.
- ///
- [JsonProperty(PropertyName = "name")]
- public string Name { get; set; }
-
- ///
- /// Gets or sets the client request id generated by the app service for
- /// the site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "clientRequestId")]
- public string ClientRequestId { get; set; }
-
- ///
- /// Gets or sets the correlation request id generated by the app
- /// service for the site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "correlationRequestId")]
- public string CorrelationRequestId { get; set; }
-
- ///
- /// Gets or sets the request id generated by the app service for the
- /// site API operation that triggered this event.
- ///
- [JsonProperty(PropertyName = "requestId")]
- public string RequestId { get; set; }
-
- ///
- /// Gets or sets HTTP request URL of this operation.
- ///
- [JsonProperty(PropertyName = "address")]
- public string Address { get; set; }
-
- ///
- /// Gets or sets HTTP verb of this operation.
- ///
- [JsonProperty(PropertyName = "verb")]
- public string Verb { get; set; }
-
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/SdkInfo_EventGridClient.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/SdkInfo_EventGridClient.cs
deleted file mode 100644
index efe2ecac9f230..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/SdkInfo_EventGridClient.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.EventGrid
-{
- using System;
- using System.Collections.Generic;
- using System.Linq;
-
- internal static partial class SdkInfo
- {
- public static IEnumerable> ApiInfo_SchemaofAzureStorageeventspublishedtoAzureEventGrid
- {
- get
- {
- return new Tuple[]
- {
- new Tuple("SchemaofAzureStorageeventspublishedtoAzureEventGrid", "PublishEvents", "2018-01-01"),
- }.AsEnumerable();
- }
- }
- // BEGIN: Code Generation Metadata Section
- public static readonly String AutoRestVersion = "latest";
- public static readonly String AutoRestBootStrapperVersion = "autorest@3.0.6187";
- public static readonly String AutoRestCmdExecuted = "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=..\\..\\..";
- public static readonly String GithubForkName = "Azure";
- public static readonly String GithubBranchName = "master";
- public static readonly String GithubCommidId = "3db4f7d4adfb69524af23765ae4cdb4cf4d9ccb3";
- public static readonly String CodeGenerationErrors = "";
- public static readonly String GithubRepoName = "azure-rest-api-specs";
- // END: Code Generation Metadata Section
- }
-}
-
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/SdkInfo_SchemaofAzureStorageeventspublishedtoAzureEventGrid.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/SdkInfo_SchemaofAzureStorageeventspublishedtoAzureEventGrid.cs
deleted file mode 100644
index e69de29bb2d1d..0000000000000
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/code-model-v1 b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/code-model-v1
deleted file mode 100644
index bb8161c70747e..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Generated/code-model-v1
+++ /dev/null
@@ -1,25218 +0,0 @@
-{
- "$id": "1",
- "modelTypes": [
- {
- "$id": "2",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "3",
- "isReadOnly": false,
- "realPath": [
- "api"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "4",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "5",
- "fixed": false,
- "raw": "The name of the API/operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "6",
- "fixed": false,
- "raw": "api"
- },
- "serializedName": "api",
- "modelType": {
- "$id": "7",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "8",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "9",
- "isReadOnly": false,
- "realPath": [
- "clientRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "10",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "11",
- "fixed": false,
- "raw": "A request id provided by the client of the storage API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "12",
- "fixed": false,
- "raw": "clientRequestId"
- },
- "serializedName": "clientRequestId",
- "modelType": {
- "$id": "13",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "14",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "15",
- "isReadOnly": false,
- "realPath": [
- "requestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "16",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "17",
- "fixed": false,
- "raw": "The request id generated by the Storage service for the storage API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "18",
- "fixed": false,
- "raw": "requestId"
- },
- "serializedName": "requestId",
- "modelType": {
- "$id": "19",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "20",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "21",
- "isReadOnly": false,
- "realPath": [
- "eTag"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "22",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "23",
- "fixed": false,
- "raw": "The etag of the blob at the time this event was triggered."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "24",
- "fixed": false,
- "raw": "eTag"
- },
- "serializedName": "eTag",
- "modelType": {
- "$id": "25",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "26",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "27",
- "isReadOnly": false,
- "realPath": [
- "contentType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "28",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "29",
- "fixed": false,
- "raw": "The content type of the blob. This is the same as what would be returned in the Content-Type header from the blob."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "30",
- "fixed": false,
- "raw": "contentType"
- },
- "serializedName": "contentType",
- "modelType": {
- "$id": "31",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "32",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "33",
- "isReadOnly": false,
- "realPath": [
- "contentLength"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "34",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "35",
- "fixed": false,
- "raw": "The size of the blob in bytes. This is the same as what would be returned in the Content-Length header from the blob."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "36",
- "fixed": false,
- "raw": "contentLength"
- },
- "serializedName": "contentLength",
- "modelType": {
- "$id": "37",
- "$type": "PrimaryType",
- "format": "int64",
- "knownPrimaryType": "long",
- "name": {
- "$id": "38",
- "fixed": false,
- "raw": "Long"
- },
- "deprecated": false
- }
- },
- {
- "$id": "39",
- "isReadOnly": false,
- "realPath": [
- "contentOffset"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "40",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "41",
- "fixed": false,
- "raw": "The offset of the blob in bytes."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "42",
- "fixed": false,
- "raw": "contentOffset"
- },
- "serializedName": "contentOffset",
- "modelType": {
- "$id": "43",
- "$type": "PrimaryType",
- "format": "int64",
- "knownPrimaryType": "long",
- "name": {
- "$id": "44",
- "fixed": false,
- "raw": "Long"
- },
- "deprecated": false
- }
- },
- {
- "$id": "45",
- "isReadOnly": false,
- "realPath": [
- "blobType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "46",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "47",
- "fixed": false,
- "raw": "The type of blob."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "48",
- "fixed": false,
- "raw": "blobType"
- },
- "serializedName": "blobType",
- "modelType": {
- "$id": "49",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "50",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "51",
- "isReadOnly": false,
- "realPath": [
- "url"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "52",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "53",
- "fixed": false,
- "raw": "The path to the blob."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "54",
- "fixed": false,
- "raw": "url"
- },
- "serializedName": "url",
- "modelType": {
- "$id": "55",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "56",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "57",
- "isReadOnly": false,
- "realPath": [
- "sequencer"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "58",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "59",
- "fixed": false,
- "raw": "An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard string comparison to understand the relative sequence of two events on the same blob name."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "60",
- "fixed": false,
- "raw": "sequencer"
- },
- "serializedName": "sequencer",
- "modelType": {
- "$id": "61",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "62",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "63",
- "isReadOnly": false,
- "realPath": [
- "identity"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "64",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "65",
- "fixed": false,
- "raw": "The identity of the requester that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "66",
- "fixed": false,
- "raw": "identity"
- },
- "serializedName": "identity",
- "modelType": {
- "$id": "67",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "68",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "69",
- "isReadOnly": false,
- "realPath": [
- "storageDiagnostics"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "70",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "71",
- "fixed": false,
- "raw": "For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "72",
- "fixed": false,
- "raw": "storageDiagnostics"
- },
- "serializedName": "storageDiagnostics",
- "modelType": {
- "$id": "73",
- "$type": "PrimaryType",
- "knownPrimaryType": "object",
- "name": {
- "$id": "74",
- "fixed": false,
- "raw": "Object"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "StorageBlobCreatedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.Storage.BlobCreated event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "75",
- "fixed": false,
- "raw": "StorageBlobCreatedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///274?oai3.shaken.json"
- ],
- "name": "StorageBlobCreatedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json#/components/schemas/StorageBlobCreatedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "76",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "77",
- "isReadOnly": false,
- "realPath": [
- "api"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "78",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "79",
- "fixed": false,
- "raw": "The name of the API/operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "80",
- "fixed": false,
- "raw": "api"
- },
- "serializedName": "api",
- "modelType": {
- "$id": "81",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "82",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "83",
- "isReadOnly": false,
- "realPath": [
- "clientRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "84",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "85",
- "fixed": false,
- "raw": "A request id provided by the client of the storage API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "86",
- "fixed": false,
- "raw": "clientRequestId"
- },
- "serializedName": "clientRequestId",
- "modelType": {
- "$id": "87",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "88",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "89",
- "isReadOnly": false,
- "realPath": [
- "requestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "90",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "91",
- "fixed": false,
- "raw": "The request id generated by the Storage service for the storage API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "92",
- "fixed": false,
- "raw": "requestId"
- },
- "serializedName": "requestId",
- "modelType": {
- "$id": "93",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "94",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "95",
- "isReadOnly": false,
- "realPath": [
- "contentType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "96",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "97",
- "fixed": false,
- "raw": "The content type of the blob. This is the same as what would be returned in the Content-Type header from the blob."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "98",
- "fixed": false,
- "raw": "contentType"
- },
- "serializedName": "contentType",
- "modelType": {
- "$id": "99",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "100",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "101",
- "isReadOnly": false,
- "realPath": [
- "blobType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "102",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "103",
- "fixed": false,
- "raw": "The type of blob."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "104",
- "fixed": false,
- "raw": "blobType"
- },
- "serializedName": "blobType",
- "modelType": {
- "$id": "105",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "106",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "107",
- "isReadOnly": false,
- "realPath": [
- "url"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "108",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "109",
- "fixed": false,
- "raw": "The path to the blob."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "110",
- "fixed": false,
- "raw": "url"
- },
- "serializedName": "url",
- "modelType": {
- "$id": "111",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "112",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "113",
- "isReadOnly": false,
- "realPath": [
- "sequencer"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "114",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "115",
- "fixed": false,
- "raw": "An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard string comparison to understand the relative sequence of two events on the same blob name."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "116",
- "fixed": false,
- "raw": "sequencer"
- },
- "serializedName": "sequencer",
- "modelType": {
- "$id": "117",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "118",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "119",
- "isReadOnly": false,
- "realPath": [
- "identity"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "120",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "121",
- "fixed": false,
- "raw": "The identity of the requester that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "122",
- "fixed": false,
- "raw": "identity"
- },
- "serializedName": "identity",
- "modelType": {
- "$id": "123",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "124",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "125",
- "isReadOnly": false,
- "realPath": [
- "storageDiagnostics"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "126",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "127",
- "fixed": false,
- "raw": "For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "128",
- "fixed": false,
- "raw": "storageDiagnostics"
- },
- "serializedName": "storageDiagnostics",
- "modelType": {
- "$id": "129",
- "$type": "PrimaryType",
- "knownPrimaryType": "object",
- "name": {
- "$id": "130",
- "fixed": false,
- "raw": "Object"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "StorageBlobDeletedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.Storage.BlobDeleted event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "131",
- "fixed": false,
- "raw": "StorageBlobDeletedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///274?oai3.shaken.json"
- ],
- "name": "StorageBlobDeletedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json#/components/schemas/StorageBlobDeletedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "132",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "133",
- "isReadOnly": false,
- "realPath": [
- "api"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "134",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "135",
- "fixed": false,
- "raw": "The name of the API/operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "136",
- "fixed": false,
- "raw": "api"
- },
- "serializedName": "api",
- "modelType": {
- "$id": "137",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "138",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "139",
- "isReadOnly": false,
- "realPath": [
- "clientRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "140",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "141",
- "fixed": false,
- "raw": "A request id provided by the client of the storage API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "142",
- "fixed": false,
- "raw": "clientRequestId"
- },
- "serializedName": "clientRequestId",
- "modelType": {
- "$id": "143",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "144",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "145",
- "isReadOnly": false,
- "realPath": [
- "requestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "146",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "147",
- "fixed": false,
- "raw": "The request id generated by the storage service for the storage API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "148",
- "fixed": false,
- "raw": "requestId"
- },
- "serializedName": "requestId",
- "modelType": {
- "$id": "149",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "150",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "151",
- "isReadOnly": false,
- "realPath": [
- "eTag"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "152",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "153",
- "fixed": false,
- "raw": "The etag of the directory at the time this event was triggered."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "154",
- "fixed": false,
- "raw": "eTag"
- },
- "serializedName": "eTag",
- "modelType": {
- "$id": "155",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "156",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "157",
- "isReadOnly": false,
- "realPath": [
- "url"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "158",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "159",
- "fixed": false,
- "raw": "The path to the directory."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "160",
- "fixed": false,
- "raw": "url"
- },
- "serializedName": "url",
- "modelType": {
- "$id": "161",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "162",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "163",
- "isReadOnly": false,
- "realPath": [
- "sequencer"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "164",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "165",
- "fixed": false,
- "raw": "An opaque string value representing the logical sequence of events for any particular directory name. Users can use standard string comparison to understand the relative sequence of two events on the same directory name."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "166",
- "fixed": false,
- "raw": "sequencer"
- },
- "serializedName": "sequencer",
- "modelType": {
- "$id": "167",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "168",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "169",
- "isReadOnly": false,
- "realPath": [
- "identity"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "170",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "171",
- "fixed": false,
- "raw": "The identity of the requester that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "172",
- "fixed": false,
- "raw": "identity"
- },
- "serializedName": "identity",
- "modelType": {
- "$id": "173",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "174",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "175",
- "isReadOnly": false,
- "realPath": [
- "storageDiagnostics"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "176",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "177",
- "fixed": false,
- "raw": "For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "178",
- "fixed": false,
- "raw": "storageDiagnostics"
- },
- "serializedName": "storageDiagnostics",
- "modelType": {
- "$id": "179",
- "$type": "PrimaryType",
- "knownPrimaryType": "object",
- "name": {
- "$id": "180",
- "fixed": false,
- "raw": "Object"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "StorageDirectoryCreatedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.Storage.DirectoryCreated event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "181",
- "fixed": false,
- "raw": "StorageDirectoryCreatedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///274?oai3.shaken.json"
- ],
- "name": "StorageDirectoryCreatedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json#/components/schemas/StorageDirectoryCreatedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "182",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "183",
- "isReadOnly": false,
- "realPath": [
- "api"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "184",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "185",
- "fixed": false,
- "raw": "The name of the API/operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "186",
- "fixed": false,
- "raw": "api"
- },
- "serializedName": "api",
- "modelType": {
- "$id": "187",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "188",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "189",
- "isReadOnly": false,
- "realPath": [
- "clientRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "190",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "191",
- "fixed": false,
- "raw": "A request id provided by the client of the storage API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "192",
- "fixed": false,
- "raw": "clientRequestId"
- },
- "serializedName": "clientRequestId",
- "modelType": {
- "$id": "193",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "194",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "195",
- "isReadOnly": false,
- "realPath": [
- "requestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "196",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "197",
- "fixed": false,
- "raw": "The request id generated by the storage service for the storage API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "198",
- "fixed": false,
- "raw": "requestId"
- },
- "serializedName": "requestId",
- "modelType": {
- "$id": "199",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "200",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "201",
- "isReadOnly": false,
- "realPath": [
- "url"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "202",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "203",
- "fixed": false,
- "raw": "The path to the deleted directory."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "204",
- "fixed": false,
- "raw": "url"
- },
- "serializedName": "url",
- "modelType": {
- "$id": "205",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "206",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "207",
- "isReadOnly": false,
- "realPath": [
- "recursive"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "208",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "209",
- "fixed": false,
- "raw": "Is this event for a recursive delete operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "210",
- "fixed": false,
- "raw": "recursive"
- },
- "serializedName": "recursive",
- "modelType": {
- "$id": "211",
- "$type": "PrimaryType",
- "knownPrimaryType": "boolean",
- "name": {
- "$id": "212",
- "fixed": false,
- "raw": "Boolean"
- },
- "deprecated": false
- }
- },
- {
- "$id": "213",
- "isReadOnly": false,
- "realPath": [
- "sequencer"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "214",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "215",
- "fixed": false,
- "raw": "An opaque string value representing the logical sequence of events for any particular directory name. Users can use standard string comparison to understand the relative sequence of two events on the same directory name."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "216",
- "fixed": false,
- "raw": "sequencer"
- },
- "serializedName": "sequencer",
- "modelType": {
- "$id": "217",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "218",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "219",
- "isReadOnly": false,
- "realPath": [
- "identity"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "220",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "221",
- "fixed": false,
- "raw": "The identity of the requester that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "222",
- "fixed": false,
- "raw": "identity"
- },
- "serializedName": "identity",
- "modelType": {
- "$id": "223",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "224",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "225",
- "isReadOnly": false,
- "realPath": [
- "storageDiagnostics"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "226",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "227",
- "fixed": false,
- "raw": "For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "228",
- "fixed": false,
- "raw": "storageDiagnostics"
- },
- "serializedName": "storageDiagnostics",
- "modelType": {
- "$id": "229",
- "$type": "PrimaryType",
- "knownPrimaryType": "object",
- "name": {
- "$id": "230",
- "fixed": false,
- "raw": "Object"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "StorageDirectoryDeletedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.Storage.DirectoryDeleted event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "231",
- "fixed": false,
- "raw": "StorageDirectoryDeletedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///274?oai3.shaken.json"
- ],
- "name": "StorageDirectoryDeletedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json#/components/schemas/StorageDirectoryDeletedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "232",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "233",
- "isReadOnly": false,
- "realPath": [
- "api"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "234",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "235",
- "fixed": false,
- "raw": "The name of the API/operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "236",
- "fixed": false,
- "raw": "api"
- },
- "serializedName": "api",
- "modelType": {
- "$id": "237",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "238",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "239",
- "isReadOnly": false,
- "realPath": [
- "clientRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "240",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "241",
- "fixed": false,
- "raw": "A request id provided by the client of the storage API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "242",
- "fixed": false,
- "raw": "clientRequestId"
- },
- "serializedName": "clientRequestId",
- "modelType": {
- "$id": "243",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "244",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "245",
- "isReadOnly": false,
- "realPath": [
- "requestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "246",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "247",
- "fixed": false,
- "raw": "The request id generated by the storage service for the storage API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "248",
- "fixed": false,
- "raw": "requestId"
- },
- "serializedName": "requestId",
- "modelType": {
- "$id": "249",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "250",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "251",
- "isReadOnly": false,
- "realPath": [
- "sourceUrl"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "252",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "253",
- "fixed": false,
- "raw": "The path to the blob that was renamed."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "254",
- "fixed": false,
- "raw": "sourceUrl"
- },
- "serializedName": "sourceUrl",
- "modelType": {
- "$id": "255",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "256",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "257",
- "isReadOnly": false,
- "realPath": [
- "destinationUrl"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "258",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "259",
- "fixed": false,
- "raw": "The new path to the blob after the rename operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "260",
- "fixed": false,
- "raw": "destinationUrl"
- },
- "serializedName": "destinationUrl",
- "modelType": {
- "$id": "261",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "262",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "263",
- "isReadOnly": false,
- "realPath": [
- "sequencer"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "264",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "265",
- "fixed": false,
- "raw": "An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard string comparison to understand the relative sequence of two events on the same blob name."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "266",
- "fixed": false,
- "raw": "sequencer"
- },
- "serializedName": "sequencer",
- "modelType": {
- "$id": "267",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "268",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "269",
- "isReadOnly": false,
- "realPath": [
- "identity"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "270",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "271",
- "fixed": false,
- "raw": "The identity of the requester that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "272",
- "fixed": false,
- "raw": "identity"
- },
- "serializedName": "identity",
- "modelType": {
- "$id": "273",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "274",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "275",
- "isReadOnly": false,
- "realPath": [
- "storageDiagnostics"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "276",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "277",
- "fixed": false,
- "raw": "For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "278",
- "fixed": false,
- "raw": "storageDiagnostics"
- },
- "serializedName": "storageDiagnostics",
- "modelType": {
- "$id": "279",
- "$type": "PrimaryType",
- "knownPrimaryType": "object",
- "name": {
- "$id": "280",
- "fixed": false,
- "raw": "Object"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "StorageBlobRenamedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.Storage.BlobRenamed event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "281",
- "fixed": false,
- "raw": "StorageBlobRenamedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///274?oai3.shaken.json"
- ],
- "name": "StorageBlobRenamedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json#/components/schemas/StorageBlobRenamedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "282",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "283",
- "isReadOnly": false,
- "realPath": [
- "api"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "284",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "285",
- "fixed": false,
- "raw": "The name of the API/operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "286",
- "fixed": false,
- "raw": "api"
- },
- "serializedName": "api",
- "modelType": {
- "$id": "287",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "288",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "289",
- "isReadOnly": false,
- "realPath": [
- "clientRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "290",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "291",
- "fixed": false,
- "raw": "A request id provided by the client of the storage API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "292",
- "fixed": false,
- "raw": "clientRequestId"
- },
- "serializedName": "clientRequestId",
- "modelType": {
- "$id": "293",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "294",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "295",
- "isReadOnly": false,
- "realPath": [
- "requestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "296",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "297",
- "fixed": false,
- "raw": "The request id generated by the storage service for the storage API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "298",
- "fixed": false,
- "raw": "requestId"
- },
- "serializedName": "requestId",
- "modelType": {
- "$id": "299",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "300",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "301",
- "isReadOnly": false,
- "realPath": [
- "sourceUrl"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "302",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "303",
- "fixed": false,
- "raw": "The path to the directory that was renamed."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "304",
- "fixed": false,
- "raw": "sourceUrl"
- },
- "serializedName": "sourceUrl",
- "modelType": {
- "$id": "305",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "306",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "307",
- "isReadOnly": false,
- "realPath": [
- "destinationUrl"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "308",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "309",
- "fixed": false,
- "raw": "The new path to the directory after the rename operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "310",
- "fixed": false,
- "raw": "destinationUrl"
- },
- "serializedName": "destinationUrl",
- "modelType": {
- "$id": "311",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "312",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "313",
- "isReadOnly": false,
- "realPath": [
- "sequencer"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "314",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "315",
- "fixed": false,
- "raw": "An opaque string value representing the logical sequence of events for any particular directory name. Users can use standard string comparison to understand the relative sequence of two events on the same directory name."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "316",
- "fixed": false,
- "raw": "sequencer"
- },
- "serializedName": "sequencer",
- "modelType": {
- "$id": "317",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "318",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "319",
- "isReadOnly": false,
- "realPath": [
- "identity"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "320",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "321",
- "fixed": false,
- "raw": "The identity of the requester that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "322",
- "fixed": false,
- "raw": "identity"
- },
- "serializedName": "identity",
- "modelType": {
- "$id": "323",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "324",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "325",
- "isReadOnly": false,
- "realPath": [
- "storageDiagnostics"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "326",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "327",
- "fixed": false,
- "raw": "For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "328",
- "fixed": false,
- "raw": "storageDiagnostics"
- },
- "serializedName": "storageDiagnostics",
- "modelType": {
- "$id": "329",
- "$type": "PrimaryType",
- "knownPrimaryType": "object",
- "name": {
- "$id": "330",
- "fixed": false,
- "raw": "Object"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "StorageDirectoryRenamedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.Storage.DirectoryRenamed event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "331",
- "fixed": false,
- "raw": "StorageDirectoryRenamedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///274?oai3.shaken.json"
- ],
- "name": "StorageDirectoryRenamedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json#/components/schemas/StorageDirectoryRenamedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "332",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "333",
- "isReadOnly": false,
- "realPath": [
- "fileurl"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "334",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "335",
- "fixed": false,
- "raw": "The path to the capture file."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "336",
- "fixed": false,
- "raw": "fileurl"
- },
- "serializedName": "fileurl",
- "modelType": {
- "$id": "337",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "338",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "339",
- "isReadOnly": false,
- "realPath": [
- "fileType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "340",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "341",
- "fixed": false,
- "raw": "The file type of the capture file."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "342",
- "fixed": false,
- "raw": "fileType"
- },
- "serializedName": "fileType",
- "modelType": {
- "$id": "343",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "344",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "345",
- "isReadOnly": false,
- "realPath": [
- "partitionId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "346",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "347",
- "fixed": false,
- "raw": "The shard ID."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "348",
- "fixed": false,
- "raw": "partitionId"
- },
- "serializedName": "partitionId",
- "modelType": {
- "$id": "349",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "350",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "351",
- "isReadOnly": false,
- "realPath": [
- "sizeInBytes"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "352",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "353",
- "fixed": false,
- "raw": "The file size."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "354",
- "fixed": false,
- "raw": "sizeInBytes"
- },
- "serializedName": "sizeInBytes",
- "modelType": {
- "$id": "355",
- "$type": "PrimaryType",
- "knownPrimaryType": "int",
- "name": {
- "$id": "356",
- "fixed": false,
- "raw": "Int"
- },
- "deprecated": false
- }
- },
- {
- "$id": "357",
- "isReadOnly": false,
- "realPath": [
- "eventCount"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "358",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "359",
- "fixed": false,
- "raw": "The number of events in the file."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "360",
- "fixed": false,
- "raw": "eventCount"
- },
- "serializedName": "eventCount",
- "modelType": {
- "$id": "361",
- "$type": "PrimaryType",
- "knownPrimaryType": "int",
- "name": {
- "$id": "362",
- "fixed": false,
- "raw": "Int"
- },
- "deprecated": false
- }
- },
- {
- "$id": "363",
- "isReadOnly": false,
- "realPath": [
- "firstSequenceNumber"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "364",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "365",
- "fixed": false,
- "raw": "The smallest sequence number from the queue."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "366",
- "fixed": false,
- "raw": "firstSequenceNumber"
- },
- "serializedName": "firstSequenceNumber",
- "modelType": {
- "$id": "367",
- "$type": "PrimaryType",
- "knownPrimaryType": "int",
- "name": {
- "$id": "368",
- "fixed": false,
- "raw": "Int"
- },
- "deprecated": false
- }
- },
- {
- "$id": "369",
- "isReadOnly": false,
- "realPath": [
- "lastSequenceNumber"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "370",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "371",
- "fixed": false,
- "raw": "The last sequence number from the queue."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "372",
- "fixed": false,
- "raw": "lastSequenceNumber"
- },
- "serializedName": "lastSequenceNumber",
- "modelType": {
- "$id": "373",
- "$type": "PrimaryType",
- "knownPrimaryType": "int",
- "name": {
- "$id": "374",
- "fixed": false,
- "raw": "Int"
- },
- "deprecated": false
- }
- },
- {
- "$id": "375",
- "isReadOnly": false,
- "realPath": [
- "firstEnqueueTime"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "376",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "377",
- "fixed": false,
- "raw": "The first time from the queue."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "378",
- "fixed": false,
- "raw": "firstEnqueueTime"
- },
- "serializedName": "firstEnqueueTime",
- "modelType": {
- "$id": "379",
- "$type": "PrimaryType",
- "format": "date-time",
- "knownPrimaryType": "dateTime",
- "name": {
- "$id": "380",
- "fixed": false,
- "raw": "DateTime"
- },
- "deprecated": false
- }
- },
- {
- "$id": "381",
- "isReadOnly": false,
- "realPath": [
- "lastEnqueueTime"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "382",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "383",
- "fixed": false,
- "raw": "The last time from the queue."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "384",
- "fixed": false,
- "raw": "lastEnqueueTime"
- },
- "serializedName": "lastEnqueueTime",
- "modelType": {
- "$id": "385",
- "$type": "PrimaryType",
- "format": "date-time",
- "knownPrimaryType": "dateTime",
- "name": {
- "$id": "386",
- "fixed": false,
- "raw": "DateTime"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "EventHubCaptureFileCreatedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.EventHub.CaptureFileCreated event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "387",
- "fixed": false,
- "raw": "EventHubCaptureFileCreatedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///275?oai3.shaken.json"
- ],
- "name": "EventHubCaptureFileCreatedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.EventHub/stable/2018-01-01/EventHub.json#/components/schemas/EventHubCaptureFileCreatedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "388",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "389",
- "isReadOnly": false,
- "realPath": [
- "tenantId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "390",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "391",
- "fixed": false,
- "raw": "The tenant ID of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "392",
- "fixed": false,
- "raw": "tenantId"
- },
- "serializedName": "tenantId",
- "modelType": {
- "$id": "393",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "394",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "395",
- "isReadOnly": false,
- "realPath": [
- "subscriptionId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "396",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "397",
- "fixed": false,
- "raw": "The subscription ID of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "398",
- "fixed": false,
- "raw": "subscriptionId"
- },
- "serializedName": "subscriptionId",
- "modelType": {
- "$id": "399",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "400",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "401",
- "isReadOnly": false,
- "realPath": [
- "resourceGroup"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "402",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "403",
- "fixed": false,
- "raw": "The resource group of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "404",
- "fixed": false,
- "raw": "resourceGroup"
- },
- "serializedName": "resourceGroup",
- "modelType": {
- "$id": "405",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "406",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "407",
- "isReadOnly": false,
- "realPath": [
- "resourceProvider"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "408",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "409",
- "fixed": false,
- "raw": "The resource provider performing the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "410",
- "fixed": false,
- "raw": "resourceProvider"
- },
- "serializedName": "resourceProvider",
- "modelType": {
- "$id": "411",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "412",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "413",
- "isReadOnly": false,
- "realPath": [
- "resourceUri"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "414",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "415",
- "fixed": false,
- "raw": "The URI of the resource in the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "416",
- "fixed": false,
- "raw": "resourceUri"
- },
- "serializedName": "resourceUri",
- "modelType": {
- "$id": "417",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "418",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "419",
- "isReadOnly": false,
- "realPath": [
- "operationName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "420",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "421",
- "fixed": false,
- "raw": "The operation that was performed."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "422",
- "fixed": false,
- "raw": "operationName"
- },
- "serializedName": "operationName",
- "modelType": {
- "$id": "423",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "424",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "425",
- "isReadOnly": false,
- "realPath": [
- "status"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "426",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "427",
- "fixed": false,
- "raw": "The status of the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "428",
- "fixed": false,
- "raw": "status"
- },
- "serializedName": "status",
- "modelType": {
- "$id": "429",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "430",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "431",
- "isReadOnly": false,
- "realPath": [
- "authorization"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "432",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "433",
- "fixed": false,
- "raw": "The requested authorization for the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "434",
- "fixed": false,
- "raw": "authorization"
- },
- "serializedName": "authorization",
- "modelType": {
- "$id": "435",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "436",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "437",
- "isReadOnly": false,
- "realPath": [
- "claims"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "438",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "439",
- "fixed": false,
- "raw": "The properties of the claims."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "440",
- "fixed": false,
- "raw": "claims"
- },
- "serializedName": "claims",
- "modelType": {
- "$id": "441",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "442",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "443",
- "isReadOnly": false,
- "realPath": [
- "correlationId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "444",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "445",
- "fixed": false,
- "raw": "An operation ID used for troubleshooting."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "446",
- "fixed": false,
- "raw": "correlationId"
- },
- "serializedName": "correlationId",
- "modelType": {
- "$id": "447",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "448",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "449",
- "isReadOnly": false,
- "realPath": [
- "httpRequest"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "450",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "451",
- "fixed": false,
- "raw": "The details of the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "452",
- "fixed": false,
- "raw": "httpRequest"
- },
- "serializedName": "httpRequest",
- "modelType": {
- "$id": "453",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "454",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "ResourceWriteSuccessData",
- "documentation": "Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceWriteSuccess event. This is raised when a resource create or update operation succeeds.",
- "containsConstantProperties": false,
- "name": {
- "$id": "455",
- "fixed": false,
- "raw": "ResourceWriteSuccessData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///276?oai3.shaken.json"
- ],
- "name": "ResourceWriteSuccessData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/Resources.json#/components/schemas/ResourceWriteSuccessData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "456",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "457",
- "isReadOnly": false,
- "realPath": [
- "tenantId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "458",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "459",
- "fixed": false,
- "raw": "The tenant ID of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "460",
- "fixed": false,
- "raw": "tenantId"
- },
- "serializedName": "tenantId",
- "modelType": {
- "$id": "461",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "462",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "463",
- "isReadOnly": false,
- "realPath": [
- "subscriptionId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "464",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "465",
- "fixed": false,
- "raw": "The subscription ID of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "466",
- "fixed": false,
- "raw": "subscriptionId"
- },
- "serializedName": "subscriptionId",
- "modelType": {
- "$id": "467",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "468",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "469",
- "isReadOnly": false,
- "realPath": [
- "resourceGroup"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "470",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "471",
- "fixed": false,
- "raw": "The resource group of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "472",
- "fixed": false,
- "raw": "resourceGroup"
- },
- "serializedName": "resourceGroup",
- "modelType": {
- "$id": "473",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "474",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "475",
- "isReadOnly": false,
- "realPath": [
- "resourceProvider"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "476",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "477",
- "fixed": false,
- "raw": "The resource provider performing the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "478",
- "fixed": false,
- "raw": "resourceProvider"
- },
- "serializedName": "resourceProvider",
- "modelType": {
- "$id": "479",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "480",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "481",
- "isReadOnly": false,
- "realPath": [
- "resourceUri"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "482",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "483",
- "fixed": false,
- "raw": "The URI of the resource in the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "484",
- "fixed": false,
- "raw": "resourceUri"
- },
- "serializedName": "resourceUri",
- "modelType": {
- "$id": "485",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "486",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "487",
- "isReadOnly": false,
- "realPath": [
- "operationName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "488",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "489",
- "fixed": false,
- "raw": "The operation that was performed."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "490",
- "fixed": false,
- "raw": "operationName"
- },
- "serializedName": "operationName",
- "modelType": {
- "$id": "491",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "492",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "493",
- "isReadOnly": false,
- "realPath": [
- "status"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "494",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "495",
- "fixed": false,
- "raw": "The status of the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "496",
- "fixed": false,
- "raw": "status"
- },
- "serializedName": "status",
- "modelType": {
- "$id": "497",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "498",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "499",
- "isReadOnly": false,
- "realPath": [
- "authorization"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "500",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "501",
- "fixed": false,
- "raw": "The requested authorization for the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "502",
- "fixed": false,
- "raw": "authorization"
- },
- "serializedName": "authorization",
- "modelType": {
- "$id": "503",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "504",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "505",
- "isReadOnly": false,
- "realPath": [
- "claims"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "506",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "507",
- "fixed": false,
- "raw": "The properties of the claims."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "508",
- "fixed": false,
- "raw": "claims"
- },
- "serializedName": "claims",
- "modelType": {
- "$id": "509",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "510",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "511",
- "isReadOnly": false,
- "realPath": [
- "correlationId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "512",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "513",
- "fixed": false,
- "raw": "An operation ID used for troubleshooting."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "514",
- "fixed": false,
- "raw": "correlationId"
- },
- "serializedName": "correlationId",
- "modelType": {
- "$id": "515",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "516",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "517",
- "isReadOnly": false,
- "realPath": [
- "httpRequest"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "518",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "519",
- "fixed": false,
- "raw": "The details of the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "520",
- "fixed": false,
- "raw": "httpRequest"
- },
- "serializedName": "httpRequest",
- "modelType": {
- "$id": "521",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "522",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "ResourceWriteFailureData",
- "documentation": "Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceWriteFailure event. This is raised when a resource create or update operation fails.",
- "containsConstantProperties": false,
- "name": {
- "$id": "523",
- "fixed": false,
- "raw": "ResourceWriteFailureData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///276?oai3.shaken.json"
- ],
- "name": "ResourceWriteFailureData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/Resources.json#/components/schemas/ResourceWriteFailureData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "524",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "525",
- "isReadOnly": false,
- "realPath": [
- "tenantId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "526",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "527",
- "fixed": false,
- "raw": "The tenant ID of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "528",
- "fixed": false,
- "raw": "tenantId"
- },
- "serializedName": "tenantId",
- "modelType": {
- "$id": "529",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "530",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "531",
- "isReadOnly": false,
- "realPath": [
- "subscriptionId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "532",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "533",
- "fixed": false,
- "raw": "The subscription ID of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "534",
- "fixed": false,
- "raw": "subscriptionId"
- },
- "serializedName": "subscriptionId",
- "modelType": {
- "$id": "535",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "536",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "537",
- "isReadOnly": false,
- "realPath": [
- "resourceGroup"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "538",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "539",
- "fixed": false,
- "raw": "The resource group of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "540",
- "fixed": false,
- "raw": "resourceGroup"
- },
- "serializedName": "resourceGroup",
- "modelType": {
- "$id": "541",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "542",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "543",
- "isReadOnly": false,
- "realPath": [
- "resourceProvider"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "544",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "545",
- "fixed": false,
- "raw": "The resource provider performing the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "546",
- "fixed": false,
- "raw": "resourceProvider"
- },
- "serializedName": "resourceProvider",
- "modelType": {
- "$id": "547",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "548",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "549",
- "isReadOnly": false,
- "realPath": [
- "resourceUri"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "550",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "551",
- "fixed": false,
- "raw": "The URI of the resource in the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "552",
- "fixed": false,
- "raw": "resourceUri"
- },
- "serializedName": "resourceUri",
- "modelType": {
- "$id": "553",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "554",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "555",
- "isReadOnly": false,
- "realPath": [
- "operationName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "556",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "557",
- "fixed": false,
- "raw": "The operation that was performed."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "558",
- "fixed": false,
- "raw": "operationName"
- },
- "serializedName": "operationName",
- "modelType": {
- "$id": "559",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "560",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "561",
- "isReadOnly": false,
- "realPath": [
- "status"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "562",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "563",
- "fixed": false,
- "raw": "The status of the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "564",
- "fixed": false,
- "raw": "status"
- },
- "serializedName": "status",
- "modelType": {
- "$id": "565",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "566",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "567",
- "isReadOnly": false,
- "realPath": [
- "authorization"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "568",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "569",
- "fixed": false,
- "raw": "The requested authorization for the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "570",
- "fixed": false,
- "raw": "authorization"
- },
- "serializedName": "authorization",
- "modelType": {
- "$id": "571",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "572",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "573",
- "isReadOnly": false,
- "realPath": [
- "claims"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "574",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "575",
- "fixed": false,
- "raw": "The properties of the claims."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "576",
- "fixed": false,
- "raw": "claims"
- },
- "serializedName": "claims",
- "modelType": {
- "$id": "577",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "578",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "579",
- "isReadOnly": false,
- "realPath": [
- "correlationId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "580",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "581",
- "fixed": false,
- "raw": "An operation ID used for troubleshooting."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "582",
- "fixed": false,
- "raw": "correlationId"
- },
- "serializedName": "correlationId",
- "modelType": {
- "$id": "583",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "584",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "585",
- "isReadOnly": false,
- "realPath": [
- "httpRequest"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "586",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "587",
- "fixed": false,
- "raw": "The details of the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "588",
- "fixed": false,
- "raw": "httpRequest"
- },
- "serializedName": "httpRequest",
- "modelType": {
- "$id": "589",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "590",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "ResourceWriteCancelData",
- "documentation": "Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceWriteCancel event. This is raised when a resource create or update operation is canceled.",
- "containsConstantProperties": false,
- "name": {
- "$id": "591",
- "fixed": false,
- "raw": "ResourceWriteCancelData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///276?oai3.shaken.json"
- ],
- "name": "ResourceWriteCancelData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/Resources.json#/components/schemas/ResourceWriteCancelData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "592",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "593",
- "isReadOnly": false,
- "realPath": [
- "tenantId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "594",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "595",
- "fixed": false,
- "raw": "The tenant ID of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "596",
- "fixed": false,
- "raw": "tenantId"
- },
- "serializedName": "tenantId",
- "modelType": {
- "$id": "597",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "598",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "599",
- "isReadOnly": false,
- "realPath": [
- "subscriptionId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "600",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "601",
- "fixed": false,
- "raw": "The subscription ID of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "602",
- "fixed": false,
- "raw": "subscriptionId"
- },
- "serializedName": "subscriptionId",
- "modelType": {
- "$id": "603",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "604",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "605",
- "isReadOnly": false,
- "realPath": [
- "resourceGroup"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "606",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "607",
- "fixed": false,
- "raw": "The resource group of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "608",
- "fixed": false,
- "raw": "resourceGroup"
- },
- "serializedName": "resourceGroup",
- "modelType": {
- "$id": "609",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "610",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "611",
- "isReadOnly": false,
- "realPath": [
- "resourceProvider"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "612",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "613",
- "fixed": false,
- "raw": "The resource provider performing the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "614",
- "fixed": false,
- "raw": "resourceProvider"
- },
- "serializedName": "resourceProvider",
- "modelType": {
- "$id": "615",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "616",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "617",
- "isReadOnly": false,
- "realPath": [
- "resourceUri"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "618",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "619",
- "fixed": false,
- "raw": "The URI of the resource in the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "620",
- "fixed": false,
- "raw": "resourceUri"
- },
- "serializedName": "resourceUri",
- "modelType": {
- "$id": "621",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "622",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "623",
- "isReadOnly": false,
- "realPath": [
- "operationName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "624",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "625",
- "fixed": false,
- "raw": "The operation that was performed."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "626",
- "fixed": false,
- "raw": "operationName"
- },
- "serializedName": "operationName",
- "modelType": {
- "$id": "627",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "628",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "629",
- "isReadOnly": false,
- "realPath": [
- "status"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "630",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "631",
- "fixed": false,
- "raw": "The status of the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "632",
- "fixed": false,
- "raw": "status"
- },
- "serializedName": "status",
- "modelType": {
- "$id": "633",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "634",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "635",
- "isReadOnly": false,
- "realPath": [
- "authorization"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "636",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "637",
- "fixed": false,
- "raw": "The requested authorization for the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "638",
- "fixed": false,
- "raw": "authorization"
- },
- "serializedName": "authorization",
- "modelType": {
- "$id": "639",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "640",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "641",
- "isReadOnly": false,
- "realPath": [
- "claims"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "642",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "643",
- "fixed": false,
- "raw": "The properties of the claims."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "644",
- "fixed": false,
- "raw": "claims"
- },
- "serializedName": "claims",
- "modelType": {
- "$id": "645",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "646",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "647",
- "isReadOnly": false,
- "realPath": [
- "correlationId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "648",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "649",
- "fixed": false,
- "raw": "An operation ID used for troubleshooting."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "650",
- "fixed": false,
- "raw": "correlationId"
- },
- "serializedName": "correlationId",
- "modelType": {
- "$id": "651",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "652",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "653",
- "isReadOnly": false,
- "realPath": [
- "httpRequest"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "654",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "655",
- "fixed": false,
- "raw": "The details of the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "656",
- "fixed": false,
- "raw": "httpRequest"
- },
- "serializedName": "httpRequest",
- "modelType": {
- "$id": "657",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "658",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "ResourceDeleteSuccessData",
- "documentation": "Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceDeleteSuccess event. This is raised when a resource delete operation succeeds.",
- "containsConstantProperties": false,
- "name": {
- "$id": "659",
- "fixed": false,
- "raw": "ResourceDeleteSuccessData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///276?oai3.shaken.json"
- ],
- "name": "ResourceDeleteSuccessData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/Resources.json#/components/schemas/ResourceDeleteSuccessData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "660",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "661",
- "isReadOnly": false,
- "realPath": [
- "tenantId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "662",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "663",
- "fixed": false,
- "raw": "The tenant ID of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "664",
- "fixed": false,
- "raw": "tenantId"
- },
- "serializedName": "tenantId",
- "modelType": {
- "$id": "665",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "666",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "667",
- "isReadOnly": false,
- "realPath": [
- "subscriptionId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "668",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "669",
- "fixed": false,
- "raw": "The subscription ID of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "670",
- "fixed": false,
- "raw": "subscriptionId"
- },
- "serializedName": "subscriptionId",
- "modelType": {
- "$id": "671",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "672",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "673",
- "isReadOnly": false,
- "realPath": [
- "resourceGroup"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "674",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "675",
- "fixed": false,
- "raw": "The resource group of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "676",
- "fixed": false,
- "raw": "resourceGroup"
- },
- "serializedName": "resourceGroup",
- "modelType": {
- "$id": "677",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "678",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "679",
- "isReadOnly": false,
- "realPath": [
- "resourceProvider"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "680",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "681",
- "fixed": false,
- "raw": "The resource provider performing the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "682",
- "fixed": false,
- "raw": "resourceProvider"
- },
- "serializedName": "resourceProvider",
- "modelType": {
- "$id": "683",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "684",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "685",
- "isReadOnly": false,
- "realPath": [
- "resourceUri"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "686",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "687",
- "fixed": false,
- "raw": "The URI of the resource in the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "688",
- "fixed": false,
- "raw": "resourceUri"
- },
- "serializedName": "resourceUri",
- "modelType": {
- "$id": "689",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "690",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "691",
- "isReadOnly": false,
- "realPath": [
- "operationName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "692",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "693",
- "fixed": false,
- "raw": "The operation that was performed."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "694",
- "fixed": false,
- "raw": "operationName"
- },
- "serializedName": "operationName",
- "modelType": {
- "$id": "695",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "696",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "697",
- "isReadOnly": false,
- "realPath": [
- "status"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "698",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "699",
- "fixed": false,
- "raw": "The status of the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "700",
- "fixed": false,
- "raw": "status"
- },
- "serializedName": "status",
- "modelType": {
- "$id": "701",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "702",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "703",
- "isReadOnly": false,
- "realPath": [
- "authorization"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "704",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "705",
- "fixed": false,
- "raw": "The requested authorization for the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "706",
- "fixed": false,
- "raw": "authorization"
- },
- "serializedName": "authorization",
- "modelType": {
- "$id": "707",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "708",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "709",
- "isReadOnly": false,
- "realPath": [
- "claims"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "710",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "711",
- "fixed": false,
- "raw": "The properties of the claims."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "712",
- "fixed": false,
- "raw": "claims"
- },
- "serializedName": "claims",
- "modelType": {
- "$id": "713",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "714",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "715",
- "isReadOnly": false,
- "realPath": [
- "correlationId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "716",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "717",
- "fixed": false,
- "raw": "An operation ID used for troubleshooting."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "718",
- "fixed": false,
- "raw": "correlationId"
- },
- "serializedName": "correlationId",
- "modelType": {
- "$id": "719",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "720",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "721",
- "isReadOnly": false,
- "realPath": [
- "httpRequest"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "722",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "723",
- "fixed": false,
- "raw": "The details of the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "724",
- "fixed": false,
- "raw": "httpRequest"
- },
- "serializedName": "httpRequest",
- "modelType": {
- "$id": "725",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "726",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "ResourceDeleteFailureData",
- "documentation": "Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceDeleteFailure event. This is raised when a resource delete operation fails.",
- "containsConstantProperties": false,
- "name": {
- "$id": "727",
- "fixed": false,
- "raw": "ResourceDeleteFailureData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///276?oai3.shaken.json"
- ],
- "name": "ResourceDeleteFailureData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/Resources.json#/components/schemas/ResourceDeleteFailureData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "728",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "729",
- "isReadOnly": false,
- "realPath": [
- "tenantId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "730",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "731",
- "fixed": false,
- "raw": "The tenant ID of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "732",
- "fixed": false,
- "raw": "tenantId"
- },
- "serializedName": "tenantId",
- "modelType": {
- "$id": "733",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "734",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "735",
- "isReadOnly": false,
- "realPath": [
- "subscriptionId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "736",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "737",
- "fixed": false,
- "raw": "The subscription ID of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "738",
- "fixed": false,
- "raw": "subscriptionId"
- },
- "serializedName": "subscriptionId",
- "modelType": {
- "$id": "739",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "740",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "741",
- "isReadOnly": false,
- "realPath": [
- "resourceGroup"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "742",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "743",
- "fixed": false,
- "raw": "The resource group of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "744",
- "fixed": false,
- "raw": "resourceGroup"
- },
- "serializedName": "resourceGroup",
- "modelType": {
- "$id": "745",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "746",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "747",
- "isReadOnly": false,
- "realPath": [
- "resourceProvider"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "748",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "749",
- "fixed": false,
- "raw": "The resource provider performing the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "750",
- "fixed": false,
- "raw": "resourceProvider"
- },
- "serializedName": "resourceProvider",
- "modelType": {
- "$id": "751",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "752",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "753",
- "isReadOnly": false,
- "realPath": [
- "resourceUri"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "754",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "755",
- "fixed": false,
- "raw": "The URI of the resource in the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "756",
- "fixed": false,
- "raw": "resourceUri"
- },
- "serializedName": "resourceUri",
- "modelType": {
- "$id": "757",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "758",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "759",
- "isReadOnly": false,
- "realPath": [
- "operationName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "760",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "761",
- "fixed": false,
- "raw": "The operation that was performed."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "762",
- "fixed": false,
- "raw": "operationName"
- },
- "serializedName": "operationName",
- "modelType": {
- "$id": "763",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "764",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "765",
- "isReadOnly": false,
- "realPath": [
- "status"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "766",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "767",
- "fixed": false,
- "raw": "The status of the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "768",
- "fixed": false,
- "raw": "status"
- },
- "serializedName": "status",
- "modelType": {
- "$id": "769",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "770",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "771",
- "isReadOnly": false,
- "realPath": [
- "authorization"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "772",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "773",
- "fixed": false,
- "raw": "The requested authorization for the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "774",
- "fixed": false,
- "raw": "authorization"
- },
- "serializedName": "authorization",
- "modelType": {
- "$id": "775",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "776",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "777",
- "isReadOnly": false,
- "realPath": [
- "claims"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "778",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "779",
- "fixed": false,
- "raw": "The properties of the claims."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "780",
- "fixed": false,
- "raw": "claims"
- },
- "serializedName": "claims",
- "modelType": {
- "$id": "781",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "782",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "783",
- "isReadOnly": false,
- "realPath": [
- "correlationId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "784",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "785",
- "fixed": false,
- "raw": "An operation ID used for troubleshooting."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "786",
- "fixed": false,
- "raw": "correlationId"
- },
- "serializedName": "correlationId",
- "modelType": {
- "$id": "787",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "788",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "789",
- "isReadOnly": false,
- "realPath": [
- "httpRequest"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "790",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "791",
- "fixed": false,
- "raw": "The details of the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "792",
- "fixed": false,
- "raw": "httpRequest"
- },
- "serializedName": "httpRequest",
- "modelType": {
- "$id": "793",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "794",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "ResourceDeleteCancelData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.Resources.ResourceDeleteCancel event. This is raised when a resource delete operation is canceled.",
- "containsConstantProperties": false,
- "name": {
- "$id": "795",
- "fixed": false,
- "raw": "ResourceDeleteCancelData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///276?oai3.shaken.json"
- ],
- "name": "ResourceDeleteCancelData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/Resources.json#/components/schemas/ResourceDeleteCancelData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "796",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "797",
- "isReadOnly": false,
- "realPath": [
- "tenantId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "798",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "799",
- "fixed": false,
- "raw": "The tenant ID of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "800",
- "fixed": false,
- "raw": "tenantId"
- },
- "serializedName": "tenantId",
- "modelType": {
- "$id": "801",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "802",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "803",
- "isReadOnly": false,
- "realPath": [
- "subscriptionId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "804",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "805",
- "fixed": false,
- "raw": "The subscription ID of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "806",
- "fixed": false,
- "raw": "subscriptionId"
- },
- "serializedName": "subscriptionId",
- "modelType": {
- "$id": "807",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "808",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "809",
- "isReadOnly": false,
- "realPath": [
- "resourceGroup"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "810",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "811",
- "fixed": false,
- "raw": "The resource group of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "812",
- "fixed": false,
- "raw": "resourceGroup"
- },
- "serializedName": "resourceGroup",
- "modelType": {
- "$id": "813",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "814",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "815",
- "isReadOnly": false,
- "realPath": [
- "resourceProvider"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "816",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "817",
- "fixed": false,
- "raw": "The resource provider performing the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "818",
- "fixed": false,
- "raw": "resourceProvider"
- },
- "serializedName": "resourceProvider",
- "modelType": {
- "$id": "819",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "820",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "821",
- "isReadOnly": false,
- "realPath": [
- "resourceUri"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "822",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "823",
- "fixed": false,
- "raw": "The URI of the resource in the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "824",
- "fixed": false,
- "raw": "resourceUri"
- },
- "serializedName": "resourceUri",
- "modelType": {
- "$id": "825",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "826",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "827",
- "isReadOnly": false,
- "realPath": [
- "operationName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "828",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "829",
- "fixed": false,
- "raw": "The operation that was performed."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "830",
- "fixed": false,
- "raw": "operationName"
- },
- "serializedName": "operationName",
- "modelType": {
- "$id": "831",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "832",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "833",
- "isReadOnly": false,
- "realPath": [
- "status"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "834",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "835",
- "fixed": false,
- "raw": "The status of the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "836",
- "fixed": false,
- "raw": "status"
- },
- "serializedName": "status",
- "modelType": {
- "$id": "837",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "838",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "839",
- "isReadOnly": false,
- "realPath": [
- "authorization"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "840",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "841",
- "fixed": false,
- "raw": "The requested authorization for the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "842",
- "fixed": false,
- "raw": "authorization"
- },
- "serializedName": "authorization",
- "modelType": {
- "$id": "843",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "844",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "845",
- "isReadOnly": false,
- "realPath": [
- "claims"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "846",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "847",
- "fixed": false,
- "raw": "The properties of the claims."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "848",
- "fixed": false,
- "raw": "claims"
- },
- "serializedName": "claims",
- "modelType": {
- "$id": "849",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "850",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "851",
- "isReadOnly": false,
- "realPath": [
- "correlationId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "852",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "853",
- "fixed": false,
- "raw": "An operation ID used for troubleshooting."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "854",
- "fixed": false,
- "raw": "correlationId"
- },
- "serializedName": "correlationId",
- "modelType": {
- "$id": "855",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "856",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "857",
- "isReadOnly": false,
- "realPath": [
- "httpRequest"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "858",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "859",
- "fixed": false,
- "raw": "The details of the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "860",
- "fixed": false,
- "raw": "httpRequest"
- },
- "serializedName": "httpRequest",
- "modelType": {
- "$id": "861",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "862",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "ResourceActionSuccessData",
- "documentation": "Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceActionSuccess event. This is raised when a resource action operation succeeds.",
- "containsConstantProperties": false,
- "name": {
- "$id": "863",
- "fixed": false,
- "raw": "ResourceActionSuccessData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///276?oai3.shaken.json"
- ],
- "name": "ResourceActionSuccessData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/Resources.json#/components/schemas/ResourceActionSuccessData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "864",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "865",
- "isReadOnly": false,
- "realPath": [
- "tenantId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "866",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "867",
- "fixed": false,
- "raw": "The tenant ID of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "868",
- "fixed": false,
- "raw": "tenantId"
- },
- "serializedName": "tenantId",
- "modelType": {
- "$id": "869",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "870",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "871",
- "isReadOnly": false,
- "realPath": [
- "subscriptionId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "872",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "873",
- "fixed": false,
- "raw": "The subscription ID of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "874",
- "fixed": false,
- "raw": "subscriptionId"
- },
- "serializedName": "subscriptionId",
- "modelType": {
- "$id": "875",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "876",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "877",
- "isReadOnly": false,
- "realPath": [
- "resourceGroup"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "878",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "879",
- "fixed": false,
- "raw": "The resource group of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "880",
- "fixed": false,
- "raw": "resourceGroup"
- },
- "serializedName": "resourceGroup",
- "modelType": {
- "$id": "881",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "882",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "883",
- "isReadOnly": false,
- "realPath": [
- "resourceProvider"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "884",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "885",
- "fixed": false,
- "raw": "The resource provider performing the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "886",
- "fixed": false,
- "raw": "resourceProvider"
- },
- "serializedName": "resourceProvider",
- "modelType": {
- "$id": "887",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "888",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "889",
- "isReadOnly": false,
- "realPath": [
- "resourceUri"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "890",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "891",
- "fixed": false,
- "raw": "The URI of the resource in the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "892",
- "fixed": false,
- "raw": "resourceUri"
- },
- "serializedName": "resourceUri",
- "modelType": {
- "$id": "893",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "894",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "895",
- "isReadOnly": false,
- "realPath": [
- "operationName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "896",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "897",
- "fixed": false,
- "raw": "The operation that was performed."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "898",
- "fixed": false,
- "raw": "operationName"
- },
- "serializedName": "operationName",
- "modelType": {
- "$id": "899",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "900",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "901",
- "isReadOnly": false,
- "realPath": [
- "status"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "902",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "903",
- "fixed": false,
- "raw": "The status of the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "904",
- "fixed": false,
- "raw": "status"
- },
- "serializedName": "status",
- "modelType": {
- "$id": "905",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "906",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "907",
- "isReadOnly": false,
- "realPath": [
- "authorization"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "908",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "909",
- "fixed": false,
- "raw": "The requested authorization for the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "910",
- "fixed": false,
- "raw": "authorization"
- },
- "serializedName": "authorization",
- "modelType": {
- "$id": "911",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "912",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "913",
- "isReadOnly": false,
- "realPath": [
- "claims"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "914",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "915",
- "fixed": false,
- "raw": "The properties of the claims."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "916",
- "fixed": false,
- "raw": "claims"
- },
- "serializedName": "claims",
- "modelType": {
- "$id": "917",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "918",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "919",
- "isReadOnly": false,
- "realPath": [
- "correlationId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "920",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "921",
- "fixed": false,
- "raw": "An operation ID used for troubleshooting."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "922",
- "fixed": false,
- "raw": "correlationId"
- },
- "serializedName": "correlationId",
- "modelType": {
- "$id": "923",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "924",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "925",
- "isReadOnly": false,
- "realPath": [
- "httpRequest"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "926",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "927",
- "fixed": false,
- "raw": "The details of the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "928",
- "fixed": false,
- "raw": "httpRequest"
- },
- "serializedName": "httpRequest",
- "modelType": {
- "$id": "929",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "930",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "ResourceActionFailureData",
- "documentation": "Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceActionFailure event. This is raised when a resource action operation fails.",
- "containsConstantProperties": false,
- "name": {
- "$id": "931",
- "fixed": false,
- "raw": "ResourceActionFailureData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///276?oai3.shaken.json"
- ],
- "name": "ResourceActionFailureData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/Resources.json#/components/schemas/ResourceActionFailureData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "932",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "933",
- "isReadOnly": false,
- "realPath": [
- "tenantId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "934",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "935",
- "fixed": false,
- "raw": "The tenant ID of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "936",
- "fixed": false,
- "raw": "tenantId"
- },
- "serializedName": "tenantId",
- "modelType": {
- "$id": "937",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "938",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "939",
- "isReadOnly": false,
- "realPath": [
- "subscriptionId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "940",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "941",
- "fixed": false,
- "raw": "The subscription ID of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "942",
- "fixed": false,
- "raw": "subscriptionId"
- },
- "serializedName": "subscriptionId",
- "modelType": {
- "$id": "943",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "944",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "945",
- "isReadOnly": false,
- "realPath": [
- "resourceGroup"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "946",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "947",
- "fixed": false,
- "raw": "The resource group of the resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "948",
- "fixed": false,
- "raw": "resourceGroup"
- },
- "serializedName": "resourceGroup",
- "modelType": {
- "$id": "949",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "950",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "951",
- "isReadOnly": false,
- "realPath": [
- "resourceProvider"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "952",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "953",
- "fixed": false,
- "raw": "The resource provider performing the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "954",
- "fixed": false,
- "raw": "resourceProvider"
- },
- "serializedName": "resourceProvider",
- "modelType": {
- "$id": "955",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "956",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "957",
- "isReadOnly": false,
- "realPath": [
- "resourceUri"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "958",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "959",
- "fixed": false,
- "raw": "The URI of the resource in the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "960",
- "fixed": false,
- "raw": "resourceUri"
- },
- "serializedName": "resourceUri",
- "modelType": {
- "$id": "961",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "962",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "963",
- "isReadOnly": false,
- "realPath": [
- "operationName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "964",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "965",
- "fixed": false,
- "raw": "The operation that was performed."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "966",
- "fixed": false,
- "raw": "operationName"
- },
- "serializedName": "operationName",
- "modelType": {
- "$id": "967",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "968",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "969",
- "isReadOnly": false,
- "realPath": [
- "status"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "970",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "971",
- "fixed": false,
- "raw": "The status of the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "972",
- "fixed": false,
- "raw": "status"
- },
- "serializedName": "status",
- "modelType": {
- "$id": "973",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "974",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "975",
- "isReadOnly": false,
- "realPath": [
- "authorization"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "976",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "977",
- "fixed": false,
- "raw": "The requested authorization for the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "978",
- "fixed": false,
- "raw": "authorization"
- },
- "serializedName": "authorization",
- "modelType": {
- "$id": "979",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "980",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "981",
- "isReadOnly": false,
- "realPath": [
- "claims"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "982",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "983",
- "fixed": false,
- "raw": "The properties of the claims."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "984",
- "fixed": false,
- "raw": "claims"
- },
- "serializedName": "claims",
- "modelType": {
- "$id": "985",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "986",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "987",
- "isReadOnly": false,
- "realPath": [
- "correlationId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "988",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "989",
- "fixed": false,
- "raw": "An operation ID used for troubleshooting."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "990",
- "fixed": false,
- "raw": "correlationId"
- },
- "serializedName": "correlationId",
- "modelType": {
- "$id": "991",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "992",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "993",
- "isReadOnly": false,
- "realPath": [
- "httpRequest"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "994",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "995",
- "fixed": false,
- "raw": "The details of the operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "996",
- "fixed": false,
- "raw": "httpRequest"
- },
- "serializedName": "httpRequest",
- "modelType": {
- "$id": "997",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "998",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "ResourceActionCancelData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.Resources.ResourceActionCancel event. This is raised when a resource action operation is canceled.",
- "containsConstantProperties": false,
- "name": {
- "$id": "999",
- "fixed": false,
- "raw": "ResourceActionCancelData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///276?oai3.shaken.json"
- ],
- "name": "ResourceActionCancelData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/Resources.json#/components/schemas/ResourceActionCancelData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "1000",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1001",
- "isReadOnly": false,
- "realPath": [
- "id"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1002",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1003",
- "fixed": false,
- "raw": "An unique identifier for the event."
- },
- "isRequired": true,
- "isConstant": false,
- "name": {
- "$id": "1004",
- "fixed": false,
- "raw": "id"
- },
- "serializedName": "id",
- "modelType": {
- "$id": "1005",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1006",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1007",
- "isReadOnly": false,
- "realPath": [
- "topic"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1008",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1009",
- "fixed": false,
- "raw": "The resource path of the event source."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1010",
- "fixed": false,
- "raw": "topic"
- },
- "serializedName": "topic",
- "modelType": {
- "$id": "1011",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1012",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1013",
- "isReadOnly": false,
- "realPath": [
- "subject"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1014",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1015",
- "fixed": false,
- "raw": "A resource path relative to the topic path."
- },
- "isRequired": true,
- "isConstant": false,
- "name": {
- "$id": "1016",
- "fixed": false,
- "raw": "subject"
- },
- "serializedName": "subject",
- "modelType": {
- "$id": "1017",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1018",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1019",
- "isReadOnly": false,
- "realPath": [
- "data"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1020",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1021",
- "fixed": false,
- "raw": "Event data specific to the event type."
- },
- "isRequired": true,
- "isConstant": false,
- "name": {
- "$id": "1022",
- "fixed": false,
- "raw": "data"
- },
- "serializedName": "data",
- "modelType": {
- "$id": "1023",
- "$type": "PrimaryType",
- "knownPrimaryType": "object",
- "name": {
- "$id": "1024",
- "fixed": false,
- "raw": "Object"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1025",
- "isReadOnly": false,
- "realPath": [
- "eventType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1026",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1027",
- "fixed": false,
- "raw": "The type of the event that occurred."
- },
- "isRequired": true,
- "isConstant": false,
- "name": {
- "$id": "1028",
- "fixed": false,
- "raw": "eventType"
- },
- "serializedName": "eventType",
- "modelType": {
- "$id": "1029",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1030",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1031",
- "isReadOnly": false,
- "realPath": [
- "eventTime"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1032",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1033",
- "fixed": false,
- "raw": "The time (in UTC) the event was generated."
- },
- "isRequired": true,
- "isConstant": false,
- "name": {
- "$id": "1034",
- "fixed": false,
- "raw": "eventTime"
- },
- "serializedName": "eventTime",
- "modelType": {
- "$id": "1035",
- "$type": "PrimaryType",
- "format": "date-time",
- "knownPrimaryType": "dateTime",
- "name": {
- "$id": "1036",
- "fixed": false,
- "raw": "DateTime"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1037",
- "isReadOnly": true,
- "realPath": [
- "metadataVersion"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1038",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1039",
- "fixed": false,
- "raw": "The schema version of the event metadata."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1040",
- "fixed": false,
- "raw": "metadataVersion"
- },
- "serializedName": "metadataVersion",
- "modelType": {
- "$id": "1041",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1042",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1043",
- "isReadOnly": false,
- "realPath": [
- "dataVersion"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1044",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1045",
- "fixed": false,
- "raw": "The schema version of the data object."
- },
- "isRequired": true,
- "isConstant": false,
- "name": {
- "$id": "1046",
- "fixed": false,
- "raw": "dataVersion"
- },
- "serializedName": "dataVersion",
- "modelType": {
- "$id": "1047",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1048",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "EventGridEvent",
- "documentation": "Properties of an event published to an Event Grid topic.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1049",
- "fixed": false,
- "raw": "EventGridEvent"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///277?oai3.shaken.json"
- ],
- "name": "EventGridEvent",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/EventGrid.json#/components/schemas/EventGridEvent"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "1050",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1051",
- "isReadOnly": true,
- "realPath": [
- "validationCode"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1052",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1053",
- "fixed": false,
- "raw": "The validation code sent by Azure Event Grid to validate an event subscription. To complete the validation handshake, the subscriber must either respond with this validation code as part of the validation response, or perform a GET request on the validationUrl (available starting version 2018-05-01-preview)."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1054",
- "fixed": false,
- "raw": "validationCode"
- },
- "serializedName": "validationCode",
- "modelType": {
- "$id": "1055",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1056",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1057",
- "isReadOnly": true,
- "realPath": [
- "validationUrl"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1058",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1059",
- "fixed": false,
- "raw": "The validation URL sent by Azure Event Grid (available starting version 2018-05-01-preview). To complete the validation handshake, the subscriber must either respond with the validationCode as part of the validation response, or perform a GET request on the validationUrl (available starting version 2018-05-01-preview)."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1060",
- "fixed": false,
- "raw": "validationUrl"
- },
- "serializedName": "validationUrl",
- "modelType": {
- "$id": "1061",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1062",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "SubscriptionValidationEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for a Microsoft.EventGrid.SubscriptionValidationEvent.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1063",
- "fixed": false,
- "raw": "SubscriptionValidationEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///277?oai3.shaken.json"
- ],
- "name": "SubscriptionValidationEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/EventGrid.json#/components/schemas/SubscriptionValidationEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "1064",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1065",
- "isReadOnly": false,
- "realPath": [
- "validationResponse"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1066",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1067",
- "fixed": false,
- "raw": "The validation response sent by the subscriber to Azure Event Grid to complete the validation of an event subscription."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1068",
- "fixed": false,
- "raw": "validationResponse"
- },
- "serializedName": "validationResponse",
- "modelType": {
- "$id": "1069",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1070",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "SubscriptionValidationResponse",
- "documentation": "To complete an event subscription validation handshake, a subscriber can use either the validationCode or the validationUrl received in a SubscriptionValidationEvent. When the validationCode is used, the SubscriptionValidationResponse can be used to build the response.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1071",
- "fixed": false,
- "raw": "SubscriptionValidationResponse"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///277?oai3.shaken.json"
- ],
- "name": "SubscriptionValidationResponse",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/EventGrid.json#/components/schemas/SubscriptionValidationResponse"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "1072",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1073",
- "isReadOnly": true,
- "realPath": [
- "eventSubscriptionId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1074",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1075",
- "fixed": false,
- "raw": "The Azure resource ID of the deleted event subscription."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1076",
- "fixed": false,
- "raw": "eventSubscriptionId"
- },
- "serializedName": "eventSubscriptionId",
- "modelType": {
- "$id": "1077",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1078",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "SubscriptionDeletedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for a Microsoft.EventGrid.SubscriptionDeletedEvent.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1079",
- "fixed": false,
- "raw": "SubscriptionDeletedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///277?oai3.shaken.json"
- ],
- "name": "SubscriptionDeletedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/EventGrid.json#/components/schemas/SubscriptionDeletedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "1080",
- "$type": "CompositeType",
- "serializedName": "IotHubDeviceCreatedEventData",
- "baseModelType": {
- "$id": "1081",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1082",
- "isReadOnly": false,
- "realPath": [
- "deviceId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1083",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1084",
- "fixed": false,
- "raw": "The unique identifier of the device. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit alphanumeric characters plus the following special characters: - : . + % _ # * ? ! ( ) , = @ ; $ '."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1085",
- "fixed": false,
- "raw": "deviceId"
- },
- "serializedName": "deviceId",
- "modelType": {
- "$id": "1086",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1087",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1088",
- "isReadOnly": false,
- "realPath": [
- "hubName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1089",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1090",
- "fixed": false,
- "raw": "Name of the IoT Hub where the device was created or deleted."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1091",
- "fixed": false,
- "raw": "hubName"
- },
- "serializedName": "hubName",
- "modelType": {
- "$id": "1092",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1093",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1094",
- "isReadOnly": false,
- "realPath": [
- "twin"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1095",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1096",
- "fixed": false,
- "raw": "Information about the device twin, which is the cloud representation of application device metadata."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1097",
- "fixed": false,
- "raw": "twin"
- },
- "serializedName": "twin",
- "modelType": {
- "$id": "1098",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1099",
- "isReadOnly": false,
- "realPath": [
- "authenticationType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1100",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1101",
- "fixed": false,
- "raw": "Authentication type used for this device: either SAS, SelfSigned, or CertificateAuthority."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1102",
- "fixed": false,
- "raw": "authenticationType"
- },
- "serializedName": "authenticationType",
- "modelType": {
- "$id": "1103",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1104",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1105",
- "isReadOnly": false,
- "realPath": [
- "cloudToDeviceMessageCount"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1106",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1107",
- "fixed": false,
- "raw": "Count of cloud to device messages sent to this device."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1108",
- "fixed": false,
- "raw": "cloudToDeviceMessageCount"
- },
- "serializedName": "cloudToDeviceMessageCount",
- "modelType": {
- "$id": "1109",
- "$type": "PrimaryType",
- "knownPrimaryType": "double",
- "name": {
- "$id": "1110",
- "fixed": false,
- "raw": "Double"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1111",
- "isReadOnly": false,
- "realPath": [
- "connectionState"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1112",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1113",
- "fixed": false,
- "raw": "Whether the device is connected or disconnected."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1114",
- "fixed": false,
- "raw": "connectionState"
- },
- "serializedName": "connectionState",
- "modelType": {
- "$id": "1115",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1116",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1117",
- "isReadOnly": false,
- "realPath": [
- "deviceId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1118",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1119",
- "fixed": false,
- "raw": "The unique identifier of the device twin."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1120",
- "fixed": false,
- "raw": "deviceId"
- },
- "serializedName": "deviceId",
- "modelType": {
- "$id": "1121",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1122",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1123",
- "isReadOnly": false,
- "realPath": [
- "etag"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1124",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1125",
- "fixed": false,
- "raw": "A piece of information that describes the content of the device twin. Each etag is guaranteed to be unique per device twin."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1126",
- "fixed": false,
- "raw": "etag"
- },
- "serializedName": "etag",
- "modelType": {
- "$id": "1127",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1128",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1129",
- "isReadOnly": false,
- "realPath": [
- "lastActivityTime"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1130",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1131",
- "fixed": false,
- "raw": "The ISO8601 timestamp of the last activity."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1132",
- "fixed": false,
- "raw": "lastActivityTime"
- },
- "serializedName": "lastActivityTime",
- "modelType": {
- "$id": "1133",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1134",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1135",
- "isReadOnly": false,
- "realPath": [
- "properties"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1136",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1137",
- "fixed": false,
- "raw": "Properties JSON element."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1138",
- "fixed": false,
- "raw": "properties"
- },
- "serializedName": "properties",
- "modelType": {
- "$id": "1139",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1140",
- "isReadOnly": false,
- "realPath": [
- "desired"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1141",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1142",
- "fixed": false,
- "raw": "A portion of the properties that can be written only by the application back-end, and read by the device."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1143",
- "fixed": false,
- "raw": "desired"
- },
- "serializedName": "desired",
- "modelType": {
- "$id": "1144",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1145",
- "isReadOnly": false,
- "realPath": [
- "metadata"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1146",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1147",
- "fixed": false,
- "raw": "Metadata information for the properties JSON document."
- },
- "extensions": {
- "x-ms-client-name": "$metadata"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1148",
- "fixed": false,
- "raw": "metadata"
- },
- "serializedName": "metadata",
- "modelType": {
- "$id": "1149",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1150",
- "isReadOnly": false,
- "realPath": [
- "lastUpdated"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1151",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1152",
- "fixed": false,
- "raw": "The ISO8601 timestamp of the last time the properties were updated."
- },
- "extensions": {
- "x-ms-client-name": "$lastUpdated"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1153",
- "fixed": false,
- "raw": "lastUpdated"
- },
- "serializedName": "lastUpdated",
- "modelType": {
- "$id": "1154",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1155",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "DeviceTwinMetadata",
- "documentation": "Metadata information for the properties JSON document.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1156",
- "fixed": false,
- "raw": "DeviceTwinMetadata"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///278?oai3.shaken.json"
- ],
- "name": "DeviceTwinMetadata",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/IotHub.json#/components/schemas/DeviceTwinMetadata"
- ]
- }
- },
- "deprecated": false
- }
- },
- {
- "$id": "1157",
- "isReadOnly": false,
- "realPath": [
- "version"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1158",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1159",
- "fixed": false,
- "raw": "Version of device twin properties."
- },
- "extensions": {
- "x-ms-client-name": "$version"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1160",
- "fixed": false,
- "raw": "version"
- },
- "serializedName": "version",
- "modelType": {
- "$id": "1161",
- "$type": "PrimaryType",
- "knownPrimaryType": "double",
- "name": {
- "$id": "1162",
- "fixed": false,
- "raw": "Double"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "DeviceTwinProperties",
- "documentation": "A portion of the properties that can be written only by the application back-end, and read by the device.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1163",
- "fixed": false,
- "raw": "DeviceTwinProperties"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///278?oai3.shaken.json"
- ],
- "name": "DeviceTwinProperties",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/IotHub.json#/components/schemas/DeviceTwinProperties"
- ]
- }
- },
- "deprecated": false
- }
- },
- {
- "$id": "1164",
- "isReadOnly": false,
- "realPath": [
- "reported"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1165",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1166",
- "fixed": false,
- "raw": "A portion of the properties that can be written only by the device, and read by the application back-end."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1167",
- "fixed": false,
- "raw": "reported"
- },
- "serializedName": "reported",
- "modelType": {
- "$ref": "1144"
- }
- }
- ],
- "serializedName": "DeviceTwinInfo-properties",
- "documentation": "Properties JSON element.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1168",
- "fixed": false,
- "raw": "DeviceTwinInfo-properties"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///278?oai3.shaken.json"
- ],
- "name": "DeviceTwinInfo-properties",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/IotHub.json#/components/schemas/DeviceTwinInfo-properties"
- ]
- },
- "x-internal-autorest-anonymous-schema": {
- "anonymous": true
- }
- },
- "deprecated": false
- }
- },
- {
- "$id": "1169",
- "isReadOnly": false,
- "realPath": [
- "status"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1170",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1171",
- "fixed": false,
- "raw": "Whether the device twin is enabled or disabled."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1172",
- "fixed": false,
- "raw": "status"
- },
- "serializedName": "status",
- "modelType": {
- "$id": "1173",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1174",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1175",
- "isReadOnly": false,
- "realPath": [
- "statusUpdateTime"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1176",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1177",
- "fixed": false,
- "raw": "The ISO8601 timestamp of the last device twin status update."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1178",
- "fixed": false,
- "raw": "statusUpdateTime"
- },
- "serializedName": "statusUpdateTime",
- "modelType": {
- "$id": "1179",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1180",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1181",
- "isReadOnly": false,
- "realPath": [
- "version"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1182",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1183",
- "fixed": false,
- "raw": "An integer that is incremented by one each time the device twin is updated."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1184",
- "fixed": false,
- "raw": "version"
- },
- "serializedName": "version",
- "modelType": {
- "$id": "1185",
- "$type": "PrimaryType",
- "knownPrimaryType": "double",
- "name": {
- "$id": "1186",
- "fixed": false,
- "raw": "Double"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1187",
- "isReadOnly": false,
- "realPath": [
- "x509Thumbprint"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1188",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1189",
- "fixed": false,
- "raw": "The thumbprint is a unique value for the x509 certificate, commonly used to find a particular certificate in a certificate store. The thumbprint is dynamically generated using the SHA1 algorithm, and does not physically exist in the certificate."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1190",
- "fixed": false,
- "raw": "x509Thumbprint"
- },
- "serializedName": "x509Thumbprint",
- "modelType": {
- "$id": "1191",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1192",
- "isReadOnly": false,
- "realPath": [
- "primaryThumbprint"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1193",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1194",
- "fixed": false,
- "raw": "Primary thumbprint for the x509 certificate."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1195",
- "fixed": false,
- "raw": "primaryThumbprint"
- },
- "serializedName": "primaryThumbprint",
- "modelType": {
- "$id": "1196",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1197",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1198",
- "isReadOnly": false,
- "realPath": [
- "secondaryThumbprint"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1199",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1200",
- "fixed": false,
- "raw": "Secondary thumbprint for the x509 certificate."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1201",
- "fixed": false,
- "raw": "secondaryThumbprint"
- },
- "serializedName": "secondaryThumbprint",
- "modelType": {
- "$id": "1202",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1203",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "DeviceTwinInfo-x509Thumbprint",
- "documentation": "The thumbprint is a unique value for the x509 certificate, commonly used to find a particular certificate in a certificate store. The thumbprint is dynamically generated using the SHA1 algorithm, and does not physically exist in the certificate.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1204",
- "fixed": false,
- "raw": "DeviceTwinInfo-x509Thumbprint"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///278?oai3.shaken.json"
- ],
- "name": "DeviceTwinInfo-x509Thumbprint",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/IotHub.json#/components/schemas/DeviceTwinInfo-x509Thumbprint"
- ]
- },
- "x-internal-autorest-anonymous-schema": {
- "anonymous": true
- }
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "DeviceTwinInfo",
- "documentation": "Information about the device twin, which is the cloud representation of application device metadata.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1205",
- "fixed": false,
- "raw": "DeviceTwinInfo"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///278?oai3.shaken.json"
- ],
- "name": "DeviceTwinInfo",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/IotHub.json#/components/schemas/DeviceTwinInfo"
- ]
- }
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "DeviceLifeCycleEventProperties",
- "documentation": "Schema of the Data property of an EventGridEvent for a device life cycle event (DeviceCreated, DeviceDeleted).",
- "containsConstantProperties": false,
- "name": {
- "$id": "1206",
- "fixed": false,
- "raw": "DeviceLifeCycleEventProperties"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///278?oai3.shaken.json"
- ],
- "name": "DeviceLifeCycleEventProperties",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/IotHub.json#/components/schemas/DeviceLifeCycleEventProperties"
- ]
- }
- },
- "deprecated": false
- },
- "documentation": "Event data for Microsoft.Devices.DeviceCreated event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1207",
- "fixed": false,
- "raw": "IotHubDeviceCreatedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///278?oai3.shaken.json"
- ],
- "name": "IotHubDeviceCreatedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/IotHub.json#/components/schemas/IotHubDeviceCreatedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "1208",
- "$type": "CompositeType",
- "serializedName": "IotHubDeviceDeletedEventData",
- "baseModelType": {
- "$ref": "1081"
- },
- "documentation": "Event data for Microsoft.Devices.DeviceDeleted event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1209",
- "fixed": false,
- "raw": "IotHubDeviceDeletedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///278?oai3.shaken.json"
- ],
- "name": "IotHubDeviceDeletedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/IotHub.json#/components/schemas/IotHubDeviceDeletedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "1210",
- "$type": "CompositeType",
- "serializedName": "IotHubDeviceConnectedEventData",
- "baseModelType": {
- "$id": "1211",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1212",
- "isReadOnly": false,
- "realPath": [
- "deviceId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1213",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1214",
- "fixed": false,
- "raw": "The unique identifier of the device. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit alphanumeric characters plus the following special characters: - : . + % _ # * ? ! ( ) , = @ ; $ '."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1215",
- "fixed": false,
- "raw": "deviceId"
- },
- "serializedName": "deviceId",
- "modelType": {
- "$id": "1216",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1217",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1218",
- "isReadOnly": false,
- "realPath": [
- "moduleId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1219",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1220",
- "fixed": false,
- "raw": "The unique identifier of the module. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit alphanumeric characters plus the following special characters: - : . + % _ # * ? ! ( ) , = @ ; $ '."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1221",
- "fixed": false,
- "raw": "moduleId"
- },
- "serializedName": "moduleId",
- "modelType": {
- "$id": "1222",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1223",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1224",
- "isReadOnly": false,
- "realPath": [
- "hubName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1225",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1226",
- "fixed": false,
- "raw": "Name of the IoT Hub where the device was created or deleted."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1227",
- "fixed": false,
- "raw": "hubName"
- },
- "serializedName": "hubName",
- "modelType": {
- "$id": "1228",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1229",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1230",
- "isReadOnly": false,
- "realPath": [
- "deviceConnectionStateEventInfo"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1231",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1232",
- "fixed": false,
- "raw": "Information about the device connection state event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1233",
- "fixed": false,
- "raw": "deviceConnectionStateEventInfo"
- },
- "serializedName": "deviceConnectionStateEventInfo",
- "modelType": {
- "$id": "1234",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1235",
- "isReadOnly": false,
- "realPath": [
- "sequenceNumber"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1236",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1237",
- "fixed": false,
- "raw": "Sequence number is string representation of a hexadecimal number. string compare can be used to identify the larger number because both in ASCII and HEX numbers come after alphabets. If you are converting the string to hex, then the number is a 256 bit number."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1238",
- "fixed": false,
- "raw": "sequenceNumber"
- },
- "serializedName": "sequenceNumber",
- "modelType": {
- "$id": "1239",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1240",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "DeviceConnectionStateEventInfo",
- "documentation": "Information about the device connection state event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1241",
- "fixed": false,
- "raw": "DeviceConnectionStateEventInfo"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///278?oai3.shaken.json"
- ],
- "name": "DeviceConnectionStateEventInfo",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/IotHub.json#/components/schemas/DeviceConnectionStateEventInfo"
- ]
- }
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "DeviceConnectionStateEventProperties",
- "documentation": "Schema of the Data property of an EventGridEvent for a device connection state event (DeviceConnected, DeviceDisconnected).",
- "containsConstantProperties": false,
- "name": {
- "$id": "1242",
- "fixed": false,
- "raw": "DeviceConnectionStateEventProperties"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///278?oai3.shaken.json"
- ],
- "name": "DeviceConnectionStateEventProperties",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/IotHub.json#/components/schemas/DeviceConnectionStateEventProperties"
- ]
- }
- },
- "deprecated": false
- },
- "documentation": "Event data for Microsoft.Devices.DeviceConnected event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1243",
- "fixed": false,
- "raw": "IotHubDeviceConnectedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///278?oai3.shaken.json"
- ],
- "name": "IotHubDeviceConnectedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/IotHub.json#/components/schemas/IotHubDeviceConnectedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "1244",
- "$type": "CompositeType",
- "serializedName": "IotHubDeviceDisconnectedEventData",
- "baseModelType": {
- "$ref": "1211"
- },
- "documentation": "Event data for Microsoft.Devices.DeviceDisconnected event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1245",
- "fixed": false,
- "raw": "IotHubDeviceDisconnectedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///278?oai3.shaken.json"
- ],
- "name": "IotHubDeviceDisconnectedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/IotHub.json#/components/schemas/IotHubDeviceDisconnectedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "1246",
- "$type": "CompositeType",
- "serializedName": "IotHubDeviceTelemetryEventData",
- "baseModelType": {
- "$id": "1247",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1248",
- "isReadOnly": false,
- "realPath": [
- "body"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1249",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1250",
- "fixed": false,
- "raw": "The content of the message from the device."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1251",
- "fixed": false,
- "raw": "body"
- },
- "serializedName": "body",
- "modelType": {
- "$id": "1252",
- "$type": "PrimaryType",
- "knownPrimaryType": "object",
- "name": {
- "$id": "1253",
- "fixed": false,
- "raw": "Object"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1254",
- "isReadOnly": false,
- "realPath": [
- "properties"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1255",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1256",
- "fixed": false,
- "raw": "Application properties are user-defined strings that can be added to the message. These fields are optional."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1257",
- "fixed": false,
- "raw": "properties"
- },
- "serializedName": "properties",
- "modelType": {
- "$id": "1258",
- "$type": "DictionaryType",
- "valueType": {
- "$id": "1259",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1260",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- },
- "supportsAdditionalProperties": false,
- "name": {
- "$id": "1261",
- "fixed": false
- },
- "deprecated": false
- }
- },
- {
- "$id": "1262",
- "isReadOnly": false,
- "realPath": [
- "systemProperties"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1263",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1264",
- "fixed": false,
- "raw": "System properties help identify contents and source of the messages."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1265",
- "fixed": false,
- "raw": "systemProperties"
- },
- "serializedName": "systemProperties",
- "modelType": {
- "$id": "1266",
- "$type": "DictionaryType",
- "valueType": {
- "$id": "1267",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1268",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- },
- "supportsAdditionalProperties": false,
- "name": {
- "$id": "1269",
- "fixed": false
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "DeviceTelemetryEventProperties",
- "documentation": "Schema of the Data property of an EventGridEvent for a device telemetry event (DeviceTelemetry).",
- "containsConstantProperties": false,
- "name": {
- "$id": "1270",
- "fixed": false,
- "raw": "DeviceTelemetryEventProperties"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///278?oai3.shaken.json"
- ],
- "name": "DeviceTelemetryEventProperties",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/IotHub.json#/components/schemas/DeviceTelemetryEventProperties"
- ]
- }
- },
- "deprecated": false
- },
- "documentation": "Event data for Microsoft.Devices.DeviceTelemetry event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1271",
- "fixed": false,
- "raw": "IotHubDeviceTelemetryEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///278?oai3.shaken.json"
- ],
- "name": "IotHubDeviceTelemetryEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/IotHub.json#/components/schemas/IotHubDeviceTelemetryEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$ref": "1149"
- },
- {
- "$ref": "1144"
- },
- {
- "$ref": "1139"
- },
- {
- "$ref": "1191"
- },
- {
- "$ref": "1098"
- },
- {
- "$ref": "1081"
- },
- {
- "$ref": "1234"
- },
- {
- "$ref": "1211"
- },
- {
- "$ref": "1247"
- },
- {
- "$id": "1272",
- "$type": "CompositeType",
- "serializedName": "ContainerRegistryImagePushedEventData",
- "baseModelType": {
- "$id": "1273",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1274",
- "isReadOnly": false,
- "realPath": [
- "id"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1275",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1276",
- "fixed": false,
- "raw": "The event ID."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1277",
- "fixed": false,
- "raw": "id"
- },
- "serializedName": "id",
- "modelType": {
- "$id": "1278",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1279",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1280",
- "isReadOnly": false,
- "realPath": [
- "timestamp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1281",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1282",
- "fixed": false,
- "raw": "The time at which the event occurred."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1283",
- "fixed": false,
- "raw": "timestamp"
- },
- "serializedName": "timestamp",
- "modelType": {
- "$id": "1284",
- "$type": "PrimaryType",
- "format": "date-time",
- "knownPrimaryType": "dateTime",
- "name": {
- "$id": "1285",
- "fixed": false,
- "raw": "DateTime"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1286",
- "isReadOnly": false,
- "realPath": [
- "action"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1287",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1288",
- "fixed": false,
- "raw": "The action that encompasses the provided event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1289",
- "fixed": false,
- "raw": "action"
- },
- "serializedName": "action",
- "modelType": {
- "$id": "1290",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1291",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1292",
- "isReadOnly": false,
- "realPath": [
- "target"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1293",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1294",
- "fixed": false,
- "raw": "The target of the event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1295",
- "fixed": false,
- "raw": "target"
- },
- "serializedName": "target",
- "modelType": {
- "$id": "1296",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1297",
- "isReadOnly": false,
- "realPath": [
- "mediaType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1298",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1299",
- "fixed": false,
- "raw": "The MIME type of the referenced object."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1300",
- "fixed": false,
- "raw": "mediaType"
- },
- "serializedName": "mediaType",
- "modelType": {
- "$id": "1301",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1302",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1303",
- "isReadOnly": false,
- "realPath": [
- "size"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1304",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1305",
- "fixed": false,
- "raw": "The number of bytes of the content. Same as Length field."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1306",
- "fixed": false,
- "raw": "size"
- },
- "serializedName": "size",
- "modelType": {
- "$id": "1307",
- "$type": "PrimaryType",
- "format": "int64",
- "knownPrimaryType": "long",
- "name": {
- "$id": "1308",
- "fixed": false,
- "raw": "Long"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1309",
- "isReadOnly": false,
- "realPath": [
- "digest"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1310",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1311",
- "fixed": false,
- "raw": "The digest of the content, as defined by the Registry V2 HTTP API Specification."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1312",
- "fixed": false,
- "raw": "digest"
- },
- "serializedName": "digest",
- "modelType": {
- "$id": "1313",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1314",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1315",
- "isReadOnly": false,
- "realPath": [
- "length"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1316",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1317",
- "fixed": false,
- "raw": "The number of bytes of the content. Same as Size field."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1318",
- "fixed": false,
- "raw": "length"
- },
- "serializedName": "length",
- "modelType": {
- "$id": "1319",
- "$type": "PrimaryType",
- "format": "int64",
- "knownPrimaryType": "long",
- "name": {
- "$id": "1320",
- "fixed": false,
- "raw": "Long"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1321",
- "isReadOnly": false,
- "realPath": [
- "repository"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1322",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1323",
- "fixed": false,
- "raw": "The repository name."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1324",
- "fixed": false,
- "raw": "repository"
- },
- "serializedName": "repository",
- "modelType": {
- "$id": "1325",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1326",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1327",
- "isReadOnly": false,
- "realPath": [
- "url"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1328",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1329",
- "fixed": false,
- "raw": "The direct URL to the content."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1330",
- "fixed": false,
- "raw": "url"
- },
- "serializedName": "url",
- "modelType": {
- "$id": "1331",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1332",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1333",
- "isReadOnly": false,
- "realPath": [
- "tag"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1334",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1335",
- "fixed": false,
- "raw": "The tag name."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1336",
- "fixed": false,
- "raw": "tag"
- },
- "serializedName": "tag",
- "modelType": {
- "$id": "1337",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1338",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "ContainerRegistryEventTarget",
- "documentation": "The target of the event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1339",
- "fixed": false,
- "raw": "ContainerRegistryEventTarget"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///279?oai3.shaken.json"
- ],
- "name": "ContainerRegistryEventTarget",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/ContainerRegistry.json#/components/schemas/ContainerRegistryEventTarget"
- ]
- }
- },
- "deprecated": false
- }
- },
- {
- "$id": "1340",
- "isReadOnly": false,
- "realPath": [
- "request"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1341",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1342",
- "fixed": false,
- "raw": "The request that generated the event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1343",
- "fixed": false,
- "raw": "request"
- },
- "serializedName": "request",
- "modelType": {
- "$id": "1344",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1345",
- "isReadOnly": false,
- "realPath": [
- "id"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1346",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1347",
- "fixed": false,
- "raw": "The ID of the request that initiated the event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1348",
- "fixed": false,
- "raw": "id"
- },
- "serializedName": "id",
- "modelType": {
- "$id": "1349",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1350",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1351",
- "isReadOnly": false,
- "realPath": [
- "addr"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1352",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1353",
- "fixed": false,
- "raw": "The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1354",
- "fixed": false,
- "raw": "addr"
- },
- "serializedName": "addr",
- "modelType": {
- "$id": "1355",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1356",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1357",
- "isReadOnly": false,
- "realPath": [
- "host"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1358",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1359",
- "fixed": false,
- "raw": "The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1360",
- "fixed": false,
- "raw": "host"
- },
- "serializedName": "host",
- "modelType": {
- "$id": "1361",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1362",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1363",
- "isReadOnly": false,
- "realPath": [
- "method"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1364",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1365",
- "fixed": false,
- "raw": "The request method that generated the event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1366",
- "fixed": false,
- "raw": "method"
- },
- "serializedName": "method",
- "modelType": {
- "$id": "1367",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1368",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1369",
- "isReadOnly": false,
- "realPath": [
- "useragent"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1370",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1371",
- "fixed": false,
- "raw": "The user agent header of the request."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1372",
- "fixed": false,
- "raw": "useragent"
- },
- "serializedName": "useragent",
- "modelType": {
- "$id": "1373",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1374",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "ContainerRegistryEventRequest",
- "documentation": "The request that generated the event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1375",
- "fixed": false,
- "raw": "ContainerRegistryEventRequest"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///279?oai3.shaken.json"
- ],
- "name": "ContainerRegistryEventRequest",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/ContainerRegistry.json#/components/schemas/ContainerRegistryEventRequest"
- ]
- }
- },
- "deprecated": false
- }
- },
- {
- "$id": "1376",
- "isReadOnly": false,
- "realPath": [
- "actor"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1377",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1378",
- "fixed": false,
- "raw": "The agent that initiated the event. For most situations, this could be from the authorization context of the request."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1379",
- "fixed": false,
- "raw": "actor"
- },
- "serializedName": "actor",
- "modelType": {
- "$id": "1380",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1381",
- "isReadOnly": false,
- "realPath": [
- "name"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1382",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1383",
- "fixed": false,
- "raw": "The subject or username associated with the request context that generated the event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1384",
- "fixed": false,
- "raw": "name"
- },
- "serializedName": "name",
- "modelType": {
- "$id": "1385",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1386",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "ContainerRegistryEventActor",
- "documentation": "The agent that initiated the event. For most situations, this could be from the authorization context of the request.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1387",
- "fixed": false,
- "raw": "ContainerRegistryEventActor"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///279?oai3.shaken.json"
- ],
- "name": "ContainerRegistryEventActor",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/ContainerRegistry.json#/components/schemas/ContainerRegistryEventActor"
- ]
- }
- },
- "deprecated": false
- }
- },
- {
- "$id": "1388",
- "isReadOnly": false,
- "realPath": [
- "source"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1389",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1390",
- "fixed": false,
- "raw": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1391",
- "fixed": false,
- "raw": "source"
- },
- "serializedName": "source",
- "modelType": {
- "$id": "1392",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1393",
- "isReadOnly": false,
- "realPath": [
- "addr"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1394",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1395",
- "fixed": false,
- "raw": "The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1396",
- "fixed": false,
- "raw": "addr"
- },
- "serializedName": "addr",
- "modelType": {
- "$id": "1397",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1398",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1399",
- "isReadOnly": false,
- "realPath": [
- "instanceID"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1400",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1401",
- "fixed": false,
- "raw": "The running instance of an application. Changes after each restart."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1402",
- "fixed": false,
- "raw": "instanceID"
- },
- "serializedName": "instanceID",
- "modelType": {
- "$id": "1403",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1404",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "ContainerRegistryEventSource",
- "documentation": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1405",
- "fixed": false,
- "raw": "ContainerRegistryEventSource"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///279?oai3.shaken.json"
- ],
- "name": "ContainerRegistryEventSource",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/ContainerRegistry.json#/components/schemas/ContainerRegistryEventSource"
- ]
- }
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "ContainerRegistryEventData",
- "documentation": "The content of the event request message.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1406",
- "fixed": false,
- "raw": "ContainerRegistryEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///279?oai3.shaken.json"
- ],
- "name": "ContainerRegistryEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/ContainerRegistry.json#/components/schemas/ContainerRegistryEventData"
- ]
- }
- },
- "deprecated": false
- },
- "documentation": "Schema of the Data property of an EventGridEvent for a Microsoft.ContainerRegistry.ImagePushed event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1407",
- "fixed": false,
- "raw": "ContainerRegistryImagePushedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///279?oai3.shaken.json"
- ],
- "name": "ContainerRegistryImagePushedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/ContainerRegistry.json#/components/schemas/ContainerRegistryImagePushedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "1408",
- "$type": "CompositeType",
- "serializedName": "ContainerRegistryImageDeletedEventData",
- "baseModelType": {
- "$ref": "1273"
- },
- "documentation": "Schema of the Data property of an EventGridEvent for a Microsoft.ContainerRegistry.ImageDeleted event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1409",
- "fixed": false,
- "raw": "ContainerRegistryImageDeletedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///279?oai3.shaken.json"
- ],
- "name": "ContainerRegistryImageDeletedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/ContainerRegistry.json#/components/schemas/ContainerRegistryImageDeletedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "1410",
- "$type": "CompositeType",
- "serializedName": "ContainerRegistryChartPushedEventData",
- "baseModelType": {
- "$id": "1411",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1412",
- "isReadOnly": false,
- "realPath": [
- "id"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1413",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1414",
- "fixed": false,
- "raw": "The event ID."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1415",
- "fixed": false,
- "raw": "id"
- },
- "serializedName": "id",
- "modelType": {
- "$id": "1416",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1417",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1418",
- "isReadOnly": false,
- "realPath": [
- "timestamp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1419",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1420",
- "fixed": false,
- "raw": "The time at which the event occurred."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1421",
- "fixed": false,
- "raw": "timestamp"
- },
- "serializedName": "timestamp",
- "modelType": {
- "$id": "1422",
- "$type": "PrimaryType",
- "format": "date-time",
- "knownPrimaryType": "dateTime",
- "name": {
- "$id": "1423",
- "fixed": false,
- "raw": "DateTime"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1424",
- "isReadOnly": false,
- "realPath": [
- "action"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1425",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1426",
- "fixed": false,
- "raw": "The action that encompasses the provided event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1427",
- "fixed": false,
- "raw": "action"
- },
- "serializedName": "action",
- "modelType": {
- "$id": "1428",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1429",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1430",
- "isReadOnly": false,
- "realPath": [
- "target"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1431",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1432",
- "fixed": false,
- "raw": "The target of the event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1433",
- "fixed": false,
- "raw": "target"
- },
- "serializedName": "target",
- "modelType": {
- "$id": "1434",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1435",
- "isReadOnly": false,
- "realPath": [
- "mediaType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1436",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1437",
- "fixed": false,
- "raw": "The MIME type of the artifact."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1438",
- "fixed": false,
- "raw": "mediaType"
- },
- "serializedName": "mediaType",
- "modelType": {
- "$id": "1439",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1440",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1441",
- "isReadOnly": false,
- "realPath": [
- "size"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1442",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1443",
- "fixed": false,
- "raw": "The size in bytes of the artifact."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1444",
- "fixed": false,
- "raw": "size"
- },
- "serializedName": "size",
- "modelType": {
- "$id": "1445",
- "$type": "PrimaryType",
- "format": "int64",
- "knownPrimaryType": "long",
- "name": {
- "$id": "1446",
- "fixed": false,
- "raw": "Long"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1447",
- "isReadOnly": false,
- "realPath": [
- "digest"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1448",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1449",
- "fixed": false,
- "raw": "The digest of the artifact."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1450",
- "fixed": false,
- "raw": "digest"
- },
- "serializedName": "digest",
- "modelType": {
- "$id": "1451",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1452",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1453",
- "isReadOnly": false,
- "realPath": [
- "repository"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1454",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1455",
- "fixed": false,
- "raw": "The repository name of the artifact."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1456",
- "fixed": false,
- "raw": "repository"
- },
- "serializedName": "repository",
- "modelType": {
- "$id": "1457",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1458",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1459",
- "isReadOnly": false,
- "realPath": [
- "tag"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1460",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1461",
- "fixed": false,
- "raw": "The tag of the artifact."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1462",
- "fixed": false,
- "raw": "tag"
- },
- "serializedName": "tag",
- "modelType": {
- "$id": "1463",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1464",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1465",
- "isReadOnly": false,
- "realPath": [
- "name"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1466",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1467",
- "fixed": false,
- "raw": "The name of the artifact."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1468",
- "fixed": false,
- "raw": "name"
- },
- "serializedName": "name",
- "modelType": {
- "$id": "1469",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1470",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1471",
- "isReadOnly": false,
- "realPath": [
- "version"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1472",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1473",
- "fixed": false,
- "raw": "The version of the artifact."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1474",
- "fixed": false,
- "raw": "version"
- },
- "serializedName": "version",
- "modelType": {
- "$id": "1475",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1476",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "ContainerRegistryArtifactEventTarget",
- "documentation": "The target of the event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1477",
- "fixed": false,
- "raw": "ContainerRegistryArtifactEventTarget"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///279?oai3.shaken.json"
- ],
- "name": "ContainerRegistryArtifactEventTarget",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/ContainerRegistry.json#/components/schemas/ContainerRegistryArtifactEventTarget"
- ]
- }
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "ContainerRegistryArtifactEventData",
- "documentation": "The content of the event request message.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1478",
- "fixed": false,
- "raw": "ContainerRegistryArtifactEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///279?oai3.shaken.json"
- ],
- "name": "ContainerRegistryArtifactEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/ContainerRegistry.json#/components/schemas/ContainerRegistryArtifactEventData"
- ]
- }
- },
- "deprecated": false
- },
- "documentation": "Schema of the Data property of an EventGridEvent for a Microsoft.ContainerRegistry.ChartPushed event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1479",
- "fixed": false,
- "raw": "ContainerRegistryChartPushedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///279?oai3.shaken.json"
- ],
- "name": "ContainerRegistryChartPushedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/ContainerRegistry.json#/components/schemas/ContainerRegistryChartPushedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "1480",
- "$type": "CompositeType",
- "serializedName": "ContainerRegistryChartDeletedEventData",
- "baseModelType": {
- "$ref": "1411"
- },
- "documentation": "Schema of the Data property of an EventGridEvent for a Microsoft.ContainerRegistry.ChartDeleted event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1481",
- "fixed": false,
- "raw": "ContainerRegistryChartDeletedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///279?oai3.shaken.json"
- ],
- "name": "ContainerRegistryChartDeletedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/ContainerRegistry.json#/components/schemas/ContainerRegistryChartDeletedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$ref": "1296"
- },
- {
- "$ref": "1344"
- },
- {
- "$ref": "1380"
- },
- {
- "$ref": "1392"
- },
- {
- "$ref": "1273"
- },
- {
- "$ref": "1434"
- },
- {
- "$ref": "1411"
- },
- {
- "$id": "1482",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1483",
- "isReadOnly": false,
- "realPath": [
- "namespaceName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1484",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1485",
- "fixed": false,
- "raw": "The namespace name of the Microsoft.ServiceBus resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1486",
- "fixed": false,
- "raw": "namespaceName"
- },
- "serializedName": "namespaceName",
- "modelType": {
- "$id": "1487",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1488",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1489",
- "isReadOnly": false,
- "realPath": [
- "requestUri"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1490",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1491",
- "fixed": false,
- "raw": "The endpoint of the Microsoft.ServiceBus resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1492",
- "fixed": false,
- "raw": "requestUri"
- },
- "serializedName": "requestUri",
- "modelType": {
- "$id": "1493",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1494",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1495",
- "isReadOnly": false,
- "realPath": [
- "entityType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1496",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1497",
- "fixed": false,
- "raw": "The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1498",
- "fixed": false,
- "raw": "entityType"
- },
- "serializedName": "entityType",
- "modelType": {
- "$id": "1499",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1500",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1501",
- "isReadOnly": false,
- "realPath": [
- "queueName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1502",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1503",
- "fixed": false,
- "raw": "The name of the Microsoft.ServiceBus queue. If the entity type is of type 'subscriber', then this value will be null."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1504",
- "fixed": false,
- "raw": "queueName"
- },
- "serializedName": "queueName",
- "modelType": {
- "$id": "1505",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1506",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1507",
- "isReadOnly": false,
- "realPath": [
- "topicName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1508",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1509",
- "fixed": false,
- "raw": "The name of the Microsoft.ServiceBus topic. If the entity type is of type 'queue', then this value will be null."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1510",
- "fixed": false,
- "raw": "topicName"
- },
- "serializedName": "topicName",
- "modelType": {
- "$id": "1511",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1512",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1513",
- "isReadOnly": false,
- "realPath": [
- "subscriptionName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1514",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1515",
- "fixed": false,
- "raw": "The name of the Microsoft.ServiceBus topic's subscription. If the entity type is of type 'queue', then this value will be null."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1516",
- "fixed": false,
- "raw": "subscriptionName"
- },
- "serializedName": "subscriptionName",
- "modelType": {
- "$id": "1517",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1518",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "ServiceBusActiveMessagesAvailableWithNoListenersEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for a Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1519",
- "fixed": false,
- "raw": "ServiceBusActiveMessagesAvailableWithNoListenersEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///280?oai3.shaken.json"
- ],
- "name": "ServiceBusActiveMessagesAvailableWithNoListenersEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/ServiceBus.json#/components/schemas/ServiceBusActiveMessagesAvailableWithNoListenersEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "1520",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1521",
- "isReadOnly": false,
- "realPath": [
- "namespaceName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1522",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1523",
- "fixed": false,
- "raw": "The namespace name of the Microsoft.ServiceBus resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1524",
- "fixed": false,
- "raw": "namespaceName"
- },
- "serializedName": "namespaceName",
- "modelType": {
- "$id": "1525",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1526",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1527",
- "isReadOnly": false,
- "realPath": [
- "requestUri"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1528",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1529",
- "fixed": false,
- "raw": "The endpoint of the Microsoft.ServiceBus resource."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1530",
- "fixed": false,
- "raw": "requestUri"
- },
- "serializedName": "requestUri",
- "modelType": {
- "$id": "1531",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1532",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1533",
- "isReadOnly": false,
- "realPath": [
- "entityType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1534",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1535",
- "fixed": false,
- "raw": "The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1536",
- "fixed": false,
- "raw": "entityType"
- },
- "serializedName": "entityType",
- "modelType": {
- "$id": "1537",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1538",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1539",
- "isReadOnly": false,
- "realPath": [
- "queueName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1540",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1541",
- "fixed": false,
- "raw": "The name of the Microsoft.ServiceBus queue. If the entity type is of type 'subscriber', then this value will be null."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1542",
- "fixed": false,
- "raw": "queueName"
- },
- "serializedName": "queueName",
- "modelType": {
- "$id": "1543",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1544",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1545",
- "isReadOnly": false,
- "realPath": [
- "topicName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1546",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1547",
- "fixed": false,
- "raw": "The name of the Microsoft.ServiceBus topic. If the entity type is of type 'queue', then this value will be null."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1548",
- "fixed": false,
- "raw": "topicName"
- },
- "serializedName": "topicName",
- "modelType": {
- "$id": "1549",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1550",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1551",
- "isReadOnly": false,
- "realPath": [
- "subscriptionName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1552",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1553",
- "fixed": false,
- "raw": "The name of the Microsoft.ServiceBus topic's subscription. If the entity type is of type 'queue', then this value will be null."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1554",
- "fixed": false,
- "raw": "subscriptionName"
- },
- "serializedName": "subscriptionName",
- "modelType": {
- "$id": "1555",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1556",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "ServiceBusDeadletterMessagesAvailableWithNoListenersEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for a Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListenersEvent event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1557",
- "fixed": false,
- "raw": "ServiceBusDeadletterMessagesAvailableWithNoListenersEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///280?oai3.shaken.json"
- ],
- "name": "ServiceBusDeadletterMessagesAvailableWithNoListenersEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/ServiceBus.json#/components/schemas/ServiceBusDeadletterMessagesAvailableWithNoListenersEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "1558",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1559",
- "isReadOnly": true,
- "realPath": [
- "previousState"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1560",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1561",
- "fixed": false,
- "raw": "The previous state of the Job."
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaJobState",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobStateChangeEventData-previousState",
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobStateChangeEventData-state",
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobOutputStateChangeEventData-previousState"
- ]
- },
- "x-ms-enum": {
- "name": "MediaJobState",
- "values": [
- {
- "value": "Canceled",
- "description": "The job was canceled. This is a final state for the job."
- },
- {
- "value": "Canceling",
- "description": "The job is in the process of being canceled. This is a transient state for the job."
- },
- {
- "value": "Error",
- "description": "The job has encountered an error. This is a final state for the job."
- },
- {
- "value": "Finished",
- "description": "The job is finished. This is a final state for the job."
- },
- {
- "value": "Processing",
- "description": "The job is processing. This is a transient state for the job."
- },
- {
- "value": "Queued",
- "description": "The job is in a queued state, waiting for resources to become available. This is a transient state."
- },
- {
- "value": "Scheduled",
- "description": "The job is being scheduled to run on an available resource. This is a transient state, between queued and processing states."
- }
- ],
- "modelAsExtensible": true
- },
- "x-nullable": false
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1562",
- "fixed": false,
- "raw": "previousState"
- },
- "serializedName": "previousState",
- "modelType": {
- "$id": "1563",
- "$type": "EnumType",
- "values": [
- {
- "$id": "1564",
- "description": "The job was canceled. This is a final state for the job.",
- "name": "Canceled",
- "serializedName": "Canceled"
- },
- {
- "$id": "1565",
- "description": "The job is in the process of being canceled. This is a transient state for the job.",
- "name": "Canceling",
- "serializedName": "Canceling"
- },
- {
- "$id": "1566",
- "description": "The job has encountered an error. This is a final state for the job.",
- "name": "Error",
- "serializedName": "Error"
- },
- {
- "$id": "1567",
- "description": "The job is finished. This is a final state for the job.",
- "name": "Finished",
- "serializedName": "Finished"
- },
- {
- "$id": "1568",
- "description": "The job is processing. This is a transient state for the job.",
- "name": "Processing",
- "serializedName": "Processing"
- },
- {
- "$id": "1569",
- "description": "The job is in a queued state, waiting for resources to become available. This is a transient state.",
- "name": "Queued",
- "serializedName": "Queued"
- },
- {
- "$id": "1570",
- "description": "The job is being scheduled to run on an available resource. This is a transient state, between queued and processing states.",
- "name": "Scheduled",
- "serializedName": "Scheduled"
- }
- ],
- "oldModelAsString": false,
- "modelAsString": false,
- "underlyingType": {
- "$id": "1571",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1572",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- },
- "name": {
- "$id": "1573",
- "fixed": false,
- "raw": "MediaJobState"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1574",
- "isReadOnly": true,
- "realPath": [
- "state"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1575",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1576",
- "fixed": false,
- "raw": "The new state of the Job."
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaJobState",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobStateChangeEventData-previousState",
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobStateChangeEventData-state",
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobOutputStateChangeEventData-previousState"
- ]
- },
- "x-ms-enum": {
- "name": "MediaJobState",
- "values": [
- {
- "value": "Canceled",
- "description": "The job was canceled. This is a final state for the job."
- },
- {
- "value": "Canceling",
- "description": "The job is in the process of being canceled. This is a transient state for the job."
- },
- {
- "value": "Error",
- "description": "The job has encountered an error. This is a final state for the job."
- },
- {
- "value": "Finished",
- "description": "The job is finished. This is a final state for the job."
- },
- {
- "value": "Processing",
- "description": "The job is processing. This is a transient state for the job."
- },
- {
- "value": "Queued",
- "description": "The job is in a queued state, waiting for resources to become available. This is a transient state."
- },
- {
- "value": "Scheduled",
- "description": "The job is being scheduled to run on an available resource. This is a transient state, between queued and processing states."
- }
- ],
- "modelAsExtensible": true
- },
- "x-nullable": false
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1577",
- "fixed": false,
- "raw": "state"
- },
- "serializedName": "state",
- "modelType": {
- "$ref": "1563"
- }
- },
- {
- "$id": "1578",
- "isReadOnly": false,
- "realPath": [
- "correlationData"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1579",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1580",
- "fixed": false,
- "raw": "Gets the Job correlation data."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1581",
- "fixed": false,
- "raw": "correlationData"
- },
- "serializedName": "correlationData",
- "modelType": {
- "$id": "1582",
- "$type": "DictionaryType",
- "valueType": {
- "$id": "1583",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1584",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- },
- "supportsAdditionalProperties": false,
- "name": {
- "$id": "1585",
- "fixed": false
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "MediaJobStateChangeEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for a Microsoft.Media.JobStateChange event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1586",
- "fixed": false,
- "raw": "MediaJobStateChangeEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaJobStateChangeEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobStateChangeEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "1587",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1588",
- "isReadOnly": true,
- "realPath": [
- "code"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1589",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1590",
- "fixed": false,
- "raw": "Code describing the error detail."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1591",
- "fixed": false,
- "raw": "code"
- },
- "serializedName": "code",
- "modelType": {
- "$id": "1592",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1593",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1594",
- "isReadOnly": true,
- "realPath": [
- "message"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1595",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1596",
- "fixed": false,
- "raw": "A human-readable representation of the error."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1597",
- "fixed": false,
- "raw": "message"
- },
- "serializedName": "message",
- "modelType": {
- "$id": "1598",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1599",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "MediaJobErrorDetail",
- "documentation": "Details of JobOutput errors.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1600",
- "fixed": false,
- "raw": "MediaJobErrorDetail"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaJobErrorDetail",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobErrorDetail"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "1601",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1602",
- "isReadOnly": true,
- "realPath": [
- "code"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1603",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1604",
- "fixed": false,
- "raw": "Error code describing the error."
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaJobErrorCode",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobError-code"
- ]
- },
- "x-ms-enum": {
- "name": "MediaJobErrorCode",
- "values": [
- {
- "value": "ServiceError",
- "description": "Fatal service error, please contact support."
- },
- {
- "value": "ServiceTransientError",
- "description": "Transient error, please retry, if retry is unsuccessful, please contact support."
- },
- {
- "value": "DownloadNotAccessible",
- "description": "While trying to download the input files, the files were not accessible, please check the availability of the source."
- },
- {
- "value": "DownloadTransientError",
- "description": "While trying to download the input files, there was an issue during transfer (storage service, network errors), see details and check your source."
- },
- {
- "value": "UploadNotAccessible",
- "description": "While trying to upload the output files, the destination was not reachable, please check the availability of the destination."
- },
- {
- "value": "UploadTransientError",
- "description": "While trying to upload the output files, there was an issue during transfer (storage service, network errors), see details and check your destination."
- },
- {
- "value": "ConfigurationUnsupported",
- "description": "There was a problem with the combination of input files and the configuration settings applied, fix the configuration settings and retry with the same input, or change input to match the configuration."
- },
- {
- "value": "ContentMalformed",
- "description": "There was a problem with the input content (for example: zero byte files, or corrupt/non-decodable files), check the input files."
- },
- {
- "value": "ContentUnsupported",
- "description": "There was a problem with the format of the input (not valid media file, or an unsupported file/codec), check the validity of the input files."
- }
- ],
- "modelAsExtensible": true
- },
- "x-nullable": false
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1605",
- "fixed": false,
- "raw": "code"
- },
- "serializedName": "code",
- "modelType": {
- "$id": "1606",
- "$type": "EnumType",
- "values": [
- {
- "$id": "1607",
- "description": "Fatal service error, please contact support.",
- "name": "ServiceError",
- "serializedName": "ServiceError"
- },
- {
- "$id": "1608",
- "description": "Transient error, please retry, if retry is unsuccessful, please contact support.",
- "name": "ServiceTransientError",
- "serializedName": "ServiceTransientError"
- },
- {
- "$id": "1609",
- "description": "While trying to download the input files, the files were not accessible, please check the availability of the source.",
- "name": "DownloadNotAccessible",
- "serializedName": "DownloadNotAccessible"
- },
- {
- "$id": "1610",
- "description": "While trying to download the input files, there was an issue during transfer (storage service, network errors), see details and check your source.",
- "name": "DownloadTransientError",
- "serializedName": "DownloadTransientError"
- },
- {
- "$id": "1611",
- "description": "While trying to upload the output files, the destination was not reachable, please check the availability of the destination.",
- "name": "UploadNotAccessible",
- "serializedName": "UploadNotAccessible"
- },
- {
- "$id": "1612",
- "description": "While trying to upload the output files, there was an issue during transfer (storage service, network errors), see details and check your destination.",
- "name": "UploadTransientError",
- "serializedName": "UploadTransientError"
- },
- {
- "$id": "1613",
- "description": "There was a problem with the combination of input files and the configuration settings applied, fix the configuration settings and retry with the same input, or change input to match the configuration.",
- "name": "ConfigurationUnsupported",
- "serializedName": "ConfigurationUnsupported"
- },
- {
- "$id": "1614",
- "description": "There was a problem with the input content (for example: zero byte files, or corrupt/non-decodable files), check the input files.",
- "name": "ContentMalformed",
- "serializedName": "ContentMalformed"
- },
- {
- "$id": "1615",
- "description": "There was a problem with the format of the input (not valid media file, or an unsupported file/codec), check the validity of the input files.",
- "name": "ContentUnsupported",
- "serializedName": "ContentUnsupported"
- }
- ],
- "oldModelAsString": false,
- "modelAsString": false,
- "underlyingType": {
- "$id": "1616",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1617",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- },
- "name": {
- "$id": "1618",
- "fixed": false,
- "raw": "MediaJobErrorCode"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1619",
- "isReadOnly": true,
- "realPath": [
- "message"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1620",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1621",
- "fixed": false,
- "raw": "A human-readable language-dependent representation of the error."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1622",
- "fixed": false,
- "raw": "message"
- },
- "serializedName": "message",
- "modelType": {
- "$id": "1623",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1624",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1625",
- "isReadOnly": true,
- "realPath": [
- "category"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1626",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1627",
- "fixed": false,
- "raw": "Helps with categorization of errors."
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaJobErrorCategory",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobError-category"
- ]
- },
- "x-ms-enum": {
- "name": "MediaJobErrorCategory",
- "values": [
- {
- "value": "Service",
- "description": "The error is service related."
- },
- {
- "value": "Download",
- "description": "The error is download related."
- },
- {
- "value": "Upload",
- "description": "The error is upload related."
- },
- {
- "value": "Configuration",
- "description": "The error is configuration related."
- },
- {
- "value": "Content",
- "description": "The error is related to data in the input files."
- }
- ],
- "modelAsExtensible": true
- },
- "x-nullable": false
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1628",
- "fixed": false,
- "raw": "category"
- },
- "serializedName": "category",
- "modelType": {
- "$id": "1629",
- "$type": "EnumType",
- "values": [
- {
- "$id": "1630",
- "description": "The error is service related.",
- "name": "Service",
- "serializedName": "Service"
- },
- {
- "$id": "1631",
- "description": "The error is download related.",
- "name": "Download",
- "serializedName": "Download"
- },
- {
- "$id": "1632",
- "description": "The error is upload related.",
- "name": "Upload",
- "serializedName": "Upload"
- },
- {
- "$id": "1633",
- "description": "The error is configuration related.",
- "name": "Configuration",
- "serializedName": "Configuration"
- },
- {
- "$id": "1634",
- "description": "The error is related to data in the input files.",
- "name": "Content",
- "serializedName": "Content"
- }
- ],
- "oldModelAsString": false,
- "modelAsString": false,
- "underlyingType": {
- "$id": "1635",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1636",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- },
- "name": {
- "$id": "1637",
- "fixed": false,
- "raw": "MediaJobErrorCategory"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1638",
- "isReadOnly": true,
- "realPath": [
- "retry"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1639",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1640",
- "fixed": false,
- "raw": "Indicates that it may be possible to retry the Job. If retry is unsuccessful, please contact Azure support via Azure Portal."
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaJobRetry",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobError-retry"
- ]
- },
- "x-ms-enum": {
- "name": "MediaJobRetry",
- "values": [
- {
- "value": "DoNotRetry",
- "description": "Issue needs to be investigated and then the job resubmitted with corrections or retried once the underlying issue has been corrected."
- },
- {
- "value": "MayRetry",
- "description": "Issue may be resolved after waiting for a period of time and resubmitting the same Job."
- }
- ],
- "modelAsExtensible": true
- },
- "x-nullable": false
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1641",
- "fixed": false,
- "raw": "retry"
- },
- "serializedName": "retry",
- "modelType": {
- "$id": "1642",
- "$type": "EnumType",
- "values": [
- {
- "$id": "1643",
- "description": "Issue needs to be investigated and then the job resubmitted with corrections or retried once the underlying issue has been corrected.",
- "name": "DoNotRetry",
- "serializedName": "DoNotRetry"
- },
- {
- "$id": "1644",
- "description": "Issue may be resolved after waiting for a period of time and resubmitting the same Job.",
- "name": "MayRetry",
- "serializedName": "MayRetry"
- }
- ],
- "oldModelAsString": false,
- "modelAsString": false,
- "underlyingType": {
- "$id": "1645",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1646",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- },
- "name": {
- "$id": "1647",
- "fixed": false,
- "raw": "MediaJobRetry"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1648",
- "isReadOnly": true,
- "realPath": [
- "details"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1649",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1650",
- "fixed": false,
- "raw": "An array of details about specific errors that led to this reported error."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1651",
- "fixed": false,
- "raw": "details"
- },
- "serializedName": "details",
- "modelType": {
- "$id": "1652",
- "$type": "SequenceType",
- "elementType": {
- "$ref": "1587"
- },
- "name": {
- "$id": "1653",
- "fixed": false
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "MediaJobError",
- "documentation": "Details of JobOutput errors.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1654",
- "fixed": false,
- "raw": "MediaJobError"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaJobError",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobError"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "1655",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1656",
- "isReadOnly": false,
- "realPath": [
- "error"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1657",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1658",
- "fixed": false,
- "raw": "Gets the Job output error."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1659",
- "fixed": false,
- "raw": "error"
- },
- "serializedName": "error",
- "modelType": {
- "$ref": "1601"
- }
- },
- {
- "$id": "1660",
- "isReadOnly": false,
- "realPath": [
- "label"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1661",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1662",
- "fixed": false,
- "raw": "Gets the Job output label."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1663",
- "fixed": false,
- "raw": "label"
- },
- "serializedName": "label",
- "modelType": {
- "$id": "1664",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1665",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1666",
- "isReadOnly": false,
- "realPath": [
- "progress"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1667",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1668",
- "fixed": false,
- "raw": "Gets the Job output progress."
- },
- "isRequired": true,
- "isConstant": false,
- "name": {
- "$id": "1669",
- "fixed": false,
- "raw": "progress"
- },
- "serializedName": "progress",
- "modelType": {
- "$id": "1670",
- "$type": "PrimaryType",
- "format": "int64",
- "knownPrimaryType": "long",
- "name": {
- "$id": "1671",
- "fixed": false,
- "raw": "Long"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1672",
- "isReadOnly": false,
- "realPath": [
- "state"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1673",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1674",
- "fixed": false,
- "raw": "Gets the Job output state."
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaJobState",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobOutput-state"
- ]
- },
- "x-ms-enum": {
- "name": "MediaJobState",
- "values": [
- {
- "value": "Canceled",
- "description": "The job was canceled. This is a final state for the job."
- },
- {
- "value": "Canceling",
- "description": "The job is in the process of being canceled. This is a transient state for the job."
- },
- {
- "value": "Error",
- "description": "The job has encountered an error. This is a final state for the job."
- },
- {
- "value": "Finished",
- "description": "The job is finished. This is a final state for the job."
- },
- {
- "value": "Processing",
- "description": "The job is processing. This is a transient state for the job."
- },
- {
- "value": "Queued",
- "description": "The job is in a queued state, waiting for resources to become available. This is a transient state."
- },
- {
- "value": "Scheduled",
- "description": "The job is being scheduled to run on an available resource. This is a transient state, between queued and processing states."
- }
- ],
- "modelAsExtensible": true
- }
- },
- "isRequired": true,
- "isConstant": false,
- "name": {
- "$id": "1675",
- "fixed": false,
- "raw": "state"
- },
- "serializedName": "state",
- "modelType": {
- "$ref": "1563"
- }
- }
- ],
- "serializedName": "MediaJobOutput",
- "polymorphicDiscriminator": "@odata.type",
- "documentation": "The event data for a Job output.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1676",
- "fixed": false,
- "raw": "MediaJobOutput"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaJobOutput",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobOutput"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "1677",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1678",
- "isReadOnly": false,
- "realPath": [
- "assetName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1679",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1680",
- "fixed": false,
- "raw": "Gets the Job output asset name."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1681",
- "fixed": false,
- "raw": "assetName"
- },
- "serializedName": "assetName",
- "modelType": {
- "$id": "1682",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1683",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "#Microsoft.Media.JobOutputAsset",
- "baseModelType": {
- "$ref": "1655"
- },
- "documentation": "The event data for a Job output asset.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1684",
- "fixed": false,
- "raw": "MediaJobOutputAsset"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaJobOutputAsset",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobOutputAsset"
- ]
- },
- "x-ms-discriminator-value": "#Microsoft.Media.JobOutputAsset"
- },
- "deprecated": false
- },
- {
- "$id": "1685",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1686",
- "isReadOnly": false,
- "realPath": [
- "label"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1687",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1688",
- "fixed": false,
- "raw": "Gets the Job output label."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1689",
- "fixed": false,
- "raw": "label"
- },
- "serializedName": "label",
- "modelType": {
- "$id": "1690",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1691",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1692",
- "isReadOnly": false,
- "realPath": [
- "progress"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1693",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1694",
- "fixed": false,
- "raw": "Gets the Job output progress."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1695",
- "fixed": false,
- "raw": "progress"
- },
- "serializedName": "progress",
- "modelType": {
- "$id": "1696",
- "$type": "PrimaryType",
- "format": "int64",
- "knownPrimaryType": "long",
- "name": {
- "$id": "1697",
- "fixed": false,
- "raw": "Long"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1698",
- "isReadOnly": false,
- "realPath": [
- "jobCorrelationData"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1699",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1700",
- "fixed": false,
- "raw": "Gets the Job correlation data."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1701",
- "fixed": false,
- "raw": "jobCorrelationData"
- },
- "serializedName": "jobCorrelationData",
- "modelType": {
- "$id": "1702",
- "$type": "DictionaryType",
- "valueType": {
- "$id": "1703",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1704",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- },
- "supportsAdditionalProperties": false,
- "name": {
- "$id": "1705",
- "fixed": false
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "#Microsoft.Media.JobOutputProgress",
- "documentation": "Job Output Progress Event Data.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1706",
- "fixed": false,
- "raw": "MediaJobOutputProgressEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaJobOutputProgressEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobOutputProgressEventData"
- ]
- },
- "x-ms-discriminator-value": "#Microsoft.Media.JobOutputProgress"
- },
- "deprecated": false
- },
- {
- "$id": "1707",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1708",
- "isReadOnly": true,
- "realPath": [
- "previousState"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1709",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1710",
- "fixed": false,
- "raw": "The previous state of the Job."
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaJobState",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobStateChangeEventData-previousState",
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobStateChangeEventData-state",
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobOutputStateChangeEventData-previousState"
- ]
- },
- "x-ms-enum": {
- "name": "MediaJobState",
- "values": [
- {
- "value": "Canceled",
- "description": "The job was canceled. This is a final state for the job."
- },
- {
- "value": "Canceling",
- "description": "The job is in the process of being canceled. This is a transient state for the job."
- },
- {
- "value": "Error",
- "description": "The job has encountered an error. This is a final state for the job."
- },
- {
- "value": "Finished",
- "description": "The job is finished. This is a final state for the job."
- },
- {
- "value": "Processing",
- "description": "The job is processing. This is a transient state for the job."
- },
- {
- "value": "Queued",
- "description": "The job is in a queued state, waiting for resources to become available. This is a transient state."
- },
- {
- "value": "Scheduled",
- "description": "The job is being scheduled to run on an available resource. This is a transient state, between queued and processing states."
- }
- ],
- "modelAsExtensible": true
- },
- "x-nullable": false
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1711",
- "fixed": false,
- "raw": "previousState"
- },
- "serializedName": "previousState",
- "modelType": {
- "$ref": "1563"
- }
- },
- {
- "$id": "1712",
- "isReadOnly": false,
- "realPath": [
- "output"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1713",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1714",
- "fixed": false,
- "raw": "Gets the output."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1715",
- "fixed": false,
- "raw": "output"
- },
- "serializedName": "output",
- "modelType": {
- "$ref": "1655"
- }
- },
- {
- "$id": "1716",
- "isReadOnly": false,
- "realPath": [
- "jobCorrelationData"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1717",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1718",
- "fixed": false,
- "raw": "Gets the Job correlation data."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1719",
- "fixed": false,
- "raw": "jobCorrelationData"
- },
- "serializedName": "jobCorrelationData",
- "modelType": {
- "$id": "1720",
- "$type": "DictionaryType",
- "valueType": {
- "$id": "1721",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1722",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- },
- "supportsAdditionalProperties": false,
- "name": {
- "$id": "1723",
- "fixed": false
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "MediaJobOutputStateChangeEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for a Microsoft.Media.JobOutputStateChange event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1724",
- "fixed": false,
- "raw": "MediaJobOutputStateChangeEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaJobOutputStateChangeEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobOutputStateChangeEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "1725",
- "$type": "CompositeType",
- "serializedName": "#Microsoft.Media.JobScheduled",
- "baseModelType": {
- "$ref": "1558"
- },
- "documentation": "Job scheduled event data",
- "containsConstantProperties": false,
- "name": {
- "$id": "1726",
- "fixed": false,
- "raw": "MediaJobScheduledEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaJobScheduledEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobScheduledEventData"
- ]
- },
- "x-ms-discriminator-value": "#Microsoft.Media.JobScheduled"
- },
- "deprecated": false
- },
- {
- "$id": "1727",
- "$type": "CompositeType",
- "serializedName": "#Microsoft.Media.JobProcessing",
- "baseModelType": {
- "$ref": "1558"
- },
- "documentation": "Job processing event data",
- "containsConstantProperties": false,
- "name": {
- "$id": "1728",
- "fixed": false,
- "raw": "MediaJobProcessingEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaJobProcessingEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobProcessingEventData"
- ]
- },
- "x-ms-discriminator-value": "#Microsoft.Media.JobProcessing"
- },
- "deprecated": false
- },
- {
- "$id": "1729",
- "$type": "CompositeType",
- "serializedName": "#Microsoft.Media.JobCanceling",
- "baseModelType": {
- "$ref": "1558"
- },
- "documentation": "Job canceling event data",
- "containsConstantProperties": false,
- "name": {
- "$id": "1730",
- "fixed": false,
- "raw": "MediaJobCancelingEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaJobCancelingEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobCancelingEventData"
- ]
- },
- "x-ms-discriminator-value": "#Microsoft.Media.JobCanceling"
- },
- "deprecated": false
- },
- {
- "$id": "1731",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1732",
- "isReadOnly": false,
- "realPath": [
- "outputs"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1733",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1734",
- "fixed": false,
- "raw": "Gets the Job outputs."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1735",
- "fixed": false,
- "raw": "outputs"
- },
- "serializedName": "outputs",
- "modelType": {
- "$id": "1736",
- "$type": "SequenceType",
- "elementType": {
- "$ref": "1655"
- },
- "name": {
- "$id": "1737",
- "fixed": false
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "#Microsoft.Media.JobFinished",
- "baseModelType": {
- "$ref": "1558"
- },
- "documentation": "Job finished event data",
- "containsConstantProperties": false,
- "name": {
- "$id": "1738",
- "fixed": false,
- "raw": "MediaJobFinishedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaJobFinishedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobFinishedEventData"
- ]
- },
- "x-ms-discriminator-value": "#Microsoft.Media.JobFinished"
- },
- "deprecated": false
- },
- {
- "$id": "1739",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1740",
- "isReadOnly": false,
- "realPath": [
- "outputs"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1741",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1742",
- "fixed": false,
- "raw": "Gets the Job outputs."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1743",
- "fixed": false,
- "raw": "outputs"
- },
- "serializedName": "outputs",
- "modelType": {
- "$id": "1744",
- "$type": "SequenceType",
- "elementType": {
- "$ref": "1655"
- },
- "name": {
- "$id": "1745",
- "fixed": false
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "#Microsoft.Media.JobCanceled",
- "baseModelType": {
- "$ref": "1558"
- },
- "documentation": "Job canceled event data",
- "containsConstantProperties": false,
- "name": {
- "$id": "1746",
- "fixed": false,
- "raw": "MediaJobCanceledEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaJobCanceledEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobCanceledEventData"
- ]
- },
- "x-ms-discriminator-value": "#Microsoft.Media.JobCanceled"
- },
- "deprecated": false
- },
- {
- "$id": "1747",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1748",
- "isReadOnly": false,
- "realPath": [
- "outputs"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1749",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1750",
- "fixed": false,
- "raw": "Gets the Job outputs."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1751",
- "fixed": false,
- "raw": "outputs"
- },
- "serializedName": "outputs",
- "modelType": {
- "$id": "1752",
- "$type": "SequenceType",
- "elementType": {
- "$ref": "1655"
- },
- "name": {
- "$id": "1753",
- "fixed": false
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "#Microsoft.Media.JobErrored",
- "baseModelType": {
- "$ref": "1558"
- },
- "documentation": "Job error state event data",
- "containsConstantProperties": false,
- "name": {
- "$id": "1754",
- "fixed": false,
- "raw": "MediaJobErroredEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaJobErroredEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobErroredEventData"
- ]
- },
- "x-ms-discriminator-value": "#Microsoft.Media.JobErrored"
- },
- "deprecated": false
- },
- {
- "$id": "1755",
- "$type": "CompositeType",
- "serializedName": "#Microsoft.Media.JobOutputCanceled",
- "baseModelType": {
- "$ref": "1707"
- },
- "documentation": "Job output canceled event data",
- "containsConstantProperties": false,
- "name": {
- "$id": "1756",
- "fixed": false,
- "raw": "MediaJobOutputCanceledEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaJobOutputCanceledEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobOutputCanceledEventData"
- ]
- },
- "x-ms-discriminator-value": "#Microsoft.Media.JobOutputCanceled"
- },
- "deprecated": false
- },
- {
- "$id": "1757",
- "$type": "CompositeType",
- "serializedName": "#Microsoft.Media.JobOutputCanceling",
- "baseModelType": {
- "$ref": "1707"
- },
- "documentation": "Job output canceling event data",
- "containsConstantProperties": false,
- "name": {
- "$id": "1758",
- "fixed": false,
- "raw": "MediaJobOutputCancelingEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaJobOutputCancelingEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobOutputCancelingEventData"
- ]
- },
- "x-ms-discriminator-value": "#Microsoft.Media.JobOutputCanceling"
- },
- "deprecated": false
- },
- {
- "$id": "1759",
- "$type": "CompositeType",
- "serializedName": "#Microsoft.Media.JobOutputErrored",
- "baseModelType": {
- "$ref": "1707"
- },
- "documentation": "Job output error event data",
- "containsConstantProperties": false,
- "name": {
- "$id": "1760",
- "fixed": false,
- "raw": "MediaJobOutputErroredEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaJobOutputErroredEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobOutputErroredEventData"
- ]
- },
- "x-ms-discriminator-value": "#Microsoft.Media.JobOutputErrored"
- },
- "deprecated": false
- },
- {
- "$id": "1761",
- "$type": "CompositeType",
- "serializedName": "#Microsoft.Media.JobOutputFinished",
- "baseModelType": {
- "$ref": "1707"
- },
- "documentation": "Job output finished event data",
- "containsConstantProperties": false,
- "name": {
- "$id": "1762",
- "fixed": false,
- "raw": "MediaJobOutputFinishedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaJobOutputFinishedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobOutputFinishedEventData"
- ]
- },
- "x-ms-discriminator-value": "#Microsoft.Media.JobOutputFinished"
- },
- "deprecated": false
- },
- {
- "$id": "1763",
- "$type": "CompositeType",
- "serializedName": "#Microsoft.Media.JobOutputProcessing",
- "baseModelType": {
- "$ref": "1707"
- },
- "documentation": "Job output processing event data",
- "containsConstantProperties": false,
- "name": {
- "$id": "1764",
- "fixed": false,
- "raw": "MediaJobOutputProcessingEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaJobOutputProcessingEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobOutputProcessingEventData"
- ]
- },
- "x-ms-discriminator-value": "#Microsoft.Media.JobOutputProcessing"
- },
- "deprecated": false
- },
- {
- "$id": "1765",
- "$type": "CompositeType",
- "serializedName": "#Microsoft.Media.JobOutputScheduled",
- "baseModelType": {
- "$ref": "1707"
- },
- "documentation": "Job output scheduled event data",
- "containsConstantProperties": false,
- "name": {
- "$id": "1766",
- "fixed": false,
- "raw": "MediaJobOutputScheduledEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaJobOutputScheduledEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaJobOutputScheduledEventData"
- ]
- },
- "x-ms-discriminator-value": "#Microsoft.Media.JobOutputScheduled"
- },
- "deprecated": false
- },
- {
- "$id": "1767",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1768",
- "isReadOnly": true,
- "realPath": [
- "ingestUrl"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1769",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1770",
- "fixed": false,
- "raw": "Gets the ingest URL provided by the live event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1771",
- "fixed": false,
- "raw": "ingestUrl"
- },
- "serializedName": "ingestUrl",
- "modelType": {
- "$id": "1772",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1773",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1774",
- "isReadOnly": true,
- "realPath": [
- "streamId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1775",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1776",
- "fixed": false,
- "raw": "Gets the stream Id."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1777",
- "fixed": false,
- "raw": "streamId"
- },
- "serializedName": "streamId",
- "modelType": {
- "$id": "1778",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1779",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1780",
- "isReadOnly": true,
- "realPath": [
- "encoderIp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1781",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1782",
- "fixed": false,
- "raw": "Gets the remote IP."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1783",
- "fixed": false,
- "raw": "encoderIp"
- },
- "serializedName": "encoderIp",
- "modelType": {
- "$id": "1784",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1785",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1786",
- "isReadOnly": true,
- "realPath": [
- "encoderPort"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1787",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1788",
- "fixed": false,
- "raw": "Gets the remote port."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1789",
- "fixed": false,
- "raw": "encoderPort"
- },
- "serializedName": "encoderPort",
- "modelType": {
- "$id": "1790",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1791",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "MediaLiveEventEncoderConnectedEventData",
- "documentation": "Encoder connect event data.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1792",
- "fixed": false,
- "raw": "MediaLiveEventEncoderConnectedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaLiveEventEncoderConnectedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaLiveEventEncoderConnectedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "1793",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1794",
- "isReadOnly": true,
- "realPath": [
- "ingestUrl"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1795",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1796",
- "fixed": false,
- "raw": "Gets the ingest URL provided by the live event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1797",
- "fixed": false,
- "raw": "ingestUrl"
- },
- "serializedName": "ingestUrl",
- "modelType": {
- "$id": "1798",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1799",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1800",
- "isReadOnly": true,
- "realPath": [
- "streamId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1801",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1802",
- "fixed": false,
- "raw": "Gets the stream Id."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1803",
- "fixed": false,
- "raw": "streamId"
- },
- "serializedName": "streamId",
- "modelType": {
- "$id": "1804",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1805",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1806",
- "isReadOnly": true,
- "realPath": [
- "encoderIp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1807",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1808",
- "fixed": false,
- "raw": "Gets the remote IP."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1809",
- "fixed": false,
- "raw": "encoderIp"
- },
- "serializedName": "encoderIp",
- "modelType": {
- "$id": "1810",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1811",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1812",
- "isReadOnly": true,
- "realPath": [
- "encoderPort"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1813",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1814",
- "fixed": false,
- "raw": "Gets the remote port."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1815",
- "fixed": false,
- "raw": "encoderPort"
- },
- "serializedName": "encoderPort",
- "modelType": {
- "$id": "1816",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1817",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1818",
- "isReadOnly": true,
- "realPath": [
- "resultCode"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1819",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1820",
- "fixed": false,
- "raw": "Gets the result code."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1821",
- "fixed": false,
- "raw": "resultCode"
- },
- "serializedName": "resultCode",
- "modelType": {
- "$id": "1822",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1823",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "MediaLiveEventConnectionRejectedEventData",
- "documentation": "Encoder connection rejected event data.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1824",
- "fixed": false,
- "raw": "MediaLiveEventConnectionRejectedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaLiveEventConnectionRejectedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaLiveEventConnectionRejectedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "1825",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1826",
- "isReadOnly": true,
- "realPath": [
- "ingestUrl"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1827",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1828",
- "fixed": false,
- "raw": "Gets the ingest URL provided by the live event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1829",
- "fixed": false,
- "raw": "ingestUrl"
- },
- "serializedName": "ingestUrl",
- "modelType": {
- "$id": "1830",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1831",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1832",
- "isReadOnly": true,
- "realPath": [
- "streamId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1833",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1834",
- "fixed": false,
- "raw": "Gets the stream Id."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1835",
- "fixed": false,
- "raw": "streamId"
- },
- "serializedName": "streamId",
- "modelType": {
- "$id": "1836",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1837",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1838",
- "isReadOnly": true,
- "realPath": [
- "encoderIp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1839",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1840",
- "fixed": false,
- "raw": "Gets the remote IP."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1841",
- "fixed": false,
- "raw": "encoderIp"
- },
- "serializedName": "encoderIp",
- "modelType": {
- "$id": "1842",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1843",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1844",
- "isReadOnly": true,
- "realPath": [
- "encoderPort"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1845",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1846",
- "fixed": false,
- "raw": "Gets the remote port."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1847",
- "fixed": false,
- "raw": "encoderPort"
- },
- "serializedName": "encoderPort",
- "modelType": {
- "$id": "1848",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1849",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1850",
- "isReadOnly": true,
- "realPath": [
- "resultCode"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1851",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1852",
- "fixed": false,
- "raw": "Gets the result code."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1853",
- "fixed": false,
- "raw": "resultCode"
- },
- "serializedName": "resultCode",
- "modelType": {
- "$id": "1854",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1855",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "MediaLiveEventEncoderDisconnectedEventData",
- "documentation": "Encoder disconnected event data.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1856",
- "fixed": false,
- "raw": "MediaLiveEventEncoderDisconnectedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaLiveEventEncoderDisconnectedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaLiveEventEncoderDisconnectedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "1857",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1858",
- "isReadOnly": true,
- "realPath": [
- "ingestUrl"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1859",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1860",
- "fixed": false,
- "raw": "Gets the ingest URL provided by the live event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1861",
- "fixed": false,
- "raw": "ingestUrl"
- },
- "serializedName": "ingestUrl",
- "modelType": {
- "$id": "1862",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1863",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1864",
- "isReadOnly": true,
- "realPath": [
- "trackType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1865",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1866",
- "fixed": false,
- "raw": "Gets the type of the track (Audio / Video)."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1867",
- "fixed": false,
- "raw": "trackType"
- },
- "serializedName": "trackType",
- "modelType": {
- "$id": "1868",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1869",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1870",
- "isReadOnly": true,
- "realPath": [
- "trackName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1871",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1872",
- "fixed": false,
- "raw": "Gets the track name."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1873",
- "fixed": false,
- "raw": "trackName"
- },
- "serializedName": "trackName",
- "modelType": {
- "$id": "1874",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1875",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1876",
- "isReadOnly": true,
- "realPath": [
- "bitrate"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1877",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1878",
- "fixed": false,
- "raw": "Gets the bitrate of the track."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1879",
- "fixed": false,
- "raw": "bitrate"
- },
- "serializedName": "bitrate",
- "modelType": {
- "$id": "1880",
- "$type": "PrimaryType",
- "format": "int64",
- "knownPrimaryType": "long",
- "name": {
- "$id": "1881",
- "fixed": false,
- "raw": "Long"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1882",
- "isReadOnly": true,
- "realPath": [
- "encoderIp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1883",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1884",
- "fixed": false,
- "raw": "Gets the remote IP."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1885",
- "fixed": false,
- "raw": "encoderIp"
- },
- "serializedName": "encoderIp",
- "modelType": {
- "$id": "1886",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1887",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1888",
- "isReadOnly": true,
- "realPath": [
- "encoderPort"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1889",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1890",
- "fixed": false,
- "raw": "Gets the remote port."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1891",
- "fixed": false,
- "raw": "encoderPort"
- },
- "serializedName": "encoderPort",
- "modelType": {
- "$id": "1892",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1893",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1894",
- "isReadOnly": true,
- "realPath": [
- "timestamp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1895",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1896",
- "fixed": false,
- "raw": "Gets the first timestamp of the data chunk received."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1897",
- "fixed": false,
- "raw": "timestamp"
- },
- "serializedName": "timestamp",
- "modelType": {
- "$id": "1898",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1899",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1900",
- "isReadOnly": true,
- "realPath": [
- "duration"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1901",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1902",
- "fixed": false,
- "raw": "Gets the duration of the first data chunk."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1903",
- "fixed": false,
- "raw": "duration"
- },
- "serializedName": "duration",
- "modelType": {
- "$id": "1904",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1905",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1906",
- "isReadOnly": true,
- "realPath": [
- "timescale"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1907",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1908",
- "fixed": false,
- "raw": "Gets the timescale in which timestamp is represented."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1909",
- "fixed": false,
- "raw": "timescale"
- },
- "serializedName": "timescale",
- "modelType": {
- "$id": "1910",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1911",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "MediaLiveEventIncomingStreamReceivedEventData",
- "documentation": "Encoder connect event data.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1912",
- "fixed": false,
- "raw": "MediaLiveEventIncomingStreamReceivedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaLiveEventIncomingStreamReceivedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaLiveEventIncomingStreamReceivedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "1913",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1914",
- "isReadOnly": true,
- "realPath": [
- "minLastTimestamp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1915",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1916",
- "fixed": false,
- "raw": "Gets the minimum last timestamp received."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1917",
- "fixed": false,
- "raw": "minLastTimestamp"
- },
- "serializedName": "minLastTimestamp",
- "modelType": {
- "$id": "1918",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1919",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1920",
- "isReadOnly": true,
- "realPath": [
- "typeOfStreamWithMinLastTimestamp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1921",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1922",
- "fixed": false,
- "raw": "Gets the type of stream with minimum last timestamp."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1923",
- "fixed": false,
- "raw": "typeOfStreamWithMinLastTimestamp"
- },
- "serializedName": "typeOfStreamWithMinLastTimestamp",
- "modelType": {
- "$id": "1924",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1925",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1926",
- "isReadOnly": true,
- "realPath": [
- "maxLastTimestamp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1927",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1928",
- "fixed": false,
- "raw": "Gets the maximum timestamp among all the tracks (audio or video)."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1929",
- "fixed": false,
- "raw": "maxLastTimestamp"
- },
- "serializedName": "maxLastTimestamp",
- "modelType": {
- "$id": "1930",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1931",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1932",
- "isReadOnly": true,
- "realPath": [
- "typeOfStreamWithMaxLastTimestamp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1933",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1934",
- "fixed": false,
- "raw": "Gets the type of stream with maximum last timestamp."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1935",
- "fixed": false,
- "raw": "typeOfStreamWithMaxLastTimestamp"
- },
- "serializedName": "typeOfStreamWithMaxLastTimestamp",
- "modelType": {
- "$id": "1936",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1937",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1938",
- "isReadOnly": true,
- "realPath": [
- "timescaleOfMinLastTimestamp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1939",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1940",
- "fixed": false,
- "raw": "Gets the timescale in which \"MinLastTimestamp\" is represented."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1941",
- "fixed": false,
- "raw": "timescaleOfMinLastTimestamp"
- },
- "serializedName": "timescaleOfMinLastTimestamp",
- "modelType": {
- "$id": "1942",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1943",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1944",
- "isReadOnly": true,
- "realPath": [
- "timescaleOfMaxLastTimestamp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1945",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1946",
- "fixed": false,
- "raw": "Gets the timescale in which \"MaxLastTimestamp\" is represented."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1947",
- "fixed": false,
- "raw": "timescaleOfMaxLastTimestamp"
- },
- "serializedName": "timescaleOfMaxLastTimestamp",
- "modelType": {
- "$id": "1948",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1949",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "MediaLiveEventIncomingStreamsOutOfSyncEventData",
- "documentation": "Incoming streams out of sync event data.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1950",
- "fixed": false,
- "raw": "MediaLiveEventIncomingStreamsOutOfSyncEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaLiveEventIncomingStreamsOutOfSyncEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaLiveEventIncomingStreamsOutOfSyncEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "1951",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1952",
- "isReadOnly": true,
- "realPath": [
- "firstTimestamp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1953",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1954",
- "fixed": false,
- "raw": "Gets the first timestamp received for one of the quality levels."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1955",
- "fixed": false,
- "raw": "firstTimestamp"
- },
- "serializedName": "firstTimestamp",
- "modelType": {
- "$id": "1956",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1957",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1958",
- "isReadOnly": true,
- "realPath": [
- "firstDuration"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1959",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1960",
- "fixed": false,
- "raw": "Gets the duration of the data chunk with first timestamp."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1961",
- "fixed": false,
- "raw": "firstDuration"
- },
- "serializedName": "firstDuration",
- "modelType": {
- "$id": "1962",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1963",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1964",
- "isReadOnly": true,
- "realPath": [
- "secondTimestamp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1965",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1966",
- "fixed": false,
- "raw": "Gets the timestamp received for some other quality levels."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1967",
- "fixed": false,
- "raw": "secondTimestamp"
- },
- "serializedName": "secondTimestamp",
- "modelType": {
- "$id": "1968",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1969",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1970",
- "isReadOnly": true,
- "realPath": [
- "secondDuration"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1971",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1972",
- "fixed": false,
- "raw": "Gets the duration of the data chunk with second timestamp."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1973",
- "fixed": false,
- "raw": "secondDuration"
- },
- "serializedName": "secondDuration",
- "modelType": {
- "$id": "1974",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1975",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1976",
- "isReadOnly": true,
- "realPath": [
- "timescale"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1977",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1978",
- "fixed": false,
- "raw": "Gets the timescale in which both the timestamps and durations are represented."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1979",
- "fixed": false,
- "raw": "timescale"
- },
- "serializedName": "timescale",
- "modelType": {
- "$id": "1980",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1981",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "MediaLiveEventIncomingVideoStreamsOutOfSyncEventData",
- "documentation": "Incoming video stream out of synch event data.",
- "containsConstantProperties": false,
- "name": {
- "$id": "1982",
- "fixed": false,
- "raw": "MediaLiveEventIncomingVideoStreamsOutOfSyncEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaLiveEventIncomingVideoStreamsOutOfSyncEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaLiveEventIncomingVideoStreamsOutOfSyncEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "1983",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "1984",
- "isReadOnly": true,
- "realPath": [
- "timestamp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1985",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1986",
- "fixed": false,
- "raw": "Gets the timestamp of the data chunk dropped."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1987",
- "fixed": false,
- "raw": "timestamp"
- },
- "serializedName": "timestamp",
- "modelType": {
- "$id": "1988",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1989",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1990",
- "isReadOnly": true,
- "realPath": [
- "trackType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1991",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1992",
- "fixed": false,
- "raw": "Gets the type of the track (Audio / Video)."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1993",
- "fixed": false,
- "raw": "trackType"
- },
- "serializedName": "trackType",
- "modelType": {
- "$id": "1994",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "1995",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "1996",
- "isReadOnly": true,
- "realPath": [
- "bitrate"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "1997",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "1998",
- "fixed": false,
- "raw": "Gets the bitrate of the track."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "1999",
- "fixed": false,
- "raw": "bitrate"
- },
- "serializedName": "bitrate",
- "modelType": {
- "$id": "2000",
- "$type": "PrimaryType",
- "format": "int64",
- "knownPrimaryType": "long",
- "name": {
- "$id": "2001",
- "fixed": false,
- "raw": "Long"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2002",
- "isReadOnly": true,
- "realPath": [
- "timescale"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2003",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2004",
- "fixed": false,
- "raw": "Gets the timescale of the Timestamp."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2005",
- "fixed": false,
- "raw": "timescale"
- },
- "serializedName": "timescale",
- "modelType": {
- "$id": "2006",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2007",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2008",
- "isReadOnly": true,
- "realPath": [
- "resultCode"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2009",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2010",
- "fixed": false,
- "raw": "Gets the result code for fragment drop operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2011",
- "fixed": false,
- "raw": "resultCode"
- },
- "serializedName": "resultCode",
- "modelType": {
- "$id": "2012",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2013",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2014",
- "isReadOnly": true,
- "realPath": [
- "trackName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2015",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2016",
- "fixed": false,
- "raw": "Gets the name of the track for which fragment is dropped."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2017",
- "fixed": false,
- "raw": "trackName"
- },
- "serializedName": "trackName",
- "modelType": {
- "$id": "2018",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2019",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "MediaLiveEventIncomingDataChunkDroppedEventData",
- "documentation": "Ingest fragment dropped event data.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2020",
- "fixed": false,
- "raw": "MediaLiveEventIncomingDataChunkDroppedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaLiveEventIncomingDataChunkDroppedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaLiveEventIncomingDataChunkDroppedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2021",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2022",
- "isReadOnly": true,
- "realPath": [
- "trackType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2023",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2024",
- "fixed": false,
- "raw": "Gets the type of the track (Audio / Video)."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2025",
- "fixed": false,
- "raw": "trackType"
- },
- "serializedName": "trackType",
- "modelType": {
- "$id": "2026",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2027",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2028",
- "isReadOnly": true,
- "realPath": [
- "trackName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2029",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2030",
- "fixed": false,
- "raw": "Gets the track name."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2031",
- "fixed": false,
- "raw": "trackName"
- },
- "serializedName": "trackName",
- "modelType": {
- "$id": "2032",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2033",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2034",
- "isReadOnly": true,
- "realPath": [
- "bitrate"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2035",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2036",
- "fixed": false,
- "raw": "Gets the bitrate of the track."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2037",
- "fixed": false,
- "raw": "bitrate"
- },
- "serializedName": "bitrate",
- "modelType": {
- "$id": "2038",
- "$type": "PrimaryType",
- "format": "int64",
- "knownPrimaryType": "long",
- "name": {
- "$id": "2039",
- "fixed": false,
- "raw": "Long"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2040",
- "isReadOnly": true,
- "realPath": [
- "incomingBitrate"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2041",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2042",
- "fixed": false,
- "raw": "Gets the incoming bitrate."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2043",
- "fixed": false,
- "raw": "incomingBitrate"
- },
- "serializedName": "incomingBitrate",
- "modelType": {
- "$id": "2044",
- "$type": "PrimaryType",
- "format": "int64",
- "knownPrimaryType": "long",
- "name": {
- "$id": "2045",
- "fixed": false,
- "raw": "Long"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2046",
- "isReadOnly": true,
- "realPath": [
- "lastTimestamp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2047",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2048",
- "fixed": false,
- "raw": "Gets the last timestamp."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2049",
- "fixed": false,
- "raw": "lastTimestamp"
- },
- "serializedName": "lastTimestamp",
- "modelType": {
- "$id": "2050",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2051",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2052",
- "isReadOnly": true,
- "realPath": [
- "timescale"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2053",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2054",
- "fixed": false,
- "raw": "Gets the timescale of the last timestamp."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2055",
- "fixed": false,
- "raw": "timescale"
- },
- "serializedName": "timescale",
- "modelType": {
- "$id": "2056",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2057",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2058",
- "isReadOnly": true,
- "realPath": [
- "overlapCount"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2059",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2060",
- "fixed": false,
- "raw": "Gets the fragment Overlap count."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2061",
- "fixed": false,
- "raw": "overlapCount"
- },
- "serializedName": "overlapCount",
- "modelType": {
- "$id": "2062",
- "$type": "PrimaryType",
- "format": "int64",
- "knownPrimaryType": "long",
- "name": {
- "$id": "2063",
- "fixed": false,
- "raw": "Long"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2064",
- "isReadOnly": true,
- "realPath": [
- "discontinuityCount"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2065",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2066",
- "fixed": false,
- "raw": "Gets the fragment Discontinuity count."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2067",
- "fixed": false,
- "raw": "discontinuityCount"
- },
- "serializedName": "discontinuityCount",
- "modelType": {
- "$id": "2068",
- "$type": "PrimaryType",
- "format": "int64",
- "knownPrimaryType": "long",
- "name": {
- "$id": "2069",
- "fixed": false,
- "raw": "Long"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2070",
- "isReadOnly": true,
- "realPath": [
- "nonincreasingCount"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2071",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2072",
- "fixed": false,
- "raw": "Gets Non increasing count."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2073",
- "fixed": false,
- "raw": "nonincreasingCount"
- },
- "serializedName": "nonincreasingCount",
- "modelType": {
- "$id": "2074",
- "$type": "PrimaryType",
- "format": "int64",
- "knownPrimaryType": "long",
- "name": {
- "$id": "2075",
- "fixed": false,
- "raw": "Long"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2076",
- "isReadOnly": true,
- "realPath": [
- "unexpectedBitrate"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2077",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2078",
- "fixed": false,
- "raw": "Gets a value indicating whether unexpected bitrate is present or not."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2079",
- "fixed": false,
- "raw": "unexpectedBitrate"
- },
- "serializedName": "unexpectedBitrate",
- "modelType": {
- "$id": "2080",
- "$type": "PrimaryType",
- "knownPrimaryType": "boolean",
- "name": {
- "$id": "2081",
- "fixed": false,
- "raw": "Boolean"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2082",
- "isReadOnly": true,
- "realPath": [
- "state"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2083",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2084",
- "fixed": false,
- "raw": "Gets the state of the live event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2085",
- "fixed": false,
- "raw": "state"
- },
- "serializedName": "state",
- "modelType": {
- "$id": "2086",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2087",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2088",
- "isReadOnly": true,
- "realPath": [
- "healthy"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2089",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2090",
- "fixed": false,
- "raw": "Gets a value indicating whether preview is healthy or not."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2091",
- "fixed": false,
- "raw": "healthy"
- },
- "serializedName": "healthy",
- "modelType": {
- "$id": "2092",
- "$type": "PrimaryType",
- "knownPrimaryType": "boolean",
- "name": {
- "$id": "2093",
- "fixed": false,
- "raw": "Boolean"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "MediaLiveEventIngestHeartbeatEventData",
- "documentation": "Ingest fragment dropped event data.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2094",
- "fixed": false,
- "raw": "MediaLiveEventIngestHeartbeatEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaLiveEventIngestHeartbeatEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaLiveEventIngestHeartbeatEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2095",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2096",
- "isReadOnly": true,
- "realPath": [
- "trackType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2097",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2098",
- "fixed": false,
- "raw": "Gets the type of the track (Audio / Video)."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2099",
- "fixed": false,
- "raw": "trackType"
- },
- "serializedName": "trackType",
- "modelType": {
- "$id": "2100",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2101",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2102",
- "isReadOnly": true,
- "realPath": [
- "trackName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2103",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2104",
- "fixed": false,
- "raw": "Gets the track name."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2105",
- "fixed": false,
- "raw": "trackName"
- },
- "serializedName": "trackName",
- "modelType": {
- "$id": "2106",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2107",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2108",
- "isReadOnly": true,
- "realPath": [
- "bitrate"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2109",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2110",
- "fixed": false,
- "raw": "Gets the bitrate."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2111",
- "fixed": false,
- "raw": "bitrate"
- },
- "serializedName": "bitrate",
- "modelType": {
- "$id": "2112",
- "$type": "PrimaryType",
- "format": "int64",
- "knownPrimaryType": "long",
- "name": {
- "$id": "2113",
- "fixed": false,
- "raw": "Long"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2114",
- "isReadOnly": true,
- "realPath": [
- "previousTimestamp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2115",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2116",
- "fixed": false,
- "raw": "Gets the timestamp of the previous fragment."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2117",
- "fixed": false,
- "raw": "previousTimestamp"
- },
- "serializedName": "previousTimestamp",
- "modelType": {
- "$id": "2118",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2119",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2120",
- "isReadOnly": true,
- "realPath": [
- "newTimestamp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2121",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2122",
- "fixed": false,
- "raw": "Gets the timestamp of the current fragment."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2123",
- "fixed": false,
- "raw": "newTimestamp"
- },
- "serializedName": "newTimestamp",
- "modelType": {
- "$id": "2124",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2125",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2126",
- "isReadOnly": true,
- "realPath": [
- "timescale"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2127",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2128",
- "fixed": false,
- "raw": "Gets the timescale in which both timestamps and discontinuity gap are represented."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2129",
- "fixed": false,
- "raw": "timescale"
- },
- "serializedName": "timescale",
- "modelType": {
- "$id": "2130",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2131",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2132",
- "isReadOnly": true,
- "realPath": [
- "discontinuityGap"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2133",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2134",
- "fixed": false,
- "raw": "Gets the discontinuity gap between PreviousTimestamp and NewTimestamp."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2135",
- "fixed": false,
- "raw": "discontinuityGap"
- },
- "serializedName": "discontinuityGap",
- "modelType": {
- "$id": "2136",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2137",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "MediaLiveEventTrackDiscontinuityDetectedEventData",
- "documentation": "Ingest track discontinuity detected event data.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2138",
- "fixed": false,
- "raw": "MediaLiveEventTrackDiscontinuityDetectedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///281?oai3.shaken.json"
- ],
- "name": "MediaLiveEventTrackDiscontinuityDetectedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json#/components/schemas/MediaLiveEventTrackDiscontinuityDetectedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2139",
- "$type": "CompositeType",
- "serializedName": "MapsGeofenceEnteredEventData",
- "baseModelType": {
- "$id": "2140",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2141",
- "isReadOnly": false,
- "realPath": [
- "expiredGeofenceGeometryId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2142",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2143",
- "fixed": false,
- "raw": "Lists of the geometry ID of the geofence which is expired relative to the user time in the request."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2144",
- "fixed": false,
- "raw": "expiredGeofenceGeometryId"
- },
- "serializedName": "expiredGeofenceGeometryId",
- "modelType": {
- "$id": "2145",
- "$type": "SequenceType",
- "elementType": {
- "$id": "2146",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2147",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- },
- "name": {
- "$id": "2148",
- "fixed": false
- },
- "deprecated": false
- }
- },
- {
- "$id": "2149",
- "isReadOnly": false,
- "realPath": [
- "geometries"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2150",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2151",
- "fixed": false,
- "raw": "Lists the fence geometries that either fully contain the coordinate position or have an overlap with the searchBuffer around the fence."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2152",
- "fixed": false,
- "raw": "geometries"
- },
- "serializedName": "geometries",
- "modelType": {
- "$id": "2153",
- "$type": "SequenceType",
- "elementType": {
- "$id": "2154",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2155",
- "isReadOnly": false,
- "realPath": [
- "deviceId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2156",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2157",
- "fixed": false,
- "raw": "ID of the device."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2158",
- "fixed": false,
- "raw": "deviceId"
- },
- "serializedName": "deviceId",
- "modelType": {
- "$id": "2159",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2160",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2161",
- "isReadOnly": false,
- "realPath": [
- "distance"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2162",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2163",
- "fixed": false,
- "raw": "Distance from the coordinate to the closest border of the geofence. Positive means the coordinate is outside of the geofence. If the coordinate is outside of the geofence, but more than the value of searchBuffer away from the closest geofence border, then the value is 999. Negative means the coordinate is inside of the geofence. If the coordinate is inside the polygon, but more than the value of searchBuffer away from the closest geofencing border,then the value is -999. A value of 999 means that there is great confidence the coordinate is well outside the geofence. A value of -999 means that there is great confidence the coordinate is well within the geofence."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2164",
- "fixed": false,
- "raw": "distance"
- },
- "serializedName": "distance",
- "modelType": {
- "$id": "2165",
- "$type": "PrimaryType",
- "knownPrimaryType": "double",
- "name": {
- "$id": "2166",
- "fixed": false,
- "raw": "Double"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2167",
- "isReadOnly": false,
- "realPath": [
- "geometryId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2168",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2169",
- "fixed": false,
- "raw": "The unique ID for the geofence geometry."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2170",
- "fixed": false,
- "raw": "geometryId"
- },
- "serializedName": "geometryId",
- "modelType": {
- "$id": "2171",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2172",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2173",
- "isReadOnly": false,
- "realPath": [
- "nearestLat"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2174",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2175",
- "fixed": false,
- "raw": "Latitude of the nearest point of the geometry."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2176",
- "fixed": false,
- "raw": "nearestLat"
- },
- "serializedName": "nearestLat",
- "modelType": {
- "$id": "2177",
- "$type": "PrimaryType",
- "knownPrimaryType": "double",
- "name": {
- "$id": "2178",
- "fixed": false,
- "raw": "Double"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2179",
- "isReadOnly": false,
- "realPath": [
- "nearestLon"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2180",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2181",
- "fixed": false,
- "raw": "Longitude of the nearest point of the geometry."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2182",
- "fixed": false,
- "raw": "nearestLon"
- },
- "serializedName": "nearestLon",
- "modelType": {
- "$id": "2183",
- "$type": "PrimaryType",
- "knownPrimaryType": "double",
- "name": {
- "$id": "2184",
- "fixed": false,
- "raw": "Double"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2185",
- "isReadOnly": false,
- "realPath": [
- "udId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2186",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2187",
- "fixed": false,
- "raw": "The unique id returned from user upload service when uploading a geofence. Will not be included in geofencing post API."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2188",
- "fixed": false,
- "raw": "udId"
- },
- "serializedName": "udId",
- "modelType": {
- "$id": "2189",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2190",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "MapsGeofenceGeometry",
- "documentation": "The geofence geometry.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2191",
- "fixed": false,
- "raw": "MapsGeofenceGeometry"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///282?oai3.shaken.json"
- ],
- "name": "MapsGeofenceGeometry",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/Maps.json#/components/schemas/MapsGeofenceGeometry"
- ]
- }
- },
- "deprecated": false
- },
- "name": {
- "$id": "2192",
- "fixed": false
- },
- "deprecated": false
- }
- },
- {
- "$id": "2193",
- "isReadOnly": false,
- "realPath": [
- "invalidPeriodGeofenceGeometryId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2194",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2195",
- "fixed": false,
- "raw": "Lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2196",
- "fixed": false,
- "raw": "invalidPeriodGeofenceGeometryId"
- },
- "serializedName": "invalidPeriodGeofenceGeometryId",
- "modelType": {
- "$id": "2197",
- "$type": "SequenceType",
- "elementType": {
- "$id": "2198",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2199",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- },
- "name": {
- "$id": "2200",
- "fixed": false
- },
- "deprecated": false
- }
- },
- {
- "$id": "2201",
- "isReadOnly": false,
- "realPath": [
- "isEventPublished"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2202",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2203",
- "fixed": false,
- "raw": "True if at least one event is published to the Azure Maps event subscriber, false if no event is published to the Azure Maps event subscriber."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2204",
- "fixed": false,
- "raw": "isEventPublished"
- },
- "serializedName": "isEventPublished",
- "modelType": {
- "$id": "2205",
- "$type": "PrimaryType",
- "knownPrimaryType": "boolean",
- "name": {
- "$id": "2206",
- "fixed": false,
- "raw": "Boolean"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "MapsGeofenceEventProperties",
- "documentation": "Schema of the Data property of an EventGridEvent for a Geofence event (GeofenceEntered, GeofenceExited, GeofenceResult).",
- "containsConstantProperties": false,
- "name": {
- "$id": "2207",
- "fixed": false,
- "raw": "MapsGeofenceEventProperties"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///282?oai3.shaken.json"
- ],
- "name": "MapsGeofenceEventProperties",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/Maps.json#/components/schemas/MapsGeofenceEventProperties"
- ]
- }
- },
- "deprecated": false
- },
- "documentation": "Schema of the Data property of an EventGridEvent for a Microsoft.Maps.GeofenceEntered event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2208",
- "fixed": false,
- "raw": "MapsGeofenceEnteredEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///282?oai3.shaken.json"
- ],
- "name": "MapsGeofenceEnteredEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/Maps.json#/components/schemas/MapsGeofenceEnteredEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2209",
- "$type": "CompositeType",
- "serializedName": "MapsGeofenceExitedEventData",
- "baseModelType": {
- "$ref": "2140"
- },
- "documentation": "Schema of the Data property of an EventGridEvent for a Microsoft.Maps.GeofenceExited event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2210",
- "fixed": false,
- "raw": "MapsGeofenceExitedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///282?oai3.shaken.json"
- ],
- "name": "MapsGeofenceExitedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/Maps.json#/components/schemas/MapsGeofenceExitedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2211",
- "$type": "CompositeType",
- "serializedName": "MapsGeofenceResultEventData",
- "baseModelType": {
- "$ref": "2140"
- },
- "documentation": "Schema of the Data property of an EventGridEvent for a Microsoft.Maps.GeofenceResult event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2212",
- "fixed": false,
- "raw": "MapsGeofenceResultEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///282?oai3.shaken.json"
- ],
- "name": "MapsGeofenceResultEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/Maps.json#/components/schemas/MapsGeofenceResultEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$ref": "2154"
- },
- {
- "$ref": "2140"
- },
- {
- "$id": "2213",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2214",
- "isReadOnly": false,
- "realPath": [
- "key"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2215",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2216",
- "fixed": false,
- "raw": "The key used to identify the key-value that was modified."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2217",
- "fixed": false,
- "raw": "key"
- },
- "serializedName": "key",
- "modelType": {
- "$id": "2218",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2219",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2220",
- "isReadOnly": false,
- "realPath": [
- "label"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2221",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2222",
- "fixed": false,
- "raw": "The label, if any, used to identify the key-value that was modified."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2223",
- "fixed": false,
- "raw": "label"
- },
- "serializedName": "label",
- "modelType": {
- "$id": "2224",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2225",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2226",
- "isReadOnly": false,
- "realPath": [
- "etag"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2227",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2228",
- "fixed": false,
- "raw": "The etag representing the new state of the key-value."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2229",
- "fixed": false,
- "raw": "etag"
- },
- "serializedName": "etag",
- "modelType": {
- "$id": "2230",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2231",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "AppConfigurationKeyValueModifiedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.AppConfiguration.KeyValueModified event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2232",
- "fixed": false,
- "raw": "AppConfigurationKeyValueModifiedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///283?oai3.shaken.json"
- ],
- "name": "AppConfigurationKeyValueModifiedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/AppConfiguration.json#/components/schemas/AppConfigurationKeyValueModifiedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2233",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2234",
- "isReadOnly": false,
- "realPath": [
- "key"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2235",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2236",
- "fixed": false,
- "raw": "The key used to identify the key-value that was deleted."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2237",
- "fixed": false,
- "raw": "key"
- },
- "serializedName": "key",
- "modelType": {
- "$id": "2238",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2239",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2240",
- "isReadOnly": false,
- "realPath": [
- "label"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2241",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2242",
- "fixed": false,
- "raw": "The label, if any, used to identify the key-value that was deleted."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2243",
- "fixed": false,
- "raw": "label"
- },
- "serializedName": "label",
- "modelType": {
- "$id": "2244",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2245",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2246",
- "isReadOnly": false,
- "realPath": [
- "etag"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2247",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2248",
- "fixed": false,
- "raw": "The etag representing the key-value that was deleted."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2249",
- "fixed": false,
- "raw": "etag"
- },
- "serializedName": "etag",
- "modelType": {
- "$id": "2250",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2251",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "AppConfigurationKeyValueDeletedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.AppConfiguration.KeyValueDeleted event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2252",
- "fixed": false,
- "raw": "AppConfigurationKeyValueDeletedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///283?oai3.shaken.json"
- ],
- "name": "AppConfigurationKeyValueDeletedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/AppConfiguration.json#/components/schemas/AppConfigurationKeyValueDeletedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2253",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2254",
- "isReadOnly": false,
- "realPath": [
- "timestamp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2255",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2256",
- "fixed": false,
- "raw": "The time at which the event occurred."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2257",
- "fixed": false,
- "raw": "timestamp"
- },
- "serializedName": "timestamp",
- "modelType": {
- "$id": "2258",
- "$type": "PrimaryType",
- "format": "date-time",
- "knownPrimaryType": "dateTime",
- "name": {
- "$id": "2259",
- "fixed": false,
- "raw": "DateTime"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2260",
- "isReadOnly": false,
- "realPath": [
- "hubName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2261",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2262",
- "fixed": false,
- "raw": "The hub of connected client connection."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2263",
- "fixed": false,
- "raw": "hubName"
- },
- "serializedName": "hubName",
- "modelType": {
- "$id": "2264",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2265",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2266",
- "isReadOnly": false,
- "realPath": [
- "connectionId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2267",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2268",
- "fixed": false,
- "raw": "The connection Id of connected client connection."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2269",
- "fixed": false,
- "raw": "connectionId"
- },
- "serializedName": "connectionId",
- "modelType": {
- "$id": "2270",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2271",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2272",
- "isReadOnly": false,
- "realPath": [
- "userId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2273",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2274",
- "fixed": false,
- "raw": "The user Id of connected client connection."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2275",
- "fixed": false,
- "raw": "userId"
- },
- "serializedName": "userId",
- "modelType": {
- "$id": "2276",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2277",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "SignalRServiceClientConnectionConnectedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for a Microsoft.SignalRService.ClientConnectionConnected event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2278",
- "fixed": false,
- "raw": "SignalRServiceClientConnectionConnectedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///284?oai3.shaken.json"
- ],
- "name": "SignalRServiceClientConnectionConnectedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/SignalRService.json#/components/schemas/SignalRServiceClientConnectionConnectedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2279",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2280",
- "isReadOnly": false,
- "realPath": [
- "timestamp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2281",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2282",
- "fixed": false,
- "raw": "The time at which the event occurred."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2283",
- "fixed": false,
- "raw": "timestamp"
- },
- "serializedName": "timestamp",
- "modelType": {
- "$id": "2284",
- "$type": "PrimaryType",
- "format": "date-time",
- "knownPrimaryType": "dateTime",
- "name": {
- "$id": "2285",
- "fixed": false,
- "raw": "DateTime"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2286",
- "isReadOnly": false,
- "realPath": [
- "hubName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2287",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2288",
- "fixed": false,
- "raw": "The hub of connected client connection."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2289",
- "fixed": false,
- "raw": "hubName"
- },
- "serializedName": "hubName",
- "modelType": {
- "$id": "2290",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2291",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2292",
- "isReadOnly": false,
- "realPath": [
- "connectionId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2293",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2294",
- "fixed": false,
- "raw": "The connection Id of connected client connection."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2295",
- "fixed": false,
- "raw": "connectionId"
- },
- "serializedName": "connectionId",
- "modelType": {
- "$id": "2296",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2297",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2298",
- "isReadOnly": false,
- "realPath": [
- "userId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2299",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2300",
- "fixed": false,
- "raw": "The user Id of connected client connection."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2301",
- "fixed": false,
- "raw": "userId"
- },
- "serializedName": "userId",
- "modelType": {
- "$id": "2302",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2303",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2304",
- "isReadOnly": false,
- "realPath": [
- "errorMessage"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2305",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2306",
- "fixed": false,
- "raw": "The message of error that cause the client connection disconnected."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2307",
- "fixed": false,
- "raw": "errorMessage"
- },
- "serializedName": "errorMessage",
- "modelType": {
- "$id": "2308",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2309",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "SignalRServiceClientConnectionDisconnectedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for a Microsoft.SignalRService.ClientConnectionDisconnected event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2310",
- "fixed": false,
- "raw": "SignalRServiceClientConnectionDisconnectedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///284?oai3.shaken.json"
- ],
- "name": "SignalRServiceClientConnectionDisconnectedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/SignalRService.json#/components/schemas/SignalRServiceClientConnectionDisconnectedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2311",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2312",
- "isReadOnly": false,
- "realPath": [
- "id"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2313",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2314",
- "fixed": false,
- "raw": "The id of the object that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2315",
- "fixed": false,
- "raw": "id"
- },
- "serializedName": "id",
- "modelType": {
- "$id": "2316",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2317",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2318",
- "isReadOnly": false,
- "realPath": [
- "vaultName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2319",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2320",
- "fixed": false,
- "raw": "Key vault name of the object that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2321",
- "fixed": false,
- "raw": "vaultName"
- },
- "serializedName": "vaultName",
- "modelType": {
- "$id": "2322",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2323",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2324",
- "isReadOnly": false,
- "realPath": [
- "objectType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2325",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2326",
- "fixed": false,
- "raw": "The type of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2327",
- "fixed": false,
- "raw": "objectType"
- },
- "serializedName": "objectType",
- "modelType": {
- "$id": "2328",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2329",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2330",
- "isReadOnly": false,
- "realPath": [
- "objectName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2331",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2332",
- "fixed": false,
- "raw": "The name of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2333",
- "fixed": false,
- "raw": "objectName"
- },
- "serializedName": "objectName",
- "modelType": {
- "$id": "2334",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2335",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2336",
- "isReadOnly": false,
- "realPath": [
- "version"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2337",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2338",
- "fixed": false,
- "raw": "The version of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2339",
- "fixed": false,
- "raw": "version"
- },
- "serializedName": "version",
- "modelType": {
- "$id": "2340",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2341",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2342",
- "isReadOnly": false,
- "realPath": [
- "nbf"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2343",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2344",
- "fixed": false,
- "raw": "Not before date of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2345",
- "fixed": false,
- "raw": "nbf"
- },
- "serializedName": "nbf",
- "modelType": {
- "$id": "2346",
- "$type": "PrimaryType",
- "knownPrimaryType": "double",
- "name": {
- "$id": "2347",
- "fixed": false,
- "raw": "Double"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2348",
- "isReadOnly": false,
- "realPath": [
- "exp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2349",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2350",
- "fixed": false,
- "raw": "The expiration date of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2351",
- "fixed": false,
- "raw": "exp"
- },
- "serializedName": "exp",
- "modelType": {
- "$id": "2352",
- "$type": "PrimaryType",
- "knownPrimaryType": "double",
- "name": {
- "$id": "2353",
- "fixed": false,
- "raw": "Double"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "KeyVaultCertificateNewVersionCreatedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an CertificateNewVersionCreated event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2354",
- "fixed": false,
- "raw": "KeyVaultCertificateNewVersionCreatedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///285?oai3.shaken.json"
- ],
- "name": "KeyVaultCertificateNewVersionCreatedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/KeyVault.json#/components/schemas/KeyVaultCertificateNewVersionCreatedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2355",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2356",
- "isReadOnly": false,
- "realPath": [
- "id"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2357",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2358",
- "fixed": false,
- "raw": "The id of the object that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2359",
- "fixed": false,
- "raw": "id"
- },
- "serializedName": "id",
- "modelType": {
- "$id": "2360",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2361",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2362",
- "isReadOnly": false,
- "realPath": [
- "vaultName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2363",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2364",
- "fixed": false,
- "raw": "Key vault name of the object that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2365",
- "fixed": false,
- "raw": "vaultName"
- },
- "serializedName": "vaultName",
- "modelType": {
- "$id": "2366",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2367",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2368",
- "isReadOnly": false,
- "realPath": [
- "objectType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2369",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2370",
- "fixed": false,
- "raw": "The type of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2371",
- "fixed": false,
- "raw": "objectType"
- },
- "serializedName": "objectType",
- "modelType": {
- "$id": "2372",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2373",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2374",
- "isReadOnly": false,
- "realPath": [
- "objectName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2375",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2376",
- "fixed": false,
- "raw": "The name of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2377",
- "fixed": false,
- "raw": "objectName"
- },
- "serializedName": "objectName",
- "modelType": {
- "$id": "2378",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2379",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2380",
- "isReadOnly": false,
- "realPath": [
- "version"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2381",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2382",
- "fixed": false,
- "raw": "The version of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2383",
- "fixed": false,
- "raw": "version"
- },
- "serializedName": "version",
- "modelType": {
- "$id": "2384",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2385",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2386",
- "isReadOnly": false,
- "realPath": [
- "nbf"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2387",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2388",
- "fixed": false,
- "raw": "Not before date of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2389",
- "fixed": false,
- "raw": "nbf"
- },
- "serializedName": "nbf",
- "modelType": {
- "$id": "2390",
- "$type": "PrimaryType",
- "knownPrimaryType": "double",
- "name": {
- "$id": "2391",
- "fixed": false,
- "raw": "Double"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2392",
- "isReadOnly": false,
- "realPath": [
- "exp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2393",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2394",
- "fixed": false,
- "raw": "The expiration date of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2395",
- "fixed": false,
- "raw": "exp"
- },
- "serializedName": "exp",
- "modelType": {
- "$id": "2396",
- "$type": "PrimaryType",
- "knownPrimaryType": "double",
- "name": {
- "$id": "2397",
- "fixed": false,
- "raw": "Double"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "KeyVaultCertificateNearExpiryEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an CertificateNearExpiry event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2398",
- "fixed": false,
- "raw": "KeyVaultCertificateNearExpiryEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///285?oai3.shaken.json"
- ],
- "name": "KeyVaultCertificateNearExpiryEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/KeyVault.json#/components/schemas/KeyVaultCertificateNearExpiryEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2399",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2400",
- "isReadOnly": false,
- "realPath": [
- "id"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2401",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2402",
- "fixed": false,
- "raw": "The id of the object that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2403",
- "fixed": false,
- "raw": "id"
- },
- "serializedName": "id",
- "modelType": {
- "$id": "2404",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2405",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2406",
- "isReadOnly": false,
- "realPath": [
- "vaultName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2407",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2408",
- "fixed": false,
- "raw": "Key vault name of the object that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2409",
- "fixed": false,
- "raw": "vaultName"
- },
- "serializedName": "vaultName",
- "modelType": {
- "$id": "2410",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2411",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2412",
- "isReadOnly": false,
- "realPath": [
- "objectType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2413",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2414",
- "fixed": false,
- "raw": "The type of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2415",
- "fixed": false,
- "raw": "objectType"
- },
- "serializedName": "objectType",
- "modelType": {
- "$id": "2416",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2417",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2418",
- "isReadOnly": false,
- "realPath": [
- "objectName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2419",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2420",
- "fixed": false,
- "raw": "The name of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2421",
- "fixed": false,
- "raw": "objectName"
- },
- "serializedName": "objectName",
- "modelType": {
- "$id": "2422",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2423",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2424",
- "isReadOnly": false,
- "realPath": [
- "version"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2425",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2426",
- "fixed": false,
- "raw": "The version of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2427",
- "fixed": false,
- "raw": "version"
- },
- "serializedName": "version",
- "modelType": {
- "$id": "2428",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2429",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2430",
- "isReadOnly": false,
- "realPath": [
- "nbf"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2431",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2432",
- "fixed": false,
- "raw": "Not before date of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2433",
- "fixed": false,
- "raw": "nbf"
- },
- "serializedName": "nbf",
- "modelType": {
- "$id": "2434",
- "$type": "PrimaryType",
- "knownPrimaryType": "double",
- "name": {
- "$id": "2435",
- "fixed": false,
- "raw": "Double"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2436",
- "isReadOnly": false,
- "realPath": [
- "exp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2437",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2438",
- "fixed": false,
- "raw": "The expiration date of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2439",
- "fixed": false,
- "raw": "exp"
- },
- "serializedName": "exp",
- "modelType": {
- "$id": "2440",
- "$type": "PrimaryType",
- "knownPrimaryType": "double",
- "name": {
- "$id": "2441",
- "fixed": false,
- "raw": "Double"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "KeyVaultCertificateExpiredEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an CertificateExpired event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2442",
- "fixed": false,
- "raw": "KeyVaultCertificateExpiredEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///285?oai3.shaken.json"
- ],
- "name": "KeyVaultCertificateExpiredEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/KeyVault.json#/components/schemas/KeyVaultCertificateExpiredEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2443",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2444",
- "isReadOnly": false,
- "realPath": [
- "id"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2445",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2446",
- "fixed": false,
- "raw": "The id of the object that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2447",
- "fixed": false,
- "raw": "id"
- },
- "serializedName": "id",
- "modelType": {
- "$id": "2448",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2449",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2450",
- "isReadOnly": false,
- "realPath": [
- "vaultName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2451",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2452",
- "fixed": false,
- "raw": "Key vault name of the object that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2453",
- "fixed": false,
- "raw": "vaultName"
- },
- "serializedName": "vaultName",
- "modelType": {
- "$id": "2454",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2455",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2456",
- "isReadOnly": false,
- "realPath": [
- "objectType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2457",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2458",
- "fixed": false,
- "raw": "The type of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2459",
- "fixed": false,
- "raw": "objectType"
- },
- "serializedName": "objectType",
- "modelType": {
- "$id": "2460",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2461",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2462",
- "isReadOnly": false,
- "realPath": [
- "objectName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2463",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2464",
- "fixed": false,
- "raw": "The name of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2465",
- "fixed": false,
- "raw": "objectName"
- },
- "serializedName": "objectName",
- "modelType": {
- "$id": "2466",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2467",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2468",
- "isReadOnly": false,
- "realPath": [
- "version"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2469",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2470",
- "fixed": false,
- "raw": "The version of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2471",
- "fixed": false,
- "raw": "version"
- },
- "serializedName": "version",
- "modelType": {
- "$id": "2472",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2473",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2474",
- "isReadOnly": false,
- "realPath": [
- "nbf"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2475",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2476",
- "fixed": false,
- "raw": "Not before date of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2477",
- "fixed": false,
- "raw": "nbf"
- },
- "serializedName": "nbf",
- "modelType": {
- "$id": "2478",
- "$type": "PrimaryType",
- "knownPrimaryType": "double",
- "name": {
- "$id": "2479",
- "fixed": false,
- "raw": "Double"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2480",
- "isReadOnly": false,
- "realPath": [
- "exp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2481",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2482",
- "fixed": false,
- "raw": "The expiration date of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2483",
- "fixed": false,
- "raw": "exp"
- },
- "serializedName": "exp",
- "modelType": {
- "$id": "2484",
- "$type": "PrimaryType",
- "knownPrimaryType": "double",
- "name": {
- "$id": "2485",
- "fixed": false,
- "raw": "Double"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "KeyVaultKeyNewVersionCreatedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an KeyNewVersionCreated event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2486",
- "fixed": false,
- "raw": "KeyVaultKeyNewVersionCreatedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///285?oai3.shaken.json"
- ],
- "name": "KeyVaultKeyNewVersionCreatedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/KeyVault.json#/components/schemas/KeyVaultKeyNewVersionCreatedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2487",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2488",
- "isReadOnly": false,
- "realPath": [
- "id"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2489",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2490",
- "fixed": false,
- "raw": "The id of the object that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2491",
- "fixed": false,
- "raw": "id"
- },
- "serializedName": "id",
- "modelType": {
- "$id": "2492",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2493",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2494",
- "isReadOnly": false,
- "realPath": [
- "vaultName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2495",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2496",
- "fixed": false,
- "raw": "Key vault name of the object that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2497",
- "fixed": false,
- "raw": "vaultName"
- },
- "serializedName": "vaultName",
- "modelType": {
- "$id": "2498",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2499",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2500",
- "isReadOnly": false,
- "realPath": [
- "objectType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2501",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2502",
- "fixed": false,
- "raw": "The type of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2503",
- "fixed": false,
- "raw": "objectType"
- },
- "serializedName": "objectType",
- "modelType": {
- "$id": "2504",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2505",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2506",
- "isReadOnly": false,
- "realPath": [
- "objectName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2507",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2508",
- "fixed": false,
- "raw": "The name of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2509",
- "fixed": false,
- "raw": "objectName"
- },
- "serializedName": "objectName",
- "modelType": {
- "$id": "2510",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2511",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2512",
- "isReadOnly": false,
- "realPath": [
- "version"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2513",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2514",
- "fixed": false,
- "raw": "The version of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2515",
- "fixed": false,
- "raw": "version"
- },
- "serializedName": "version",
- "modelType": {
- "$id": "2516",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2517",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2518",
- "isReadOnly": false,
- "realPath": [
- "nbf"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2519",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2520",
- "fixed": false,
- "raw": "Not before date of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2521",
- "fixed": false,
- "raw": "nbf"
- },
- "serializedName": "nbf",
- "modelType": {
- "$id": "2522",
- "$type": "PrimaryType",
- "knownPrimaryType": "double",
- "name": {
- "$id": "2523",
- "fixed": false,
- "raw": "Double"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2524",
- "isReadOnly": false,
- "realPath": [
- "exp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2525",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2526",
- "fixed": false,
- "raw": "The expiration date of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2527",
- "fixed": false,
- "raw": "exp"
- },
- "serializedName": "exp",
- "modelType": {
- "$id": "2528",
- "$type": "PrimaryType",
- "knownPrimaryType": "double",
- "name": {
- "$id": "2529",
- "fixed": false,
- "raw": "Double"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "KeyVaultKeyNearExpiryEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an KeyNearExpiry event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2530",
- "fixed": false,
- "raw": "KeyVaultKeyNearExpiryEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///285?oai3.shaken.json"
- ],
- "name": "KeyVaultKeyNearExpiryEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/KeyVault.json#/components/schemas/KeyVaultKeyNearExpiryEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2531",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2532",
- "isReadOnly": false,
- "realPath": [
- "id"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2533",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2534",
- "fixed": false,
- "raw": "The id of the object that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2535",
- "fixed": false,
- "raw": "id"
- },
- "serializedName": "id",
- "modelType": {
- "$id": "2536",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2537",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2538",
- "isReadOnly": false,
- "realPath": [
- "vaultName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2539",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2540",
- "fixed": false,
- "raw": "Key vault name of the object that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2541",
- "fixed": false,
- "raw": "vaultName"
- },
- "serializedName": "vaultName",
- "modelType": {
- "$id": "2542",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2543",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2544",
- "isReadOnly": false,
- "realPath": [
- "objectType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2545",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2546",
- "fixed": false,
- "raw": "The type of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2547",
- "fixed": false,
- "raw": "objectType"
- },
- "serializedName": "objectType",
- "modelType": {
- "$id": "2548",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2549",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2550",
- "isReadOnly": false,
- "realPath": [
- "objectName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2551",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2552",
- "fixed": false,
- "raw": "The name of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2553",
- "fixed": false,
- "raw": "objectName"
- },
- "serializedName": "objectName",
- "modelType": {
- "$id": "2554",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2555",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2556",
- "isReadOnly": false,
- "realPath": [
- "version"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2557",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2558",
- "fixed": false,
- "raw": "The version of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2559",
- "fixed": false,
- "raw": "version"
- },
- "serializedName": "version",
- "modelType": {
- "$id": "2560",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2561",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2562",
- "isReadOnly": false,
- "realPath": [
- "nbf"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2563",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2564",
- "fixed": false,
- "raw": "Not before date of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2565",
- "fixed": false,
- "raw": "nbf"
- },
- "serializedName": "nbf",
- "modelType": {
- "$id": "2566",
- "$type": "PrimaryType",
- "knownPrimaryType": "double",
- "name": {
- "$id": "2567",
- "fixed": false,
- "raw": "Double"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2568",
- "isReadOnly": false,
- "realPath": [
- "exp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2569",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2570",
- "fixed": false,
- "raw": "The expiration date of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2571",
- "fixed": false,
- "raw": "exp"
- },
- "serializedName": "exp",
- "modelType": {
- "$id": "2572",
- "$type": "PrimaryType",
- "knownPrimaryType": "double",
- "name": {
- "$id": "2573",
- "fixed": false,
- "raw": "Double"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "KeyVaultKeyExpiredEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an KeyExpired event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2574",
- "fixed": false,
- "raw": "KeyVaultKeyExpiredEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///285?oai3.shaken.json"
- ],
- "name": "KeyVaultKeyExpiredEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/KeyVault.json#/components/schemas/KeyVaultKeyExpiredEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2575",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2576",
- "isReadOnly": false,
- "realPath": [
- "id"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2577",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2578",
- "fixed": false,
- "raw": "The id of the object that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2579",
- "fixed": false,
- "raw": "id"
- },
- "serializedName": "id",
- "modelType": {
- "$id": "2580",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2581",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2582",
- "isReadOnly": false,
- "realPath": [
- "vaultName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2583",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2584",
- "fixed": false,
- "raw": "Key vault name of the object that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2585",
- "fixed": false,
- "raw": "vaultName"
- },
- "serializedName": "vaultName",
- "modelType": {
- "$id": "2586",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2587",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2588",
- "isReadOnly": false,
- "realPath": [
- "objectType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2589",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2590",
- "fixed": false,
- "raw": "The type of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2591",
- "fixed": false,
- "raw": "objectType"
- },
- "serializedName": "objectType",
- "modelType": {
- "$id": "2592",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2593",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2594",
- "isReadOnly": false,
- "realPath": [
- "objectName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2595",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2596",
- "fixed": false,
- "raw": "The name of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2597",
- "fixed": false,
- "raw": "objectName"
- },
- "serializedName": "objectName",
- "modelType": {
- "$id": "2598",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2599",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2600",
- "isReadOnly": false,
- "realPath": [
- "version"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2601",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2602",
- "fixed": false,
- "raw": "The version of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2603",
- "fixed": false,
- "raw": "version"
- },
- "serializedName": "version",
- "modelType": {
- "$id": "2604",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2605",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2606",
- "isReadOnly": false,
- "realPath": [
- "nbf"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2607",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2608",
- "fixed": false,
- "raw": "Not before date of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2609",
- "fixed": false,
- "raw": "nbf"
- },
- "serializedName": "nbf",
- "modelType": {
- "$id": "2610",
- "$type": "PrimaryType",
- "knownPrimaryType": "double",
- "name": {
- "$id": "2611",
- "fixed": false,
- "raw": "Double"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2612",
- "isReadOnly": false,
- "realPath": [
- "exp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2613",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2614",
- "fixed": false,
- "raw": "The expiration date of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2615",
- "fixed": false,
- "raw": "exp"
- },
- "serializedName": "exp",
- "modelType": {
- "$id": "2616",
- "$type": "PrimaryType",
- "knownPrimaryType": "double",
- "name": {
- "$id": "2617",
- "fixed": false,
- "raw": "Double"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "KeyVaultSecretNewVersionCreatedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an SecretNewVersionCreated event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2618",
- "fixed": false,
- "raw": "KeyVaultSecretNewVersionCreatedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///285?oai3.shaken.json"
- ],
- "name": "KeyVaultSecretNewVersionCreatedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/KeyVault.json#/components/schemas/KeyVaultSecretNewVersionCreatedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2619",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2620",
- "isReadOnly": false,
- "realPath": [
- "id"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2621",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2622",
- "fixed": false,
- "raw": "The id of the object that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2623",
- "fixed": false,
- "raw": "id"
- },
- "serializedName": "id",
- "modelType": {
- "$id": "2624",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2625",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2626",
- "isReadOnly": false,
- "realPath": [
- "vaultName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2627",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2628",
- "fixed": false,
- "raw": "Key vault name of the object that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2629",
- "fixed": false,
- "raw": "vaultName"
- },
- "serializedName": "vaultName",
- "modelType": {
- "$id": "2630",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2631",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2632",
- "isReadOnly": false,
- "realPath": [
- "objectType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2633",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2634",
- "fixed": false,
- "raw": "The type of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2635",
- "fixed": false,
- "raw": "objectType"
- },
- "serializedName": "objectType",
- "modelType": {
- "$id": "2636",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2637",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2638",
- "isReadOnly": false,
- "realPath": [
- "objectName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2639",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2640",
- "fixed": false,
- "raw": "The name of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2641",
- "fixed": false,
- "raw": "objectName"
- },
- "serializedName": "objectName",
- "modelType": {
- "$id": "2642",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2643",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2644",
- "isReadOnly": false,
- "realPath": [
- "version"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2645",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2646",
- "fixed": false,
- "raw": "The version of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2647",
- "fixed": false,
- "raw": "version"
- },
- "serializedName": "version",
- "modelType": {
- "$id": "2648",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2649",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2650",
- "isReadOnly": false,
- "realPath": [
- "nbf"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2651",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2652",
- "fixed": false,
- "raw": "Not before date of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2653",
- "fixed": false,
- "raw": "nbf"
- },
- "serializedName": "nbf",
- "modelType": {
- "$id": "2654",
- "$type": "PrimaryType",
- "knownPrimaryType": "double",
- "name": {
- "$id": "2655",
- "fixed": false,
- "raw": "Double"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2656",
- "isReadOnly": false,
- "realPath": [
- "exp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2657",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2658",
- "fixed": false,
- "raw": "The expiration date of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2659",
- "fixed": false,
- "raw": "exp"
- },
- "serializedName": "exp",
- "modelType": {
- "$id": "2660",
- "$type": "PrimaryType",
- "knownPrimaryType": "double",
- "name": {
- "$id": "2661",
- "fixed": false,
- "raw": "Double"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "KeyVaultSecretNearExpiryEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an SecretNearExpiry event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2662",
- "fixed": false,
- "raw": "KeyVaultSecretNearExpiryEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///285?oai3.shaken.json"
- ],
- "name": "KeyVaultSecretNearExpiryEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/KeyVault.json#/components/schemas/KeyVaultSecretNearExpiryEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2663",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2664",
- "isReadOnly": false,
- "realPath": [
- "id"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2665",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2666",
- "fixed": false,
- "raw": "The id of the object that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2667",
- "fixed": false,
- "raw": "id"
- },
- "serializedName": "id",
- "modelType": {
- "$id": "2668",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2669",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2670",
- "isReadOnly": false,
- "realPath": [
- "vaultName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2671",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2672",
- "fixed": false,
- "raw": "Key vault name of the object that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2673",
- "fixed": false,
- "raw": "vaultName"
- },
- "serializedName": "vaultName",
- "modelType": {
- "$id": "2674",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2675",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2676",
- "isReadOnly": false,
- "realPath": [
- "objectType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2677",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2678",
- "fixed": false,
- "raw": "The type of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2679",
- "fixed": false,
- "raw": "objectType"
- },
- "serializedName": "objectType",
- "modelType": {
- "$id": "2680",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2681",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2682",
- "isReadOnly": false,
- "realPath": [
- "objectName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2683",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2684",
- "fixed": false,
- "raw": "The name of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2685",
- "fixed": false,
- "raw": "objectName"
- },
- "serializedName": "objectName",
- "modelType": {
- "$id": "2686",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2687",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2688",
- "isReadOnly": false,
- "realPath": [
- "version"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2689",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2690",
- "fixed": false,
- "raw": "The version of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2691",
- "fixed": false,
- "raw": "version"
- },
- "serializedName": "version",
- "modelType": {
- "$id": "2692",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2693",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2694",
- "isReadOnly": false,
- "realPath": [
- "nbf"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2695",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2696",
- "fixed": false,
- "raw": "Not before date of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2697",
- "fixed": false,
- "raw": "nbf"
- },
- "serializedName": "nbf",
- "modelType": {
- "$id": "2698",
- "$type": "PrimaryType",
- "knownPrimaryType": "double",
- "name": {
- "$id": "2699",
- "fixed": false,
- "raw": "Double"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2700",
- "isReadOnly": false,
- "realPath": [
- "exp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2701",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2702",
- "fixed": false,
- "raw": "The expiration date of the object that triggered this event"
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2703",
- "fixed": false,
- "raw": "exp"
- },
- "serializedName": "exp",
- "modelType": {
- "$id": "2704",
- "$type": "PrimaryType",
- "knownPrimaryType": "double",
- "name": {
- "$id": "2705",
- "fixed": false,
- "raw": "Double"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "KeyVaultSecretExpiredEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an SecretExpired event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2706",
- "fixed": false,
- "raw": "KeyVaultSecretExpiredEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///285?oai3.shaken.json"
- ],
- "name": "KeyVaultSecretExpiredEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/KeyVault.json#/components/schemas/KeyVaultSecretExpiredEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2707",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2708",
- "isReadOnly": false,
- "realPath": [
- "modelName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2709",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2710",
- "fixed": false,
- "raw": "The name of the model that was registered."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2711",
- "fixed": false,
- "raw": "modelName"
- },
- "serializedName": "modelName",
- "modelType": {
- "$id": "2712",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2713",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2714",
- "isReadOnly": false,
- "realPath": [
- "modelVersion"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2715",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2716",
- "fixed": false,
- "raw": "The version of the model that was registered."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2717",
- "fixed": false,
- "raw": "modelVersion"
- },
- "serializedName": "modelVersion",
- "modelType": {
- "$id": "2718",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2719",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2720",
- "isReadOnly": false,
- "realPath": [
- "modelTags"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2721",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2722",
- "fixed": false,
- "raw": "The tags of the model that was registered."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2723",
- "fixed": false,
- "raw": "modelTags"
- },
- "serializedName": "modelTags",
- "modelType": {
- "$id": "2724",
- "$type": "PrimaryType",
- "knownPrimaryType": "object",
- "name": {
- "$id": "2725",
- "fixed": false,
- "raw": "Object"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2726",
- "isReadOnly": false,
- "realPath": [
- "modelProperties"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2727",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2728",
- "fixed": false,
- "raw": "The properties of the model that was registered."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2729",
- "fixed": false,
- "raw": "modelProperties"
- },
- "serializedName": "modelProperties",
- "modelType": {
- "$id": "2730",
- "$type": "PrimaryType",
- "knownPrimaryType": "object",
- "name": {
- "$id": "2731",
- "fixed": false,
- "raw": "Object"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "MachineLearningServicesModelRegisteredEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.MachineLearningServices.ModelRegistered event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2732",
- "fixed": false,
- "raw": "MachineLearningServicesModelRegisteredEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///286?oai3.shaken.json"
- ],
- "name": "MachineLearningServicesModelRegisteredEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/MachineLearningServices.json#/components/schemas/MachineLearningServicesModelRegisteredEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2733",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2734",
- "isReadOnly": false,
- "realPath": [
- "serviceName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2735",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2736",
- "fixed": false,
- "raw": "The name of the deployed service."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2737",
- "fixed": false,
- "raw": "serviceName"
- },
- "serializedName": "serviceName",
- "modelType": {
- "$id": "2738",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2739",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2740",
- "isReadOnly": false,
- "realPath": [
- "serviceComputeType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2741",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2742",
- "fixed": false,
- "raw": "The compute type (e.g. ACI, AKS) of the deployed service."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2743",
- "fixed": false,
- "raw": "serviceComputeType"
- },
- "serializedName": "serviceComputeType",
- "modelType": {
- "$id": "2744",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2745",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2746",
- "isReadOnly": false,
- "realPath": [
- "modelIds"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2747",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2748",
- "fixed": false,
- "raw": "A common separated list of model IDs. The IDs of the models deployed in the service."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2749",
- "fixed": false,
- "raw": "modelIds"
- },
- "serializedName": "modelIds",
- "modelType": {
- "$id": "2750",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2751",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2752",
- "isReadOnly": false,
- "realPath": [
- "serviceTags"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2753",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2754",
- "fixed": false,
- "raw": "The tags of the deployed service."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2755",
- "fixed": false,
- "raw": "serviceTags"
- },
- "serializedName": "serviceTags",
- "modelType": {
- "$id": "2756",
- "$type": "PrimaryType",
- "knownPrimaryType": "object",
- "name": {
- "$id": "2757",
- "fixed": false,
- "raw": "Object"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2758",
- "isReadOnly": false,
- "realPath": [
- "serviceProperties"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2759",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2760",
- "fixed": false,
- "raw": "The properties of the deployed service."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2761",
- "fixed": false,
- "raw": "serviceProperties"
- },
- "serializedName": "serviceProperties",
- "modelType": {
- "$id": "2762",
- "$type": "PrimaryType",
- "knownPrimaryType": "object",
- "name": {
- "$id": "2763",
- "fixed": false,
- "raw": "Object"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "MachineLearningServicesModelDeployedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.MachineLearningServices.ModelDeployed event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2764",
- "fixed": false,
- "raw": "MachineLearningServicesModelDeployedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///286?oai3.shaken.json"
- ],
- "name": "MachineLearningServicesModelDeployedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/MachineLearningServices.json#/components/schemas/MachineLearningServicesModelDeployedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2765",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2766",
- "isReadOnly": false,
- "realPath": [
- "experimentId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2767",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2768",
- "fixed": false,
- "raw": "The ID of the experiment that the run belongs to."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2769",
- "fixed": false,
- "raw": "experimentId"
- },
- "serializedName": "experimentId",
- "modelType": {
- "$id": "2770",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2771",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2772",
- "isReadOnly": false,
- "realPath": [
- "experimentName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2773",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2774",
- "fixed": false,
- "raw": "The name of the experiment that the run belongs to."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2775",
- "fixed": false,
- "raw": "experimentName"
- },
- "serializedName": "experimentName",
- "modelType": {
- "$id": "2776",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2777",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2778",
- "isReadOnly": false,
- "realPath": [
- "runId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2779",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2780",
- "fixed": false,
- "raw": "The ID of the Run that was completed."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2781",
- "fixed": false,
- "raw": "runId"
- },
- "serializedName": "runId",
- "modelType": {
- "$id": "2782",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2783",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2784",
- "isReadOnly": false,
- "realPath": [
- "runType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2785",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2786",
- "fixed": false,
- "raw": "The Run Type of the completed Run."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2787",
- "fixed": false,
- "raw": "runType"
- },
- "serializedName": "runType",
- "modelType": {
- "$id": "2788",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2789",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2790",
- "isReadOnly": false,
- "realPath": [
- "runTags"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2791",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2792",
- "fixed": false,
- "raw": "The tags of the completed Run."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2793",
- "fixed": false,
- "raw": "runTags"
- },
- "serializedName": "runTags",
- "modelType": {
- "$id": "2794",
- "$type": "PrimaryType",
- "knownPrimaryType": "object",
- "name": {
- "$id": "2795",
- "fixed": false,
- "raw": "Object"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2796",
- "isReadOnly": false,
- "realPath": [
- "runProperties"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2797",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2798",
- "fixed": false,
- "raw": "The properties of the completed Run."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2799",
- "fixed": false,
- "raw": "runProperties"
- },
- "serializedName": "runProperties",
- "modelType": {
- "$id": "2800",
- "$type": "PrimaryType",
- "knownPrimaryType": "object",
- "name": {
- "$id": "2801",
- "fixed": false,
- "raw": "Object"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "MachineLearningServicesRunCompletedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.MachineLearningServices.RunCompleted event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2802",
- "fixed": false,
- "raw": "MachineLearningServicesRunCompletedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///286?oai3.shaken.json"
- ],
- "name": "MachineLearningServicesRunCompletedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/MachineLearningServices.json#/components/schemas/MachineLearningServicesRunCompletedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2803",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2804",
- "isReadOnly": false,
- "realPath": [
- "dataDriftId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2805",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2806",
- "fixed": false,
- "raw": "The ID of the data drift monitor that triggered the event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2807",
- "fixed": false,
- "raw": "dataDriftId"
- },
- "serializedName": "dataDriftId",
- "modelType": {
- "$id": "2808",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2809",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2810",
- "isReadOnly": false,
- "realPath": [
- "dataDriftName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2811",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2812",
- "fixed": false,
- "raw": "The name of the data drift monitor that triggered the event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2813",
- "fixed": false,
- "raw": "dataDriftName"
- },
- "serializedName": "dataDriftName",
- "modelType": {
- "$id": "2814",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2815",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2816",
- "isReadOnly": false,
- "realPath": [
- "runId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2817",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2818",
- "fixed": false,
- "raw": "The ID of the Run that detected data drift."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2819",
- "fixed": false,
- "raw": "runId"
- },
- "serializedName": "runId",
- "modelType": {
- "$id": "2820",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2821",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2822",
- "isReadOnly": false,
- "realPath": [
- "baseDatasetId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2823",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2824",
- "fixed": false,
- "raw": "The ID of the base Dataset used to detect drift."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2825",
- "fixed": false,
- "raw": "baseDatasetId"
- },
- "serializedName": "baseDatasetId",
- "modelType": {
- "$id": "2826",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2827",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2828",
- "isReadOnly": false,
- "realPath": [
- "targetDatasetId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2829",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2830",
- "fixed": false,
- "raw": "The ID of the target Dataset used to detect drift."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2831",
- "fixed": false,
- "raw": "targetDatasetId"
- },
- "serializedName": "targetDatasetId",
- "modelType": {
- "$id": "2832",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2833",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2834",
- "isReadOnly": false,
- "realPath": [
- "driftCoefficient"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2835",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2836",
- "fixed": false,
- "raw": "The coefficient result that triggered the event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2837",
- "fixed": false,
- "raw": "driftCoefficient"
- },
- "serializedName": "driftCoefficient",
- "modelType": {
- "$id": "2838",
- "$type": "PrimaryType",
- "format": "double",
- "knownPrimaryType": "double",
- "name": {
- "$id": "2839",
- "fixed": false,
- "raw": "Double"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2840",
- "isReadOnly": false,
- "realPath": [
- "startTime"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2841",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2842",
- "fixed": false,
- "raw": "The start time of the target dataset time series that resulted in drift detection."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2843",
- "fixed": false,
- "raw": "startTime"
- },
- "serializedName": "startTime",
- "modelType": {
- "$id": "2844",
- "$type": "PrimaryType",
- "format": "date-time",
- "knownPrimaryType": "dateTime",
- "name": {
- "$id": "2845",
- "fixed": false,
- "raw": "DateTime"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2846",
- "isReadOnly": false,
- "realPath": [
- "endTime"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2847",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2848",
- "fixed": false,
- "raw": "The end time of the target dataset time series that resulted in drift detection."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2849",
- "fixed": false,
- "raw": "endTime"
- },
- "serializedName": "endTime",
- "modelType": {
- "$id": "2850",
- "$type": "PrimaryType",
- "format": "date-time",
- "knownPrimaryType": "dateTime",
- "name": {
- "$id": "2851",
- "fixed": false,
- "raw": "DateTime"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "MachineLearningServicesDatasetDriftDetectedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.MachineLearningServices.DatasetDriftDetected event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2852",
- "fixed": false,
- "raw": "MachineLearningServicesDatasetDriftDetectedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///286?oai3.shaken.json"
- ],
- "name": "MachineLearningServicesDatasetDriftDetectedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/MachineLearningServices.json#/components/schemas/MachineLearningServicesDatasetDriftDetectedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2853",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2854",
- "isReadOnly": false,
- "realPath": [
- "experimentId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2855",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2856",
- "fixed": false,
- "raw": "The ID of the experiment that the Machine Learning Run belongs to."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2857",
- "fixed": false,
- "raw": "experimentId"
- },
- "serializedName": "experimentId",
- "modelType": {
- "$id": "2858",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2859",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2860",
- "isReadOnly": false,
- "realPath": [
- "experimentName"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2861",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2862",
- "fixed": false,
- "raw": "The name of the experiment that the Machine Learning Run belongs to."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2863",
- "fixed": false,
- "raw": "experimentName"
- },
- "serializedName": "experimentName",
- "modelType": {
- "$id": "2864",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2865",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2866",
- "isReadOnly": false,
- "realPath": [
- "runId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2867",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2868",
- "fixed": false,
- "raw": "The ID of the Machine Learning Run."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2869",
- "fixed": false,
- "raw": "runId"
- },
- "serializedName": "runId",
- "modelType": {
- "$id": "2870",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2871",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2872",
- "isReadOnly": false,
- "realPath": [
- "runType"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2873",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2874",
- "fixed": false,
- "raw": "The Run Type of the Machine Learning Run."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2875",
- "fixed": false,
- "raw": "runType"
- },
- "serializedName": "runType",
- "modelType": {
- "$id": "2876",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2877",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2878",
- "isReadOnly": false,
- "realPath": [
- "runTags"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2879",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2880",
- "fixed": false,
- "raw": "The tags of the Machine Learning Run."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2881",
- "fixed": false,
- "raw": "runTags"
- },
- "serializedName": "runTags",
- "modelType": {
- "$id": "2882",
- "$type": "PrimaryType",
- "knownPrimaryType": "object",
- "name": {
- "$id": "2883",
- "fixed": false,
- "raw": "Object"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2884",
- "isReadOnly": false,
- "realPath": [
- "runProperties"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2885",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2886",
- "fixed": false,
- "raw": "The properties of the Machine Learning Run."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2887",
- "fixed": false,
- "raw": "runProperties"
- },
- "serializedName": "runProperties",
- "modelType": {
- "$id": "2888",
- "$type": "PrimaryType",
- "knownPrimaryType": "object",
- "name": {
- "$id": "2889",
- "fixed": false,
- "raw": "Object"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2890",
- "isReadOnly": false,
- "realPath": [
- "runStatus"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2891",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2892",
- "fixed": false,
- "raw": "The status of the Machine Learning Run."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2893",
- "fixed": false,
- "raw": "runStatus"
- },
- "serializedName": "runStatus",
- "modelType": {
- "$id": "2894",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2895",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "MachineLearningServicesRunStatusChangedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.MachineLearningServices.RunStatusChanged event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2896",
- "fixed": false,
- "raw": "MachineLearningServicesRunStatusChangedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///286?oai3.shaken.json"
- ],
- "name": "MachineLearningServicesRunStatusChangedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/MachineLearningServices.json#/components/schemas/MachineLearningServicesRunStatusChangedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2897",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2898",
- "isReadOnly": false,
- "realPath": [
- "timestamp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2899",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2900",
- "fixed": false,
- "raw": "The time at which the event occurred."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2901",
- "fixed": false,
- "raw": "timestamp"
- },
- "serializedName": "timestamp",
- "modelType": {
- "$id": "2902",
- "$type": "PrimaryType",
- "format": "date-time",
- "knownPrimaryType": "dateTime",
- "name": {
- "$id": "2903",
- "fixed": false,
- "raw": "DateTime"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2904",
- "isReadOnly": false,
- "realPath": [
- "name"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2905",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2906",
- "fixed": false,
- "raw": "The name of this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2907",
- "fixed": false,
- "raw": "name"
- },
- "serializedName": "name",
- "modelType": {
- "$id": "2908",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2909",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2910",
- "isReadOnly": false,
- "realPath": [
- "status"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2911",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2912",
- "fixed": false,
- "raw": "The status of this event. Failed or succeeded "
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2913",
- "fixed": false,
- "raw": "status"
- },
- "serializedName": "status",
- "modelType": {
- "$id": "2914",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2915",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "RedisPatchingCompletedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.Cache.PatchingCompleted event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2916",
- "fixed": false,
- "raw": "RedisPatchingCompletedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///287?oai3.shaken.json"
- ],
- "name": "RedisPatchingCompletedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/RedisCache.json#/components/schemas/RedisPatchingCompletedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2917",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2918",
- "isReadOnly": false,
- "realPath": [
- "timestamp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2919",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2920",
- "fixed": false,
- "raw": "The time at which the event occurred."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2921",
- "fixed": false,
- "raw": "timestamp"
- },
- "serializedName": "timestamp",
- "modelType": {
- "$id": "2922",
- "$type": "PrimaryType",
- "format": "date-time",
- "knownPrimaryType": "dateTime",
- "name": {
- "$id": "2923",
- "fixed": false,
- "raw": "DateTime"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2924",
- "isReadOnly": false,
- "realPath": [
- "name"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2925",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2926",
- "fixed": false,
- "raw": "The name of this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2927",
- "fixed": false,
- "raw": "name"
- },
- "serializedName": "name",
- "modelType": {
- "$id": "2928",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2929",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2930",
- "isReadOnly": false,
- "realPath": [
- "status"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2931",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2932",
- "fixed": false,
- "raw": "The status of this event. Failed or succeeded "
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2933",
- "fixed": false,
- "raw": "status"
- },
- "serializedName": "status",
- "modelType": {
- "$id": "2934",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2935",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "RedisScalingCompletedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.Cache.ScalingCompleted event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2936",
- "fixed": false,
- "raw": "RedisScalingCompletedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///287?oai3.shaken.json"
- ],
- "name": "RedisScalingCompletedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/RedisCache.json#/components/schemas/RedisScalingCompletedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2937",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2938",
- "isReadOnly": false,
- "realPath": [
- "timestamp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2939",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2940",
- "fixed": false,
- "raw": "The time at which the event occurred."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2941",
- "fixed": false,
- "raw": "timestamp"
- },
- "serializedName": "timestamp",
- "modelType": {
- "$id": "2942",
- "$type": "PrimaryType",
- "format": "date-time",
- "knownPrimaryType": "dateTime",
- "name": {
- "$id": "2943",
- "fixed": false,
- "raw": "DateTime"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2944",
- "isReadOnly": false,
- "realPath": [
- "name"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2945",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2946",
- "fixed": false,
- "raw": "The name of this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2947",
- "fixed": false,
- "raw": "name"
- },
- "serializedName": "name",
- "modelType": {
- "$id": "2948",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2949",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2950",
- "isReadOnly": false,
- "realPath": [
- "status"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2951",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2952",
- "fixed": false,
- "raw": "The status of this event. Failed or succeeded "
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2953",
- "fixed": false,
- "raw": "status"
- },
- "serializedName": "status",
- "modelType": {
- "$id": "2954",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2955",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "RedisExportRDBCompletedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.Cache.ExportRDBCompleted event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2956",
- "fixed": false,
- "raw": "RedisExportRDBCompletedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///287?oai3.shaken.json"
- ],
- "name": "RedisExportRDBCompletedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/RedisCache.json#/components/schemas/RedisExportRDBCompletedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2957",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2958",
- "isReadOnly": false,
- "realPath": [
- "timestamp"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2959",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2960",
- "fixed": false,
- "raw": "The time at which the event occurred."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2961",
- "fixed": false,
- "raw": "timestamp"
- },
- "serializedName": "timestamp",
- "modelType": {
- "$id": "2962",
- "$type": "PrimaryType",
- "format": "date-time",
- "knownPrimaryType": "dateTime",
- "name": {
- "$id": "2963",
- "fixed": false,
- "raw": "DateTime"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2964",
- "isReadOnly": false,
- "realPath": [
- "name"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2965",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2966",
- "fixed": false,
- "raw": "The name of this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2967",
- "fixed": false,
- "raw": "name"
- },
- "serializedName": "name",
- "modelType": {
- "$id": "2968",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2969",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "2970",
- "isReadOnly": false,
- "realPath": [
- "status"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2971",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2972",
- "fixed": false,
- "raw": "The status of this event. Failed or succeeded "
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2973",
- "fixed": false,
- "raw": "status"
- },
- "serializedName": "status",
- "modelType": {
- "$id": "2974",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2975",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "RedisImportRDBCompletedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.Cache.ImportRDBCompleted event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2976",
- "fixed": false,
- "raw": "RedisImportRDBCompletedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///287?oai3.shaken.json"
- ],
- "name": "RedisImportRDBCompletedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/RedisCache.json#/components/schemas/RedisImportRDBCompletedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2977",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2978",
- "isReadOnly": false,
- "realPath": [
- "action"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2979",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2980",
- "fixed": false,
- "raw": "Type of action of the operation."
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///288?oai3.shaken.json"
- ],
- "name": "AppAction",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/Web.json#/components/schemas/AppEventTypeDetail-action"
- ]
- },
- "x-ms-enum": {
- "name": "AppAction",
- "modelAsString": true,
- "values": [
- {
- "value": "Restarted",
- "description": "Web app was restarted."
- },
- {
- "value": "Stopped",
- "description": "Web app was stopped."
- },
- {
- "value": "ChangedAppSettings",
- "description": "There was an operation to change app setting on the web app."
- },
- {
- "value": "Started",
- "description": "The job has started."
- },
- {
- "value": "Completed",
- "description": "The job has completed."
- },
- {
- "value": "Failed",
- "description": "The job has failed to complete."
- }
- ],
- "oldModelAsString": true
- }
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2981",
- "fixed": false,
- "raw": "action"
- },
- "serializedName": "action",
- "modelType": {
- "$id": "2982",
- "$type": "EnumType",
- "values": [
- {
- "$id": "2983",
- "description": "Web app was restarted.",
- "name": "Restarted",
- "serializedName": "Restarted"
- },
- {
- "$id": "2984",
- "description": "Web app was stopped.",
- "name": "Stopped",
- "serializedName": "Stopped"
- },
- {
- "$id": "2985",
- "description": "There was an operation to change app setting on the web app.",
- "name": "ChangedAppSettings",
- "serializedName": "ChangedAppSettings"
- },
- {
- "$id": "2986",
- "description": "The job has started.",
- "name": "Started",
- "serializedName": "Started"
- },
- {
- "$id": "2987",
- "description": "The job has completed.",
- "name": "Completed",
- "serializedName": "Completed"
- },
- {
- "$id": "2988",
- "description": "The job has failed to complete.",
- "name": "Failed",
- "serializedName": "Failed"
- }
- ],
- "oldModelAsString": true,
- "modelAsString": true,
- "underlyingType": {
- "$id": "2989",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "2990",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- },
- "name": {
- "$id": "2991",
- "fixed": false,
- "raw": "AppAction"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "AppEventTypeDetail",
- "documentation": "Detail of action on the app.",
- "containsConstantProperties": false,
- "name": {
- "$id": "2992",
- "fixed": false,
- "raw": "AppEventTypeDetail"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///288?oai3.shaken.json"
- ],
- "name": "AppEventTypeDetail",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/Web.json#/components/schemas/AppEventTypeDetail"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "2993",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "2994",
- "isReadOnly": false,
- "realPath": [
- "appEventTypeDetail"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2995",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "2996",
- "fixed": false
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "2997",
- "fixed": false,
- "raw": "appEventTypeDetail"
- },
- "serializedName": "appEventTypeDetail",
- "modelType": {
- "$ref": "2977"
- }
- },
- {
- "$id": "2998",
- "isReadOnly": false,
- "realPath": [
- "name"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "2999",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3000",
- "fixed": false,
- "raw": "name of the web site that had this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3001",
- "fixed": false,
- "raw": "name"
- },
- "serializedName": "name",
- "modelType": {
- "$id": "3002",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3003",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3004",
- "isReadOnly": false,
- "realPath": [
- "clientRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3005",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3006",
- "fixed": false,
- "raw": "The client request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3007",
- "fixed": false,
- "raw": "clientRequestId"
- },
- "serializedName": "clientRequestId",
- "modelType": {
- "$id": "3008",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3009",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3010",
- "isReadOnly": false,
- "realPath": [
- "correlationRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3011",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3012",
- "fixed": false,
- "raw": "The correlation request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3013",
- "fixed": false,
- "raw": "correlationRequestId"
- },
- "serializedName": "correlationRequestId",
- "modelType": {
- "$id": "3014",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3015",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3016",
- "isReadOnly": false,
- "realPath": [
- "requestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3017",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3018",
- "fixed": false,
- "raw": "The request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3019",
- "fixed": false,
- "raw": "requestId"
- },
- "serializedName": "requestId",
- "modelType": {
- "$id": "3020",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3021",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3022",
- "isReadOnly": false,
- "realPath": [
- "address"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3023",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3024",
- "fixed": false,
- "raw": "HTTP request URL of this operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3025",
- "fixed": false,
- "raw": "address"
- },
- "serializedName": "address",
- "modelType": {
- "$id": "3026",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3027",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3028",
- "isReadOnly": false,
- "realPath": [
- "verb"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3029",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3030",
- "fixed": false,
- "raw": "HTTP verb of this operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3031",
- "fixed": false,
- "raw": "verb"
- },
- "serializedName": "verb",
- "modelType": {
- "$id": "3032",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3033",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "WebAppUpdatedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.Web.AppUpdated event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "3034",
- "fixed": false,
- "raw": "WebAppUpdatedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///288?oai3.shaken.json"
- ],
- "name": "WebAppUpdatedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/Web.json#/components/schemas/WebAppUpdatedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "3035",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "3036",
- "isReadOnly": false,
- "realPath": [
- "appEventTypeDetail"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3037",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3038",
- "fixed": false
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3039",
- "fixed": false,
- "raw": "appEventTypeDetail"
- },
- "serializedName": "appEventTypeDetail",
- "modelType": {
- "$ref": "2977"
- }
- },
- {
- "$id": "3040",
- "isReadOnly": false,
- "realPath": [
- "name"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3041",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3042",
- "fixed": false,
- "raw": "name of the web site that had this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3043",
- "fixed": false,
- "raw": "name"
- },
- "serializedName": "name",
- "modelType": {
- "$id": "3044",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3045",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3046",
- "isReadOnly": false,
- "realPath": [
- "clientRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3047",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3048",
- "fixed": false,
- "raw": "The client request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3049",
- "fixed": false,
- "raw": "clientRequestId"
- },
- "serializedName": "clientRequestId",
- "modelType": {
- "$id": "3050",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3051",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3052",
- "isReadOnly": false,
- "realPath": [
- "correlationRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3053",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3054",
- "fixed": false,
- "raw": "The correlation request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3055",
- "fixed": false,
- "raw": "correlationRequestId"
- },
- "serializedName": "correlationRequestId",
- "modelType": {
- "$id": "3056",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3057",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3058",
- "isReadOnly": false,
- "realPath": [
- "requestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3059",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3060",
- "fixed": false,
- "raw": "The request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3061",
- "fixed": false,
- "raw": "requestId"
- },
- "serializedName": "requestId",
- "modelType": {
- "$id": "3062",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3063",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3064",
- "isReadOnly": false,
- "realPath": [
- "address"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3065",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3066",
- "fixed": false,
- "raw": "HTTP request URL of this operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3067",
- "fixed": false,
- "raw": "address"
- },
- "serializedName": "address",
- "modelType": {
- "$id": "3068",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3069",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3070",
- "isReadOnly": false,
- "realPath": [
- "verb"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3071",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3072",
- "fixed": false,
- "raw": "HTTP verb of this operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3073",
- "fixed": false,
- "raw": "verb"
- },
- "serializedName": "verb",
- "modelType": {
- "$id": "3074",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3075",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "WebBackupOperationStartedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.Web.BackupOperationStarted event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "3076",
- "fixed": false,
- "raw": "WebBackupOperationStartedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///288?oai3.shaken.json"
- ],
- "name": "WebBackupOperationStartedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/Web.json#/components/schemas/WebBackupOperationStartedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "3077",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "3078",
- "isReadOnly": false,
- "realPath": [
- "appEventTypeDetail"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3079",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3080",
- "fixed": false
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3081",
- "fixed": false,
- "raw": "appEventTypeDetail"
- },
- "serializedName": "appEventTypeDetail",
- "modelType": {
- "$ref": "2977"
- }
- },
- {
- "$id": "3082",
- "isReadOnly": false,
- "realPath": [
- "name"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3083",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3084",
- "fixed": false,
- "raw": "name of the web site that had this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3085",
- "fixed": false,
- "raw": "name"
- },
- "serializedName": "name",
- "modelType": {
- "$id": "3086",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3087",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3088",
- "isReadOnly": false,
- "realPath": [
- "clientRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3089",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3090",
- "fixed": false,
- "raw": "The client request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3091",
- "fixed": false,
- "raw": "clientRequestId"
- },
- "serializedName": "clientRequestId",
- "modelType": {
- "$id": "3092",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3093",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3094",
- "isReadOnly": false,
- "realPath": [
- "correlationRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3095",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3096",
- "fixed": false,
- "raw": "The correlation request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3097",
- "fixed": false,
- "raw": "correlationRequestId"
- },
- "serializedName": "correlationRequestId",
- "modelType": {
- "$id": "3098",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3099",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3100",
- "isReadOnly": false,
- "realPath": [
- "requestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3101",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3102",
- "fixed": false,
- "raw": "The request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3103",
- "fixed": false,
- "raw": "requestId"
- },
- "serializedName": "requestId",
- "modelType": {
- "$id": "3104",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3105",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3106",
- "isReadOnly": false,
- "realPath": [
- "address"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3107",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3108",
- "fixed": false,
- "raw": "HTTP request URL of this operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3109",
- "fixed": false,
- "raw": "address"
- },
- "serializedName": "address",
- "modelType": {
- "$id": "3110",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3111",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3112",
- "isReadOnly": false,
- "realPath": [
- "verb"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3113",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3114",
- "fixed": false,
- "raw": "HTTP verb of this operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3115",
- "fixed": false,
- "raw": "verb"
- },
- "serializedName": "verb",
- "modelType": {
- "$id": "3116",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3117",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "WebBackupOperationCompletedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.Web.BackupOperationCompleted event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "3118",
- "fixed": false,
- "raw": "WebBackupOperationCompletedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///288?oai3.shaken.json"
- ],
- "name": "WebBackupOperationCompletedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/Web.json#/components/schemas/WebBackupOperationCompletedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "3119",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "3120",
- "isReadOnly": false,
- "realPath": [
- "appEventTypeDetail"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3121",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3122",
- "fixed": false
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3123",
- "fixed": false,
- "raw": "appEventTypeDetail"
- },
- "serializedName": "appEventTypeDetail",
- "modelType": {
- "$ref": "2977"
- }
- },
- {
- "$id": "3124",
- "isReadOnly": false,
- "realPath": [
- "name"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3125",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3126",
- "fixed": false,
- "raw": "name of the web site that had this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3127",
- "fixed": false,
- "raw": "name"
- },
- "serializedName": "name",
- "modelType": {
- "$id": "3128",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3129",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3130",
- "isReadOnly": false,
- "realPath": [
- "clientRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3131",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3132",
- "fixed": false,
- "raw": "The client request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3133",
- "fixed": false,
- "raw": "clientRequestId"
- },
- "serializedName": "clientRequestId",
- "modelType": {
- "$id": "3134",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3135",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3136",
- "isReadOnly": false,
- "realPath": [
- "correlationRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3137",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3138",
- "fixed": false,
- "raw": "The correlation request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3139",
- "fixed": false,
- "raw": "correlationRequestId"
- },
- "serializedName": "correlationRequestId",
- "modelType": {
- "$id": "3140",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3141",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3142",
- "isReadOnly": false,
- "realPath": [
- "requestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3143",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3144",
- "fixed": false,
- "raw": "The request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3145",
- "fixed": false,
- "raw": "requestId"
- },
- "serializedName": "requestId",
- "modelType": {
- "$id": "3146",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3147",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3148",
- "isReadOnly": false,
- "realPath": [
- "address"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3149",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3150",
- "fixed": false,
- "raw": "HTTP request URL of this operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3151",
- "fixed": false,
- "raw": "address"
- },
- "serializedName": "address",
- "modelType": {
- "$id": "3152",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3153",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3154",
- "isReadOnly": false,
- "realPath": [
- "verb"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3155",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3156",
- "fixed": false,
- "raw": "HTTP verb of this operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3157",
- "fixed": false,
- "raw": "verb"
- },
- "serializedName": "verb",
- "modelType": {
- "$id": "3158",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3159",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "WebBackupOperationFailedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.Web.BackupOperationFailed event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "3160",
- "fixed": false,
- "raw": "WebBackupOperationFailedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///288?oai3.shaken.json"
- ],
- "name": "WebBackupOperationFailedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/Web.json#/components/schemas/WebBackupOperationFailedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "3161",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "3162",
- "isReadOnly": false,
- "realPath": [
- "appEventTypeDetail"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3163",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3164",
- "fixed": false
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3165",
- "fixed": false,
- "raw": "appEventTypeDetail"
- },
- "serializedName": "appEventTypeDetail",
- "modelType": {
- "$ref": "2977"
- }
- },
- {
- "$id": "3166",
- "isReadOnly": false,
- "realPath": [
- "name"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3167",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3168",
- "fixed": false,
- "raw": "name of the web site that had this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3169",
- "fixed": false,
- "raw": "name"
- },
- "serializedName": "name",
- "modelType": {
- "$id": "3170",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3171",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3172",
- "isReadOnly": false,
- "realPath": [
- "clientRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3173",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3174",
- "fixed": false,
- "raw": "The client request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3175",
- "fixed": false,
- "raw": "clientRequestId"
- },
- "serializedName": "clientRequestId",
- "modelType": {
- "$id": "3176",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3177",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3178",
- "isReadOnly": false,
- "realPath": [
- "correlationRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3179",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3180",
- "fixed": false,
- "raw": "The correlation request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3181",
- "fixed": false,
- "raw": "correlationRequestId"
- },
- "serializedName": "correlationRequestId",
- "modelType": {
- "$id": "3182",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3183",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3184",
- "isReadOnly": false,
- "realPath": [
- "requestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3185",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3186",
- "fixed": false,
- "raw": "The request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3187",
- "fixed": false,
- "raw": "requestId"
- },
- "serializedName": "requestId",
- "modelType": {
- "$id": "3188",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3189",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3190",
- "isReadOnly": false,
- "realPath": [
- "address"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3191",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3192",
- "fixed": false,
- "raw": "HTTP request URL of this operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3193",
- "fixed": false,
- "raw": "address"
- },
- "serializedName": "address",
- "modelType": {
- "$id": "3194",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3195",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3196",
- "isReadOnly": false,
- "realPath": [
- "verb"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3197",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3198",
- "fixed": false,
- "raw": "HTTP verb of this operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3199",
- "fixed": false,
- "raw": "verb"
- },
- "serializedName": "verb",
- "modelType": {
- "$id": "3200",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3201",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "WebRestoreOperationStartedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.Web.RestoreOperationStarted event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "3202",
- "fixed": false,
- "raw": "WebRestoreOperationStartedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///288?oai3.shaken.json"
- ],
- "name": "WebRestoreOperationStartedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/Web.json#/components/schemas/WebRestoreOperationStartedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "3203",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "3204",
- "isReadOnly": false,
- "realPath": [
- "appEventTypeDetail"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3205",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3206",
- "fixed": false
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3207",
- "fixed": false,
- "raw": "appEventTypeDetail"
- },
- "serializedName": "appEventTypeDetail",
- "modelType": {
- "$ref": "2977"
- }
- },
- {
- "$id": "3208",
- "isReadOnly": false,
- "realPath": [
- "name"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3209",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3210",
- "fixed": false,
- "raw": "name of the web site that had this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3211",
- "fixed": false,
- "raw": "name"
- },
- "serializedName": "name",
- "modelType": {
- "$id": "3212",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3213",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3214",
- "isReadOnly": false,
- "realPath": [
- "clientRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3215",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3216",
- "fixed": false,
- "raw": "The client request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3217",
- "fixed": false,
- "raw": "clientRequestId"
- },
- "serializedName": "clientRequestId",
- "modelType": {
- "$id": "3218",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3219",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3220",
- "isReadOnly": false,
- "realPath": [
- "correlationRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3221",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3222",
- "fixed": false,
- "raw": "The correlation request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3223",
- "fixed": false,
- "raw": "correlationRequestId"
- },
- "serializedName": "correlationRequestId",
- "modelType": {
- "$id": "3224",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3225",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3226",
- "isReadOnly": false,
- "realPath": [
- "requestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3227",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3228",
- "fixed": false,
- "raw": "The request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3229",
- "fixed": false,
- "raw": "requestId"
- },
- "serializedName": "requestId",
- "modelType": {
- "$id": "3230",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3231",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3232",
- "isReadOnly": false,
- "realPath": [
- "address"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3233",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3234",
- "fixed": false,
- "raw": "HTTP request URL of this operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3235",
- "fixed": false,
- "raw": "address"
- },
- "serializedName": "address",
- "modelType": {
- "$id": "3236",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3237",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3238",
- "isReadOnly": false,
- "realPath": [
- "verb"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3239",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3240",
- "fixed": false,
- "raw": "HTTP verb of this operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3241",
- "fixed": false,
- "raw": "verb"
- },
- "serializedName": "verb",
- "modelType": {
- "$id": "3242",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3243",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "WebRestoreOperationCompletedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.Web.RestoreOperationCompleted event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "3244",
- "fixed": false,
- "raw": "WebRestoreOperationCompletedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///288?oai3.shaken.json"
- ],
- "name": "WebRestoreOperationCompletedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/Web.json#/components/schemas/WebRestoreOperationCompletedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "3245",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "3246",
- "isReadOnly": false,
- "realPath": [
- "appEventTypeDetail"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3247",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3248",
- "fixed": false
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3249",
- "fixed": false,
- "raw": "appEventTypeDetail"
- },
- "serializedName": "appEventTypeDetail",
- "modelType": {
- "$ref": "2977"
- }
- },
- {
- "$id": "3250",
- "isReadOnly": false,
- "realPath": [
- "name"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3251",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3252",
- "fixed": false,
- "raw": "name of the web site that had this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3253",
- "fixed": false,
- "raw": "name"
- },
- "serializedName": "name",
- "modelType": {
- "$id": "3254",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3255",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3256",
- "isReadOnly": false,
- "realPath": [
- "clientRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3257",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3258",
- "fixed": false,
- "raw": "The client request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3259",
- "fixed": false,
- "raw": "clientRequestId"
- },
- "serializedName": "clientRequestId",
- "modelType": {
- "$id": "3260",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3261",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3262",
- "isReadOnly": false,
- "realPath": [
- "correlationRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3263",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3264",
- "fixed": false,
- "raw": "The correlation request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3265",
- "fixed": false,
- "raw": "correlationRequestId"
- },
- "serializedName": "correlationRequestId",
- "modelType": {
- "$id": "3266",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3267",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3268",
- "isReadOnly": false,
- "realPath": [
- "requestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3269",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3270",
- "fixed": false,
- "raw": "The request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3271",
- "fixed": false,
- "raw": "requestId"
- },
- "serializedName": "requestId",
- "modelType": {
- "$id": "3272",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3273",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3274",
- "isReadOnly": false,
- "realPath": [
- "address"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3275",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3276",
- "fixed": false,
- "raw": "HTTP request URL of this operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3277",
- "fixed": false,
- "raw": "address"
- },
- "serializedName": "address",
- "modelType": {
- "$id": "3278",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3279",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3280",
- "isReadOnly": false,
- "realPath": [
- "verb"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3281",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3282",
- "fixed": false,
- "raw": "HTTP verb of this operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3283",
- "fixed": false,
- "raw": "verb"
- },
- "serializedName": "verb",
- "modelType": {
- "$id": "3284",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3285",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "WebRestoreOperationFailedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.Web.RestoreOperationFailed event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "3286",
- "fixed": false,
- "raw": "WebRestoreOperationFailedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///288?oai3.shaken.json"
- ],
- "name": "WebRestoreOperationFailedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/Web.json#/components/schemas/WebRestoreOperationFailedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "3287",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "3288",
- "isReadOnly": false,
- "realPath": [
- "appEventTypeDetail"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3289",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3290",
- "fixed": false
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3291",
- "fixed": false,
- "raw": "appEventTypeDetail"
- },
- "serializedName": "appEventTypeDetail",
- "modelType": {
- "$ref": "2977"
- }
- },
- {
- "$id": "3292",
- "isReadOnly": false,
- "realPath": [
- "name"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3293",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3294",
- "fixed": false,
- "raw": "name of the web site that had this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3295",
- "fixed": false,
- "raw": "name"
- },
- "serializedName": "name",
- "modelType": {
- "$id": "3296",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3297",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3298",
- "isReadOnly": false,
- "realPath": [
- "clientRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3299",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3300",
- "fixed": false,
- "raw": "The client request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3301",
- "fixed": false,
- "raw": "clientRequestId"
- },
- "serializedName": "clientRequestId",
- "modelType": {
- "$id": "3302",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3303",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3304",
- "isReadOnly": false,
- "realPath": [
- "correlationRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3305",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3306",
- "fixed": false,
- "raw": "The correlation request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3307",
- "fixed": false,
- "raw": "correlationRequestId"
- },
- "serializedName": "correlationRequestId",
- "modelType": {
- "$id": "3308",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3309",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3310",
- "isReadOnly": false,
- "realPath": [
- "requestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3311",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3312",
- "fixed": false,
- "raw": "The request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3313",
- "fixed": false,
- "raw": "requestId"
- },
- "serializedName": "requestId",
- "modelType": {
- "$id": "3314",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3315",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3316",
- "isReadOnly": false,
- "realPath": [
- "address"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3317",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3318",
- "fixed": false,
- "raw": "HTTP request URL of this operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3319",
- "fixed": false,
- "raw": "address"
- },
- "serializedName": "address",
- "modelType": {
- "$id": "3320",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3321",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3322",
- "isReadOnly": false,
- "realPath": [
- "verb"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3323",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3324",
- "fixed": false,
- "raw": "HTTP verb of this operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3325",
- "fixed": false,
- "raw": "verb"
- },
- "serializedName": "verb",
- "modelType": {
- "$id": "3326",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3327",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "WebSlotSwapStartedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.Web.SlotSwapStarted event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "3328",
- "fixed": false,
- "raw": "WebSlotSwapStartedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///288?oai3.shaken.json"
- ],
- "name": "WebSlotSwapStartedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/Web.json#/components/schemas/WebSlotSwapStartedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "3329",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "3330",
- "isReadOnly": false,
- "realPath": [
- "appEventTypeDetail"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3331",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3332",
- "fixed": false
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3333",
- "fixed": false,
- "raw": "appEventTypeDetail"
- },
- "serializedName": "appEventTypeDetail",
- "modelType": {
- "$ref": "2977"
- }
- },
- {
- "$id": "3334",
- "isReadOnly": false,
- "realPath": [
- "name"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3335",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3336",
- "fixed": false,
- "raw": "name of the web site that had this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3337",
- "fixed": false,
- "raw": "name"
- },
- "serializedName": "name",
- "modelType": {
- "$id": "3338",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3339",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3340",
- "isReadOnly": false,
- "realPath": [
- "clientRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3341",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3342",
- "fixed": false,
- "raw": "The client request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3343",
- "fixed": false,
- "raw": "clientRequestId"
- },
- "serializedName": "clientRequestId",
- "modelType": {
- "$id": "3344",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3345",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3346",
- "isReadOnly": false,
- "realPath": [
- "correlationRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3347",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3348",
- "fixed": false,
- "raw": "The correlation request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3349",
- "fixed": false,
- "raw": "correlationRequestId"
- },
- "serializedName": "correlationRequestId",
- "modelType": {
- "$id": "3350",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3351",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3352",
- "isReadOnly": false,
- "realPath": [
- "requestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3353",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3354",
- "fixed": false,
- "raw": "The request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3355",
- "fixed": false,
- "raw": "requestId"
- },
- "serializedName": "requestId",
- "modelType": {
- "$id": "3356",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3357",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3358",
- "isReadOnly": false,
- "realPath": [
- "address"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3359",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3360",
- "fixed": false,
- "raw": "HTTP request URL of this operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3361",
- "fixed": false,
- "raw": "address"
- },
- "serializedName": "address",
- "modelType": {
- "$id": "3362",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3363",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3364",
- "isReadOnly": false,
- "realPath": [
- "verb"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3365",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3366",
- "fixed": false,
- "raw": "HTTP verb of this operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3367",
- "fixed": false,
- "raw": "verb"
- },
- "serializedName": "verb",
- "modelType": {
- "$id": "3368",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3369",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "WebSlotSwapCompletedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.Web.SlotSwapCompleted event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "3370",
- "fixed": false,
- "raw": "WebSlotSwapCompletedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///288?oai3.shaken.json"
- ],
- "name": "WebSlotSwapCompletedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/Web.json#/components/schemas/WebSlotSwapCompletedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "3371",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "3372",
- "isReadOnly": false,
- "realPath": [
- "appEventTypeDetail"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3373",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3374",
- "fixed": false
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3375",
- "fixed": false,
- "raw": "appEventTypeDetail"
- },
- "serializedName": "appEventTypeDetail",
- "modelType": {
- "$ref": "2977"
- }
- },
- {
- "$id": "3376",
- "isReadOnly": false,
- "realPath": [
- "name"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3377",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3378",
- "fixed": false,
- "raw": "name of the web site that had this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3379",
- "fixed": false,
- "raw": "name"
- },
- "serializedName": "name",
- "modelType": {
- "$id": "3380",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3381",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3382",
- "isReadOnly": false,
- "realPath": [
- "clientRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3383",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3384",
- "fixed": false,
- "raw": "The client request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3385",
- "fixed": false,
- "raw": "clientRequestId"
- },
- "serializedName": "clientRequestId",
- "modelType": {
- "$id": "3386",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3387",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3388",
- "isReadOnly": false,
- "realPath": [
- "correlationRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3389",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3390",
- "fixed": false,
- "raw": "The correlation request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3391",
- "fixed": false,
- "raw": "correlationRequestId"
- },
- "serializedName": "correlationRequestId",
- "modelType": {
- "$id": "3392",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3393",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3394",
- "isReadOnly": false,
- "realPath": [
- "requestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3395",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3396",
- "fixed": false,
- "raw": "The request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3397",
- "fixed": false,
- "raw": "requestId"
- },
- "serializedName": "requestId",
- "modelType": {
- "$id": "3398",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3399",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3400",
- "isReadOnly": false,
- "realPath": [
- "address"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3401",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3402",
- "fixed": false,
- "raw": "HTTP request URL of this operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3403",
- "fixed": false,
- "raw": "address"
- },
- "serializedName": "address",
- "modelType": {
- "$id": "3404",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3405",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3406",
- "isReadOnly": false,
- "realPath": [
- "verb"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3407",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3408",
- "fixed": false,
- "raw": "HTTP verb of this operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3409",
- "fixed": false,
- "raw": "verb"
- },
- "serializedName": "verb",
- "modelType": {
- "$id": "3410",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3411",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "WebSlotSwapFailedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.Web.SlotSwapFailed event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "3412",
- "fixed": false,
- "raw": "WebSlotSwapFailedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///288?oai3.shaken.json"
- ],
- "name": "WebSlotSwapFailedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/Web.json#/components/schemas/WebSlotSwapFailedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "3413",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "3414",
- "isReadOnly": false,
- "realPath": [
- "appEventTypeDetail"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3415",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3416",
- "fixed": false
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3417",
- "fixed": false,
- "raw": "appEventTypeDetail"
- },
- "serializedName": "appEventTypeDetail",
- "modelType": {
- "$ref": "2977"
- }
- },
- {
- "$id": "3418",
- "isReadOnly": false,
- "realPath": [
- "name"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3419",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3420",
- "fixed": false,
- "raw": "name of the web site that had this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3421",
- "fixed": false,
- "raw": "name"
- },
- "serializedName": "name",
- "modelType": {
- "$id": "3422",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3423",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3424",
- "isReadOnly": false,
- "realPath": [
- "clientRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3425",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3426",
- "fixed": false,
- "raw": "The client request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3427",
- "fixed": false,
- "raw": "clientRequestId"
- },
- "serializedName": "clientRequestId",
- "modelType": {
- "$id": "3428",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3429",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3430",
- "isReadOnly": false,
- "realPath": [
- "correlationRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3431",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3432",
- "fixed": false,
- "raw": "The correlation request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3433",
- "fixed": false,
- "raw": "correlationRequestId"
- },
- "serializedName": "correlationRequestId",
- "modelType": {
- "$id": "3434",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3435",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3436",
- "isReadOnly": false,
- "realPath": [
- "requestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3437",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3438",
- "fixed": false,
- "raw": "The request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3439",
- "fixed": false,
- "raw": "requestId"
- },
- "serializedName": "requestId",
- "modelType": {
- "$id": "3440",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3441",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3442",
- "isReadOnly": false,
- "realPath": [
- "address"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3443",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3444",
- "fixed": false,
- "raw": "HTTP request URL of this operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3445",
- "fixed": false,
- "raw": "address"
- },
- "serializedName": "address",
- "modelType": {
- "$id": "3446",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3447",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3448",
- "isReadOnly": false,
- "realPath": [
- "verb"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3449",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3450",
- "fixed": false,
- "raw": "HTTP verb of this operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3451",
- "fixed": false,
- "raw": "verb"
- },
- "serializedName": "verb",
- "modelType": {
- "$id": "3452",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3453",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "WebSlotSwapWithPreviewStartedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.Web.SlotSwapWithPreviewStarted event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "3454",
- "fixed": false,
- "raw": "WebSlotSwapWithPreviewStartedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///288?oai3.shaken.json"
- ],
- "name": "WebSlotSwapWithPreviewStartedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/Web.json#/components/schemas/WebSlotSwapWithPreviewStartedEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "3455",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "3456",
- "isReadOnly": false,
- "realPath": [
- "appEventTypeDetail"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3457",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3458",
- "fixed": false
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3459",
- "fixed": false,
- "raw": "appEventTypeDetail"
- },
- "serializedName": "appEventTypeDetail",
- "modelType": {
- "$ref": "2977"
- }
- },
- {
- "$id": "3460",
- "isReadOnly": false,
- "realPath": [
- "name"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3461",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3462",
- "fixed": false,
- "raw": "name of the web site that had this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3463",
- "fixed": false,
- "raw": "name"
- },
- "serializedName": "name",
- "modelType": {
- "$id": "3464",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3465",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3466",
- "isReadOnly": false,
- "realPath": [
- "clientRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3467",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3468",
- "fixed": false,
- "raw": "The client request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3469",
- "fixed": false,
- "raw": "clientRequestId"
- },
- "serializedName": "clientRequestId",
- "modelType": {
- "$id": "3470",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3471",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3472",
- "isReadOnly": false,
- "realPath": [
- "correlationRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3473",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3474",
- "fixed": false,
- "raw": "The correlation request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3475",
- "fixed": false,
- "raw": "correlationRequestId"
- },
- "serializedName": "correlationRequestId",
- "modelType": {
- "$id": "3476",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3477",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3478",
- "isReadOnly": false,
- "realPath": [
- "requestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3479",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3480",
- "fixed": false,
- "raw": "The request id generated by the app service for the site API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3481",
- "fixed": false,
- "raw": "requestId"
- },
- "serializedName": "requestId",
- "modelType": {
- "$id": "3482",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3483",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3484",
- "isReadOnly": false,
- "realPath": [
- "address"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3485",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3486",
- "fixed": false,
- "raw": "HTTP request URL of this operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3487",
- "fixed": false,
- "raw": "address"
- },
- "serializedName": "address",
- "modelType": {
- "$id": "3488",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3489",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3490",
- "isReadOnly": false,
- "realPath": [
- "verb"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3491",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3492",
- "fixed": false,
- "raw": "HTTP verb of this operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3493",
- "fixed": false,
- "raw": "verb"
- },
- "serializedName": "verb",
- "modelType": {
- "$id": "3494",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3495",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "WebSlotSwapWithPreviewCancelledEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.Web.SlotSwapWithPreviewCancelled event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "3496",
- "fixed": false,
- "raw": "WebSlotSwapWithPreviewCancelledEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///288?oai3.shaken.json"
- ],
- "name": "WebSlotSwapWithPreviewCancelledEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/Web.json#/components/schemas/WebSlotSwapWithPreviewCancelledEventData"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "3497",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "3498",
- "isReadOnly": false,
- "realPath": [
- "stampKind"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3499",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3500",
- "fixed": false,
- "raw": "Kind of environment where app service plan is."
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///288?oai3.shaken.json"
- ],
- "name": "StampKind",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/Web.json#/components/schemas/AppServicePlanEventTypeDetail-stampKind"
- ]
- },
- "x-ms-enum": {
- "name": "StampKind",
- "modelAsString": true,
- "values": [
- {
- "value": "Public",
- "description": "App Service Plan is running on a public stamp."
- },
- {
- "value": "AseV1",
- "description": "App Service Plan is running on an App Service Environment V1."
- },
- {
- "value": "AseV2",
- "description": "App Service Plan is running on an App Service Environment V2."
- }
- ],
- "oldModelAsString": true
- }
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3501",
- "fixed": false,
- "raw": "stampKind"
- },
- "serializedName": "stampKind",
- "modelType": {
- "$id": "3502",
- "$type": "EnumType",
- "values": [
- {
- "$id": "3503",
- "description": "App Service Plan is running on a public stamp.",
- "name": "Public",
- "serializedName": "Public"
- },
- {
- "$id": "3504",
- "description": "App Service Plan is running on an App Service Environment V1.",
- "name": "AseV1",
- "serializedName": "AseV1"
- },
- {
- "$id": "3505",
- "description": "App Service Plan is running on an App Service Environment V2.",
- "name": "AseV2",
- "serializedName": "AseV2"
- }
- ],
- "oldModelAsString": true,
- "modelAsString": true,
- "underlyingType": {
- "$id": "3506",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3507",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- },
- "name": {
- "$id": "3508",
- "fixed": false,
- "raw": "StampKind"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3509",
- "isReadOnly": false,
- "realPath": [
- "action"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3510",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3511",
- "fixed": false,
- "raw": "Type of action on the app service plan."
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///288?oai3.shaken.json"
- ],
- "name": "AppServicePlanAction",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/Web.json#/components/schemas/AppServicePlanEventTypeDetail-action"
- ]
- },
- "x-ms-enum": {
- "name": "AppServicePlanAction",
- "modelAsString": true,
- "values": [
- {
- "value": "Updated",
- "description": "App Service plan is being updated."
- }
- ],
- "oldModelAsString": true
- }
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3512",
- "fixed": false,
- "raw": "action"
- },
- "serializedName": "action",
- "modelType": {
- "$id": "3513",
- "$type": "EnumType",
- "values": [
- {
- "$id": "3514",
- "description": "App Service plan is being updated.",
- "name": "Updated",
- "serializedName": "Updated"
- }
- ],
- "oldModelAsString": true,
- "modelAsString": true,
- "underlyingType": {
- "$id": "3515",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3516",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- },
- "name": {
- "$id": "3517",
- "fixed": false,
- "raw": "AppServicePlanAction"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3518",
- "isReadOnly": false,
- "realPath": [
- "status"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3519",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3520",
- "fixed": false
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///288?oai3.shaken.json"
- ],
- "name": "AsyncStatus",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/Web.json#/components/schemas/AsyncStatus"
- ]
- },
- "x-ms-enum": {
- "name": "AsyncStatus",
- "modelAsString": true,
- "values": [
- {
- "value": "Started",
- "description": "Async operation has started."
- },
- {
- "value": "Completed",
- "description": "Async operation has completed."
- },
- {
- "value": "Failed",
- "description": "Async operation failed to complete."
- }
- ],
- "oldModelAsString": true
- }
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3521",
- "fixed": false,
- "raw": "status"
- },
- "serializedName": "status",
- "modelType": {
- "$id": "3522",
- "$type": "EnumType",
- "values": [
- {
- "$id": "3523",
- "description": "Async operation has started.",
- "name": "Started",
- "serializedName": "Started"
- },
- {
- "$id": "3524",
- "description": "Async operation has completed.",
- "name": "Completed",
- "serializedName": "Completed"
- },
- {
- "$id": "3525",
- "description": "Async operation failed to complete.",
- "name": "Failed",
- "serializedName": "Failed"
- }
- ],
- "oldModelAsString": true,
- "modelAsString": true,
- "underlyingType": {
- "$id": "3526",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3527",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- },
- "name": {
- "$id": "3528",
- "fixed": false,
- "raw": "AsyncStatus"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "AppServicePlanEventTypeDetail",
- "documentation": "Detail of action on the app service plan.",
- "containsConstantProperties": false,
- "name": {
- "$id": "3529",
- "fixed": false,
- "raw": "AppServicePlanEventTypeDetail"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///288?oai3.shaken.json"
- ],
- "name": "AppServicePlanEventTypeDetail",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/Web.json#/components/schemas/AppServicePlanEventTypeDetail"
- ]
- }
- },
- "deprecated": false
- },
- {
- "$id": "3530",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "3531",
- "isReadOnly": false,
- "realPath": [
- "name"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3532",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3533",
- "fixed": false,
- "raw": "name of app service plan sku."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3534",
- "fixed": false,
- "raw": "name"
- },
- "serializedName": "name",
- "modelType": {
- "$id": "3535",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3536",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3537",
- "isReadOnly": false,
- "realPath": [
- "Tier"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3538",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3539",
- "fixed": false,
- "raw": "tier of app service plan sku."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3540",
- "fixed": false,
- "raw": "Tier"
- },
- "serializedName": "Tier",
- "modelType": {
- "$id": "3541",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3542",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3543",
- "isReadOnly": false,
- "realPath": [
- "Size"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3544",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3545",
- "fixed": false,
- "raw": "size of app service plan sku."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3546",
- "fixed": false,
- "raw": "Size"
- },
- "serializedName": "Size",
- "modelType": {
- "$id": "3547",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3548",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3549",
- "isReadOnly": false,
- "realPath": [
- "Family"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3550",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3551",
- "fixed": false,
- "raw": "family of app service plan sku."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3552",
- "fixed": false,
- "raw": "Family"
- },
- "serializedName": "Family",
- "modelType": {
- "$id": "3553",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3554",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3555",
- "isReadOnly": false,
- "realPath": [
- "Capacity"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3556",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3557",
- "fixed": false,
- "raw": "capacity of app service plan sku."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3558",
- "fixed": false,
- "raw": "Capacity"
- },
- "serializedName": "Capacity",
- "modelType": {
- "$id": "3559",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3560",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "WebAppServicePlanUpdatedEventData-sku",
- "documentation": "sku of app service plan.",
- "containsConstantProperties": false,
- "name": {
- "$id": "3561",
- "fixed": false,
- "raw": "WebAppServicePlanUpdatedEventData-sku"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///288?oai3.shaken.json"
- ],
- "name": "WebAppServicePlanUpdatedEventData-sku",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/Web.json#/components/schemas/WebAppServicePlanUpdatedEventData-sku"
- ]
- },
- "x-internal-autorest-anonymous-schema": {
- "anonymous": true
- }
- },
- "deprecated": false
- },
- {
- "$id": "3562",
- "$type": "CompositeType",
- "properties": [
- {
- "$id": "3563",
- "isReadOnly": false,
- "realPath": [
- "appServicePlanEventTypeDetail"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3564",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3565",
- "fixed": false
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3566",
- "fixed": false,
- "raw": "appServicePlanEventTypeDetail"
- },
- "serializedName": "appServicePlanEventTypeDetail",
- "modelType": {
- "$ref": "3497"
- }
- },
- {
- "$id": "3567",
- "isReadOnly": false,
- "realPath": [
- "sku"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3568",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3569",
- "fixed": false,
- "raw": "sku of app service plan."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3570",
- "fixed": false,
- "raw": "sku"
- },
- "serializedName": "sku",
- "modelType": {
- "$ref": "3530"
- }
- },
- {
- "$id": "3571",
- "isReadOnly": false,
- "realPath": [
- "name"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3572",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3573",
- "fixed": false,
- "raw": "name of the app service plan that had this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3574",
- "fixed": false,
- "raw": "name"
- },
- "serializedName": "name",
- "modelType": {
- "$id": "3575",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3576",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3577",
- "isReadOnly": false,
- "realPath": [
- "clientRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3578",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3579",
- "fixed": false,
- "raw": "The client request id generated by the app service for the app service plan API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3580",
- "fixed": false,
- "raw": "clientRequestId"
- },
- "serializedName": "clientRequestId",
- "modelType": {
- "$id": "3581",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3582",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3583",
- "isReadOnly": false,
- "realPath": [
- "correlationRequestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3584",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3585",
- "fixed": false,
- "raw": "The correlation request id generated by the app service for the app service plan API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3586",
- "fixed": false,
- "raw": "correlationRequestId"
- },
- "serializedName": "correlationRequestId",
- "modelType": {
- "$id": "3587",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3588",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3589",
- "isReadOnly": false,
- "realPath": [
- "requestId"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3590",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3591",
- "fixed": false,
- "raw": "The request id generated by the app service for the app service plan API operation that triggered this event."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3592",
- "fixed": false,
- "raw": "requestId"
- },
- "serializedName": "requestId",
- "modelType": {
- "$id": "3593",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3594",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3595",
- "isReadOnly": false,
- "realPath": [
- "address"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3596",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3597",
- "fixed": false,
- "raw": "HTTP request URL of this operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3598",
- "fixed": false,
- "raw": "address"
- },
- "serializedName": "address",
- "modelType": {
- "$id": "3599",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3600",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- },
- {
- "$id": "3601",
- "isReadOnly": false,
- "realPath": [
- "verb"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3602",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3603",
- "fixed": false,
- "raw": "HTTP verb of this operation."
- },
- "isRequired": false,
- "isConstant": false,
- "name": {
- "$id": "3604",
- "fixed": false,
- "raw": "verb"
- },
- "serializedName": "verb",
- "modelType": {
- "$id": "3605",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3606",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "serializedName": "WebAppServicePlanUpdatedEventData",
- "documentation": "Schema of the Data property of an EventGridEvent for an Microsoft.Web.AppServicePlanUpdated event.",
- "containsConstantProperties": false,
- "name": {
- "$id": "3607",
- "fixed": false,
- "raw": "WebAppServicePlanUpdatedEventData"
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///288?oai3.shaken.json"
- ],
- "name": "WebAppServicePlanUpdatedEventData",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/Web.json#/components/schemas/WebAppServicePlanUpdatedEventData"
- ]
- }
- },
- "deprecated": false
- }
- ],
- "enumTypes": [
- {
- "$ref": "1563"
- },
- {
- "$ref": "1606"
- },
- {
- "$ref": "1629"
- },
- {
- "$ref": "1642"
- },
- {
- "$ref": "2982"
- },
- {
- "$ref": "3502"
- },
- {
- "$ref": "3513"
- },
- {
- "$ref": "3522"
- }
- ],
- "hostParametersFront": [
- {
- "$id": "3608",
- "location": "path",
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3609",
- "fixed": false,
- "raw": ""
- },
- "deprecated": false,
- "documentation": {
- "$id": "3610",
- "fixed": false,
- "raw": "The host name of the topic, e.g. topic1.westus2-1.eventgrid.azure.net"
- },
- "extensions": {
- "x-name": "topicHostname",
- "x-required": true,
- "x-type": "string",
- "x-in": "path",
- "x-ms-skip-url-encoding": true,
- "hostParameter": true
- },
- "isRequired": true,
- "isConstant": false,
- "name": {
- "$id": "3611",
- "fixed": false,
- "raw": "topicHostname"
- },
- "serializedName": "topicHostname",
- "modelType": {
- "$id": "3612",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3613",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "name": "EventGridClient",
- "namespace": "Microsoft.Azure.EventGrid",
- "modelsName": "Models",
- "apiVersion": "2018-01-01",
- "baseUrl": "https://{topicHostname}",
- "documentation": "EventGrid Client",
- "extensions": {
- "x-ms-parameterized-host": true
- },
- "properties": [
- {
- "$id": "3614",
- "isReadOnly": false,
- "realPath": [
- "api-version"
- ],
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3615",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3616",
- "fixed": false,
- "raw": "Version of the API to be used with the client request."
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///277?oai3.shaken.json"
- ],
- "name": "ApiVersionParameter",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/EventGrid.json#/components/parameters/ApiVersionParameter"
- ]
- }
- },
- "isRequired": true,
- "isConstant": false,
- "name": {
- "$id": "3617",
- "fixed": false,
- "raw": "api-version"
- },
- "serializedName": "api-version",
- "modelType": {
- "$id": "3618",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3619",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "operations": [
- {
- "$id": "3620",
- "methods": [
- {
- "$id": "3621",
- "parameters": [
- {
- "$id": "3622",
- "location": "body",
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3623",
- "fixed": false
- },
- "deprecated": false,
- "documentation": {
- "$id": "3624",
- "fixed": false,
- "raw": "An array of events to be published to Event Grid."
- },
- "extensions": {
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///277?oai3.shaken.json"
- ],
- "name": "paths·1ou78lj·api-events·post·requestbody",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/EventGrid.json#/components/requestBodies/paths·1ou78lj·api-events·post·requestbody"
- ]
- },
- "x-ms-requestBody-name": "events"
- },
- "isRequired": true,
- "isConstant": false,
- "name": {
- "$id": "3625",
- "fixed": false,
- "raw": "events"
- },
- "serializedName": "events",
- "modelType": {
- "$id": "3626",
- "$type": "SequenceType",
- "elementType": {
- "$ref": "1000"
- },
- "name": {
- "$id": "3627",
- "fixed": false
- },
- "deprecated": false
- }
- },
- {
- "$id": "3628",
- "location": "query",
- "collectionFormat": "none",
- "defaultValue": {
- "$id": "3629",
- "fixed": false,
- "raw": "2018-01-01"
- },
- "deprecated": false,
- "documentation": {
- "$id": "3630",
- "fixed": false,
- "raw": "The API version to use for the request."
- },
- "isRequired": true,
- "isConstant": true,
- "name": {
- "$id": "3631",
- "fixed": false,
- "raw": "api-version"
- },
- "serializedName": "api-version",
- "modelType": {
- "$id": "3632",
- "$type": "PrimaryType",
- "knownPrimaryType": "string",
- "name": {
- "$id": "3633",
- "fixed": false,
- "raw": "String"
- },
- "deprecated": false
- }
- }
- ],
- "name": {
- "$id": "3634",
- "fixed": false,
- "raw": "PublishEvents"
- },
- "group": {
- "$id": "3635",
- "fixed": false,
- "raw": ""
- },
- "serializedName": "PublishEvents",
- "url": "/api/events",
- "isAbsoluteUrl": false,
- "httpMethod": "post",
- "responses": {
- "OK": {
- "$id": "3636",
- "extensions": {
- "$id": "3637",
- "x-ms-metadata": {
- "apiVersions": [
- "2018-01-01"
- ],
- "filename": [
- "mem:///277?oai3.shaken.json"
- ],
- "name": "paths·341l0q·api-events·post·responses·200",
- "originalLocations": [
- "https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/EventGrid.json#/components/responses/paths·341l0q·api-events·post·responses·200"
- ]
- }
- },
- "isNullable": true
- }
- },
- "defaultResponse": {
- "$id": "3638",
- "isNullable": true
- },
- "returnType": {
- "$id": "3639",
- "isNullable": true
- },
- "description": "Publishes a batch of events to an Azure Event Grid topic.",
- "requestContentType": "application/json; charset=utf-8",
- "responseContentTypes": [
- "application/json"
- ],
- "extensions": {
- "servers": [
- {
- "url": "https://{topicHostname}",
- "x-ms-parameterized-host": {
- "positionInOperation": "first"
- },
- "variables": {
- "topicHostname": {
- "x-name": "topicHostname",
- "description": "The host name of the topic, e.g. topic1.westus2-1.eventgrid.azure.net",
- "x-required": true,
- "x-type": "string",
- "x-in": "path",
- "x-ms-skip-url-encoding": true,
- "default": ""
- }
- }
- }
- ],
- "x-ms-requestBody-index": "0",
- "x-ms-examples": {
- "PublishEventsToEventGridTopic": {
- "parameters": {
- "topicHostname": "mytopic.westcentralus-1.eventgrid.azure.net",
- "api-version": "2018-01-01",
- "events": [
- {
- "id": "b3ccc7e3-c1cb-49bf-b7c8-0d4e60980616",
- "subject": "TestSubject",
- "data": {
- "Property1": "Value1",
- "Property2": "Value2"
- },
- "eventType": "Microsoft.Contoso.TestEvent",
- "eventTime": "2017-12-04T22:06:09.147165Z",
- "dataVersion": "1.0"
- }
- ]
- },
- "responses": {
- "200": {}
- }
- }
- }
- },
- "deprecated": false,
- "hidden": false
- }
- ],
- "name": {
- "$id": "3640",
- "fixed": false,
- "raw": ""
- },
- "typeName": {
- "$id": "3641",
- "fixed": false
- },
- "nameForProperty": "EventGridClient"
- }
- ]
-}
\ No newline at end of file
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Microsoft.Azure.EventGrid.csproj b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Microsoft.Azure.EventGrid.csproj
deleted file mode 100644
index 72070e9afe8ca..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Microsoft.Azure.EventGrid.csproj
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- Microsoft Azure EventGrid Library
- Please note, a newer package Azure.Messaging.EventGrid is available as of March 2021. While this package will continue to receive critical bug fixes, we strongly encourage you to upgrade. Read the migration guide at https://aka.ms/azsdk/net/migrate/eg for more details.
- 3.3.0-beta.1
-
- 3.2.1
- Microsoft Azure EventGrid;Event Grid;Event Grid Publishing;
- Support for Azure EventGrid event types published from Azure Machine Learning Services.
- EventGrid_2018-01-01;
- $(PackageTags);$(CommonTags);$(AzureApiTag);
-
-
- $(NoWarn);CS0618
- $(RequiredTargetFrameworks)
-
-
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Properties/AssemblyInfo.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Properties/AssemblyInfo.cs
deleted file mode 100644
index a2b1f7372c938..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,6 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for license information.
-
-using System.Runtime.CompilerServices;
-
-[assembly: InternalsVisibleTo("Microsoft.Azure.EventGrid.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/generate.ps1 b/sdk/eventgrid/Microsoft.Azure.EventGrid/src/generate.ps1
deleted file mode 100644
index 47fe58310201e..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/src/generate.ps1
+++ /dev/null
@@ -1 +0,0 @@
-Start-AutoRestCodeGeneration -ResourceProvider "eventgrid/data-plane" -AutoRestVersion "latest" -SdkRepoRootPath ..\..\..
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/Microsoft.Azure.EventGrid.Tests.csproj b/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/Microsoft.Azure.EventGrid.Tests.csproj
deleted file mode 100644
index 32a4729edf266..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/Microsoft.Azure.EventGrid.Tests.csproj
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
- Microsoft Azure EventGrid Tests
- true
- Microsoft.Azure.EventGrid.Tests Class Library
- $(RequiredTargetFrameworks)
-
-
-
-
-
-
-
-
-
- PreserveNewest
-
-
-
-
-
- PreserveNewest
-
-
-
-
-
-
-
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/SessionRecords/ScenarioTests/PublishEventsToDomain.json b/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/SessionRecords/ScenarioTests/PublishEventsToDomain.json
deleted file mode 100644
index ec30d5a12c0f0..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/SessionRecords/ScenarioTests/PublishEventsToDomain.json
+++ /dev/null
@@ -1,616 +0,0 @@
-{
- "Entries": [
- {
- "RequestUri": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups?api-version=2015-11-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWI0YjY1MGUtMjhiOS00NzkwLWIzYWItZGRiZDg4ZDcyN2M0L3Jlc291cmNlZ3JvdXBzP2FwaS12ZXJzaW9uPTIwMTUtMTEtMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "ec1700ad-b2d6-4a5d-96cd-7c3fae8c5471"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.26614.01",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 08 Mar 2019 01:45:53 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11997"
- ],
- "x-ms-request-id": [
- "bc7507bb-81dd-48f9-9170-11e331b99e2b"
- ],
- "x-ms-correlation-request-id": [
- "bc7507bb-81dd-48f9-9170-11e331b99e2b"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20190308T014553Z:bc7507bb-81dd-48f9-9170-11e331b99e2b"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Content-Length": [
- "15329"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/amh\",\r\n \"name\": \"amh\",\r\n \"location\": \"centraluseuap\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridArmRunnerRGCentralIndia\",\r\n \"name\": \"AzureEventGridArmRunnerRGCentralIndia\",\r\n \"location\": \"centralindia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridArmRunnerRGEastUS\",\r\n \"name\": \"AzureEventGridArmRunnerRGEastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridArmRunnerRGEastUS2EUAP\",\r\n \"name\": \"AzureEventGridArmRunnerRGEastUS2EUAP\",\r\n \"location\": \"eastus2euap\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridArmRunnerRGWestUS\",\r\n \"name\": \"AzureEventGridArmRunnerRGWestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridArmRunnerWestCentralUS\",\r\n \"name\": \"AzureEventGridArmRunnerWestCentralUS\",\r\n \"location\": \"westcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGAustraliaCentral\",\r\n \"name\": \"AzureEventGridRunnerRGAustraliaCentral\",\r\n \"location\": \"australiacentral\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGAustraliaCentral2\",\r\n \"name\": \"AzureEventGridRunnerRGAustraliaCentral2\",\r\n \"location\": \"australiacentral2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGAustraliaEast\",\r\n \"name\": \"AzureEventGridRunnerRGAustraliaEast\",\r\n \"location\": \"australiaeast\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGAustraliaSoutheast\",\r\n \"name\": \"AzureEventGridRunnerRGAustraliaSoutheast\",\r\n \"location\": \"australiasoutheast\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGBrazilSouth\",\r\n \"name\": \"AzureEventGridRunnerRGBrazilSouth\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGCanadaCentral\",\r\n \"name\": \"AzureEventGridRunnerRGCanadaCentral\",\r\n \"location\": \"canadacentral\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGCanadaEast\",\r\n \"name\": \"AzureEventGridRunnerRGCanadaEast\",\r\n \"location\": \"canadaeast\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGCentralIndia\",\r\n \"name\": \"AzureEventGridRunnerRGCentralIndia\",\r\n \"location\": \"centralindia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGCentralUS\",\r\n \"name\": \"AzureEventGridRunnerRGCentralUS\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGCentralUSEUAP\",\r\n \"name\": \"AzureEventGridRunnerRGCentralUSEUAP\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGEastAsia\",\r\n \"name\": \"AzureEventGridRunnerRGEastAsia\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGEastUS\",\r\n \"name\": \"AzureEventGridRunnerRGEastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGEastUS2\",\r\n \"name\": \"AzureEventGridRunnerRGEastUS2\",\r\n \"location\": \"eastus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGEastUS2EUAP\",\r\n \"name\": \"AzureEventGridRunnerRGEastUS2EUAP\",\r\n \"location\": \"eastus2euap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGFranceCentral\",\r\n \"name\": \"AzureEventGridRunnerRGFranceCentral\",\r\n \"location\": \"francecentral\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGFranceSouth\",\r\n \"name\": \"AzureEventGridRunnerRGFranceSouth\",\r\n \"location\": \"francesouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGJapanEast\",\r\n \"name\": \"AzureEventGridRunnerRGJapanEast\",\r\n \"location\": \"japaneast\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGJapanWest\",\r\n \"name\": \"AzureEventGridRunnerRGJapanWest\",\r\n \"location\": \"japanwest\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGKoreaCentral\",\r\n \"name\": \"AzureEventGridRunnerRGKoreaCentral\",\r\n \"location\": \"koreacentral\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGKoreaSouth\",\r\n \"name\": \"AzureEventGridRunnerRGKoreaSouth\",\r\n \"location\": \"koreasouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGNorthCentralUS\",\r\n \"name\": \"AzureEventGridRunnerRGNorthCentralUS\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGNorthEurope\",\r\n \"name\": \"AzureEventGridRunnerRGNorthEurope\",\r\n \"location\": \"northeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGSouthCentralUS\",\r\n \"name\": \"AzureEventGridRunnerRGSouthCentralUS\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGSouthEastAsia\",\r\n \"name\": \"AzureEventGridRunnerRGSouthEastAsia\",\r\n \"location\": \"southeastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGSouthIndia\",\r\n \"name\": \"AzureEventGridRunnerRGSouthIndia\",\r\n \"location\": \"southindia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGUKSouth\",\r\n \"name\": \"AzureEventGridRunnerRGUKSouth\",\r\n \"location\": \"uksouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGUKWest\",\r\n \"name\": \"AzureEventGridRunnerRGUKWest\",\r\n \"location\": \"ukwest\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGUSWest\",\r\n \"name\": \"AzureEventGridRunnerRGUSWest\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGWestCentralUS\",\r\n \"name\": \"AzureEventGridRunnerRGWestCentralUS\",\r\n \"location\": \"westcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGWestEurope\",\r\n \"name\": \"AzureEventGridRunnerRGWestEurope\",\r\n \"location\": \"westeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGWestIndia\",\r\n \"name\": \"AzureEventGridRunnerRGWestIndia\",\r\n \"location\": \"westindia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGWestUS2\",\r\n \"name\": \"AzureEventGridRunnerRGWestUS2\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/Default-Storage-EastUS2\",\r\n \"name\": \"Default-Storage-EastUS2\",\r\n \"location\": \"eastus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/Default-Storage-SouthCentralUS\",\r\n \"name\": \"Default-Storage-SouthCentralUS\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/DevExpRg\",\r\n \"name\": \"DevExpRg\",\r\n \"location\": \"westcentralus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/eg-dfd-ussc\",\r\n \"name\": \"eg-dfd-ussc\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/eg-euap-use2\",\r\n \"name\": \"eg-euap-use2\",\r\n \"location\": \"eastus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/egdfdussc\",\r\n \"name\": \"egdfdussc\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/EventGridRunnerTestResourceGroup\",\r\n \"name\": \"EventGridRunnerTestResourceGroup\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-1031\",\r\n \"name\": \"sdk-EventGrid-RG-1031\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-1509\",\r\n \"name\": \"sdk-EventGrid-RG-1509\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-2463\",\r\n \"name\": \"sdk-EventGrid-RG-2463\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-2488\",\r\n \"name\": \"sdk-EventGrid-RG-2488\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-2857\",\r\n \"name\": \"sdk-EventGrid-RG-2857\",\r\n \"location\": \"westcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-3101\",\r\n \"name\": \"sdk-EventGrid-RG-3101\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-3439\",\r\n \"name\": \"sdk-EventGrid-RG-3439\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-353\",\r\n \"name\": \"sdk-EventGrid-RG-353\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-3663\",\r\n \"name\": \"sdk-EventGrid-RG-3663\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-3932\",\r\n \"name\": \"sdk-EventGrid-RG-3932\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-511\",\r\n \"name\": \"sdk-EventGrid-RG-511\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-580\",\r\n \"name\": \"sdk-EventGrid-RG-580\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-5979\",\r\n \"name\": \"sdk-EventGrid-RG-5979\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-6138\",\r\n \"name\": \"sdk-EventGrid-RG-6138\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-7115\",\r\n \"name\": \"sdk-EventGrid-RG-7115\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-7192\",\r\n \"name\": \"sdk-EventGrid-RG-7192\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-7552\",\r\n \"name\": \"sdk-EventGrid-RG-7552\",\r\n \"location\": \"westcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-7894\",\r\n \"name\": \"sdk-EventGrid-RG-7894\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-7895\",\r\n \"name\": \"sdk-EventGrid-RG-7895\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-8203\",\r\n \"name\": \"sdk-EventGrid-RG-8203\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-8605\",\r\n \"name\": \"sdk-EventGrid-RG-8605\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-8739\",\r\n \"name\": \"sdk-EventGrid-RG-8739\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-8746\",\r\n \"name\": \"sdk-EventGrid-RG-8746\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-9055\",\r\n \"name\": \"sdk-EventGrid-RG-9055\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-9588\",\r\n \"name\": \"sdk-EventGrid-RG-9588\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-9968\",\r\n \"name\": \"sdk-EventGrid-RG-9968\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/test1\",\r\n \"name\": \"test1\",\r\n \"location\": \"eastus2euap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/sdk-EventGrid-RG-2250?api-version=2015-11-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWI0YjY1MGUtMjhiOS00NzkwLWIzYWItZGRiZDg4ZDcyN2M0L3Jlc291cmNlZ3JvdXBzL3Nkay1FdmVudEdyaWQtUkctMjI1MD9hcGktdmVyc2lvbj0yMDE1LTExLTAx",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"location\": \"centraluseuap\"\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "2fc7918e-065f-41c8-9a87-e4daea5de6bb"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.26614.01",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "35"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 08 Mar 2019 01:45:55 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1198"
- ],
- "x-ms-request-id": [
- "970599a2-a682-4eac-be02-d085f0b10b6c"
- ],
- "x-ms-correlation-request-id": [
- "970599a2-a682-4eac-be02-d085f0b10b6c"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20190308T014555Z:970599a2-a682-4eac-be02-d085f0b10b6c"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Content-Length": [
- "202"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-2250\",\r\n \"name\": \"sdk-EventGrid-RG-2250\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
- "StatusCode": 201
- },
- {
- "RequestUri": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-2250/providers/Microsoft.EventGrid/domains/sdk-Domain-7001?api-version=2019-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWI0YjY1MGUtMjhiOS00NzkwLWIzYWItZGRiZDg4ZDcyN2M0L3Jlc291cmNlR3JvdXBzL3Nkay1FdmVudEdyaWQtUkctMjI1MC9wcm92aWRlcnMvTWljcm9zb2Z0LkV2ZW50R3JpZC9kb21haW5zL3Nkay1Eb21haW4tNzAwMT9hcGktdmVyc2lvbj0yMDE5LTAyLTAxLXByZXZpZXc=",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"location\": \"centraluseuap\",\r\n \"tags\": {\r\n \"originalTag1\": \"originalValue1\",\r\n \"originalTag2\": \"originalValue2\"\r\n }\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "0c998a32-9ed6-409b-a2f1-2974d319e36a"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.26614.01",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.EventGrid.EventGridManagementClient/4.0.0.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "131"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 08 Mar 2019 01:45:56 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "10"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Azure-AsyncOperation": [
- "https://management.azure.com:443/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/locations/centraluseuap/operationsStatus/DA71751A-A6A8-498E-A56A-30BD4D743A2B?api-version=2019-02-01-preview"
- ],
- "x-ms-request-id": [
- "41d9fe54-bcf7-41ab-92bc-9dffdf56c565"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1199"
- ],
- "x-ms-correlation-request-id": [
- "57c1545e-9164-439d-8cfb-c73148c8ea9b"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20190308T014556Z:57c1545e-9164-439d-8cfb-c73148c8ea9b"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Content-Length": [
- "375"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"endpoint\": null\r\n },\r\n \"location\": \"centraluseuap\",\r\n \"tags\": {\r\n \"originalTag1\": \"originalValue1\",\r\n \"originalTag2\": \"originalValue2\"\r\n },\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-2250/providers/Microsoft.EventGrid/domains/sdk-Domain-7001\",\r\n \"name\": \"sdk-Domain-7001\",\r\n \"type\": \"Microsoft.EventGrid/domains\"\r\n}",
- "StatusCode": 201
- },
- {
- "RequestUri": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/locations/centraluseuap/operationsStatus/DA71751A-A6A8-498E-A56A-30BD4D743A2B?api-version=2019-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWI0YjY1MGUtMjhiOS00NzkwLWIzYWItZGRiZDg4ZDcyN2M0L3Byb3ZpZGVycy9NaWNyb3NvZnQuRXZlbnRHcmlkL2xvY2F0aW9ucy9jZW50cmFsdXNldWFwL29wZXJhdGlvbnNTdGF0dXMvREE3MTc1MUEtQTZBOC00OThFLUE1NkEtMzBCRDRENzQzQTJCP2FwaS12ZXJzaW9uPTIwMTktMDItMDEtcHJldmlldw==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.6.26614.01",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.EventGrid.EventGridManagementClient/4.0.0.0"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 08 Mar 2019 01:46:06 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-request-id": [
- "b38f83e3-94b5-4014-b14e-aec5072ae63e"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11999"
- ],
- "x-ms-correlation-request-id": [
- "0da0cff8-7241-4e00-9aab-92869000b1b5"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20190308T014606Z:0da0cff8-7241-4e00-9aab-92869000b1b5"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Content-Length": [
- "294"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"https://management.azure.com/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/locations/centraluseuap/operationsStatus/DA71751A-A6A8-498E-A56A-30BD4D743A2B?api-version=2019-02-01-preview\",\r\n \"name\": \"da71751a-a6a8-498e-a56a-30bd4d743a2b\",\r\n \"status\": \"Succeeded\"\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-2250/providers/Microsoft.EventGrid/domains/sdk-Domain-7001?api-version=2019-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWI0YjY1MGUtMjhiOS00NzkwLWIzYWItZGRiZDg4ZDcyN2M0L3Jlc291cmNlR3JvdXBzL3Nkay1FdmVudEdyaWQtUkctMjI1MC9wcm92aWRlcnMvTWljcm9zb2Z0LkV2ZW50R3JpZC9kb21haW5zL3Nkay1Eb21haW4tNzAwMT9hcGktdmVyc2lvbj0yMDE5LTAyLTAxLXByZXZpZXc=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.6.26614.01",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.EventGrid.EventGridManagementClient/4.0.0.0"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 08 Mar 2019 01:46:06 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-request-id": [
- "e1449cee-e9dd-44ee-9f0d-8702e7f9bce5"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11998"
- ],
- "x-ms-correlation-request-id": [
- "5d9253f3-7a93-4588-af50-88d10ac1afc3"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20190308T014606Z:5d9253f3-7a93-4588-af50-88d10ac1afc3"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Content-Length": [
- "476"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"endpoint\": \"https://sdk-domain-7001.centraluseuap-1.eventgrid.azure.net/api/events\",\r\n \"inputSchema\": \"EventGridSchema\"\r\n },\r\n \"location\": \"centraluseuap\",\r\n \"tags\": {\r\n \"originalTag1\": \"originalValue1\",\r\n \"originalTag2\": \"originalValue2\"\r\n },\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-2250/providers/Microsoft.EventGrid/domains/sdk-Domain-7001\",\r\n \"name\": \"sdk-Domain-7001\",\r\n \"type\": \"Microsoft.EventGrid/domains\"\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-2250/providers/Microsoft.EventGrid/domains/sdk-Domain-7001/listKeys?api-version=2019-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWI0YjY1MGUtMjhiOS00NzkwLWIzYWItZGRiZDg4ZDcyN2M0L3Jlc291cmNlR3JvdXBzL3Nkay1FdmVudEdyaWQtUkctMjI1MC9wcm92aWRlcnMvTWljcm9zb2Z0LkV2ZW50R3JpZC9kb21haW5zL3Nkay1Eb21haW4tNzAwMS9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE5LTAyLTAxLXByZXZpZXc=",
- "RequestMethod": "POST",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "b8b961da-6364-4c97-ba73-7fbfb8face1d"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.26614.01",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.EventGrid.EventGridManagementClient/4.0.0.0"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 08 Mar 2019 01:47:06 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-request-id": [
- "eb8e4d81-873f-4b39-8992-ca9054ea588e"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1199"
- ],
- "x-ms-correlation-request-id": [
- "73ebd045-1311-4a68-8f9a-3063da6ff3a3"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20190308T014707Z:73ebd045-1311-4a68-8f9a-3063da6ff3a3"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Content-Length": [
- "109"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"key1\": \"dz3fPZiq1JM6FRIVFhHKAlivT3u6GiuV64X1tG/yuoE=\",\r\n \"key2\": \"7mzUy9PvTnLbtpMYZycr5GGzYforojxgorsduLt+9lQ=\"\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/api/events?api-version=2018-01-01",
- "EncodedRequestUri": "L2FwaS9ldmVudHM/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==",
- "RequestMethod": "POST",
- "RequestBody": "[\r\n {\r\n \"id\": \"26ad3755-70a4-4759-b453-655fcbbc3f32\",\r\n \"topic\": \"Topic-0\",\r\n \"subject\": \"Subject-0\",\r\n \"data\": {\r\n \"Field1\": \"Value1\",\r\n \"Field2\": \"Value2\",\r\n \"Field3\": \"Value3\"\r\n },\r\n \"eventType\": \"Microsoft.MockPublisher.TestEvent\",\r\n \"eventTime\": \"2019-03-08T01:47:07.4967583Z\",\r\n \"dataVersion\": \"1.0\"\r\n },\r\n {\r\n \"id\": \"76f3fe86-f88f-4b41-afb7-26f51060e6b0\",\r\n \"topic\": \"Topic-1\",\r\n \"subject\": \"Subject-1\",\r\n \"data\": {\r\n \"Field1\": \"Value1\",\r\n \"Field2\": \"Value2\",\r\n \"Field3\": \"Value3\"\r\n },\r\n \"eventType\": \"Microsoft.MockPublisher.TestEvent\",\r\n \"eventTime\": \"2019-03-08T01:47:07.4969733Z\",\r\n \"dataVersion\": \"1.0\"\r\n },\r\n {\r\n \"id\": \"d69a4162-c3f2-43ca-9abc-1e302c51bb86\",\r\n \"topic\": \"Topic-2\",\r\n \"subject\": \"Subject-2\",\r\n \"data\": {\r\n \"Field1\": \"Value1\",\r\n \"Field2\": \"Value2\",\r\n \"Field3\": \"Value3\"\r\n },\r\n \"eventType\": \"Microsoft.MockPublisher.TestEvent\",\r\n \"eventTime\": \"2019-03-08T01:47:07.4969776Z\",\r\n \"dataVersion\": \"1.0\"\r\n },\r\n {\r\n \"id\": \"9277891a-e351-4e49-8440-0ef37ef1bf04\",\r\n \"topic\": \"Topic-3\",\r\n \"subject\": \"Subject-3\",\r\n \"data\": {\r\n \"Field1\": \"Value1\",\r\n \"Field2\": \"Value2\",\r\n \"Field3\": \"Value3\"\r\n },\r\n \"eventType\": \"Microsoft.MockPublisher.TestEvent\",\r\n \"eventTime\": \"2019-03-08T01:47:07.4969792Z\",\r\n \"dataVersion\": \"1.0\"\r\n },\r\n {\r\n \"id\": \"72a3fa9f-acec-41ff-89fa-0acb02490781\",\r\n \"topic\": \"Topic-4\",\r\n \"subject\": \"Subject-4\",\r\n \"data\": {\r\n \"Field1\": \"Value1\",\r\n \"Field2\": \"Value2\",\r\n \"Field3\": \"Value3\"\r\n },\r\n \"eventType\": \"Microsoft.MockPublisher.TestEvent\",\r\n \"eventTime\": \"2019-03-08T01:47:07.4969806Z\",\r\n \"dataVersion\": \"1.0\"\r\n },\r\n {\r\n \"id\": \"54a892f3-ac39-4adb-bbab-e5ed9580db51\",\r\n \"topic\": \"Topic-5\",\r\n \"subject\": \"Subject-5\",\r\n \"data\": {\r\n \"Field1\": \"Value1\",\r\n \"Field2\": \"Value2\",\r\n \"Field3\": \"Value3\"\r\n },\r\n \"eventType\": \"Microsoft.MockPublisher.TestEvent\",\r\n \"eventTime\": \"2019-03-08T01:47:07.4969826Z\",\r\n \"dataVersion\": \"1.0\"\r\n },\r\n {\r\n \"id\": \"934b8ff2-5796-4abe-b0cb-11f616c3b33e\",\r\n \"topic\": \"Topic-6\",\r\n \"subject\": \"Subject-6\",\r\n \"data\": {\r\n \"Field1\": \"Value1\",\r\n \"Field2\": \"Value2\",\r\n \"Field3\": \"Value3\"\r\n },\r\n \"eventType\": \"Microsoft.MockPublisher.TestEvent\",\r\n \"eventTime\": \"2019-03-08T01:47:07.4969843Z\",\r\n \"dataVersion\": \"1.0\"\r\n },\r\n {\r\n \"id\": \"1f98ea70-a9da-45f2-9b31-75fb76017691\",\r\n \"topic\": \"Topic-7\",\r\n \"subject\": \"Subject-7\",\r\n \"data\": {\r\n \"Field1\": \"Value1\",\r\n \"Field2\": \"Value2\",\r\n \"Field3\": \"Value3\"\r\n },\r\n \"eventType\": \"Microsoft.MockPublisher.TestEvent\",\r\n \"eventTime\": \"2019-03-08T01:47:07.4969859Z\",\r\n \"dataVersion\": \"1.0\"\r\n },\r\n {\r\n \"id\": \"5f52c343-c1eb-4faf-9eac-b0e472d71839\",\r\n \"topic\": \"Topic-8\",\r\n \"subject\": \"Subject-8\",\r\n \"data\": {\r\n \"Field1\": \"Value1\",\r\n \"Field2\": \"Value2\",\r\n \"Field3\": \"Value3\"\r\n },\r\n \"eventType\": \"Microsoft.MockPublisher.TestEvent\",\r\n \"eventTime\": \"2019-03-08T01:47:07.4969882Z\",\r\n \"dataVersion\": \"1.0\"\r\n },\r\n {\r\n \"id\": \"337880ea-cc75-4867-984b-da00741edb4b\",\r\n \"topic\": \"Topic-9\",\r\n \"subject\": \"Subject-9\",\r\n \"data\": {\r\n \"Field1\": \"Value1\",\r\n \"Field2\": \"Value2\",\r\n \"Field3\": \"Value3\"\r\n },\r\n \"eventType\": \"Microsoft.MockPublisher.TestEvent\",\r\n \"eventTime\": \"2019-03-08T01:47:07.4969897Z\",\r\n \"dataVersion\": \"1.0\"\r\n }\r\n]",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "f5f4fd3f-7fd0-43ba-b1e4-f866da1ec992"
- ],
- "accept-language": [
- "en-US"
- ],
- "aeg-sas-key": [
- "dz3fPZiq1JM6FRIVFhHKAlivT3u6GiuV64X1tG/yuoE="
- ],
- "User-Agent": [
- "FxVersion/4.6.26614.01",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.EventGrid.EventGridClient/3.0.0.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "3503"
- ]
- },
- "ResponseHeaders": {
- "Date": [
- "Fri, 08 Mar 2019 01:47:07 GMT"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "api-supported-versions": [
- "2018-01-01"
- ],
- "x-ms-request-id": [
- "1c10ddc2-be5f-4301-9401-6a7901f73ed3"
- ],
- "Content-Length": [
- "0"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-2250/providers/Microsoft.EventGrid/domains/sdk-Domain-7001?api-version=2019-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWI0YjY1MGUtMjhiOS00NzkwLWIzYWItZGRiZDg4ZDcyN2M0L3Jlc291cmNlR3JvdXBzL3Nkay1FdmVudEdyaWQtUkctMjI1MC9wcm92aWRlcnMvTWljcm9zb2Z0LkV2ZW50R3JpZC9kb21haW5zL3Nkay1Eb21haW4tNzAwMT9hcGktdmVyc2lvbj0yMDE5LTAyLTAxLXByZXZpZXc=",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "a33d9626-3918-4bd8-818e-f8e80d145398"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.26614.01",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.EventGrid.EventGridManagementClient/4.0.0.0"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 08 Mar 2019 01:47:07 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/locations/centraluseuap/operationResults/F157408A-5490-4EA1-AC1F-075B2BCE2A09?api-version=2019-02-01-preview"
- ],
- "Retry-After": [
- "10"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-deletes": [
- "14999"
- ],
- "x-ms-request-id": [
- "f86b7a20-cc68-408d-82a7-bc46c917b148"
- ],
- "x-ms-correlation-request-id": [
- "f86b7a20-cc68-408d-82a7-bc46c917b148"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20190308T014708Z:f86b7a20-cc68-408d-82a7-bc46c917b148"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/locations/centraluseuap/operationResults/F157408A-5490-4EA1-AC1F-075B2BCE2A09?api-version=2019-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWI0YjY1MGUtMjhiOS00NzkwLWIzYWItZGRiZDg4ZDcyN2M0L3Byb3ZpZGVycy9NaWNyb3NvZnQuRXZlbnRHcmlkL2xvY2F0aW9ucy9jZW50cmFsdXNldWFwL29wZXJhdGlvblJlc3VsdHMvRjE1NzQwOEEtNTQ5MC00RUExLUFDMUYtMDc1QjJCQ0UyQTA5P2FwaS12ZXJzaW9uPTIwMTktMDItMDEtcHJldmlldw==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.6.26614.01",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.EventGrid.EventGridManagementClient/4.0.0.0"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 08 Mar 2019 01:47:17 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-request-id": [
- "338ed07d-7bbf-47ef-bdd1-5147342c6302"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11997"
- ],
- "x-ms-correlation-request-id": [
- "2944361c-036e-4f6e-9e09-7db5982144c8"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20190308T014718Z:2944361c-036e-4f6e-9e09-7db5982144c8"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/locations/centraluseuap/operationResults/F157408A-5490-4EA1-AC1F-075B2BCE2A09?api-version=2019-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWI0YjY1MGUtMjhiOS00NzkwLWIzYWItZGRiZDg4ZDcyN2M0L3Byb3ZpZGVycy9NaWNyb3NvZnQuRXZlbnRHcmlkL2xvY2F0aW9ucy9jZW50cmFsdXNldWFwL29wZXJhdGlvblJlc3VsdHMvRjE1NzQwOEEtNTQ5MC00RUExLUFDMUYtMDc1QjJCQ0UyQTA5P2FwaS12ZXJzaW9uPTIwMTktMDItMDEtcHJldmlldw==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.6.26614.01",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.EventGrid.EventGridManagementClient/4.0.0.0"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 08 Mar 2019 01:47:17 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-request-id": [
- "aced592d-6346-4ab2-ba82-710f486eeded"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11996"
- ],
- "x-ms-correlation-request-id": [
- "93d5a78b-e002-45a1-9f38-95d4d2d1f552"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20190308T014718Z:93d5a78b-e002-45a1-9f38-95d4d2d1f552"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- }
- ],
- "Names": {
- "PublishEventsToDomain": [
- "sdk-EventGrid-RG-2250",
- "sdk-Domain-7001"
- ]
- },
- "Variables": {
- "SubscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4"
- }
-}
\ No newline at end of file
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/SessionRecords/ScenarioTests/PublishEventsToTopic.json b/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/SessionRecords/ScenarioTests/PublishEventsToTopic.json
deleted file mode 100644
index 82bf4c1f1c25e..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/SessionRecords/ScenarioTests/PublishEventsToTopic.json
+++ /dev/null
@@ -1,616 +0,0 @@
-{
- "Entries": [
- {
- "RequestUri": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups?api-version=2015-11-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWI0YjY1MGUtMjhiOS00NzkwLWIzYWItZGRiZDg4ZDcyN2M0L3Jlc291cmNlZ3JvdXBzP2FwaS12ZXJzaW9uPTIwMTUtMTEtMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "5930a5b7-3c0c-46e5-8307-5425f49419af"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.26614.01",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 08 Mar 2019 01:26:27 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11955"
- ],
- "x-ms-request-id": [
- "7a43c941-22f0-4802-94b0-78c82f44c96b"
- ],
- "x-ms-correlation-request-id": [
- "7a43c941-22f0-4802-94b0-78c82f44c96b"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20190308T012628Z:7a43c941-22f0-4802-94b0-78c82f44c96b"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Content-Length": [
- "15128"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/amh\",\r\n \"name\": \"amh\",\r\n \"location\": \"centraluseuap\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridArmRunnerRGCentralIndia\",\r\n \"name\": \"AzureEventGridArmRunnerRGCentralIndia\",\r\n \"location\": \"centralindia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridArmRunnerRGEastUS\",\r\n \"name\": \"AzureEventGridArmRunnerRGEastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridArmRunnerRGEastUS2EUAP\",\r\n \"name\": \"AzureEventGridArmRunnerRGEastUS2EUAP\",\r\n \"location\": \"eastus2euap\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridArmRunnerRGWestUS\",\r\n \"name\": \"AzureEventGridArmRunnerRGWestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridArmRunnerWestCentralUS\",\r\n \"name\": \"AzureEventGridArmRunnerWestCentralUS\",\r\n \"location\": \"westcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGAustraliaCentral\",\r\n \"name\": \"AzureEventGridRunnerRGAustraliaCentral\",\r\n \"location\": \"australiacentral\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGAustraliaCentral2\",\r\n \"name\": \"AzureEventGridRunnerRGAustraliaCentral2\",\r\n \"location\": \"australiacentral2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGAustraliaEast\",\r\n \"name\": \"AzureEventGridRunnerRGAustraliaEast\",\r\n \"location\": \"australiaeast\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGAustraliaSoutheast\",\r\n \"name\": \"AzureEventGridRunnerRGAustraliaSoutheast\",\r\n \"location\": \"australiasoutheast\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGBrazilSouth\",\r\n \"name\": \"AzureEventGridRunnerRGBrazilSouth\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGCanadaCentral\",\r\n \"name\": \"AzureEventGridRunnerRGCanadaCentral\",\r\n \"location\": \"canadacentral\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGCanadaEast\",\r\n \"name\": \"AzureEventGridRunnerRGCanadaEast\",\r\n \"location\": \"canadaeast\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGCentralIndia\",\r\n \"name\": \"AzureEventGridRunnerRGCentralIndia\",\r\n \"location\": \"centralindia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGCentralUS\",\r\n \"name\": \"AzureEventGridRunnerRGCentralUS\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGCentralUSEUAP\",\r\n \"name\": \"AzureEventGridRunnerRGCentralUSEUAP\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGEastAsia\",\r\n \"name\": \"AzureEventGridRunnerRGEastAsia\",\r\n \"location\": \"eastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGEastUS\",\r\n \"name\": \"AzureEventGridRunnerRGEastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGEastUS2\",\r\n \"name\": \"AzureEventGridRunnerRGEastUS2\",\r\n \"location\": \"eastus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGEastUS2EUAP\",\r\n \"name\": \"AzureEventGridRunnerRGEastUS2EUAP\",\r\n \"location\": \"eastus2euap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGFranceCentral\",\r\n \"name\": \"AzureEventGridRunnerRGFranceCentral\",\r\n \"location\": \"francecentral\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGFranceSouth\",\r\n \"name\": \"AzureEventGridRunnerRGFranceSouth\",\r\n \"location\": \"francesouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGJapanEast\",\r\n \"name\": \"AzureEventGridRunnerRGJapanEast\",\r\n \"location\": \"japaneast\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGJapanWest\",\r\n \"name\": \"AzureEventGridRunnerRGJapanWest\",\r\n \"location\": \"japanwest\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGKoreaCentral\",\r\n \"name\": \"AzureEventGridRunnerRGKoreaCentral\",\r\n \"location\": \"koreacentral\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGKoreaSouth\",\r\n \"name\": \"AzureEventGridRunnerRGKoreaSouth\",\r\n \"location\": \"koreasouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGNorthCentralUS\",\r\n \"name\": \"AzureEventGridRunnerRGNorthCentralUS\",\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGNorthEurope\",\r\n \"name\": \"AzureEventGridRunnerRGNorthEurope\",\r\n \"location\": \"northeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGSouthCentralUS\",\r\n \"name\": \"AzureEventGridRunnerRGSouthCentralUS\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGSouthEastAsia\",\r\n \"name\": \"AzureEventGridRunnerRGSouthEastAsia\",\r\n \"location\": \"southeastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGSouthIndia\",\r\n \"name\": \"AzureEventGridRunnerRGSouthIndia\",\r\n \"location\": \"southindia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGUKSouth\",\r\n \"name\": \"AzureEventGridRunnerRGUKSouth\",\r\n \"location\": \"uksouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGUKWest\",\r\n \"name\": \"AzureEventGridRunnerRGUKWest\",\r\n \"location\": \"ukwest\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGUSWest\",\r\n \"name\": \"AzureEventGridRunnerRGUSWest\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGWestCentralUS\",\r\n \"name\": \"AzureEventGridRunnerRGWestCentralUS\",\r\n \"location\": \"westcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGWestEurope\",\r\n \"name\": \"AzureEventGridRunnerRGWestEurope\",\r\n \"location\": \"westeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGWestIndia\",\r\n \"name\": \"AzureEventGridRunnerRGWestIndia\",\r\n \"location\": \"westindia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/AzureEventGridRunnerRGWestUS2\",\r\n \"name\": \"AzureEventGridRunnerRGWestUS2\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/Default-Storage-EastUS2\",\r\n \"name\": \"Default-Storage-EastUS2\",\r\n \"location\": \"eastus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/Default-Storage-SouthCentralUS\",\r\n \"name\": \"Default-Storage-SouthCentralUS\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/DevExpRg\",\r\n \"name\": \"DevExpRg\",\r\n \"location\": \"westcentralus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/eg-dfd-ussc\",\r\n \"name\": \"eg-dfd-ussc\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/eg-euap-use2\",\r\n \"name\": \"eg-euap-use2\",\r\n \"location\": \"eastus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/egdfdussc\",\r\n \"name\": \"egdfdussc\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/EventGridRunnerTestResourceGroup\",\r\n \"name\": \"EventGridRunnerTestResourceGroup\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-1031\",\r\n \"name\": \"sdk-EventGrid-RG-1031\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-1509\",\r\n \"name\": \"sdk-EventGrid-RG-1509\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-2463\",\r\n \"name\": \"sdk-EventGrid-RG-2463\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-2488\",\r\n \"name\": \"sdk-EventGrid-RG-2488\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-2857\",\r\n \"name\": \"sdk-EventGrid-RG-2857\",\r\n \"location\": \"westcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-3101\",\r\n \"name\": \"sdk-EventGrid-RG-3101\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-3439\",\r\n \"name\": \"sdk-EventGrid-RG-3439\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-353\",\r\n \"name\": \"sdk-EventGrid-RG-353\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-3663\",\r\n \"name\": \"sdk-EventGrid-RG-3663\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-3932\",\r\n \"name\": \"sdk-EventGrid-RG-3932\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-580\",\r\n \"name\": \"sdk-EventGrid-RG-580\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-5979\",\r\n \"name\": \"sdk-EventGrid-RG-5979\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-6138\",\r\n \"name\": \"sdk-EventGrid-RG-6138\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-7115\",\r\n \"name\": \"sdk-EventGrid-RG-7115\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-7192\",\r\n \"name\": \"sdk-EventGrid-RG-7192\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-7552\",\r\n \"name\": \"sdk-EventGrid-RG-7552\",\r\n \"location\": \"westcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-7894\",\r\n \"name\": \"sdk-EventGrid-RG-7894\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-7895\",\r\n \"name\": \"sdk-EventGrid-RG-7895\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-8203\",\r\n \"name\": \"sdk-EventGrid-RG-8203\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-8605\",\r\n \"name\": \"sdk-EventGrid-RG-8605\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-8739\",\r\n \"name\": \"sdk-EventGrid-RG-8739\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-8746\",\r\n \"name\": \"sdk-EventGrid-RG-8746\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-9055\",\r\n \"name\": \"sdk-EventGrid-RG-9055\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-9588\",\r\n \"name\": \"sdk-EventGrid-RG-9588\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-9968\",\r\n \"name\": \"sdk-EventGrid-RG-9968\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/test1\",\r\n \"name\": \"test1\",\r\n \"location\": \"eastus2euap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/sdk-EventGrid-RG-8766?api-version=2015-11-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWI0YjY1MGUtMjhiOS00NzkwLWIzYWItZGRiZDg4ZDcyN2M0L3Jlc291cmNlZ3JvdXBzL3Nkay1FdmVudEdyaWQtUkctODc2Nj9hcGktdmVyc2lvbj0yMDE1LTExLTAx",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"location\": \"centraluseuap\"\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "6b08beba-d109-454c-9565-adb5288d5281"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.26614.01",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "35"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 08 Mar 2019 01:26:28 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1199"
- ],
- "x-ms-request-id": [
- "acf8dfc7-3bb2-4b45-b4af-f9c841a30399"
- ],
- "x-ms-correlation-request-id": [
- "acf8dfc7-3bb2-4b45-b4af-f9c841a30399"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20190308T012629Z:acf8dfc7-3bb2-4b45-b4af-f9c841a30399"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Content-Length": [
- "202"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-8766\",\r\n \"name\": \"sdk-EventGrid-RG-8766\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
- "StatusCode": 201
- },
- {
- "RequestUri": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-8766/providers/Microsoft.EventGrid/topics/sdk-Topic-2169?api-version=2019-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWI0YjY1MGUtMjhiOS00NzkwLWIzYWItZGRiZDg4ZDcyN2M0L3Jlc291cmNlR3JvdXBzL3Nkay1FdmVudEdyaWQtUkctODc2Ni9wcm92aWRlcnMvTWljcm9zb2Z0LkV2ZW50R3JpZC90b3BpY3Mvc2RrLVRvcGljLTIxNjk/YXBpLXZlcnNpb249MjAxOS0wMi0wMS1wcmV2aWV3",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"location\": \"centraluseuap\",\r\n \"tags\": {\r\n \"originalTag1\": \"originalValue1\",\r\n \"originalTag2\": \"originalValue2\"\r\n }\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "f363ecf2-be6b-480e-a9e8-980e7063d818"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.26614.01",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.EventGrid.EventGridManagementClient/4.0.0.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "131"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 08 Mar 2019 01:26:30 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "10"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Azure-AsyncOperation": [
- "https://management.azure.com:443/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/locations/centraluseuap/operationsStatus/7D6528EA-43BB-4E03-B9F9-1CF5AAC95D40?api-version=2019-02-01-preview"
- ],
- "x-ms-request-id": [
- "297b5036-5071-4472-b6da-9a0929362b28"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1199"
- ],
- "x-ms-correlation-request-id": [
- "ee5369af-07ff-4622-876c-1e1a4365d96a"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20190308T012630Z:ee5369af-07ff-4622-876c-1e1a4365d96a"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Content-Length": [
- "371"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"endpoint\": null\r\n },\r\n \"location\": \"centraluseuap\",\r\n \"tags\": {\r\n \"originalTag1\": \"originalValue1\",\r\n \"originalTag2\": \"originalValue2\"\r\n },\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-8766/providers/Microsoft.EventGrid/topics/sdk-Topic-2169\",\r\n \"name\": \"sdk-Topic-2169\",\r\n \"type\": \"Microsoft.EventGrid/topics\"\r\n}",
- "StatusCode": 201
- },
- {
- "RequestUri": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/locations/centraluseuap/operationsStatus/7D6528EA-43BB-4E03-B9F9-1CF5AAC95D40?api-version=2019-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWI0YjY1MGUtMjhiOS00NzkwLWIzYWItZGRiZDg4ZDcyN2M0L3Byb3ZpZGVycy9NaWNyb3NvZnQuRXZlbnRHcmlkL2xvY2F0aW9ucy9jZW50cmFsdXNldWFwL29wZXJhdGlvbnNTdGF0dXMvN0Q2NTI4RUEtNDNCQi00RTAzLUI5RjktMUNGNUFBQzk1RDQwP2FwaS12ZXJzaW9uPTIwMTktMDItMDEtcHJldmlldw==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.6.26614.01",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.EventGrid.EventGridManagementClient/4.0.0.0"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 08 Mar 2019 01:26:40 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-request-id": [
- "d87f8e9b-6753-4b7e-b5da-849473e2165b"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11999"
- ],
- "x-ms-correlation-request-id": [
- "05df9402-55ae-4ed1-b037-204d1c390d38"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20190308T012641Z:05df9402-55ae-4ed1-b037-204d1c390d38"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Content-Length": [
- "294"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"https://management.azure.com/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/locations/centraluseuap/operationsStatus/7D6528EA-43BB-4E03-B9F9-1CF5AAC95D40?api-version=2019-02-01-preview\",\r\n \"name\": \"7d6528ea-43bb-4e03-b9f9-1cf5aac95d40\",\r\n \"status\": \"Succeeded\"\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-8766/providers/Microsoft.EventGrid/topics/sdk-Topic-2169?api-version=2019-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWI0YjY1MGUtMjhiOS00NzkwLWIzYWItZGRiZDg4ZDcyN2M0L3Jlc291cmNlR3JvdXBzL3Nkay1FdmVudEdyaWQtUkctODc2Ni9wcm92aWRlcnMvTWljcm9zb2Z0LkV2ZW50R3JpZC90b3BpY3Mvc2RrLVRvcGljLTIxNjk/YXBpLXZlcnNpb249MjAxOS0wMi0wMS1wcmV2aWV3",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.6.26614.01",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.EventGrid.EventGridManagementClient/4.0.0.0"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 08 Mar 2019 01:26:40 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-request-id": [
- "a582005e-a96f-4eaf-aed1-3f472a0e0108"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11998"
- ],
- "x-ms-correlation-request-id": [
- "55dc20ac-6fb1-4bd2-9dc0-983a3675f261"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20190308T012641Z:55dc20ac-6fb1-4bd2-9dc0-983a3675f261"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Content-Length": [
- "471"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"endpoint\": \"https://sdk-topic-2169.centraluseuap-1.eventgrid.azure.net/api/events\",\r\n \"inputSchema\": \"EventGridSchema\"\r\n },\r\n \"location\": \"centraluseuap\",\r\n \"tags\": {\r\n \"originalTag1\": \"originalValue1\",\r\n \"originalTag2\": \"originalValue2\"\r\n },\r\n \"id\": \"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-8766/providers/Microsoft.EventGrid/topics/sdk-Topic-2169\",\r\n \"name\": \"sdk-Topic-2169\",\r\n \"type\": \"Microsoft.EventGrid/topics\"\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-8766/providers/Microsoft.EventGrid/topics/sdk-Topic-2169/listKeys?api-version=2019-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWI0YjY1MGUtMjhiOS00NzkwLWIzYWItZGRiZDg4ZDcyN2M0L3Jlc291cmNlR3JvdXBzL3Nkay1FdmVudEdyaWQtUkctODc2Ni9wcm92aWRlcnMvTWljcm9zb2Z0LkV2ZW50R3JpZC90b3BpY3Mvc2RrLVRvcGljLTIxNjkvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxOS0wMi0wMS1wcmV2aWV3",
- "RequestMethod": "POST",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "b1b1bc95-0dcb-4199-8979-a628d21866da"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.26614.01",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.EventGrid.EventGridManagementClient/4.0.0.0"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 08 Mar 2019 01:27:41 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-request-id": [
- "b91ae98d-4082-4b38-a8f7-11d022fb5ffc"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
- ],
- "x-ms-correlation-request-id": [
- "98029c30-612e-4227-822f-6b7bab0d1f2c"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20190308T012741Z:98029c30-612e-4227-822f-6b7bab0d1f2c"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Content-Length": [
- "109"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"key1\": \"7poRjsCif38ok/uHvjvsDQEhB4u7pEQZZvv791n5q/w=\",\r\n \"key2\": \"cM1/ZG3gQ6jsa9f/dn8pn9kKjn0mCM4MzaYC5BmUj78=\"\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/api/events?api-version=2018-01-01",
- "EncodedRequestUri": "L2FwaS9ldmVudHM/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==",
- "RequestMethod": "POST",
- "RequestBody": "[\r\n {\r\n \"id\": \"22430c9e-ff30-4a31-8843-e32bba5d2e57\",\r\n \"subject\": \"TestSubject\",\r\n \"data\": {\r\n \"Field1\": \"Value1\",\r\n \"Field2\": \"Value2\",\r\n \"Field3\": \"Value3\"\r\n },\r\n \"eventType\": \"Microsoft.MockPublisher.TestEvent\",\r\n \"eventTime\": \"2019-03-08T01:27:42.2722268Z\",\r\n \"dataVersion\": \"1.0\"\r\n },\r\n {\r\n \"id\": \"767f5fde-8b5e-4919-b227-7bdf6828d85d\",\r\n \"subject\": \"TestSubject\",\r\n \"data\": {\r\n \"Field1\": \"Value1\",\r\n \"Field2\": \"Value2\",\r\n \"Field3\": \"Value3\"\r\n },\r\n \"eventType\": \"Microsoft.MockPublisher.TestEvent\",\r\n \"eventTime\": \"2019-03-08T01:27:42.2722333Z\",\r\n \"dataVersion\": \"1.0\"\r\n },\r\n {\r\n \"id\": \"da3df647-ffb1-4fbb-ae8b-b6b354d36cde\",\r\n \"subject\": \"TestSubject\",\r\n \"data\": {\r\n \"Field1\": \"Value1\",\r\n \"Field2\": \"Value2\",\r\n \"Field3\": \"Value3\"\r\n },\r\n \"eventType\": \"Microsoft.MockPublisher.TestEvent\",\r\n \"eventTime\": \"2019-03-08T01:27:42.2722392Z\",\r\n \"dataVersion\": \"1.0\"\r\n },\r\n {\r\n \"id\": \"6904e6b6-2fc4-4e9e-bce9-535afb9e5b73\",\r\n \"subject\": \"TestSubject\",\r\n \"data\": {\r\n \"Field1\": \"Value1\",\r\n \"Field2\": \"Value2\",\r\n \"Field3\": \"Value3\"\r\n },\r\n \"eventType\": \"Microsoft.MockPublisher.TestEvent\",\r\n \"eventTime\": \"2019-03-08T01:27:42.2722407Z\",\r\n \"dataVersion\": \"1.0\"\r\n },\r\n {\r\n \"id\": \"cb2d67a0-e330-4a17-a21b-ad9c3ec24923\",\r\n \"subject\": \"TestSubject\",\r\n \"data\": {\r\n \"Field1\": \"Value1\",\r\n \"Field2\": \"Value2\",\r\n \"Field3\": \"Value3\"\r\n },\r\n \"eventType\": \"Microsoft.MockPublisher.TestEvent\",\r\n \"eventTime\": \"2019-03-08T01:27:42.2722412Z\",\r\n \"dataVersion\": \"1.0\"\r\n },\r\n {\r\n \"id\": \"300e24da-054c-46a0-9b53-a9c90e9c8bba\",\r\n \"subject\": \"TestSubject\",\r\n \"data\": {\r\n \"Field1\": \"Value1\",\r\n \"Field2\": \"Value2\",\r\n \"Field3\": \"Value3\"\r\n },\r\n \"eventType\": \"Microsoft.MockPublisher.TestEvent\",\r\n \"eventTime\": \"2019-03-08T01:27:42.2722419Z\",\r\n \"dataVersion\": \"1.0\"\r\n },\r\n {\r\n \"id\": \"84ee317c-73b0-491a-80d5-847967cf9f07\",\r\n \"subject\": \"TestSubject\",\r\n \"data\": {\r\n \"Field1\": \"Value1\",\r\n \"Field2\": \"Value2\",\r\n \"Field3\": \"Value3\"\r\n },\r\n \"eventType\": \"Microsoft.MockPublisher.TestEvent\",\r\n \"eventTime\": \"2019-03-08T01:27:42.2722423Z\",\r\n \"dataVersion\": \"1.0\"\r\n },\r\n {\r\n \"id\": \"07d444d7-3ae9-48a4-ac36-9de78d58e6e1\",\r\n \"subject\": \"TestSubject\",\r\n \"data\": {\r\n \"Field1\": \"Value1\",\r\n \"Field2\": \"Value2\",\r\n \"Field3\": \"Value3\"\r\n },\r\n \"eventType\": \"Microsoft.MockPublisher.TestEvent\",\r\n \"eventTime\": \"2019-03-08T01:27:42.2722428Z\",\r\n \"dataVersion\": \"1.0\"\r\n },\r\n {\r\n \"id\": \"c8cba2c8-69b4-4a9e-9267-e250bc541fd6\",\r\n \"subject\": \"TestSubject\",\r\n \"data\": {\r\n \"Field1\": \"Value1\",\r\n \"Field2\": \"Value2\",\r\n \"Field3\": \"Value3\"\r\n },\r\n \"eventType\": \"Microsoft.MockPublisher.TestEvent\",\r\n \"eventTime\": \"2019-03-08T01:27:42.2722432Z\",\r\n \"dataVersion\": \"1.0\"\r\n },\r\n {\r\n \"id\": \"7ecf2bde-fd29-4e75-b618-075af11e5410\",\r\n \"subject\": \"TestSubject\",\r\n \"data\": {\r\n \"Field1\": \"Value1\",\r\n \"Field2\": \"Value2\",\r\n \"Field3\": \"Value3\"\r\n },\r\n \"eventType\": \"Microsoft.MockPublisher.TestEvent\",\r\n \"eventTime\": \"2019-03-08T01:27:42.2722438Z\",\r\n \"dataVersion\": \"1.0\"\r\n }\r\n]",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "a52a29de-00d2-4520-a03d-b6df974871e7"
- ],
- "accept-language": [
- "en-US"
- ],
- "aeg-sas-key": [
- "7poRjsCif38ok/uHvjvsDQEhB4u7pEQZZvv791n5q/w="
- ],
- "User-Agent": [
- "FxVersion/4.6.26614.01",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.EventGrid.EventGridClient/3.0.0.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "3273"
- ]
- },
- "ResponseHeaders": {
- "Date": [
- "Fri, 08 Mar 2019 01:27:42 GMT"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "api-supported-versions": [
- "2018-01-01"
- ],
- "x-ms-request-id": [
- "e4f999d9-1f11-4528-a3ed-ac5fd3ef814b"
- ],
- "Content-Length": [
- "0"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/sdk-EventGrid-RG-8766/providers/Microsoft.EventGrid/topics/sdk-Topic-2169?api-version=2019-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWI0YjY1MGUtMjhiOS00NzkwLWIzYWItZGRiZDg4ZDcyN2M0L3Jlc291cmNlR3JvdXBzL3Nkay1FdmVudEdyaWQtUkctODc2Ni9wcm92aWRlcnMvTWljcm9zb2Z0LkV2ZW50R3JpZC90b3BpY3Mvc2RrLVRvcGljLTIxNjk/YXBpLXZlcnNpb249MjAxOS0wMi0wMS1wcmV2aWV3",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "9089a447-4751-4298-b953-6c2e7afdc70a"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.26614.01",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.EventGrid.EventGridManagementClient/4.0.0.0"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 08 Mar 2019 01:27:42 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/locations/centraluseuap/operationResults/93EA9E66-8407-46E8-B1E2-F7BF7A27831F?api-version=2019-02-01-preview"
- ],
- "Retry-After": [
- "10"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-ratelimit-remaining-subscription-deletes": [
- "14996"
- ],
- "x-ms-request-id": [
- "7a628cb1-1aee-40b2-94f4-96eeecf547f1"
- ],
- "x-ms-correlation-request-id": [
- "7a628cb1-1aee-40b2-94f4-96eeecf547f1"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20190308T012742Z:7a628cb1-1aee-40b2-94f4-96eeecf547f1"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/locations/centraluseuap/operationResults/93EA9E66-8407-46E8-B1E2-F7BF7A27831F?api-version=2019-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWI0YjY1MGUtMjhiOS00NzkwLWIzYWItZGRiZDg4ZDcyN2M0L3Byb3ZpZGVycy9NaWNyb3NvZnQuRXZlbnRHcmlkL2xvY2F0aW9ucy9jZW50cmFsdXNldWFwL29wZXJhdGlvblJlc3VsdHMvOTNFQTlFNjYtODQwNy00NkU4LUIxRTItRjdCRjdBMjc4MzFGP2FwaS12ZXJzaW9uPTIwMTktMDItMDEtcHJldmlldw==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.6.26614.01",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.EventGrid.EventGridManagementClient/4.0.0.0"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 08 Mar 2019 01:27:52 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-request-id": [
- "63eb941a-1b7f-4d25-8933-e1c15937a5e5"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11992"
- ],
- "x-ms-correlation-request-id": [
- "22b2afed-a931-49ed-b948-770850558c18"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20190308T012753Z:22b2afed-a931-49ed-b948-770850558c18"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/locations/centraluseuap/operationResults/93EA9E66-8407-46E8-B1E2-F7BF7A27831F?api-version=2019-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWI0YjY1MGUtMjhiOS00NzkwLWIzYWItZGRiZDg4ZDcyN2M0L3Byb3ZpZGVycy9NaWNyb3NvZnQuRXZlbnRHcmlkL2xvY2F0aW9ucy9jZW50cmFsdXNldWFwL29wZXJhdGlvblJlc3VsdHMvOTNFQTlFNjYtODQwNy00NkU4LUIxRTItRjdCRjdBMjc4MzFGP2FwaS12ZXJzaW9uPTIwMTktMDItMDEtcHJldmlldw==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.6.26614.01",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.EventGrid.EventGridManagementClient/4.0.0.0"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 08 Mar 2019 01:27:52 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Server": [
- "Microsoft-HTTPAPI/2.0"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "x-ms-request-id": [
- "d6268717-5362-4cdd-abd7-c05db3dca405"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11991"
- ],
- "x-ms-correlation-request-id": [
- "38941fbb-3037-49f9-81c1-af20fa0d3cc3"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20190308T012753Z:38941fbb-3037-49f9-81c1-af20fa0d3cc3"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- }
- ],
- "Names": {
- "PublishEventsToTopic": [
- "sdk-EventGrid-RG-8766",
- "sdk-Topic-2169"
- ]
- },
- "Variables": {
- "SubscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4"
- }
-}
\ No newline at end of file
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/TestHelper/EventGridManagementHelper.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/TestHelper/EventGridManagementHelper.cs
deleted file mode 100644
index 1a9a46d33192a..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/TestHelper/EventGridManagementHelper.cs
+++ /dev/null
@@ -1,94 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for license information.
-
-using System;
-using System.Linq;
-using Microsoft.Azure.EventGrid.Models;
-using Microsoft.Azure.Management.EventGrid;
-using Microsoft.Azure.Management.Resources;
-using Microsoft.Azure.Management.Resources.Models;
-using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
-
-namespace Microsoft.Azure.EventGrid.Tests.TestHelper
-{
- public static class EventGridManagementHelper
- {
- internal const string TopicPrefix = "sdk-Topic-";
- internal const string DomainPrefix = "sdk-Domain-";
- internal const string DomainTopicPrefix = "sdk-DomainTopic-";
- internal const string EventGridPrefix = "sdk-EventGrid-";
- internal const string ResourceGroupPrefix = "sdk-EventGrid-RG-";
-
- public static EventGridManagementClient GetEventGridManagementClient(MockContext context, RecordedDelegatingHandler handler)
- {
- if (handler != null)
- {
- handler.IsPassThrough = true;
- EventGridManagementClient eventGridManagementClient = context.GetServiceClient(handlers: handler);
-
- // By default test framework sets this to 0 during playback, and during record mode it uses default client timeout sets by the generated code
- // If you want to change that time out during recording, please use HttpMockServer.Mode to detect Record/Playback
- // Tests execution should not take more than 1 second during playback.
- //eventGridManagementClient.LongRunningOperationRetryTimeout = 2;
- return eventGridManagementClient;
- }
-
- return null;
- }
-
- public static EventGridClient GetEventGridClient(MockContext context, ResourceCredentials credentials, RecordedDelegatingHandler handler)
- {
- if (handler != null)
- {
- handler.IsPassThrough = true;
- TestEnvironment testEnvironment = TestEnvironmentFactory.GetTestEnvironment();
- EventGridClient eventGridClient = context.GetServiceClientWithCredentials(testEnvironment, credentials, true, handler);
- return eventGridClient;
- }
-
- return null;
- }
-
- public static ResourceManagementClient GetResourceManagementClient(MockContext context, RecordedDelegatingHandler handler)
- {
- if (handler != null)
- {
- handler.IsPassThrough = true;
- ResourceManagementClient resourceManagementClient = context.GetServiceClient(handlers: handler);
-
- // By default test framework sets this to 0 during playback, and during record mode it uses default client timeout sets by the generated code
- // If you want to change that time out during recording, please use HttpMockServer.Mode to detect Record/Playback
- // Tests execution should not take more than 1 second during playback.
- //resourceManagementClient.LongRunningOperationRetryTimeout = 5;
- return resourceManagementClient;
- }
-
- return null;
- }
-
- public static string TryGetResourceGroup(this ResourceManagementClient resourceManagementClient, string location)
- {
- const string DefaultResourceGroupName = "SDKTests";
-
- var resourceGroup = resourceManagementClient.ResourceGroups
- .List().Where(group => string.IsNullOrWhiteSpace(location) || group.Location.Equals(location.Replace(" ", string.Empty), StringComparison.OrdinalIgnoreCase))
- .FirstOrDefault(group => group.Name.Contains(DefaultResourceGroupName));
-
- return resourceGroup != null
- ? resourceGroup.Name
- : string.Empty;
- }
-
- public static void TryRegisterResourceGroup(this ResourceManagementClient resourceManagementClient, string location, string resourceGroupName)
- {
- resourceManagementClient.ResourceGroups.CreateOrUpdate(resourceGroupName, new ResourceGroup(location));
- }
-
- public static string GetLocationFromProvider(this ResourceManagementClient resourceManagementClient)
- {
- // Central US EUAP is one of our early deployment regions
- // so we typically record tests targeting this region.
- return "centraluseuap";
- }
- }
-}
\ No newline at end of file
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/TestHelper/RecordedDelegatingHandler.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/TestHelper/RecordedDelegatingHandler.cs
deleted file mode 100644
index 0d72dede6b27b..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/TestHelper/RecordedDelegatingHandler.cs
+++ /dev/null
@@ -1,90 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for license information.
-
-using System;
-using System.Net;
-using System.Net.Http;
-using System.Net.Http.Headers;
-using System.Threading.Tasks;
-
-namespace Microsoft.Azure.EventGrid.Tests.TestHelper
-{
- public class RecordedDelegatingHandler : DelegatingHandler
- {
- private HttpResponseMessage _response;
-
- public RecordedDelegatingHandler()
- {
- StatusCodeToReturn = HttpStatusCode.Created;
- SubsequentStatusCodeToReturn = StatusCodeToReturn;
- }
-
- public RecordedDelegatingHandler(HttpResponseMessage response)
- {
- StatusCodeToReturn = HttpStatusCode.Created;
- SubsequentStatusCodeToReturn = StatusCodeToReturn;
- _response = response;
- }
-
- public HttpStatusCode StatusCodeToReturn { get; set; }
-
- public HttpStatusCode SubsequentStatusCodeToReturn { get; set; }
-
- public string Request { get; private set; }
-
- public HttpRequestHeaders RequestHeaders { get; private set; }
-
- public HttpContentHeaders ContentHeaders { get; private set; }
-
- public HttpMethod Method { get; private set; }
-
- public Uri Uri { get; private set; }
-
- public bool IsPassThrough { get; set; }
-
- private int counter;
-
- protected override async Task SendAsync(HttpRequestMessage request, System.Threading.CancellationToken cancellationToken)
- {
- counter++;
- // Save request
- if (request.Content == null)
- {
- Request = string.Empty;
- }
- else
- {
- Request = await request.Content.ReadAsStringAsync();
- }
- RequestHeaders = request.Headers;
- if (request.Content != null)
- {
- ContentHeaders = request.Content.Headers;
- }
- Method = request.Method;
- Uri = request.RequestUri;
-
- // Prepare response
- if (IsPassThrough)
- {
- return await base.SendAsync(request, cancellationToken);
- }
- else
- {
- if (_response != null && counter == 1)
- {
- return _response;
- }
- else
- {
- var statusCode = StatusCodeToReturn;
- if (counter > 1)
- statusCode = SubsequentStatusCodeToReturn;
- HttpResponseMessage response = new HttpResponseMessage(statusCode);
- response.Content = new StringContent("");
- return response;
- }
- }
- }
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/Tests/ConsumeEventTests.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/Tests/ConsumeEventTests.cs
deleted file mode 100644
index 4cc0cc4fc3f62..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/Tests/ConsumeEventTests.cs
+++ /dev/null
@@ -1,1347 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for license information.
-
-using Microsoft.Azure.EventGrid.Models;
-using Microsoft.Rest.Serialization;
-using Newtonsoft.Json;
-using Newtonsoft.Json.Linq;
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using Xunit;
-
-namespace Microsoft.Azure.EventGrid.Tests.ScenarioTests
-{
- public class ConsumptionTests
- {
- readonly EventGridSubscriber eventGridSubscriber;
-
- public ConsumptionTests()
- {
- eventGridSubscriber = new EventGridSubscriber();
- }
-
- // AppConfiguration events
- [Fact]
- public void ConsumeAppConfigurationKeyValueDeletedEvent()
- {
- string requestContent = "[{ \"id\": \"56afc886-767b-d359-d59e-0da7877166b2\", \"topic\": \"/SUBSCRIPTIONS/ID/RESOURCEGROUPS/rg/PROVIDERS/MICROSOFT.Maps/test1\", \"subject\": \"test1\", \"eventType\": \"Microsoft.AppConfiguration.KeyValueDeleted\",\"eventTime\": \"2018-01-02T19:17:44.4383997Z\", \"data\": {\"key\":\"key1\",\"label\":\"label1\",\"etag\":\"etag1\"}}]";
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is AppConfigurationKeyValueDeletedEventData);
- AppConfigurationKeyValueDeletedEventData eventData = (AppConfigurationKeyValueDeletedEventData)events[0].Data;
- Assert.Equal("key1", eventData.Key);
- }
-
- [Fact]
- public void ConsumeAppConfigurationKeyValueModifiedEvent()
- {
- string requestContent = "[{ \"id\": \"56afc886-767b-d359-d59e-0da7877166b2\", \"topic\": \"/SUBSCRIPTIONS/ID/RESOURCEGROUPS/rg/PROVIDERS/MICROSOFT.Maps/test1\", \"subject\": \"test1\", \"eventType\": \"Microsoft.AppConfiguration.KeyValueModified\",\"eventTime\": \"2018-01-02T19:17:44.4383997Z\", \"data\": {\"key\":\"key1\",\"label\":\"label1\",\"etag\":\"etag1\"}}]";
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is AppConfigurationKeyValueModifiedEventData);
- AppConfigurationKeyValueModifiedEventData eventData = (AppConfigurationKeyValueModifiedEventData)events[0].Data;
- Assert.Equal("key1", eventData.Key);
- }
-
- [Fact]
- public void ConsumeStorageBlobDeletedEventWithExtraProperty()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/id/resourceGroups/Storage/providers/Microsoft.Storage/storageAccounts/xstoretestaccount\", \"subject\": \"/blobServices/default/containers/testcontainer/blobs/testfile.txt\", \"eventType\": \"Microsoft.Storage.BlobDeleted\", \"eventTime\": \"2017-11-07T20:09:22.5674003Z\", \"id\": \"4c2359fe-001e-00ba-0e04-58586806d298\", \"data\": { \"api\": \"DeleteBlob\", \"requestId\": \"4c2359fe-001e-00ba-0e04-585868000000\", \"contentType\": \"text/plain\", \"blobType\": \"BlockBlob\", \"url\": \"https://example.blob.core.windows.net/testcontainer/testfile.txt\", \"sequencer\": \"0000000000000281000000000002F5CA\", \"brandNewProperty\": \"0000000000000281000000000002F5CA\", \"storageDiagnostics\": { \"batchId\": \"b68529f3-68cd-4744-baa4-3c0498ec19f0\" } }, \"dataVersion\": \"\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is StorageBlobDeletedEventData);
- StorageBlobDeletedEventData eventData = (StorageBlobDeletedEventData)events[0].Data;
- Assert.Equal("https://example.blob.core.windows.net/testcontainer/testfile.txt", eventData.Url);
- }
-
- [Fact]
- public void ConsumeCustomEvents()
- {
- string requestContent = "[{ \"id\": \"2d1781af-3a4c-4d7c-bd0c-e34b19da4e66\", \"topic\": \"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\", \"subject\": \"\", \"data\": { \"itemSku\": \"512d38b6-c7b8-40c8-89fe-f46f9e9622b6\", \"itemUri\": \"https://rp-eastus2.eventgrid.azure.net:553/eventsubscriptions/estest/validate?id=B2E34264-7D71-453A-B5FB-B62D0FDC85EE&t=2018-04-26T20:30:54.4538837Z&apiVersion=2018-05-01-preview&token=1BNqCxBBSSE9OnNSfZM4%2b5H9zDegKMY6uJ%2fO2DFRkwQ%3d\" }, \"eventType\": \"Contoso.Items.ItemReceived\", \"eventTime\": \"2018-01-25T22:12:19.4556811Z\", \"metadataVersion\": \"1\", \"dataVersion\": \"1\"}]";
-
- EventGridSubscriber eventGridSubscriber2 = new EventGridSubscriber();
-
- // Testing update
- eventGridSubscriber2.AddOrUpdateCustomEventMapping("Contoso.Items.ItemReceived", typeof(ContosoItemSentEventData));
- eventGridSubscriber2.AddOrUpdateCustomEventMapping("Contoso.Items.ItemReceived", typeof(ContosoItemReceivedEventData));
-
- var events = eventGridSubscriber2.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.Single(events);
- Assert.True(events[0].Data is ContosoItemReceivedEventData);
- ContosoItemReceivedEventData eventData = (ContosoItemReceivedEventData)events[0].Data;
- Assert.Equal("512d38b6-c7b8-40c8-89fe-f46f9e9622b6", eventData.ItemSku);
- }
-
- [Fact]
- public void ConsumeCustomEventWithArrayData()
- {
- string requestContent = "[{ \"id\": \"2d1781af-3a4c-4d7c-bd0c-e34b19da4e66\", \"topic\": \"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\", \"subject\": \"\", \"data\": [{ \"itemSku\": \"512d38b6-c7b8-40c8-89fe-f46f9e9622b6\", \"itemUri\": \"https://rp-eastus2.eventgrid.azure.net:553\" }], \"eventType\": \"Contoso.Items.ItemReceived\", \"eventTime\": \"2018-01-25T22:12:19.4556811Z\", \"metadataVersion\": \"1\", \"dataVersion\": \"1\"}]";
-
- EventGridSubscriber eventGridSubscriber2 = new EventGridSubscriber();
- eventGridSubscriber2.AddOrUpdateCustomEventMapping("Contoso.Items.ItemReceived", typeof(ContosoItemReceivedEventData[]));
-
- var events = eventGridSubscriber2.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.Single(events);
- Assert.True(events[0].Data is ContosoItemReceivedEventData[]);
- ContosoItemReceivedEventData[] eventData = (ContosoItemReceivedEventData[])events[0].Data;
- Assert.Equal("512d38b6-c7b8-40c8-89fe-f46f9e9622b6", eventData[0].ItemSku);
- }
-
- [Fact]
- public void ConsumeCustomEventWithBooleanData()
- {
- string requestContent = "[{ \"id\": \"2d1781af-3a4c-4d7c-bd0c-e34b19da4e66\", \"topic\": \"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\", \"subject\": \"\", \"data\": true, \"eventType\": \"Contoso.Items.ItemReceived\", \"eventTime\": \"2018-01-25T22:12:19.4556811Z\", \"metadataVersion\": \"1\", \"dataVersion\": \"1\"}]";
-
- EventGridSubscriber eventGridSubscriber2 = new EventGridSubscriber();
- eventGridSubscriber2.AddOrUpdateCustomEventMapping("Contoso.Items.ItemReceived", typeof(bool));
-
- var events = eventGridSubscriber2.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.Single(events);
- Assert.True(events[0].Data is bool);
- bool eventData = (bool)events[0].Data;
- Assert.True(eventData);
- }
-
- [Fact]
- public void ConsumeCustomEventWithStringData()
- {
- string requestContent = "[{ \"id\": \"2d1781af-3a4c-4d7c-bd0c-e34b19da4e66\", \"topic\": \"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\", \"subject\": \"\", \"data\": \"stringdata\", \"eventType\": \"Contoso.Items.ItemReceived\", \"eventTime\": \"2018-01-25T22:12:19.4556811Z\", \"metadataVersion\": \"1\", \"dataVersion\": \"1\"}]";
-
- EventGridSubscriber eventGridSubscriber2 = new EventGridSubscriber();
- eventGridSubscriber2.AddOrUpdateCustomEventMapping("Contoso.Items.ItemReceived", typeof(string));
-
- var events = eventGridSubscriber2.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.Single(events);
- Assert.True(events[0].Data is string);
- string eventData = (string)events[0].Data;
- Assert.Equal("stringdata", eventData);
- }
-
- [Fact]
- public void ConsumeCustomEventWithPolymorphicData()
- {
- string requestContent = "[{ \"id\": \"2d1781af-3a4c-4d7c-bd0c-e34b19da4e66\", \"topic\": \"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\", \"subject\": \"\", \"data\": { \"shippingInfo\":{\"shippingType\":\"Drone\", \"droneId\":\"Drone1\",\"shipmentId\":\"1\"}} , \"eventType\": \"Contoso.Items.ItemSent\", \"eventTime\": \"2018-01-25T22:12:19.4556811Z\", \"metadataVersion\": \"1\", \"dataVersion\": \"1\"}, { \"id\": \"2d1781af-3a4c-4d7c-bd0c-e34b19da4e66\", \"topic\": \"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\", \"subject\": \"\", \"data\": { \"shippingInfo\":{\"shippingType\":\"Rocket\", \"rocketNumber\":1,\"shipmentId\":\"1\"}} , \"eventType\": \"Contoso.Items.ItemSent\", \"eventTime\": \"2018-01-25T22:12:19.4556811Z\", \"metadataVersion\": \"1\", \"dataVersion\": \"1\"}]";
-
- EventGridSubscriber eventGridSubscriber2 = new EventGridSubscriber();
- eventGridSubscriber2.AddOrUpdateCustomEventMapping("Contoso.Items.ItemSent", typeof(ContosoItemSentEventData));
-
- JsonSerializer jsonSerializer = new JsonSerializer();
- jsonSerializer.Converters.Add(new PolymorphicDeserializeJsonConverter("shippingType"));
-
- var events = eventGridSubscriber2.DeserializeEventGridEvents(requestContent, jsonSerializer);
-
- Assert.NotNull(events);
- Assert.Equal(2, events.Length);
- Assert.True(events[0].Data is ContosoItemSentEventData);
- Assert.True(events[1].Data is ContosoItemSentEventData);
- ContosoItemSentEventData eventData0 = (ContosoItemSentEventData)events[0].Data;
- Assert.True(eventData0.ShippingInfo is DroneShippingInfo);
-
- ContosoItemSentEventData eventData1 = (ContosoItemSentEventData)events[1].Data;
- Assert.True(eventData1.ShippingInfo is RocketShippingInfo);
- }
-
- [Fact]
- public void TestCustomEventMappings()
- {
- EventGridSubscriber eventGridSubscriber2 = new EventGridSubscriber();
- eventGridSubscriber2.AddOrUpdateCustomEventMapping("Contoso.Items.ItemSent", typeof(ContosoItemSentEventData));
- eventGridSubscriber2.AddOrUpdateCustomEventMapping("Contoso.Items.ItemReceived", typeof(ContosoItemReceivedEventData));
-
- IReadOnlyList> list = eventGridSubscriber2.ListAllCustomEventMappings().ToList();
- Assert.Equal(2, list.Count);
-
- Assert.True(eventGridSubscriber2.TryGetCustomEventMapping("Contoso.Items.ItemSent", out Type retrievedType));
- Assert.Equal(typeof(ContosoItemSentEventData), retrievedType);
-
- Assert.True(eventGridSubscriber2.TryRemoveCustomEventMapping("Contoso.Items.ItemReceived", out retrievedType));
- Assert.Equal(typeof(ContosoItemReceivedEventData), retrievedType);
- }
-
- [Fact]
- public void ConsumeMultipleEventsInSameBatch()
- {
- string requestContent = "[ { \"topic\": \"/subscriptions/319a9601-1ec0-0000-aebc-8fe82724c81e/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/myaccount\", \"subject\": \"/blobServices/default/containers/testcontainer/blobs/file1.txt\", \"eventType\": \"Microsoft.Storage.BlobCreated\", \"eventTime\": \"2017-08-16T01:57:26.005121Z\", \"id\": \"602a88ef-0001-00e6-1233-1646070610ea\", \"data\": { \"api\": \"PutBlockList\", \"clientRequestId\": \"799304a4-bbc5-45b6-9849-ec2c66be800a\", \"requestId\": \"602a88ef-0001-00e6-1233-164607000000\", \"eTag\": \"0x8D4E44A24ABE7F1\", \"contentType\": \"text/plain\", \"contentLength\": 447, \"blobType\": \"BlockBlob\", \"url\": \"https://myaccount.blob.core.windows.net/testcontainer/file1.txt\", \"sequencer\": \"00000000000000EB000000000000C65A\", }, \"dataVersion\": \"\", \"metadataVersion\": \"1\"}, { \"topic\": \"/subscriptions/id/resourceGroups/Storage/providers/Microsoft.Storage/storageAccounts/xstoretestaccount\", \"subject\": \"/blobServices/default/containers/testcontainer/blobs/testfile.txt\", \"eventType\": \"Microsoft.Storage.BlobDeleted\", \"eventTime\": \"2017-11-07T20:09:22.5674003Z\", \"id\": \"4c2359fe-001e-00ba-0e04-58586806d298\", \"data\": { \"api\": \"DeleteBlob\", \"requestId\": \"4c2359fe-001e-00ba-0e04-585868000000\", \"contentType\": \"text/plain\", \"blobType\": \"BlockBlob\", \"url\": \"https://example.blob.core.windows.net/testcontainer/testfile.txt\", \"sequencer\": \"0000000000000281000000000002F5CA\", \"storageDiagnostics\": { \"batchId\": \"b68529f3-68cd-4744-baa4-3c0498ec19f0\" } }, \"dataVersion\": \"\", \"metadataVersion\": \"1\"}, { \"topic\": \"/subscriptions/id/resourceGroups/Storage/providers/Microsoft.Storage/storageAccounts/xstoretestaccount\", \"subject\": \"/blobServices/default/containers/testcontainer/blobs/testfile.txt\", \"eventType\": \"Microsoft.Storage.BlobDeleted\", \"eventTime\": \"2017-11-07T20:09:22.5674003Z\", \"id\": \"4c2359fe-001e-00ba-0e04-58586806d298\", \"data\": { \"api\": \"DeleteBlob\", \"requestId\": \"4c2359fe-001e-00ba-0e04-585868000000\", \"contentType\": \"text/plain\", \"blobType\": \"BlockBlob\", \"url\": \"https://example.blob.core.windows.net/testcontainer/testfile.txt\", \"sequencer\": \"0000000000000281000000000002F5CA\", \"storageDiagnostics\": { \"batchId\": \"b68529f3-68cd-4744-baa4-3c0498ec19f0\" } }, \"dataVersion\": \"\", \"metadataVersion\": \"1\"}, { \"topic\": \"/subscriptions/id/resourcegroups/rg/providers/Microsoft.ServiceBus/namespaces/testns1\", \"subject\": \"topics/topic1/subscriptions/sub1\", \"eventType\": \"Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListener\", \"eventTime\": \"2018-02-14T05:12:53.4133526Z\", \"id\": \"dede87b0-3656-419c-acaf-70c95ddc60f5\", \"data\": { \"namespaceName\": \"testns1\", \"requestUri\": \"https://testns1.servicebus.windows.net/t1/subscriptions/sub1/messages/head\", \"entityType\": \"subscriber\", \"queueName\": \"queue1\", \"topicName\": \"topic1\", \"subscriptionName\": \"sub1\" }, \"dataVersion\": \"1\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.Equal(4, events.Length);
- Assert.True(events[0].Data is StorageBlobCreatedEventData);
- Assert.True(events[1].Data is StorageBlobDeletedEventData);
- Assert.True(events[2].Data is StorageBlobDeletedEventData);
- Assert.True(events[3].Data is ServiceBusDeadletterMessagesAvailableWithNoListenersEventData);
- StorageBlobDeletedEventData eventData = (StorageBlobDeletedEventData)events[2].Data;
- Assert.Equal("https://example.blob.core.windows.net/testcontainer/testfile.txt", eventData.Url);
- }
-
- // Verify stream support
- [Fact]
- public void ConsumeContainerRegistryImagePushedEventFromStream()
- {
- string requestContent = "[{ \"id\": \"56afc886-767b-d359-d59e-0da7877166b2\", \"topic\": \"/SUBSCRIPTIONS/ID/RESOURCEGROUPS/rg/PROVIDERS/MICROSOFT.ContainerRegistry/test1\", \"subject\": \"test1\", \"eventType\": \"Microsoft.ContainerRegistry.ImagePushed\", \"eventTime\": \"2018-01-02T19:17:44.4383997Z\", \"data\": {\"id\":\"eventID\",\"timestamp\":\"2018-06-20T12:00:33.6125843-07:00\",\"action\":\"testaction\",\"target\":{\"mediaType\":\"test\",\"size\":20,\"digest\":\"digest1\",\"length\":20,\"repository\":\"test\",\"url\":\"url1\",\"tag\":\"test\"},\"request\":{\"id\":\"id\",\"addr\":\"127.0.0.1\",\"host\":\"test\",\"method\":\"method1\",\"useragent\":\"useragent1\"},\"actor\":{\"name\":\"testactor\"},\"source\":{\"addr\":\"127.0.0.1\",\"instanceID\":\"id\"}}, \"dataVersion\": \"\", \"metadataVersion\": \"1\"}]";
-
- using (var stream = GetStreamFromString(requestContent))
- {
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(stream);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is ContainerRegistryImagePushedEventData);
- ContainerRegistryImagePushedEventData eventData = (ContainerRegistryImagePushedEventData)events[0].Data;
- Assert.Equal("127.0.0.1", eventData.Request.Addr);
- }
- }
-
- [Fact]
- public void ConsumeCustomEventWithPolymorphicDataFromStream()
- {
- string requestContent = "[{ \"id\": \"2d1781af-3a4c-4d7c-bd0c-e34b19da4e66\", \"topic\": \"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\", \"subject\": \"\", \"data\": { \"shippingInfo\":{\"shippingType\":\"Drone\", \"droneId\":\"Drone1\",\"shipmentId\":\"1\"}} , \"eventType\": \"Contoso.Items.ItemSent\", \"eventTime\": \"2018-01-25T22:12:19.4556811Z\", \"metadataVersion\": \"1\", \"dataVersion\": \"1\"}, { \"id\": \"2d1781af-3a4c-4d7c-bd0c-e34b19da4e66\", \"topic\": \"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\", \"subject\": \"\", \"data\": { \"shippingInfo\":{\"shippingType\":\"Rocket\", \"rocketNumber\":1,\"shipmentId\":\"1\"}} , \"eventType\": \"Contoso.Items.ItemSent\", \"eventTime\": \"2018-01-25T22:12:19.4556811Z\", \"metadataVersion\": \"1\", \"dataVersion\": \"1\"}]";
-
- using (var stream = GetStreamFromString(requestContent))
- {
- EventGridSubscriber eventGridSubscriber2 = new EventGridSubscriber();
- eventGridSubscriber2.AddOrUpdateCustomEventMapping("Contoso.Items.ItemSent", typeof(ContosoItemSentEventData));
-
- JsonSerializer jsonSerializer = new JsonSerializer();
- jsonSerializer.Converters.Add(new PolymorphicDeserializeJsonConverter("shippingType"));
-
- var events = eventGridSubscriber2.DeserializeEventGridEvents(stream, jsonSerializer);
-
- Assert.NotNull(events);
- Assert.Equal(2, events.Length);
- Assert.True(events[0].Data is ContosoItemSentEventData);
- Assert.True(events[1].Data is ContosoItemSentEventData);
- ContosoItemSentEventData eventData0 = (ContosoItemSentEventData)events[0].Data;
- Assert.True(eventData0.ShippingInfo is DroneShippingInfo);
-
- ContosoItemSentEventData eventData1 = (ContosoItemSentEventData)events[1].Data;
- Assert.True(eventData1.ShippingInfo is RocketShippingInfo);
- }
- }
-
- // ContainerRegistry events
- [Fact]
- public void ConsumeContainerRegistryImagePushedEvent()
- {
- string requestContent = "[{ \"id\": \"56afc886-767b-d359-d59e-0da7877166b2\", \"topic\": \"/SUBSCRIPTIONS/ID/RESOURCEGROUPS/rg/PROVIDERS/MICROSOFT.ContainerRegistry/test1\", \"subject\": \"test1\", \"eventType\": \"Microsoft.ContainerRegistry.ImagePushed\", \"eventTime\": \"2018-01-02T19:17:44.4383997Z\", \"data\": {\"id\":\"eventID\",\"timestamp\":\"2018-06-20T12:00:33.6125843-07:00\",\"action\":\"testaction\",\"target\":{\"mediaType\":\"test\",\"size\":20,\"digest\":\"digest1\",\"length\":20,\"repository\":\"test\",\"url\":\"url1\",\"tag\":\"test\"},\"request\":{\"id\":\"id\",\"addr\":\"127.0.0.1\",\"host\":\"test\",\"method\":\"method1\",\"useragent\":\"useragent1\"},\"actor\":{\"name\":\"testactor\"},\"source\":{\"addr\":\"127.0.0.1\",\"instanceID\":\"id\"}}, \"dataVersion\": \"\", \"metadataVersion\": \"1\"}]";
-
-
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is ContainerRegistryImagePushedEventData);
- ContainerRegistryImagePushedEventData eventData = (ContainerRegistryImagePushedEventData)events[0].Data;
- Assert.Equal("127.0.0.1", eventData.Request.Addr);
- }
-
- [Fact]
- public void ConsumeContainerRegistryImageDeletedEvent()
- {
- string requestContent = "[{ \"id\": \"56afc886-767b-d359-d59e-0da7877166b2\", \"topic\": \"/SUBSCRIPTIONS/ID/RESOURCEGROUPS/rg/PROVIDERS/MICROSOFT.ContainerRegistry/test1\", \"subject\": \"test1\", \"eventType\": \"Microsoft.ContainerRegistry.ImageDeleted\", \"eventTime\": \"2018-01-02T19:17:44.4383997Z\", \"data\": {\"id\":\"eventID\",\"timestamp\":\"2018-06-20T12:00:33.6125843-07:00\",\"action\":\"testaction\",\"target\":{\"mediaType\":\"test\",\"size\":20,\"digest\":\"digest1\",\"length\":20,\"repository\":\"test\",\"url\":\"url1\",\"tag\":\"test\"},\"request\":{\"id\":\"id\",\"addr\":\"127.0.0.1\",\"host\":\"test\",\"method\":\"method1\",\"useragent\":\"useragent1\"},\"actor\":{\"name\":\"testactor\"},\"source\":{\"addr\":\"127.0.0.1\",\"instanceID\":\"id\"}}, \"dataVersion\": \"\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is ContainerRegistryImageDeletedEventData);
- ContainerRegistryImageDeletedEventData eventData = (ContainerRegistryImageDeletedEventData)events[0].Data;
- Assert.Equal("testactor", eventData.Actor.Name);
- }
-
- [Fact]
- public void ConsumeContainerRegistryChartDeletedEvent()
- {
- string requestContent = "[{ \"id\": \"56afc886-767b-d359-d59e-0da7877166b2\", \"topic\": \"/SUBSCRIPTIONS/ID/RESOURCEGROUPS/rg/PROVIDERS/MICROSOFT.ContainerRegistry/test1\", \"subject\": \"test1\", \"eventType\": \"Microsoft.ContainerRegistry.ChartDeleted\", \"eventTime\": \"2018-01-02T19:17:44.4383997Z\", \"data\": {\"id\":\"id\",\"timestamp\":null,\"action\":\"action1\",\"target\":{\"mediaType\":\"mediatype1\",\"size\":null,\"digest\":\"digest1\",\"repository\":null,\"tag\":null,\"name\":\"name1\",\"version\":null}}}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is ContainerRegistryChartDeletedEventData);
- ContainerRegistryChartDeletedEventData eventData = (ContainerRegistryChartDeletedEventData)events[0].Data;
- Assert.Equal("mediatype1", eventData.Target.MediaType);
- }
-
- [Fact]
- public void ConsumeContainerRegistryChartPushedEvent()
- {
- string requestContent = "[{ \"id\": \"56afc886-767b-d359-d59e-0da7877166b2\", \"topic\": \"/SUBSCRIPTIONS/ID/RESOURCEGROUPS/rg/PROVIDERS/MICROSOFT.ContainerRegistry/test1\", \"subject\": \"test1\", \"eventType\": \"Microsoft.ContainerRegistry.ChartPushed\", \"eventTime\": \"2018-01-02T19:17:44.4383997Z\", \"data\": {\"id\":\"id\",\"timestamp\":null,\"action\":\"action1\",\"target\":{\"mediaType\":\"mediatype1\",\"size\":null,\"digest\":\"digest1\",\"repository\":null,\"tag\":null,\"name\":\"name1\",\"version\":null}}}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is ContainerRegistryChartPushedEventData);
- ContainerRegistryChartPushedEventData eventData = (ContainerRegistryChartPushedEventData)events[0].Data;
- Assert.Equal("mediatype1", eventData.Target.MediaType);
- }
-
- // IoTHub Device events
- [Fact]
- public void ConsumeIoTHubDeviceCreatedEvent()
- {
- string requestContent = "[{ \"id\": \"2da5e9b4-4e38-04c1-cc58-9da0b37230c0\", \"topic\": \"/SUBSCRIPTIONS/BDF55CDD-8DAB-4CF4-9B2F-C21E8A780472/RESOURCEGROUPS/EGTESTRG/PROVIDERS/MICROSOFT.DEVICES/IOTHUBS/EGTESTHUB1\", \"subject\": \"devices/48e44e11-1437-4907-83b1-4a8d7e89859e\", \"eventType\": \"Microsoft.Devices.DeviceCreated\", \"eventTime\": \"2018-07-03T23:20:07.6532054Z\", \"data\": { \"twin\": { \"deviceId\": \"48e44e11-1437-4907-83b1-4a8d7e89859e\", \"etag\": \"AAAAAAAAAAE=\", \"deviceEtag\": null, \"status\": \"enabled\", \"statusUpdateTime\": \"0001-01-01T00:00:00\", \"connectionState\": \"Disconnected\", \"lastActivityTime\": \"0001-01-01T00:00:00\", \"cloudToDeviceMessageCount\": 0, \"authenticationType\": \"sas\", \"x509Thumbprint\": { \"primaryThumbprint\": null, \"secondaryThumbprint\": null }, \"version\": 2, \"properties\": { \"desired\": { \"$metadata\": { \"$lastUpdated\": \"2018-07-03T23:20:07.6532054Z\" }, \"$version\": 1 }, \"reported\": { \"$metadata\": { \"$lastUpdated\": \"2018-07-03T23:20:07.6532054Z\" }, \"$version\": 1 } } }, \"hubName\": \"EGTESTHUB1\", \"deviceId\": \"48e44e11-1437-4907-83b1-4a8d7e89859e\" }, \"dataVersion\": \"\", \"metadataVersion\": \"1\" }]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is IotHubDeviceCreatedEventData);
- IotHubDeviceCreatedEventData eventData = (IotHubDeviceCreatedEventData)events[0].Data;
- Assert.Equal("enabled", eventData.Twin.Status);
- }
-
- [Fact]
- public void ConsumeIoTHubDeviceDeletedEvent()
- {
- string requestContent = "[ { \"id\": \"aaaf95c6-ed99-b307-e321-81d8e4f731a6\", \"topic\": \"/SUBSCRIPTIONS/BDF55CDD-8DAB-4CF4-9B2F-C21E8A780472/RESOURCEGROUPS/EGTESTRG/PROVIDERS/MICROSOFT.DEVICES/IOTHUBS/EGTESTHUB1\", \"subject\": \"devices/48e44e11-1437-4907-83b1-4a8d7e89859e\", \"eventType\": \"Microsoft.Devices.DeviceDeleted\", \"eventTime\": \"2018-07-03T23:21:33.2753956Z\", \"data\": { \"twin\": { \"deviceId\": \"48e44e11-1437-4907-83b1-4a8d7e89859e\", \"etag\": \"AAAAAAAAAAI=\", \"deviceEtag\": null, \"status\": \"enabled\", \"statusUpdateTime\": \"0001-01-01T00:00:00\", \"connectionState\": \"Disconnected\", \"lastActivityTime\": \"0001-01-01T00:00:00\", \"cloudToDeviceMessageCount\": 0, \"authenticationType\": \"sas\", \"x509Thumbprint\": { \"primaryThumbprint\": null, \"secondaryThumbprint\": null }, \"version\": 3, \"tags\": { \"testKey\": \"testValue\" }, \"properties\": { \"desired\": { \"$metadata\": { \"$lastUpdated\": \"2018-07-03T23:20:07.6532054Z\" }, \"$version\": 1 }, \"reported\": { \"$metadata\": { \"$lastUpdated\": \"2018-07-03T23:20:07.6532054Z\" }, \"$version\": 1 } } }, \"hubName\": \"EGTESTHUB1\", \"deviceId\": \"48e44e11-1437-4907-83b1-4a8d7e89859e\" }, \"dataVersion\": \"\", \"metadataVersion\": \"1\" }]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is IotHubDeviceDeletedEventData);
- IotHubDeviceDeletedEventData eventData = (IotHubDeviceDeletedEventData)events[0].Data;
- Assert.Equal("AAAAAAAAAAI=", eventData.Twin.Etag);
- }
-
- [Fact]
- public void ConsumeIoTHubDeviceConnectedEvent()
- {
- string requestContent = "[ { \"id\": \"fbfd8ee1-cf78-74c6-dbcf-e1c58638ccbd\", \"topic\": \"/SUBSCRIPTIONS/BDF55CDD-8DAB-4CF4-9B2F-C21E8A780472/RESOURCEGROUPS/EGTESTRG/PROVIDERS/MICROSOFT.DEVICES/IOTHUBS/EGTESTHUB1\", \"subject\": \"devices/48e44e11-1437-4907-83b1-4a8d7e89859e\", \"eventType\": \"Microsoft.Devices.DeviceConnected\", \"eventTime\": \"2018-07-03T23:20:11.6921933+00:00\", \"data\": { \"deviceConnectionStateEventInfo\": { \"sequenceNumber\": \"000000000000000001D4132452F67CE200000002000000000000000000000001\" }, \"hubName\": \"EGTESTHUB1\", \"deviceId\": \"48e44e11-1437-4907-83b1-4a8d7e89859e\", \"moduleId\": \"\" }, \"dataVersion\": \"\", \"metadataVersion\": \"1\" }]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is IotHubDeviceConnectedEventData);
- IotHubDeviceConnectedEventData eventData = (IotHubDeviceConnectedEventData)events[0].Data;
- Assert.Equal("EGTESTHUB1", eventData.HubName);
- }
-
- [Fact]
- public void ConsumeIoTHubDeviceDisconnectedEvent()
- {
- string requestContent = "[ { \"id\": \"877f0b10-a086-98ec-27b8-6ae2dfbf5f67\", \"topic\": \"/SUBSCRIPTIONS/BDF55CDD-8DAB-4CF4-9B2F-C21E8A780472/RESOURCEGROUPS/EGTESTRG/PROVIDERS/MICROSOFT.DEVICES/IOTHUBS/EGTESTHUB1\", \"subject\": \"devices/48e44e11-1437-4907-83b1-4a8d7e89859e\", \"eventType\": \"Microsoft.Devices.DeviceDisconnected\", \"eventTime\": \"2018-07-03T23:20:52.646434+00:00\", \"data\": { \"deviceConnectionStateEventInfo\": { \"sequenceNumber\": \"000000000000000001D4132452F67CE200000002000000000000000000000002\" }, \"hubName\": \"EGTESTHUB1\", \"deviceId\": \"48e44e11-1437-4907-83b1-4a8d7e89859e\", \"moduleId\": \"\" }, \"dataVersion\": \"\", \"metadataVersion\": \"1\" }]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is IotHubDeviceDisconnectedEventData);
- IotHubDeviceDisconnectedEventData eventData = (IotHubDeviceDisconnectedEventData)events[0].Data;
- Assert.Equal("000000000000000001D4132452F67CE200000002000000000000000000000002", eventData.DeviceConnectionStateEventInfo.SequenceNumber);
- }
-
- [Fact]
- public void ConsumeIoTHubDeviceTelemetryEvent()
- {
- string requestContent = "[{ \"id\": \"877f0b10-a086-98ec-27b8-6ae2dfbf5f67\", \"topic\": \"/SUBSCRIPTIONS/BDF55CDD-8DAB-4CF4-9B2F-C21E8A780472/RESOURCEGROUPS/EGTESTRG/PROVIDERS/MICROSOFT.DEVICES/IOTHUBS/EGTESTHUB1\", \"subject\": \"devices/48e44e11-1437-4907-83b1-4a8d7e89859e\", \"eventType\": \"Microsoft.Devices.DeviceTelemetry\", \"eventTime\": \"2018-07-03T23:20:52.646434+00:00\", \"data\": { \"body\": { \"Weather\": { \"Temperature\": 900 }, \"Location\": \"USA\" }, \"properties\": { \"Status\": \"Active\" }, \"systemProperties\": { \"iothub-content-type\": \"application/json\", \"iothub-content-encoding\": \"utf-8\" } } } ]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is IotHubDeviceTelemetryEventData);
- IotHubDeviceTelemetryEventData eventData = (IotHubDeviceTelemetryEventData)events[0].Data;
- Assert.Equal("Active", eventData.Properties["Status"]);
- }
-
- // EventGrid events
- [Fact]
- public void ConsumeEventGridSubscriptionValidationEvent()
- {
- string requestContent = "[{ \"id\": \"2d1781af-3a4c-4d7c-bd0c-e34b19da4e66\", \"topic\": \"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\", \"subject\": \"\", \"data\": { \"validationCode\": \"512d38b6-c7b8-40c8-89fe-f46f9e9622b6\", \"validationUrl\": \"https://rp-eastus2.eventgrid.azure.net:553/eventsubscriptions/estest/validate?id=B2E34264-7D71-453A-B5FB-B62D0FDC85EE&t=2018-04-26T20:30:54.4538837Z&apiVersion=2018-05-01-preview&token=1BNqCxBBSSE9OnNSfZM4%2b5H9zDegKMY6uJ%2fO2DFRkwQ%3d\" }, \"eventType\": \"Microsoft.EventGrid.SubscriptionValidationEvent\", \"eventTime\": \"2018-01-25T22:12:19.4556811Z\", \"metadataVersion\": \"1\", \"dataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is SubscriptionValidationEventData);
- SubscriptionValidationEventData eventData = (SubscriptionValidationEventData)events[0].Data;
- Assert.Equal("512d38b6-c7b8-40c8-89fe-f46f9e9622b6", eventData.ValidationCode);
- }
-
- [Fact]
- public void ConsumeEventGridSubscriptionDeletedEvent()
- {
- string requestContent = "[{ \"id\": \"2d1781af-3a4c-4d7c-bd0c-e34b19da4e66\", \"topic\": \"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\", \"subject\": \"\", \"data\": { \"eventSubscriptionId\": \"/subscriptions/id/resourceGroups/rg/providers/Microsoft.EventGrid/topics/topic1/providers/Microsoft.EventGrid/eventSubscriptions/eventsubscription1\" }, \"eventType\": \"Microsoft.EventGrid.SubscriptionDeletedEvent\", \"eventTime\": \"2018-01-25T22:12:19.4556811Z\", \"metadataVersion\": \"1\", \"dataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is SubscriptionDeletedEventData);
- SubscriptionDeletedEventData eventData = (SubscriptionDeletedEventData)events[0].Data;
- Assert.Equal("/subscriptions/id/resourceGroups/rg/providers/Microsoft.EventGrid/topics/topic1/providers/Microsoft.EventGrid/eventSubscriptions/eventsubscription1", eventData.EventSubscriptionId);
- }
-
- // Event Hub Events
- [Fact]
- public void ConsumeEventHubCaptureFileCreatedEvent()
- {
- string requestContent = "[ { \"topic\": \"/subscriptions/guid/resourcegroups/rgDataMigrationSample/providers/Microsoft.EventHub/namespaces/tfdatamigratens\", \"subject\": \"eventhubs/hubdatamigration\", \"eventType\": \"microsoft.EventHUB.CaptureFileCreated\", \"eventTime\": \"2017-08-31T19:12:46.0498024Z\", \"id\": \"14e87d03-6fbf-4bb2-9a21-92bd1281f247\", \"data\": { \"fileUrl\": \"https://tf0831datamigrate.blob.core.windows.net/windturbinecapture/tfdatamigratens/hubdatamigration/1/2017/08/31/19/11/45.avro\", \"fileType\": \"AzureBlockBlob\", \"partitionId\": \"1\", \"sizeInBytes\": 249168, \"eventCount\": 1500, \"firstSequenceNumber\": 2400, \"lastSequenceNumber\": 3899, \"firstEnqueueTime\": \"2017-08-31T19:12:14.674Z\", \"lastEnqueueTime\": \"2017-08-31T19:12:44.309Z\" }, \"dataVersion\": \"\", \"metadataVersion\": \"1\" }]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is EventHubCaptureFileCreatedEventData);
- EventHubCaptureFileCreatedEventData eventData = (EventHubCaptureFileCreatedEventData)events[0].Data;
- Assert.Equal("AzureBlockBlob", eventData.FileType);
- }
-
- // MachineLearningServices events
- [Fact]
- public void ConsumeMachineLearningServicesModelRegisteredEvent()
- {
- string requestContent = "[{\"topic\":\"/subscriptions/a5fe3bc5-98f0-4c84-affc-a589f54d9b23/resourceGroups/jenns/providers/Microsoft.MachineLearningServices/workspaces/jenns-canary\",\"eventType\":\"Microsoft.MachineLearningServices.ModelRegistered\",\"subject\":\"models/sklearn_regression_model:3\",\"eventTime\":\"2019-10-17T22:23:57.5350054+00:00\",\"id\":\"3b73ee51-bbf4-480d-9112-cfc23b41bfdb\",\"data\":{\"modelName\":\"sklearn_regression_model\",\"modelVersion\":\"3\",\"modelTags\":{\"area\":\"diabetes\",\"type\":\"regression\"},\"modelProperties\":{\"area\":\"test\"}},\"dataVersion\":\"2\",\"metadataVersion\":\"1\"}]";
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MachineLearningServicesModelRegisteredEventData);
- MachineLearningServicesModelRegisteredEventData eventData = (MachineLearningServicesModelRegisteredEventData)events[0].Data;
- Assert.Equal("sklearn_regression_model", eventData.ModelName);
- Assert.Equal("3", eventData.ModelVersion);
-
- Assert.True(eventData.ModelTags is JObject);
- var tags = (JObject)eventData.ModelTags;
- Assert.Equal("regression", tags["type"]);
-
- Assert.True(eventData.ModelProperties is JObject);
- var properties = (JObject)eventData.ModelProperties;
- Assert.Equal("test", properties["area"]);
- }
-
- [Fact]
- public void ConsumeMachineLearningServicesModelDeployedEvent()
- {
- string requestContent = "[{\"topic\":\"/subscriptions/a5fe3bc5-98f0-4c84-affc-a589f54d9b23/resourceGroups/jenns/providers/Microsoft.MachineLearningServices/workspaces/jenns-canary\",\"eventType\":\"Microsoft.MachineLearningServices.ModelDeployed\",\"subject\":\"endpoints/aciservice1\",\"eventTime\":\"2019-10-23T18:20:08.8824474+00:00\",\"id\":\"40d0b167-be44-477b-9d23-a2befba7cde0\",\"data\":{\"serviceName\":\"aciservice1\",\"serviceComputeType\":\"ACI\",\"serviceTags\":{\"mytag\":\"test tag\"},\"serviceProperties\":{\"myprop\":\"test property\"},\"modelIds\":\"my_first_model:1,my_second_model:1\"},\"dataVersion\":\"2\",\"metadataVersion\":\"1\"}]";
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MachineLearningServicesModelDeployedEventData);
- MachineLearningServicesModelDeployedEventData eventData = (MachineLearningServicesModelDeployedEventData)events[0].Data;
- Assert.Equal("aciservice1", eventData.ServiceName);
- Assert.Equal(2, eventData.ModelIds.Split(',').Length);
- }
-
- [Fact]
- public void ConsumeMachineLearningServicesRunCompletedEvent()
- {
- string requestContent = "[{\"topic\":\"/subscriptions/a5fe3bc5-98f0-4c84-affc-a589f54d9b23/resourceGroups/jenns/providers/Microsoft.MachineLearningServices/workspaces/jenns-canary\",\"eventType\":\"Microsoft.MachineLearningServices.RunCompleted\",\"subject\":\"experiments/0fa9dfaa-cba3-4fa7-b590-23e48548f5c1/runs/AutoML_ad912b2d-6467-4f32-a616-dbe4af6dd8fc\",\"eventTime\":\"2019-10-18T19:29:55.8856038+00:00\",\"id\":\"044ac44d-462c-4043-99eb-d9e01dc760ab\",\"data\":{\"experimentId\":\"0fa9dfaa-cba3-4fa7-b590-23e48548f5c1\",\"experimentName\":\"automl-local-regression\",\"runId\":\"AutoML_ad912b2d-6467-4f32-a616-dbe4af6dd8fc\",\"runType\":\"automl\",\"RunTags\":{\"experiment_status\":\"ModelSelection\",\"experiment_status_descr\":\"Beginning model selection.\"},\"runProperties\":{\"num_iterations\":\"10\",\"target\":\"local\"}},\"dataVersion\":\"2\",\"metadataVersion\":\"1\"}]";
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MachineLearningServicesRunCompletedEventData);
- MachineLearningServicesRunCompletedEventData eventData = (MachineLearningServicesRunCompletedEventData)events[0].Data;
- Assert.Equal("AutoML_ad912b2d-6467-4f32-a616-dbe4af6dd8fc", eventData.RunId);
- Assert.Equal("automl-local-regression", eventData.ExperimentName);
- }
-
- [Fact]
- public void ConsumeMachineLearningServicesRunStatusChangedEvent()
- {
- string requestContent = "[{\"topic\":\"/subscriptions/a5fe3bc5-98f0-4c84-affc-a589f54d9b23/resourceGroups/jenns/providers/Microsoft.MachineLearningServices/workspaces/jenns-canary\",\"eventType\":\"Microsoft.MachineLearningServices.RunStatusChanged\",\"subject\":\"experiments/0fa9dfaa-cba3-4fa7-b590-23e48548f5c1/runs/AutoML_ad912b2d-6467-4f32-a616-dbe4af6dd8fc\",\"eventTime\":\"2020-03-09T23:53:04.4579724Z\",\"id\":\"aa8cd7df-fe28-5d5d-9b40-3342dbc2a887\",\"data\":{\"runStatus\": \"Running\",\"experimentId\":\"0fa9dfaa-cba3-4fa7-b590-23e48548f5c1\",\"experimentName\":\"automl-local-regression\",\"runId\":\"AutoML_ad912b2d-6467-4f32-a616-dbe4af6dd8fc\",\"runType\":\"automl\",\"runTags\":{\"experiment_status\":\"ModelSelection\",\"experiment_status_descr\":\"Beginning model selection.\"},\"runProperties\":{\"num_iterations\":\"10\",\"target\":\"local\"}},\"dataVersion\":\"2\",\"metadataVersion\":\"1\"}]";
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MachineLearningServicesRunStatusChangedEventData);
- MachineLearningServicesRunStatusChangedEventData eventData = (MachineLearningServicesRunStatusChangedEventData)events[0].Data;
- Assert.Equal("AutoML_ad912b2d-6467-4f32-a616-dbe4af6dd8fc", eventData.RunId);
- Assert.Equal("automl-local-regression", eventData.ExperimentName);
- Assert.Equal("Running", eventData.RunStatus);
- Assert.Equal("automl", eventData.RunType);
- }
-
- [Fact]
- public void ConsumeMachineLearningServicesDatasetDriftDetectedEvent()
- {
- string requestContent = "[{\"topic\":\"/subscriptions/60582a10-b9fd-49f1-a546-c4194134bba8/resourceGroups/copetersRG/providers/Microsoft.MachineLearningServices/workspaces/driftDemoWS\",\"eventType\":\"Microsoft.MachineLearningServices.DatasetDriftDetected\",\"subject\":\"datadrift/01d29aa4-e6a4-470a-9ef3-66660d21f8ef/run/01d29aa4-e6a4-470a-9ef3-66660d21f8ef_1571590300380\",\"eventTime\":\"2019-10-20T17:08:08.467191+00:00\",\"id\":\"2684de79-b145-4dcf-ad2e-6a1db798585f\",\"data\":{\"dataDriftId\":\"01d29aa4-e6a4-470a-9ef3-66660d21f8ef\",\"dataDriftName\":\"copetersDriftMonitor3\",\"runId\":\"01d29aa4-e6a4-470a-9ef3-66660d21f8ef_1571590300380\",\"baseDatasetId\":\"3c56d136-0f64-4657-a0e8-5162089a88a3\",\"targetDatasetId\":\"d7e74d2e-c972-4266-b5fb-6c9c182d2a74\",\"driftCoefficient\":0.8350349068479208,\"startTime\":\"2019-07-04T00:00:00+00:00\",\"endTime\":\"2019-07-05T00:00:00+00:00\"},\"dataVersion\":\"2\",\"metadataVersion\":\"1\"}]";
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MachineLearningServicesDatasetDriftDetectedEventData);
- MachineLearningServicesDatasetDriftDetectedEventData eventData = (MachineLearningServicesDatasetDriftDetectedEventData)events[0].Data;
- Assert.Equal("copetersDriftMonitor3", eventData.DataDriftName);
- }
-
- // Maps events
- [Fact]
- public void ConsumeMapsGeofenceEnteredEvent()
- {
- string requestContent = "[{ \"id\": \"56afc886-767b-d359-d59e-0da7877166b2\", \"topic\": \"/SUBSCRIPTIONS/ID/RESOURCEGROUPS/rg/PROVIDERS/MICROSOFT.Maps/test1\", \"subject\": \"test1\", \"eventType\": \"Microsoft.Maps.GeofenceEntered\",\"eventTime\": \"2018-01-02T19:17:44.4383997Z\", \"data\": {\"expiredGeofenceGeometryId\":[\"id1\",\"id2\"],\"geometries\":[{\"deviceId\":\"id1\",\"distance\":1.0,\"geometryId\":\"gid1\",\"nearestLat\":72.4,\"nearestLon\":100.4,\"udId\":\"id22\"}],\"invalidPeriodGeofenceGeometryId\":null,\"isEventPublished\":true}}]";
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MapsGeofenceEnteredEventData);
- MapsGeofenceEnteredEventData eventData = (MapsGeofenceEnteredEventData)events[0].Data;
- Assert.Equal(1.0, eventData.Geometries[0].Distance);
- }
-
- [Fact]
- public void ConsumeMapsGeofenceExitedEvent()
- {
- string requestContent = "[{ \"id\": \"56afc886-767b-d359-d59e-0da7877166b2\", \"topic\": \"/SUBSCRIPTIONS/ID/RESOURCEGROUPS/rg/PROVIDERS/MICROSOFT.Maps/test1\", \"subject\": \"test1\", \"eventType\": \"Microsoft.Maps.GeofenceExited\",\"eventTime\": \"2018-01-02T19:17:44.4383997Z\", \"data\": {\"expiredGeofenceGeometryId\":[\"id1\",\"id2\"],\"geometries\":[{\"deviceId\":\"id1\",\"distance\":1.0,\"geometryId\":\"gid1\",\"nearestLat\":72.4,\"nearestLon\":100.4,\"udId\":\"id22\"}],\"invalidPeriodGeofenceGeometryId\":null,\"isEventPublished\":true}}]";
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MapsGeofenceExitedEventData);
- MapsGeofenceExitedEventData eventData = (MapsGeofenceExitedEventData)events[0].Data;
- Assert.Equal(1.0, eventData.Geometries[0].Distance);
- }
-
- [Fact]
- public void ConsumeMapsGeofenceResultEvent()
- {
- string requestContent = "[{ \"id\": \"56afc886-767b-d359-d59e-0da7877166b2\", \"topic\": \"/SUBSCRIPTIONS/ID/RESOURCEGROUPS/rg/PROVIDERS/MICROSOFT.Maps/test1\", \"subject\": \"test1\", \"eventType\": \"Microsoft.Maps.GeofenceResult\",\"eventTime\": \"2018-01-02T19:17:44.4383997Z\", \"data\": {\"expiredGeofenceGeometryId\":[\"id1\",\"id2\"],\"geometries\":[{\"deviceId\":\"id1\",\"distance\":1.0,\"geometryId\":\"gid1\",\"nearestLat\":72.4,\"nearestLon\":100.4,\"udId\":\"id22\"}],\"invalidPeriodGeofenceGeometryId\":null,\"isEventPublished\":true}}]";
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MapsGeofenceResultEventData);
- MapsGeofenceResultEventData eventData = (MapsGeofenceResultEventData)events[0].Data;
- Assert.Equal(1.0, eventData.Geometries[0].Distance);
- }
-
- // Media Services events
- [Fact]
- public void ConsumeMediaMediaJobStateChangeEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/{subscription id}/resourceGroups/{resource group}/providers/Microsoft.Media/mediaservices/{account name}\", \"subject\": \"transforms/VideoAnalyzerTransform/jobs/job-2ac2fe75-6557-4de5-ab25-5713b74a6901\", \"eventType\": \"Microsoft.Media.JobStateChange\", \"eventTime\": \"2018-10-12T15:14:20.2412317\", \"id\": \"341520d0-dac0-4930-97dd-3085538c624f\", \"data\": { \"previousState\": \"Scheduled\", \"state\": \"Processing\", \"correlationData\": {} }, \"dataVersion\": \"2.0\", \"metadataVersion\": \"1\"}]";
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MediaJobStateChangeEventData);
- MediaJobStateChangeEventData eventData = (MediaJobStateChangeEventData)events[0].Data;
- Assert.Equal(MediaJobState.Scheduled, eventData.PreviousState);
- Assert.Equal(MediaJobState.Processing, eventData.State);
- }
-
- [Fact]
- public void ConsumeMediaJobOutputStateChangeEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/{subscription id}/resourceGroups/{resource group}/providers/Microsoft.Media/mediaservices/{account name}\", \"subject\": \"transforms/VideoAnalyzerTransform/jobs/job-2ac2fe75-6557-4de5-ab25-5713b74a6901\", \"eventType\": \"Microsoft.Media.JobOutputStateChange\", \"eventTime\": \"2018-10-12T15:14:17.8962704\", \"id\": \"8d0305c0-28c0-4cc9-b613-776e4dd31e9a\", \"data\": { \"previousState\": \"Scheduled\", \"output\": { \"@odata.type\": \"#Microsoft.Media.JobOutputAsset\", \"assetName\": \"output-2ac2fe75-6557-4de5-ab25-5713b74a6901\", \"error\": null, \"label\": \"VideoAnalyzerPreset_0\", \"progress\": 0, \"state\": \"Processing\" }, \"jobCorrelationData\": {} }, \"dataVersion\": \"1.0\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MediaJobOutputStateChangeEventData);
- MediaJobOutputStateChangeEventData eventData = (MediaJobOutputStateChangeEventData)events[0].Data;
- Assert.Equal(MediaJobState.Scheduled, eventData.PreviousState);
- Assert.Equal(MediaJobState.Processing, eventData.Output.State);
- Assert.True(eventData.Output is MediaJobOutputAsset);
- MediaJobOutputAsset outputAsset = (MediaJobOutputAsset)eventData.Output;
- Assert.Equal("output-2ac2fe75-6557-4de5-ab25-5713b74a6901", outputAsset.AssetName);
- }
-
- [Fact]
- public void ConsumeMediaJobScheduledEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/{subscription id}/resourceGroups/{resource group}/providers/Microsoft.Media/mediaservices/{account name}\", \"subject\": \"transforms/VideoAnalyzerTransform/jobs/job-2ac2fe75-6557-4de5-ab25-5713b74a6901\", \"eventType\": \"Microsoft.Media.JobScheduled\", \"eventTime\": \"2018-10-12T15:14:11.3028183\", \"id\": \"9b17dbf0-355d-4fb0-9a73-e76b150858c8\", \"data\": { \"previousState\": \"Queued\", \"state\": \"Scheduled\", \"correlationData\": {} }, \"dataVersion\": \"1.0\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MediaJobScheduledEventData);
- MediaJobScheduledEventData eventData = (MediaJobScheduledEventData)events[0].Data;
- Assert.Equal(MediaJobState.Queued, eventData.PreviousState);
- Assert.Equal(MediaJobState.Scheduled, eventData.State);
- }
-
- [Fact]
- public void ConsumeMediaJobProcessingEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/{subscription id}/resourceGroups/{resource group}/providers/Microsoft.Media/mediaservices/{account name}\", \"subject\": \"transforms/VideoAnalyzerTransform/jobs/job-2ac2fe75-6557-4de5-ab25-5713b74a6901\", \"eventType\": \"Microsoft.Media.JobProcessing\", \"eventTime\": \"2018-10-12T15:14:20.2412317\", \"id\": \"72162c44-c7f4-437a-9592-48b83cec2d18\", \"data\": { \"previousState\": \"Scheduled\", \"state\": \"Processing\", \"correlationData\": {} }, \"dataVersion\": \"1.0\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MediaJobProcessingEventData);
- MediaJobProcessingEventData eventData = (MediaJobProcessingEventData)events[0].Data;
- Assert.Equal(MediaJobState.Scheduled, eventData.PreviousState);
- Assert.Equal(MediaJobState.Processing, eventData.State);
- }
-
- [Fact]
- public void ConsumeMediaJobCancelingEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/{subscription id}/resourceGroups/{resource group}/providers/Microsoft.Media/mediaservices/{account name}\", \"subject\": \"transforms/VideoAnalyzerTransform/jobs/job-7a8215f9-0f8d-48a6-82ed-1ead772bc221\", \"eventType\": \"Microsoft.Media.JobCanceling\", \"eventTime\": \"2018-10-12T15:41:50.5513295\", \"id\": \"1f9a488b-abe3-4fca-80b8-aae59bf7f123\", \"data\": { \"previousState\": \"Processing\", \"state\": \"Canceling\", \"correlationData\": {} }, \"dataVersion\": \"1.0\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MediaJobCancelingEventData);
- MediaJobCancelingEventData eventData = (MediaJobCancelingEventData)events[0].Data;
- Assert.Equal(MediaJobState.Processing, eventData.PreviousState);
- Assert.Equal(MediaJobState.Canceling, eventData.State);
- }
-
- [Fact]
- public void ConsumeMediaJobFinishedEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/{subscription id}/resourceGroups/{resource group}/providers/Microsoft.Media/mediaservices/{account name}\", \"subject\": \"transforms/VideoAnalyzerTransform/jobs/job-298338bb-f8d1-4d0f-9fde-544e0ac4d983\", \"eventType\": \"Microsoft.Media.JobFinished\", \"eventTime\": \"2018-10-01T20:58:26.7886175\", \"id\": \"83f8464d-be94-48e5-b67b-46c6199fe28e\", \"data\": { \"outputs\": [ { \"@odata.type\": \"#Microsoft.Media.JobOutputAsset\", \"assetName\": \"output-298338bb-f8d1-4d0f-9fde-544e0ac4d983\", \"error\": null, \"label\": \"VideoAnalyzerPreset_0\", \"progress\": 100, \"state\": \"Finished\" } ], \"previousState\": \"Processing\", \"state\": \"Finished\", \"correlationData\": {} }, \"dataVersion\": \"1.0\", \"metadataVersion\": \"1\" }]";
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MediaJobFinishedEventData);
- MediaJobFinishedEventData eventData = (MediaJobFinishedEventData)events[0].Data;
- Assert.Equal(MediaJobState.Processing, eventData.PreviousState);
- Assert.Equal(MediaJobState.Finished, eventData.State);
- Assert.Equal(1, eventData.Outputs.Count);
- Assert.True(eventData.Outputs[0] is MediaJobOutputAsset);
- MediaJobOutputAsset outputAsset = (MediaJobOutputAsset)eventData.Outputs[0];
-
- Assert.Equal(MediaJobState.Finished, outputAsset.State);
- Assert.Null(outputAsset.Error);
- Assert.Equal(100, outputAsset.Progress);
- Assert.Equal("output-298338bb-f8d1-4d0f-9fde-544e0ac4d983", outputAsset.AssetName);
- }
-
- [Fact]
- public void ConsumeMediaJobCanceledEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/{subscription id}/resourceGroups/{resource group}/providers/Microsoft.Media/mediaservices/{account name}\", \"subject\": \"transforms/VideoAnalyzerTransform/jobs/job-7a8215f9-0f8d-48a6-82ed-1ead772bc221\", \"eventType\": \"Microsoft.Media.JobCanceled\", \"eventTime\": \"2018-10-12T15:42:05.6519929\", \"id\": \"3fef7871-f916-4980-8a45-e79a2675808b\", \"data\": { \"outputs\": [ { \"@odata.type\": \"#Microsoft.Media.JobOutputAsset\", \"assetName\": \"output-7a8215f9-0f8d-48a6-82ed-1ead772bc221\", \"error\": null, \"label\": \"VideoAnalyzerPreset_0\", \"progress\": 83, \"state\": \"Canceled\" } ], \"previousState\": \"Canceling\", \"state\": \"Canceled\", \"correlationData\": {} }, \"dataVersion\": \"1.0\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MediaJobCanceledEventData);
- MediaJobCanceledEventData eventData = (MediaJobCanceledEventData)events[0].Data;
- Assert.Equal(MediaJobState.Canceling, eventData.PreviousState);
- Assert.Equal(MediaJobState.Canceled, eventData.State);
- Assert.Equal(1, eventData.Outputs.Count);
- Assert.True(eventData.Outputs[0] is MediaJobOutputAsset);
-
- MediaJobOutputAsset outputAsset = (MediaJobOutputAsset)eventData.Outputs[0];
-
- Assert.Equal(MediaJobState.Canceled, outputAsset.State);
- Assert.Null(outputAsset.Error);
- Assert.NotEqual(100, outputAsset.Progress);
- Assert.Equal("output-7a8215f9-0f8d-48a6-82ed-1ead772bc221", outputAsset.AssetName);
- }
-
- [Fact]
- public void ConsumeMediaJobErroredEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/{subscription id}/resourceGroups/{resource group}/providers/Microsoft.Media/mediaservices/{account name}\", \"subject\": \"transforms/VideoAnalyzerTransform/jobs/job-2ac2fe75-6557-4de5-ab25-5713b74a6901\", \"eventType\": \"Microsoft.Media.JobErrored\", \"eventTime\": \"2018-10-12T15:29:20.9954767\", \"id\": \"2749e9cf-4095-4723-9bc5-df8e15289135\", \"data\": { \"outputs\": [ { \"@odata.type\": \"#Microsoft.Media.JobOutputAsset\", \"assetName\": \"output-2ac2fe75-6557-4de5-ab25-5713b74a6901\", \"error\": { \"category\": \"Service\", \"code\": \"ServiceError\", \"details\": [ { \"code\": \"Internal\", \"message\": \"Internal error in initializing the task for processing\" } ], \"message\": \"Fatal service error, please contact support.\", \"retry\": \"DoNotRetry\" }, \"label\": \"VideoAnalyzerPreset_0\", \"progress\": 83, \"state\": \"Error\" } ], \"previousState\": \"Processing\", \"state\": \"Error\", \"correlationData\": {} }, \"dataVersion\": \"1.0\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MediaJobErroredEventData);
- MediaJobErroredEventData eventData = (MediaJobErroredEventData)events[0].Data;
- Assert.Equal(MediaJobState.Processing, eventData.PreviousState);
- Assert.Equal(MediaJobState.Error, eventData.State);
- Assert.Equal(1, eventData.Outputs.Count);
- Assert.True(eventData.Outputs[0] is MediaJobOutputAsset);
-
- Assert.Equal(MediaJobState.Error, eventData.Outputs[0].State);
- Assert.NotNull(eventData.Outputs[0].Error);
- Assert.Equal(MediaJobErrorCategory.Service, eventData.Outputs[0].Error.Category);
- Assert.Equal(MediaJobErrorCode.ServiceError, eventData.Outputs[0].Error.Code);
- }
-
- [Fact]
- public void ConsumeMediaJobOutputCanceledEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/{subscription id}/resourceGroups/{resource group}/providers/Microsoft.Media/mediaservices/{account name}\", \"subject\": \"transforms/VideoAnalyzerTransform/jobs/job-7a8215f9-0f8d-48a6-82ed-1ead772bc221\", \"eventType\": \"Microsoft.Media.JobOutputCanceled\", \"eventTime\": \"2018-10-12T15:42:04.949555\", \"id\": \"9297cda2-4a50-4622-a679-c3785d27d512\", \"data\": { \"previousState\": \"Canceling\", \"output\": { \"@odata.type\": \"#Microsoft.Media.JobOutputAsset\", \"assetName\": \"output-7a8215f9-0f8d-48a6-82ed-1ead772bc221\", \"error\": null, \"label\": \"VideoAnalyzerPreset_0\", \"progress\": 83, \"state\": \"Canceled\" }, \"jobCorrelationData\": {} }, \"dataVersion\": \"1.0\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MediaJobOutputCanceledEventData);
- MediaJobOutputCanceledEventData eventData = (MediaJobOutputCanceledEventData)events[0].Data;
- Assert.Equal(MediaJobState.Canceling, eventData.PreviousState);
- Assert.Equal(MediaJobState.Canceled, eventData.Output.State);
- Assert.True(eventData.Output is MediaJobOutputAsset);
- }
-
- [Fact]
- public void ConsumeMediaJobOutputCancelingEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/{subscription id}/resourceGroups/{resource group}/providers/Microsoft.Media/mediaservices/{account name}\", \"subject\": \"transforms/VideoAnalyzerTransform/jobs/job-7a8215f9-0f8d-48a6-82ed-1ead772bc221\", \"eventType\": \"Microsoft.Media.JobOutputCanceling\", \"eventTime\": \"2018-10-12T15:42:04.949555\", \"id\": \"9297cda2-4a50-4622-a679-c3785d27d512\", \"data\": { \"previousState\": \"Processing\", \"output\": { \"@odata.type\": \"#Microsoft.Media.JobOutputAsset\", \"assetName\": \"output-7a8215f9-0f8d-48a6-82ed-1ead772bc221\", \"error\": null, \"label\": \"VideoAnalyzerPreset_0\", \"progress\": 83, \"state\": \"Canceling\" }, \"jobCorrelationData\": {} }, \"dataVersion\": \"1.0\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MediaJobOutputCancelingEventData);
- MediaJobOutputCancelingEventData eventData = (MediaJobOutputCancelingEventData)events[0].Data;
- Assert.Equal(MediaJobState.Processing, eventData.PreviousState);
- Assert.Equal(MediaJobState.Canceling, eventData.Output.State);
- Assert.True(eventData.Output is MediaJobOutputAsset);
- }
-
- [Fact]
- public void ConsumeMediaJobOutputErroredEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/{subscription id}/resourceGroups/{resource group}/providers/Microsoft.Media/mediaservices/{account name}\", \"subject\": \"transforms/VideoAnalyzerTransform/jobs/job-2ac2fe75-6557-4de5-ab25-5713b74a6901\", \"eventType\": \"Microsoft.Media.JobOutputErrored\", \"eventTime\": \"2018-10-12T15:29:20.2621252\", \"id\": \"bc9e6342-f081-49c2-a579-92f506a622c2\", \"data\": { \"previousState\": \"Processing\", \"output\": { \"@odata.type\": \"#Microsoft.Media.JobOutputAsset\", \"assetName\": \"output-2ac2fe75-6557-4de5-ab25-5713b74a6901\", \"error\": { \"category\": \"Service\", \"code\": \"ServiceError\", \"details\": [ { \"code\": \"Internal\", \"message\": \"Internal error in initializing the task for processing\" } ], \"message\": \"Fatal service error, please contact support.\", \"retry\": \"DoNotRetry\" }, \"label\": \"VideoAnalyzerPreset_0\", \"progress\": 83, \"state\": \"Error\" }, \"jobCorrelationData\": {} }, \"dataVersion\": \"1.0\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MediaJobOutputErroredEventData);
- MediaJobOutputErroredEventData eventData = (MediaJobOutputErroredEventData)events[0].Data;
- Assert.Equal(MediaJobState.Processing, eventData.PreviousState);
- Assert.Equal(MediaJobState.Error, eventData.Output.State);
- Assert.True(eventData.Output is MediaJobOutputAsset);
- Assert.NotNull(eventData.Output.Error);
- Assert.Equal(MediaJobErrorCategory.Service, eventData.Output.Error.Category);
- Assert.Equal(MediaJobErrorCode.ServiceError, eventData.Output.Error.Code);
- }
-
- [Fact]
- public void ConsumeMediaJobOutputFinishedEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/{subscription id}/resourceGroups/{resource group}/providers/Microsoft.Media/mediaservices/{account name}\", \"subject\": \"transforms/VideoAnalyzerTransform/jobs/job-2ac2fe75-6557-4de5-ab25-5713b74a6901\", \"eventType\": \"Microsoft.Media.JobOutputFinished\", \"eventTime\": \"2018-10-12T15:29:20.2621252\", \"id\": \"bc9e6342-f081-49c2-a579-92f506a622c2\", \"data\": { \"previousState\": \"Processing\", \"output\": { \"@odata.type\": \"#Microsoft.Media.JobOutputAsset\", \"assetName\": \"output-2ac2fe75-6557-4de5-ab25-5713b74a6901\", \"label\": \"VideoAnalyzerPreset_0\", \"progress\": 100, \"state\": \"Finished\" }, \"jobCorrelationData\": {} }, \"dataVersion\": \"1.0\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MediaJobOutputFinishedEventData);
- MediaJobOutputFinishedEventData eventData = (MediaJobOutputFinishedEventData)events[0].Data;
- Assert.Equal(MediaJobState.Processing, eventData.PreviousState);
- Assert.Equal(MediaJobState.Finished, eventData.Output.State);
- Assert.True(eventData.Output is MediaJobOutputAsset);
- Assert.Equal(100, eventData.Output.Progress);
-
- MediaJobOutputAsset outputAsset = (MediaJobOutputAsset)eventData.Output;
- Assert.Equal("output-2ac2fe75-6557-4de5-ab25-5713b74a6901", outputAsset.AssetName);
- }
-
- [Fact]
- public void ConsumeMediaJobOutputProcessingEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/{subscription id}/resourceGroups/{resource group}/providers/Microsoft.Media/mediaservices/{account name}\", \"subject\": \"transforms/VideoAnalyzerTransform/jobs/job-2ac2fe75-6557-4de5-ab25-5713b74a6901\", \"eventType\": \"Microsoft.Media.JobOutputProcessing\", \"eventTime\": \"2018-10-12T15:14:17.8962704\", \"id\": \"d48eeb0b-2bfa-4265-a2f8-624654c3781c\", \"data\": { \"previousState\": \"Scheduled\", \"output\": { \"@odata.type\": \"#Microsoft.Media.JobOutputAsset\", \"assetName\": \"output-2ac2fe75-6557-4de5-ab25-5713b74a6901\", \"error\": null, \"label\": \"VideoAnalyzerPreset_0\", \"progress\": 0, \"state\": \"Processing\" }, \"jobCorrelationData\": {} }, \"dataVersion\": \"1.0\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MediaJobOutputProcessingEventData);
- MediaJobOutputProcessingEventData eventData = (MediaJobOutputProcessingEventData)events[0].Data;
- Assert.Equal(MediaJobState.Scheduled, eventData.PreviousState);
- Assert.Equal(MediaJobState.Processing, eventData.Output.State);
- Assert.True(eventData.Output is MediaJobOutputAsset);
- }
-
- [Fact]
- public void ConsumeMediaJobOutputScheduledEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/{subscription id}/resourceGroups/{resource group}/providers/Microsoft.Media/mediaservices/{account name}\", \"subject\": \"transforms/VideoAnalyzerTransform/jobs/job-2ac2fe75-6557-4de5-ab25-5713b74a6901\", \"eventType\": \"Microsoft.Media.JobOutputScheduled\", \"eventTime\": \"2018-10-12T15:14:11.2244618\", \"id\": \"635ca6ea-5306-4590-b2e1-22f172759336\", \"data\": { \"previousState\": \"Queued\", \"output\": { \"@odata.type\": \"#Microsoft.Media.JobOutputAsset\", \"assetName\": \"output-2ac2fe75-6557-4de5-ab25-5713b74a6901\", \"error\": null, \"label\": \"VideoAnalyzerPreset_0\", \"progress\": 0, \"state\": \"Scheduled\" }, \"jobCorrelationData\": {} }, \"dataVersion\": \"1.0\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MediaJobOutputScheduledEventData);
- MediaJobOutputScheduledEventData eventData = (MediaJobOutputScheduledEventData)events[0].Data;
- Assert.Equal(MediaJobState.Queued, eventData.PreviousState);
- Assert.Equal(MediaJobState.Scheduled, eventData.Output.State);
- Assert.True(eventData.Output is MediaJobOutputAsset);
- }
-
- [Fact]
- public void ConsumeMediaJobOutputProgressEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/{subscription id}/resourceGroups/{resource group}/providers/Microsoft.Media/mediaservices/{account name}\", \"subject\": \"transforms/VideoAnalyzerTransform/jobs/job-2ac2fe75-6557-4de5-ab25-5713b74a6981\", \"eventType\": \"Microsoft.Media.JobOutputProgress\", \"eventTime\": \"2018-10-12T15:14:11.2244618\", \"id\": \"635ca6ea-5306-4590-b2e1-22f172759336\", \"data\": { \"jobCorrelationData\": { \"Field1\": \"test1\", \"Field2\": \"test2\" }, \"label\": \"TestLabel\", \"progress\": 50 }, \"dataVersion\": \"1.0\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MediaJobOutputProgressEventData);
- MediaJobOutputProgressEventData eventData = (MediaJobOutputProgressEventData)events[0].Data;
- Assert.Equal("TestLabel", eventData.Label);
- Assert.Equal(50, eventData.Progress);
- Assert.True(eventData.JobCorrelationData.ContainsKey("Field1"));
- Assert.Equal("test1", eventData.JobCorrelationData["Field1"]);
- Assert.True(eventData.JobCorrelationData.ContainsKey("Field2"));
- Assert.Equal("test2", eventData.JobCorrelationData["Field2"]);
- }
-
- [Fact]
- public void ConsumeMediaLiveEventEncoderConnectedEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/{subscription id}/resourceGroups/{resource group}/providers/Microsoft.Media/mediaservices/{account name}\", \"subject\": \"liveEvent/liveevent-ec9d26a8\", \"eventType\": \"Microsoft.Media.LiveEventEncoderConnected\", \"eventTime\": \"2018-10-12T15:52:04.2013501\", \"id\": \"3d1f5b26-c466-47e7-927b-900985e0c5d5\", \"data\": { \"ingestUrl\": \"rtmp://liveevent-ec9d26a8.channel.media.azure.net:1935/live/cb5540b10a5646218c1328be95050c59\", \"streamId\": \"Mystream1\", \"encoderIp\": \"\", \"encoderPort\": \"3557\" }, \"dataVersion\": \"1.0\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MediaLiveEventEncoderConnectedEventData);
- MediaLiveEventEncoderConnectedEventData eventData = (MediaLiveEventEncoderConnectedEventData)events[0].Data;
- Assert.Equal("rtmp://liveevent-ec9d26a8.channel.media.azure.net:1935/live/cb5540b10a5646218c1328be95050c59", eventData.IngestUrl);
- Assert.Equal("Mystream1", eventData.StreamId);
- Assert.Equal("", eventData.EncoderIp);
- Assert.Equal("3557", eventData.EncoderPort);
- }
-
-
- [Fact]
- public void ConsumeMediaLiveEventConnectionRejectedEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/{subscription id}/resourceGroups/{resource group}/providers/Microsoft.Media/mediaservices/{account name}\", \"subject\": \"liveEvent/liveevent-ec9d26a8\", \"eventType\": \"Microsoft.Media.LiveEventConnectionRejected\", \"eventTime\": \"2018-10-12T15:52:04.2013501\", \"id\": \"3d1f5b26-c466-47e7-927b-900985e0c5d5\", \"data\": { \"ingestUrl\": \"rtmp://liveevent-ec9d26a8.channel.media.azure.net:1935/live/cb5540b10a5646218c1328be95050c59\", \"streamId\": \"Mystream1\", \"encoderIp\": \"\", \"encoderPort\": \"3557\", \"resultCode\": \"MPE_INGEST_CODEC_NOT_SUPPORTED\" }, \"dataVersion\": \"1.0\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MediaLiveEventConnectionRejectedEventData);
- MediaLiveEventConnectionRejectedEventData eventData = (MediaLiveEventConnectionRejectedEventData)events[0].Data;
- }
-
- [Fact]
- public void ConsumeMediaLiveEventEncoderDisconnectedEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/{subscription id}/resourceGroups/{resource group}/providers/Microsoft.Media/mediaservices/{account name}\", \"subject\": \"liveEvent/liveevent-ec9d26a8\", \"eventType\": \"Microsoft.Media.LiveEventEncoderDisconnected\", \"eventTime\": \"2018-10-12T15:52:19.8982128\", \"id\": \"e4b55140-42d2-4c24-b08e-9aa12f1587fc\", \"data\": { \"ingestUrl\": \"rtmp://liveevent-ec9d26a8.channel.media.azure.net:1935/live/cb5540b10a5646218c1328be95050c59\", \"streamId\": \"Mystream1\", \"encoderIp\": \"\", \"encoderPort\": \"3557\", \"resultCode\": \"MPE_CLIENT_TERMINATED_SESSION\" }, \"dataVersion\": \"1.0\", \"metadataVersion\": \"1\"}]";
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MediaLiveEventEncoderDisconnectedEventData);
- MediaLiveEventEncoderDisconnectedEventData eventData = (MediaLiveEventEncoderDisconnectedEventData)events[0].Data;
- Assert.Equal("MPE_CLIENT_TERMINATED_SESSION", eventData.ResultCode);
-
- Assert.Equal("rtmp://liveevent-ec9d26a8.channel.media.azure.net:1935/live/cb5540b10a5646218c1328be95050c59", eventData.IngestUrl);
- Assert.Equal("Mystream1", eventData.StreamId);
- Assert.Equal("", eventData.EncoderIp);
- Assert.Equal("3557", eventData.EncoderPort);
- }
-
- [Fact]
- public void ConsumeMediaLiveEventIncomingStreamReceivedEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/{subscription id}/resourceGroups/{resource group}/providers/Microsoft.Media/mediaservices/{account name}\", \"subject\": \"liveEvent/liveevent-ec9d26a8\", \"eventType\": \"Microsoft.Media.LiveEventIncomingStreamReceived\", \"eventTime\": \"2018-10-12T15:52:16.5726463Z\", \"id\": \"eb688fa1-5a19-4703-8aeb-6a65a09790da\", \"data\": { \"ingestUrl\": \"rtmp://liveevent-ec9d26a8.channel.media.azure.net:1935/live/cb5540b10a5646218c1328be95050c59\", \"trackType\": \"audio\", \"trackName\": \"audio_160000\", \"bitrate\": 160000, \"encoderIp\": \"\", \"encoderPort\": \"3557\", \"timestamp\": \"66\", \"duration\": \"1950\", \"timescale\": \"1000\" }, \"dataVersion\": \"1.0\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MediaLiveEventIncomingStreamReceivedEventData);
- MediaLiveEventIncomingStreamReceivedEventData eventData = (MediaLiveEventIncomingStreamReceivedEventData)events[0].Data;
-
- Assert.Equal("rtmp://liveevent-ec9d26a8.channel.media.azure.net:1935/live/cb5540b10a5646218c1328be95050c59", eventData.IngestUrl);
- Assert.Equal("", eventData.EncoderIp);
- Assert.Equal("3557", eventData.EncoderPort);
- Assert.Equal("audio", eventData.TrackType);
- Assert.Equal("audio_160000", eventData.TrackName);
- Assert.Equal(160000, eventData.Bitrate);
- Assert.Equal("66", eventData.Timestamp);
- Assert.Equal("1950", eventData.Duration);
- Assert.Equal("1000", eventData.Timescale);
- }
-
-
- [Fact]
- public void ConsumeMediaLiveEventIncomingStreamsOutOfSyncEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/{subscription id}/resourceGroups/{resource group}/providers/Microsoft.Media/mediaservices/{account name}\", \"subject\": \"liveEvent/liveevent-ec9d26a8\", \"eventType\": \"Microsoft.Media.LiveEventIncomingStreamsOutOfSync\", \"eventTime\": \"2018-10-12T15:52:37.3710102\", \"id\": \"d84727e2-d9c0-4a21-a66b-8d23f06b3e06\", \"data\": { \"minLastTimestamp\": \"10999\", \"typeOfStreamWithMinLastTimestamp\": \"video\", \"maxLastTimestamp\": \"100999\", \"typeOfStreamWithMaxLastTimestamp\": \"audio\", \"timescaleOfMinLastTimestamp\": \"1000\", \"timescaleOfMaxLastTimestamp\": \"1000\" }, \"dataVersion\": \"1.0\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MediaLiveEventIncomingStreamsOutOfSyncEventData);
- MediaLiveEventIncomingStreamsOutOfSyncEventData eventData = (MediaLiveEventIncomingStreamsOutOfSyncEventData)events[0].Data;
- Assert.Equal("10999", eventData.MinLastTimestamp);
- Assert.Equal("video", eventData.TypeOfStreamWithMinLastTimestamp);
- Assert.Equal("100999", eventData.MaxLastTimestamp);
- Assert.Equal("audio", eventData.TypeOfStreamWithMaxLastTimestamp);
- Assert.Equal("1000", eventData.TimescaleOfMinLastTimestamp);
- Assert.Equal("1000", eventData.TimescaleOfMaxLastTimestamp);
- }
-
- [Fact]
- public void ConsumeMediaLiveEventIncomingVideoStreamsOutOfSyncEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/{subscription id}/resourceGroups/{resource group}/providers/Microsoft.Media/mediaservices/{account name}\", \"subject\": \"liveEvent/liveevent-ec9d26a8\", \"eventType\": \"Microsoft.Media.LiveEventIncomingVideoStreamsOutOfSync\", \"eventTime\": \"2018-10-12T15:52:37.3710102\", \"id\": \"d84727e2-d9c0-4a21-a66b-8d23f06b3e06\", \"data\": { \"firstTimestamp\": \"10999\", \"firstDuration\": \"2000\", \"secondTimestamp\": \"100999\", \"secondDuration\": \"2000\", \"timescale\": \"1000\", }, \"dataVersion\": \"1.0\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MediaLiveEventIncomingVideoStreamsOutOfSyncEventData);
- MediaLiveEventIncomingVideoStreamsOutOfSyncEventData eventData = (MediaLiveEventIncomingVideoStreamsOutOfSyncEventData)events[0].Data;
- Assert.Equal("10999", eventData.FirstTimestamp);
- Assert.Equal("2000", eventData.FirstDuration);
- Assert.Equal("100999", eventData.SecondTimestamp);
- Assert.Equal("2000", eventData.SecondDuration);
- Assert.Equal("1000", eventData.Timescale);
- }
-
- [Fact]
- public void ConsumeMediaLiveEventIncomingDataChunkDroppedEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/{subscription id}/resourceGroups/{resource group}/providers/Microsoft.Media/mediaservices/{account name}\", \"subject\": \"liveEvent/liveevent-ec9d26a8\", \"eventType\": \"Microsoft.Media.LiveEventIncomingDataChunkDropped\", \"eventTime\": \"2018-10-12T15:52:37.3710102\", \"id\": \"d84727e2-d9c0-4a21-a66b-8d23f06b3e06\", \"data\": { \"timestamp\": \"8999\", \"trackType\": \"video\", \"trackName\": \"video1\", \"bitrate\": 2500000, \"timescale\": \"1000\", \"resultCode\": \"FragmentDrop_OverlapTimestamp\", }, \"dataVersion\": \"1.0\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MediaLiveEventIncomingDataChunkDroppedEventData);
- MediaLiveEventIncomingDataChunkDroppedEventData eventData = (MediaLiveEventIncomingDataChunkDroppedEventData)events[0].Data;
- Assert.Equal("8999", eventData.Timestamp);
- Assert.Equal("video", eventData.TrackType);
- Assert.Equal("video1", eventData.TrackName);
- Assert.Equal(2500000, eventData.Bitrate);
- Assert.Equal("1000", eventData.Timescale);
- Assert.Equal("FragmentDrop_OverlapTimestamp", eventData.ResultCode);
- }
-
- [Fact]
- public void ConsumeMediaLiveEventIngestHeartbeatEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/{subscription id}/resourceGroups/{resource group}/providers/Microsoft.Media/mediaservices/{account name}\", \"subject\": \"liveEvent/liveevent-ec9d26a8\", \"eventType\": \"Microsoft.Media.LiveEventIngestHeartbeat\", \"eventTime\": \"2018-10-12T15:52:37.3710102\", \"id\": \"d84727e2-d9c0-4a21-a66b-8d23f06b3e06\", \"data\": { \"trackType\": \"video\", \"trackName\": \"video\", \"bitrate\": 2500000, \"incomingBitrate\": 500726, \"lastTimestamp\": \"11999\", \"timescale\": \"1000\", \"overlapCount\": 0, \"discontinuityCount\": 0, \"nonincreasingCount\": 0, \"unexpectedBitrate\": true, \"state\": \"Running\", \"healthy\": false }, \"dataVersion\": \"1.0\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MediaLiveEventIngestHeartbeatEventData);
- MediaLiveEventIngestHeartbeatEventData eventData = (MediaLiveEventIngestHeartbeatEventData)events[0].Data;
- Assert.Equal("video", eventData.TrackType);
- Assert.Equal("video", eventData.TrackName);
- Assert.Equal(2500000, eventData.Bitrate);
- Assert.Equal(500726, eventData.IncomingBitrate);
- Assert.Equal("11999", eventData.LastTimestamp);
- Assert.Equal("1000", eventData.Timescale);
- Assert.Equal(0, eventData.OverlapCount);
- Assert.Equal(0, eventData.DiscontinuityCount);
- Assert.Equal(0, eventData.NonincreasingCount);
- Assert.True(eventData.UnexpectedBitrate);
- Assert.Equal("Running", eventData.State);
- Assert.False(eventData.Healthy);
- }
-
- [Fact]
- public void ConsumeMediaLiveEventTrackDiscontinuityDetectedEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/{subscription id}/resourceGroups/{resource group}/providers/Microsoft.Media/mediaservices/{account name}\", \"subject\": \"liveEvent/liveevent-ec9d26a8\", \"eventType\": \"Microsoft.Media.LiveEventTrackDiscontinuityDetected\", \"eventTime\": \"2018-10-12T15:52:37.3710102\", \"id\": \"d84727e2-d9c0-4a21-a66b-8d23f06b3e06\", \"data\": { \"trackType\": \"video\", \"trackName\": \"video\", \"bitrate\": 2500000, \"previousTimestamp\": \"10999\", \"newTimestamp\": \"14999\", \"timescale\": \"1000\", \"discontinuityGap\": 4000, }, \"dataVersion\": \"1.0\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is MediaLiveEventTrackDiscontinuityDetectedEventData);
- MediaLiveEventTrackDiscontinuityDetectedEventData eventData = (MediaLiveEventTrackDiscontinuityDetectedEventData)events[0].Data;
- Assert.Equal("video", eventData.TrackType);
- Assert.Equal("video", eventData.TrackName);
- Assert.Equal(2500000, eventData.Bitrate);
- Assert.Equal("10999", eventData.PreviousTimestamp);
- Assert.Equal("14999", eventData.NewTimestamp);
- Assert.Equal("1000", eventData.Timescale);
- Assert.Equal("4000", eventData.DiscontinuityGap);
- }
-
- // Resource Manager (Azure Subscription/Resource Group) events
- [Fact]
- public void ConsumeResourceWriteSuccessEvent()
- {
- string requestContent = "[ { \"topic\":\"/subscriptions/{subscription-id}\", \"subject\":\"/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventGrid/eventSubscriptions/LogicAppdd584bdf-8347-49c9-b9a9-d1f980783501\", \"eventType\":\"Microsoft.Resources.ResourceWriteSuccess\", \"eventTime\":\"2017-08-16T03:54:38.2696833Z\", \"id\":\"25b3b0d0-d79b-44d5-9963-440d4e6a9bba\", \"data\": { \"authorization\":\"{azure_resource_manager_authorizations}\", \"claims\":\"{azure_resource_manager_claims}\", \"correlationId\":\"54ef1e39-6a82-44b3-abc1-bdeb6ce4d3c6\", \"httpRequest\":\"{request-operation}\", \"resourceProvider\":\"Microsoft.EventGrid\", \"resourceUri\":\"/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventGrid/eventSubscriptions/LogicAppdd584bdf-8347-49c9-b9a9-d1f980783501\", \"operationName\":\"Microsoft.EventGrid/eventSubscriptions/write\", \"status\":\"Succeeded\", \"subscriptionId\":\"{subscription-id}\", \"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\" }, \"dataVersion\": \"\", \"metadataVersion\": \"1\" }]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is ResourceWriteSuccessData);
- ResourceWriteSuccessData eventData = (ResourceWriteSuccessData)events[0].Data;
- Assert.Equal("72f988bf-86f1-41af-91ab-2d7cd011db47", eventData.TenantId);
- }
-
- [Fact]
- public void ConsumeResourceWriteFailureEvent()
- {
- string requestContent = "[ { \"topic\":\"/subscriptions/{subscription-id}\", \"subject\":\"/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventGrid/eventSubscriptions/LogicAppdd584bdf-8347-49c9-b9a9-d1f980783501\", \"eventType\":\"Microsoft.Resources.ResourceWriteFailure\", \"eventTime\":\"2017-08-16T03:54:38.2696833Z\", \"id\":\"25b3b0d0-d79b-44d5-9963-440d4e6a9bba\", \"data\": { \"authorization\":\"{azure_resource_manager_authorizations}\", \"claims\":\"{azure_resource_manager_claims}\", \"correlationId\":\"54ef1e39-6a82-44b3-abc1-bdeb6ce4d3c6\", \"httpRequest\":\"{request-operation}\", \"resourceProvider\":\"Microsoft.EventGrid\", \"resourceUri\":\"/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventGrid/eventSubscriptions/LogicAppdd584bdf-8347-49c9-b9a9-d1f980783501\", \"operationName\":\"Microsoft.EventGrid/eventSubscriptions/write\", \"status\":\"Succeeded\", \"subscriptionId\":\"{subscription-id}\", \"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\" }, \"dataVersion\": \"\", \"metadataVersion\": \"1\" }]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is ResourceWriteFailureData);
- ResourceWriteFailureData eventData = (ResourceWriteFailureData)events[0].Data;
- Assert.Equal("72f988bf-86f1-41af-91ab-2d7cd011db47", eventData.TenantId);
- }
-
- [Fact]
- public void ConsumeResourceWriteCancelEvent()
- {
- string requestContent = "[ { \"topic\":\"/subscriptions/{subscription-id}\", \"subject\":\"/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventGrid/eventSubscriptions/LogicAppdd584bdf-8347-49c9-b9a9-d1f980783501\", \"eventType\":\"Microsoft.Resources.ResourceWriteCancel\", \"eventTime\":\"2017-08-16T03:54:38.2696833Z\", \"id\":\"25b3b0d0-d79b-44d5-9963-440d4e6a9bba\", \"data\": { \"authorization\":\"{azure_resource_manager_authorizations}\", \"claims\":\"{azure_resource_manager_claims}\", \"correlationId\":\"54ef1e39-6a82-44b3-abc1-bdeb6ce4d3c6\", \"httpRequest\":\"{request-operation}\", \"resourceProvider\":\"Microsoft.EventGrid\", \"resourceUri\":\"/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventGrid/eventSubscriptions/LogicAppdd584bdf-8347-49c9-b9a9-d1f980783501\", \"operationName\":\"Microsoft.EventGrid/eventSubscriptions/write\", \"status\":\"Succeeded\", \"subscriptionId\":\"{subscription-id}\", \"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\" }, \"dataVersion\": \"\", \"metadataVersion\": \"1\" }]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is ResourceWriteCancelData);
- ResourceWriteCancelData eventData = (ResourceWriteCancelData)events[0].Data;
- Assert.Equal("72f988bf-86f1-41af-91ab-2d7cd011db47", eventData.TenantId);
- }
-
- [Fact]
- public void ConsumeResourceDeleteSuccessEvent()
- {
- string requestContent = "[ { \"topic\":\"/subscriptions/{subscription-id}\", \"subject\":\"/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventGrid/eventSubscriptions/LogicAppdd584bdf-8347-49c9-b9a9-d1f980783501\", \"eventType\":\"Microsoft.Resources.ResourceDeleteSuccess\", \"eventTime\":\"2017-08-16T03:54:38.2696833Z\", \"id\":\"25b3b0d0-d79b-44d5-9963-440d4e6a9bba\", \"data\": { \"authorization\":\"{azure_resource_manager_authorizations}\", \"claims\":\"{azure_resource_manager_claims}\", \"correlationId\":\"54ef1e39-6a82-44b3-abc1-bdeb6ce4d3c6\", \"httpRequest\":\"{request-operation}\", \"resourceProvider\":\"Microsoft.EventGrid\", \"resourceUri\":\"/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventGrid/eventSubscriptions/LogicAppdd584bdf-8347-49c9-b9a9-d1f980783501\", \"operationName\":\"Microsoft.EventGrid/eventSubscriptions/write\", \"status\":\"Succeeded\", \"subscriptionId\":\"{subscription-id}\", \"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\" }, \"dataVersion\": \"\", \"metadataVersion\": \"1\" }]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is ResourceDeleteSuccessData);
- ResourceDeleteSuccessData eventData = (ResourceDeleteSuccessData)events[0].Data;
- Assert.Equal("72f988bf-86f1-41af-91ab-2d7cd011db47", eventData.TenantId);
- }
-
- [Fact]
- public void ConsumeResourceDeleteFailureEvent()
- {
- string requestContent = "[ { \"topic\":\"/subscriptions/{subscription-id}\", \"subject\":\"/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventGrid/eventSubscriptions/LogicAppdd584bdf-8347-49c9-b9a9-d1f980783501\", \"eventType\":\"Microsoft.Resources.ResourceDeleteFailure\", \"eventTime\":\"2017-08-16T03:54:38.2696833Z\", \"id\":\"25b3b0d0-d79b-44d5-9963-440d4e6a9bba\", \"data\": { \"authorization\":\"{azure_resource_manager_authorizations}\", \"claims\":\"{azure_resource_manager_claims}\", \"correlationId\":\"54ef1e39-6a82-44b3-abc1-bdeb6ce4d3c6\", \"httpRequest\":\"{request-operation}\", \"resourceProvider\":\"Microsoft.EventGrid\", \"resourceUri\":\"/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventGrid/eventSubscriptions/LogicAppdd584bdf-8347-49c9-b9a9-d1f980783501\", \"operationName\":\"Microsoft.EventGrid/eventSubscriptions/write\", \"status\":\"Succeeded\", \"subscriptionId\":\"{subscription-id}\", \"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\" }, \"dataVersion\": \"\", \"metadataVersion\": \"1\" }]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is ResourceDeleteFailureData);
- ResourceDeleteFailureData eventData = (ResourceDeleteFailureData)events[0].Data;
- Assert.Equal("72f988bf-86f1-41af-91ab-2d7cd011db47", eventData.TenantId);
- }
-
- [Fact]
- public void ConsumeResourceDeleteCancelEvent()
- {
- string requestContent = "[ { \"topic\":\"/subscriptions/{subscription-id}\", \"subject\":\"/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventGrid/eventSubscriptions/LogicAppdd584bdf-8347-49c9-b9a9-d1f980783501\", \"eventType\":\"Microsoft.Resources.ResourceDeleteCancel\", \"eventTime\":\"2017-08-16T03:54:38.2696833Z\", \"id\":\"25b3b0d0-d79b-44d5-9963-440d4e6a9bba\", \"data\": { \"authorization\":\"{azure_resource_manager_authorizations}\", \"claims\":\"{azure_resource_manager_claims}\", \"correlationId\":\"54ef1e39-6a82-44b3-abc1-bdeb6ce4d3c6\", \"httpRequest\":\"{request-operation}\", \"resourceProvider\":\"Microsoft.EventGrid\", \"resourceUri\":\"/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventGrid/eventSubscriptions/LogicAppdd584bdf-8347-49c9-b9a9-d1f980783501\", \"operationName\":\"Microsoft.EventGrid/eventSubscriptions/write\", \"status\":\"Succeeded\", \"subscriptionId\":\"{subscription-id}\", \"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\" }, \"dataVersion\": \"\", \"metadataVersion\": \"1\" }]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is ResourceDeleteCancelData);
- ResourceDeleteCancelData eventData = (ResourceDeleteCancelData)events[0].Data;
- Assert.Equal("72f988bf-86f1-41af-91ab-2d7cd011db47", eventData.TenantId);
- }
-
- [Fact]
- public void ConsumeResourceActionSuccessEvent()
- {
- string requestContent = "[ { \"topic\":\"/subscriptions/{subscription-id}\", \"subject\":\"/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventGrid/eventSubscriptions/LogicAppdd584bdf-8347-49c9-b9a9-d1f980783501\", \"eventType\":\"Microsoft.Resources.ResourceActionSuccess\", \"eventTime\":\"2017-08-16T03:54:38.2696833Z\", \"id\":\"25b3b0d0-d79b-44d5-9963-440d4e6a9bba\", \"data\": { \"authorization\":\"{azure_resource_manager_authorizations}\", \"claims\":\"{azure_resource_manager_claims}\", \"correlationId\":\"54ef1e39-6a82-44b3-abc1-bdeb6ce4d3c6\", \"httpRequest\":\"{request-operation}\", \"resourceProvider\":\"Microsoft.EventGrid\", \"resourceUri\":\"/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventGrid/eventSubscriptions/LogicAppdd584bdf-8347-49c9-b9a9-d1f980783501\", \"operationName\":\"Microsoft.EventGrid/eventSubscriptions/write\", \"status\":\"Succeeded\", \"subscriptionId\":\"{subscription-id}\", \"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\" }, \"dataVersion\": \"\", \"metadataVersion\": \"1\" }]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is ResourceActionSuccessData);
- ResourceActionSuccessData eventData = (ResourceActionSuccessData)events[0].Data;
- Assert.Equal("72f988bf-86f1-41af-91ab-2d7cd011db47", eventData.TenantId);
- }
-
- [Fact]
- public void ConsumeResourceActionFailureEvent()
- {
- string requestContent = "[ { \"topic\":\"/subscriptions/{subscription-id}\", \"subject\":\"/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventGrid/eventSubscriptions/LogicAppdd584bdf-8347-49c9-b9a9-d1f980783501\", \"eventType\":\"Microsoft.Resources.ResourceActionFailure\", \"eventTime\":\"2017-08-16T03:54:38.2696833Z\", \"id\":\"25b3b0d0-d79b-44d5-9963-440d4e6a9bba\", \"data\": { \"authorization\":\"{azure_resource_manager_authorizations}\", \"claims\":\"{azure_resource_manager_claims}\", \"correlationId\":\"54ef1e39-6a82-44b3-abc1-bdeb6ce4d3c6\", \"httpRequest\":\"{request-operation}\", \"resourceProvider\":\"Microsoft.EventGrid\", \"resourceUri\":\"/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventGrid/eventSubscriptions/LogicAppdd584bdf-8347-49c9-b9a9-d1f980783501\", \"operationName\":\"Microsoft.EventGrid/eventSubscriptions/write\", \"status\":\"Succeeded\", \"subscriptionId\":\"{subscription-id}\", \"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\" }, \"dataVersion\": \"\", \"metadataVersion\": \"1\" }]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is ResourceActionFailureData);
- ResourceActionFailureData eventData = (ResourceActionFailureData)events[0].Data;
- Assert.Equal("72f988bf-86f1-41af-91ab-2d7cd011db47", eventData.TenantId);
- }
-
- [Fact]
- public void ConsumeResourceActionCancelEvent()
- {
- string requestContent = "[ { \"topic\":\"/subscriptions/{subscription-id}\", \"subject\":\"/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventGrid/eventSubscriptions/LogicAppdd584bdf-8347-49c9-b9a9-d1f980783501\", \"eventType\":\"Microsoft.Resources.ResourceActionCancel\", \"eventTime\":\"2017-08-16T03:54:38.2696833Z\", \"id\":\"25b3b0d0-d79b-44d5-9963-440d4e6a9bba\", \"data\": { \"authorization\":\"{azure_resource_manager_authorizations}\", \"claims\":\"{azure_resource_manager_claims}\", \"correlationId\":\"54ef1e39-6a82-44b3-abc1-bdeb6ce4d3c6\", \"httpRequest\":\"{request-operation}\", \"resourceProvider\":\"Microsoft.EventGrid\", \"resourceUri\":\"/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventGrid/eventSubscriptions/LogicAppdd584bdf-8347-49c9-b9a9-d1f980783501\", \"operationName\":\"Microsoft.EventGrid/eventSubscriptions/write\", \"status\":\"Succeeded\", \"subscriptionId\":\"{subscription-id}\", \"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\" }, \"dataVersion\": \"\", \"metadataVersion\": \"1\" }]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is ResourceActionCancelData);
- ResourceActionCancelData eventData = (ResourceActionCancelData)events[0].Data;
- Assert.Equal("72f988bf-86f1-41af-91ab-2d7cd011db47", eventData.TenantId);
- }
-
-
- // ServiceBus events
- [Fact]
- public void ConsumeServiceBusActiveMessagesAvailableWithNoListenersEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/id/resourcegroups/rg/providers/Microsoft.ServiceBus/namespaces/testns1\", \"subject\": \"topics/topic1/subscriptions/sub1\", \"eventType\": \"Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners\", \"eventTime\": \"2018-02-14T05:12:53.4133526Z\", \"id\": \"dede87b0-3656-419c-acaf-70c95ddc60f5\", \"data\": { \"namespaceName\": \"testns1\", \"requestUri\": \"https://testns1.servicebus.windows.net/t1/subscriptions/sub1/messages/head\", \"entityType\": \"subscriber\", \"queueName\": \"queue1\", \"topicName\": \"topic1\", \"subscriptionName\": \"sub1\" }, \"dataVersion\": \"1\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is ServiceBusActiveMessagesAvailableWithNoListenersEventData);
- ServiceBusActiveMessagesAvailableWithNoListenersEventData eventData = (ServiceBusActiveMessagesAvailableWithNoListenersEventData)events[0].Data;
- Assert.Equal("testns1", eventData.NamespaceName);
- }
-
- [Fact]
- public void ConsumeServiceBusDeadletterMessagesAvailableWithNoListenersEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/id/resourcegroups/rg/providers/Microsoft.ServiceBus/namespaces/testns1\", \"subject\": \"topics/topic1/subscriptions/sub1\", \"eventType\": \"Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListener\", \"eventTime\": \"2018-02-14T05:12:53.4133526Z\", \"id\": \"dede87b0-3656-419c-acaf-70c95ddc60f5\", \"data\": { \"namespaceName\": \"testns1\", \"requestUri\": \"https://testns1.servicebus.windows.net/t1/subscriptions/sub1/messages/head\", \"entityType\": \"subscriber\", \"queueName\": \"queue1\", \"topicName\": \"topic1\", \"subscriptionName\": \"sub1\" }, \"dataVersion\": \"1\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is ServiceBusDeadletterMessagesAvailableWithNoListenersEventData);
- ServiceBusDeadletterMessagesAvailableWithNoListenersEventData eventData = (ServiceBusDeadletterMessagesAvailableWithNoListenersEventData)events[0].Data;
- Assert.Equal("testns1", eventData.NamespaceName);
- }
-
- // Storage events
- [Fact]
- public void ConsumeStorageBlobCreatedEvent()
- {
- string requestContent = "[ { \"topic\": \"/subscriptions/319a9601-1ec0-0000-aebc-8fe82724c81e/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/myaccount\", \"subject\": \"/blobServices/default/containers/testcontainer/blobs/file1.txt\", \"eventType\": \"Microsoft.Storage.BlobCreated\", \"eventTime\": \"2017-08-16T01:57:26.005121Z\", \"id\": \"602a88ef-0001-00e6-1233-1646070610ea\", \"data\": { \"api\": \"PutBlockList\", \"clientRequestId\": \"799304a4-bbc5-45b6-9849-ec2c66be800a\", \"requestId\": \"602a88ef-0001-00e6-1233-164607000000\", \"eTag\": \"0x8D4E44A24ABE7F1\", \"contentType\": \"text/plain\", \"contentLength\": 447, \"blobType\": \"BlockBlob\", \"url\": \"https://myaccount.blob.core.windows.net/testcontainer/file1.txt\", \"sequencer\": \"00000000000000EB000000000000C65A\", }, \"dataVersion\": \"\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is StorageBlobCreatedEventData);
- StorageBlobCreatedEventData eventData = (StorageBlobCreatedEventData)events[0].Data;
- Assert.Equal("https://myaccount.blob.core.windows.net/testcontainer/file1.txt", eventData.Url);
- }
-
- [Fact]
- public void ConsumeStorageBlobDeletedEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/id/resourceGroups/Storage/providers/Microsoft.Storage/storageAccounts/xstoretestaccount\", \"subject\": \"/blobServices/default/containers/testcontainer/blobs/testfile.txt\", \"eventType\": \"Microsoft.Storage.BlobDeleted\", \"eventTime\": \"2017-11-07T20:09:22.5674003Z\", \"id\": \"4c2359fe-001e-00ba-0e04-58586806d298\", \"data\": { \"api\": \"DeleteBlob\", \"requestId\": \"4c2359fe-001e-00ba-0e04-585868000000\", \"contentType\": \"text/plain\", \"blobType\": \"BlockBlob\", \"url\": \"https://example.blob.core.windows.net/testcontainer/testfile.txt\", \"sequencer\": \"0000000000000281000000000002F5CA\", \"storageDiagnostics\": { \"batchId\": \"b68529f3-68cd-4744-baa4-3c0498ec19f0\" } }, \"dataVersion\": \"\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is StorageBlobDeletedEventData);
- StorageBlobDeletedEventData eventData = (StorageBlobDeletedEventData)events[0].Data;
- Assert.Equal("https://example.blob.core.windows.net/testcontainer/testfile.txt", eventData.Url);
- }
-
- [Fact]
- public void ConsumeStorageBlobRenamedEvent()
- {
- string requestContent = "[ { \"topic\": \"/subscriptions/319a9601-1ec0-0000-aebc-8fe82724c81e/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/myaccount\", \"subject\": \"/blobServices/default/containers/testcontainer/blobs/testfile.txt\", \"eventType\": \"Microsoft.Storage.BlobRenamed\", \"eventTime\": \"2017-08-16T01:57:26.005121Z\", \"id\": \"602a88ef-0001-00e6-1233-1646070610ea\", \"data\": { \"api\": \"RenameFile\", \"clientRequestId\": \"799304a4-bbc5-45b6-9849-ec2c66be800a\", \"requestId\": \"602a88ef-0001-00e6-1233-164607000000\", \"eTag\": \"0x8D4E44A24ABE7F1\", \"destinationUrl\": \"https://myaccount.blob.core.windows.net/testcontainer/testfile.txt\", \"sequencer\": \"00000000000000EB000000000000C65A\", }, \"dataVersion\": \"1\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is StorageBlobRenamedEventData);
- StorageBlobRenamedEventData eventData = (StorageBlobRenamedEventData)events[0].Data;
- Assert.Equal("https://myaccount.blob.core.windows.net/testcontainer/testfile.txt", eventData.DestinationUrl);
- }
-
- [Fact]
- public void ConsumeStorageDirectoryCreatedEvent()
- {
- string requestContent = "[ { \"topic\": \"/subscriptions/319a9601-1ec0-0000-aebc-8fe82724c81e/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/myaccount\", \"subject\": \"/blobServices/default/containers/testcontainer/blobs/testDir\", \"eventType\": \"Microsoft.Storage.DirectoryCreated\", \"eventTime\": \"2017-08-16T01:57:26.005121Z\", \"id\": \"602a88ef-0001-00e6-1233-1646070610ea\", \"data\": { \"api\": \"CreateDirectory\", \"clientRequestId\": \"799304a4-bbc5-45b6-9849-ec2c66be800a\", \"requestId\": \"602a88ef-0001-00e6-1233-164607000000\", \"eTag\": \"0x8D4E44A24ABE7F1\", \"url\": \"https://myaccount.blob.core.windows.net/testcontainer/testDir\", \"sequencer\": \"00000000000000EB000000000000C65A\", }, \"dataVersion\": \"2\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is StorageDirectoryCreatedEventData);
- StorageDirectoryCreatedEventData eventData = (StorageDirectoryCreatedEventData)events[0].Data;
- Assert.Equal("https://myaccount.blob.core.windows.net/testcontainer/testDir", eventData.Url);
- }
-
- [Fact]
- public void ConsumeStorageDirectoryDeletedEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/id/resourceGroups/Storage/providers/Microsoft.Storage/storageAccounts/xstoretestaccount\", \"subject\": \"/blobServices/default/containers/testcontainer/blobs/testDir\", \"eventType\": \"Microsoft.Storage.DirectoryDeleted\", \"eventTime\": \"2017-11-07T20:09:22.5674003Z\", \"id\": \"4c2359fe-001e-00ba-0e04-58586806d298\", \"data\": { \"api\": \"DeleteDirectory\", \"requestId\": \"4c2359fe-001e-00ba-0e04-585868000000\", \"url\": \"https://example.blob.core.windows.net/testcontainer/testDir\", \"sequencer\": \"0000000000000281000000000002F5CA\", \"storageDiagnostics\": { \"batchId\": \"b68529f3-68cd-4744-baa4-3c0498ec19f0\" } }, \"dataVersion\": \"1\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is StorageDirectoryDeletedEventData);
- StorageDirectoryDeletedEventData eventData = (StorageDirectoryDeletedEventData)events[0].Data;
- Assert.Equal("https://example.blob.core.windows.net/testcontainer/testDir", eventData.Url);
- }
-
- [Fact]
- public void ConsumeStorageDirectoryRenamedEvent()
- {
- string requestContent = "[{ \"topic\": \"/subscriptions/id/resourceGroups/Storage/providers/Microsoft.Storage/storageAccounts/xstoretestaccount\", \"subject\": \"/blobServices/default/containers/testcontainer/blobs/testDir\", \"eventType\": \"Microsoft.Storage.DirectoryRenamed\", \"eventTime\": \"2017-11-07T20:09:22.5674003Z\", \"id\": \"4c2359fe-001e-00ba-0e04-58586806d298\", \"data\": { \"api\": \"RenameDirectory\", \"requestId\": \"4c2359fe-001e-00ba-0e04-585868000000\", \"destinationUrl\": \"https://example.blob.core.windows.net/testcontainer/testDir\", \"sequencer\": \"0000000000000281000000000002F5CA\", \"storageDiagnostics\": { \"batchId\": \"b68529f3-68cd-4744-baa4-3c0498ec19f0\" } }, \"dataVersion\": \"1\", \"metadataVersion\": \"1\"}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is StorageDirectoryRenamedEventData);
- StorageDirectoryRenamedEventData eventData = (StorageDirectoryRenamedEventData)events[0].Data;
- Assert.Equal("https://example.blob.core.windows.net/testcontainer/testDir", eventData.DestinationUrl);
- }
-
- [Fact]
- public void ConsumeWebAppUpdatedEvent()
- {
- string siteName = "testSite01";
- string requestContent = $"[{{\"topic\": \"/subscriptions/319a9601-1ec0-0000-aebc-8fe82724c81e/resourceGroups/testrg/providers/Microsoft.Web/sites/testSite01\", \"subject\": \"/Microsoft.Web/sites/testSite01\",\"eventType\": \"Microsoft.Web.AppUpdated\", \"eventTime\": \"2017-08-16T01:57:26.005121Z\",\"id\": \"602a88ef-0001-00e6-1233-1646070610ea\",\"data\": {{ \"appEventTypeDetail\": {{ \"action\": \"Restarted\"}},\"name\": \"{siteName}\",\"clientRequestId\": \"ce636635-2b81-4981-a9d4-cec28fb5b014\",\"correlationRequestId\": \"61baa426-c91f-4e58-b9c6-d3852c4d88d\",\"requestId\": \"0a4d5b5e-7147-482f-8e21-4219aaacf62a\",\"address\": \"/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourcegroups/egcanarytest/providers/Microsoft.Web/sites/egtestapp/restart?api-version=2016-03-01\",\"verb\": \"POST\"}},\"dataVersion\": \"2\",\"metadataVersion\": \"1\"}}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is WebAppUpdatedEventData);
- WebAppUpdatedEventData eventData = (WebAppUpdatedEventData)events[0].Data;
- Assert.Equal(siteName, eventData.Name);
- }
-
- [Fact]
- public void ConsumeWebBackupOperationStartedEvent()
- {
- string siteName = "testSite01";
- string requestContent = $"[{{\"topic\": \"/subscriptions/319a9601-1ec0-0000-aebc-8fe82724c81e/resourceGroups/testrg/providers/Microsoft.Web/sites/testSite01\", \"subject\": \"/Microsoft.Web/sites/testSite01\",\"eventType\": \"Microsoft.Web.BackupOperationStarted\", \"eventTime\": \"2017-08-16T01:57:26.005121Z\",\"id\": \"602a88ef-0001-00e6-1233-1646070610ea\",\"data\": {{ \"appEventTypeDetail\": null,\"name\": \"{siteName}\",\"clientRequestId\": \"ce636635-2b81-4981-a9d4-cec28fb5b014\",\"correlationRequestId\": \"61baa426-c91f-4e58-b9c6-d3852c4d88d\",\"requestId\": \"0a4d5b5e-7147-482f-8e21-4219aaacf62a\",\"address\": \"/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourcegroups/egcanarytest/providers/Microsoft.Web/sites/egtestapp/restart?api-version=2016-03-01\",\"verb\": \"POST\"}},\"dataVersion\": \"2\",\"metadataVersion\": \"1\"}}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is WebBackupOperationStartedEventData);
- WebBackupOperationStartedEventData eventData = (WebBackupOperationStartedEventData)events[0].Data;
- Assert.Equal(siteName, eventData.Name);
- }
-
- [Fact]
- public void ConsumeWebBackupOperationCompletedEvent()
- {
- string siteName = "testSite01";
- string requestContent = $"[{{\"topic\": \"/subscriptions/319a9601-1ec0-0000-aebc-8fe82724c81e/resourceGroups/testrg/providers/Microsoft.Web/sites/testSite01\", \"subject\": \"/Microsoft.Web/sites/testSite01\",\"eventType\": \"Microsoft.Web.BackupOperationCompleted\", \"eventTime\": \"2017-08-16T01:57:26.005121Z\",\"id\": \"602a88ef-0001-00e6-1233-1646070610ea\",\"data\": {{ \"appEventTypeDetail\": null,\"name\": \"{siteName}\",\"clientRequestId\": \"ce636635-2b81-4981-a9d4-cec28fb5b014\",\"correlationRequestId\": \"61baa426-c91f-4e58-b9c6-d3852c4d88d\",\"requestId\": \"0a4d5b5e-7147-482f-8e21-4219aaacf62a\",\"address\": \"/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourcegroups/egcanarytest/providers/Microsoft.Web/sites/egtestapp/restart?api-version=2016-03-01\",\"verb\": \"POST\"}},\"dataVersion\": \"2\",\"metadataVersion\": \"1\"}}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is WebBackupOperationCompletedEventData);
- WebBackupOperationCompletedEventData eventData = (WebBackupOperationCompletedEventData)events[0].Data;
- Assert.Equal(siteName, eventData.Name);
- }
-
- [Fact]
- public void ConsumeWebBackupOperationFailedEvent()
- {
- string siteName = "testSite01";
- string requestContent = $"[{{\"topic\": \"/subscriptions/319a9601-1ec0-0000-aebc-8fe82724c81e/resourceGroups/testrg/providers/Microsoft.Web/sites/testSite01\", \"subject\": \"/Microsoft.Web/sites/testSite01\",\"eventType\": \"Microsoft.Web.BackupOperationFailed\", \"eventTime\": \"2017-08-16T01:57:26.005121Z\",\"id\": \"602a88ef-0001-00e6-1233-1646070610ea\",\"data\": {{ \"appEventTypeDetail\": null,\"name\": \"{siteName}\",\"clientRequestId\": \"ce636635-2b81-4981-a9d4-cec28fb5b014\",\"correlationRequestId\": \"61baa426-c91f-4e58-b9c6-d3852c4d88d\",\"requestId\": \"0a4d5b5e-7147-482f-8e21-4219aaacf62a\",\"address\": \"/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourcegroups/egcanarytest/providers/Microsoft.Web/sites/egtestapp/restart?api-version=2016-03-01\",\"verb\": \"POST\"}},\"dataVersion\": \"2\",\"metadataVersion\": \"1\"}}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is WebBackupOperationFailedEventData);
- WebBackupOperationFailedEventData eventData = (WebBackupOperationFailedEventData)events[0].Data;
- Assert.Equal(siteName, eventData.Name);
- }
-
- [Fact]
- public void ConsumeWebRestoreOperationStartedEvent()
- {
- string siteName = "testSite01";
- string requestContent = $"[{{\"topic\": \"/subscriptions/319a9601-1ec0-0000-aebc-8fe82724c81e/resourceGroups/testrg/providers/Microsoft.Web/sites/testSite01\", \"subject\": \"/Microsoft.Web/sites/testSite01\",\"eventType\": \"Microsoft.Web.RestoreOperationStarted\", \"eventTime\": \"2017-08-16T01:57:26.005121Z\",\"id\": \"602a88ef-0001-00e6-1233-1646070610ea\",\"data\": {{ \"appEventTypeDetail\": null,\"name\": \"{siteName}\",\"clientRequestId\": \"ce636635-2b81-4981-a9d4-cec28fb5b014\",\"correlationRequestId\": \"61baa426-c91f-4e58-b9c6-d3852c4d88d\",\"requestId\": \"0a4d5b5e-7147-482f-8e21-4219aaacf62a\",\"address\": \"/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourcegroups/egcanarytest/providers/Microsoft.Web/sites/egtestapp/restart?api-version=2016-03-01\",\"verb\": \"POST\"}},\"dataVersion\": \"2\",\"metadataVersion\": \"1\"}}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is WebRestoreOperationStartedEventData);
- WebRestoreOperationStartedEventData eventData = (WebRestoreOperationStartedEventData)events[0].Data;
- Assert.Equal(siteName, eventData.Name);
- }
-
- [Fact]
- public void ConsumeWebRestoreOperationCompletedEvent()
- {
- string siteName = "testSite01";
- string requestContent = $"[{{\"topic\": \"/subscriptions/319a9601-1ec0-0000-aebc-8fe82724c81e/resourceGroups/testrg/providers/Microsoft.Web/sites/testSite01\", \"subject\": \"/Microsoft.Web/sites/testSite01\",\"eventType\": \"Microsoft.Web.RestoreOperationCompleted\", \"eventTime\": \"2017-08-16T01:57:26.005121Z\",\"id\": \"602a88ef-0001-00e6-1233-1646070610ea\",\"data\": {{ \"appEventTypeDetail\": null,\"name\": \"{siteName}\",\"clientRequestId\": \"ce636635-2b81-4981-a9d4-cec28fb5b014\",\"correlationRequestId\": \"61baa426-c91f-4e58-b9c6-d3852c4d88d\",\"requestId\": \"0a4d5b5e-7147-482f-8e21-4219aaacf62a\",\"address\": \"/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourcegroups/egcanarytest/providers/Microsoft.Web/sites/egtestapp/restart?api-version=2016-03-01\",\"verb\": \"POST\"}},\"dataVersion\": \"2\",\"metadataVersion\": \"1\"}}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is WebRestoreOperationCompletedEventData);
- WebRestoreOperationCompletedEventData eventData = (WebRestoreOperationCompletedEventData)events[0].Data;
- Assert.Equal(siteName, eventData.Name);
- }
-
- [Fact]
- public void ConsumeWebRestoreOperationFailedEvent()
- {
- string siteName = "testSite01";
- string requestContent = $"[{{\"topic\": \"/subscriptions/319a9601-1ec0-0000-aebc-8fe82724c81e/resourceGroups/testrg/providers/Microsoft.Web/sites/testSite01\", \"subject\": \"/Microsoft.Web/sites/testSite01\",\"eventType\": \"Microsoft.Web.RestoreOperationFailed\", \"eventTime\": \"2017-08-16T01:57:26.005121Z\",\"id\": \"602a88ef-0001-00e6-1233-1646070610ea\",\"data\": {{ \"appEventTypeDetail\": null,\"name\": \"{siteName}\",\"clientRequestId\": \"ce636635-2b81-4981-a9d4-cec28fb5b014\",\"correlationRequestId\": \"61baa426-c91f-4e58-b9c6-d3852c4d88d\",\"requestId\": \"0a4d5b5e-7147-482f-8e21-4219aaacf62a\",\"address\": \"/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourcegroups/egcanarytest/providers/Microsoft.Web/sites/egtestapp/restart?api-version=2016-03-01\",\"verb\": \"POST\"}},\"dataVersion\": \"2\",\"metadataVersion\": \"1\"}}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is WebRestoreOperationFailedEventData);
- WebRestoreOperationFailedEventData eventData = (WebRestoreOperationFailedEventData)events[0].Data;
- Assert.Equal(siteName, eventData.Name);
- }
-
- [Fact]
- public void ConsumeWebSlotSwapStartedEvent()
- {
- string siteName = "testSite01";
- string requestContent = $"[{{\"topic\": \"/subscriptions/319a9601-1ec0-0000-aebc-8fe82724c81e/resourceGroups/testrg/providers/Microsoft.Web/sites/testSite01\", \"subject\": \"/Microsoft.Web/sites/testSite01\",\"eventType\": \"Microsoft.Web.SlotSwapStarted\", \"eventTime\": \"2017-08-16T01:57:26.005121Z\",\"id\": \"602a88ef-0001-00e6-1233-1646070610ea\",\"data\": {{ \"appEventTypeDetail\": null,\"name\": \"{siteName}\",\"clientRequestId\": \"ce636635-2b81-4981-a9d4-cec28fb5b014\",\"correlationRequestId\": \"61baa426-c91f-4e58-b9c6-d3852c4d88d\",\"requestId\": \"0a4d5b5e-7147-482f-8e21-4219aaacf62a\",\"address\": \"/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourcegroups/egcanarytest/providers/Microsoft.Web/sites/egtestapp/restart?api-version=2016-03-01\",\"verb\": \"POST\"}},\"dataVersion\": \"2\",\"metadataVersion\": \"1\"}}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is WebSlotSwapStartedEventData);
- WebSlotSwapStartedEventData eventData = (WebSlotSwapStartedEventData)events[0].Data;
- Assert.Equal(siteName, eventData.Name);
- }
-
- [Fact]
- public void ConsumeWebSlotSwapCompletedEvent()
- {
- string siteName = "testSite01";
- string requestContent = $"[{{\"topic\": \"/subscriptions/319a9601-1ec0-0000-aebc-8fe82724c81e/resourceGroups/testrg/providers/Microsoft.Web/sites/testSite01\", \"subject\": \"/Microsoft.Web/sites/testSite01\",\"eventType\": \"Microsoft.Web.SlotSwapCompleted\", \"eventTime\": \"2017-08-16T01:57:26.005121Z\",\"id\": \"602a88ef-0001-00e6-1233-1646070610ea\",\"data\": {{ \"appEventTypeDetail\": null,\"name\": \"{siteName}\",\"clientRequestId\": \"ce636635-2b81-4981-a9d4-cec28fb5b014\",\"correlationRequestId\": \"61baa426-c91f-4e58-b9c6-d3852c4d88d\",\"requestId\": \"0a4d5b5e-7147-482f-8e21-4219aaacf62a\",\"address\": \"/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourcegroups/egcanarytest/providers/Microsoft.Web/sites/egtestapp/restart?api-version=2016-03-01\",\"verb\": \"POST\"}},\"dataVersion\": \"2\",\"metadataVersion\": \"1\"}}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is WebSlotSwapCompletedEventData);
- WebSlotSwapCompletedEventData eventData = (WebSlotSwapCompletedEventData)events[0].Data;
- Assert.Equal(siteName, eventData.Name);
- }
-
- [Fact]
- public void ConsumeWebSlotSwapFailedEvent()
- {
- string siteName = "testSite01";
- string requestContent = $"[{{\"topic\": \"/subscriptions/319a9601-1ec0-0000-aebc-8fe82724c81e/resourceGroups/testrg/providers/Microsoft.Web/sites/testSite01\", \"subject\": \"/Microsoft.Web/sites/testSite01\",\"eventType\": \"Microsoft.Web.SlotSwapFailed\", \"eventTime\": \"2017-08-16T01:57:26.005121Z\",\"id\": \"602a88ef-0001-00e6-1233-1646070610ea\",\"data\": {{ \"appEventTypeDetail\": null,\"name\": \"{siteName}\",\"clientRequestId\": \"ce636635-2b81-4981-a9d4-cec28fb5b014\",\"correlationRequestId\": \"61baa426-c91f-4e58-b9c6-d3852c4d88d\",\"requestId\": \"0a4d5b5e-7147-482f-8e21-4219aaacf62a\",\"address\": \"/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourcegroups/egcanarytest/providers/Microsoft.Web/sites/egtestapp/restart?api-version=2016-03-01\",\"verb\": \"POST\"}},\"dataVersion\": \"2\",\"metadataVersion\": \"1\"}}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is WebSlotSwapFailedEventData);
- WebSlotSwapFailedEventData eventData = (WebSlotSwapFailedEventData)events[0].Data;
- Assert.Equal(siteName, eventData.Name);
- }
-
- [Fact]
- public void ConsumeWebSlotSwapWithPreviewStartedEvent()
- {
- string siteName = "testSite01";
- string requestContent = $"[{{\"topic\": \"/subscriptions/319a9601-1ec0-0000-aebc-8fe82724c81e/resourceGroups/testrg/providers/Microsoft.Web/sites/testSite01\", \"subject\": \"/Microsoft.Web/sites/testSite01\",\"eventType\": \"Microsoft.Web.SlotSwapWithPreviewStarted\", \"eventTime\": \"2017-08-16T01:57:26.005121Z\",\"id\": \"602a88ef-0001-00e6-1233-1646070610ea\",\"data\": {{ \"appEventTypeDetail\": null,\"name\": \"{siteName}\",\"clientRequestId\": \"ce636635-2b81-4981-a9d4-cec28fb5b014\",\"correlationRequestId\": \"61baa426-c91f-4e58-b9c6-d3852c4d88d\",\"requestId\": \"0a4d5b5e-7147-482f-8e21-4219aaacf62a\",\"address\": \"/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourcegroups/egcanarytest/providers/Microsoft.Web/sites/egtestapp/restart?api-version=2016-03-01\",\"verb\": \"POST\"}},\"dataVersion\": \"2\",\"metadataVersion\": \"1\"}}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is WebSlotSwapWithPreviewStartedEventData);
- WebSlotSwapWithPreviewStartedEventData eventData = (WebSlotSwapWithPreviewStartedEventData)events[0].Data;
- Assert.Equal(siteName, eventData.Name);
- }
-
- [Fact]
- public void ConsumeWebSlotSwapWithPreviewCancelledEvent()
- {
- string siteName = "testSite01";
- string requestContent = $"[{{\"topic\": \"/subscriptions/319a9601-1ec0-0000-aebc-8fe82724c81e/resourceGroups/testrg/providers/Microsoft.Web/sites/testSite01\", \"subject\": \"/Microsoft.Web/sites/testSite01\",\"eventType\": \"Microsoft.Web.SlotSwapWithPreviewCancelled\", \"eventTime\": \"2017-08-16T01:57:26.005121Z\",\"id\": \"602a88ef-0001-00e6-1233-1646070610ea\",\"data\": {{ \"appEventTypeDetail\": null,\"name\": \"{siteName}\",\"clientRequestId\": \"ce636635-2b81-4981-a9d4-cec28fb5b014\",\"correlationRequestId\": \"61baa426-c91f-4e58-b9c6-d3852c4d88d\",\"requestId\": \"0a4d5b5e-7147-482f-8e21-4219aaacf62a\",\"address\": \"/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourcegroups/egcanarytest/providers/Microsoft.Web/sites/egtestapp/restart?api-version=2016-03-01\",\"verb\": \"POST\"}},\"dataVersion\": \"2\",\"metadataVersion\": \"1\"}}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is WebSlotSwapWithPreviewCancelledEventData);
- WebSlotSwapWithPreviewCancelledEventData eventData = (WebSlotSwapWithPreviewCancelledEventData)events[0].Data;
- Assert.Equal(siteName, eventData.Name);
- }
-
- [Fact]
- public void ConsumeWebAppServicePlanUpdatedEvent()
- {
- string planName = "testPlan01";
- string requestContent = $"[{{\"topic\": \"/subscriptions/319a9601-1ec0-0000-aebc-8fe82724c81e/resourceGroups/testrg/providers/Microsoft.Web/serverfarms/testPlan01\", \"subject\": \"/Microsoft.Web/serverfarms/testPlan01\",\"eventType\": \"Microsoft.Web.AppServicePlanUpdated\", \"eventTime\": \"2017-08-16T01:57:26.005121Z\",\"id\": \"602a88ef-0001-00e6-1233-1646070610ea\",\"data\": {{ \"appServicePlanEventTypeDetail\": {{ \"stampKind\": \"Public\",\"action\": \"Updated\",\"status\": \"Started\" }},\"name\": \"{planName}\",\"clientRequestId\": \"ce636635-2b81-4981-a9d4-cec28fb5b014\",\"correlationRequestId\": \"61baa426-c91f-4e58-b9c6-d3852c4d88d\",\"requestId\": \"0a4d5b5e-7147-482f-8e21-4219aaacf62a\",\"address\": \"/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourcegroups/egcanarytest/providers/Microsoft.Web/sites/egtestapp/restart?api-version=2016-03-01\",\"verb\": \"POST\"}},\"dataVersion\": \"2\",\"metadataVersion\": \"1\"}}]";
-
- var events = this.eventGridSubscriber.DeserializeEventGridEvents(requestContent);
-
- Assert.NotNull(events);
- Assert.True(events[0].Data is WebAppServicePlanUpdatedEventData);
- WebAppServicePlanUpdatedEventData eventData = (WebAppServicePlanUpdatedEventData)events[0].Data;
- Assert.Equal(planName, eventData.Name);
- }
-
- // TODO: When new event types are introduced, add one test here for each event type
-
- static Stream GetStreamFromString(string eventData)
- {
- var stream = new MemoryStream();
- var writer = new StreamWriter(stream);
- writer.Write(eventData);
- writer.Flush();
- stream.Position = 0;
- return stream;
- }
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/Tests/ContosoItemReceivedEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/Tests/ContosoItemReceivedEventData.cs
deleted file mode 100644
index c6a00001e14b2..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/Tests/ContosoItemReceivedEventData.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for license information.
-
-using Newtonsoft.Json;
-
-namespace Microsoft.Azure.EventGrid.Tests
-{
- class ContosoItemReceivedEventData
- {
- [JsonProperty(PropertyName = "itemSku")]
- public string ItemSku { get; set; }
-
- [JsonProperty(PropertyName = "itemUri")]
- public string ItemUri { get; set; }
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/Tests/ContosoItemSentEventData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/Tests/ContosoItemSentEventData.cs
deleted file mode 100644
index 090c363ee52fc..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/Tests/ContosoItemSentEventData.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for license information.
-
-using Newtonsoft.Json;
-
-namespace Microsoft.Azure.EventGrid.Tests
-{
- class ContosoItemSentEventData
- {
- [JsonProperty(PropertyName = "shippingInfo")]
- public ShippingInfo ShippingInfo { get; set; }
- }
-
- class ShippingInfo
- {
- [JsonProperty(PropertyName = "shippingType")]
- public string ShippingType { get; set; }
-
- [JsonProperty(PropertyName = "shipmentId")]
- public string ShipmentId { get; set; }
- }
-
- [JsonObject("Drone")]
- class DroneShippingInfo : ShippingInfo
- {
- [JsonProperty(PropertyName = "droneId")]
- public string DroneId { get; set; }
- }
-
- [JsonObject("Rocket")]
- class RocketShippingInfo : ShippingInfo
- {
- [JsonProperty(PropertyName = "rocketNumber")]
- public int RocketNumber { get; set; }
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/Tests/EventSpecificData.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/Tests/EventSpecificData.cs
deleted file mode 100644
index ce9a204a3379b..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/Tests/EventSpecificData.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-namespace Microsoft.Azure.EventGrid.Tests.Tests
-{
- class EventSpecificData
- {
- public string Field1 { get; set; }
-
- public string Field2 { get; set; }
-
- public string Field3 { get; set; }
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/Tests/ScenarioTests.PublishEvents.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/Tests/ScenarioTests.PublishEvents.cs
deleted file mode 100644
index 6137526681ccc..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/Tests/ScenarioTests.PublishEvents.cs
+++ /dev/null
@@ -1,161 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for license information.
-
-using System;
-using System.Collections.Generic;
-using System.Net;
-using Microsoft.Azure.Management.EventGrid.Models;
-using Microsoft.Azure.EventGrid.Models;
-using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
-using Microsoft.Azure.EventGrid.Tests.TestHelper;
-using Microsoft.Azure.EventGrid.Tests.Tests;
-using Microsoft.Azure.Management.EventGrid;
-using Microsoft.Azure.Test.HttpRecorder;
-using Xunit;
-
-namespace Microsoft.Azure.EventGrid.Tests.ScenarioTests
-{
- public partial class ScenarioTests
- {
- [Fact(Skip = "Requires interactive login")]
- public void PublishEventsToTopic()
- {
- using (MockContext context = MockContext.Start(this.GetType()))
- {
- this.InitializeClients(context);
-
- var location = this.ResourceManagementClient.GetLocationFromProvider();
-
- var resourceGroup = this.ResourceManagementClient.TryGetResourceGroup(location);
- if (string.IsNullOrWhiteSpace(resourceGroup))
- {
- resourceGroup = TestUtilities.GenerateName(EventGridManagementHelper.ResourceGroupPrefix);
- this.ResourceManagementClient.TryRegisterResourceGroup(location, resourceGroup);
- }
-
- var topicName = TestUtilities.GenerateName(EventGridManagementHelper.TopicPrefix);
-
- var originalTagsDictionary = new Dictionary()
- {
- {"originalTag1", "originalValue1"},
- {"originalTag2", "originalValue2"}
- };
-
- Topic topic = new Topic()
- {
- Location = location,
- Tags = originalTagsDictionary
- };
-
- var createTopicResponse = this.EventGridManagementClient.Topics.CreateOrUpdate(resourceGroup, topicName, topic);
-
- Assert.NotNull(createTopicResponse);
- Assert.Equal(createTopicResponse.Name, topicName);
-
- TestUtilities.Wait(TimeSpan.FromSeconds(60));
-
- // Get the topic key
- TopicSharedAccessKeys keys = this.EventGridManagementClient.Topics.ListSharedAccessKeys(resourceGroup, topicName);
-
- // Publish events to topic
- string topicHostname = new Uri(createTopicResponse.Endpoint).Host;
- ResourceCredentials credentials = new ResourceCredentials(keys.Key1);
-
- EventGridClient client = EventGridManagementHelper.GetEventGridClient(
- context,
- credentials,
- new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK });
-
- Console.WriteLine("Publishing to Azure Event Grid Topic");
- client.PublishEventsAsync(topicHostname, GetEventsList()).GetAwaiter().GetResult();
- Console.WriteLine("Published successfully!");
-
- // Delete topic
- this.EventGridManagementClient.Topics.Delete(resourceGroup, topicName);
- }
- }
-
- [Fact(Skip = "Requires interactive login")]
- public void PublishEventsToDomain()
- {
- using (MockContext context = MockContext.Start(this.GetType()))
- {
- this.InitializeClients(context);
-
- var location = this.ResourceManagementClient.GetLocationFromProvider();
-
- var resourceGroup = this.ResourceManagementClient.TryGetResourceGroup(location);
- if (string.IsNullOrWhiteSpace(resourceGroup))
- {
- resourceGroup = TestUtilities.GenerateName(EventGridManagementHelper.ResourceGroupPrefix);
- this.ResourceManagementClient.TryRegisterResourceGroup(location, resourceGroup);
- }
-
- var domainName = TestUtilities.GenerateName(EventGridManagementHelper.DomainPrefix);
- var originalTagsDictionary = new Dictionary()
- {
- {"originalTag1", "originalValue1"},
- {"originalTag2", "originalValue2"}
- };
-
- Domain domain = new Domain()
- {
- Location = location,
- Tags = originalTagsDictionary
- };
-
- var createDomainResponse = this.EventGridManagementClient.Domains.CreateOrUpdate(resourceGroup, domainName, domain);
-
- Assert.NotNull(createDomainResponse);
- Assert.Equal(createDomainResponse.Name, domainName);
-
- TestUtilities.Wait(TimeSpan.FromSeconds(60));
-
- // Get the domain key
- DomainSharedAccessKeys keys = this.EventGridManagementClient.Domains.ListSharedAccessKeys(resourceGroup, domainName);
-
- // Publish events to domain
- string domainHostname = new Uri(createDomainResponse.Endpoint).Host;
- ResourceCredentials credentials = new ResourceCredentials(keys.Key1);
-
- EventGridClient client = EventGridManagementHelper.GetEventGridClient(
- context,
- credentials,
- new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK });
-
- Console.WriteLine("Publishing to Azure Event Grid Domain");
- client.PublishEventsAsync(domainHostname, GetEventsList()).GetAwaiter().GetResult();
- Console.WriteLine("Published successfully!");
-
- // Delete Domain
- this.EventGridManagementClient.Domains.Delete(resourceGroup, domainName);
- }
- }
-
- static IList GetEventsList()
- {
- List eventsList = new List();
-
- for (int i = 0; i < 10; i++)
- {
- eventsList.Add(new EventGridEvent()
- {
- Topic = $"Topic-{i}",
- Subject = $"Subject-{i}",
- Id = Guid.NewGuid().ToString(),
- Data = new EventSpecificData()
- {
- Field1 = "Value1",
- Field2 = "Value2",
- Field3 = "Value3"
- },
- EventTime = DateTime.Now,
- EventType = "Microsoft.MockPublisher.TestEvent",
- DataVersion = "1.0"
- });
- }
-
- return eventsList;
- }
- }
-}
diff --git a/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/Tests/ScenarioTests.cs b/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/Tests/ScenarioTests.cs
deleted file mode 100644
index 7fa20d31e8bd6..0000000000000
--- a/sdk/eventgrid/Microsoft.Azure.EventGrid/tests/Tests/ScenarioTests.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for license information.
-
-using System.Net;
-using Microsoft.Azure.Management.EventGrid;
-using Microsoft.Azure.Management.Resources;
-using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
-using Microsoft.Azure.EventGrid.Tests.TestHelper;
-
-namespace Microsoft.Azure.EventGrid.Tests.ScenarioTests
-{
- public partial class ScenarioTests
- {
- ResourceManagementClient resourceManagementClient;
- EventGridManagementClient eventGridManagementClient;
-
- protected bool m_initialized = false;
- protected object m_lock = new object();
-
- protected void InitializeClients(MockContext context)
- {
- if (!m_initialized)
- {
- lock (m_lock)
- {
- if (!m_initialized)
- {
- resourceManagementClient = EventGridManagementHelper.GetResourceManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK });
- eventGridManagementClient = EventGridManagementHelper.GetEventGridManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK });
- }
- }
- }
- }
-
- public ResourceManagementClient ResourceManagementClient
- {
- get
- {
- return resourceManagementClient;
- }
- }
-
- public EventGridManagementClient EventGridManagementClient
- {
- get
- {
- return eventGridManagementClient;
- }
- }
- }
-}
diff --git a/sdk/eventgrid/README.md b/sdk/eventgrid/README.md
index e9ecaafebf6b3..6b4dd7377ffed 100644
--- a/sdk/eventgrid/README.md
+++ b/sdk/eventgrid/README.md
@@ -18,8 +18,6 @@ Use the following packages to publish and consume events from Event Grid:
### `Microsoft.Azure.EventGrid`
-The source code for the previous generation client library, `Microsoft.Azure.EventGrid` is available on [GitHub](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/eventgrid/Microsoft.Azure.EventGrid).
-
Use the following legacy packages to publish and consume events from Event Grid:
| Nuget Package | Reference | Samples |
@@ -32,4 +30,4 @@ Use the following library to work with the Azure Event Grid resource provider:
| Nuget Package | Reference |
|--------------------------------------|---------------------------------------------------------------|
-| [Microsoft.Azure.Management.EventGrid](https://www.nuget.org/packages/Microsoft.Azure.Management.EventGrid) | [API Reference for Microsoft.Azure.Management.EventGrid](https://learn.microsoft.com/dotnet/api/overview/azure/eventgrid/management/management-eventgrid(deprecated)?view=azure-dotnet) |
\ No newline at end of file
+| [Microsoft.Azure.Management.EventGrid](https://www.nuget.org/packages/Microsoft.Azure.Management.EventGrid) | [API Reference for Microsoft.Azure.Management.EventGrid](https://learn.microsoft.com/dotnet/api/overview/azure/eventgrid/management/management-eventgrid(deprecated)?view=azure-dotnet) |
diff --git a/sdk/eventgrid/ci.data.yml b/sdk/eventgrid/ci.data.yml
index 8a4f3568d3ceb..9854c2c709c47 100644
--- a/sdk/eventgrid/ci.data.yml
+++ b/sdk/eventgrid/ci.data.yml
@@ -1,27 +1,7 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
-trigger:
- branches:
- include:
- - main
- - hotfix/*
- - release/*
- paths:
- include:
- - sdk/eventgrid/ci.data.yml
- - sdk/eventgrid/Microsoft.Azure.EventGrid
-
-pr:
- branches:
- include:
- - main
- - feature/*
- - hotfix/*
- - release/*
- paths:
- include:
- - sdk/eventgrid/ci.data.yml
- - sdk/eventgrid/Microsoft.Azure.EventGrid
+trigger: none
+pr: none
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
@@ -32,4 +12,4 @@ extends:
ArtifactName: packages
Artifacts:
- name: Microsoft.Azure.EventGrid
- safeName: MicrosoftAzureEventGrid
\ No newline at end of file
+ safeName: MicrosoftAzureEventGrid
diff --git a/sdk/eventgrid/service.projects b/sdk/eventgrid/service.projects
index dc3fa15f3b05f..94ddb19a7dbc8 100644
--- a/sdk/eventgrid/service.projects
+++ b/sdk/eventgrid/service.projects
@@ -27,9 +27,5 @@
-
-
-
-
-
-
\ No newline at end of file
+
+