Skip to content

Commit 0482e78

Browse files
Regenerate from swagger (Azure#24356)
* Regenerate from swagger * API and changelog * Add old factory method
1 parent 5194ccb commit 0482e78

File tree

43 files changed

+1609
-23
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1609
-23
lines changed

sdk/eventgrid/Azure.Messaging.EventGrid/CHANGELOG.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
# Release History
22

3-
## 4.7.0-beta.1 (Unreleased)
3+
## 4.7.0 (2021-10-05)
44

55
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
6+
- Added API Management events
7+
- Added AcsUserDisconnectedEventData event
128

139
## 4.6.0 (2021-08-10)
1410

sdk/eventgrid/Azure.Messaging.EventGrid/api/Azure.Messaging.EventGrid.netstandard2.0.cs

Lines changed: 127 additions & 1 deletion
Large diffs are not rendered by default.

sdk/eventgrid/Azure.Messaging.EventGrid/src/Azure.Messaging.EventGrid.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<Description>This library can be used to publish events to Azure Event Grid and to consume events delivered by EventGrid. It also defines the event schemas for the events published to EventGrid by various Azure services.</Description>
44
<AssemblyTitle>Microsoft Azure.Messaging.EventGrid client library</AssemblyTitle>
5-
<Version>4.7.0-beta.1</Version>
5+
<Version>4.7.0</Version>
66
<!--The ApiCompatVersion is managed automatically and should not generally be modified manually.-->
77
<ApiCompatVersion>4.6.0</ApiCompatVersion>
88
<PackageTags>Microsoft Azure EventGrid;Event Grid;Event Grid Publishing;</PackageTags>

sdk/eventgrid/Azure.Messaging.EventGrid/src/Customization/EventGridModelFactory.cs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,26 @@ public static AcsChatMessageEditedInThreadEventData AcsChatMessageEditedInThread
389389
{
390390
return new AcsChatMessageEditedInThreadEventData(transactionId, threadId, messageId, senderCommunicationIdentifier, senderDisplayName, composeTime, type, version, messageBody, new ChangeTrackingDictionary<string, string>(), editTime);
391391
}
392+
393+
/// <summary> Initializes a new instance of MediaLiveEventIngestHeartbeatEventData. </summary>
394+
/// <param name="trackType"> Gets the type of the track (Audio / Video). </param>
395+
/// <param name="trackName"> Gets the track name. </param>
396+
/// <param name="bitrate"> Gets the bitrate of the track. </param>
397+
/// <param name="incomingBitrate"> Gets the incoming bitrate. </param>
398+
/// <param name="lastTimestamp"> Gets the last timestamp. </param>
399+
/// <param name="timescale"> Gets the timescale of the last timestamp. </param>
400+
/// <param name="overlapCount"> Gets the fragment Overlap count. </param>
401+
/// <param name="discontinuityCount"> Gets the fragment Discontinuity count. </param>
402+
/// <param name="nonincreasingCount"> Gets Non increasing count. </param>
403+
/// <param name="unexpectedBitrate"> Gets a value indicating whether unexpected bitrate is present or not. </param>
404+
/// <param name="state"> Gets the state of the live event. </param>
405+
/// <param name="healthy"> Gets a value indicating whether preview is healthy or not. </param>
406+
/// <returns> A new <see cref="SystemEvents.MediaLiveEventIngestHeartbeatEventData"/> instance for mocking. </returns>
407+
[EditorBrowsable(EditorBrowsableState.Never)]
408+
public static MediaLiveEventIngestHeartbeatEventData MediaLiveEventIngestHeartbeatEventData(string trackType, string trackName, long? bitrate, long? incomingBitrate, string lastTimestamp, string timescale, long? overlapCount, long? discontinuityCount, long? nonincreasingCount, bool? unexpectedBitrate, string state, bool? healthy)
409+
{
410+
return MediaLiveEventIngestHeartbeatEventData(trackType, trackName, default, default, bitrate, incomingBitrate, default, default, lastTimestamp, timescale, overlapCount, discontinuityCount, nonincreasingCount, unexpectedBitrate, state, healthy);
411+
}
392412
}
393413
#pragma warning restore CA1054 // URI-like parameters should not be strings
394414
}

sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/EventGridModelFactory.cs

Lines changed: 150 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/AcsUserDisconnectedEventData.Serialization.cs

Lines changed: 50 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/AcsUserDisconnectedEventData.cs

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/ApiManagementApiCreatedEventData.Serialization.cs

Lines changed: 45 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/ApiManagementApiCreatedEventData.cs

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/ApiManagementApiDeletedEventData.Serialization.cs

Lines changed: 45 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)