Skip to content

Commit 8790454

Browse files
authored
eventgrid-track1 (Azure#18231)
* eventgrid-track1 * update
1 parent 77dc7e4 commit 8790454

30 files changed

+1802
-7682
lines changed

sdk/eventgrid/arm-eventgrid/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Azure EventGridManagementClient SDK for JavaScript
22

3-
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for EventGridManagementClient.
3+
This package contains an isomorphic SDK (runs both in node.js and in browsers) for EventGridManagementClient.
44

55
### Currently supported environments
66

sdk/eventgrid/arm-eventgrid/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@azure/arm-eventgrid",
33
"author": "Microsoft Corporation",
44
"description": "EventGridManagementClient Library with typescript type definitions for node.js and browser.",
5-
"version": "11.0.1",
5+
"version": "12.0.0",
66
"dependencies": {
77
"@azure/ms-rest-azure-js": "^2.1.0",
88
"@azure/ms-rest-js": "^2.2.0",
@@ -27,7 +27,7 @@
2727
"rollup-plugin-sourcemaps": "^0.4.2",
2828
"uglify-js": "^3.6.0"
2929
},
30-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/eventgrid/arm-eventgrid",
30+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventgrid/arm-eventgrid",
3131
"repository": {
3232
"type": "git",
3333
"url": "https://github.com/Azure/azure-sdk-for-js.git"

sdk/eventgrid/arm-eventgrid/src/eventGridManagementClient.ts

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,13 @@ class EventGridManagementClient extends EventGridManagementClientContext {
1919
// Operation groups
2020
domains: operations.Domains;
2121
domainTopics: operations.DomainTopics;
22-
eventChannels: operations.EventChannels;
2322
eventSubscriptions: operations.EventSubscriptions;
2423
systemTopicEventSubscriptions: operations.SystemTopicEventSubscriptions;
25-
partnerTopicEventSubscriptions: operations.PartnerTopicEventSubscriptions;
2624
operations: operations.Operations;
27-
partnerNamespaces: operations.PartnerNamespaces;
28-
partnerRegistrations: operations.PartnerRegistrations;
29-
partnerTopics: operations.PartnerTopics;
25+
topics: operations.Topics;
3026
privateEndpointConnections: operations.PrivateEndpointConnections;
3127
privateLinkResources: operations.PrivateLinkResources;
3228
systemTopics: operations.SystemTopics;
33-
topics: operations.Topics;
3429
extensionTopics: operations.ExtensionTopics;
3530
topicTypes: operations.TopicTypes;
3631

@@ -50,18 +45,13 @@ class EventGridManagementClient extends EventGridManagementClientContext {
5045
super(credentials, subscriptionId, options);
5146
this.domains = new operations.Domains(this);
5247
this.domainTopics = new operations.DomainTopics(this);
53-
this.eventChannels = new operations.EventChannels(this);
5448
this.eventSubscriptions = new operations.EventSubscriptions(this);
5549
this.systemTopicEventSubscriptions = new operations.SystemTopicEventSubscriptions(this);
56-
this.partnerTopicEventSubscriptions = new operations.PartnerTopicEventSubscriptions(this);
5750
this.operations = new operations.Operations(this);
58-
this.partnerNamespaces = new operations.PartnerNamespaces(this);
59-
this.partnerRegistrations = new operations.PartnerRegistrations(this);
60-
this.partnerTopics = new operations.PartnerTopics(this);
51+
this.topics = new operations.Topics(this);
6152
this.privateEndpointConnections = new operations.PrivateEndpointConnections(this);
6253
this.privateLinkResources = new operations.PrivateLinkResources(this);
6354
this.systemTopics = new operations.SystemTopics(this);
64-
this.topics = new operations.Topics(this);
6555
this.extensionTopics = new operations.ExtensionTopics(this);
6656
this.topicTypes = new operations.TopicTypes(this);
6757
}

sdk/eventgrid/arm-eventgrid/src/eventGridManagementClientContext.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import * as msRestAzure from "@azure/ms-rest-azure-js";
1313
import { TokenCredential } from "@azure/core-auth";
1414

1515
const packageName = "@azure/arm-eventgrid";
16-
const packageVersion = "11.0.1";
16+
const packageVersion = "12.0.0";
1717

1818
export class EventGridManagementClientContext extends msRestAzure.AzureServiceClient {
1919
credentials: msRest.ServiceClientCredentials | TokenCredential;
@@ -50,7 +50,7 @@ export class EventGridManagementClientContext extends msRestAzure.AzureServiceCl
5050

5151
super(credentials, options);
5252

53-
this.apiVersion = '2021-06-01-preview';
53+
this.apiVersion = '2021-12-01';
5454
this.acceptLanguage = 'en-US';
5555
this.longRunningOperationRetryTimeout = 30;
5656
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";

sdk/eventgrid/arm-eventgrid/src/models/domainTopicsMappers.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,42 +22,29 @@ export {
2222
DomainTopic,
2323
DomainTopicsListResult,
2424
DynamicDeliveryAttributeMapping,
25-
EventChannel,
26-
EventChannelDestination,
27-
EventChannelFilter,
28-
EventChannelSource,
2925
EventHubEventSubscriptionDestination,
3026
EventSubscription,
3127
EventSubscriptionDestination,
3228
EventSubscriptionFilter,
3329
EventSubscriptionIdentity,
3430
EventType,
35-
ExtendedLocation,
3631
ExtensionTopic,
3732
HybridConnectionEventSubscriptionDestination,
3833
IdentityInfo,
3934
InboundIpRule,
4035
InputSchemaMapping,
41-
IsNotNullAdvancedFilter,
42-
IsNullOrUndefinedAdvancedFilter,
4336
JsonField,
4437
JsonFieldWithDefault,
4538
JsonInputSchemaMapping,
4639
NumberGreaterThanAdvancedFilter,
4740
NumberGreaterThanOrEqualsAdvancedFilter,
4841
NumberInAdvancedFilter,
49-
NumberInRangeAdvancedFilter,
5042
NumberLessThanAdvancedFilter,
5143
NumberLessThanOrEqualsAdvancedFilter,
5244
NumberNotInAdvancedFilter,
53-
NumberNotInRangeAdvancedFilter,
54-
PartnerNamespace,
55-
PartnerRegistration,
56-
PartnerTopic,
5745
PrivateEndpoint,
5846
PrivateEndpointConnection,
5947
Resource,
60-
ResourceSku,
6148
RetryPolicy,
6249
ServiceBusQueueEventSubscriptionDestination,
6350
ServiceBusTopicEventSubscriptionDestination,
@@ -68,9 +55,6 @@ export {
6855
StringContainsAdvancedFilter,
6956
StringEndsWithAdvancedFilter,
7057
StringInAdvancedFilter,
71-
StringNotBeginsWithAdvancedFilter,
72-
StringNotContainsAdvancedFilter,
73-
StringNotEndsWithAdvancedFilter,
7458
StringNotInAdvancedFilter,
7559
SystemData,
7660
SystemTopic,

sdk/eventgrid/arm-eventgrid/src/models/domainsMappers.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,42 +25,29 @@ export {
2525
DomainTopic,
2626
DomainUpdateParameters,
2727
DynamicDeliveryAttributeMapping,
28-
EventChannel,
29-
EventChannelDestination,
30-
EventChannelFilter,
31-
EventChannelSource,
3228
EventHubEventSubscriptionDestination,
3329
EventSubscription,
3430
EventSubscriptionDestination,
3531
EventSubscriptionFilter,
3632
EventSubscriptionIdentity,
3733
EventType,
38-
ExtendedLocation,
3934
ExtensionTopic,
4035
HybridConnectionEventSubscriptionDestination,
4136
IdentityInfo,
4237
InboundIpRule,
4338
InputSchemaMapping,
44-
IsNotNullAdvancedFilter,
45-
IsNullOrUndefinedAdvancedFilter,
4639
JsonField,
4740
JsonFieldWithDefault,
4841
JsonInputSchemaMapping,
4942
NumberGreaterThanAdvancedFilter,
5043
NumberGreaterThanOrEqualsAdvancedFilter,
5144
NumberInAdvancedFilter,
52-
NumberInRangeAdvancedFilter,
5345
NumberLessThanAdvancedFilter,
5446
NumberLessThanOrEqualsAdvancedFilter,
5547
NumberNotInAdvancedFilter,
56-
NumberNotInRangeAdvancedFilter,
57-
PartnerNamespace,
58-
PartnerRegistration,
59-
PartnerTopic,
6048
PrivateEndpoint,
6149
PrivateEndpointConnection,
6250
Resource,
63-
ResourceSku,
6451
RetryPolicy,
6552
ServiceBusQueueEventSubscriptionDestination,
6653
ServiceBusTopicEventSubscriptionDestination,
@@ -71,9 +58,6 @@ export {
7158
StringContainsAdvancedFilter,
7259
StringEndsWithAdvancedFilter,
7360
StringInAdvancedFilter,
74-
StringNotBeginsWithAdvancedFilter,
75-
StringNotContainsAdvancedFilter,
76-
StringNotEndsWithAdvancedFilter,
7761
StringNotInAdvancedFilter,
7862
SystemData,
7963
SystemTopic,

sdk/eventgrid/arm-eventgrid/src/models/eventChannelsMappers.ts

Lines changed: 0 additions & 82 deletions
This file was deleted.

sdk/eventgrid/arm-eventgrid/src/models/eventSubscriptionsMappers.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ export {
2222
Domain,
2323
DomainTopic,
2424
DynamicDeliveryAttributeMapping,
25-
EventChannel,
26-
EventChannelDestination,
27-
EventChannelFilter,
28-
EventChannelSource,
2925
EventHubEventSubscriptionDestination,
3026
EventSubscription,
3127
EventSubscriptionDestination,
@@ -35,32 +31,23 @@ export {
3531
EventSubscriptionsListResult,
3632
EventSubscriptionUpdateParameters,
3733
EventType,
38-
ExtendedLocation,
3934
ExtensionTopic,
4035
HybridConnectionEventSubscriptionDestination,
4136
IdentityInfo,
4237
InboundIpRule,
4338
InputSchemaMapping,
44-
IsNotNullAdvancedFilter,
45-
IsNullOrUndefinedAdvancedFilter,
4639
JsonField,
4740
JsonFieldWithDefault,
4841
JsonInputSchemaMapping,
4942
NumberGreaterThanAdvancedFilter,
5043
NumberGreaterThanOrEqualsAdvancedFilter,
5144
NumberInAdvancedFilter,
52-
NumberInRangeAdvancedFilter,
5345
NumberLessThanAdvancedFilter,
5446
NumberLessThanOrEqualsAdvancedFilter,
5547
NumberNotInAdvancedFilter,
56-
NumberNotInRangeAdvancedFilter,
57-
PartnerNamespace,
58-
PartnerRegistration,
59-
PartnerTopic,
6048
PrivateEndpoint,
6149
PrivateEndpointConnection,
6250
Resource,
63-
ResourceSku,
6451
RetryPolicy,
6552
ServiceBusQueueEventSubscriptionDestination,
6653
ServiceBusTopicEventSubscriptionDestination,
@@ -71,9 +58,6 @@ export {
7158
StringContainsAdvancedFilter,
7259
StringEndsWithAdvancedFilter,
7360
StringInAdvancedFilter,
74-
StringNotBeginsWithAdvancedFilter,
75-
StringNotContainsAdvancedFilter,
76-
StringNotEndsWithAdvancedFilter,
7761
StringNotInAdvancedFilter,
7862
SystemData,
7963
SystemTopic,

sdk/eventgrid/arm-eventgrid/src/models/extensionTopicsMappers.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,42 +21,29 @@ export {
2121
Domain,
2222
DomainTopic,
2323
DynamicDeliveryAttributeMapping,
24-
EventChannel,
25-
EventChannelDestination,
26-
EventChannelFilter,
27-
EventChannelSource,
2824
EventHubEventSubscriptionDestination,
2925
EventSubscription,
3026
EventSubscriptionDestination,
3127
EventSubscriptionFilter,
3228
EventSubscriptionIdentity,
3329
EventType,
34-
ExtendedLocation,
3530
ExtensionTopic,
3631
HybridConnectionEventSubscriptionDestination,
3732
IdentityInfo,
3833
InboundIpRule,
3934
InputSchemaMapping,
40-
IsNotNullAdvancedFilter,
41-
IsNullOrUndefinedAdvancedFilter,
4235
JsonField,
4336
JsonFieldWithDefault,
4437
JsonInputSchemaMapping,
4538
NumberGreaterThanAdvancedFilter,
4639
NumberGreaterThanOrEqualsAdvancedFilter,
4740
NumberInAdvancedFilter,
48-
NumberInRangeAdvancedFilter,
4941
NumberLessThanAdvancedFilter,
5042
NumberLessThanOrEqualsAdvancedFilter,
5143
NumberNotInAdvancedFilter,
52-
NumberNotInRangeAdvancedFilter,
53-
PartnerNamespace,
54-
PartnerRegistration,
55-
PartnerTopic,
5644
PrivateEndpoint,
5745
PrivateEndpointConnection,
5846
Resource,
59-
ResourceSku,
6047
RetryPolicy,
6148
ServiceBusQueueEventSubscriptionDestination,
6249
ServiceBusTopicEventSubscriptionDestination,
@@ -67,9 +54,6 @@ export {
6754
StringContainsAdvancedFilter,
6855
StringEndsWithAdvancedFilter,
6956
StringInAdvancedFilter,
70-
StringNotBeginsWithAdvancedFilter,
71-
StringNotContainsAdvancedFilter,
72-
StringNotEndsWithAdvancedFilter,
7357
StringNotInAdvancedFilter,
7458
SystemData,
7559
SystemTopic,

0 commit comments

Comments
 (0)