Skip to content

Commit 2fd5040

Browse files
author
SDKAuto
committed
CodeGen from PR 33504 in Azure/azure-rest-api-specs
Merge f66b8725104981dbad32e101c5f7de8f40270389 into 3db6867b8e524ea6d1bc7a3bbb989fe50dd2f184
1 parent e88a125 commit 2fd5040

20 files changed

+891
-1
lines changed

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

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,10 @@ public static partial class EventGridModelFactory
150150
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementApiReleaseDeletedEventData ApiManagementApiReleaseDeletedEventData(string resourceUri = null) { throw null; }
151151
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementApiReleaseUpdatedEventData ApiManagementApiReleaseUpdatedEventData(string resourceUri = null) { throw null; }
152152
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementApiUpdatedEventData ApiManagementApiUpdatedEventData(string resourceUri = null) { throw null; }
153+
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementCircuitBreakerClosedEventData ApiManagementCircuitBreakerClosedEventData(string backendName = null, Azure.Messaging.EventGrid.SystemEvents.ApiManagementCircuitBreakerInfo circuitBreaker = null) { throw null; }
154+
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementCircuitBreakerInfo ApiManagementCircuitBreakerInfo(object rules = null) { throw null; }
155+
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementCircuitBreakerOpenedEventData ApiManagementCircuitBreakerOpenedEventData(string backendName = null, Azure.Messaging.EventGrid.SystemEvents.ApiManagementCircuitBreakerInfo circuitBreaker = null) { throw null; }
156+
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementExpiredGatewayTokenInfo ApiManagementExpiredGatewayTokenInfo(System.DateTimeOffset? expiredAtUtc = default(System.DateTimeOffset?)) { throw null; }
153157
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayApiAddedEventData ApiManagementGatewayApiAddedEventData(string resourceUri = null) { throw null; }
154158
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayApiRemovedEventData ApiManagementGatewayApiRemovedEventData(string resourceUri = null) { throw null; }
155159
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayCertificateAuthorityCreatedEventData ApiManagementGatewayCertificateAuthorityCreatedEventData(string resourceUri = null) { throw null; }
@@ -160,6 +164,10 @@ public static partial class EventGridModelFactory
160164
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayHostnameConfigurationCreatedEventData ApiManagementGatewayHostnameConfigurationCreatedEventData(string resourceUri = null) { throw null; }
161165
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayHostnameConfigurationDeletedEventData ApiManagementGatewayHostnameConfigurationDeletedEventData(string resourceUri = null) { throw null; }
162166
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayHostnameConfigurationUpdatedEventData ApiManagementGatewayHostnameConfigurationUpdatedEventData(string resourceUri = null) { throw null; }
167+
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayInfo ApiManagementGatewayInfo(string gatewayId = null, string instanceId = null) { throw null; }
168+
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayTokenExpiredEventData ApiManagementGatewayTokenExpiredEventData(Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayInfo gatewayInfo = null, Azure.Messaging.EventGrid.SystemEvents.ApiManagementExpiredGatewayTokenInfo tokenInfo = null) { throw null; }
169+
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayTokenNearExpiryEventData ApiManagementGatewayTokenNearExpiryEventData(Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayInfo gatewayInfo = null, Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayTokenNearExpiryInfo tokenInfo = null) { throw null; }
170+
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayTokenNearExpiryInfo ApiManagementGatewayTokenNearExpiryInfo(System.DateTimeOffset? expiresAtUtc = default(System.DateTimeOffset?)) { throw null; }
163171
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayUpdatedEventData ApiManagementGatewayUpdatedEventData(string resourceUri = null) { throw null; }
164172
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementProductCreatedEventData ApiManagementProductCreatedEventData(string resourceUri = null) { throw null; }
165173
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementProductDeletedEventData ApiManagementProductDeletedEventData(string resourceUri = null) { throw null; }
@@ -496,6 +504,8 @@ public static partial class SystemEventNames
496504
public const string ApiManagementApiReleaseDeleted = "Microsoft.ApiManagement.APIReleaseDeleted";
497505
public const string ApiManagementApiReleaseUpdated = "Microsoft.ApiManagement.APIReleaseUpdated";
498506
public const string ApiManagementApiUpdated = "Microsoft.ApiManagement.APIUpdated";
507+
public const string ApiManagementCircuitBreakerClosed = "Microsoft.ApiManagement.CircuitBreaker.Closed";
508+
public const string ApiManagementCircuitBreakerOpened = "Microsoft.ApiManagement.CircuitBreaker.Opened";
499509
public const string ApiManagementGatewayApiAdded = "Microsoft.ApiManagement.GatewayAPIAdded";
500510
public const string ApiManagementGatewayApiRemoved = "Microsoft.ApiManagement.GatewayAPIRemoved";
501511
public const string ApiManagementGatewayCertificateAuthorityCreated = "Microsoft.ApiManagement.GatewayCertificateAuthorityCreated";
@@ -506,6 +516,8 @@ public static partial class SystemEventNames
506516
public const string ApiManagementGatewayHostnameConfigurationCreated = "Microsoft.ApiManagement.GatewayHostnameConfigurationCreated";
507517
public const string ApiManagementGatewayHostnameConfigurationDeleted = "Microsoft.ApiManagement.GatewayHostnameConfigurationDeleted";
508518
public const string ApiManagementGatewayHostnameConfigurationUpdated = "Microsoft.ApiManagement.GatewayHostnameConfigurationUpdated";
519+
public const string ApiManagementGatewayTokenExpired = "Microsoft.ApiManagement.GatewayTokenExpired";
520+
public const string ApiManagementGatewayTokenNearExpiry = "Microsoft.ApiManagement.GatewayTokenNearExpiry";
509521
public const string ApiManagementGatewayUpdated = "Microsoft.ApiManagement.GatewayUpdated";
510522
public const string ApiManagementProductCreated = "Microsoft.ApiManagement.ProductCreated";
511523
public const string ApiManagementProductDeleted = "Microsoft.ApiManagement.ProductDeleted";
@@ -1678,6 +1690,28 @@ public partial class ApiManagementApiUpdatedEventData
16781690
internal ApiManagementApiUpdatedEventData() { }
16791691
public string ResourceUri { get { throw null; } }
16801692
}
1693+
public partial class ApiManagementCircuitBreakerClosedEventData
1694+
{
1695+
internal ApiManagementCircuitBreakerClosedEventData() { }
1696+
public string BackendName { get { throw null; } }
1697+
public Azure.Messaging.EventGrid.SystemEvents.ApiManagementCircuitBreakerInfo CircuitBreaker { get { throw null; } }
1698+
}
1699+
public partial class ApiManagementCircuitBreakerInfo
1700+
{
1701+
internal ApiManagementCircuitBreakerInfo() { }
1702+
public object Rules { get { throw null; } }
1703+
}
1704+
public partial class ApiManagementCircuitBreakerOpenedEventData
1705+
{
1706+
internal ApiManagementCircuitBreakerOpenedEventData() { }
1707+
public string BackendName { get { throw null; } }
1708+
public Azure.Messaging.EventGrid.SystemEvents.ApiManagementCircuitBreakerInfo CircuitBreaker { get { throw null; } }
1709+
}
1710+
public partial class ApiManagementExpiredGatewayTokenInfo
1711+
{
1712+
internal ApiManagementExpiredGatewayTokenInfo() { }
1713+
public System.DateTimeOffset? ExpiredAtUtc { get { throw null; } }
1714+
}
16811715
public partial class ApiManagementGatewayApiAddedEventData
16821716
{
16831717
internal ApiManagementGatewayApiAddedEventData() { }
@@ -1728,6 +1762,29 @@ public partial class ApiManagementGatewayHostnameConfigurationUpdatedEventData
17281762
internal ApiManagementGatewayHostnameConfigurationUpdatedEventData() { }
17291763
public string ResourceUri { get { throw null; } }
17301764
}
1765+
public partial class ApiManagementGatewayInfo
1766+
{
1767+
internal ApiManagementGatewayInfo() { }
1768+
public string GatewayId { get { throw null; } }
1769+
public string InstanceId { get { throw null; } }
1770+
}
1771+
public partial class ApiManagementGatewayTokenExpiredEventData
1772+
{
1773+
internal ApiManagementGatewayTokenExpiredEventData() { }
1774+
public Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayInfo GatewayInfo { get { throw null; } }
1775+
public Azure.Messaging.EventGrid.SystemEvents.ApiManagementExpiredGatewayTokenInfo TokenInfo { get { throw null; } }
1776+
}
1777+
public partial class ApiManagementGatewayTokenNearExpiryEventData
1778+
{
1779+
internal ApiManagementGatewayTokenNearExpiryEventData() { }
1780+
public Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayInfo GatewayInfo { get { throw null; } }
1781+
public Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayTokenNearExpiryInfo TokenInfo { get { throw null; } }
1782+
}
1783+
public partial class ApiManagementGatewayTokenNearExpiryInfo
1784+
{
1785+
internal ApiManagementGatewayTokenNearExpiryInfo() { }
1786+
public System.DateTimeOffset? ExpiresAtUtc { get { throw null; } }
1787+
}
17311788
public partial class ApiManagementGatewayUpdatedEventData
17321789
{
17331790
internal ApiManagementGatewayUpdatedEventData() { }

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

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,10 @@ public static partial class EventGridModelFactory
150150
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementApiReleaseDeletedEventData ApiManagementApiReleaseDeletedEventData(string resourceUri = null) { throw null; }
151151
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementApiReleaseUpdatedEventData ApiManagementApiReleaseUpdatedEventData(string resourceUri = null) { throw null; }
152152
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementApiUpdatedEventData ApiManagementApiUpdatedEventData(string resourceUri = null) { throw null; }
153+
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementCircuitBreakerClosedEventData ApiManagementCircuitBreakerClosedEventData(string backendName = null, Azure.Messaging.EventGrid.SystemEvents.ApiManagementCircuitBreakerInfo circuitBreaker = null) { throw null; }
154+
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementCircuitBreakerInfo ApiManagementCircuitBreakerInfo(object rules = null) { throw null; }
155+
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementCircuitBreakerOpenedEventData ApiManagementCircuitBreakerOpenedEventData(string backendName = null, Azure.Messaging.EventGrid.SystemEvents.ApiManagementCircuitBreakerInfo circuitBreaker = null) { throw null; }
156+
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementExpiredGatewayTokenInfo ApiManagementExpiredGatewayTokenInfo(System.DateTimeOffset? expiredAtUtc = default(System.DateTimeOffset?)) { throw null; }
153157
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayApiAddedEventData ApiManagementGatewayApiAddedEventData(string resourceUri = null) { throw null; }
154158
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayApiRemovedEventData ApiManagementGatewayApiRemovedEventData(string resourceUri = null) { throw null; }
155159
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayCertificateAuthorityCreatedEventData ApiManagementGatewayCertificateAuthorityCreatedEventData(string resourceUri = null) { throw null; }
@@ -160,6 +164,10 @@ public static partial class EventGridModelFactory
160164
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayHostnameConfigurationCreatedEventData ApiManagementGatewayHostnameConfigurationCreatedEventData(string resourceUri = null) { throw null; }
161165
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayHostnameConfigurationDeletedEventData ApiManagementGatewayHostnameConfigurationDeletedEventData(string resourceUri = null) { throw null; }
162166
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayHostnameConfigurationUpdatedEventData ApiManagementGatewayHostnameConfigurationUpdatedEventData(string resourceUri = null) { throw null; }
167+
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayInfo ApiManagementGatewayInfo(string gatewayId = null, string instanceId = null) { throw null; }
168+
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayTokenExpiredEventData ApiManagementGatewayTokenExpiredEventData(Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayInfo gatewayInfo = null, Azure.Messaging.EventGrid.SystemEvents.ApiManagementExpiredGatewayTokenInfo tokenInfo = null) { throw null; }
169+
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayTokenNearExpiryEventData ApiManagementGatewayTokenNearExpiryEventData(Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayInfo gatewayInfo = null, Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayTokenNearExpiryInfo tokenInfo = null) { throw null; }
170+
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayTokenNearExpiryInfo ApiManagementGatewayTokenNearExpiryInfo(System.DateTimeOffset? expiresAtUtc = default(System.DateTimeOffset?)) { throw null; }
163171
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayUpdatedEventData ApiManagementGatewayUpdatedEventData(string resourceUri = null) { throw null; }
164172
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementProductCreatedEventData ApiManagementProductCreatedEventData(string resourceUri = null) { throw null; }
165173
public static Azure.Messaging.EventGrid.SystemEvents.ApiManagementProductDeletedEventData ApiManagementProductDeletedEventData(string resourceUri = null) { throw null; }
@@ -496,6 +504,8 @@ public static partial class SystemEventNames
496504
public const string ApiManagementApiReleaseDeleted = "Microsoft.ApiManagement.APIReleaseDeleted";
497505
public const string ApiManagementApiReleaseUpdated = "Microsoft.ApiManagement.APIReleaseUpdated";
498506
public const string ApiManagementApiUpdated = "Microsoft.ApiManagement.APIUpdated";
507+
public const string ApiManagementCircuitBreakerClosed = "Microsoft.ApiManagement.CircuitBreaker.Closed";
508+
public const string ApiManagementCircuitBreakerOpened = "Microsoft.ApiManagement.CircuitBreaker.Opened";
499509
public const string ApiManagementGatewayApiAdded = "Microsoft.ApiManagement.GatewayAPIAdded";
500510
public const string ApiManagementGatewayApiRemoved = "Microsoft.ApiManagement.GatewayAPIRemoved";
501511
public const string ApiManagementGatewayCertificateAuthorityCreated = "Microsoft.ApiManagement.GatewayCertificateAuthorityCreated";
@@ -506,6 +516,8 @@ public static partial class SystemEventNames
506516
public const string ApiManagementGatewayHostnameConfigurationCreated = "Microsoft.ApiManagement.GatewayHostnameConfigurationCreated";
507517
public const string ApiManagementGatewayHostnameConfigurationDeleted = "Microsoft.ApiManagement.GatewayHostnameConfigurationDeleted";
508518
public const string ApiManagementGatewayHostnameConfigurationUpdated = "Microsoft.ApiManagement.GatewayHostnameConfigurationUpdated";
519+
public const string ApiManagementGatewayTokenExpired = "Microsoft.ApiManagement.GatewayTokenExpired";
520+
public const string ApiManagementGatewayTokenNearExpiry = "Microsoft.ApiManagement.GatewayTokenNearExpiry";
509521
public const string ApiManagementGatewayUpdated = "Microsoft.ApiManagement.GatewayUpdated";
510522
public const string ApiManagementProductCreated = "Microsoft.ApiManagement.ProductCreated";
511523
public const string ApiManagementProductDeleted = "Microsoft.ApiManagement.ProductDeleted";
@@ -1678,6 +1690,28 @@ public partial class ApiManagementApiUpdatedEventData
16781690
internal ApiManagementApiUpdatedEventData() { }
16791691
public string ResourceUri { get { throw null; } }
16801692
}
1693+
public partial class ApiManagementCircuitBreakerClosedEventData
1694+
{
1695+
internal ApiManagementCircuitBreakerClosedEventData() { }
1696+
public string BackendName { get { throw null; } }
1697+
public Azure.Messaging.EventGrid.SystemEvents.ApiManagementCircuitBreakerInfo CircuitBreaker { get { throw null; } }
1698+
}
1699+
public partial class ApiManagementCircuitBreakerInfo
1700+
{
1701+
internal ApiManagementCircuitBreakerInfo() { }
1702+
public object Rules { get { throw null; } }
1703+
}
1704+
public partial class ApiManagementCircuitBreakerOpenedEventData
1705+
{
1706+
internal ApiManagementCircuitBreakerOpenedEventData() { }
1707+
public string BackendName { get { throw null; } }
1708+
public Azure.Messaging.EventGrid.SystemEvents.ApiManagementCircuitBreakerInfo CircuitBreaker { get { throw null; } }
1709+
}
1710+
public partial class ApiManagementExpiredGatewayTokenInfo
1711+
{
1712+
internal ApiManagementExpiredGatewayTokenInfo() { }
1713+
public System.DateTimeOffset? ExpiredAtUtc { get { throw null; } }
1714+
}
16811715
public partial class ApiManagementGatewayApiAddedEventData
16821716
{
16831717
internal ApiManagementGatewayApiAddedEventData() { }
@@ -1728,6 +1762,29 @@ public partial class ApiManagementGatewayHostnameConfigurationUpdatedEventData
17281762
internal ApiManagementGatewayHostnameConfigurationUpdatedEventData() { }
17291763
public string ResourceUri { get { throw null; } }
17301764
}
1765+
public partial class ApiManagementGatewayInfo
1766+
{
1767+
internal ApiManagementGatewayInfo() { }
1768+
public string GatewayId { get { throw null; } }
1769+
public string InstanceId { get { throw null; } }
1770+
}
1771+
public partial class ApiManagementGatewayTokenExpiredEventData
1772+
{
1773+
internal ApiManagementGatewayTokenExpiredEventData() { }
1774+
public Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayInfo GatewayInfo { get { throw null; } }
1775+
public Azure.Messaging.EventGrid.SystemEvents.ApiManagementExpiredGatewayTokenInfo TokenInfo { get { throw null; } }
1776+
}
1777+
public partial class ApiManagementGatewayTokenNearExpiryEventData
1778+
{
1779+
internal ApiManagementGatewayTokenNearExpiryEventData() { }
1780+
public Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayInfo GatewayInfo { get { throw null; } }
1781+
public Azure.Messaging.EventGrid.SystemEvents.ApiManagementGatewayTokenNearExpiryInfo TokenInfo { get { throw null; } }
1782+
}
1783+
public partial class ApiManagementGatewayTokenNearExpiryInfo
1784+
{
1785+
internal ApiManagementGatewayTokenNearExpiryInfo() { }
1786+
public System.DateTimeOffset? ExpiresAtUtc { get { throw null; } }
1787+
}
17311788
public partial class ApiManagementGatewayUpdatedEventData
17321789
{
17331790
internal ApiManagementGatewayUpdatedEventData() { }

0 commit comments

Comments
 (0)