@azure/arm-eventgrid 14.2.0 → 15.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/dist/browser/eventGridManagementClient.d.ts +6 -4
- package/dist/browser/eventGridManagementClient.d.ts.map +1 -1
- package/dist/browser/eventGridManagementClient.js +10 -7
- package/dist/browser/eventGridManagementClient.js.map +1 -1
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +1000 -283
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +174 -16
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +48 -8
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +1301 -268
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +13 -6
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +116 -48
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/domainTopicEventSubscriptions.d.ts +10 -10
- package/dist/browser/operations/domainTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/browser/operations/domainTopicEventSubscriptions.js +38 -38
- package/dist/browser/operations/domainTopicEventSubscriptions.js.map +1 -1
- package/dist/browser/operations/eventSubscriptions.d.ts +15 -15
- package/dist/browser/operations/eventSubscriptions.d.ts.map +1 -1
- package/dist/browser/operations/eventSubscriptions.js +34 -34
- package/dist/browser/operations/eventSubscriptions.js.map +1 -1
- package/dist/browser/operations/index.d.ts +5 -3
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +5 -3
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts +68 -0
- package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/browser/operations/networkSecurityPerimeterConfigurations.js +256 -0
- package/dist/browser/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist/browser/operations/partnerDestinations.d.ts +114 -0
- package/dist/browser/operations/partnerDestinations.d.ts.map +1 -0
- package/dist/browser/operations/partnerDestinations.js +574 -0
- package/dist/browser/operations/partnerDestinations.js.map +1 -0
- package/dist/browser/operations/systemTopicEventSubscriptions.d.ts +9 -9
- package/dist/browser/operations/systemTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/browser/operations/systemTopicEventSubscriptions.js +30 -30
- package/dist/browser/operations/systemTopicEventSubscriptions.js.map +1 -1
- package/dist/browser/operationsInterfaces/domainTopicEventSubscriptions.d.ts +10 -10
- package/dist/browser/operationsInterfaces/domainTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/domainTopicEventSubscriptions.js.map +1 -1
- package/dist/browser/operationsInterfaces/eventSubscriptions.d.ts +15 -15
- package/dist/browser/operationsInterfaces/eventSubscriptions.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/eventSubscriptions.js.map +1 -1
- package/dist/browser/operationsInterfaces/index.d.ts +5 -3
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +5 -3
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
- package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
- package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist/browser/operationsInterfaces/partnerDestinations.d.ts +78 -0
- package/dist/browser/operationsInterfaces/partnerDestinations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/partnerDestinations.js +9 -0
- package/dist/browser/operationsInterfaces/partnerDestinations.js.map +1 -0
- package/dist/browser/operationsInterfaces/systemTopicEventSubscriptions.d.ts +9 -9
- package/dist/browser/operationsInterfaces/systemTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/systemTopicEventSubscriptions.js.map +1 -1
- package/dist/commonjs/eventGridManagementClient.d.ts +6 -4
- package/dist/commonjs/eventGridManagementClient.d.ts.map +1 -1
- package/dist/commonjs/eventGridManagementClient.js +9 -6
- package/dist/commonjs/eventGridManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +1000 -283
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +176 -18
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +48 -8
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +1306 -273
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +13 -6
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +117 -49
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/domainTopicEventSubscriptions.d.ts +10 -10
- package/dist/commonjs/operations/domainTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/commonjs/operations/domainTopicEventSubscriptions.js +38 -38
- package/dist/commonjs/operations/domainTopicEventSubscriptions.js.map +1 -1
- package/dist/commonjs/operations/eventSubscriptions.d.ts +15 -15
- package/dist/commonjs/operations/eventSubscriptions.d.ts.map +1 -1
- package/dist/commonjs/operations/eventSubscriptions.js +34 -34
- package/dist/commonjs/operations/eventSubscriptions.js.map +1 -1
- package/dist/commonjs/operations/index.d.ts +5 -3
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +5 -3
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts +68 -0
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js +260 -0
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist/commonjs/operations/partnerDestinations.d.ts +114 -0
- package/dist/commonjs/operations/partnerDestinations.d.ts.map +1 -0
- package/dist/commonjs/operations/partnerDestinations.js +578 -0
- package/dist/commonjs/operations/partnerDestinations.js.map +1 -0
- package/dist/commonjs/operations/systemTopicEventSubscriptions.d.ts +9 -9
- package/dist/commonjs/operations/systemTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/commonjs/operations/systemTopicEventSubscriptions.js +30 -30
- package/dist/commonjs/operations/systemTopicEventSubscriptions.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/domainTopicEventSubscriptions.d.ts +10 -10
- package/dist/commonjs/operationsInterfaces/domainTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/domainTopicEventSubscriptions.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/eventSubscriptions.d.ts +15 -15
- package/dist/commonjs/operationsInterfaces/eventSubscriptions.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/eventSubscriptions.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +5 -3
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +5 -3
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.js +10 -0
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/partnerDestinations.d.ts +78 -0
- package/dist/commonjs/operationsInterfaces/partnerDestinations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/partnerDestinations.js +10 -0
- package/dist/commonjs/operationsInterfaces/partnerDestinations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/systemTopicEventSubscriptions.d.ts +9 -9
- package/dist/commonjs/operationsInterfaces/systemTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/systemTopicEventSubscriptions.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/eventGridManagementClient.d.ts +6 -4
- package/dist/esm/eventGridManagementClient.d.ts.map +1 -1
- package/dist/esm/eventGridManagementClient.js +10 -7
- package/dist/esm/eventGridManagementClient.js.map +1 -1
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +1000 -283
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +174 -16
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +48 -8
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +1301 -268
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +13 -6
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +116 -48
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/domainTopicEventSubscriptions.d.ts +10 -10
- package/dist/esm/operations/domainTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/esm/operations/domainTopicEventSubscriptions.js +38 -38
- package/dist/esm/operations/domainTopicEventSubscriptions.js.map +1 -1
- package/dist/esm/operations/eventSubscriptions.d.ts +15 -15
- package/dist/esm/operations/eventSubscriptions.d.ts.map +1 -1
- package/dist/esm/operations/eventSubscriptions.js +34 -34
- package/dist/esm/operations/eventSubscriptions.js.map +1 -1
- package/dist/esm/operations/index.d.ts +5 -3
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +5 -3
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts +68 -0
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.js +256 -0
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist/esm/operations/partnerDestinations.d.ts +114 -0
- package/dist/esm/operations/partnerDestinations.d.ts.map +1 -0
- package/dist/esm/operations/partnerDestinations.js +574 -0
- package/dist/esm/operations/partnerDestinations.js.map +1 -0
- package/dist/esm/operations/systemTopicEventSubscriptions.d.ts +9 -9
- package/dist/esm/operations/systemTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/esm/operations/systemTopicEventSubscriptions.js +30 -30
- package/dist/esm/operations/systemTopicEventSubscriptions.js.map +1 -1
- package/dist/esm/operationsInterfaces/domainTopicEventSubscriptions.d.ts +10 -10
- package/dist/esm/operationsInterfaces/domainTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/domainTopicEventSubscriptions.js.map +1 -1
- package/dist/esm/operationsInterfaces/eventSubscriptions.d.ts +15 -15
- package/dist/esm/operationsInterfaces/eventSubscriptions.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/eventSubscriptions.js.map +1 -1
- package/dist/esm/operationsInterfaces/index.d.ts +5 -3
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +5 -3
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist/esm/operationsInterfaces/partnerDestinations.d.ts +78 -0
- package/dist/esm/operationsInterfaces/partnerDestinations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/partnerDestinations.js +9 -0
- package/dist/esm/operationsInterfaces/partnerDestinations.js.map +1 -0
- package/dist/esm/operationsInterfaces/systemTopicEventSubscriptions.d.ts +9 -9
- package/dist/esm/operationsInterfaces/systemTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/systemTopicEventSubscriptions.js.map +1 -1
- package/dist/react-native/eventGridManagementClient.d.ts +6 -4
- package/dist/react-native/eventGridManagementClient.d.ts.map +1 -1
- package/dist/react-native/eventGridManagementClient.js +10 -7
- package/dist/react-native/eventGridManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +1000 -283
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +174 -16
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +48 -8
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +1301 -268
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +13 -6
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +116 -48
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/domainTopicEventSubscriptions.d.ts +10 -10
- package/dist/react-native/operations/domainTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/react-native/operations/domainTopicEventSubscriptions.js +38 -38
- package/dist/react-native/operations/domainTopicEventSubscriptions.js.map +1 -1
- package/dist/react-native/operations/eventSubscriptions.d.ts +15 -15
- package/dist/react-native/operations/eventSubscriptions.d.ts.map +1 -1
- package/dist/react-native/operations/eventSubscriptions.js +34 -34
- package/dist/react-native/operations/eventSubscriptions.js.map +1 -1
- package/dist/react-native/operations/index.d.ts +5 -3
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +5 -3
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts +68 -0
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js +256 -0
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist/react-native/operations/partnerDestinations.d.ts +114 -0
- package/dist/react-native/operations/partnerDestinations.d.ts.map +1 -0
- package/dist/react-native/operations/partnerDestinations.js +574 -0
- package/dist/react-native/operations/partnerDestinations.js.map +1 -0
- package/dist/react-native/operations/systemTopicEventSubscriptions.d.ts +9 -9
- package/dist/react-native/operations/systemTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/react-native/operations/systemTopicEventSubscriptions.js +30 -30
- package/dist/react-native/operations/systemTopicEventSubscriptions.js.map +1 -1
- package/dist/react-native/operationsInterfaces/domainTopicEventSubscriptions.d.ts +10 -10
- package/dist/react-native/operationsInterfaces/domainTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/domainTopicEventSubscriptions.js.map +1 -1
- package/dist/react-native/operationsInterfaces/eventSubscriptions.d.ts +15 -15
- package/dist/react-native/operationsInterfaces/eventSubscriptions.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/eventSubscriptions.js.map +1 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +5 -3
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +5 -3
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/partnerDestinations.d.ts +78 -0
- package/dist/react-native/operationsInterfaces/partnerDestinations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/partnerDestinations.js +9 -0
- package/dist/react-native/operationsInterfaces/partnerDestinations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/systemTopicEventSubscriptions.d.ts +9 -9
- package/dist/react-native/operationsInterfaces/systemTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/systemTopicEventSubscriptions.js.map +1 -1
- package/package.json +32 -45
- package/CHANGELOG.md +0 -2065
- package/review/arm-eventgrid.api.md +0 -4226
|
@@ -2,7 +2,7 @@ import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
|
2
2
|
import { SystemTopicEventSubscriptions } from "../operationsInterfaces/index.js";
|
|
3
3
|
import { EventGridManagementClient } from "../eventGridManagementClient.js";
|
|
4
4
|
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
-
import { EventSubscription, SystemTopicEventSubscriptionsListBySystemTopicOptionalParams, SystemTopicEventSubscriptionsGetOptionalParams, SystemTopicEventSubscriptionsGetResponse, SystemTopicEventSubscriptionsCreateOrUpdateOptionalParams, SystemTopicEventSubscriptionsCreateOrUpdateResponse, SystemTopicEventSubscriptionsDeleteOptionalParams, EventSubscriptionUpdateParameters, SystemTopicEventSubscriptionsUpdateOptionalParams, SystemTopicEventSubscriptionsUpdateResponse, SystemTopicEventSubscriptionsGetFullUrlOptionalParams, SystemTopicEventSubscriptionsGetFullUrlResponse
|
|
5
|
+
import { EventSubscription, SystemTopicEventSubscriptionsListBySystemTopicOptionalParams, SystemTopicEventSubscriptionsGetDeliveryAttributesOptionalParams, SystemTopicEventSubscriptionsGetDeliveryAttributesResponse, SystemTopicEventSubscriptionsGetOptionalParams, SystemTopicEventSubscriptionsGetResponse, SystemTopicEventSubscriptionsCreateOrUpdateOptionalParams, SystemTopicEventSubscriptionsCreateOrUpdateResponse, SystemTopicEventSubscriptionsDeleteOptionalParams, EventSubscriptionUpdateParameters, SystemTopicEventSubscriptionsUpdateOptionalParams, SystemTopicEventSubscriptionsUpdateResponse, SystemTopicEventSubscriptionsGetFullUrlOptionalParams, SystemTopicEventSubscriptionsGetFullUrlResponse } from "../models/index.js";
|
|
6
6
|
/** Class containing SystemTopicEventSubscriptions operations. */
|
|
7
7
|
export declare class SystemTopicEventSubscriptionsImpl implements SystemTopicEventSubscriptions {
|
|
8
8
|
private readonly client;
|
|
@@ -20,6 +20,14 @@ export declare class SystemTopicEventSubscriptionsImpl implements SystemTopicEve
|
|
|
20
20
|
listBySystemTopic(resourceGroupName: string, systemTopicName: string, options?: SystemTopicEventSubscriptionsListBySystemTopicOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
|
|
21
21
|
private listBySystemTopicPagingPage;
|
|
22
22
|
private listBySystemTopicPagingAll;
|
|
23
|
+
/**
|
|
24
|
+
* Get all delivery attributes for an event subscription.
|
|
25
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
26
|
+
* @param systemTopicName Name of the system topic.
|
|
27
|
+
* @param eventSubscriptionName Name of the event subscription.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
getDeliveryAttributes(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, options?: SystemTopicEventSubscriptionsGetDeliveryAttributesOptionalParams): Promise<SystemTopicEventSubscriptionsGetDeliveryAttributesResponse>;
|
|
23
31
|
/**
|
|
24
32
|
* Get an event subscription.
|
|
25
33
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
@@ -101,14 +109,6 @@ export declare class SystemTopicEventSubscriptionsImpl implements SystemTopicEve
|
|
|
101
109
|
* @param options The options parameters.
|
|
102
110
|
*/
|
|
103
111
|
private _listBySystemTopic;
|
|
104
|
-
/**
|
|
105
|
-
* Get all delivery attributes for an event subscription.
|
|
106
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
107
|
-
* @param systemTopicName Name of the system topic.
|
|
108
|
-
* @param eventSubscriptionName Name of the event subscription.
|
|
109
|
-
* @param options The options parameters.
|
|
110
|
-
*/
|
|
111
|
-
getDeliveryAttributes(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, options?: SystemTopicEventSubscriptionsGetDeliveryAttributesOptionalParams): Promise<SystemTopicEventSubscriptionsGetDeliveryAttributesResponse>;
|
|
112
112
|
/**
|
|
113
113
|
* ListBySystemTopicNext
|
|
114
114
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"systemTopicEventSubscriptions.d.ts","sourceRoot":"","sources":["../../../src/operations/systemTopicEventSubscriptions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAIjF,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,iBAAiB,EAEjB,4DAA4D,EAE5D,8CAA8C,EAC9C,wCAAwC,EACxC,yDAAyD,EACzD,mDAAmD,EACnD,iDAAiD,EACjD,iCAAiC,EACjC,iDAAiD,EACjD,2CAA2C,EAC3C,qDAAqD,EACrD,+CAA+C,
|
|
1
|
+
{"version":3,"file":"systemTopicEventSubscriptions.d.ts","sourceRoot":"","sources":["../../../src/operations/systemTopicEventSubscriptions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAIjF,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,iBAAiB,EAEjB,4DAA4D,EAE5D,gEAAg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 -85,6 +85,16 @@ export class SystemTopicEventSubscriptionsImpl {
|
|
|
85
85
|
}
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
|
+
/**
|
|
89
|
+
* Get all delivery attributes for an event subscription.
|
|
90
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
91
|
+
* @param systemTopicName Name of the system topic.
|
|
92
|
+
* @param eventSubscriptionName Name of the event subscription.
|
|
93
|
+
* @param options The options parameters.
|
|
94
|
+
*/
|
|
95
|
+
getDeliveryAttributes(resourceGroupName, systemTopicName, eventSubscriptionName, options) {
|
|
96
|
+
return this.client.sendOperationRequest({ resourceGroupName, systemTopicName, eventSubscriptionName, options }, getDeliveryAttributesOperationSpec);
|
|
97
|
+
}
|
|
88
98
|
/**
|
|
89
99
|
* Get an event subscription.
|
|
90
100
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
@@ -300,16 +310,6 @@ export class SystemTopicEventSubscriptionsImpl {
|
|
|
300
310
|
_listBySystemTopic(resourceGroupName, systemTopicName, options) {
|
|
301
311
|
return this.client.sendOperationRequest({ resourceGroupName, systemTopicName, options }, listBySystemTopicOperationSpec);
|
|
302
312
|
}
|
|
303
|
-
/**
|
|
304
|
-
* Get all delivery attributes for an event subscription.
|
|
305
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
306
|
-
* @param systemTopicName Name of the system topic.
|
|
307
|
-
* @param eventSubscriptionName Name of the event subscription.
|
|
308
|
-
* @param options The options parameters.
|
|
309
|
-
*/
|
|
310
|
-
getDeliveryAttributes(resourceGroupName, systemTopicName, eventSubscriptionName, options) {
|
|
311
|
-
return this.client.sendOperationRequest({ resourceGroupName, systemTopicName, eventSubscriptionName, options }, getDeliveryAttributesOperationSpec);
|
|
312
|
-
}
|
|
313
313
|
/**
|
|
314
314
|
* ListBySystemTopicNext
|
|
315
315
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
@@ -323,6 +323,26 @@ export class SystemTopicEventSubscriptionsImpl {
|
|
|
323
323
|
}
|
|
324
324
|
// Operation Specifications
|
|
325
325
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
326
|
+
const getDeliveryAttributesOperationSpec = {
|
|
327
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}/getDeliveryAttributes",
|
|
328
|
+
httpMethod: "POST",
|
|
329
|
+
responses: {
|
|
330
|
+
200: {
|
|
331
|
+
bodyMapper: Mappers.DeliveryAttributeListResult,
|
|
332
|
+
},
|
|
333
|
+
default: {},
|
|
334
|
+
},
|
|
335
|
+
queryParameters: [Parameters.apiVersion],
|
|
336
|
+
urlParameters: [
|
|
337
|
+
Parameters.$host,
|
|
338
|
+
Parameters.subscriptionId,
|
|
339
|
+
Parameters.resourceGroupName,
|
|
340
|
+
Parameters.eventSubscriptionName,
|
|
341
|
+
Parameters.systemTopicName,
|
|
342
|
+
],
|
|
343
|
+
headerParameters: [Parameters.accept],
|
|
344
|
+
serializer,
|
|
345
|
+
};
|
|
326
346
|
const getOperationSpec = {
|
|
327
347
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}",
|
|
328
348
|
httpMethod: "GET",
|
|
@@ -458,26 +478,6 @@ const listBySystemTopicOperationSpec = {
|
|
|
458
478
|
headerParameters: [Parameters.accept],
|
|
459
479
|
serializer,
|
|
460
480
|
};
|
|
461
|
-
const getDeliveryAttributesOperationSpec = {
|
|
462
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}/getDeliveryAttributes",
|
|
463
|
-
httpMethod: "POST",
|
|
464
|
-
responses: {
|
|
465
|
-
200: {
|
|
466
|
-
bodyMapper: Mappers.DeliveryAttributeListResult,
|
|
467
|
-
},
|
|
468
|
-
default: {},
|
|
469
|
-
},
|
|
470
|
-
queryParameters: [Parameters.apiVersion],
|
|
471
|
-
urlParameters: [
|
|
472
|
-
Parameters.$host,
|
|
473
|
-
Parameters.subscriptionId,
|
|
474
|
-
Parameters.resourceGroupName,
|
|
475
|
-
Parameters.eventSubscriptionName,
|
|
476
|
-
Parameters.systemTopicName,
|
|
477
|
-
],
|
|
478
|
-
headerParameters: [Parameters.accept],
|
|
479
|
-
serializer,
|
|
480
|
-
};
|
|
481
481
|
const listBySystemTopicNextOperationSpec = {
|
|
482
482
|
path: "{nextLink}",
|
|
483
483
|
httpMethod: "GET",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"systemTopicEventSubscriptions.js","sourceRoot":"","sources":["../../../src/operations/systemTopicEventSubscriptions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAqB9C,4CAA4C;AAC5C,iEAAiE;AACjE,MAAM,OAAO,iCAAiC;IAK5C;;;OAGG;IACH,YAAY,MAAiC;QAC3C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,iBAAiB,CACtB,iBAAyB,EACzB,eAAuB,EACvB,OAAsE;QAEtE,MAAM,IAAI,GAAG,IAAI,CAAC,0BAA0B,CAC1C,iBAAiB,EACjB,eAAe,EACf,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC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C3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { SystemTopicEventSubscriptions } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { EventGridManagementClient } from \"../eventGridManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n EventSubscription,\n SystemTopicEventSubscriptionsListBySystemTopicNextOptionalParams,\n SystemTopicEventSubscriptionsListBySystemTopicOptionalParams,\n SystemTopicEventSubscriptionsListBySystemTopicResponse,\n SystemTopicEventSubscriptionsGetOptionalParams,\n SystemTopicEventSubscriptionsGetResponse,\n SystemTopicEventSubscriptionsCreateOrUpdateOptionalParams,\n SystemTopicEventSubscriptionsCreateOrUpdateResponse,\n SystemTopicEventSubscriptionsDeleteOptionalParams,\n EventSubscriptionUpdateParameters,\n SystemTopicEventSubscriptionsUpdateOptionalParams,\n SystemTopicEventSubscriptionsUpdateResponse,\n SystemTopicEventSubscriptionsGetFullUrlOptionalParams,\n SystemTopicEventSubscriptionsGetFullUrlResponse,\n SystemTopicEventSubscriptionsGetDeliveryAttributesOptionalParams,\n SystemTopicEventSubscriptionsGetDeliveryAttributesResponse,\n SystemTopicEventSubscriptionsListBySystemTopicNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing SystemTopicEventSubscriptions operations. */\nexport class SystemTopicEventSubscriptionsImpl\n implements SystemTopicEventSubscriptions\n{\n private readonly client: EventGridManagementClient;\n\n /**\n * Initialize a new instance of the class SystemTopicEventSubscriptions class.\n * @param client Reference to the service client\n */\n constructor(client: EventGridManagementClient) {\n this.client = client;\n }\n\n /**\n * List event subscriptions that belong to a specific system topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param systemTopicName Name of the system topic.\n * @param options The options parameters.\n */\n public listBySystemTopic(\n resourceGroupName: string,\n systemTopicName: string,\n options?: SystemTopicEventSubscriptionsListBySystemTopicOptionalParams,\n ): PagedAsyncIterableIterator<EventSubscription> {\n const iter = this.listBySystemTopicPagingAll(\n resourceGroupName,\n systemTopicName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySystemTopicPagingPage(\n resourceGroupName,\n systemTopicName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listBySystemTopicPagingPage(\n resourceGroupName: string,\n systemTopicName: string,\n options?: SystemTopicEventSubscriptionsListBySystemTopicOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<EventSubscription[]> {\n let result: SystemTopicEventSubscriptionsListBySystemTopicResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySystemTopic(\n resourceGroupName,\n systemTopicName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySystemTopicNext(\n resourceGroupName,\n systemTopicName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySystemTopicPagingAll(\n resourceGroupName: string,\n systemTopicName: string,\n options?: SystemTopicEventSubscriptionsListBySystemTopicOptionalParams,\n ): AsyncIterableIterator<EventSubscription> {\n for await (const page of this.listBySystemTopicPagingPage(\n resourceGroupName,\n systemTopicName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get an event subscription.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param systemTopicName Name of the system topic.\n * @param eventSubscriptionName Name of the event subscription to be found.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n systemTopicName: string,\n eventSubscriptionName: string,\n options?: SystemTopicEventSubscriptionsGetOptionalParams,\n ): Promise<SystemTopicEventSubscriptionsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, systemTopicName, eventSubscriptionName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Asynchronously creates or updates an event subscription with the specified parameters. Existing\n * event subscriptions will be updated with this API.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param systemTopicName Name of the system topic.\n * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names\n * must be between 3 and 64 characters in length and use alphanumeric letters only.\n * @param eventSubscriptionInfo Event subscription properties containing the destination and filter\n * information.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n systemTopicName: string,\n eventSubscriptionName: string,\n eventSubscriptionInfo: EventSubscription,\n options?: SystemTopicEventSubscriptionsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<SystemTopicEventSubscriptionsCreateOrUpdateResponse>,\n SystemTopicEventSubscriptionsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<SystemTopicEventSubscriptionsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n systemTopicName,\n eventSubscriptionName,\n eventSubscriptionInfo,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n SystemTopicEventSubscriptionsCreateOrUpdateResponse,\n OperationState<SystemTopicEventSubscriptionsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Asynchronously creates or updates an event subscription with the specified parameters. Existing\n * event subscriptions will be updated with this API.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param systemTopicName Name of the system topic.\n * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names\n * must be between 3 and 64 characters in length and use alphanumeric letters only.\n * @param eventSubscriptionInfo Event subscription properties containing the destination and filter\n * information.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n systemTopicName: string,\n eventSubscriptionName: string,\n eventSubscriptionInfo: EventSubscription,\n options?: SystemTopicEventSubscriptionsCreateOrUpdateOptionalParams,\n ): Promise<SystemTopicEventSubscriptionsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n systemTopicName,\n eventSubscriptionName,\n eventSubscriptionInfo,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete an existing event subscription of a system topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param systemTopicName Name of the system topic.\n * @param eventSubscriptionName Name of the event subscription to be deleted.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n systemTopicName: string,\n eventSubscriptionName: string,\n options?: SystemTopicEventSubscriptionsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n systemTopicName,\n eventSubscriptionName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete an existing event subscription of a system topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param systemTopicName Name of the system topic.\n * @param eventSubscriptionName Name of the event subscription to be deleted.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n systemTopicName: string,\n eventSubscriptionName: string,\n options?: SystemTopicEventSubscriptionsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n systemTopicName,\n eventSubscriptionName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Update an existing event subscription of a system topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param systemTopicName Name of the system topic.\n * @param eventSubscriptionName Name of the event subscription to be updated.\n * @param eventSubscriptionUpdateParameters Updated event subscription information.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n systemTopicName: string,\n eventSubscriptionName: string,\n eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,\n options?: SystemTopicEventSubscriptionsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<SystemTopicEventSubscriptionsUpdateResponse>,\n SystemTopicEventSubscriptionsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<SystemTopicEventSubscriptionsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n systemTopicName,\n eventSubscriptionName,\n eventSubscriptionUpdateParameters,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n SystemTopicEventSubscriptionsUpdateResponse,\n OperationState<SystemTopicEventSubscriptionsUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update an existing event subscription of a system topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param systemTopicName Name of the system topic.\n * @param eventSubscriptionName Name of the event subscription to be updated.\n * @param eventSubscriptionUpdateParameters Updated event subscription information.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n systemTopicName: string,\n eventSubscriptionName: string,\n eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,\n options?: SystemTopicEventSubscriptionsUpdateOptionalParams,\n ): Promise<SystemTopicEventSubscriptionsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n systemTopicName,\n eventSubscriptionName,\n eventSubscriptionUpdateParameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get the full endpoint URL for an event subscription of a system topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param systemTopicName Name of the system topic.\n * @param eventSubscriptionName Name of the event subscription.\n * @param options The options parameters.\n */\n getFullUrl(\n resourceGroupName: string,\n systemTopicName: string,\n eventSubscriptionName: string,\n options?: SystemTopicEventSubscriptionsGetFullUrlOptionalParams,\n ): Promise<SystemTopicEventSubscriptionsGetFullUrlResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, systemTopicName, eventSubscriptionName, options },\n getFullUrlOperationSpec,\n );\n }\n\n /**\n * List event subscriptions that belong to a specific system topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param systemTopicName Name of the system topic.\n * @param options The options parameters.\n */\n private _listBySystemTopic(\n resourceGroupName: string,\n systemTopicName: string,\n options?: SystemTopicEventSubscriptionsListBySystemTopicOptionalParams,\n ): Promise<SystemTopicEventSubscriptionsListBySystemTopicResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, systemTopicName, options },\n listBySystemTopicOperationSpec,\n );\n }\n\n /**\n * Get all delivery attributes for an event subscription.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param systemTopicName Name of the system topic.\n * @param eventSubscriptionName Name of the event subscription.\n * @param options The options parameters.\n */\n getDeliveryAttributes(\n resourceGroupName: string,\n systemTopicName: string,\n eventSubscriptionName: string,\n options?: SystemTopicEventSubscriptionsGetDeliveryAttributesOptionalParams,\n ): Promise<SystemTopicEventSubscriptionsGetDeliveryAttributesResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, systemTopicName, eventSubscriptionName, options },\n getDeliveryAttributesOperationSpec,\n );\n }\n\n /**\n * ListBySystemTopicNext\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param systemTopicName Name of the system topic.\n * @param nextLink The nextLink from the previous successful call to the ListBySystemTopic method.\n * @param options The options parameters.\n */\n private _listBySystemTopicNext(\n resourceGroupName: string,\n systemTopicName: string,\n nextLink: string,\n options?: SystemTopicEventSubscriptionsListBySystemTopicNextOptionalParams,\n ): Promise<SystemTopicEventSubscriptionsListBySystemTopicNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, systemTopicName, nextLink, options },\n listBySystemTopicNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSubscription,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.eventSubscriptionName,\n Parameters.systemTopicName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSubscription,\n },\n 201: {\n bodyMapper: Mappers.EventSubscription,\n },\n 202: {\n bodyMapper: Mappers.EventSubscription,\n },\n 204: {\n bodyMapper: Mappers.EventSubscription,\n },\n default: {},\n },\n requestBody: Parameters.eventSubscriptionInfo,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.eventSubscriptionName,\n Parameters.systemTopicName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.eventSubscriptionName,\n Parameters.systemTopicName,\n ],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSubscription,\n },\n 201: {\n bodyMapper: Mappers.EventSubscription,\n },\n 202: {\n bodyMapper: Mappers.EventSubscription,\n },\n 204: {\n bodyMapper: Mappers.EventSubscription,\n },\n default: {},\n },\n requestBody: Parameters.eventSubscriptionUpdateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.eventSubscriptionName,\n Parameters.systemTopicName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getFullUrlOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}/getFullUrl\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSubscriptionFullUrl,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.eventSubscriptionName,\n Parameters.systemTopicName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySystemTopicOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSubscriptionsListResult,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.systemTopicName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getDeliveryAttributesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}/getDeliveryAttributes\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeliveryAttributeListResult,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.eventSubscriptionName,\n Parameters.systemTopicName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySystemTopicNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSubscriptionsListResult,\n },\n default: {},\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.systemTopicName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"systemTopicEventSubscriptions.js","sourceRoot":"","sources":["../../../src/operations/systemTopicEventSubscriptions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAqB9C,4CAA4C;AAC5C,iEAAiE;AACjE,MAAM,OAAO,iCAAiC;IAK5C;;;OAGG;IACH,YAAY,MAAiC;QAC3C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,iBAAiB,CACtB,iBAAyB,EACzB,eAAuB,EACvB,OAAsE;QAEtE,MAAM,IAAI,GAAG,IAAI,CAAC,0BAA0B,CAC1C,iBAAiB,EACjB,eAAe,EACf,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,I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U,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,qBAAqB;QAChC,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,8BAA8B,GAA6B;IAC/D,IAAI,EAAE,oJAAoJ;IAC1J,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,OAAO,EAAE,EAAE;KACZ;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,GAAG,CAAC;IAC3E,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,kCAAkC,GAA6B;IACnE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,OAAO,EAAE,EAAE;KACZ;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { SystemTopicEventSubscriptions } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { EventGridManagementClient } from \"../eventGridManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n EventSubscription,\n SystemTopicEventSubscriptionsListBySystemTopicNextOptionalParams,\n SystemTopicEventSubscriptionsListBySystemTopicOptionalParams,\n SystemTopicEventSubscriptionsListBySystemTopicResponse,\n SystemTopicEventSubscriptionsGetDeliveryAttributesOptionalParams,\n SystemTopicEventSubscriptionsGetDeliveryAttributesResponse,\n SystemTopicEventSubscriptionsGetOptionalParams,\n SystemTopicEventSubscriptionsGetResponse,\n SystemTopicEventSubscriptionsCreateOrUpdateOptionalParams,\n SystemTopicEventSubscriptionsCreateOrUpdateResponse,\n SystemTopicEventSubscriptionsDeleteOptionalParams,\n EventSubscriptionUpdateParameters,\n SystemTopicEventSubscriptionsUpdateOptionalParams,\n SystemTopicEventSubscriptionsUpdateResponse,\n SystemTopicEventSubscriptionsGetFullUrlOptionalParams,\n SystemTopicEventSubscriptionsGetFullUrlResponse,\n SystemTopicEventSubscriptionsListBySystemTopicNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing SystemTopicEventSubscriptions operations. */\nexport class SystemTopicEventSubscriptionsImpl\n implements SystemTopicEventSubscriptions\n{\n private readonly client: EventGridManagementClient;\n\n /**\n * Initialize a new instance of the class SystemTopicEventSubscriptions class.\n * @param client Reference to the service client\n */\n constructor(client: EventGridManagementClient) {\n this.client = client;\n }\n\n /**\n * List event subscriptions that belong to a specific system topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param systemTopicName Name of the system topic.\n * @param options The options parameters.\n */\n public listBySystemTopic(\n resourceGroupName: string,\n systemTopicName: string,\n options?: SystemTopicEventSubscriptionsListBySystemTopicOptionalParams,\n ): PagedAsyncIterableIterator<EventSubscription> {\n const iter = this.listBySystemTopicPagingAll(\n resourceGroupName,\n systemTopicName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySystemTopicPagingPage(\n resourceGroupName,\n systemTopicName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listBySystemTopicPagingPage(\n resourceGroupName: string,\n systemTopicName: string,\n options?: SystemTopicEventSubscriptionsListBySystemTopicOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<EventSubscription[]> {\n let result: SystemTopicEventSubscriptionsListBySystemTopicResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySystemTopic(\n resourceGroupName,\n systemTopicName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySystemTopicNext(\n resourceGroupName,\n systemTopicName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySystemTopicPagingAll(\n resourceGroupName: string,\n systemTopicName: string,\n options?: SystemTopicEventSubscriptionsListBySystemTopicOptionalParams,\n ): AsyncIterableIterator<EventSubscription> {\n for await (const page of this.listBySystemTopicPagingPage(\n resourceGroupName,\n systemTopicName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get all delivery attributes for an event subscription.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param systemTopicName Name of the system topic.\n * @param eventSubscriptionName Name of the event subscription.\n * @param options The options parameters.\n */\n getDeliveryAttributes(\n resourceGroupName: string,\n systemTopicName: string,\n eventSubscriptionName: string,\n options?: SystemTopicEventSubscriptionsGetDeliveryAttributesOptionalParams,\n ): Promise<SystemTopicEventSubscriptionsGetDeliveryAttributesResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, systemTopicName, eventSubscriptionName, options },\n getDeliveryAttributesOperationSpec,\n );\n }\n\n /**\n * Get an event subscription.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param systemTopicName Name of the system topic.\n * @param eventSubscriptionName Name of the event subscription to be found.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n systemTopicName: string,\n eventSubscriptionName: string,\n options?: SystemTopicEventSubscriptionsGetOptionalParams,\n ): Promise<SystemTopicEventSubscriptionsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, systemTopicName, eventSubscriptionName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Asynchronously creates or updates an event subscription with the specified parameters. Existing\n * event subscriptions will be updated with this API.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param systemTopicName Name of the system topic.\n * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names\n * must be between 3 and 64 characters in length and use alphanumeric letters only.\n * @param eventSubscriptionInfo Event subscription properties containing the destination and filter\n * information.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n systemTopicName: string,\n eventSubscriptionName: string,\n eventSubscriptionInfo: EventSubscription,\n options?: SystemTopicEventSubscriptionsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<SystemTopicEventSubscriptionsCreateOrUpdateResponse>,\n SystemTopicEventSubscriptionsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<SystemTopicEventSubscriptionsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n systemTopicName,\n eventSubscriptionName,\n eventSubscriptionInfo,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n SystemTopicEventSubscriptionsCreateOrUpdateResponse,\n OperationState<SystemTopicEventSubscriptionsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Asynchronously creates or updates an event subscription with the specified parameters. Existing\n * event subscriptions will be updated with this API.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param systemTopicName Name of the system topic.\n * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names\n * must be between 3 and 64 characters in length and use alphanumeric letters only.\n * @param eventSubscriptionInfo Event subscription properties containing the destination and filter\n * information.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n systemTopicName: string,\n eventSubscriptionName: string,\n eventSubscriptionInfo: EventSubscription,\n options?: SystemTopicEventSubscriptionsCreateOrUpdateOptionalParams,\n ): Promise<SystemTopicEventSubscriptionsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n systemTopicName,\n eventSubscriptionName,\n eventSubscriptionInfo,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete an existing event subscription of a system topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param systemTopicName Name of the system topic.\n * @param eventSubscriptionName Name of the event subscription to be deleted.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n systemTopicName: string,\n eventSubscriptionName: string,\n options?: SystemTopicEventSubscriptionsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n systemTopicName,\n eventSubscriptionName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete an existing event subscription of a system topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param systemTopicName Name of the system topic.\n * @param eventSubscriptionName Name of the event subscription to be deleted.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n systemTopicName: string,\n eventSubscriptionName: string,\n options?: SystemTopicEventSubscriptionsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n systemTopicName,\n eventSubscriptionName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Update an existing event subscription of a system topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param systemTopicName Name of the system topic.\n * @param eventSubscriptionName Name of the event subscription to be updated.\n * @param eventSubscriptionUpdateParameters Updated event subscription information.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n systemTopicName: string,\n eventSubscriptionName: string,\n eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,\n options?: SystemTopicEventSubscriptionsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<SystemTopicEventSubscriptionsUpdateResponse>,\n SystemTopicEventSubscriptionsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<SystemTopicEventSubscriptionsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n systemTopicName,\n eventSubscriptionName,\n eventSubscriptionUpdateParameters,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n SystemTopicEventSubscriptionsUpdateResponse,\n OperationState<SystemTopicEventSubscriptionsUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update an existing event subscription of a system topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param systemTopicName Name of the system topic.\n * @param eventSubscriptionName Name of the event subscription to be updated.\n * @param eventSubscriptionUpdateParameters Updated event subscription information.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n systemTopicName: string,\n eventSubscriptionName: string,\n eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,\n options?: SystemTopicEventSubscriptionsUpdateOptionalParams,\n ): Promise<SystemTopicEventSubscriptionsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n systemTopicName,\n eventSubscriptionName,\n eventSubscriptionUpdateParameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get the full endpoint URL for an event subscription of a system topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param systemTopicName Name of the system topic.\n * @param eventSubscriptionName Name of the event subscription.\n * @param options The options parameters.\n */\n getFullUrl(\n resourceGroupName: string,\n systemTopicName: string,\n eventSubscriptionName: string,\n options?: SystemTopicEventSubscriptionsGetFullUrlOptionalParams,\n ): Promise<SystemTopicEventSubscriptionsGetFullUrlResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, systemTopicName, eventSubscriptionName, options },\n getFullUrlOperationSpec,\n );\n }\n\n /**\n * List event subscriptions that belong to a specific system topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param systemTopicName Name of the system topic.\n * @param options The options parameters.\n */\n private _listBySystemTopic(\n resourceGroupName: string,\n systemTopicName: string,\n options?: SystemTopicEventSubscriptionsListBySystemTopicOptionalParams,\n ): Promise<SystemTopicEventSubscriptionsListBySystemTopicResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, systemTopicName, options },\n listBySystemTopicOperationSpec,\n );\n }\n\n /**\n * ListBySystemTopicNext\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param systemTopicName Name of the system topic.\n * @param nextLink The nextLink from the previous successful call to the ListBySystemTopic method.\n * @param options The options parameters.\n */\n private _listBySystemTopicNext(\n resourceGroupName: string,\n systemTopicName: string,\n nextLink: string,\n options?: SystemTopicEventSubscriptionsListBySystemTopicNextOptionalParams,\n ): Promise<SystemTopicEventSubscriptionsListBySystemTopicNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, systemTopicName, nextLink, options },\n listBySystemTopicNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getDeliveryAttributesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}/getDeliveryAttributes\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeliveryAttributeListResult,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.eventSubscriptionName,\n Parameters.systemTopicName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSubscription,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.eventSubscriptionName,\n Parameters.systemTopicName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSubscription,\n },\n 201: {\n bodyMapper: Mappers.EventSubscription,\n },\n 202: {\n bodyMapper: Mappers.EventSubscription,\n },\n 204: {\n bodyMapper: Mappers.EventSubscription,\n },\n default: {},\n },\n requestBody: Parameters.eventSubscriptionInfo,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.eventSubscriptionName,\n Parameters.systemTopicName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.eventSubscriptionName,\n Parameters.systemTopicName,\n ],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSubscription,\n },\n 201: {\n bodyMapper: Mappers.EventSubscription,\n },\n 202: {\n bodyMapper: Mappers.EventSubscription,\n },\n 204: {\n bodyMapper: Mappers.EventSubscription,\n },\n default: {},\n },\n requestBody: Parameters.eventSubscriptionUpdateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.eventSubscriptionName,\n Parameters.systemTopicName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getFullUrlOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}/getFullUrl\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSubscriptionFullUrl,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.eventSubscriptionName,\n Parameters.systemTopicName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySystemTopicOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSubscriptionsListResult,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.systemTopicName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySystemTopicNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSubscriptionsListResult,\n },\n default: {},\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.systemTopicName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
2
|
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
3
|
-
import { EventSubscription, DomainTopicEventSubscriptionsListOptionalParams, DomainTopicEventSubscriptionsGetOptionalParams, DomainTopicEventSubscriptionsGetResponse, DomainTopicEventSubscriptionsCreateOrUpdateOptionalParams, DomainTopicEventSubscriptionsCreateOrUpdateResponse, DomainTopicEventSubscriptionsDeleteOptionalParams, EventSubscriptionUpdateParameters, DomainTopicEventSubscriptionsUpdateOptionalParams, DomainTopicEventSubscriptionsUpdateResponse, DomainTopicEventSubscriptionsGetFullUrlOptionalParams, DomainTopicEventSubscriptionsGetFullUrlResponse
|
|
3
|
+
import { EventSubscription, DomainTopicEventSubscriptionsListOptionalParams, DomainTopicEventSubscriptionsGetDeliveryAttributesOptionalParams, DomainTopicEventSubscriptionsGetDeliveryAttributesResponse, DomainTopicEventSubscriptionsGetOptionalParams, DomainTopicEventSubscriptionsGetResponse, DomainTopicEventSubscriptionsCreateOrUpdateOptionalParams, DomainTopicEventSubscriptionsCreateOrUpdateResponse, DomainTopicEventSubscriptionsDeleteOptionalParams, EventSubscriptionUpdateParameters, DomainTopicEventSubscriptionsUpdateOptionalParams, DomainTopicEventSubscriptionsUpdateResponse, DomainTopicEventSubscriptionsGetFullUrlOptionalParams, DomainTopicEventSubscriptionsGetFullUrlResponse } from "../models/index.js";
|
|
4
4
|
/** Interface representing a DomainTopicEventSubscriptions. */
|
|
5
5
|
export interface DomainTopicEventSubscriptions {
|
|
6
6
|
/**
|
|
@@ -11,6 +11,15 @@ export interface DomainTopicEventSubscriptions {
|
|
|
11
11
|
* @param options The options parameters.
|
|
12
12
|
*/
|
|
13
13
|
list(resourceGroupName: string, domainName: string, topicName: string, options?: DomainTopicEventSubscriptionsListOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
|
|
14
|
+
/**
|
|
15
|
+
* Get all delivery attributes for an event subscription for domain topic.
|
|
16
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
17
|
+
* @param domainName Name of the top level domain.
|
|
18
|
+
* @param topicName Name of the domain topic.
|
|
19
|
+
* @param eventSubscriptionName Name of the event subscription.
|
|
20
|
+
* @param options The options parameters.
|
|
21
|
+
*/
|
|
22
|
+
getDeliveryAttributes(resourceGroupName: string, domainName: string, topicName: string, eventSubscriptionName: string, options?: DomainTopicEventSubscriptionsGetDeliveryAttributesOptionalParams): Promise<DomainTopicEventSubscriptionsGetDeliveryAttributesResponse>;
|
|
14
23
|
/**
|
|
15
24
|
* Get properties of a nested event subscription for a domain topic.
|
|
16
25
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
@@ -91,14 +100,5 @@ export interface DomainTopicEventSubscriptions {
|
|
|
91
100
|
* @param options The options parameters.
|
|
92
101
|
*/
|
|
93
102
|
getFullUrl(resourceGroupName: string, domainName: string, topicName: string, eventSubscriptionName: string, options?: DomainTopicEventSubscriptionsGetFullUrlOptionalParams): Promise<DomainTopicEventSubscriptionsGetFullUrlResponse>;
|
|
94
|
-
/**
|
|
95
|
-
* Get all delivery attributes for an event subscription for domain topic.
|
|
96
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
97
|
-
* @param domainName Name of the top level domain.
|
|
98
|
-
* @param topicName Name of the domain topic.
|
|
99
|
-
* @param eventSubscriptionName Name of the event subscription.
|
|
100
|
-
* @param options The options parameters.
|
|
101
|
-
*/
|
|
102
|
-
getDeliveryAttributes(resourceGroupName: string, domainName: string, topicName: string, eventSubscriptionName: string, options?: DomainTopicEventSubscriptionsGetDeliveryAttributesOptionalParams): Promise<DomainTopicEventSubscriptionsGetDeliveryAttributesResponse>;
|
|
103
103
|
}
|
|
104
104
|
//# sourceMappingURL=domainTopicEventSubscriptions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domainTopicEventSubscriptions.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/domainTopicEventSubscriptions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,iBAAiB,EACjB,+CAA+C,EAC/C,8CAA8C,EAC9C,wCAAwC,EACxC,yDAAyD,EACzD,mDAAmD,EACnD,iDAAiD,EACjD,iCAAiC,EACjC,iDAAiD,EACjD,2CAA2C,EAC3C,qDAAqD,EACrD,+CAA+C,
|
|
1
|
+
{"version":3,"file":"domainTopicEventSubscriptions.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/domainTopicEventSubscriptions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,iBAAiB,EACjB,+CAA+C,EAC/C,gEAAgE,EAChE,0DAA0D,EAC1D,8CAA8C,EAC9C,wCAAwC,EACxC,yDAAyD,EACzD,mDAAmD,EACnD,iDAAiD,EACjD,iCAAiC,EACjC,iDAAiD,EACjD,2CAA2C,EAC3C,qDAAqD,EACrD,+CAA+C,EAChD,MAAM,oBAAoB,CAAC;AAG5B,8DAA8D;AAC9D,MAAM,WAAW,6BAA6B;IAC5C;;;;;;OAMG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,+CAA+C,GACxD,0BAA0B,CAAC,iBAAiB,CAAC,CAAC;IACjD;;;;;;;OAOG;IACH,qBAAqB,CACnB,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,qBAAqB,EAAE,MAAM,EAC7B,OAAO,CAAC,EAAE,gEAAgE,GACzE,OAAO,CAAC,0DAA0D,CAAC,CAAC;IACvE;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE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AE,MAAM,EAC7B,iCAAiC,EAAE,iCAAiC,EACpE,OAAO,CAAC,EAAE,iDAAiD,GAC1D,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,2CAA2C,CAAC,EAC3D,2CAA2C,CAC5C,CACF,CAAC;IACF;;;;;;;;OAQG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,qBAAqB,EAAE,MAAM,EAC7B,iCAAiC,EAAE,iCAAiC,EACpE,OAAO,CAAC,EAAE,iDAAiD,GAC1D,OAAO,CAAC,2CAA2C,CAAC,CAAC;IACxD;;;;;;;OAOG;IACH,UAAU,CACR,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,qBAAqB,EAAE,MAAM,EAC7B,OAAO,CAAC,EAAE,qDAAqD,GAC9D,OAAO,CAAC,+CAA+C,CAAC,CAAC;CAC7D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domainTopicEventSubscriptions.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/domainTopicEventSubscriptions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n EventSubscription,\n DomainTopicEventSubscriptionsListOptionalParams,\n DomainTopicEventSubscriptionsGetOptionalParams,\n DomainTopicEventSubscriptionsGetResponse,\n DomainTopicEventSubscriptionsCreateOrUpdateOptionalParams,\n DomainTopicEventSubscriptionsCreateOrUpdateResponse,\n DomainTopicEventSubscriptionsDeleteOptionalParams,\n EventSubscriptionUpdateParameters,\n DomainTopicEventSubscriptionsUpdateOptionalParams,\n DomainTopicEventSubscriptionsUpdateResponse,\n DomainTopicEventSubscriptionsGetFullUrlOptionalParams,\n DomainTopicEventSubscriptionsGetFullUrlResponse,\n
|
|
1
|
+
{"version":3,"file":"domainTopicEventSubscriptions.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/domainTopicEventSubscriptions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n EventSubscription,\n DomainTopicEventSubscriptionsListOptionalParams,\n DomainTopicEventSubscriptionsGetDeliveryAttributesOptionalParams,\n DomainTopicEventSubscriptionsGetDeliveryAttributesResponse,\n DomainTopicEventSubscriptionsGetOptionalParams,\n DomainTopicEventSubscriptionsGetResponse,\n DomainTopicEventSubscriptionsCreateOrUpdateOptionalParams,\n DomainTopicEventSubscriptionsCreateOrUpdateResponse,\n DomainTopicEventSubscriptionsDeleteOptionalParams,\n EventSubscriptionUpdateParameters,\n DomainTopicEventSubscriptionsUpdateOptionalParams,\n DomainTopicEventSubscriptionsUpdateResponse,\n DomainTopicEventSubscriptionsGetFullUrlOptionalParams,\n DomainTopicEventSubscriptionsGetFullUrlResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a DomainTopicEventSubscriptions. */\nexport interface DomainTopicEventSubscriptions {\n /**\n * List all event subscriptions that have been created for a specific domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n options?: DomainTopicEventSubscriptionsListOptionalParams,\n ): PagedAsyncIterableIterator<EventSubscription>;\n /**\n * Get all delivery attributes for an event subscription for domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param eventSubscriptionName Name of the event subscription.\n * @param options The options parameters.\n */\n getDeliveryAttributes(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n options?: DomainTopicEventSubscriptionsGetDeliveryAttributesOptionalParams,\n ): Promise<DomainTopicEventSubscriptionsGetDeliveryAttributesResponse>;\n /**\n * Get properties of a nested event subscription for a domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param eventSubscriptionName Name of the event subscription to be found.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n options?: DomainTopicEventSubscriptionsGetOptionalParams,\n ): Promise<DomainTopicEventSubscriptionsGetResponse>;\n /**\n * Asynchronously creates a new event subscription or updates an existing event subscription.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names\n * must be between 3 and 64 characters in length and use alphanumeric letters only.\n * @param eventSubscriptionInfo Event subscription properties containing the destination and filter\n * information.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n eventSubscriptionInfo: EventSubscription,\n options?: DomainTopicEventSubscriptionsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DomainTopicEventSubscriptionsCreateOrUpdateResponse>,\n DomainTopicEventSubscriptionsCreateOrUpdateResponse\n >\n >;\n /**\n * Asynchronously creates a new event subscription or updates an existing event subscription.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names\n * must be between 3 and 64 characters in length and use alphanumeric letters only.\n * @param eventSubscriptionInfo Event subscription properties containing the destination and filter\n * information.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n eventSubscriptionInfo: EventSubscription,\n options?: DomainTopicEventSubscriptionsCreateOrUpdateOptionalParams,\n ): Promise<DomainTopicEventSubscriptionsCreateOrUpdateResponse>;\n /**\n * Delete a nested existing event subscription for a domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param eventSubscriptionName Name of the event subscription to be deleted.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n options?: DomainTopicEventSubscriptionsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Delete a nested existing event subscription for a domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param eventSubscriptionName Name of the event subscription to be deleted.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n options?: DomainTopicEventSubscriptionsDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Update an existing event subscription for a domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the domain.\n * @param topicName Name of the topic.\n * @param eventSubscriptionName Name of the event subscription to be updated.\n * @param eventSubscriptionUpdateParameters Updated event subscription information.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,\n options?: DomainTopicEventSubscriptionsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DomainTopicEventSubscriptionsUpdateResponse>,\n DomainTopicEventSubscriptionsUpdateResponse\n >\n >;\n /**\n * Update an existing event subscription for a domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the domain.\n * @param topicName Name of the topic.\n * @param eventSubscriptionName Name of the event subscription to be updated.\n * @param eventSubscriptionUpdateParameters Updated event subscription information.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,\n options?: DomainTopicEventSubscriptionsUpdateOptionalParams,\n ): Promise<DomainTopicEventSubscriptionsUpdateResponse>;\n /**\n * Get the full endpoint URL for a nested event subscription for domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param eventSubscriptionName Name of the event subscription.\n * @param options The options parameters.\n */\n getFullUrl(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n eventSubscriptionName: string,\n options?: DomainTopicEventSubscriptionsGetFullUrlOptionalParams,\n ): Promise<DomainTopicEventSubscriptionsGetFullUrlResponse>;\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
2
|
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
3
|
-
import { EventSubscription, EventSubscriptionsListGlobalBySubscriptionOptionalParams, EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams, EventSubscriptionsListGlobalByResourceGroupOptionalParams, EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams, EventSubscriptionsListRegionalBySubscriptionOptionalParams, EventSubscriptionsListRegionalByResourceGroupOptionalParams, EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams, EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams, EventSubscriptionsListByResourceOptionalParams, EventSubscriptionsListByDomainTopicOptionalParams, EventSubscriptionsGetOptionalParams, EventSubscriptionsGetResponse, EventSubscriptionsCreateOrUpdateOptionalParams, EventSubscriptionsCreateOrUpdateResponse, EventSubscriptionsDeleteOptionalParams, EventSubscriptionUpdateParameters, EventSubscriptionsUpdateOptionalParams, EventSubscriptionsUpdateResponse, EventSubscriptionsGetFullUrlOptionalParams, EventSubscriptionsGetFullUrlResponse
|
|
3
|
+
import { EventSubscription, EventSubscriptionsListGlobalBySubscriptionOptionalParams, EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams, EventSubscriptionsListGlobalByResourceGroupOptionalParams, EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams, EventSubscriptionsListRegionalBySubscriptionOptionalParams, EventSubscriptionsListRegionalByResourceGroupOptionalParams, EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams, EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams, EventSubscriptionsListByResourceOptionalParams, EventSubscriptionsListByDomainTopicOptionalParams, EventSubscriptionsGetDeliveryAttributesOptionalParams, EventSubscriptionsGetDeliveryAttributesResponse, EventSubscriptionsGetOptionalParams, EventSubscriptionsGetResponse, EventSubscriptionsCreateOrUpdateOptionalParams, EventSubscriptionsCreateOrUpdateResponse, EventSubscriptionsDeleteOptionalParams, EventSubscriptionUpdateParameters, EventSubscriptionsUpdateOptionalParams, EventSubscriptionsUpdateResponse, EventSubscriptionsGetFullUrlOptionalParams, EventSubscriptionsGetFullUrlResponse } from "../models/index.js";
|
|
4
4
|
/** Interface representing a EventSubscriptions. */
|
|
5
5
|
export interface EventSubscriptions {
|
|
6
6
|
/**
|
|
@@ -75,6 +75,20 @@ export interface EventSubscriptions {
|
|
|
75
75
|
* @param options The options parameters.
|
|
76
76
|
*/
|
|
77
77
|
listByDomainTopic(resourceGroupName: string, domainName: string, topicName: string, options?: EventSubscriptionsListByDomainTopicOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
|
|
78
|
+
/**
|
|
79
|
+
* Get all delivery attributes for an event subscription.
|
|
80
|
+
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource
|
|
81
|
+
* group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
|
|
82
|
+
* For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
83
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
84
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
85
|
+
* for a resource, and
|
|
86
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
87
|
+
* for an EventGrid topic.
|
|
88
|
+
* @param eventSubscriptionName Name of the event subscription.
|
|
89
|
+
* @param options The options parameters.
|
|
90
|
+
*/
|
|
91
|
+
getDeliveryAttributes(scope: string, eventSubscriptionName: string, options?: EventSubscriptionsGetDeliveryAttributesOptionalParams): Promise<EventSubscriptionsGetDeliveryAttributesResponse>;
|
|
78
92
|
/**
|
|
79
93
|
* Get properties of an event subscription.
|
|
80
94
|
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource
|
|
@@ -199,19 +213,5 @@ export interface EventSubscriptions {
|
|
|
199
213
|
* @param options The options parameters.
|
|
200
214
|
*/
|
|
201
215
|
getFullUrl(scope: string, eventSubscriptionName: string, options?: EventSubscriptionsGetFullUrlOptionalParams): Promise<EventSubscriptionsGetFullUrlResponse>;
|
|
202
|
-
/**
|
|
203
|
-
* Get all delivery attributes for an event subscription.
|
|
204
|
-
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource
|
|
205
|
-
* group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
|
|
206
|
-
* For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
207
|
-
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
208
|
-
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
209
|
-
* for a resource, and
|
|
210
|
-
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
211
|
-
* for an EventGrid topic.
|
|
212
|
-
* @param eventSubscriptionName Name of the event subscription.
|
|
213
|
-
* @param options The options parameters.
|
|
214
|
-
*/
|
|
215
|
-
getDeliveryAttributes(scope: string, eventSubscriptionName: string, options?: EventSubscriptionsGetDeliveryAttributesOptionalParams): Promise<EventSubscriptionsGetDeliveryAttributesResponse>;
|
|
216
216
|
}
|
|
217
217
|
//# sourceMappingURL=eventSubscriptions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventSubscriptions.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/eventSubscriptions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,iBAAiB,EACjB,wDAAwD,EACxD,oEAAoE,EACpE,yDAAyD,EACzD,qEAAqE,EACrE,0DAA0D,EAC1D,2DAA2D,EAC3D,sEAAsE,EACtE,uEAAuE,EACvE,8CAA8C,EAC9C,iDAAiD,EACjD,mCAAmC,EACnC,6BAA6B,EAC7B,8CAA8C,EAC9C,wCAAwC,EACxC,sCAAsC,EACtC,iCAAiC,EACjC,sCAAsC,EACtC,gCAAgC,EAChC,0CAA0C,EAC1C,oCAAoC,
|
|
1
|
+
{"version":3,"file":"eventSubscriptions.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/eventSubscriptions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,iBAAiB,EACjB,wDA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":["../../../src/operationsInterfaces/eventSubscriptions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n EventSubscription,\n EventSubscriptionsListGlobalBySubscriptionOptionalParams,\n EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams,\n EventSubscriptionsListGlobalByResourceGroupOptionalParams,\n EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams,\n EventSubscriptionsListRegionalBySubscriptionOptionalParams,\n EventSubscriptionsListRegionalByResourceGroupOptionalParams,\n EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams,\n EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams,\n EventSubscriptionsListByResourceOptionalParams,\n EventSubscriptionsListByDomainTopicOptionalParams,\n EventSubscriptionsGetOptionalParams,\n EventSubscriptionsGetResponse,\n EventSubscriptionsCreateOrUpdateOptionalParams,\n EventSubscriptionsCreateOrUpdateResponse,\n EventSubscriptionsDeleteOptionalParams,\n EventSubscriptionUpdateParameters,\n EventSubscriptionsUpdateOptionalParams,\n EventSubscriptionsUpdateResponse,\n EventSubscriptionsGetFullUrlOptionalParams,\n EventSubscriptionsGetFullUrlResponse,\n EventSubscriptionsGetDeliveryAttributesOptionalParams,\n EventSubscriptionsGetDeliveryAttributesResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a EventSubscriptions. */\nexport interface EventSubscriptions {\n /**\n * List all aggregated global event subscriptions under a specific Azure subscription.\n * @param options The options parameters.\n */\n listGlobalBySubscription(\n options?: EventSubscriptionsListGlobalBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<EventSubscription>;\n /**\n * List all global event subscriptions under an Azure subscription for a topic type.\n * @param topicTypeName Name of the topic type.\n * @param options The options parameters.\n */\n listGlobalBySubscriptionForTopicType(\n topicTypeName: string,\n options?: EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams,\n ): PagedAsyncIterableIterator<EventSubscription>;\n /**\n * List all global event subscriptions under a specific Azure subscription and resource group.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param options The options parameters.\n */\n listGlobalByResourceGroup(\n resourceGroupName: string,\n options?: EventSubscriptionsListGlobalByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<EventSubscription>;\n /**\n * List all global event subscriptions under a resource group for a specific topic type.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param topicTypeName Name of the topic type.\n * @param options The options parameters.\n */\n listGlobalByResourceGroupForTopicType(\n resourceGroupName: string,\n topicTypeName: string,\n options?: EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams,\n ): PagedAsyncIterableIterator<EventSubscription>;\n /**\n * List all event subscriptions from the given location under a specific Azure subscription.\n * @param location Name of the location.\n * @param options The options parameters.\n */\n listRegionalBySubscription(\n location: string,\n options?: EventSubscriptionsListRegionalBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<EventSubscription>;\n /**\n * List all event subscriptions from the given location under a specific Azure subscription and\n * resource group.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param location Name of the location.\n * @param options The options parameters.\n */\n listRegionalByResourceGroup(\n resourceGroupName: string,\n location: string,\n options?: EventSubscriptionsListRegionalByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<EventSubscription>;\n /**\n * List all event subscriptions from the given location under a specific Azure subscription and topic\n * type.\n * @param location Name of the location.\n * @param topicTypeName Name of the topic type.\n * @param options The options parameters.\n */\n listRegionalBySubscriptionForTopicType(\n location: string,\n topicTypeName: string,\n options?: EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams,\n ): PagedAsyncIterableIterator<EventSubscription>;\n /**\n * List all event subscriptions from the given location under a specific Azure subscription and\n * resource group and topic type.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param location Name of the location.\n * @param topicTypeName Name of the topic type.\n * @param options The options parameters.\n */\n listRegionalByResourceGroupForTopicType(\n resourceGroupName: string,\n location: string,\n topicTypeName: string,\n options?: EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams,\n ): PagedAsyncIterableIterator<EventSubscription>;\n /**\n * List all event subscriptions that have been created for a specific resource.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param providerNamespace Namespace of the provider of the topic.\n * @param resourceTypeName Name of the resource type.\n * @param resourceName Name of the resource.\n * @param options The options parameters.\n */\n listByResource(\n resourceGroupName: string,\n providerNamespace: string,\n resourceTypeName: string,\n resourceName: string,\n options?: EventSubscriptionsListByResourceOptionalParams,\n ): PagedAsyncIterableIterator<EventSubscription>;\n /**\n * List all event subscriptions that have been created for a specific domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param options The options parameters.\n */\n listByDomainTopic(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n options?: EventSubscriptionsListByDomainTopicOptionalParams,\n ): PagedAsyncIterableIterator<EventSubscription>;\n /**\n * Get properties of an event subscription.\n * @param scope The scope of the event subscription. The scope can be a subscription, or a resource\n * group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.\n * For example, use '/subscriptions/{subscriptionId}/' for a subscription,\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'\n * for a resource, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'\n * for an EventGrid topic.\n * @param eventSubscriptionName Name of the event subscription to be found.\n * @param options The options parameters.\n */\n get(\n scope: string,\n eventSubscriptionName: string,\n options?: EventSubscriptionsGetOptionalParams,\n ): Promise<EventSubscriptionsGetResponse>;\n /**\n * Asynchronously creates a new event subscription or updates an existing event subscription based on\n * the specified scope.\n * @param scope The identifier of the resource to which the event subscription needs to be created or\n * updated. The scope can be a subscription, or a resource group, or a top level resource belonging to\n * a resource provider namespace, or an EventGrid topic. For example, use\n * '/subscriptions/{subscriptionId}/' for a subscription,\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'\n * for a resource, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'\n * for an EventGrid topic.\n * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names\n * must be between 3 and 64 characters in length and should use alphanumeric letters only.\n * @param eventSubscriptionInfo Event subscription properties containing the destination and filter\n * information.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n scope: string,\n eventSubscriptionName: string,\n eventSubscriptionInfo: EventSubscription,\n options?: EventSubscriptionsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<EventSubscriptionsCreateOrUpdateResponse>,\n EventSubscriptionsCreateOrUpdateResponse\n >\n >;\n /**\n * Asynchronously creates a new event subscription or updates an existing event subscription based on\n * the specified scope.\n * @param scope The identifier of the resource to which the event subscription needs to be created or\n * updated. The scope can be a subscription, or a resource group, or a top level resource belonging to\n * a resource provider namespace, or an EventGrid topic. For example, use\n * '/subscriptions/{subscriptionId}/' for a subscription,\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'\n * for a resource, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'\n * for an EventGrid topic.\n * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names\n * must be between 3 and 64 characters in length and should use alphanumeric letters only.\n * @param eventSubscriptionInfo Event subscription properties containing the destination and filter\n * information.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n scope: string,\n eventSubscriptionName: string,\n eventSubscriptionInfo: EventSubscription,\n options?: EventSubscriptionsCreateOrUpdateOptionalParams,\n ): Promise<EventSubscriptionsCreateOrUpdateResponse>;\n /**\n * Delete an existing event subscription.\n * @param scope The scope of the event subscription. The scope can be a subscription, or a resource\n * group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.\n * For example, use '/subscriptions/{subscriptionId}/' for a subscription,\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'\n * for a resource, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'\n * for an EventGrid topic.\n * @param eventSubscriptionName Name of the event subscription to be deleted.\n * @param options The options parameters.\n */\n beginDelete(\n scope: string,\n eventSubscriptionName: string,\n options?: EventSubscriptionsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Delete an existing event subscription.\n * @param scope The scope of the event subscription. The scope can be a subscription, or a resource\n * group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.\n * For example, use '/subscriptions/{subscriptionId}/' for a subscription,\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'\n * for a resource, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'\n * for an EventGrid topic.\n * @param eventSubscriptionName Name of the event subscription to be deleted.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n scope: string,\n eventSubscriptionName: string,\n options?: EventSubscriptionsDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Asynchronously updates an existing event subscription.\n * @param scope The scope of existing event subscription. The scope can be a subscription, or a\n * resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid\n * topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription,\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'\n * for a resource, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'\n * for an EventGrid topic.\n * @param eventSubscriptionName Name of the event subscription to be updated.\n * @param eventSubscriptionUpdateParameters Updated event subscription information.\n * @param options The options parameters.\n */\n beginUpdate(\n scope: string,\n eventSubscriptionName: string,\n eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,\n options?: EventSubscriptionsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<EventSubscriptionsUpdateResponse>,\n EventSubscriptionsUpdateResponse\n >\n >;\n /**\n * Asynchronously updates an existing event subscription.\n * @param scope The scope of existing event subscription. The scope can be a subscription, or a\n * resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid\n * topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription,\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'\n * for a resource, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'\n * for an EventGrid topic.\n * @param eventSubscriptionName Name of the event subscription to be updated.\n * @param eventSubscriptionUpdateParameters Updated event subscription information.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n scope: string,\n eventSubscriptionName: string,\n eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,\n options?: EventSubscriptionsUpdateOptionalParams,\n ): Promise<EventSubscriptionsUpdateResponse>;\n /**\n * Get the full endpoint URL for an event subscription.\n * @param scope The scope of the event subscription. The scope can be a subscription, or a resource\n * group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.\n * For example, use '/subscriptions/{subscriptionId}/' for a subscription,\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'\n * for a resource, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'\n * for an EventGrid topic.\n * @param eventSubscriptionName Name of the event subscription.\n * @param options The options parameters.\n */\n getFullUrl(\n scope: string,\n eventSubscriptionName: string,\n options?: EventSubscriptionsGetFullUrlOptionalParams,\n ): Promise<EventSubscriptionsGetFullUrlResponse>;\n /**\n * Get all delivery attributes for an event subscription.\n * @param scope The scope of the event subscription. The scope can be a subscription, or a resource\n * group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.\n * For example, use '/subscriptions/{subscriptionId}/' for a subscription,\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'\n * for a resource, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'\n * for an EventGrid topic.\n * @param eventSubscriptionName Name of the event subscription.\n * @param options The options parameters.\n */\n getDeliveryAttributes(\n scope: string,\n eventSubscriptionName: string,\n options?: EventSubscriptionsGetDeliveryAttributesOptionalParams,\n ): Promise<EventSubscriptionsGetDeliveryAttributesResponse>;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"eventSubscriptions.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/eventSubscriptions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n EventSubscription,\n EventSubscriptionsListGlobalBySubscriptionOptionalParams,\n EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams,\n EventSubscriptionsListGlobalByResourceGroupOptionalParams,\n EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams,\n EventSubscriptionsListRegionalBySubscriptionOptionalParams,\n EventSubscriptionsListRegionalByResourceGroupOptionalParams,\n EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams,\n EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams,\n EventSubscriptionsListByResourceOptionalParams,\n EventSubscriptionsListByDomainTopicOptionalParams,\n EventSubscriptionsGetDeliveryAttributesOptionalParams,\n EventSubscriptionsGetDeliveryAttributesResponse,\n EventSubscriptionsGetOptionalParams,\n EventSubscriptionsGetResponse,\n EventSubscriptionsCreateOrUpdateOptionalParams,\n EventSubscriptionsCreateOrUpdateResponse,\n EventSubscriptionsDeleteOptionalParams,\n EventSubscriptionUpdateParameters,\n EventSubscriptionsUpdateOptionalParams,\n EventSubscriptionsUpdateResponse,\n EventSubscriptionsGetFullUrlOptionalParams,\n EventSubscriptionsGetFullUrlResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a EventSubscriptions. */\nexport interface EventSubscriptions {\n /**\n * List all aggregated global event subscriptions under a specific Azure subscription.\n * @param options The options parameters.\n */\n listGlobalBySubscription(\n options?: EventSubscriptionsListGlobalBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<EventSubscription>;\n /**\n * List all global event subscriptions under an Azure subscription for a topic type.\n * @param topicTypeName Name of the topic type.\n * @param options The options parameters.\n */\n listGlobalBySubscriptionForTopicType(\n topicTypeName: string,\n options?: EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams,\n ): PagedAsyncIterableIterator<EventSubscription>;\n /**\n * List all global event subscriptions under a specific Azure subscription and resource group.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param options The options parameters.\n */\n listGlobalByResourceGroup(\n resourceGroupName: string,\n options?: EventSubscriptionsListGlobalByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<EventSubscription>;\n /**\n * List all global event subscriptions under a resource group for a specific topic type.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param topicTypeName Name of the topic type.\n * @param options The options parameters.\n */\n listGlobalByResourceGroupForTopicType(\n resourceGroupName: string,\n topicTypeName: string,\n options?: EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams,\n ): PagedAsyncIterableIterator<EventSubscription>;\n /**\n * List all event subscriptions from the given location under a specific Azure subscription.\n * @param location Name of the location.\n * @param options The options parameters.\n */\n listRegionalBySubscription(\n location: string,\n options?: EventSubscriptionsListRegionalBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<EventSubscription>;\n /**\n * List all event subscriptions from the given location under a specific Azure subscription and\n * resource group.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param location Name of the location.\n * @param options The options parameters.\n */\n listRegionalByResourceGroup(\n resourceGroupName: string,\n location: string,\n options?: EventSubscriptionsListRegionalByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<EventSubscription>;\n /**\n * List all event subscriptions from the given location under a specific Azure subscription and topic\n * type.\n * @param location Name of the location.\n * @param topicTypeName Name of the topic type.\n * @param options The options parameters.\n */\n listRegionalBySubscriptionForTopicType(\n location: string,\n topicTypeName: string,\n options?: EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams,\n ): PagedAsyncIterableIterator<EventSubscription>;\n /**\n * List all event subscriptions from the given location under a specific Azure subscription and\n * resource group and topic type.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param location Name of the location.\n * @param topicTypeName Name of the topic type.\n * @param options The options parameters.\n */\n listRegionalByResourceGroupForTopicType(\n resourceGroupName: string,\n location: string,\n topicTypeName: string,\n options?: EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams,\n ): PagedAsyncIterableIterator<EventSubscription>;\n /**\n * List all event subscriptions that have been created for a specific resource.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param providerNamespace Namespace of the provider of the topic.\n * @param resourceTypeName Name of the resource type.\n * @param resourceName Name of the resource.\n * @param options The options parameters.\n */\n listByResource(\n resourceGroupName: string,\n providerNamespace: string,\n resourceTypeName: string,\n resourceName: string,\n options?: EventSubscriptionsListByResourceOptionalParams,\n ): PagedAsyncIterableIterator<EventSubscription>;\n /**\n * List all event subscriptions that have been created for a specific domain topic.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param domainName Name of the top level domain.\n * @param topicName Name of the domain topic.\n * @param options The options parameters.\n */\n listByDomainTopic(\n resourceGroupName: string,\n domainName: string,\n topicName: string,\n options?: EventSubscriptionsListByDomainTopicOptionalParams,\n ): PagedAsyncIterableIterator<EventSubscription>;\n /**\n * Get all delivery attributes for an event subscription.\n * @param scope The scope of the event subscription. The scope can be a subscription, or a resource\n * group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.\n * For example, use '/subscriptions/{subscriptionId}/' for a subscription,\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'\n * for a resource, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'\n * for an EventGrid topic.\n * @param eventSubscriptionName Name of the event subscription.\n * @param options The options parameters.\n */\n getDeliveryAttributes(\n scope: string,\n eventSubscriptionName: string,\n options?: EventSubscriptionsGetDeliveryAttributesOptionalParams,\n ): Promise<EventSubscriptionsGetDeliveryAttributesResponse>;\n /**\n * Get properties of an event subscription.\n * @param scope The scope of the event subscription. The scope can be a subscription, or a resource\n * group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.\n * For example, use '/subscriptions/{subscriptionId}/' for a subscription,\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'\n * for a resource, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'\n * for an EventGrid topic.\n * @param eventSubscriptionName Name of the event subscription to be found.\n * @param options The options parameters.\n */\n get(\n scope: string,\n eventSubscriptionName: string,\n options?: EventSubscriptionsGetOptionalParams,\n ): Promise<EventSubscriptionsGetResponse>;\n /**\n * Asynchronously creates a new event subscription or updates an existing event subscription based on\n * the specified scope.\n * @param scope The identifier of the resource to which the event subscription needs to be created or\n * updated. The scope can be a subscription, or a resource group, or a top level resource belonging to\n * a resource provider namespace, or an EventGrid topic. For example, use\n * '/subscriptions/{subscriptionId}/' for a subscription,\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'\n * for a resource, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'\n * for an EventGrid topic.\n * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names\n * must be between 3 and 64 characters in length and should use alphanumeric letters only.\n * @param eventSubscriptionInfo Event subscription properties containing the destination and filter\n * information.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n scope: string,\n eventSubscriptionName: string,\n eventSubscriptionInfo: EventSubscription,\n options?: EventSubscriptionsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<EventSubscriptionsCreateOrUpdateResponse>,\n EventSubscriptionsCreateOrUpdateResponse\n >\n >;\n /**\n * Asynchronously creates a new event subscription or updates an existing event subscription based on\n * the specified scope.\n * @param scope The identifier of the resource to which the event subscription needs to be created or\n * updated. The scope can be a subscription, or a resource group, or a top level resource belonging to\n * a resource provider namespace, or an EventGrid topic. For example, use\n * '/subscriptions/{subscriptionId}/' for a subscription,\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'\n * for a resource, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'\n * for an EventGrid topic.\n * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names\n * must be between 3 and 64 characters in length and should use alphanumeric letters only.\n * @param eventSubscriptionInfo Event subscription properties containing the destination and filter\n * information.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n scope: string,\n eventSubscriptionName: string,\n eventSubscriptionInfo: EventSubscription,\n options?: EventSubscriptionsCreateOrUpdateOptionalParams,\n ): Promise<EventSubscriptionsCreateOrUpdateResponse>;\n /**\n * Delete an existing event subscription.\n * @param scope The scope of the event subscription. The scope can be a subscription, or a resource\n * group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.\n * For example, use '/subscriptions/{subscriptionId}/' for a subscription,\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'\n * for a resource, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'\n * for an EventGrid topic.\n * @param eventSubscriptionName Name of the event subscription to be deleted.\n * @param options The options parameters.\n */\n beginDelete(\n scope: string,\n eventSubscriptionName: string,\n options?: EventSubscriptionsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Delete an existing event subscription.\n * @param scope The scope of the event subscription. The scope can be a subscription, or a resource\n * group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.\n * For example, use '/subscriptions/{subscriptionId}/' for a subscription,\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'\n * for a resource, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'\n * for an EventGrid topic.\n * @param eventSubscriptionName Name of the event subscription to be deleted.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n scope: string,\n eventSubscriptionName: string,\n options?: EventSubscriptionsDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Asynchronously updates an existing event subscription.\n * @param scope The scope of existing event subscription. The scope can be a subscription, or a\n * resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid\n * topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription,\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'\n * for a resource, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'\n * for an EventGrid topic.\n * @param eventSubscriptionName Name of the event subscription to be updated.\n * @param eventSubscriptionUpdateParameters Updated event subscription information.\n * @param options The options parameters.\n */\n beginUpdate(\n scope: string,\n eventSubscriptionName: string,\n eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,\n options?: EventSubscriptionsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<EventSubscriptionsUpdateResponse>,\n EventSubscriptionsUpdateResponse\n >\n >;\n /**\n * Asynchronously updates an existing event subscription.\n * @param scope The scope of existing event subscription. The scope can be a subscription, or a\n * resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid\n * topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription,\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'\n * for a resource, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'\n * for an EventGrid topic.\n * @param eventSubscriptionName Name of the event subscription to be updated.\n * @param eventSubscriptionUpdateParameters Updated event subscription information.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n scope: string,\n eventSubscriptionName: string,\n eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,\n options?: EventSubscriptionsUpdateOptionalParams,\n ): Promise<EventSubscriptionsUpdateResponse>;\n /**\n * Get the full endpoint URL for an event subscription.\n * @param scope The scope of the event subscription. The scope can be a subscription, or a resource\n * group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.\n * For example, use '/subscriptions/{subscriptionId}/' for a subscription,\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'\n * for a resource, and\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'\n * for an EventGrid topic.\n * @param eventSubscriptionName Name of the event subscription.\n * @param options The options parameters.\n */\n getFullUrl(\n scope: string,\n eventSubscriptionName: string,\n options?: EventSubscriptionsGetFullUrlOptionalParams,\n ): Promise<EventSubscriptionsGetFullUrlResponse>;\n}\n"]}
|