@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
|
@@ -11,25 +11,27 @@ export * from "./clientGroups.js";
|
|
|
11
11
|
export * from "./clients.js";
|
|
12
12
|
export * from "./domains.js";
|
|
13
13
|
export * from "./domainTopics.js";
|
|
14
|
+
export * from "./domainTopicEventSubscriptions.js";
|
|
14
15
|
export * from "./topicEventSubscriptions.js";
|
|
15
16
|
export * from "./domainEventSubscriptions.js";
|
|
16
|
-
export * from "./namespaceTopicEventSubscriptions.js";
|
|
17
17
|
export * from "./eventSubscriptions.js";
|
|
18
|
-
export * from "./domainTopicEventSubscriptions.js";
|
|
19
18
|
export * from "./systemTopicEventSubscriptions.js";
|
|
19
|
+
export * from "./namespaceTopicEventSubscriptions.js";
|
|
20
20
|
export * from "./partnerTopicEventSubscriptions.js";
|
|
21
21
|
export * from "./namespaces.js";
|
|
22
22
|
export * from "./namespaceTopics.js";
|
|
23
23
|
export * from "./operations.js";
|
|
24
|
-
export * from "./topics.js";
|
|
25
24
|
export * from "./partnerConfigurations.js";
|
|
25
|
+
export * from "./partnerDestinations.js";
|
|
26
26
|
export * from "./partnerNamespaces.js";
|
|
27
27
|
export * from "./partnerRegistrations.js";
|
|
28
28
|
export * from "./partnerTopics.js";
|
|
29
|
+
export * from "./networkSecurityPerimeterConfigurations.js";
|
|
29
30
|
export * from "./permissionBindings.js";
|
|
30
31
|
export * from "./privateEndpointConnections.js";
|
|
31
32
|
export * from "./privateLinkResources.js";
|
|
32
33
|
export * from "./systemTopics.js";
|
|
34
|
+
export * from "./topics.js";
|
|
33
35
|
export * from "./extensionTopics.js";
|
|
34
36
|
export * from "./topicSpaces.js";
|
|
35
37
|
export * from "./topicTypes.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oCAAoC,CAAC;AACnD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC;AACtD,cAAc,qCAAqC,CAAC;AACpD,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,6CAA6C,CAAC;AAC5D,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,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\nexport * from \"./caCertificates.js\";\nexport * from \"./channels.js\";\nexport * from \"./clientGroups.js\";\nexport * from \"./clients.js\";\nexport * from \"./domains.js\";\nexport * from \"./domainTopics.js\";\nexport * from \"./domainTopicEventSubscriptions.js\";\nexport * from \"./topicEventSubscriptions.js\";\nexport * from \"./domainEventSubscriptions.js\";\nexport * from \"./eventSubscriptions.js\";\nexport * from \"./systemTopicEventSubscriptions.js\";\nexport * from \"./namespaceTopicEventSubscriptions.js\";\nexport * from \"./partnerTopicEventSubscriptions.js\";\nexport * from \"./namespaces.js\";\nexport * from \"./namespaceTopics.js\";\nexport * from \"./operations.js\";\nexport * from \"./partnerConfigurations.js\";\nexport * from \"./partnerDestinations.js\";\nexport * from \"./partnerNamespaces.js\";\nexport * from \"./partnerRegistrations.js\";\nexport * from \"./partnerTopics.js\";\nexport * from \"./networkSecurityPerimeterConfigurations.js\";\nexport * from \"./permissionBindings.js\";\nexport * from \"./privateEndpointConnections.js\";\nexport * from \"./privateLinkResources.js\";\nexport * from \"./systemTopics.js\";\nexport * from \"./topics.js\";\nexport * from \"./extensionTopics.js\";\nexport * from \"./topicSpaces.js\";\nexport * from \"./topicTypes.js\";\nexport * from \"./verifiedPartners.js\";\n"]}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { NetworkSecurityPerimeterConfigurations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { EventGridManagementClient } from "../eventGridManagementClient.js";
|
|
4
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
+
import { NetworkSecurityPerimeterConfiguration, NetworkSecurityPerimeterResourceType, NetworkSecurityPerimeterConfigurationsListOptionalParams, NetworkSecurityPerimeterConfigurationsGetOptionalParams, NetworkSecurityPerimeterConfigurationsGetResponse, NetworkSecurityPerimeterConfigurationsReconcileOptionalParams, NetworkSecurityPerimeterConfigurationsReconcileResponse } from "../models/index.js";
|
|
6
|
+
/** Class containing NetworkSecurityPerimeterConfigurations operations. */
|
|
7
|
+
export declare class NetworkSecurityPerimeterConfigurationsImpl implements NetworkSecurityPerimeterConfigurations {
|
|
8
|
+
private readonly client;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of the class NetworkSecurityPerimeterConfigurations class.
|
|
11
|
+
* @param client Reference to the service client
|
|
12
|
+
*/
|
|
13
|
+
constructor(client: EventGridManagementClient);
|
|
14
|
+
/**
|
|
15
|
+
* Get all network security perimeter configurations associated with a topic or domain.
|
|
16
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
17
|
+
* @param resourceType The type of the resource. This can be either \'topics\' or \'domains\'.
|
|
18
|
+
* @param resourceName The name of the resource (namely, either, the topic name or domain name).
|
|
19
|
+
* @param options The options parameters.
|
|
20
|
+
*/
|
|
21
|
+
list(resourceGroupName: string, resourceType: NetworkSecurityPerimeterResourceType, resourceName: string, options?: NetworkSecurityPerimeterConfigurationsListOptionalParams): PagedAsyncIterableIterator<NetworkSecurityPerimeterConfiguration>;
|
|
22
|
+
private listPagingPage;
|
|
23
|
+
private listPagingAll;
|
|
24
|
+
/**
|
|
25
|
+
* Get a specific network security perimeter configuration with a topic or domain.
|
|
26
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
27
|
+
* @param resourceType The type of the resource. This can be either \'topics\', or \'domains\'.
|
|
28
|
+
* @param resourceName The name of the resource (namely, either, the topic name or domain name).
|
|
29
|
+
* @param perimeterGuid Unique identifier for perimeter
|
|
30
|
+
* @param associationName Association name to association network security perimeter resource to
|
|
31
|
+
* profile
|
|
32
|
+
* @param options The options parameters.
|
|
33
|
+
*/
|
|
34
|
+
get(resourceGroupName: string, resourceType: NetworkSecurityPerimeterResourceType, resourceName: string, perimeterGuid: string, associationName: string, options?: NetworkSecurityPerimeterConfigurationsGetOptionalParams): Promise<NetworkSecurityPerimeterConfigurationsGetResponse>;
|
|
35
|
+
/**
|
|
36
|
+
* Reconcile a specific network security perimeter configuration for a given network security perimeter
|
|
37
|
+
* association with a topic or domain.
|
|
38
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
39
|
+
* @param resourceType The type of the resource. This can be either \'topics\' or \'domains\'.
|
|
40
|
+
* @param resourceName The name of the resource (namely, either, the topic name or domain name).
|
|
41
|
+
* @param perimeterGuid Unique identifier for perimeter
|
|
42
|
+
* @param associationName Association name to association network security perimeter resource to
|
|
43
|
+
* profile
|
|
44
|
+
* @param options The options parameters.
|
|
45
|
+
*/
|
|
46
|
+
beginReconcile(resourceGroupName: string, resourceType: NetworkSecurityPerimeterResourceType, resourceName: string, perimeterGuid: string, associationName: string, options?: NetworkSecurityPerimeterConfigurationsReconcileOptionalParams): Promise<SimplePollerLike<OperationState<NetworkSecurityPerimeterConfigurationsReconcileResponse>, NetworkSecurityPerimeterConfigurationsReconcileResponse>>;
|
|
47
|
+
/**
|
|
48
|
+
* Reconcile a specific network security perimeter configuration for a given network security perimeter
|
|
49
|
+
* association with a topic or domain.
|
|
50
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
51
|
+
* @param resourceType The type of the resource. This can be either \'topics\' or \'domains\'.
|
|
52
|
+
* @param resourceName The name of the resource (namely, either, the topic name or domain name).
|
|
53
|
+
* @param perimeterGuid Unique identifier for perimeter
|
|
54
|
+
* @param associationName Association name to association network security perimeter resource to
|
|
55
|
+
* profile
|
|
56
|
+
* @param options The options parameters.
|
|
57
|
+
*/
|
|
58
|
+
beginReconcileAndWait(resourceGroupName: string, resourceType: NetworkSecurityPerimeterResourceType, resourceName: string, perimeterGuid: string, associationName: string, options?: NetworkSecurityPerimeterConfigurationsReconcileOptionalParams): Promise<NetworkSecurityPerimeterConfigurationsReconcileResponse>;
|
|
59
|
+
/**
|
|
60
|
+
* Get all network security perimeter configurations associated with a topic or domain.
|
|
61
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
62
|
+
* @param resourceType The type of the resource. This can be either \'topics\' or \'domains\'.
|
|
63
|
+
* @param resourceName The name of the resource (namely, either, the topic name or domain name).
|
|
64
|
+
* @param options The options parameters.
|
|
65
|
+
*/
|
|
66
|
+
private _list;
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=networkSecurityPerimeterConfigurations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"networkSecurityPerimeterConfigurations.d.ts","sourceRoot":"","sources":["../../../src/operations/networkSecurityPerimeterConfigurations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,sCAAsC,EAAE,MAAM,kCAAkC,CAAC;AAI1F,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,qCAAqC,EACrC,oCAAoC,EACpC,wDAAwD,EAExD,uDAAuD,EACvD,iDAAiD,EACjD,6DAA6D,EAC7D,uDAAuD,EACxD,MAAM,oBAAoB,CAAC;AAG5B,0EAA0E;AAC1E,qBAAa,0CACX,YAAW,sCAAsC;IAEjD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4B;IAEnD;;;OAGG;gBACS,MAAM,EAAE,yBAAyB;IAI7C;;;;;;OAMG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,oCAAoC,EAClD,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,wDAAwD,GACjE,0BAA0B,CAAC,qCAAqC,CAAC;YA6BrD,cAAc;YAiBd,aAAa;IAgB5B;;;;;;;;;OASG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,oCAAoC,EAClD,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,uDAAuD,GAChE,OAAO,CAAC,iDAAiD,CAAC;IAc7D;;;;;;;;;;OAUG;IACG,cAAc,CAClB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,oCAAoC,EAClD,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,6DAA6D,GACtE,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,uDAAuD,CAAC,EACvE,uDAAuD,CACxD,CACF;IA+DD;;;;;;;;;;OAUG;IACG,qBAAqB,CACzB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,oCAAoC,EAClD,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,6DAA6D,GACtE,OAAO,CAAC,uDAAuD,CAAC;IAYnE;;;;;;OAMG;IACH,OAAO,CAAC,KAAK;CAWd"}
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
|
+
import { createHttpPoller, } from "@azure/core-lro";
|
|
13
|
+
import { createLroSpec } from "../lroImpl.js";
|
|
14
|
+
/// <reference lib="esnext.asynciterable" />
|
|
15
|
+
/** Class containing NetworkSecurityPerimeterConfigurations operations. */
|
|
16
|
+
export class NetworkSecurityPerimeterConfigurationsImpl {
|
|
17
|
+
/**
|
|
18
|
+
* Initialize a new instance of the class NetworkSecurityPerimeterConfigurations class.
|
|
19
|
+
* @param client Reference to the service client
|
|
20
|
+
*/
|
|
21
|
+
constructor(client) {
|
|
22
|
+
this.client = client;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Get all network security perimeter configurations associated with a topic or domain.
|
|
26
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
27
|
+
* @param resourceType The type of the resource. This can be either \'topics\' or \'domains\'.
|
|
28
|
+
* @param resourceName The name of the resource (namely, either, the topic name or domain name).
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
list(resourceGroupName, resourceType, resourceName, options) {
|
|
32
|
+
const iter = this.listPagingAll(resourceGroupName, resourceType, resourceName, options);
|
|
33
|
+
return {
|
|
34
|
+
next() {
|
|
35
|
+
return iter.next();
|
|
36
|
+
},
|
|
37
|
+
[Symbol.asyncIterator]() {
|
|
38
|
+
return this;
|
|
39
|
+
},
|
|
40
|
+
byPage: (settings) => {
|
|
41
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
42
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
43
|
+
}
|
|
44
|
+
return this.listPagingPage(resourceGroupName, resourceType, resourceName, options, settings);
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
listPagingPage(resourceGroupName, resourceType, resourceName, options, _settings) {
|
|
49
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
50
|
+
let result;
|
|
51
|
+
result = yield __await(this._list(resourceGroupName, resourceType, resourceName, options));
|
|
52
|
+
yield yield __await(result.value || []);
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
listPagingAll(resourceGroupName, resourceType, resourceName, options) {
|
|
56
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
57
|
+
var _a, e_1, _b, _c;
|
|
58
|
+
try {
|
|
59
|
+
for (var _d = true, _e = __asyncValues(this.listPagingPage(resourceGroupName, resourceType, resourceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
60
|
+
_c = _f.value;
|
|
61
|
+
_d = false;
|
|
62
|
+
const page = _c;
|
|
63
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
67
|
+
finally {
|
|
68
|
+
try {
|
|
69
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
70
|
+
}
|
|
71
|
+
finally { if (e_1) throw e_1.error; }
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Get a specific network security perimeter configuration with a topic or domain.
|
|
77
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
78
|
+
* @param resourceType The type of the resource. This can be either \'topics\', or \'domains\'.
|
|
79
|
+
* @param resourceName The name of the resource (namely, either, the topic name or domain name).
|
|
80
|
+
* @param perimeterGuid Unique identifier for perimeter
|
|
81
|
+
* @param associationName Association name to association network security perimeter resource to
|
|
82
|
+
* profile
|
|
83
|
+
* @param options The options parameters.
|
|
84
|
+
*/
|
|
85
|
+
get(resourceGroupName, resourceType, resourceName, perimeterGuid, associationName, options) {
|
|
86
|
+
return this.client.sendOperationRequest({
|
|
87
|
+
resourceGroupName,
|
|
88
|
+
resourceType,
|
|
89
|
+
resourceName,
|
|
90
|
+
perimeterGuid,
|
|
91
|
+
associationName,
|
|
92
|
+
options,
|
|
93
|
+
}, getOperationSpec);
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Reconcile a specific network security perimeter configuration for a given network security perimeter
|
|
97
|
+
* association with a topic or domain.
|
|
98
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
99
|
+
* @param resourceType The type of the resource. This can be either \'topics\' or \'domains\'.
|
|
100
|
+
* @param resourceName The name of the resource (namely, either, the topic name or domain name).
|
|
101
|
+
* @param perimeterGuid Unique identifier for perimeter
|
|
102
|
+
* @param associationName Association name to association network security perimeter resource to
|
|
103
|
+
* profile
|
|
104
|
+
* @param options The options parameters.
|
|
105
|
+
*/
|
|
106
|
+
async beginReconcile(resourceGroupName, resourceType, resourceName, perimeterGuid, associationName, options) {
|
|
107
|
+
const directSendOperation = async (args, spec) => {
|
|
108
|
+
return this.client.sendOperationRequest(args, spec);
|
|
109
|
+
};
|
|
110
|
+
const sendOperationFn = async (args, spec) => {
|
|
111
|
+
var _a;
|
|
112
|
+
let currentRawResponse = undefined;
|
|
113
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
114
|
+
const callback = (rawResponse, flatResponse) => {
|
|
115
|
+
currentRawResponse = rawResponse;
|
|
116
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
117
|
+
};
|
|
118
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
119
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
120
|
+
return {
|
|
121
|
+
flatResponse,
|
|
122
|
+
rawResponse: {
|
|
123
|
+
statusCode: currentRawResponse.status,
|
|
124
|
+
body: currentRawResponse.parsedBody,
|
|
125
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
126
|
+
},
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
const lro = createLroSpec({
|
|
130
|
+
sendOperationFn,
|
|
131
|
+
args: {
|
|
132
|
+
resourceGroupName,
|
|
133
|
+
resourceType,
|
|
134
|
+
resourceName,
|
|
135
|
+
perimeterGuid,
|
|
136
|
+
associationName,
|
|
137
|
+
options,
|
|
138
|
+
},
|
|
139
|
+
spec: reconcileOperationSpec,
|
|
140
|
+
});
|
|
141
|
+
const poller = await createHttpPoller(lro, {
|
|
142
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
143
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
144
|
+
resourceLocationConfig: "location",
|
|
145
|
+
});
|
|
146
|
+
await poller.poll();
|
|
147
|
+
return poller;
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Reconcile a specific network security perimeter configuration for a given network security perimeter
|
|
151
|
+
* association with a topic or domain.
|
|
152
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
153
|
+
* @param resourceType The type of the resource. This can be either \'topics\' or \'domains\'.
|
|
154
|
+
* @param resourceName The name of the resource (namely, either, the topic name or domain name).
|
|
155
|
+
* @param perimeterGuid Unique identifier for perimeter
|
|
156
|
+
* @param associationName Association name to association network security perimeter resource to
|
|
157
|
+
* profile
|
|
158
|
+
* @param options The options parameters.
|
|
159
|
+
*/
|
|
160
|
+
async beginReconcileAndWait(resourceGroupName, resourceType, resourceName, perimeterGuid, associationName, options) {
|
|
161
|
+
const poller = await this.beginReconcile(resourceGroupName, resourceType, resourceName, perimeterGuid, associationName, options);
|
|
162
|
+
return poller.pollUntilDone();
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Get all network security perimeter configurations associated with a topic or domain.
|
|
166
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
167
|
+
* @param resourceType The type of the resource. This can be either \'topics\' or \'domains\'.
|
|
168
|
+
* @param resourceName The name of the resource (namely, either, the topic name or domain name).
|
|
169
|
+
* @param options The options parameters.
|
|
170
|
+
*/
|
|
171
|
+
_list(resourceGroupName, resourceType, resourceName, options) {
|
|
172
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceType, resourceName, options }, listOperationSpec);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
// Operation Specifications
|
|
176
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
177
|
+
const getOperationSpec = {
|
|
178
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{resourceType}/{resourceName}/networkSecurityPerimeterConfigurations/{perimeterGuid}.{associationName}",
|
|
179
|
+
httpMethod: "GET",
|
|
180
|
+
responses: {
|
|
181
|
+
200: {
|
|
182
|
+
bodyMapper: Mappers.NetworkSecurityPerimeterConfiguration,
|
|
183
|
+
},
|
|
184
|
+
default: {
|
|
185
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
186
|
+
},
|
|
187
|
+
},
|
|
188
|
+
queryParameters: [Parameters.apiVersion],
|
|
189
|
+
urlParameters: [
|
|
190
|
+
Parameters.$host,
|
|
191
|
+
Parameters.subscriptionId,
|
|
192
|
+
Parameters.resourceGroupName,
|
|
193
|
+
Parameters.resourceType,
|
|
194
|
+
Parameters.resourceName1,
|
|
195
|
+
Parameters.perimeterGuid,
|
|
196
|
+
Parameters.associationName,
|
|
197
|
+
],
|
|
198
|
+
headerParameters: [Parameters.accept],
|
|
199
|
+
serializer,
|
|
200
|
+
};
|
|
201
|
+
const reconcileOperationSpec = {
|
|
202
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{resourceType}/{resourceName}/networkSecurityPerimeterConfigurations/{perimeterGuid}.{associationName}/reconcile",
|
|
203
|
+
httpMethod: "POST",
|
|
204
|
+
responses: {
|
|
205
|
+
200: {
|
|
206
|
+
bodyMapper: Mappers.NetworkSecurityPerimeterConfiguration,
|
|
207
|
+
},
|
|
208
|
+
201: {
|
|
209
|
+
bodyMapper: Mappers.NetworkSecurityPerimeterConfiguration,
|
|
210
|
+
},
|
|
211
|
+
202: {
|
|
212
|
+
bodyMapper: Mappers.NetworkSecurityPerimeterConfiguration,
|
|
213
|
+
},
|
|
214
|
+
204: {
|
|
215
|
+
bodyMapper: Mappers.NetworkSecurityPerimeterConfiguration,
|
|
216
|
+
},
|
|
217
|
+
default: {
|
|
218
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
219
|
+
},
|
|
220
|
+
},
|
|
221
|
+
queryParameters: [Parameters.apiVersion],
|
|
222
|
+
urlParameters: [
|
|
223
|
+
Parameters.$host,
|
|
224
|
+
Parameters.subscriptionId,
|
|
225
|
+
Parameters.resourceGroupName,
|
|
226
|
+
Parameters.resourceType,
|
|
227
|
+
Parameters.resourceName1,
|
|
228
|
+
Parameters.perimeterGuid,
|
|
229
|
+
Parameters.associationName,
|
|
230
|
+
],
|
|
231
|
+
headerParameters: [Parameters.accept],
|
|
232
|
+
serializer,
|
|
233
|
+
};
|
|
234
|
+
const listOperationSpec = {
|
|
235
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{resourceType}/{resourceName}/networkSecurityPerimeterConfigurations",
|
|
236
|
+
httpMethod: "GET",
|
|
237
|
+
responses: {
|
|
238
|
+
200: {
|
|
239
|
+
bodyMapper: Mappers.NetworkSecurityPerimeterConfigurationList,
|
|
240
|
+
},
|
|
241
|
+
default: {
|
|
242
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
243
|
+
},
|
|
244
|
+
},
|
|
245
|
+
queryParameters: [Parameters.apiVersion],
|
|
246
|
+
urlParameters: [
|
|
247
|
+
Parameters.$host,
|
|
248
|
+
Parameters.subscriptionId,
|
|
249
|
+
Parameters.resourceGroupName,
|
|
250
|
+
Parameters.resourceType,
|
|
251
|
+
Parameters.resourceName1,
|
|
252
|
+
],
|
|
253
|
+
headerParameters: [Parameters.accept],
|
|
254
|
+
serializer,
|
|
255
|
+
};
|
|
256
|
+
//# sourceMappingURL=networkSecurityPerimeterConfigurations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"networkSecurityPerimeterConfigurations.js","sourceRoot":"","sources":["../../../src/operations/networkSecurityPerimeterConfigurations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,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;AAY9C,4CAA4C;AAC5C,0EAA0E;AAC1E,MAAM,OAAO,0CAA0C;IAKrD;;;OAGG;IACH,YAAY,MAAiC;QAC3C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,IAAI,CACT,iBAAyB,EACzB,YAAkD,EAClD,YAAoB,EACpB,OAAkE;QAElE,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAC7B,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,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,IAAI,CAAC,cAAc,CACxB,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EACzB,YAAkD,EAClD,YAAoB,EACpB,OAAkE,EAClE,SAAwB;;Y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,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qCAAqC;SAC1D;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qCAAqC;SAC1D;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qCAAqC;SAC1D;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qCAAqC;SAC1D;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,uKAAuK;IAC7K,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yCAAyC;SAC9D;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,aAAa;KACzB;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 { NetworkSecurityPerimeterConfigurations } 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 NetworkSecurityPerimeterConfiguration,\n NetworkSecurityPerimeterResourceType,\n NetworkSecurityPerimeterConfigurationsListOptionalParams,\n NetworkSecurityPerimeterConfigurationsListResponse,\n NetworkSecurityPerimeterConfigurationsGetOptionalParams,\n NetworkSecurityPerimeterConfigurationsGetResponse,\n NetworkSecurityPerimeterConfigurationsReconcileOptionalParams,\n NetworkSecurityPerimeterConfigurationsReconcileResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing NetworkSecurityPerimeterConfigurations operations. */\nexport class NetworkSecurityPerimeterConfigurationsImpl\n implements NetworkSecurityPerimeterConfigurations\n{\n private readonly client: EventGridManagementClient;\n\n /**\n * Initialize a new instance of the class NetworkSecurityPerimeterConfigurations class.\n * @param client Reference to the service client\n */\n constructor(client: EventGridManagementClient) {\n this.client = client;\n }\n\n /**\n * Get all network security perimeter configurations associated with a topic or domain.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param resourceType The type of the resource. This can be either \\'topics\\' or \\'domains\\'.\n * @param resourceName The name of the resource (namely, either, the topic name or domain name).\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n resourceType: NetworkSecurityPerimeterResourceType,\n resourceName: string,\n options?: NetworkSecurityPerimeterConfigurationsListOptionalParams,\n ): PagedAsyncIterableIterator<NetworkSecurityPerimeterConfiguration> {\n const iter = this.listPagingAll(\n resourceGroupName,\n resourceType,\n resourceName,\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.listPagingPage(\n resourceGroupName,\n resourceType,\n resourceName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n resourceType: NetworkSecurityPerimeterResourceType,\n resourceName: string,\n options?: NetworkSecurityPerimeterConfigurationsListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<NetworkSecurityPerimeterConfiguration[]> {\n let result: NetworkSecurityPerimeterConfigurationsListResponse;\n result = await this._list(\n resourceGroupName,\n resourceType,\n resourceName,\n options,\n );\n yield result.value || [];\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n resourceType: NetworkSecurityPerimeterResourceType,\n resourceName: string,\n options?: NetworkSecurityPerimeterConfigurationsListOptionalParams,\n ): AsyncIterableIterator<NetworkSecurityPerimeterConfiguration> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n resourceType,\n resourceName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get a specific network security perimeter configuration with a topic or domain.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param resourceType The type of the resource. This can be either \\'topics\\', or \\'domains\\'.\n * @param resourceName The name of the resource (namely, either, the topic name or domain name).\n * @param perimeterGuid Unique identifier for perimeter\n * @param associationName Association name to association network security perimeter resource to\n * profile\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceType: NetworkSecurityPerimeterResourceType,\n resourceName: string,\n perimeterGuid: string,\n associationName: string,\n options?: NetworkSecurityPerimeterConfigurationsGetOptionalParams,\n ): Promise<NetworkSecurityPerimeterConfigurationsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceType,\n resourceName,\n perimeterGuid,\n associationName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Reconcile a specific network security perimeter configuration for a given network security perimeter\n * association with a topic or domain.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param resourceType The type of the resource. This can be either \\'topics\\' or \\'domains\\'.\n * @param resourceName The name of the resource (namely, either, the topic name or domain name).\n * @param perimeterGuid Unique identifier for perimeter\n * @param associationName Association name to association network security perimeter resource to\n * profile\n * @param options The options parameters.\n */\n async beginReconcile(\n resourceGroupName: string,\n resourceType: NetworkSecurityPerimeterResourceType,\n resourceName: string,\n perimeterGuid: string,\n associationName: string,\n options?: NetworkSecurityPerimeterConfigurationsReconcileOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<NetworkSecurityPerimeterConfigurationsReconcileResponse>,\n NetworkSecurityPerimeterConfigurationsReconcileResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<NetworkSecurityPerimeterConfigurationsReconcileResponse> => {\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 resourceType,\n resourceName,\n perimeterGuid,\n associationName,\n options,\n },\n spec: reconcileOperationSpec,\n });\n const poller = await createHttpPoller<\n NetworkSecurityPerimeterConfigurationsReconcileResponse,\n OperationState<NetworkSecurityPerimeterConfigurationsReconcileResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Reconcile a specific network security perimeter configuration for a given network security perimeter\n * association with a topic or domain.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param resourceType The type of the resource. This can be either \\'topics\\' or \\'domains\\'.\n * @param resourceName The name of the resource (namely, either, the topic name or domain name).\n * @param perimeterGuid Unique identifier for perimeter\n * @param associationName Association name to association network security perimeter resource to\n * profile\n * @param options The options parameters.\n */\n async beginReconcileAndWait(\n resourceGroupName: string,\n resourceType: NetworkSecurityPerimeterResourceType,\n resourceName: string,\n perimeterGuid: string,\n associationName: string,\n options?: NetworkSecurityPerimeterConfigurationsReconcileOptionalParams,\n ): Promise<NetworkSecurityPerimeterConfigurationsReconcileResponse> {\n const poller = await this.beginReconcile(\n resourceGroupName,\n resourceType,\n resourceName,\n perimeterGuid,\n associationName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get all network security perimeter configurations associated with a topic or domain.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param resourceType The type of the resource. This can be either \\'topics\\' or \\'domains\\'.\n * @param resourceName The name of the resource (namely, either, the topic name or domain name).\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n resourceType: NetworkSecurityPerimeterResourceType,\n resourceName: string,\n options?: NetworkSecurityPerimeterConfigurationsListOptionalParams,\n ): Promise<NetworkSecurityPerimeterConfigurationsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceType, resourceName, options },\n listOperationSpec,\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/{resourceType}/{resourceName}/networkSecurityPerimeterConfigurations/{perimeterGuid}.{associationName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NetworkSecurityPerimeterConfiguration,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceType,\n Parameters.resourceName1,\n Parameters.perimeterGuid,\n Parameters.associationName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst reconcileOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{resourceType}/{resourceName}/networkSecurityPerimeterConfigurations/{perimeterGuid}.{associationName}/reconcile\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.NetworkSecurityPerimeterConfiguration,\n },\n 201: {\n bodyMapper: Mappers.NetworkSecurityPerimeterConfiguration,\n },\n 202: {\n bodyMapper: Mappers.NetworkSecurityPerimeterConfiguration,\n },\n 204: {\n bodyMapper: Mappers.NetworkSecurityPerimeterConfiguration,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceType,\n Parameters.resourceName1,\n Parameters.perimeterGuid,\n Parameters.associationName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{resourceType}/{resourceName}/networkSecurityPerimeterConfigurations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NetworkSecurityPerimeterConfigurationList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceType,\n Parameters.resourceName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PartnerDestinations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { EventGridManagementClient } from "../eventGridManagementClient.js";
|
|
4
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
+
import { PartnerDestination, PartnerDestinationsListBySubscriptionOptionalParams, PartnerDestinationsListByResourceGroupOptionalParams, PartnerDestinationsGetOptionalParams, PartnerDestinationsGetResponse, PartnerDestinationsCreateOrUpdateOptionalParams, PartnerDestinationsCreateOrUpdateResponse, PartnerDestinationsDeleteOptionalParams, PartnerDestinationUpdateParameters, PartnerDestinationsUpdateOptionalParams, PartnerDestinationsUpdateResponse, PartnerDestinationsActivateOptionalParams, PartnerDestinationsActivateResponse } from "../models/index.js";
|
|
6
|
+
/** Class containing PartnerDestinations operations. */
|
|
7
|
+
export declare class PartnerDestinationsImpl implements PartnerDestinations {
|
|
8
|
+
private readonly client;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of the class PartnerDestinations class.
|
|
11
|
+
* @param client Reference to the service client
|
|
12
|
+
*/
|
|
13
|
+
constructor(client: EventGridManagementClient);
|
|
14
|
+
/**
|
|
15
|
+
* List all the partner destinations under an Azure subscription.
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
listBySubscription(options?: PartnerDestinationsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<PartnerDestination>;
|
|
19
|
+
private listBySubscriptionPagingPage;
|
|
20
|
+
private listBySubscriptionPagingAll;
|
|
21
|
+
/**
|
|
22
|
+
* List all the partner destinations under a resource group.
|
|
23
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
listByResourceGroup(resourceGroupName: string, options?: PartnerDestinationsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<PartnerDestination>;
|
|
27
|
+
private listByResourceGroupPagingPage;
|
|
28
|
+
private listByResourceGroupPagingAll;
|
|
29
|
+
/**
|
|
30
|
+
* Get properties of a partner destination.
|
|
31
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
32
|
+
* @param partnerDestinationName Name of the partner destination.
|
|
33
|
+
* @param options The options parameters.
|
|
34
|
+
*/
|
|
35
|
+
get(resourceGroupName: string, partnerDestinationName: string, options?: PartnerDestinationsGetOptionalParams): Promise<PartnerDestinationsGetResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* Asynchronously creates a new partner destination with the specified parameters.
|
|
38
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
39
|
+
* @param partnerDestinationName Name of the partner destination.
|
|
40
|
+
* @param partnerDestination Partner destination create information.
|
|
41
|
+
* @param options The options parameters.
|
|
42
|
+
*/
|
|
43
|
+
beginCreateOrUpdate(resourceGroupName: string, partnerDestinationName: string, partnerDestination: PartnerDestination, options?: PartnerDestinationsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PartnerDestinationsCreateOrUpdateResponse>, PartnerDestinationsCreateOrUpdateResponse>>;
|
|
44
|
+
/**
|
|
45
|
+
* Asynchronously creates a new partner destination with the specified parameters.
|
|
46
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
47
|
+
* @param partnerDestinationName Name of the partner destination.
|
|
48
|
+
* @param partnerDestination Partner destination create information.
|
|
49
|
+
* @param options The options parameters.
|
|
50
|
+
*/
|
|
51
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, partnerDestinationName: string, partnerDestination: PartnerDestination, options?: PartnerDestinationsCreateOrUpdateOptionalParams): Promise<PartnerDestinationsCreateOrUpdateResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* Delete existing partner destination.
|
|
54
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
55
|
+
* @param partnerDestinationName Name of the partner destination.
|
|
56
|
+
* @param options The options parameters.
|
|
57
|
+
*/
|
|
58
|
+
beginDelete(resourceGroupName: string, partnerDestinationName: string, options?: PartnerDestinationsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
59
|
+
/**
|
|
60
|
+
* Delete existing partner destination.
|
|
61
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
62
|
+
* @param partnerDestinationName Name of the partner destination.
|
|
63
|
+
* @param options The options parameters.
|
|
64
|
+
*/
|
|
65
|
+
beginDeleteAndWait(resourceGroupName: string, partnerDestinationName: string, options?: PartnerDestinationsDeleteOptionalParams): Promise<void>;
|
|
66
|
+
/**
|
|
67
|
+
* Asynchronously updates a partner destination with the specified parameters.
|
|
68
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
69
|
+
* @param partnerDestinationName Name of the partner destination.
|
|
70
|
+
* @param partnerDestinationUpdateParameters Partner destination update information.
|
|
71
|
+
* @param options The options parameters.
|
|
72
|
+
*/
|
|
73
|
+
beginUpdate(resourceGroupName: string, partnerDestinationName: string, partnerDestinationUpdateParameters: PartnerDestinationUpdateParameters, options?: PartnerDestinationsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PartnerDestinationsUpdateResponse>, PartnerDestinationsUpdateResponse>>;
|
|
74
|
+
/**
|
|
75
|
+
* Asynchronously updates a partner destination with the specified parameters.
|
|
76
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
77
|
+
* @param partnerDestinationName Name of the partner destination.
|
|
78
|
+
* @param partnerDestinationUpdateParameters Partner destination update information.
|
|
79
|
+
* @param options The options parameters.
|
|
80
|
+
*/
|
|
81
|
+
beginUpdateAndWait(resourceGroupName: string, partnerDestinationName: string, partnerDestinationUpdateParameters: PartnerDestinationUpdateParameters, options?: PartnerDestinationsUpdateOptionalParams): Promise<PartnerDestinationsUpdateResponse>;
|
|
82
|
+
/**
|
|
83
|
+
* List all the partner destinations under an Azure subscription.
|
|
84
|
+
* @param options The options parameters.
|
|
85
|
+
*/
|
|
86
|
+
private _listBySubscription;
|
|
87
|
+
/**
|
|
88
|
+
* List all the partner destinations under a resource group.
|
|
89
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
90
|
+
* @param options The options parameters.
|
|
91
|
+
*/
|
|
92
|
+
private _listByResourceGroup;
|
|
93
|
+
/**
|
|
94
|
+
* Activate a newly created partner destination.
|
|
95
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
96
|
+
* @param partnerDestinationName Name of the partner destination.
|
|
97
|
+
* @param options The options parameters.
|
|
98
|
+
*/
|
|
99
|
+
activate(resourceGroupName: string, partnerDestinationName: string, options?: PartnerDestinationsActivateOptionalParams): Promise<PartnerDestinationsActivateResponse>;
|
|
100
|
+
/**
|
|
101
|
+
* ListBySubscriptionNext
|
|
102
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
103
|
+
* @param options The options parameters.
|
|
104
|
+
*/
|
|
105
|
+
private _listBySubscriptionNext;
|
|
106
|
+
/**
|
|
107
|
+
* ListByResourceGroupNext
|
|
108
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
109
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
110
|
+
* @param options The options parameters.
|
|
111
|
+
*/
|
|
112
|
+
private _listByResourceGroupNext;
|
|
113
|
+
}
|
|
114
|
+
//# sourceMappingURL=partnerDestinations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"partnerDestinations.d.ts","sourceRoot":"","sources":["../../../src/operations/partnerDestinations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAIvE,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAA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