From 740a34328e7deb7d1158ef48aa61b7a25482da48 Mon Sep 17 00:00:00 2001
From: colawwj <70128817+colawwj@users.noreply.github.com>
Date: Tue, 28 Sep 2021 17:11:00 +0800
Subject: [PATCH] eventgrid-track2 (#17904)
* eventgrid-track2
* update ci.yml
---
common/config/rush/pnpm-lock.yaml | 28 +-
rush.json | 5 +
sdk/eventgrid/arm-eventgrid/CHANGELOG.md | 14 +
.../arm-eventgrid/{LICENSE.txt => LICENSE} | 2 +-
sdk/eventgrid/arm-eventgrid/README.md | 148 +-
sdk/eventgrid/arm-eventgrid/_meta.json | 7 +
.../arm-eventgrid/api-extractor.json | 18 +
sdk/eventgrid/arm-eventgrid/package.json | 95 +-
.../recording_domains_create_test.js | 255 +
.../recording_domains_delete_test.js | 255 +
.../recording_domains_get_test.js | 147 +
...ording_domains_listbyresourcegroup_test.js | 147 +
.../recording_domains_update_test.js | 183 +
.../recording_topics_create_test.js | 255 +
.../recording_topics_delete_test.js | 291 +
...cording_topics_listbyresourcegroup_test.js | 147 +
.../arm-eventgrid/review/arm-eventgrid.api.md | 2518 +++++
sdk/eventgrid/arm-eventgrid/rollup.config.js | 211 +-
.../src/eventGridManagementClient.ts | 147 +-
.../src/eventGridManagementClientContext.ts | 89 +-
sdk/eventgrid/arm-eventgrid/src/index.ts | 13 +
sdk/eventgrid/arm-eventgrid/src/lroImpl.ts | 34 +
.../src/models/domainTopicsMappers.ts | 82 -
.../src/models/domainsMappers.ts | 85 -
.../src/models/eventChannelsMappers.ts | 82 -
.../src/models/eventSubscriptionsMappers.ts | 85 -
.../src/models/extensionTopicsMappers.ts | 81 -
.../arm-eventgrid/src/models/index.ts | 8129 ++++++-----------
.../arm-eventgrid/src/models/mappers.ts | 3602 ++++----
.../src/models/operationsMappers.ts | 15 -
.../arm-eventgrid/src/models/parameters.ts | 393 +-
.../src/models/partnerNamespacesMappers.ts | 85 -
.../src/models/partnerRegistrationsMappers.ts | 83 -
.../partnerTopicEventSubscriptionsMappers.ts | 85 -
.../src/models/partnerTopicsMappers.ts | 83 -
.../privateEndpointConnectionsMappers.ts | 82 -
.../src/models/privateLinkResourcesMappers.ts | 14 -
.../systemTopicEventSubscriptionsMappers.ts | 85 -
.../src/models/systemTopicsMappers.ts | 83 -
.../src/models/topicTypesMappers.ts | 83 -
.../arm-eventgrid/src/models/topicsMappers.ts | 86 -
.../src/operations/domainTopics.ts | 564 +-
.../arm-eventgrid/src/operations/domains.ts | 993 +-
.../src/operations/eventChannels.ts | 489 +-
.../src/operations/eventSubscriptions.ts | 2888 +++---
.../src/operations/extensionTopics.ts | 97 +-
.../arm-eventgrid/src/operations/index.ts | 3 +-
.../src/operations/operations.ts | 102 +-
.../src/operations/partnerNamespaces.ts | 985 +-
.../src/operations/partnerRegistrations.ts | 616 +-
.../partnerTopicEventSubscriptions.ts | 925 +-
.../src/operations/partnerTopics.ts | 736 +-
.../operations/privateEndpointConnections.ts | 659 +-
.../src/operations/privateLinkResources.ts | 342 +-
.../systemTopicEventSubscriptions.ts | 925 +-
.../src/operations/systemTopics.ts | 848 +-
.../src/operations/topicTypes.ts | 246 +-
.../arm-eventgrid/src/operations/topics.ts | 1217 ++-
.../src/operationsInterfaces/domainTopics.ts | 105 +
.../src/operationsInterfaces/domains.ts | 162 +
.../src/operationsInterfaces/eventChannels.ts | 89 +
.../eventSubscriptions.ts | 339 +
.../operationsInterfaces/extensionTopics.ts | 30 +
.../src/operationsInterfaces/index.ts | 24 +
.../src/operationsInterfaces/operations.ts | 22 +
.../operationsInterfaces/partnerNamespaces.ts | 162 +
.../partnerRegistrations.ts | 91 +
.../partnerTopicEventSubscriptions.ts | 190 +
.../src/operationsInterfaces/partnerTopics.ts | 114 +
.../privateEndpointConnections.ts | 137 +
.../privateLinkResources.ts | 52 +
.../systemTopicEventSubscriptions.ts | 190 +
.../src/operationsInterfaces/systemTopics.ts | 139 +
.../src/operationsInterfaces/topicTypes.ts | 47 +
.../src/operationsInterfaces/topics.ts | 197 +
.../arm-eventgrid/test/eventgrid_examples.ts | 123 +
sdk/eventgrid/arm-eventgrid/tsconfig.json | 6 +-
sdk/eventgrid/ci.yml | 7 +-
78 files changed, 18753 insertions(+), 14440 deletions(-)
create mode 100644 sdk/eventgrid/arm-eventgrid/CHANGELOG.md
rename sdk/eventgrid/arm-eventgrid/{LICENSE.txt => LICENSE} (99%)
create mode 100644 sdk/eventgrid/arm-eventgrid/_meta.json
create mode 100644 sdk/eventgrid/arm-eventgrid/api-extractor.json
create mode 100644 sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_domains_create_test.js
create mode 100644 sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_domains_delete_test.js
create mode 100644 sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_domains_get_test.js
create mode 100644 sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_domains_listbyresourcegroup_test.js
create mode 100644 sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_domains_update_test.js
create mode 100644 sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_topics_create_test.js
create mode 100644 sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_topics_delete_test.js
create mode 100644 sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_topics_listbyresourcegroup_test.js
create mode 100644 sdk/eventgrid/arm-eventgrid/review/arm-eventgrid.api.md
create mode 100644 sdk/eventgrid/arm-eventgrid/src/index.ts
create mode 100644 sdk/eventgrid/arm-eventgrid/src/lroImpl.ts
delete mode 100644 sdk/eventgrid/arm-eventgrid/src/models/domainTopicsMappers.ts
delete mode 100644 sdk/eventgrid/arm-eventgrid/src/models/domainsMappers.ts
delete mode 100644 sdk/eventgrid/arm-eventgrid/src/models/eventChannelsMappers.ts
delete mode 100644 sdk/eventgrid/arm-eventgrid/src/models/eventSubscriptionsMappers.ts
delete mode 100644 sdk/eventgrid/arm-eventgrid/src/models/extensionTopicsMappers.ts
delete mode 100644 sdk/eventgrid/arm-eventgrid/src/models/operationsMappers.ts
delete mode 100644 sdk/eventgrid/arm-eventgrid/src/models/partnerNamespacesMappers.ts
delete mode 100644 sdk/eventgrid/arm-eventgrid/src/models/partnerRegistrationsMappers.ts
delete mode 100644 sdk/eventgrid/arm-eventgrid/src/models/partnerTopicEventSubscriptionsMappers.ts
delete mode 100644 sdk/eventgrid/arm-eventgrid/src/models/partnerTopicsMappers.ts
delete mode 100644 sdk/eventgrid/arm-eventgrid/src/models/privateEndpointConnectionsMappers.ts
delete mode 100644 sdk/eventgrid/arm-eventgrid/src/models/privateLinkResourcesMappers.ts
delete mode 100644 sdk/eventgrid/arm-eventgrid/src/models/systemTopicEventSubscriptionsMappers.ts
delete mode 100644 sdk/eventgrid/arm-eventgrid/src/models/systemTopicsMappers.ts
delete mode 100644 sdk/eventgrid/arm-eventgrid/src/models/topicTypesMappers.ts
delete mode 100644 sdk/eventgrid/arm-eventgrid/src/models/topicsMappers.ts
create mode 100644 sdk/eventgrid/arm-eventgrid/src/operationsInterfaces/domainTopics.ts
create mode 100644 sdk/eventgrid/arm-eventgrid/src/operationsInterfaces/domains.ts
create mode 100644 sdk/eventgrid/arm-eventgrid/src/operationsInterfaces/eventChannels.ts
create mode 100644 sdk/eventgrid/arm-eventgrid/src/operationsInterfaces/eventSubscriptions.ts
create mode 100644 sdk/eventgrid/arm-eventgrid/src/operationsInterfaces/extensionTopics.ts
create mode 100644 sdk/eventgrid/arm-eventgrid/src/operationsInterfaces/index.ts
create mode 100644 sdk/eventgrid/arm-eventgrid/src/operationsInterfaces/operations.ts
create mode 100644 sdk/eventgrid/arm-eventgrid/src/operationsInterfaces/partnerNamespaces.ts
create mode 100644 sdk/eventgrid/arm-eventgrid/src/operationsInterfaces/partnerRegistrations.ts
create mode 100644 sdk/eventgrid/arm-eventgrid/src/operationsInterfaces/partnerTopicEventSubscriptions.ts
create mode 100644 sdk/eventgrid/arm-eventgrid/src/operationsInterfaces/partnerTopics.ts
create mode 100644 sdk/eventgrid/arm-eventgrid/src/operationsInterfaces/privateEndpointConnections.ts
create mode 100644 sdk/eventgrid/arm-eventgrid/src/operationsInterfaces/privateLinkResources.ts
create mode 100644 sdk/eventgrid/arm-eventgrid/src/operationsInterfaces/systemTopicEventSubscriptions.ts
create mode 100644 sdk/eventgrid/arm-eventgrid/src/operationsInterfaces/systemTopics.ts
create mode 100644 sdk/eventgrid/arm-eventgrid/src/operationsInterfaces/topicTypes.ts
create mode 100644 sdk/eventgrid/arm-eventgrid/src/operationsInterfaces/topics.ts
create mode 100644 sdk/eventgrid/arm-eventgrid/test/eventgrid_examples.ts
diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml
index 78dad7611f6e..213867055c6e 100644
--- a/common/config/rush/pnpm-lock.yaml
+++ b/common/config/rush/pnpm-lock.yaml
@@ -13,6 +13,7 @@ specifiers:
'@rush-temp/arm-appservice': file:./projects/arm-appservice.tgz
'@rush-temp/arm-authorization': file:./projects/arm-authorization.tgz
'@rush-temp/arm-compute': file:./projects/arm-compute.tgz
+ '@rush-temp/arm-eventgrid': file:./projects/arm-eventgrid.tgz
'@rush-temp/arm-eventhub': file:./projects/arm-eventhub.tgz
'@rush-temp/arm-features': file:./projects/arm-features.tgz
'@rush-temp/arm-keyvault': file:./projects/arm-keyvault.tgz
@@ -140,6 +141,7 @@ dependencies:
'@rush-temp/arm-appservice': file:projects/arm-appservice.tgz
'@rush-temp/arm-authorization': file:projects/arm-authorization.tgz
'@rush-temp/arm-compute': file:projects/arm-compute.tgz
+ '@rush-temp/arm-eventgrid': file:projects/arm-eventgrid.tgz
'@rush-temp/arm-eventhub': file:projects/arm-eventhub.tgz
'@rush-temp/arm-features': file:projects/arm-features.tgz
'@rush-temp/arm-keyvault': file:projects/arm-keyvault.tgz
@@ -8514,6 +8516,30 @@ packages:
uglify-js: 3.14.2
dev: false
+ file:projects/arm-eventgrid.tgz:
+ resolution: {integrity: sha512-PMzPDLEcZd3yBiZ0C/SDkxjGo5O570UkCFe+WEB3nBKU11CYeCiDKSNS9OIkwR2clJCkLkU6hrlygp9a18N3Fg==, tarball: file:projects/arm-eventgrid.tgz}
+ name: '@rush-temp/arm-eventgrid'
+ version: 0.0.0
+ dependencies:
+ '@azure/identity': 2.0.0-beta.6
+ '@microsoft/api-extractor': 7.7.11
+ '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1
+ '@rollup/plugin-json': 4.1.0_rollup@1.32.1
+ '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1
+ '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1
+ cross-env: 7.0.3
+ mkdirp: 1.0.4
+ mocha: 7.2.0
+ rollup: 1.32.1
+ rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1
+ tslib: 2.3.1
+ typescript: 4.2.4
+ uglify-js: 3.14.2
+ transitivePeerDependencies:
+ - debug
+ - supports-color
+ dev: false
+
file:projects/arm-eventhub.tgz:
resolution: {integrity: sha512-prxNN24vp5ndwaqivPOFLkNF0Id6m0zm5YL0Azqgv6PoZzThFLxEkgaWtsUxFQicLGqXWB7XomzA0EUyPHyDbQ==, tarball: file:projects/arm-eventhub.tgz}
name: '@rush-temp/arm-eventhub'
@@ -8683,7 +8709,7 @@ packages:
dev: false
file:projects/arm-rediscache.tgz:
- resolution: {integrity: sha512-gdHGWiOe7LjN0S+jb3qkDGm/mnkKpeWaSqVcmga2nlIy4kP+ZkiOpI/xtAGCWZIBJV1aFZLP3wnRIe8ZwYgBig==, tarball: file:projects/arm-rediscache.tgz}
+ resolution: {integrity: sha512-vz7HvSxGxgPV2+zCKE1wL04XxeVFUhpqKkRbcvxlSSZJe3uCJSr3iqt9YqGM0SaV84IV3lv0MCrIeyOm1DX3bQ==, tarball: file:projects/arm-rediscache.tgz}
name: '@rush-temp/arm-rediscache'
version: 0.0.0
dependencies:
diff --git a/rush.json b/rush.json
index 9f2fe7f775a0..38e447589ca5 100644
--- a/rush.json
+++ b/rush.json
@@ -945,6 +945,11 @@
"packageName": "@azure/arm-rediscache",
"projectFolder": "sdk/redis/arm-rediscache",
"versionPolicyName": "management"
+ },
+ {
+ "packageName": "@azure/arm-eventgrid",
+ "projectFolder": "sdk/eventgrid/arm-eventgrid",
+ "versionPolicyName": "management"
}
]
}
\ No newline at end of file
diff --git a/sdk/eventgrid/arm-eventgrid/CHANGELOG.md b/sdk/eventgrid/arm-eventgrid/CHANGELOG.md
new file mode 100644
index 000000000000..ddf2a316c021
--- /dev/null
+++ b/sdk/eventgrid/arm-eventgrid/CHANGELOG.md
@@ -0,0 +1,14 @@
+## 30.0.0-beta.1 (2021-09-28)
+
+This is the first preview for the new version of the `@azure/arm-eventgrid` package that follows the new [guidelines for TypeScript SDKs](https://azure.github.io/azure-sdk/typescript_introduction.html) for Azure services.
+
+While this package remains auto generated, the SDK generator itself has undergone changes to comply with the above guidelines in order to generate packages that are idiomatic to the JavaScript/TypeScript ecosystem and consistent with other packages for Azure services. For more on this, please see [State of the Azure SDK 2021](https://devblogs.microsoft.com/azure-sdk/state-of-the-azure-sdk-2021/).
+
+Please note that this version has breaking changes, all of which were made after careful consideration during the authoring of the guidelines and user studies.
+
+**Noteworthy changes and features**
+- Authentication: The packages `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` are no longer supported. Use package [@azure/identity](https://www.npmjs.com/package/@azure/identity) instead. Select a credential from Azure Identity examples based on the authentication method of your choice.
+- Callbacks: Method overloads that used callbacks have been removed and the use of promises is encouraged instead.
+- List operations now return an iterable result that follows the `PagedAsyncIterableIterator` interface as opposed to the previous model where you had to make a new request using the link to the next page.
+- Long running operations i.e. the Lro related object returned by methods whose names started with `begin`, now uses `pollUntilDone` to check whether the request is finished, instead of `pollUntilFinished`. To get the final result, use the corresponding method that will have the suffix `AndWait`.
+- The SDK only supports ECMAScript 2015 (ES6) and beyond, all projects that referenced this SDK should be upgraded to use ES6.
diff --git a/sdk/eventgrid/arm-eventgrid/LICENSE.txt b/sdk/eventgrid/arm-eventgrid/LICENSE
similarity index 99%
rename from sdk/eventgrid/arm-eventgrid/LICENSE.txt
rename to sdk/eventgrid/arm-eventgrid/LICENSE
index 2d3163745319..ccb63b166732 100644
--- a/sdk/eventgrid/arm-eventgrid/LICENSE.txt
+++ b/sdk/eventgrid/arm-eventgrid/LICENSE
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
+SOFTWARE.
\ No newline at end of file
diff --git a/sdk/eventgrid/arm-eventgrid/README.md b/sdk/eventgrid/arm-eventgrid/README.md
index 9d2baac15a15..1b517939d6b3 100644
--- a/sdk/eventgrid/arm-eventgrid/README.md
+++ b/sdk/eventgrid/arm-eventgrid/README.md
@@ -1,6 +1,15 @@
-## Azure EventGridManagementClient SDK for JavaScript
+# Azure EventGridManagement client library for JavaScript
-This package contains an isomorphic SDK (runs both in Node.js and in browsers) for EventGridManagementClient.
+This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure EventGridManagement client.
+
+Azure EventGrid Management Client
+
+[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventgrid/arm-eventgrid) |
+[Package (NPM)](https://www.npmjs.com/package/@azure/arm-eventgrid) |
+[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-eventgrid) |
+[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
+
+## Getting started
### Currently supported environments
@@ -9,102 +18,77 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f
### Prerequisites
-You must have an [Azure subscription](https://azure.microsoft.com/free/).
+- An [Azure subscription][azure_sub].
-### How to install
+### Install the `@azure/arm-eventgrid` package
-To use this SDK in your project, you will need to install two packages.
-- `@azure/arm-eventgrid` that contains the client.
-- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory.
+Install the Azure EventGridManagement client library for JavaScript with `npm`:
-Install both packages using the below command:
```bash
-npm install --save @azure/arm-eventgrid @azure/identity
+npm install @azure/arm-eventgrid
```
-> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features.
-If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options.
-### How to use
+### Create and authenticate a `EventGridManagementClient`
+
+To create a client object to access the Azure EventGridManagement API, you will need the `endpoint` of your Azure EventGridManagement resource and a `credential`. The Azure EventGridManagement client can use Azure Active Directory credentials to authenticate.
+You can find the endpoint for your Azure EventGridManagement resource in the [Azure Portal][azure_portal].
+
+You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
+
+To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:
-- If you are writing a client side browser application,
- - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions.
- - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below.
-- If you are writing a server side application,
- - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples)
- - Complete the set up steps required by the credential if any.
- - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below.
+```bash
+npm install @azure/identity
+```
-In the below samples, we pass the credential and the Azure subscription id to instantiate the client.
-Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started.
-#### nodejs - Authentication, client creation, and get domains as an example written in JavaScript.
+You will also need to **register a new AAD application and grant access to Azure EventGridManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
+Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
-##### Sample code
+For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
```javascript
-const { DefaultAzureCredential } = require("@azure/identity");
const { EventGridManagementClient } = require("@azure/arm-eventgrid");
-const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
-
-// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples
-// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead.
-const creds = new DefaultAzureCredential();
-const client = new EventGridManagementClient(creds, subscriptionId);
-const resourceGroupName = "testresourceGroupName";
-const domainName = "testdomainName";
-client.domains.get(resourceGroupName, domainName).then((result) => {
- console.log("The result is:");
- console.log(result);
-}).catch((err) => {
- console.log("An error occurred:");
- console.error(err);
-});
+const { DefaultAzureCredential } = require("@azure/identity");
+const subscriptionId = "00000000-0000-0000-0000-000000000000";
+const client = new EventGridManagementClient(new DefaultAzureCredential(), subscriptionId);
```
-#### browser - Authentication, client creation, and get domains as an example written in JavaScript.
-
-In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser.
- - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser.
- - Note down the client Id from the previous step and use it in the browser sample below.
-
-##### Sample code
-
-- index.html
-
-```html
-
-
-
- @azure/arm-eventgrid sample
-
-
-
-
-
-
-
+## Key concepts
+
+### EventGridManagementClient
+
+`EventGridManagementClient` is the primary interface for developers using the Azure EventGridManagement client library. Explore the methods on this client object to understand the different features of the Azure EventGridManagement service that you can access.
+
+## Troubleshooting
+
+### Logging
+
+Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
+
+```javascript
+const { setLogLevel } = require("@azure/logger");
+setLogLevel("info");
```
+For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger).
+
+## Next steps
+
+Please take a look at the [samples](https://github.com/Azure-Samples/azure-samples-js-management) directory for detailed examples on how to use this library.
+
+## Contributing
+
+If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code.
+
## Related projects
-- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js)
+- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
+
+
-
+[azure_cli]: https://docs.microsoft.com/cli/azure
+[azure_sub]: https://azure.microsoft.com/free/
+[azure_sub]: https://azure.microsoft.com/free/
+[azure_portal]: https://portal.azure.com
+[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity
+[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential
diff --git a/sdk/eventgrid/arm-eventgrid/_meta.json b/sdk/eventgrid/arm-eventgrid/_meta.json
new file mode 100644
index 000000000000..6142b8a3c571
--- /dev/null
+++ b/sdk/eventgrid/arm-eventgrid/_meta.json
@@ -0,0 +1,7 @@
+{
+ "commit": "a8e6d89a08f7b872be9da82b735274bc84199e8e",
+ "readme": "specification/eventgrid/resource-manager/readme.md",
+ "autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/eventgrid/resource-manager/readme.md --use=@autorest/typescript@6.0.0-beta.13",
+ "repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
+ "use": "@autorest/typescript@6.0.0-beta.13"
+}
\ No newline at end of file
diff --git a/sdk/eventgrid/arm-eventgrid/api-extractor.json b/sdk/eventgrid/arm-eventgrid/api-extractor.json
new file mode 100644
index 000000000000..c6f470899e75
--- /dev/null
+++ b/sdk/eventgrid/arm-eventgrid/api-extractor.json
@@ -0,0 +1,18 @@
+{
+ "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
+ "mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
+ "docModel": { "enabled": true },
+ "apiReport": { "enabled": true, "reportFolder": "./review" },
+ "dtsRollup": {
+ "enabled": true,
+ "untrimmedFilePath": "",
+ "publicTrimmedFilePath": "./types/arm-eventgrid.d.ts"
+ },
+ "messages": {
+ "tsdocMessageReporting": { "default": { "logLevel": "none" } },
+ "extractorMessageReporting": {
+ "ae-missing-release-tag": { "logLevel": "none" },
+ "ae-unresolved-link": { "logLevel": "none" }
+ }
+ }
+}
diff --git a/sdk/eventgrid/arm-eventgrid/package.json b/sdk/eventgrid/arm-eventgrid/package.json
index 100062887bd8..606276e12840 100644
--- a/sdk/eventgrid/arm-eventgrid/package.json
+++ b/sdk/eventgrid/arm-eventgrid/package.json
@@ -1,58 +1,91 @@
{
"name": "@azure/arm-eventgrid",
+ "sdk-type": "mgmt",
"author": "Microsoft Corporation",
- "description": "EventGridManagementClient Library with typescript type definitions for node.js and browser.",
- "version": "11.0.0",
+ "description": "A generated SDK for EventGridManagementClient.",
+ "version": "30.0.0-beta.1",
+ "engines": { "node": ">=12.0.0" },
"dependencies": {
- "@azure/ms-rest-azure-js": "^2.1.0",
- "@azure/ms-rest-js": "^2.2.0",
- "@azure/core-auth": "^1.1.4",
- "tslib": "^1.10.0"
+ "@azure/core-lro": "^2.2.0",
+ "@azure/abort-controller": "^1.0.0",
+ "@azure/core-paging": "^1.1.1",
+ "@azure/core-client": "^1.0.0",
+ "@azure/core-auth": "^1.3.0",
+ "@azure/core-rest-pipeline": "^1.1.0",
+ "tslib": "^2.2.0"
},
- "keywords": [
- "node",
- "azure",
- "typescript",
- "browser",
- "isomorphic"
- ],
+ "keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
"license": "MIT",
- "main": "./dist/arm-eventgrid.js",
- "module": "./esm/eventGridManagementClient.js",
- "types": "./esm/eventGridManagementClient.d.ts",
+ "main": "./dist/index.js",
+ "module": "./dist-esm/src/index.js",
+ "types": "./types/arm-eventgrid.d.ts",
"devDependencies": {
- "typescript": "^3.6.0",
- "rollup": "^1.18.0",
- "rollup-plugin-node-resolve": "^5.2.0",
+ "@microsoft/api-extractor": "7.7.11",
+ "@rollup/plugin-commonjs": "11.0.2",
+ "@rollup/plugin-json": "^4.0.0",
+ "@rollup/plugin-multi-entry": "^3.0.0",
+ "@rollup/plugin-node-resolve": "^8.0.0",
+ "mkdirp": "^1.0.4",
+ "rollup": "^1.16.3",
"rollup-plugin-sourcemaps": "^0.4.2",
- "uglify-js": "^3.6.0"
+ "typescript": "~4.2.0",
+ "uglify-js": "^3.4.9",
+ "@azure/identity": "2.0.0-beta.6",
+ "@azure-tools/test-recorder": "^1.0.0",
+ "mocha": "^7.1.1",
+ "cross-env": "^7.0.2"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventgrid/arm-eventgrid",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
},
- "bugs": {
- "url": "https://github.com/Azure/azure-sdk-for-js/issues"
- },
+ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
"files": [
"dist/**/*.js",
"dist/**/*.js.map",
"dist/**/*.d.ts",
"dist/**/*.d.ts.map",
- "esm/**/*.js",
- "esm/**/*.js.map",
- "esm/**/*.d.ts",
- "esm/**/*.d.ts.map",
+ "dist-esm/**/*.js",
+ "dist-esm/**/*.js.map",
+ "dist-esm/**/*.d.ts",
+ "dist-esm/**/*.d.ts.map",
"src/**/*.ts",
"README.md",
+ "LICENSE",
"rollup.config.js",
- "tsconfig.json"
+ "tsconfig.json",
+ "review/*",
+ "CHANGELOG.md",
+ "types/*"
],
"scripts": {
- "build": "tsc && rollup -c rollup.config.js && npm run minify",
- "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-eventgrid.js.map'\" -o ./dist/arm-eventgrid.min.js ./dist/arm-eventgrid.js",
- "prepack": "npm install && npm run build"
+ "build": "tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api",
+ "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
+ "prepack": "npm run build",
+ "pack": "npm pack 2>&1",
+ "extract-api": "api-extractor run --local",
+ "lint": "echo skipped",
+ "audit": "echo skipped",
+ "clean": "echo skipped",
+ "build:node": "echo skipped",
+ "build:browser": "echo skipped",
+ "build:test": "echo skipped",
+ "build:samples": "echo skipped.",
+ "check-format": "echo skipped",
+ "execute:samples": "echo skipped",
+ "format": "echo skipped",
+ "test": "npm run integration-test",
+ "prebuild": "echo skipped",
+ "test:node": "echo skipped",
+ "test:browser": "echo skipped",
+ "unit-test": "npm run unit-test:node && npm run unit-test:browser",
+ "unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
+ "unit-test:browser": "echo skipped",
+ "integration-test": "npm run integration-test:node && npm run integration-test:browser",
+ "integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts",
+ "integration-test:browser": "echo skipped",
+ "docs": "echo skipped"
},
"sideEffects": false,
"autoPublish": true
diff --git a/sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_domains_create_test.js b/sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_domains_create_test.js
new file mode 100644
index 000000000000..55df2066998c
--- /dev/null
+++ b/sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_domains_create_test.js
@@ -0,0 +1,255 @@
+let nock = require('nock');
+
+module.exports.hash = "76d3c84f4192afc527b26762d8d31d78";
+
+module.exports.testInfo = {"uniqueName":{},"newDate":{}}
+
+nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
+ .get('/common/discovery/instance')
+ .query(true)
+ .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [
+ 'Cache-Control',
+ 'max-age=86400, private',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Access-Control-Allow-Origin',
+ '*',
+ 'Access-Control-Allow-Methods',
+ 'GET, OPTIONS',
+ 'P3P',
+ 'CP="DSP CUR OTPi IND OTRi ONL FIN"',
+ 'x-ms-request-id',
+ 'aee2f65e-a3f8-4c92-b384-e43208d01400',
+ 'x-ms-ests-server',
+ '2.1.12071.16 - KRSLR2 ProdSlices',
+ 'Set-Cookie',
+ 'fpc=Ar_gxrxM0ltGnUgT3rtyChs; expires=Thu, 28-Oct-2021 08:07:27 GMT; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrfpuBUPCUgAVYv3T0GQcQkyDTxZmY50GuqAzA8j-83smyXC_H94UtyVk_m2MmBk9EME8fjKiEYUg7Y-QNosWA-mXErJhzIanpB8rHwJMooc3MvRYHm0LLUEmPbW0L19K40Gm_3hJ0N_k-dhwQ1Ab_EblgNuDqB82Nie7jxpq_dXwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
+ 'Set-Cookie',
+ 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:26 GMT',
+ 'Content-Length',
+ '980'
+]);
+
+nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
+ .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration')
+ .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [
+ 'Cache-Control',
+ 'max-age=86400, private',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Access-Control-Allow-Origin',
+ '*',
+ 'Access-Control-Allow-Methods',
+ 'GET, OPTIONS',
+ 'P3P',
+ 'CP="DSP CUR OTPi IND OTRi ONL FIN"',
+ 'x-ms-request-id',
+ 'ba098c41-5e24-43b7-aaf4-4a4667f81300',
+ 'x-ms-ests-server',
+ '2.1.12071.16 - KRSLR2 ProdSlices',
+ 'Set-Cookie',
+ 'fpc=AnRFmVGHmZROmtXSTreJ_Rc; expires=Thu, 28-Oct-2021 08:07:27 GMT; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrS_d6rE3aoBC2on8YG-dJ-5jZKvakBZ8bIa6p3hp-VvFPtIPjRnwFZjz3FeOJcvk7haP3vodoFpBMgzu5unlx8H-bwYbr27wKyE5RuNP3bcy97pkLZrGJz2GA8EubEY6OVy5kHGlILhf_OSFn2pD3db1EPZx8tUGbtCc_7OCm1y0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
+ 'Set-Cookie',
+ 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:27 GMT',
+ 'Content-Length',
+ '1753'
+]);
+
+nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
+ .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.1&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=ab2a3914-c3d6-47fe-a387-8d00900ec019&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D")
+ .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [
+ 'Cache-Control',
+ 'no-store, no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Expires',
+ '-1',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'P3P',
+ 'CP="DSP CUR OTPi IND OTRi ONL FIN"',
+ 'x-ms-request-id',
+ 'ba098c41-5e24-43b7-aaf4-4a4668f81300',
+ 'x-ms-ests-server',
+ '2.1.12071.16 - KRSLR2 ProdSlices',
+ 'x-ms-clitelem',
+ '1,0,0,,',
+ 'Set-Cookie',
+ 'fpc=AmH0icYVK3VHhsQWZ5dqQ3UWPr5BAQAAAD_E5NgOAAAA; expires=Thu, 28-Oct-2021 08:07:27 GMT; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
+ 'Set-Cookie',
+ 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:27 GMT',
+ 'Content-Length',
+ '1351'
+]);
+
+nock('https://management.azure.com:443', {"encodedQueryParams":true})
+ .put('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventGrid/domains/mydomainxxx', {"location":"eastus","properties":{}})
+ .query(true)
+ .reply(201, {"properties":{"provisioningState":"Creating","endpoint":null},"location":"eastus","tags":null,"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventGrid/domains/mydomainxxx","name":"mydomainxxx","type":"Microsoft.EventGrid/domains"}, [
+ 'Cache-Control',
+ 'no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Content-Length',
+ '286',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Expires',
+ '-1',
+ 'Retry-After',
+ '10',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'Azure-AsyncOperation',
+ 'https://management.azure.com:443/subscriptions/azure_subscription_id/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/5F68A341-209F-483D-BF18-F682809DDE41?api-version=2021-06-01-preview',
+ 'x-ms-request-id',
+ 'ecb9b76e-a08c-463d-a765-ecb7528cc8b0',
+ 'Server',
+ 'Microsoft-HTTPAPI/2.0',
+ 'x-ms-ratelimit-remaining-subscription-writes',
+ '1198',
+ 'x-ms-correlation-request-id',
+ '5f7308d5-7c54-4e5d-bea0-dc4643eee28f',
+ 'x-ms-routing-request-id',
+ 'JAPANEAST:20210928T080732Z:5f7308d5-7c54-4e5d-bea0-dc4643eee28f',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:31 GMT'
+]);
+
+nock('https://management.azure.com:443', {"encodedQueryParams":true})
+ .get('/subscriptions/azure_subscription_id/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/5F68A341-209F-483D-BF18-F682809DDE41')
+ .query(true)
+ .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fcddb76d53cba7b77912db38b7c912fdb71f683759d8fa7d5e26eb39e34d3ba58b545b56cee3edc3b7f787f7670be7d6ffae983edfdddbdfded87bbd307db07d3f39d07d3d9e47c6f7ff7eeaaae2e8b595e3777bf28a675d554e7edf8f492c07e5e17b3bb6535cd04589e35edbab95badf25a3e79dd66f8e0feb34f0f8eefedef6eefed3c7cb6bd7f70efe9f69367bb07dbf4f1dec1cec3a74f4ff7777f8f6c556c5f521ff4de677b3b7bbbdb3b9f6eefec6eafeafcb2c8af3e1a7db4cc16390deefef9a70799023b07b0d9f6e49c80d1c700369be5fbbbd4bae1aea9fdd9f2655d5dd479d37cf4","4bfe1f71743eb620010000"], [
+ 'Cache-Control',
+ 'no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Transfer-Encoding',
+ 'chunked',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Content-Encoding',
+ 'gzip',
+ 'Expires',
+ '-1',
+ 'Vary',
+ 'Accept-Encoding',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'x-ms-request-id',
+ '88adb5dc-2938-452b-9d05-db204ec5aeea',
+ 'Server',
+ 'Microsoft-HTTPAPI/2.0',
+ 'x-ms-ratelimit-remaining-subscription-reads',
+ '11991',
+ 'x-ms-correlation-request-id',
+ '139a0cf2-d24a-412d-8174-b797ffb83ee2',
+ 'x-ms-routing-request-id',
+ 'JAPANEAST:20210928T080732Z:139a0cf2-d24a-412d-8174-b797ffb83ee2',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:32 GMT'
+]);
+
+nock('https://management.azure.com:443', {"encodedQueryParams":true})
+ .get('/subscriptions/azure_subscription_id/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/5F68A341-209F-483D-BF18-F682809DDE41')
+ .query(true)
+ .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fcddb76d53cba7b77912db38b7c912fdb71f683759d8fa7d5e26eb39e34d3ba58b545b56cee3edc3b7f787f7670be7d6ffae983edfdddbdfded87bbd307db07d3f39d07d3d9e47c6f7ff7eeaaae2e8b595e3777bf28a675d554e7edf8f492c07e5e17b3bb6535cd04589e35edbab95badf25a3e79dd66f8e0feb34f0f8eefedef6eefed3c7cb6bd7f70efe9f69367bb07dbf4f1dec1cec3a74f4ff7777f8f6c556c5f521ff4de677b3b7bbbdb3b9f6eefec6eafeafcb2c8af3e1a7db4cc16390deefef9a70799023b07b0d9f6e49c80d1c700369be5fbbbd4bae1aea9fdebf5749ae7b37cf6d12f","f97f00741e8c241f010000"], [
+ 'Cache-Control',
+ 'no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Transfer-Encoding',
+ 'chunked',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Content-Encoding',
+ 'gzip',
+ 'Expires',
+ '-1',
+ 'Vary',
+ 'Accept-Encoding',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'x-ms-request-id',
+ '8b782dd8-cc3f-4ba4-92c4-c49567cbf020',
+ 'Server',
+ 'Microsoft-HTTPAPI/2.0',
+ 'x-ms-ratelimit-remaining-subscription-reads',
+ '11990',
+ 'x-ms-correlation-request-id',
+ '8d041095-937d-40bc-b39e-935e7abaed5c',
+ 'x-ms-routing-request-id',
+ 'JAPANEAST:20210928T080734Z:8d041095-937d-40bc-b39e-935e7abaed5c',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:34 GMT'
+]);
+
+nock('https://management.azure.com:443', {"encodedQueryParams":true})
+ .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventGrid/domains/mydomainxxx')
+ .query(true)
+ .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147abba5ae5755be4cd478ff8afcba229aa65b1bc78dd666dfed1a38f5eafa7d33c9fe5b38f461fe5cbd9aa2a962d7d3c6fdb55f3e8eeddc5f5ac5a64c5f2ddbb77e33c6bda75b3bd3bce2ff3657b5117b371f683759d8f97797b375b1577f9f3860015cbd5ba7d3d9de78b8c609de2e3cfa9b97e32fa6891b775317d9537d5ba9ee667336a94efeced4eb3fce1f6247b906defef7cfa70fb6096e7dbe7d3fb0ff7eedd7ff8e07c32a13757eb49594c5fe4ed5555bf3d26d41b1ad947a7cb6c52d2107ec9e8a3e6ed1a435d660b8cee49d614537c5c56d3aca591d367320c82d56617f4f2725d96843170b8dbac27cdb42e5668d9dc7db877fef0feece07cfbdef4d307dbfbbb7bfbdb0f77a70fb60fa6e73b0fa6b3c9f9defeeedd5a07f1795dad570dd1eba79b366fdabb4ceb595e3777bf28a675d554e7edd812e2ae1015cde537222f21a448871fb6d72b7cb801ca47","bfe4ff01615a0cfde9010000"], [
+ 'Cache-Control',
+ 'no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Transfer-Encoding',
+ 'chunked',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Content-Encoding',
+ 'gzip',
+ 'Expires',
+ '-1',
+ 'Vary',
+ 'Accept-Encoding',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'x-ms-request-id',
+ '1ac44f4f-1315-41fc-9780-fb806b5c724d',
+ 'Server',
+ 'Microsoft-HTTPAPI/2.0',
+ 'x-ms-ratelimit-remaining-subscription-reads',
+ '11989',
+ 'x-ms-correlation-request-id',
+ '2b7bdacf-bf6b-4d0f-a43b-8fcc103e2b54',
+ 'x-ms-routing-request-id',
+ 'JAPANEAST:20210928T080737Z:2b7bdacf-bf6b-4d0f-a43b-8fcc103e2b54',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:36 GMT'
+]);
diff --git a/sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_domains_delete_test.js b/sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_domains_delete_test.js
new file mode 100644
index 000000000000..e378e68967c8
--- /dev/null
+++ b/sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_domains_delete_test.js
@@ -0,0 +1,255 @@
+let nock = require('nock');
+
+module.exports.hash = "ea3c8f1e81ce3e0b884d9d1826c8ef1c";
+
+module.exports.testInfo = {"uniqueName":{},"newDate":{}}
+
+nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
+ .get('/common/discovery/instance')
+ .query(true)
+ .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [
+ 'Cache-Control',
+ 'max-age=86400, private',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Access-Control-Allow-Origin',
+ '*',
+ 'Access-Control-Allow-Methods',
+ 'GET, OPTIONS',
+ 'P3P',
+ 'CP="DSP CUR OTPi IND OTRi ONL FIN"',
+ 'x-ms-request-id',
+ '1932c061-4da3-4b9b-be79-68a6e2900100',
+ 'x-ms-ests-server',
+ '2.1.12071.16 - KRSLR1 ProdSlices',
+ 'Set-Cookie',
+ 'fpc=ArlD2ORpqBRMpuC5OlsrE0s; expires=Thu, 28-Oct-2021 08:07:43 GMT; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrE3eJV3K0_-yRfc3cBx8_ZMAF9PLJ6g4SgLTUIkIfQfzPZsK8rcJ3LgqctgV3bGyDDJ4FzSeNJHUK85BFK0mMUzGfnzb_lmhnQY6YX1GE8sEqKgLCHwSKGDmejUTcrI74pjPV6YBX1JwU8IWh1MHaAmtZbM1gwpziCweUtTFP5VwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
+ 'Set-Cookie',
+ 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:43 GMT',
+ 'Content-Length',
+ '980'
+]);
+
+nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
+ .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration')
+ .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [
+ 'Cache-Control',
+ 'max-age=86400, private',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Access-Control-Allow-Origin',
+ '*',
+ 'Access-Control-Allow-Methods',
+ 'GET, OPTIONS',
+ 'P3P',
+ 'CP="DSP CUR OTPi IND OTRi ONL FIN"',
+ 'x-ms-request-id',
+ '1932c061-4da3-4b9b-be79-68a6e4900100',
+ 'x-ms-ests-server',
+ '2.1.12071.16 - KRSLR1 ProdSlices',
+ 'Set-Cookie',
+ 'fpc=AtFh042VAQJNgkH6XO160Rg; expires=Thu, 28-Oct-2021 08:07:44 GMT; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrLcUk_7jOtm7gKR5quUFrGKWybklmkCTZV1ZkVgtnRQtP0zroXtfg1YkgW9INrGFNQYOCNZ-LmPxL9zrdmINtdhiAfXBUmPx5kE5kLt4e5TtmUcqhJ2Kdo3g95Q2Jdy7ZFjiLJv0yET2oXscP0l0T1S_hddjMV5lQ0D_iGgo7_CAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
+ 'Set-Cookie',
+ 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:43 GMT',
+ 'Content-Length',
+ '1753'
+]);
+
+nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
+ .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.1&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=cb787a2a-582c-40aa-8c98-2cdb691e94aa&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D")
+ .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [
+ 'Cache-Control',
+ 'no-store, no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Expires',
+ '-1',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'P3P',
+ 'CP="DSP CUR OTPi IND OTRi ONL FIN"',
+ 'x-ms-request-id',
+ 'b53bc90d-21a4-4e4b-9ae4-2614e2611400',
+ 'x-ms-ests-server',
+ '2.1.12071.16 - SEASLR1 ProdSlices',
+ 'x-ms-clitelem',
+ '1,0,0,,',
+ 'Set-Cookie',
+ 'fpc=AjLxNV8mAcJJifAEwDUrXGAWPr5BAQAAAE_E5NgOAAAA; expires=Thu, 28-Oct-2021 08:07:44 GMT; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
+ 'Set-Cookie',
+ 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:43 GMT',
+ 'Content-Length',
+ '1351'
+]);
+
+nock('https://management.azure.com:443', {"encodedQueryParams":true})
+ .delete('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventGrid/domains/mydomainxxx')
+ .query(true)
+ .reply(202, "", [
+ 'Cache-Control',
+ 'no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Expires',
+ '-1',
+ 'Location',
+ 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.EventGrid/locations/eastus/operationResults/08D68E3C-DE07-48DD-B652-F8125B0BEDAD?api-version=2021-06-01-preview',
+ 'Retry-After',
+ '10',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'Azure-AsyncOperation',
+ 'https://management.azure.com:443/subscriptions/azure_subscription_id/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/08D68E3C-DE07-48DD-B652-F8125B0BEDAD?api-version=2021-06-01-preview',
+ 'Server',
+ 'Microsoft-HTTPAPI/2.0',
+ 'x-ms-ratelimit-remaining-subscription-deletes',
+ '14998',
+ 'x-ms-request-id',
+ 'bf1c58d9-94fc-4ea4-a711-7dff49e17620',
+ 'x-ms-correlation-request-id',
+ 'bf1c58d9-94fc-4ea4-a711-7dff49e17620',
+ 'x-ms-routing-request-id',
+ 'JAPANEAST:20210928T080745Z:bf1c58d9-94fc-4ea4-a711-7dff49e17620',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:45 GMT',
+ 'Content-Length',
+ '0'
+]);
+
+nock('https://management.azure.com:443', {"encodedQueryParams":true})
+ .get('/subscriptions/azure_subscription_id/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/08D68E3C-DE07-48DD-B652-F8125B0BEDAD')
+ .query(true)
+ .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fcddb76d53cba7b77912db38b7c912fdb71f683759d8fa7d5e26eb39e34d3ba58b545b56cee3edc3b7f787f7670be7d6ffae983edfdddbdfded87bbd307db07d3f39d07d3d9e47c6f7ff7eeaaae2e8b595e3777bf28a675d554e7edf8f492c07e5e17b3bb6535cd04589e35edbab95badf25a3e79dd66f860e7e0e9a707a7f74eb69f9eee5027074f9f6e3ff9f4fedef6b383ddbdfb4f769e9c3e3d7efa7b64ab62fb92faa0f73edbdbd9dbdddef9747b67777b55e797457ef5d1e8a365b6c869703b07b34f0ff27bd3ed59cec066b3ed09809d03d8646792cfb219b56eb86b6a7fb67c59571775de341ffd","92ff07d07d35bb20010000"], [
+ 'Cache-Control',
+ 'no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Transfer-Encoding',
+ 'chunked',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Content-Encoding',
+ 'gzip',
+ 'Expires',
+ '-1',
+ 'Vary',
+ 'Accept-Encoding',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'x-ms-request-id',
+ '32a4a484-fb34-4607-9f8b-17ebfe22bb26',
+ 'Server',
+ 'Microsoft-HTTPAPI/2.0',
+ 'x-ms-ratelimit-remaining-subscription-reads',
+ '11985',
+ 'x-ms-correlation-request-id',
+ 'b66be362-b519-434d-bf75-c16e30eae860',
+ 'x-ms-routing-request-id',
+ 'JAPANEAST:20210928T080745Z:b66be362-b519-434d-bf75-c16e30eae860',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:45 GMT'
+]);
+
+nock('https://management.azure.com:443', {"encodedQueryParams":true})
+ .get('/subscriptions/azure_subscription_id/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/08D68E3C-DE07-48DD-B652-F8125B0BEDAD')
+ .query(true)
+ .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fcddb76d53cba7b77912db38b7c912fdb71f683759d8fa7d5e26eb39e34d3ba58b545b56cee3edc3b7f787f7670be7d6ffae983edfdddbdfded87bbd307db07d3f39d07d3d9e47c6f7ff7eeaaae2e8b595e3777bf28a675d554e7edf8f492c07e5e17b3bb6535cd04589e35edbab95badf25a3e79dd66f860e7e0e9a707a7f74eb69f9eee5027074f9f6e3ff9f4fedef6b383ddbdfb4f769e9c3e3d7efa7b64ab62fb92faa0f73edbdbd9dbdddef9747b67777b55e797457ef5d1e8a365b6c869703b07b34f0ff27bd3ed59cec066b3ed09809d03d8646792cfb219b56eb86b6aff7a3d9de6f92c9f7df44b","fe1ffe81ef421f010000"], [
+ 'Cache-Control',
+ 'no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Transfer-Encoding',
+ 'chunked',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Content-Encoding',
+ 'gzip',
+ 'Expires',
+ '-1',
+ 'Vary',
+ 'Accept-Encoding',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'x-ms-request-id',
+ '059f093f-a1f3-4756-ab86-7223eb4c4a88',
+ 'Server',
+ 'Microsoft-HTTPAPI/2.0',
+ 'x-ms-ratelimit-remaining-subscription-reads',
+ '11984',
+ 'x-ms-correlation-request-id',
+ '8d78b966-0543-4c26-95d0-4b9e0deedb5f',
+ 'x-ms-routing-request-id',
+ 'JAPANEAST:20210928T080748Z:8d78b966-0543-4c26-95d0-4b9e0deedb5f',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:47 GMT'
+]);
+
+nock('https://management.azure.com:443', {"encodedQueryParams":true})
+ .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventGrid/domains')
+ .query(true)
+ .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bdefff","92ff0742ea40440c000000"], [
+ 'Cache-Control',
+ 'no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Transfer-Encoding',
+ 'chunked',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Content-Encoding',
+ 'gzip',
+ 'Expires',
+ '-1',
+ 'Vary',
+ 'Accept-Encoding',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'x-ms-request-id',
+ '4862ccc3-5ecc-455e-8567-22ea803a6b8d',
+ 'Server',
+ 'Microsoft-HTTPAPI/2.0',
+ 'x-ms-ratelimit-remaining-subscription-reads',
+ '11983',
+ 'x-ms-correlation-request-id',
+ 'a2406818-6813-44cc-b508-6c0d71053291',
+ 'x-ms-routing-request-id',
+ 'JAPANEAST:20210928T080748Z:a2406818-6813-44cc-b508-6c0d71053291',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:48 GMT'
+]);
diff --git a/sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_domains_get_test.js b/sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_domains_get_test.js
new file mode 100644
index 000000000000..641e930d598e
--- /dev/null
+++ b/sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_domains_get_test.js
@@ -0,0 +1,147 @@
+let nock = require('nock');
+
+module.exports.hash = "c8f7235c631e0760cbb898ad5926119c";
+
+module.exports.testInfo = {"uniqueName":{},"newDate":{}}
+
+nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
+ .get('/common/discovery/instance')
+ .query(true)
+ .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [
+ 'Cache-Control',
+ 'max-age=86400, private',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Access-Control-Allow-Origin',
+ '*',
+ 'Access-Control-Allow-Methods',
+ 'GET, OPTIONS',
+ 'P3P',
+ 'CP="DSP CUR OTPi IND OTRi ONL FIN"',
+ 'x-ms-request-id',
+ 'aee2f65e-a3f8-4c92-b384-e43285d01400',
+ 'x-ms-ests-server',
+ '2.1.12071.16 - KRSLR2 ProdSlices',
+ 'Set-Cookie',
+ 'fpc=AlBmBrkkGO1PrUxEWV2bP9c; expires=Thu, 28-Oct-2021 08:07:41 GMT; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrdzJWSRSNEzU08jCx8-jXBcTf2Coir8l38rU1GTF8Vw6V-zyQ5DvGGLM9TsUCNq1UcCUHCOZANVAdzZgLp9swLgyj0g9s4x8JQ-2EZlrVdeWMyB9xGBe9TjVKeemjEHpFOZ5ttFf9PO6TTwUIFYPry5oiI-PR82159EvAsLCyExogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
+ 'Set-Cookie',
+ 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:40 GMT',
+ 'Content-Length',
+ '980'
+]);
+
+nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
+ .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration')
+ .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [
+ 'Cache-Control',
+ 'max-age=86400, private',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Access-Control-Allow-Origin',
+ '*',
+ 'Access-Control-Allow-Methods',
+ 'GET, OPTIONS',
+ 'P3P',
+ 'CP="DSP CUR OTPi IND OTRi ONL FIN"',
+ 'x-ms-request-id',
+ '10296abd-7045-4b01-b612-33d0e6511300',
+ 'x-ms-ests-server',
+ '2.1.12071.16 - SEASLR2 ProdSlices',
+ 'Set-Cookie',
+ 'fpc=AjzPfVzd1ghFr_e1DxKoYsA; expires=Thu, 28-Oct-2021 08:07:42 GMT; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrlBTwTLjDeOKO3a0Qx5e427SINucHALqnUk9obwLhDo-ZcHcn_oXket1Lnxlyjq2FbAQ7fHMy535HN-ntpy5hBY1vd08_Ocm3SeN88MFg8Lul0HS6Ca-BkRo88-mR7DA4ZuYLKtOPTb0ZiUS1JvMwKpehpuHpBpsQhR3P1qVR8IEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
+ 'Set-Cookie',
+ 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:41 GMT',
+ 'Content-Length',
+ '1753'
+]);
+
+nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
+ .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.1&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=9b324ce4-8ee4-4466-882b-da500a34e0ab&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D")
+ .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [
+ 'Cache-Control',
+ 'no-store, no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Expires',
+ '-1',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'P3P',
+ 'CP="DSP CUR OTPi IND OTRi ONL FIN"',
+ 'x-ms-request-id',
+ 'ba098c41-5e24-43b7-aaf4-4a46b9f81300',
+ 'x-ms-ests-server',
+ '2.1.12071.16 - KRSLR2 ProdSlices',
+ 'x-ms-clitelem',
+ '1,0,0,,',
+ 'Set-Cookie',
+ 'fpc=AkobNQBkkbdIi7eIxPPC-NkWPr5BAQAAAE3E5NgOAAAA; expires=Thu, 28-Oct-2021 08:07:42 GMT; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
+ 'Set-Cookie',
+ 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:41 GMT',
+ 'Content-Length',
+ '1351'
+]);
+
+nock('https://management.azure.com:443', {"encodedQueryParams":true})
+ .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventGrid/domains/mydomainxxx')
+ .query(true)
+ .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147abba5ae5755be4cd478ff8afcba229aa65b1bc78dd666dfed1a38f5eafa7d33c9fe5b38f461fe5cbd9aa2a962d7d3c6fdb55f3e8eeddc5f5ac5a64c5f2ddbb77e33c6bda75b3bd3bce2ff3657b5117b371f683759d8f97797b375b1577f9f3860015cbd5ba7d3d9de78b8c609de2e3cfa9b97e32fa6891b775317d9537d5ba9ee667336a94efeced4eb3fce1f6247b906defef7cfa70fb6096e7dbe7d3fb0ff7eedd7ff8e07c32a13757eb49594c5fe4ed5555bf3d26d41b1ad947a7cb6c52d2107ec9e8a3e6ed1a435d660b8cee49d614537c5c56d3aca591d367320c82d56617f4f22fc6cf5dfafc322bd7f9ae7cbe67fedec3cb0510bcdbac27cdb42e5600d3dc7db877fef0feece07cfbdef4d307dbfbbb7bfbdb0f77a70fb60fa6e73b0fa6b3c9f9defeeedd5a47f8795dad570d11f3a79b366fdabb3c11b3bc6eee7e514cebaaa9cedbb1a5d25da1389acb6f447bc24a47147ed85eaff0e106281f","fd92ff071318fc8306020000"], [
+ 'Cache-Control',
+ 'no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Transfer-Encoding',
+ 'chunked',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Content-Encoding',
+ 'gzip',
+ 'Expires',
+ '-1',
+ 'Vary',
+ 'Accept-Encoding',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'x-ms-request-id',
+ '78b25585-6020-4c92-8a97-a7d53066e913',
+ 'Server',
+ 'Microsoft-HTTPAPI/2.0',
+ 'x-ms-ratelimit-remaining-subscription-reads',
+ '11987',
+ 'x-ms-correlation-request-id',
+ '35871360-413c-4ec3-bc48-7c282be301bf',
+ 'x-ms-routing-request-id',
+ 'JAPANEAST:20210928T080742Z:35871360-413c-4ec3-bc48-7c282be301bf',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:42 GMT'
+]);
diff --git a/sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_domains_listbyresourcegroup_test.js b/sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_domains_listbyresourcegroup_test.js
new file mode 100644
index 000000000000..0cfda913bbac
--- /dev/null
+++ b/sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_domains_listbyresourcegroup_test.js
@@ -0,0 +1,147 @@
+let nock = require('nock');
+
+module.exports.hash = "caf1342e0ed8a276a14cccf266d9c347";
+
+module.exports.testInfo = {"uniqueName":{},"newDate":{}}
+
+nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
+ .get('/common/discovery/instance')
+ .query(true)
+ .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [
+ 'Cache-Control',
+ 'max-age=86400, private',
+ 'Content-Length',
+ '980',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Access-Control-Allow-Origin',
+ '*',
+ 'Access-Control-Allow-Methods',
+ 'GET, OPTIONS',
+ 'P3P',
+ 'CP="DSP CUR OTPi IND OTRi ONL FIN"',
+ 'x-ms-request-id',
+ 'b402166e-c54d-43c9-90b0-293461a50100',
+ 'x-ms-ests-server',
+ '2.1.12071.16 - KRSLR1 ProdSlices',
+ 'Set-Cookie',
+ 'fpc=AvhsfX5gh15Imb66-wIVKIY; expires=Thu, 28-Oct-2021 08:07:42 GMT; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrxqemzhyCzDOWKOPBipboJCgsv9AmOLriJS2Gx1Sf12Xqj32zYW1JD0Bn4C0BVEquGoYNsqRgX0nocFtwd7zM4eB89a8WAJH35MLmGVNjKB5qxBFNFGoSmsBrH-lFBXHZuOOJCge5Kx3KcFB7UBeGTsrYCUTvwsslYEYTayyGFOwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
+ 'Set-Cookie',
+ 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:42 GMT'
+]);
+
+nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
+ .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration')
+ .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [
+ 'Cache-Control',
+ 'max-age=86400, private',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Access-Control-Allow-Origin',
+ '*',
+ 'Access-Control-Allow-Methods',
+ 'GET, OPTIONS',
+ 'P3P',
+ 'CP="DSP CUR OTPi IND OTRi ONL FIN"',
+ 'x-ms-request-id',
+ '10296abd-7045-4b01-b612-33d0ee511300',
+ 'x-ms-ests-server',
+ '2.1.12071.16 - SEASLR2 ProdSlices',
+ 'Set-Cookie',
+ 'fpc=Av26sCiMOSFEmDRoLRhJ_Gg; expires=Thu, 28-Oct-2021 08:07:43 GMT; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr165TS_NTMlj_hHHKSzFYu7PYYTaFQac2mWAVzcvdTj_I-lJXcj6mQ7g4v7lI2JIlQiFEWbC8D6mWaemXJvsxpXL9H91ToBLDg_PqbVyKnzecmhYAcq6ZpifVUOhg4qUUXvQBbIqvldYCHKd6CPt1H6PX3-rNxsEMBjhWNXajoz4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
+ 'Set-Cookie',
+ 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:42 GMT',
+ 'Content-Length',
+ '1753'
+]);
+
+nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
+ .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.1&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=ece28e97-a1ca-4454-8471-1ab8df8eeca2&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D")
+ .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [
+ 'Cache-Control',
+ 'no-store, no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Expires',
+ '-1',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'P3P',
+ 'CP="DSP CUR OTPi IND OTRi ONL FIN"',
+ 'x-ms-request-id',
+ '7def1dd1-d08e-42db-90d0-055ac5481300',
+ 'x-ms-ests-server',
+ '2.1.12071.16 - SEASLR1 ProdSlices',
+ 'x-ms-clitelem',
+ '1,0,0,,',
+ 'Set-Cookie',
+ 'fpc=AvsI54oZD5hAgodJ6lVhe6UWPr5BAQAAAE7E5NgOAAAA; expires=Thu, 28-Oct-2021 08:07:43 GMT; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
+ 'Set-Cookie',
+ 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:43 GMT',
+ 'Content-Length',
+ '1351'
+]);
+
+nock('https://management.azure.com:443', {"encodedQueryParams":true})
+ .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventGrid/domains')
+ .query(true)
+ .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bd5ffcd1aaae5679dd1679f3d123feebb2688a6a592c2f5eb7594b6d3e7abd9e4ef37c96cf3e1a7d942f67abaa58b6f4f1bc6d57cda3bb7717d7b36a9115cb77efde8df3ac69d7cdf6ee38bfcc97ed455dccc6d90fd6753e5ee6eddd6c55dce5cf1b02542c57ebf6f5749e2f3282758a8f3fa7e6fac9e8a345ded6c5f455de54eb7a9a9fcda851beb3b73bcdf287db93ec41b6bdbff3e9c3ed83599e6f9f4fef3fdcbb77ffe183f3c984de5cad2765317d91b75755fdf698506f68641f9d2eb3494943f825a38f9ab76b0c75992d30ba2759534cf171594db396464e9fc93008569b5dd0cbbf183f77e973a6daae7cbe67fedec3cb0510bcdbac27cdb42e5600d3dc7db877fef0feece07cfbdef4d307dbfbbb7bfbdb0f77a70fb60fa6e73b0fa6b3c9f9defeeedd5a47f8795dad570d11f3a79b366fdabb3c11b3bc6eee7e514cebaaa9cedbb1a5d25da1389acb6f447bc24a47147ed85eaff0e106281ffd92ef","ff92ff07d13015e712020000"], [
+ 'Cache-Control',
+ 'no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Transfer-Encoding',
+ 'chunked',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Content-Encoding',
+ 'gzip',
+ 'Expires',
+ '-1',
+ 'Vary',
+ 'Accept-Encoding',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'x-ms-request-id',
+ '1c14f9a0-75e3-4c12-a3e2-928575fe602e',
+ 'Server',
+ 'Microsoft-HTTPAPI/2.0',
+ 'x-ms-ratelimit-remaining-subscription-reads',
+ '11986',
+ 'x-ms-correlation-request-id',
+ '2e65e836-cdf2-40c4-932d-bc155df5cf1a',
+ 'x-ms-routing-request-id',
+ 'JAPANEAST:20210928T080743Z:2e65e836-cdf2-40c4-932d-bc155df5cf1a',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:43 GMT'
+]);
diff --git a/sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_domains_update_test.js b/sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_domains_update_test.js
new file mode 100644
index 000000000000..deaf38a2e053
--- /dev/null
+++ b/sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_domains_update_test.js
@@ -0,0 +1,183 @@
+let nock = require('nock');
+
+module.exports.hash = "de20cb590d85bbe0b0bf02f8680155e0";
+
+module.exports.testInfo = {"uniqueName":{},"newDate":{}}
+
+nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
+ .get('/common/discovery/instance')
+ .query(true)
+ .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [
+ 'Cache-Control',
+ 'max-age=86400, private',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Access-Control-Allow-Origin',
+ '*',
+ 'Access-Control-Allow-Methods',
+ 'GET, OPTIONS',
+ 'P3P',
+ 'CP="DSP CUR OTPi IND OTRi ONL FIN"',
+ 'x-ms-request-id',
+ 'aee2f65e-a3f8-4c92-b384-e4325fd01400',
+ 'x-ms-ests-server',
+ '2.1.12071.16 - KRSLR2 ProdSlices',
+ 'Set-Cookie',
+ 'fpc=ApZN18KFTN5Gn2laqUIAkcQ; expires=Thu, 28-Oct-2021 08:07:37 GMT; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrzPcCTh3O8h9suYtCh1YXCHIUs6rcyEOifbNUKs5Y2l3D-ZyNuGccSNUz79gXKIEZR78U_WMmeQIetgmDXt0B3DEGrA-MLttwMqb5nYN-lfIzFws9w08xsjUYou_lf8Y4hYzmMLSzu6y17kn0oZqwf4xlmUftdQqgMWlSsmAJ85kgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
+ 'Set-Cookie',
+ 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:36 GMT',
+ 'Content-Length',
+ '980'
+]);
+
+nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
+ .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration')
+ .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [
+ 'Cache-Control',
+ 'max-age=86400, private',
+ 'Content-Length',
+ '1753',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Access-Control-Allow-Origin',
+ '*',
+ 'Access-Control-Allow-Methods',
+ 'GET, OPTIONS',
+ 'P3P',
+ 'CP="DSP CUR OTPi IND OTRi ONL FIN"',
+ 'x-ms-request-id',
+ 'ab07f05c-0ccb-4c02-be36-3e51cce71300',
+ 'x-ms-ests-server',
+ '2.1.12071.16 - SEASLR1 ProdSlices',
+ 'Set-Cookie',
+ 'fpc=AkLuf06JrYRBsgYYiACGbbY; expires=Thu, 28-Oct-2021 08:07:37 GMT; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr0bFggMPxZEN7bmyxPCTKBD4EwVBrMHR4wcqVcN7FE6v2QN1BLbkFPpwLmmLDtw8uTmOFQjgiKNHnmA1eeLiLr1OrIZMtDJ4PzjGlArZGbHvwDhNTkb1vRkn96B3L3ZqjlfYUAd32RIO7VTgHZYkYf6X29dVMSP9UPPwDjtEF0wYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
+ 'Set-Cookie',
+ 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:37 GMT'
+]);
+
+nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
+ .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.1&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=f5ebc590-ebc7-4704-977c-debb2ef03dcc&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D")
+ .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [
+ 'Cache-Control',
+ 'no-store, no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Expires',
+ '-1',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'P3P',
+ 'CP="DSP CUR OTPi IND OTRi ONL FIN"',
+ 'x-ms-request-id',
+ 'd8394544-8497-4b9f-986e-ff49e2a31300',
+ 'x-ms-ests-server',
+ '2.1.12071.16 - KRSLR2 ProdSlices',
+ 'x-ms-clitelem',
+ '1,0,0,,',
+ 'Set-Cookie',
+ 'fpc=ArCQDeeK3OdMkdPl94FI_hEWPr5BAQAAAEnE5NgOAAAA; expires=Thu, 28-Oct-2021 08:07:37 GMT; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
+ 'Set-Cookie',
+ 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:37 GMT',
+ 'Content-Length',
+ '1351'
+]);
+
+nock('https://management.azure.com:443', {"encodedQueryParams":true})
+ .patch('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventGrid/domains/mydomainxxx', {"tags":{"tag1":"value1","tag2":"value2"}})
+ .query(true)
+ .reply(201, {"properties":{"provisioningState":"Updating","endpoint":"https://mydomainxxx.eastus-1.eventgrid.azure.net/api/events","inputSchema":"EventGridSchema","metricResourceId":"e021cae9-ba7a-4069-8dee-fc5923597fbb","publicNetworkAccess":"Enabled"},"sku":{"name":"Basic"},"location":"eastus","tags":{"tag1":"value1","tag2":"value2"},"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventGrid/domains/mydomainxxx","name":"mydomainxxx","type":"Microsoft.EventGrid/domains"}, [
+ 'Cache-Control',
+ 'no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Content-Length',
+ '517',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Expires',
+ '-1',
+ 'Retry-After',
+ '10',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'Azure-AsyncOperation',
+ 'https://management.azure.com:443/subscriptions/azure_subscription_id/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/80649D3F-AC0C-4D71-A08B-374094F8B515?api-version=2021-06-01-preview',
+ 'x-ms-request-id',
+ '9e960462-223f-43d6-b733-3418505fe34f',
+ 'Server',
+ 'Microsoft-HTTPAPI/2.0',
+ 'x-ms-ratelimit-remaining-subscription-writes',
+ '1197',
+ 'x-ms-correlation-request-id',
+ 'b4bac1a6-195e-46cd-98bd-7fc567d9c6dc',
+ 'x-ms-routing-request-id',
+ 'JAPANEAST:20210928T080740Z:b4bac1a6-195e-46cd-98bd-7fc567d9c6dc',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:40 GMT'
+]);
+
+nock('https://management.azure.com:443', {"encodedQueryParams":true})
+ .get('/subscriptions/azure_subscription_id/providers/Microsoft.EventGrid/locations/eastus/operationsStatus/80649D3F-AC0C-4D71-A08B-374094F8B515')
+ .query(true)
+ .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fcddb76d53cba7b77912db38b7c912fdb71f683759d8fa7d5e26eb39e34d3ba58b545b56cee3edc3b7f787f7670be7d6ffae983edfdddbdfded87bbd307db07d3f39d07d3d9e47c6f7ff7eeaaae2e8b595e3777bf28a675d554e7edf8f492c07e5e17b3bb6535cd04589e35edbab95badf25a3e79dd66f8e060e7d3fd874fef3ddb3e3ed939d9de7ffa6077fb78e7e0c9f6bd07fb3b0ff79f1d3cb9bf7bfff7c856c5f625f541ef7db6b7b3b7bbbdf3e9f6ceeef6aace2f8bfceaa3d147cb6c91d3e018d8ecdef97636dd996eefcf0858b673305160e707130246ad1bee9adabf5e4fa7793ecb671ffd","92ff079e0bc9531f010000"], [
+ 'Cache-Control',
+ 'no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Transfer-Encoding',
+ 'chunked',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Content-Encoding',
+ 'gzip',
+ 'Expires',
+ '-1',
+ 'Vary',
+ 'Accept-Encoding',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'x-ms-request-id',
+ 'ab604bc3-724d-40d7-9640-4df606835121',
+ 'Server',
+ 'Microsoft-HTTPAPI/2.0',
+ 'x-ms-ratelimit-remaining-subscription-reads',
+ '11988',
+ 'x-ms-correlation-request-id',
+ '22b2f261-dc5a-4649-be26-68f228ec0000',
+ 'x-ms-routing-request-id',
+ 'JAPANEAST:20210928T080741Z:22b2f261-dc5a-4649-be26-68f228ec0000',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:40 GMT'
+]);
diff --git a/sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_topics_create_test.js b/sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_topics_create_test.js
new file mode 100644
index 000000000000..868b382159d3
--- /dev/null
+++ b/sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_topics_create_test.js
@@ -0,0 +1,255 @@
+let nock = require('nock');
+
+module.exports.hash = "b4c75bbfc9e9a869af781ec8ca9a2716";
+
+module.exports.testInfo = {"uniqueName":{},"newDate":{}}
+
+nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
+ .get('/common/discovery/instance')
+ .query(true)
+ .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [
+ 'Cache-Control',
+ 'max-age=86400, private',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Access-Control-Allow-Origin',
+ '*',
+ 'Access-Control-Allow-Methods',
+ 'GET, OPTIONS',
+ 'P3P',
+ 'CP="DSP CUR OTPi IND OTRi ONL FIN"',
+ 'x-ms-request-id',
+ 'ba098c41-5e24-43b7-aaf4-4a46d0f71300',
+ 'x-ms-ests-server',
+ '2.1.12071.16 - KRSLR2 ProdSlices',
+ 'Set-Cookie',
+ 'fpc=AlhXfjXFFlxBtarUGUvpM08; expires=Thu, 28-Oct-2021 08:07:07 GMT; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr1gJKc23_b9NXsIazgywwAAYbqpcb55Vk7MgCFPp7LzouS57bt6xmLXffj1QDm7IGN9L8wVcEZ5m2RkASjjrGqs3vn-rz6iym_xeGFdvklCPEHnYPqKFnLMOyrhZhZpy6uNv6mJT6Y-V17Yw3zZVVuikpXcXkHp2bBlfWjDOj82IgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
+ 'Set-Cookie',
+ 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:06 GMT',
+ 'Content-Length',
+ '980'
+]);
+
+nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
+ .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration')
+ .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [
+ 'Cache-Control',
+ 'max-age=86400, private',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Access-Control-Allow-Origin',
+ '*',
+ 'Access-Control-Allow-Methods',
+ 'GET, OPTIONS',
+ 'P3P',
+ 'CP="DSP CUR OTPi IND OTRi ONL FIN"',
+ 'x-ms-request-id',
+ '1932c061-4da3-4b9b-be79-68a6e08f0100',
+ 'x-ms-ests-server',
+ '2.1.12071.16 - KRSLR1 ProdSlices',
+ 'Set-Cookie',
+ 'fpc=AoiHj1JknGhNoLpRkg7mZqc; expires=Thu, 28-Oct-2021 08:07:07 GMT; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrPtzKjHGwgUZyTnLJ6Sa7hgl4k3aAuZWrZKGs_KX1y1aG8j1kuOWQ7mU1mtm_cpLOW0DgrnwP3LpCbqS5RthB8gCHWYChU7glOxRZc0piTH_N8CqBZJZmjklN4Do_3mSevPnnlS5WOFlUkiJDO3VAAoZf15fInKi_LsYlP1zoU5QgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
+ 'Set-Cookie',
+ 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:06 GMT',
+ 'Content-Length',
+ '1753'
+]);
+
+nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
+ .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.1&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=c920267d-968f-4851-b4cc-7701d0c720a0&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D")
+ .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [
+ 'Cache-Control',
+ 'no-store, no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Expires',
+ '-1',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'P3P',
+ 'CP="DSP CUR OTPi IND OTRi ONL FIN"',
+ 'x-ms-request-id',
+ 'cb39e17b-b556-4301-b953-4dd334910100',
+ 'x-ms-ests-server',
+ '2.1.12071.16 - KRSLR1 ProdSlices',
+ 'x-ms-clitelem',
+ '1,0,0,,',
+ 'Set-Cookie',
+ 'fpc=AvrJi03RBphCitjr_qAGIdEWPr5BAQAAACrE5NgOAAAA; expires=Thu, 28-Oct-2021 08:07:07 GMT; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
+ 'Set-Cookie',
+ 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:07 GMT',
+ 'Content-Length',
+ '1351'
+]);
+
+nock('https://management.azure.com:443', {"encodedQueryParams":true})
+ .put('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventGrid/topics/mytopicxxx', {"location":"westcentralus","properties":{}})
+ .query(true)
+ .reply(201, {"properties":{"provisioningState":"Creating","endpoint":null},"location":"westcentralus","tags":null,"id":"/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventGrid/topics/mytopicxxx","name":"mytopicxxx","type":"Microsoft.EventGrid/topics"}, [
+ 'Cache-Control',
+ 'no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Content-Length',
+ '289',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Expires',
+ '-1',
+ 'Retry-After',
+ '10',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'Azure-AsyncOperation',
+ 'https://management.azure.com:443/subscriptions/azure_subscription_id/providers/Microsoft.EventGrid/locations/westcentralus/operationsStatus/67074E99-CD50-49ED-AF6D-C5A9C2A7C0A3?api-version=2021-06-01-preview',
+ 'x-ms-request-id',
+ 'b0142041-0636-4ba7-8a7f-8bbcc85508bb',
+ 'Server',
+ 'Microsoft-HTTPAPI/2.0',
+ 'x-ms-ratelimit-remaining-subscription-writes',
+ '1199',
+ 'x-ms-correlation-request-id',
+ '9f0e712d-7ef9-4c50-b986-8f05ad7a886d',
+ 'x-ms-routing-request-id',
+ 'JAPANEAST:20210928T080714Z:9f0e712d-7ef9-4c50-b986-8f05ad7a886d',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:14 GMT'
+]);
+
+nock('https://management.azure.com:443', {"encodedQueryParams":true})
+ .get('/subscriptions/azure_subscription_id/providers/Microsoft.EventGrid/locations/westcentralus/operationsStatus/67074E99-CD50-49ED-AF6D-C5A9C2A7C0A3')
+ .query(true)
+ .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fcddb76d53cba7b77912db38b7c912fdb71f683759d8fa7d5e26eb39e34d3ba58b545b56cee3edc3b7f787f7670be7d6ffae983edfdddbdfded87bbd307db07d3f39d07d3d9e47c6f7ff7eeaaae2e8b595e3777bf28a675d554e7edf8f492c07e5e17b3bb6535cd04d855deb453fab8ceca7573b75ae5b57cf1bacd5afae0d3073b0ff64f1f3edc3e797a7f677bffe1e9d3ede3679f3edd3eb97ffcf064eff8c1c9cef1bddf235b15db97d415bdf7d9decedeeef6cea7db3bbbdbab3abf2cf2ab8f461f2db3454e63646039019bce18583edbcece3f9d6d4fef670fa77bd983e94e768f5a37dc35b53f5bbeacab8b3a6f9a8f7e","c9ff0396767d6427010000"], [
+ 'Cache-Control',
+ 'no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Transfer-Encoding',
+ 'chunked',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Content-Encoding',
+ 'gzip',
+ 'Expires',
+ '-1',
+ 'Vary',
+ 'Accept-Encoding',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'x-ms-request-id',
+ 'd92c59b9-fa26-47c7-93d2-d2bf88988da1',
+ 'Server',
+ 'Microsoft-HTTPAPI/2.0',
+ 'x-ms-ratelimit-remaining-subscription-reads',
+ '11999',
+ 'x-ms-correlation-request-id',
+ '7bfc22ea-4620-4ff3-932a-557171884723',
+ 'x-ms-routing-request-id',
+ 'JAPANEAST:20210928T080714Z:7bfc22ea-4620-4ff3-932a-557171884723',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:14 GMT'
+]);
+
+nock('https://management.azure.com:443', {"encodedQueryParams":true})
+ .get('/subscriptions/azure_subscription_id/providers/Microsoft.EventGrid/locations/westcentralus/operationsStatus/67074E99-CD50-49ED-AF6D-C5A9C2A7C0A3')
+ .query(true)
+ .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fcddb76d53cba7b77912db38b7c912fdb71f683759d8fa7d5e26eb39e34d3ba58b545b56cee3edc3b7f787f7670be7d6ffae983edfdddbdfded87bbd307db07d3f39d07d3d9e47c6f7ff7eeaaae2e8b595e3777bf28a675d554e7edf8f492c07e5e17b3bb6535cd04d855deb453fab8ceca7573b75ae5b57cf1bacd5afae0d3073b0ff64f1f3edc3e797a7f677bffe1e9d3ede3679f3edd3eb97ffcf064eff8c1c9cef1bddf235b15db97d415bdf7d9decedeeef6cea7db3bbbdbab3abf2cf2ab8f461f2db3454e63646039019bce18583edbcece3f9d6d4fef670fa77bd983e94e768f5a37dc35b57fbd9e4ef37c96cf3efa25","ff0f52040b6a26010000"], [
+ 'Cache-Control',
+ 'no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Transfer-Encoding',
+ 'chunked',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Content-Encoding',
+ 'gzip',
+ 'Expires',
+ '-1',
+ 'Vary',
+ 'Accept-Encoding',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'x-ms-request-id',
+ '0b86a5ed-375a-467e-8944-4cccfa7bb574',
+ 'Server',
+ 'Microsoft-HTTPAPI/2.0',
+ 'x-ms-ratelimit-remaining-subscription-reads',
+ '11998',
+ 'x-ms-correlation-request-id',
+ '7d125274-07b9-47f2-a387-8357372c152a',
+ 'x-ms-routing-request-id',
+ 'JAPANEAST:20210928T080717Z:7d125274-07b9-47f2-a387-8357372c152a',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:16 GMT'
+]);
+
+nock('https://management.azure.com:443', {"encodedQueryParams":true})
+ .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventGrid/topics/mytopicxxx')
+ .query(true)
+ .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147abba5ae5755be4cd478ff8afcba229aa65b1bc78dd666dfed1a38f5eafa7d33c9fe5b38f461fe5cbd9aa2a962d7d3c6fdb55f3e8eeddc5755bad8ae9bb77efc65779d34ef3655b67e5bad9de1de797f4c7455dccc6d90fd6753e5ee6eddd6c55dce5cf1b02572c57ebf6f5749e2f3282788a8f3fa7e6fac9e8a345ded6c5f455de54eb7a9a9fcda8d1fec32c9b4e760fb60ff2fd87dbfbd9ce83ed877bd37bdb0fee65b383fb3bfb0f772639bdb95a4fca62fa226fafaafaed310da0a1f17d74bacc26250de4978c3e6adeae31e065b6c0189f644d31c5c76f8b257a3906be04a6aca6594be4a08f82c1d1576d76412097ebb2a471e09dbbcd7ad24ceb6285179abb0ff7ce1fde9f1d9c6fdf9b7efa607b7f776f7ffbe1eef4c1f6c1f47ce7c1743639dfdbdfbd5bebd03eafabf5aa215afe74d3523f77791e6679dddcfda298d655539db7634b9ebb4c70b4e65f88f2848e0e24f8acbd5ee1b361101ffd","92ff073836ecdf01020000"], [
+ 'Cache-Control',
+ 'no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Transfer-Encoding',
+ 'chunked',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Content-Encoding',
+ 'gzip',
+ 'Expires',
+ '-1',
+ 'Vary',
+ 'Accept-Encoding',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'x-ms-request-id',
+ '7525531c-5092-4417-90a2-88d904f3ea12',
+ 'Server',
+ 'Microsoft-HTTPAPI/2.0',
+ 'x-ms-ratelimit-remaining-subscription-reads',
+ '11997',
+ 'x-ms-correlation-request-id',
+ '050560c8-9b81-4512-8162-ffbd9936b195',
+ 'x-ms-routing-request-id',
+ 'JAPANEAST:20210928T080719Z:050560c8-9b81-4512-8162-ffbd9936b195',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:19 GMT'
+]);
diff --git a/sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_topics_delete_test.js b/sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_topics_delete_test.js
new file mode 100644
index 000000000000..5c9214b2a4ae
--- /dev/null
+++ b/sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_topics_delete_test.js
@@ -0,0 +1,291 @@
+let nock = require('nock');
+
+module.exports.hash = "cbe0ffc02e2fc57a9e067e0e0facf4dd";
+
+module.exports.testInfo = {"uniqueName":{},"newDate":{}}
+
+nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
+ .get('/common/discovery/instance')
+ .query(true)
+ .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [
+ 'Cache-Control',
+ 'max-age=86400, private',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Access-Control-Allow-Origin',
+ '*',
+ 'Access-Control-Allow-Methods',
+ 'GET, OPTIONS',
+ 'P3P',
+ 'CP="DSP CUR OTPi IND OTRi ONL FIN"',
+ 'x-ms-request-id',
+ 'b53bc90d-21a4-4e4b-9ae4-2614fe601400',
+ 'x-ms-ests-server',
+ '2.1.12071.16 - SEASLR1 ProdSlices',
+ 'Set-Cookie',
+ 'fpc=Am0GZr1YQ8FNtY1Cz0XP7Ng; expires=Thu, 28-Oct-2021 08:07:20 GMT; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrIO-w7dCLrX4526WTpXTcPC5bQ0mm36TTWN2TK5jEsvJNpEpYnooYrf_yzGatOISQ86ZzxKTcci8a8gnTX1NYDxhYGX-6WsH2QgTCk7w_2w3g4wUBfZNtOvr71DD057OjBTWcZWFeEeVdj8feDbvKYKWa8xQH7u4LseqhPC1rxh4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
+ 'Set-Cookie',
+ 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:20 GMT',
+ 'Content-Length',
+ '980'
+]);
+
+nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
+ .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration')
+ .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [
+ 'Cache-Control',
+ 'max-age=86400, private',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Access-Control-Allow-Origin',
+ '*',
+ 'Access-Control-Allow-Methods',
+ 'GET, OPTIONS',
+ 'P3P',
+ 'CP="DSP CUR OTPi IND OTRi ONL FIN"',
+ 'x-ms-request-id',
+ '1932c061-4da3-4b9b-be79-68a641900100',
+ 'x-ms-ests-server',
+ '2.1.12071.16 - KRSLR1 ProdSlices',
+ 'Set-Cookie',
+ 'fpc=AldZFhgYUFRLjz6Qo-7kG78; expires=Thu, 28-Oct-2021 08:07:20 GMT; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrAp2Oxlm9Vqm_029RQH8TNx8pY3dxHahx9PpjslMzolfH7x8L686OjU6JCLvH7qSUNQtniGEJU5ZaQcibhsw0fd7sCZgnA1Gd87VPSf63F4Yp_FSB2WecypKDhvGncFdJUONCiJrZlG8ImyVFxC7Lj3JH-JN4XT0LiKHhYut12k0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
+ 'Set-Cookie',
+ 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:20 GMT',
+ 'Content-Length',
+ '1753'
+]);
+
+nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
+ .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.1&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=6f317088-3646-443a-88da-f65ea8c668f6&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D")
+ .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [
+ 'Cache-Control',
+ 'no-store, no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Expires',
+ '-1',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'P3P',
+ 'CP="DSP CUR OTPi IND OTRi ONL FIN"',
+ 'x-ms-request-id',
+ '94cadb5b-09e7-40c9-9ccf-8a2905bb1300',
+ 'x-ms-ests-server',
+ '2.1.12071.16 - SEASLR2 ProdSlices',
+ 'x-ms-clitelem',
+ '1,0,0,,',
+ 'Set-Cookie',
+ 'fpc=AqNQLEXWdIxPn8e1U5eDT1AWPr5BAQAAADjE5NgOAAAA; expires=Thu, 28-Oct-2021 08:07:21 GMT; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
+ 'Set-Cookie',
+ 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:20 GMT',
+ 'Content-Length',
+ '1351'
+]);
+
+nock('https://management.azure.com:443', {"encodedQueryParams":true})
+ .delete('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventGrid/topics/mytopicxxx')
+ .query(true)
+ .reply(202, "", [
+ 'Cache-Control',
+ 'no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Expires',
+ '-1',
+ 'Location',
+ 'https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.EventGrid/locations/westcentralus/operationResults/2BC7A35A-3C09-4F4A-A2C1-74001E42BA0E?api-version=2021-06-01-preview',
+ 'Retry-After',
+ '10',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'Azure-AsyncOperation',
+ 'https://management.azure.com:443/subscriptions/azure_subscription_id/providers/Microsoft.EventGrid/locations/westcentralus/operationsStatus/2BC7A35A-3C09-4F4A-A2C1-74001E42BA0E?api-version=2021-06-01-preview',
+ 'Server',
+ 'Microsoft-HTTPAPI/2.0',
+ 'x-ms-ratelimit-remaining-subscription-deletes',
+ '14999',
+ 'x-ms-request-id',
+ '36a65309-5dc4-4ec5-8780-b6d2758ed41b',
+ 'x-ms-correlation-request-id',
+ '36a65309-5dc4-4ec5-8780-b6d2758ed41b',
+ 'x-ms-routing-request-id',
+ 'JAPANEAST:20210928T080721Z:36a65309-5dc4-4ec5-8780-b6d2758ed41b',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:21 GMT',
+ 'Content-Length',
+ '0'
+]);
+
+nock('https://management.azure.com:443', {"encodedQueryParams":true})
+ .get('/subscriptions/azure_subscription_id/providers/Microsoft.EventGrid/locations/westcentralus/operationsStatus/2BC7A35A-3C09-4F4A-A2C1-74001E42BA0E')
+ .query(true)
+ .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fcddb76d53cba7b77912db38b7c912fdb71f683759d8fa7d5e26eb39e34d3ba58b545b56cee3edc3b7f787f7670be7d6ffae983edfdddbdfded87bbd307db07d3f39d07d3d9e47c6f7ff7eeaaae2e8b595e3777bf28a675d554e7edf8f492c07e5e17b3bb6535cd04d855deb453fab8ceca7573b75ae5b57cf1bacd5afa60efc9c983e37bf78fb7ef9dec3cdcde7fb67fbc7dbc77b2bbfd607f6767f7747fefc9f1cee9ef91ad8aed4bea8adefb6c6f676f777be7d3ed9ddded559d5f16f9d547a38f96d922a731ee4da60fb27bf733421cc0cef7b3ed6c6faac0f2fdbd49b69353eb86bba6f6c7d3b6b8cc3ffa","25ff0f28507e9423010000"], [
+ 'Cache-Control',
+ 'no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Transfer-Encoding',
+ 'chunked',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Content-Encoding',
+ 'gzip',
+ 'Expires',
+ '-1',
+ 'Vary',
+ 'Accept-Encoding',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'x-ms-request-id',
+ '411094db-84c0-459b-8631-3b3eb92b0863',
+ 'Server',
+ 'Microsoft-HTTPAPI/2.0',
+ 'x-ms-ratelimit-remaining-subscription-reads',
+ '11995',
+ 'x-ms-correlation-request-id',
+ '096ab95b-9354-42a4-ac93-9192bc55f6eb',
+ 'x-ms-routing-request-id',
+ 'JAPANEAST:20210928T080722Z:096ab95b-9354-42a4-ac93-9192bc55f6eb',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:21 GMT'
+]);
+
+nock('https://management.azure.com:443', {"encodedQueryParams":true})
+ .get('/subscriptions/azure_subscription_id/providers/Microsoft.EventGrid/locations/westcentralus/operationsStatus/2BC7A35A-3C09-4F4A-A2C1-74001E42BA0E')
+ .query(true)
+ .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fcddb76d53cba7b77912db38b7c912fdb71f683759d8fa7d5e26eb39e34d3ba58b545b56cee3edc3b7f787f7670be7d6ffae983edfdddbdfded87bbd307db07d3f39d07d3d9e47c6f7ff7eeaaae2e8b595e3777bf28a675d554e7edf8f492c07e5e17b3bb6535cd04d855deb453fab8ceca7573b75ae5b57cf1bacd5afa60efc9c983e37bf78fb7ef9dec3cdcde7fb67fbc7dbc77b2bbfd607f6767f7747fefc9f1cee9ef91ad8aed4bea8adefb6c6f676f777be7d3ed9ddded559d5f16f9d547a38f96d922a731ee4da60fb27bf733421cc0cef7b3ed6c6faac0f2fdbd49b69353eb86bba6f667cb97757551e74df3d12f","f97f00e04c55c527010000"], [
+ 'Cache-Control',
+ 'no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Transfer-Encoding',
+ 'chunked',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Content-Encoding',
+ 'gzip',
+ 'Expires',
+ '-1',
+ 'Vary',
+ 'Accept-Encoding',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'x-ms-request-id',
+ '60a3c296-66a9-4d3b-89b2-2b2195522ac1',
+ 'Server',
+ 'Microsoft-HTTPAPI/2.0',
+ 'x-ms-ratelimit-remaining-subscription-reads',
+ '11994',
+ 'x-ms-correlation-request-id',
+ '162b9b9b-8953-4a06-88bc-dff5f3d8b911',
+ 'x-ms-routing-request-id',
+ 'JAPANEAST:20210928T080724Z:162b9b9b-8953-4a06-88bc-dff5f3d8b911',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:24 GMT'
+]);
+
+nock('https://management.azure.com:443', {"encodedQueryParams":true})
+ .get('/subscriptions/azure_subscription_id/providers/Microsoft.EventGrid/locations/westcentralus/operationsStatus/2BC7A35A-3C09-4F4A-A2C1-74001E42BA0E')
+ .query(true)
+ .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147c5eca3471fcddb76d53cba7b77912db38b7c912fdb71f683759d8fa7d5e26eb39e34d3ba58b545b56cee3edc3b7f787f7670be7d6ffae983edfdddbdfded87bbd307db07d3f39d07d3d9e47c6f7ff7eeaaae2e8b595e3777bf28a675d554e7edf8f492c07e5e17b3bb6535cd04d855deb453fab8ceca7573b75ae5b57cf1bacd5afa60efc9c983e37bf78fb7ef9dec3cdcde7fb67fbc7dbc77b2bbfd607f6767f7747fefc9f1cee9ef91ad8aed4bea8adefb6c6f676f777be7d3ed9ddded559d5f16f9d547a38f96d922a731ee4da60fb27bf733421cc0cef7b3ed6c6faac0f2fdbd49b69353eb86bba6f6afd7d3699ecff2d947","bfe4ff01f30ca29326010000"], [
+ 'Cache-Control',
+ 'no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Transfer-Encoding',
+ 'chunked',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Content-Encoding',
+ 'gzip',
+ 'Expires',
+ '-1',
+ 'Vary',
+ 'Accept-Encoding',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'x-ms-request-id',
+ '8249f7c1-aa99-486b-b5a5-3f130db22690',
+ 'Server',
+ 'Microsoft-HTTPAPI/2.0',
+ 'x-ms-ratelimit-remaining-subscription-reads',
+ '11993',
+ 'x-ms-correlation-request-id',
+ '6a5df053-a46f-47b3-988f-4963a4a62441',
+ 'x-ms-routing-request-id',
+ 'JAPANEAST:20210928T080726Z:6a5df053-a46f-47b3-988f-4963a4a62441',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:26 GMT'
+]);
+
+nock('https://management.azure.com:443', {"encodedQueryParams":true})
+ .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventGrid/topics')
+ .query(true)
+ .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bdefff","92ff0742ea40440c000000"], [
+ 'Cache-Control',
+ 'no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Transfer-Encoding',
+ 'chunked',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Content-Encoding',
+ 'gzip',
+ 'Expires',
+ '-1',
+ 'Vary',
+ 'Accept-Encoding',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'x-ms-request-id',
+ 'fad92c4a-064d-49e5-8507-d10065e4c1ee',
+ 'Server',
+ 'Microsoft-HTTPAPI/2.0',
+ 'x-ms-ratelimit-remaining-subscription-reads',
+ '11992',
+ 'x-ms-correlation-request-id',
+ 'acfa8dc7-7329-41cb-aac2-a3c9a4ef352d',
+ 'x-ms-routing-request-id',
+ 'JAPANEAST:20210928T080727Z:acfa8dc7-7329-41cb-aac2-a3c9a4ef352d',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:26 GMT'
+]);
diff --git a/sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_topics_listbyresourcegroup_test.js b/sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_topics_listbyresourcegroup_test.js
new file mode 100644
index 000000000000..d39bfc82ab4e
--- /dev/null
+++ b/sdk/eventgrid/arm-eventgrid/recordings/node/eventgrid_test/recording_topics_listbyresourcegroup_test.js
@@ -0,0 +1,147 @@
+let nock = require('nock');
+
+module.exports.hash = "0ff60fd9726b998d94cf2e9a6306e253";
+
+module.exports.testInfo = {"uniqueName":{},"newDate":{}}
+
+nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
+ .get('/common/discovery/instance')
+ .query(true)
+ .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [
+ 'Cache-Control',
+ 'max-age=86400, private',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Access-Control-Allow-Origin',
+ '*',
+ 'Access-Control-Allow-Methods',
+ 'GET, OPTIONS',
+ 'P3P',
+ 'CP="DSP CUR OTPi IND OTRi ONL FIN"',
+ 'x-ms-request-id',
+ 'd8394544-8497-4b9f-986e-ff4966a31300',
+ 'x-ms-ests-server',
+ '2.1.12071.16 - KRSLR2 ProdSlices',
+ 'Set-Cookie',
+ 'fpc=AktLg7ieOH9HqKTqNphJe1g; expires=Thu, 28-Oct-2021 08:07:19 GMT; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr2bUSnuy57LwOGTCYIOz33BTLCE0xqqgP8-8NR3dY-60EaEXLMGOSuFcnxNMnOJN5VVXbbZ-fcccKPg7TmV19MVCFyi2jj64brxgdHm5Tjpjw3AdeyZG10YRw8HelOmIaRh7Qhysk7ikfGKxWk8mSAE0meDHENiGjI5m3tu1ZxaQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
+ 'Set-Cookie',
+ 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:19 GMT',
+ 'Content-Length',
+ '980'
+]);
+
+nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
+ .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration')
+ .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [
+ 'Cache-Control',
+ 'max-age=86400, private',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Access-Control-Allow-Origin',
+ '*',
+ 'Access-Control-Allow-Methods',
+ 'GET, OPTIONS',
+ 'P3P',
+ 'CP="DSP CUR OTPi IND OTRi ONL FIN"',
+ 'x-ms-request-id',
+ 'ad757e25-7b76-4657-b44a-def480121300',
+ 'x-ms-ests-server',
+ '2.1.12071.16 - SEASLR2 ProdSlices',
+ 'Set-Cookie',
+ 'fpc=AjK95VtZa9BCif7KcN6RMR8; expires=Thu, 28-Oct-2021 08:07:19 GMT; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrRi22YHRbq5tdAiq9l-YUJEclE4KYhp-9A1Z2mbL_f9KpZZLdd97dbNenVOJMd26ZDjuwz1tniFjqtEzH8ZCEmKKR_rml6CaRK2KlO6RgCkEM_uP2ppPoF1dlgLS6I8TS92p7JdTW4ZOcw090Ufo8dZUKLK4aZvkwc0VHTkaRX0UgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
+ 'Set-Cookie',
+ 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:19 GMT',
+ 'Content-Length',
+ '1753'
+]);
+
+nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true})
+ .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.3.1&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=1a8be4eb-cad0-41e1-be07-af44ed242dc4&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22CP1%22%5D%7D%7D%7D")
+ .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [
+ 'Cache-Control',
+ 'no-store, no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Expires',
+ '-1',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'P3P',
+ 'CP="DSP CUR OTPi IND OTRi ONL FIN"',
+ 'x-ms-request-id',
+ 'aee2f65e-a3f8-4c92-b384-e432cbcf1400',
+ 'x-ms-ests-server',
+ '2.1.12071.16 - KRSLR2 ProdSlices',
+ 'x-ms-clitelem',
+ '1,0,0,,',
+ 'Set-Cookie',
+ 'fpc=ApHM0P_biINOtJQE20Iq--0WPr5BAQAAADfE5NgOAAAA; expires=Thu, 28-Oct-2021 08:07:20 GMT; path=/; secure; HttpOnly; SameSite=None',
+ 'Set-Cookie',
+ 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly',
+ 'Set-Cookie',
+ 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:19 GMT',
+ 'Content-Length',
+ '1351'
+]);
+
+nock('https://management.azure.com:443', {"encodedQueryParams":true})
+ .get('/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.EventGrid/topics')
+ .query(true)
+ .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bd5ffcd1aaae5679dd1679f3d123feebb2688a6a592c2f5eb7594b6d3e7abd9e4ef37c96cf3e1a7d942f67abaa58b6f4f1bc6d57cda3bb7717d76db52aa6efdebd1b5fe54d3bcd976d4dd09beddd717e497f5cd4c56c9cfd605de7e365dedecd56c55dfebc2170c572b56e5f4fe7f9222388a7f8f8736aae9f8c3e5ae46d5d4c5fe54db5aea7f9d98c1aed3fccb2e964f760fb20df7fb8bd9fed3cd87eb837bdb7fde05e363bb8bfb3ff706792d39babf5a42ca62ff2f6aaaadf1ed3001a1adf47a7cb6c52d2407ec9e8a3e6ed1a035e660b8cf149d614537cfcb658a29763e04b60ca6a9ab5440efa28181c7dd566170472b92e4b1a07deb9dbac27cdb42e5678a1b9fb70effce1fdd9c1f9f6bde9a70fb6f777f7f6b71fee4e1f6c1f4ccf771e4c6793f3bdfdddbbb50eedf3ba5aaf1aa2e54f372df57397e76196d7cddd2f8a695d35d5793bb6e4b9cb04476bfe85284fe8e84082cfdaeb153e1b06f1d12ff9fe2f","f97f00b6089eb80d020000"], [
+ 'Cache-Control',
+ 'no-cache',
+ 'Pragma',
+ 'no-cache',
+ 'Transfer-Encoding',
+ 'chunked',
+ 'Content-Type',
+ 'application/json; charset=utf-8',
+ 'Content-Encoding',
+ 'gzip',
+ 'Expires',
+ '-1',
+ 'Vary',
+ 'Accept-Encoding',
+ 'Strict-Transport-Security',
+ 'max-age=31536000; includeSubDomains',
+ 'x-ms-request-id',
+ '8fec6e72-fbe3-4b0e-b29f-1bbc02755e6e',
+ 'Server',
+ 'Microsoft-HTTPAPI/2.0',
+ 'x-ms-ratelimit-remaining-subscription-reads',
+ '11996',
+ 'x-ms-correlation-request-id',
+ '1ee3eb39-4d24-41f1-af11-c3952970cda2',
+ 'x-ms-routing-request-id',
+ 'JAPANEAST:20210928T080720Z:1ee3eb39-4d24-41f1-af11-c3952970cda2',
+ 'X-Content-Type-Options',
+ 'nosniff',
+ 'Date',
+ 'Tue, 28 Sep 2021 08:07:20 GMT'
+]);
diff --git a/sdk/eventgrid/arm-eventgrid/review/arm-eventgrid.api.md b/sdk/eventgrid/arm-eventgrid/review/arm-eventgrid.api.md
new file mode 100644
index 000000000000..a0e2234d3203
--- /dev/null
+++ b/sdk/eventgrid/arm-eventgrid/review/arm-eventgrid.api.md
@@ -0,0 +1,2518 @@
+## API Report File for "@azure/arm-eventgrid"
+
+> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
+
+```ts
+
+import * as coreAuth from '@azure/core-auth';
+import * as coreClient from '@azure/core-client';
+import { PagedAsyncIterableIterator } from '@azure/core-paging';
+import { PollerLike } from '@azure/core-lro';
+import { PollOperationState } from '@azure/core-lro';
+
+// @public
+export interface AdvancedFilter {
+ key?: string;
+ operatorType: "NumberIn" | "NumberNotIn" | "NumberLessThan" | "NumberGreaterThan" | "NumberLessThanOrEquals" | "NumberGreaterThanOrEquals" | "BoolEquals" | "StringIn" | "StringNotIn" | "StringBeginsWith" | "StringEndsWith" | "StringContains" | "NumberInRange" | "NumberNotInRange" | "StringNotBeginsWith" | "StringNotEndsWith" | "StringNotContains" | "IsNullOrUndefined" | "IsNotNull";
+}
+
+// @public
+export type AdvancedFilterOperatorType = string;
+
+// @public (undocumented)
+export type AdvancedFilterUnion = AdvancedFilter | NumberInAdvancedFilter | NumberNotInAdvancedFilter | NumberLessThanAdvancedFilter | NumberGreaterThanAdvancedFilter | NumberLessThanOrEqualsAdvancedFilter | NumberGreaterThanOrEqualsAdvancedFilter | BoolEqualsAdvancedFilter | StringInAdvancedFilter | StringNotInAdvancedFilter | StringBeginsWithAdvancedFilter | StringEndsWithAdvancedFilter | StringContainsAdvancedFilter | NumberInRangeAdvancedFilter | NumberNotInRangeAdvancedFilter | StringNotBeginsWithAdvancedFilter | StringNotEndsWithAdvancedFilter | StringNotContainsAdvancedFilter | IsNullOrUndefinedAdvancedFilter | IsNotNullAdvancedFilter;
+
+// @public
+export type AzureFunctionEventSubscriptionDestination = EventSubscriptionDestination & {
+ endpointType: "AzureFunction";
+ resourceId?: string;
+ maxEventsPerBatch?: number;
+ preferredBatchSizeInKilobytes?: number;
+ deliveryAttributeMappings?: DeliveryAttributeMappingUnion[];
+};
+
+// @public
+export type BoolEqualsAdvancedFilter = AdvancedFilter & {
+ operatorType: "BoolEquals";
+ value?: boolean;
+};
+
+// @public
+export interface ConnectionState {
+ actionsRequired?: string;
+ description?: string;
+ status?: PersistedConnectionStatus;
+}
+
+// @public
+export type CreatedByType = string;
+
+// @public
+export interface DeadLetterDestination {
+ endpointType: "StorageBlob";
+}
+
+// @public (undocumented)
+export type DeadLetterDestinationUnion = DeadLetterDestination | StorageBlobDeadLetterDestination;
+
+// @public
+export type DeadLetterEndPointType = string;
+
+// @public
+export interface DeadLetterWithResourceIdentity {
+ deadLetterDestination?: DeadLetterDestinationUnion;
+ identity?: EventSubscriptionIdentity;
+}
+
+// @public
+export interface DeliveryAttributeListResult {
+ value?: DeliveryAttributeMappingUnion[];
+}
+
+// @public
+export interface DeliveryAttributeMapping {
+ name?: string;
+ type: "Static" | "Dynamic";
+}
+
+// @public
+export type DeliveryAttributeMappingType = string;
+
+// @public (undocumented)
+export type DeliveryAttributeMappingUnion = DeliveryAttributeMapping | StaticDeliveryAttributeMapping | DynamicDeliveryAttributeMapping;
+
+// @public
+export interface DeliveryWithResourceIdentity {
+ destination?: EventSubscriptionDestinationUnion;
+ identity?: EventSubscriptionIdentity;
+}
+
+// @public
+export type Domain = TrackedResource & {
+ sku?: ResourceSku;
+ identity?: IdentityInfo;
+ readonly systemData?: SystemData;
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
+ readonly provisioningState?: DomainProvisioningState;
+ readonly endpoint?: string;
+ inputSchema?: InputSchema;
+ inputSchemaMapping?: InputSchemaMappingUnion;
+ readonly metricResourceId?: string;
+ publicNetworkAccess?: PublicNetworkAccess;
+ inboundIpRules?: InboundIpRule[];
+ disableLocalAuth?: boolean;
+ autoCreateTopicWithFirstSubscription?: boolean;
+ autoDeleteTopicWithLastSubscription?: boolean;
+};
+
+// @public
+export type DomainProvisioningState = string;
+
+// @public
+export interface DomainRegenerateKeyRequest {
+ keyName: string;
+}
+
+// @public
+export interface Domains {
+ beginCreateOrUpdate(resourceGroupName: string, domainName: string, domainInfo: Domain, options?: DomainsCreateOrUpdateOptionalParams): Promise, DomainsCreateOrUpdateResponse>>;
+ beginCreateOrUpdateAndWait(resourceGroupName: string, domainName: string, domainInfo: Domain, options?: DomainsCreateOrUpdateOptionalParams): Promise;
+ beginDelete(resourceGroupName: string, domainName: string, options?: DomainsDeleteOptionalParams): Promise, void>>;
+ beginDeleteAndWait(resourceGroupName: string, domainName: string, options?: DomainsDeleteOptionalParams): Promise;
+ beginUpdate(resourceGroupName: string, domainName: string, domainUpdateParameters: DomainUpdateParameters, options?: DomainsUpdateOptionalParams): Promise, void>>;
+ beginUpdateAndWait(resourceGroupName: string, domainName: string, domainUpdateParameters: DomainUpdateParameters, options?: DomainsUpdateOptionalParams): Promise;
+ get(resourceGroupName: string, domainName: string, options?: DomainsGetOptionalParams): Promise;
+ listByResourceGroup(resourceGroupName: string, options?: DomainsListByResourceGroupOptionalParams): PagedAsyncIterableIterator;
+ listBySubscription(options?: DomainsListBySubscriptionOptionalParams): PagedAsyncIterableIterator;
+ listSharedAccessKeys(resourceGroupName: string, domainName: string, options?: DomainsListSharedAccessKeysOptionalParams): Promise;
+ regenerateKey(resourceGroupName: string, domainName: string, regenerateKeyRequest: DomainRegenerateKeyRequest, options?: DomainsRegenerateKeyOptionalParams): Promise;
+}
+
+// @public
+export interface DomainsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type DomainsCreateOrUpdateResponse = Domain;
+
+// @public
+export interface DomainsDeleteOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export interface DomainsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type DomainsGetResponse = Domain;
+
+// @public
+export interface DomainSharedAccessKeys {
+ key1?: string;
+ key2?: string;
+}
+
+// @public
+export interface DomainsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type DomainsListByResourceGroupNextResponse = DomainsListResult;
+
+// @public
+export interface DomainsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type DomainsListByResourceGroupResponse = DomainsListResult;
+
+// @public
+export interface DomainsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type DomainsListBySubscriptionNextResponse = DomainsListResult;
+
+// @public
+export interface DomainsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type DomainsListBySubscriptionResponse = DomainsListResult;
+
+// @public
+export interface DomainsListResult {
+ nextLink?: string;
+ value?: Domain[];
+}
+
+// @public
+export interface DomainsListSharedAccessKeysOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type DomainsListSharedAccessKeysResponse = DomainSharedAccessKeys;
+
+// @public
+export interface DomainsRegenerateKeyOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type DomainsRegenerateKeyResponse = DomainSharedAccessKeys;
+
+// @public
+export interface DomainsUpdateOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type DomainTopic = Resource & {
+ readonly systemData?: SystemData;
+ readonly provisioningState?: DomainTopicProvisioningState;
+};
+
+// @public
+export type DomainTopicProvisioningState = string;
+
+// @public
+export interface DomainTopics {
+ beginCreateOrUpdate(resourceGroupName: string, domainName: string, domainTopicName: string, options?: DomainTopicsCreateOrUpdateOptionalParams): Promise, DomainTopicsCreateOrUpdateResponse>>;
+ beginCreateOrUpdateAndWait(resourceGroupName: string, domainName: string, domainTopicName: string, options?: DomainTopicsCreateOrUpdateOptionalParams): Promise;
+ beginDelete(resourceGroupName: string, domainName: string, domainTopicName: string, options?: DomainTopicsDeleteOptionalParams): Promise, void>>;
+ beginDeleteAndWait(resourceGroupName: string, domainName: string, domainTopicName: string, options?: DomainTopicsDeleteOptionalParams): Promise;
+ get(resourceGroupName: string, domainName: string, domainTopicName: string, options?: DomainTopicsGetOptionalParams): Promise;
+ listByDomain(resourceGroupName: string, domainName: string, options?: DomainTopicsListByDomainOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface DomainTopicsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type DomainTopicsCreateOrUpdateResponse = DomainTopic;
+
+// @public
+export interface DomainTopicsDeleteOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export interface DomainTopicsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type DomainTopicsGetResponse = DomainTopic;
+
+// @public
+export interface DomainTopicsListByDomainNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type DomainTopicsListByDomainNextResponse = DomainTopicsListResult;
+
+// @public
+export interface DomainTopicsListByDomainOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type DomainTopicsListByDomainResponse = DomainTopicsListResult;
+
+// @public
+export interface DomainTopicsListResult {
+ nextLink?: string;
+ value?: DomainTopic[];
+}
+
+// @public
+export interface DomainUpdateParameters {
+ autoCreateTopicWithFirstSubscription?: boolean;
+ autoDeleteTopicWithLastSubscription?: boolean;
+ disableLocalAuth?: boolean;
+ identity?: IdentityInfo;
+ inboundIpRules?: InboundIpRule[];
+ publicNetworkAccess?: PublicNetworkAccess;
+ sku?: ResourceSku;
+ tags?: {
+ [propertyName: string]: string;
+ };
+}
+
+// @public
+export type DynamicDeliveryAttributeMapping = DeliveryAttributeMapping & {
+ type: "Dynamic";
+ sourceField?: string;
+};
+
+// @public
+export type EndpointType = string;
+
+// @public
+export type Enum25 = string;
+
+// @public
+export type Enum26 = string;
+
+// @public
+export type Enum27 = string;
+
+// @public
+export type Enum28 = string;
+
+// @public
+export type EventChannel = Resource & {
+ readonly systemData?: SystemData;
+ source?: EventChannelSource;
+ destination?: EventChannelDestination;
+ readonly provisioningState?: EventChannelProvisioningState;
+ readonly partnerTopicReadinessState?: PartnerTopicReadinessState;
+ expirationTimeIfNotActivatedUtc?: Date;
+ filter?: EventChannelFilter;
+ partnerTopicFriendlyDescription?: string;
+};
+
+// @public
+export interface EventChannelDestination {
+ azureSubscriptionId?: string;
+ partnerTopicName?: string;
+ resourceGroup?: string;
+}
+
+// @public
+export interface EventChannelFilter {
+ advancedFilters?: AdvancedFilterUnion[];
+ enableAdvancedFilteringOnArrays?: boolean;
+}
+
+// @public
+export type EventChannelProvisioningState = string;
+
+// @public
+export interface EventChannels {
+ beginDelete(resourceGroupName: string, partnerNamespaceName: string, eventChannelName: string, options?: EventChannelsDeleteOptionalParams): Promise, void>>;
+ beginDeleteAndWait(resourceGroupName: string, partnerNamespaceName: string, eventChannelName: string, options?: EventChannelsDeleteOptionalParams): Promise;
+ createOrUpdate(resourceGroupName: string, partnerNamespaceName: string, eventChannelName: string, eventChannelInfo: EventChannel, options?: EventChannelsCreateOrUpdateOptionalParams): Promise;
+ get(resourceGroupName: string, partnerNamespaceName: string, eventChannelName: string, options?: EventChannelsGetOptionalParams): Promise;
+ listByPartnerNamespace(resourceGroupName: string, partnerNamespaceName: string, options?: EventChannelsListByPartnerNamespaceOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface EventChannelsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type EventChannelsCreateOrUpdateResponse = EventChannel;
+
+// @public
+export interface EventChannelsDeleteOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export interface EventChannelsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type EventChannelsGetResponse = EventChannel;
+
+// @public
+export interface EventChannelsListByPartnerNamespaceNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type EventChannelsListByPartnerNamespaceNextResponse = EventChannelsListResult;
+
+// @public
+export interface EventChannelsListByPartnerNamespaceOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type EventChannelsListByPartnerNamespaceResponse = EventChannelsListResult;
+
+// @public
+export interface EventChannelsListResult {
+ nextLink?: string;
+ value?: EventChannel[];
+}
+
+// @public
+export interface EventChannelSource {
+ source?: string;
+}
+
+// @public
+export type EventDeliverySchema = string;
+
+// @public (undocumented)
+export class EventGridManagementClient extends EventGridManagementClientContext {
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: EventGridManagementClientOptionalParams);
+ // (undocumented)
+ domains: Domains;
+ // (undocumented)
+ domainTopics: DomainTopics;
+ // (undocumented)
+ eventChannels: EventChannels;
+ // (undocumented)
+ eventSubscriptions: EventSubscriptions;
+ // (undocumented)
+ extensionTopics: ExtensionTopics;
+ // (undocumented)
+ operations: Operations;
+ // (undocumented)
+ partnerNamespaces: PartnerNamespaces;
+ // (undocumented)
+ partnerRegistrations: PartnerRegistrations;
+ // (undocumented)
+ partnerTopicEventSubscriptions: PartnerTopicEventSubscriptions;
+ // (undocumented)
+ partnerTopics: PartnerTopics;
+ // (undocumented)
+ privateEndpointConnections: PrivateEndpointConnections;
+ // (undocumented)
+ privateLinkResources: PrivateLinkResources;
+ // (undocumented)
+ systemTopicEventSubscriptions: SystemTopicEventSubscriptions;
+ // (undocumented)
+ systemTopics: SystemTopics;
+ // (undocumented)
+ topics: Topics;
+ // (undocumented)
+ topicTypes: TopicTypes;
+}
+
+// @public (undocumented)
+export class EventGridManagementClientContext extends coreClient.ServiceClient {
+ // (undocumented)
+ $host: string;
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: EventGridManagementClientOptionalParams);
+ // (undocumented)
+ apiVersion: string;
+ // (undocumented)
+ subscriptionId: string;
+}
+
+// @public
+export interface EventGridManagementClientOptionalParams extends coreClient.ServiceClientOptions {
+ $host?: string;
+ apiVersion?: string;
+ endpoint?: string;
+}
+
+// @public
+export type EventHubEventSubscriptionDestination = EventSubscriptionDestination & {
+ endpointType: "EventHub";
+ resourceId?: string;
+ deliveryAttributeMappings?: DeliveryAttributeMappingUnion[];
+};
+
+// @public
+export type EventSubscription = Resource & {
+ readonly systemData?: SystemData;
+ readonly topic?: string;
+ readonly provisioningState?: EventSubscriptionProvisioningState;
+ destination?: EventSubscriptionDestinationUnion;
+ deliveryWithResourceIdentity?: DeliveryWithResourceIdentity;
+ filter?: EventSubscriptionFilter;
+ labels?: string[];
+ expirationTimeUtc?: Date;
+ eventDeliverySchema?: EventDeliverySchema;
+ retryPolicy?: RetryPolicy;
+ deadLetterDestination?: DeadLetterDestinationUnion;
+ deadLetterWithResourceIdentity?: DeadLetterWithResourceIdentity;
+};
+
+// @public
+export interface EventSubscriptionDestination {
+ endpointType: "WebHook" | "EventHub" | "StorageQueue" | "HybridConnection" | "ServiceBusQueue" | "ServiceBusTopic" | "AzureFunction";
+}
+
+// @public (undocumented)
+export type EventSubscriptionDestinationUnion = EventSubscriptionDestination | WebHookEventSubscriptionDestination | EventHubEventSubscriptionDestination | StorageQueueEventSubscriptionDestination | HybridConnectionEventSubscriptionDestination | ServiceBusQueueEventSubscriptionDestination | ServiceBusTopicEventSubscriptionDestination | AzureFunctionEventSubscriptionDestination;
+
+// @public
+export interface EventSubscriptionFilter {
+ advancedFilters?: AdvancedFilterUnion[];
+ enableAdvancedFilteringOnArrays?: boolean;
+ includedEventTypes?: string[];
+ isSubjectCaseSensitive?: boolean;
+ subjectBeginsWith?: string;
+ subjectEndsWith?: string;
+}
+
+// @public
+export interface EventSubscriptionFullUrl {
+ endpointUrl?: string;
+}
+
+// @public
+export interface EventSubscriptionIdentity {
+ type?: EventSubscriptionIdentityType;
+ userAssignedIdentity?: string;
+}
+
+// @public
+export type EventSubscriptionIdentityType = string;
+
+// @public
+export type EventSubscriptionProvisioningState = string;
+
+// @public
+export interface EventSubscriptions {
+ beginCreateOrUpdate(scope: string, eventSubscriptionName: string, eventSubscriptionInfo: EventSubscription, options?: EventSubscriptionsCreateOrUpdateOptionalParams): Promise, EventSubscriptionsCreateOrUpdateResponse>>;
+ beginCreateOrUpdateAndWait(scope: string, eventSubscriptionName: string, eventSubscriptionInfo: EventSubscription, options?: EventSubscriptionsCreateOrUpdateOptionalParams): Promise;
+ beginDelete(scope: string, eventSubscriptionName: string, options?: EventSubscriptionsDeleteOptionalParams): Promise, void>>;
+ beginDeleteAndWait(scope: string, eventSubscriptionName: string, options?: EventSubscriptionsDeleteOptionalParams): Promise;
+ beginUpdate(scope: string, eventSubscriptionName: string, eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters, options?: EventSubscriptionsUpdateOptionalParams): Promise, EventSubscriptionsUpdateResponse>>;
+ beginUpdateAndWait(scope: string, eventSubscriptionName: string, eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters, options?: EventSubscriptionsUpdateOptionalParams): Promise;
+ get(scope: string, eventSubscriptionName: string, options?: EventSubscriptionsGetOptionalParams): Promise;
+ getDeliveryAttributes(scope: string, eventSubscriptionName: string, options?: EventSubscriptionsGetDeliveryAttributesOptionalParams): Promise;
+ getFullUrl(scope: string, eventSubscriptionName: string, options?: EventSubscriptionsGetFullUrlOptionalParams): Promise;
+ listByDomainTopic(resourceGroupName: string, domainName: string, topicName: string, options?: EventSubscriptionsListByDomainTopicOptionalParams): PagedAsyncIterableIterator;
+ listByResource(resourceGroupName: string, providerNamespace: string, resourceTypeName: string, resourceName: string, options?: EventSubscriptionsListByResourceOptionalParams): PagedAsyncIterableIterator;
+ listGlobalByResourceGroup(resourceGroupName: string, options?: EventSubscriptionsListGlobalByResourceGroupOptionalParams): PagedAsyncIterableIterator;
+ listGlobalByResourceGroupForTopicType(resourceGroupName: string, topicTypeName: string, options?: EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams): PagedAsyncIterableIterator;
+ listGlobalBySubscription(options?: EventSubscriptionsListGlobalBySubscriptionOptionalParams): PagedAsyncIterableIterator;
+ listGlobalBySubscriptionForTopicType(topicTypeName: string, options?: EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams): PagedAsyncIterableIterator;
+ listRegionalByResourceGroup(resourceGroupName: string, location: string, options?: EventSubscriptionsListRegionalByResourceGroupOptionalParams): PagedAsyncIterableIterator;
+ listRegionalByResourceGroupForTopicType(resourceGroupName: string, location: string, topicTypeName: string, options?: EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams): PagedAsyncIterableIterator;
+ listRegionalBySubscription(location: string, options?: EventSubscriptionsListRegionalBySubscriptionOptionalParams): PagedAsyncIterableIterator;
+ listRegionalBySubscriptionForTopicType(location: string, topicTypeName: string, options?: EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface EventSubscriptionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type EventSubscriptionsCreateOrUpdateResponse = EventSubscription;
+
+// @public
+export interface EventSubscriptionsDeleteOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export interface EventSubscriptionsGetDeliveryAttributesOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type EventSubscriptionsGetDeliveryAttributesResponse = DeliveryAttributeListResult;
+
+// @public
+export interface EventSubscriptionsGetFullUrlOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type EventSubscriptionsGetFullUrlResponse = EventSubscriptionFullUrl;
+
+// @public
+export interface EventSubscriptionsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type EventSubscriptionsGetResponse = EventSubscription;
+
+// @public
+export interface EventSubscriptionsListByDomainTopicNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type EventSubscriptionsListByDomainTopicNextResponse = EventSubscriptionsListResult;
+
+// @public
+export interface EventSubscriptionsListByDomainTopicOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type EventSubscriptionsListByDomainTopicResponse = EventSubscriptionsListResult;
+
+// @public
+export interface EventSubscriptionsListByResourceNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type EventSubscriptionsListByResourceNextResponse = EventSubscriptionsListResult;
+
+// @public
+export interface EventSubscriptionsListByResourceOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type EventSubscriptionsListByResourceResponse = EventSubscriptionsListResult;
+
+// @public
+export interface EventSubscriptionsListGlobalByResourceGroupForTopicTypeNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type EventSubscriptionsListGlobalByResourceGroupForTopicTypeNextResponse = EventSubscriptionsListResult;
+
+// @public
+export interface EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type EventSubscriptionsListGlobalByResourceGroupForTopicTypeResponse = EventSubscriptionsListResult;
+
+// @public
+export interface EventSubscriptionsListGlobalByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type EventSubscriptionsListGlobalByResourceGroupNextResponse = EventSubscriptionsListResult;
+
+// @public
+export interface EventSubscriptionsListGlobalByResourceGroupOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type EventSubscriptionsListGlobalByResourceGroupResponse = EventSubscriptionsListResult;
+
+// @public
+export interface EventSubscriptionsListGlobalBySubscriptionForTopicTypeNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type EventSubscriptionsListGlobalBySubscriptionForTopicTypeNextResponse = EventSubscriptionsListResult;
+
+// @public
+export interface EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type EventSubscriptionsListGlobalBySubscriptionForTopicTypeResponse = EventSubscriptionsListResult;
+
+// @public
+export interface EventSubscriptionsListGlobalBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type EventSubscriptionsListGlobalBySubscriptionNextResponse = EventSubscriptionsListResult;
+
+// @public
+export interface EventSubscriptionsListGlobalBySubscriptionOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type EventSubscriptionsListGlobalBySubscriptionResponse = EventSubscriptionsListResult;
+
+// @public
+export interface EventSubscriptionsListRegionalByResourceGroupForTopicTypeNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type EventSubscriptionsListRegionalByResourceGroupForTopicTypeNextResponse = EventSubscriptionsListResult;
+
+// @public
+export interface EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type EventSubscriptionsListRegionalByResourceGroupForTopicTypeResponse = EventSubscriptionsListResult;
+
+// @public
+export interface EventSubscriptionsListRegionalByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type EventSubscriptionsListRegionalByResourceGroupNextResponse = EventSubscriptionsListResult;
+
+// @public
+export interface EventSubscriptionsListRegionalByResourceGroupOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type EventSubscriptionsListRegionalByResourceGroupResponse = EventSubscriptionsListResult;
+
+// @public
+export interface EventSubscriptionsListRegionalBySubscriptionForTopicTypeNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type EventSubscriptionsListRegionalBySubscriptionForTopicTypeNextResponse = EventSubscriptionsListResult;
+
+// @public
+export interface EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type EventSubscriptionsListRegionalBySubscriptionForTopicTypeResponse = EventSubscriptionsListResult;
+
+// @public
+export interface EventSubscriptionsListRegionalBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type EventSubscriptionsListRegionalBySubscriptionNextResponse = EventSubscriptionsListResult;
+
+// @public
+export interface EventSubscriptionsListRegionalBySubscriptionOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type EventSubscriptionsListRegionalBySubscriptionResponse = EventSubscriptionsListResult;
+
+// @public
+export interface EventSubscriptionsListResult {
+ nextLink?: string;
+ value?: EventSubscription[];
+}
+
+// @public
+export interface EventSubscriptionsUpdateOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type EventSubscriptionsUpdateResponse = EventSubscription;
+
+// @public
+export interface EventSubscriptionUpdateParameters {
+ deadLetterDestination?: DeadLetterDestinationUnion;
+ deadLetterWithResourceIdentity?: DeadLetterWithResourceIdentity;
+ deliveryWithResourceIdentity?: DeliveryWithResourceIdentity;
+ destination?: EventSubscriptionDestinationUnion;
+ eventDeliverySchema?: EventDeliverySchema;
+ expirationTimeUtc?: Date;
+ filter?: EventSubscriptionFilter;
+ labels?: string[];
+ retryPolicy?: RetryPolicy;
+}
+
+// @public
+export type EventType = Resource & {
+ displayName?: string;
+ description?: string;
+ schemaUrl?: string;
+ isInDefaultSet?: boolean;
+};
+
+// @public
+export interface EventTypesListResult {
+ value?: EventType[];
+}
+
+// @public
+export interface ExtendedLocation {
+ name?: string;
+ type?: string;
+}
+
+// @public
+export type ExtensionTopic = Resource & {
+ description?: string;
+ systemTopic?: string;
+};
+
+// @public
+export interface ExtensionTopics {
+ get(scope: string, options?: ExtensionTopicsGetOptionalParams): Promise;
+}
+
+// @public
+export interface ExtensionTopicsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ExtensionTopicsGetResponse = ExtensionTopic;
+
+// @public
+export type HybridConnectionEventSubscriptionDestination = EventSubscriptionDestination & {
+ endpointType: "HybridConnection";
+ resourceId?: string;
+ deliveryAttributeMappings?: DeliveryAttributeMappingUnion[];
+};
+
+// @public
+export interface IdentityInfo {
+ principalId?: string;
+ tenantId?: string;
+ type?: IdentityType;
+ userAssignedIdentities?: {
+ [propertyName: string]: UserIdentityProperties;
+ };
+}
+
+// @public
+export type IdentityType = string;
+
+// @public (undocumented)
+export interface InboundIpRule {
+ action?: IpActionType;
+ ipMask?: string;
+}
+
+// @public
+export type InputSchema = string;
+
+// @public
+export interface InputSchemaMapping {
+ inputSchemaMappingType: "Json";
+}
+
+// @public
+export type InputSchemaMappingType = string;
+
+// @public (undocumented)
+export type InputSchemaMappingUnion = InputSchemaMapping | JsonInputSchemaMapping;
+
+// @public
+export type IpActionType = string;
+
+// @public
+export type IsNotNullAdvancedFilter = AdvancedFilter & {
+ operatorType: "IsNotNull";
+};
+
+// @public
+export type IsNullOrUndefinedAdvancedFilter = AdvancedFilter & {
+ operatorType: "IsNullOrUndefined";
+};
+
+// @public
+export interface JsonField {
+ sourceField?: string;
+}
+
+// @public
+export interface JsonFieldWithDefault {
+ defaultValue?: string;
+ sourceField?: string;
+}
+
+// @public
+export type JsonInputSchemaMapping = InputSchemaMapping & {
+ inputSchemaMappingType: "Json";
+ id?: JsonField;
+ topic?: JsonField;
+ eventTime?: JsonField;
+ eventType?: JsonFieldWithDefault;
+ subject?: JsonFieldWithDefault;
+ dataVersion?: JsonFieldWithDefault;
+};
+
+// @public
+export enum KnownAdvancedFilterOperatorType {
+ // (undocumented)
+ BoolEquals = "BoolEquals",
+ // (undocumented)
+ IsNotNull = "IsNotNull",
+ // (undocumented)
+ IsNullOrUndefined = "IsNullOrUndefined",
+ // (undocumented)
+ NumberGreaterThan = "NumberGreaterThan",
+ // (undocumented)
+ NumberGreaterThanOrEquals = "NumberGreaterThanOrEquals",
+ // (undocumented)
+ NumberIn = "NumberIn",
+ // (undocumented)
+ NumberInRange = "NumberInRange",
+ // (undocumented)
+ NumberLessThan = "NumberLessThan",
+ // (undocumented)
+ NumberLessThanOrEquals = "NumberLessThanOrEquals",
+ // (undocumented)
+ NumberNotIn = "NumberNotIn",
+ // (undocumented)
+ NumberNotInRange = "NumberNotInRange",
+ // (undocumented)
+ StringBeginsWith = "StringBeginsWith",
+ // (undocumented)
+ StringContains = "StringContains",
+ // (undocumented)
+ StringEndsWith = "StringEndsWith",
+ // (undocumented)
+ StringIn = "StringIn",
+ // (undocumented)
+ StringNotBeginsWith = "StringNotBeginsWith",
+ // (undocumented)
+ StringNotContains = "StringNotContains",
+ // (undocumented)
+ StringNotEndsWith = "StringNotEndsWith",
+ // (undocumented)
+ StringNotIn = "StringNotIn"
+}
+
+// @public
+export enum KnownCreatedByType {
+ // (undocumented)
+ Application = "Application",
+ // (undocumented)
+ Key = "Key",
+ // (undocumented)
+ ManagedIdentity = "ManagedIdentity",
+ // (undocumented)
+ User = "User"
+}
+
+// @public
+export enum KnownDeadLetterEndPointType {
+ // (undocumented)
+ StorageBlob = "StorageBlob"
+}
+
+// @public
+export enum KnownDeliveryAttributeMappingType {
+ // (undocumented)
+ Dynamic = "Dynamic",
+ // (undocumented)
+ Static = "Static"
+}
+
+// @public
+export enum KnownDomainProvisioningState {
+ // (undocumented)
+ Canceled = "Canceled",
+ // (undocumented)
+ Creating = "Creating",
+ // (undocumented)
+ Deleting = "Deleting",
+ // (undocumented)
+ Failed = "Failed",
+ // (undocumented)
+ Succeeded = "Succeeded",
+ // (undocumented)
+ Updating = "Updating"
+}
+
+// @public
+export enum KnownDomainTopicProvisioningState {
+ // (undocumented)
+ Canceled = "Canceled",
+ // (undocumented)
+ Creating = "Creating",
+ // (undocumented)
+ Deleting = "Deleting",
+ // (undocumented)
+ Failed = "Failed",
+ // (undocumented)
+ Succeeded = "Succeeded",
+ // (undocumented)
+ Updating = "Updating"
+}
+
+// @public
+export enum KnownEndpointType {
+ // (undocumented)
+ AzureFunction = "AzureFunction",
+ // (undocumented)
+ EventHub = "EventHub",
+ // (undocumented)
+ HybridConnection = "HybridConnection",
+ // (undocumented)
+ ServiceBusQueue = "ServiceBusQueue",
+ // (undocumented)
+ ServiceBusTopic = "ServiceBusTopic",
+ // (undocumented)
+ StorageQueue = "StorageQueue",
+ // (undocumented)
+ WebHook = "WebHook"
+}
+
+// @public
+export enum KnownEnum25 {
+ // (undocumented)
+ Domains = "domains",
+ // (undocumented)
+ PartnerNamespaces = "partnerNamespaces",
+ // (undocumented)
+ Topics = "topics"
+}
+
+// @public
+export enum KnownEnum26 {
+ // (undocumented)
+ Domains = "domains",
+ // (undocumented)
+ PartnerNamespaces = "partnerNamespaces",
+ // (undocumented)
+ Topics = "topics"
+}
+
+// @public
+export enum KnownEnum27 {
+ // (undocumented)
+ Domains = "domains",
+ // (undocumented)
+ PartnerNamespaces = "partnerNamespaces",
+ // (undocumented)
+ Topics = "topics"
+}
+
+// @public
+export enum KnownEnum28 {
+ // (undocumented)
+ Domains = "domains",
+ // (undocumented)
+ PartnerNamespaces = "partnerNamespaces",
+ // (undocumented)
+ Topics = "topics"
+}
+
+// @public
+export enum KnownEventChannelProvisioningState {
+ // (undocumented)
+ Canceled = "Canceled",
+ // (undocumented)
+ Creating = "Creating",
+ // (undocumented)
+ Deleting = "Deleting",
+ // (undocumented)
+ Failed = "Failed",
+ // (undocumented)
+ Succeeded = "Succeeded",
+ // (undocumented)
+ Updating = "Updating"
+}
+
+// @public
+export enum KnownEventDeliverySchema {
+ // (undocumented)
+ CloudEventSchemaV10 = "CloudEventSchemaV1_0",
+ // (undocumented)
+ CustomInputSchema = "CustomInputSchema",
+ // (undocumented)
+ EventGridSchema = "EventGridSchema"
+}
+
+// @public
+export enum KnownEventSubscriptionIdentityType {
+ // (undocumented)
+ SystemAssigned = "SystemAssigned",
+ // (undocumented)
+ UserAssigned = "UserAssigned"
+}
+
+// @public
+export enum KnownEventSubscriptionProvisioningState {
+ // (undocumented)
+ AwaitingManualAction = "AwaitingManualAction",
+ // (undocumented)
+ Canceled = "Canceled",
+ // (undocumented)
+ Creating = "Creating",
+ // (undocumented)
+ Deleting = "Deleting",
+ // (undocumented)
+ Failed = "Failed",
+ // (undocumented)
+ Succeeded = "Succeeded",
+ // (undocumented)
+ Updating = "Updating"
+}
+
+// @public
+export enum KnownIdentityType {
+ // (undocumented)
+ None = "None",
+ // (undocumented)
+ SystemAssigned = "SystemAssigned",
+ // (undocumented)
+ SystemAssignedUserAssigned = "SystemAssigned, UserAssigned",
+ // (undocumented)
+ UserAssigned = "UserAssigned"
+}
+
+// @public
+export enum KnownInputSchema {
+ // (undocumented)
+ CloudEventSchemaV10 = "CloudEventSchemaV1_0",
+ // (undocumented)
+ CustomEventSchema = "CustomEventSchema",
+ // (undocumented)
+ EventGridSchema = "EventGridSchema"
+}
+
+// @public
+export enum KnownInputSchemaMappingType {
+ // (undocumented)
+ Json = "Json"
+}
+
+// @public
+export enum KnownIpActionType {
+ // (undocumented)
+ Allow = "Allow"
+}
+
+// @public
+export enum KnownPartnerNamespaceProvisioningState {
+ // (undocumented)
+ Canceled = "Canceled",
+ // (undocumented)
+ Creating = "Creating",
+ // (undocumented)
+ Deleting = "Deleting",
+ // (undocumented)
+ Failed = "Failed",
+ // (undocumented)
+ Succeeded = "Succeeded",
+ // (undocumented)
+ Updating = "Updating"
+}
+
+// @public
+export enum KnownPartnerRegistrationProvisioningState {
+ // (undocumented)
+ Canceled = "Canceled",
+ // (undocumented)
+ Creating = "Creating",
+ // (undocumented)
+ Deleting = "Deleting",
+ // (undocumented)
+ Failed = "Failed",
+ // (undocumented)
+ Succeeded = "Succeeded",
+ // (undocumented)
+ Updating = "Updating"
+}
+
+// @public
+export enum KnownPartnerRegistrationVisibilityState {
+ // (undocumented)
+ GenerallyAvailable = "GenerallyAvailable",
+ // (undocumented)
+ Hidden = "Hidden",
+ // (undocumented)
+ PublicPreview = "PublicPreview"
+}
+
+// @public
+export enum KnownPartnerTopicActivationState {
+ // (undocumented)
+ Activated = "Activated",
+ // (undocumented)
+ Deactivated = "Deactivated",
+ // (undocumented)
+ NeverActivated = "NeverActivated"
+}
+
+// @public
+export enum KnownPartnerTopicProvisioningState {
+ // (undocumented)
+ Canceled = "Canceled",
+ // (undocumented)
+ Creating = "Creating",
+ // (undocumented)
+ Deleting = "Deleting",
+ // (undocumented)
+ Failed = "Failed",
+ // (undocumented)
+ Succeeded = "Succeeded",
+ // (undocumented)
+ Updating = "Updating"
+}
+
+// @public
+export enum KnownPartnerTopicReadinessState {
+ // (undocumented)
+ ActivatedByUser = "ActivatedByUser",
+ // (undocumented)
+ DeactivatedByUser = "DeactivatedByUser",
+ // (undocumented)
+ DeletedByUser = "DeletedByUser",
+ // (undocumented)
+ NotActivatedByUserYet = "NotActivatedByUserYet"
+}
+
+// @public
+export enum KnownPersistedConnectionStatus {
+ // (undocumented)
+ Approved = "Approved",
+ // (undocumented)
+ Disconnected = "Disconnected",
+ // (undocumented)
+ Pending = "Pending",
+ // (undocumented)
+ Rejected = "Rejected"
+}
+
+// @public
+export enum KnownPublicNetworkAccess {
+ // (undocumented)
+ Disabled = "Disabled",
+ // (undocumented)
+ Enabled = "Enabled"
+}
+
+// @public
+export enum KnownResourceKind {
+ // (undocumented)
+ Azure = "Azure",
+ // (undocumented)
+ AzureArc = "AzureArc"
+}
+
+// @public
+export enum KnownResourceProvisioningState {
+ // (undocumented)
+ Canceled = "Canceled",
+ // (undocumented)
+ Creating = "Creating",
+ // (undocumented)
+ Deleting = "Deleting",
+ // (undocumented)
+ Failed = "Failed",
+ // (undocumented)
+ Succeeded = "Succeeded",
+ // (undocumented)
+ Updating = "Updating"
+}
+
+// @public
+export enum KnownResourceRegionType {
+ // (undocumented)
+ GlobalResource = "GlobalResource",
+ // (undocumented)
+ RegionalResource = "RegionalResource"
+}
+
+// @public
+export enum KnownSku {
+ // (undocumented)
+ Basic = "Basic",
+ // (undocumented)
+ Premium = "Premium"
+}
+
+// @public
+export enum KnownTopicProvisioningState {
+ // (undocumented)
+ Canceled = "Canceled",
+ // (undocumented)
+ Creating = "Creating",
+ // (undocumented)
+ Deleting = "Deleting",
+ // (undocumented)
+ Failed = "Failed",
+ // (undocumented)
+ Succeeded = "Succeeded",
+ // (undocumented)
+ Updating = "Updating"
+}
+
+// @public
+export enum KnownTopicTypePropertiesSupportedScopesForSourceItem {
+ // (undocumented)
+ AzureSubscription = "AzureSubscription",
+ // (undocumented)
+ Resource = "Resource",
+ // (undocumented)
+ ResourceGroup = "ResourceGroup"
+}
+
+// @public
+export enum KnownTopicTypeProvisioningState {
+ // (undocumented)
+ Canceled = "Canceled",
+ // (undocumented)
+ Creating = "Creating",
+ // (undocumented)
+ Deleting = "Deleting",
+ // (undocumented)
+ Failed = "Failed",
+ // (undocumented)
+ Succeeded = "Succeeded",
+ // (undocumented)
+ Updating = "Updating"
+}
+
+// @public
+export type NumberGreaterThanAdvancedFilter = AdvancedFilter & {
+ operatorType: "NumberGreaterThan";
+ value?: number;
+};
+
+// @public
+export type NumberGreaterThanOrEqualsAdvancedFilter = AdvancedFilter & {
+ operatorType: "NumberGreaterThanOrEquals";
+ value?: number;
+};
+
+// @public
+export type NumberInAdvancedFilter = AdvancedFilter & {
+ operatorType: "NumberIn";
+ values?: number[];
+};
+
+// @public
+export type NumberInRangeAdvancedFilter = AdvancedFilter & {
+ operatorType: "NumberInRange";
+ values?: number[][];
+};
+
+// @public
+export type NumberLessThanAdvancedFilter = AdvancedFilter & {
+ operatorType: "NumberLessThan";
+ value?: number;
+};
+
+// @public
+export type NumberLessThanOrEqualsAdvancedFilter = AdvancedFilter & {
+ operatorType: "NumberLessThanOrEquals";
+ value?: number;
+};
+
+// @public
+export type NumberNotInAdvancedFilter = AdvancedFilter & {
+ operatorType: "NumberNotIn";
+ values?: number[];
+};
+
+// @public
+export type NumberNotInRangeAdvancedFilter = AdvancedFilter & {
+ operatorType: "NumberNotInRange";
+ values?: number[][];
+};
+
+// @public
+export interface Operation {
+ display?: OperationInfo;
+ isDataAction?: boolean;
+ name?: string;
+ origin?: string;
+ properties?: Record;
+}
+
+// @public
+export interface OperationInfo {
+ description?: string;
+ operation?: string;
+ provider?: string;
+ resource?: string;
+}
+
+// @public
+export interface Operations {
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface OperationsListOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type OperationsListResponse = OperationsListResult;
+
+// @public
+export interface OperationsListResult {
+ value?: Operation[];
+}
+
+// @public
+export type PartnerNamespace = TrackedResource & {
+ readonly systemData?: SystemData;
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
+ readonly provisioningState?: PartnerNamespaceProvisioningState;
+ partnerRegistrationFullyQualifiedId?: string;
+ readonly endpoint?: string;
+ publicNetworkAccess?: PublicNetworkAccess;
+ inboundIpRules?: InboundIpRule[];
+ disableLocalAuth?: boolean;
+};
+
+// @public
+export type PartnerNamespaceProvisioningState = string;
+
+// @public
+export interface PartnerNamespaceRegenerateKeyRequest {
+ keyName: string;
+}
+
+// @public
+export interface PartnerNamespaces {
+ beginCreateOrUpdate(resourceGroupName: string, partnerNamespaceName: string, partnerNamespaceInfo: PartnerNamespace, options?: PartnerNamespacesCreateOrUpdateOptionalParams): Promise, PartnerNamespacesCreateOrUpdateResponse>>;
+ beginCreateOrUpdateAndWait(resourceGroupName: string, partnerNamespaceName: string, partnerNamespaceInfo: PartnerNamespace, options?: PartnerNamespacesCreateOrUpdateOptionalParams): Promise;
+ beginDelete(resourceGroupName: string, partnerNamespaceName: string, options?: PartnerNamespacesDeleteOptionalParams): Promise, void>>;
+ beginDeleteAndWait(resourceGroupName: string, partnerNamespaceName: string, options?: PartnerNamespacesDeleteOptionalParams): Promise;
+ beginUpdate(resourceGroupName: string, partnerNamespaceName: string, partnerNamespaceUpdateParameters: PartnerNamespaceUpdateParameters, options?: PartnerNamespacesUpdateOptionalParams): Promise, void>>;
+ beginUpdateAndWait(resourceGroupName: string, partnerNamespaceName: string, partnerNamespaceUpdateParameters: PartnerNamespaceUpdateParameters, options?: PartnerNamespacesUpdateOptionalParams): Promise;
+ get(resourceGroupName: string, partnerNamespaceName: string, options?: PartnerNamespacesGetOptionalParams): Promise;
+ listByResourceGroup(resourceGroupName: string, options?: PartnerNamespacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator;
+ listBySubscription(options?: PartnerNamespacesListBySubscriptionOptionalParams): PagedAsyncIterableIterator;
+ listSharedAccessKeys(resourceGroupName: string, partnerNamespaceName: string, options?: PartnerNamespacesListSharedAccessKeysOptionalParams): Promise;
+ regenerateKey(resourceGroupName: string, partnerNamespaceName: string, regenerateKeyRequest: PartnerNamespaceRegenerateKeyRequest, options?: PartnerNamespacesRegenerateKeyOptionalParams): Promise;
+}
+
+// @public
+export interface PartnerNamespacesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type PartnerNamespacesCreateOrUpdateResponse = PartnerNamespace;
+
+// @public
+export interface PartnerNamespacesDeleteOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export interface PartnerNamespacesGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type PartnerNamespacesGetResponse = PartnerNamespace;
+
+// @public
+export interface PartnerNamespaceSharedAccessKeys {
+ key1?: string;
+ key2?: string;
+}
+
+// @public
+export interface PartnerNamespacesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type PartnerNamespacesListByResourceGroupNextResponse = PartnerNamespacesListResult;
+
+// @public
+export interface PartnerNamespacesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type PartnerNamespacesListByResourceGroupResponse = PartnerNamespacesListResult;
+
+// @public
+export interface PartnerNamespacesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type PartnerNamespacesListBySubscriptionNextResponse = PartnerNamespacesListResult;
+
+// @public
+export interface PartnerNamespacesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type PartnerNamespacesListBySubscriptionResponse = PartnerNamespacesListResult;
+
+// @public
+export interface PartnerNamespacesListResult {
+ nextLink?: string;
+ value?: PartnerNamespace[];
+}
+
+// @public
+export interface PartnerNamespacesListSharedAccessKeysOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type PartnerNamespacesListSharedAccessKeysResponse = PartnerNamespaceSharedAccessKeys;
+
+// @public
+export interface PartnerNamespacesRegenerateKeyOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type PartnerNamespacesRegenerateKeyResponse = PartnerNamespaceSharedAccessKeys;
+
+// @public
+export interface PartnerNamespacesUpdateOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export interface PartnerNamespaceUpdateParameters {
+ disableLocalAuth?: boolean;
+ inboundIpRules?: InboundIpRule[];
+ publicNetworkAccess?: PublicNetworkAccess;
+ tags?: {
+ [propertyName: string]: string;
+ };
+}
+
+// @public
+export type PartnerRegistration = TrackedResource & {
+ readonly systemData?: SystemData;
+ readonly provisioningState?: PartnerRegistrationProvisioningState;
+ partnerName?: string;
+ partnerResourceTypeName?: string;
+ partnerResourceTypeDisplayName?: string;
+ partnerResourceTypeDescription?: string;
+ longDescription?: string;
+ partnerCustomerServiceNumber?: string;
+ partnerCustomerServiceExtension?: string;
+ customerServiceUri?: string;
+ setupUri?: string;
+ logoUri?: string;
+ visibilityState?: PartnerRegistrationVisibilityState;
+ authorizedAzureSubscriptionIds?: string[];
+};
+
+// @public
+export type PartnerRegistrationProvisioningState = string;
+
+// @public
+export interface PartnerRegistrations {
+ createOrUpdate(resourceGroupName: string, partnerRegistrationName: string, partnerRegistrationInfo: PartnerRegistration, options?: PartnerRegistrationsCreateOrUpdateOptionalParams): Promise;
+ delete(resourceGroupName: string, partnerRegistrationName: string, options?: PartnerRegistrationsDeleteOptionalParams): Promise;
+ get(resourceGroupName: string, partnerRegistrationName: string, options?: PartnerRegistrationsGetOptionalParams): Promise;
+ listByResourceGroup(resourceGroupName: string, options?: PartnerRegistrationsListByResourceGroupOptionalParams): PagedAsyncIterableIterator;
+ listBySubscription(options?: PartnerRegistrationsListBySubscriptionOptionalParams): PagedAsyncIterableIterator;
+ update(resourceGroupName: string, partnerRegistrationName: string, partnerRegistrationUpdateParameters: PartnerRegistrationUpdateParameters, options?: PartnerRegistrationsUpdateOptionalParams): Promise;
+}
+
+// @public
+export interface PartnerRegistrationsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type PartnerRegistrationsCreateOrUpdateResponse = PartnerRegistration;
+
+// @public
+export interface PartnerRegistrationsDeleteOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export interface PartnerRegistrationsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type PartnerRegistrationsGetResponse = PartnerRegistration;
+
+// @public
+export interface PartnerRegistrationsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type PartnerRegistrationsListByResourceGroupNextResponse = PartnerRegistrationsListResult;
+
+// @public
+export interface PartnerRegistrationsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type PartnerRegistrationsListByResourceGroupResponse = PartnerRegistrationsListResult;
+
+// @public
+export interface PartnerRegistrationsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type PartnerRegistrationsListBySubscriptionNextResponse = PartnerRegistrationsListResult;
+
+// @public
+export interface PartnerRegistrationsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type PartnerRegistrationsListBySubscriptionResponse = PartnerRegistrationsListResult;
+
+// @public
+export interface PartnerRegistrationsListResult {
+ nextLink?: string;
+ value?: PartnerRegistration[];
+}
+
+// @public
+export interface PartnerRegistrationsUpdateOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type PartnerRegistrationsUpdateResponse = PartnerRegistration;
+
+// @public
+export interface PartnerRegistrationUpdateParameters {
+ authorizedAzureSubscriptionIds?: string[];
+ logoUri?: string;
+ partnerTopicTypeDescription?: string;
+ partnerTopicTypeDisplayName?: string;
+ partnerTopicTypeName?: string;
+ setupUri?: string;
+ tags?: {
+ [propertyName: string]: string;
+ };
+}
+
+// @public
+export type PartnerRegistrationVisibilityState = string;
+
+// @public
+export type PartnerTopic = TrackedResource & {
+ readonly systemData?: SystemData;
+ identity?: IdentityInfo;
+ source?: string;
+ expirationTimeIfNotActivatedUtc?: Date;
+ readonly provisioningState?: PartnerTopicProvisioningState;
+ activationState?: PartnerTopicActivationState;
+ partnerTopicFriendlyDescription?: string;
+};
+
+// @public
+export type PartnerTopicActivationState = string;
+
+// @public
+export interface PartnerTopicEventSubscriptions {
+ beginCreateOrUpdate(resourceGroupName: string, partnerTopicName: string, eventSubscriptionName: string, eventSubscriptionInfo: EventSubscription, options?: PartnerTopicEventSubscriptionsCreateOrUpdateOptionalParams): Promise, PartnerTopicEventSubscriptionsCreateOrUpdateResponse>>;
+ beginCreateOrUpdateAndWait(resourceGroupName: string, partnerTopicName: string, eventSubscriptionName: string, eventSubscriptionInfo: EventSubscription, options?: PartnerTopicEventSubscriptionsCreateOrUpdateOptionalParams): Promise;
+ beginDelete(resourceGroupName: string, partnerTopicName: string, eventSubscriptionName: string, options?: PartnerTopicEventSubscriptionsDeleteOptionalParams): Promise, void>>;
+ beginDeleteAndWait(resourceGroupName: string, partnerTopicName: string, eventSubscriptionName: string, options?: PartnerTopicEventSubscriptionsDeleteOptionalParams): Promise;
+ beginUpdate(resourceGroupName: string, partnerTopicName: string, eventSubscriptionName: string, eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters, options?: PartnerTopicEventSubscriptionsUpdateOptionalParams): Promise, PartnerTopicEventSubscriptionsUpdateResponse>>;
+ beginUpdateAndWait(resourceGroupName: string, partnerTopicName: string, eventSubscriptionName: string, eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters, options?: PartnerTopicEventSubscriptionsUpdateOptionalParams): Promise;
+ get(resourceGroupName: string, partnerTopicName: string, eventSubscriptionName: string, options?: PartnerTopicEventSubscriptionsGetOptionalParams): Promise;
+ getDeliveryAttributes(resourceGroupName: string, partnerTopicName: string, eventSubscriptionName: string, options?: PartnerTopicEventSubscriptionsGetDeliveryAttributesOptionalParams): Promise;
+ getFullUrl(resourceGroupName: string, partnerTopicName: string, eventSubscriptionName: string, options?: PartnerTopicEventSubscriptionsGetFullUrlOptionalParams): Promise;
+ listByPartnerTopic(resourceGroupName: string, partnerTopicName: string, options?: PartnerTopicEventSubscriptionsListByPartnerTopicOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface PartnerTopicEventSubscriptionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type PartnerTopicEventSubscriptionsCreateOrUpdateResponse = EventSubscription;
+
+// @public
+export interface PartnerTopicEventSubscriptionsDeleteOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export interface PartnerTopicEventSubscriptionsGetDeliveryAttributesOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type PartnerTopicEventSubscriptionsGetDeliveryAttributesResponse = DeliveryAttributeListResult;
+
+// @public
+export interface PartnerTopicEventSubscriptionsGetFullUrlOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type PartnerTopicEventSubscriptionsGetFullUrlResponse = EventSubscriptionFullUrl;
+
+// @public
+export interface PartnerTopicEventSubscriptionsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type PartnerTopicEventSubscriptionsGetResponse = EventSubscription;
+
+// @public
+export interface PartnerTopicEventSubscriptionsListByPartnerTopicNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type PartnerTopicEventSubscriptionsListByPartnerTopicNextResponse = EventSubscriptionsListResult;
+
+// @public
+export interface PartnerTopicEventSubscriptionsListByPartnerTopicOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type PartnerTopicEventSubscriptionsListByPartnerTopicResponse = EventSubscriptionsListResult;
+
+// @public
+export interface PartnerTopicEventSubscriptionsUpdateOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type PartnerTopicEventSubscriptionsUpdateResponse = EventSubscription;
+
+// @public
+export type PartnerTopicProvisioningState = string;
+
+// @public
+export type PartnerTopicReadinessState = string;
+
+// @public
+export interface PartnerTopics {
+ activate(resourceGroupName: string, partnerTopicName: string, options?: PartnerTopicsActivateOptionalParams): Promise;
+ beginDelete(resourceGroupName: string, partnerTopicName: string, options?: PartnerTopicsDeleteOptionalParams): Promise, void>>;
+ beginDeleteAndWait(resourceGroupName: string, partnerTopicName: string, options?: PartnerTopicsDeleteOptionalParams): Promise;
+ deactivate(resourceGroupName: string, partnerTopicName: string, options?: PartnerTopicsDeactivateOptionalParams): Promise;
+ get(resourceGroupName: string, partnerTopicName: string, options?: PartnerTopicsGetOptionalParams): Promise;
+ listByResourceGroup(resourceGroupName: string, options?: PartnerTopicsListByResourceGroupOptionalParams): PagedAsyncIterableIterator;
+ listBySubscription(options?: PartnerTopicsListBySubscriptionOptionalParams): PagedAsyncIterableIterator;
+ update(resourceGroupName: string, partnerTopicName: string, partnerTopicUpdateParameters: PartnerTopicUpdateParameters, options?: PartnerTopicsUpdateOptionalParams): Promise;
+}
+
+// @public
+export interface PartnerTopicsActivateOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type PartnerTopicsActivateResponse = PartnerTopic;
+
+// @public
+export interface PartnerTopicsDeactivateOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type PartnerTopicsDeactivateResponse = PartnerTopic;
+
+// @public
+export interface PartnerTopicsDeleteOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export interface PartnerTopicsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type PartnerTopicsGetResponse = PartnerTopic;
+
+// @public
+export interface PartnerTopicsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type PartnerTopicsListByResourceGroupNextResponse = PartnerTopicsListResult;
+
+// @public
+export interface PartnerTopicsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type PartnerTopicsListByResourceGroupResponse = PartnerTopicsListResult;
+
+// @public
+export interface PartnerTopicsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type PartnerTopicsListBySubscriptionNextResponse = PartnerTopicsListResult;
+
+// @public
+export interface PartnerTopicsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type PartnerTopicsListBySubscriptionResponse = PartnerTopicsListResult;
+
+// @public
+export interface PartnerTopicsListResult {
+ nextLink?: string;
+ value?: PartnerTopic[];
+}
+
+// @public
+export interface PartnerTopicsUpdateOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type PartnerTopicsUpdateResponse = PartnerTopic;
+
+// @public
+export interface PartnerTopicUpdateParameters {
+ identity?: IdentityInfo;
+ tags?: {
+ [propertyName: string]: string;
+ };
+}
+
+// @public
+export type PersistedConnectionStatus = string;
+
+// @public
+export interface PrivateEndpoint {
+ id?: string;
+}
+
+// @public (undocumented)
+export type PrivateEndpointConnection = Resource & {
+ privateEndpoint?: PrivateEndpoint;
+ groupIds?: string[];
+ privateLinkServiceConnectionState?: ConnectionState;
+ provisioningState?: ResourceProvisioningState;
+};
+
+// @public
+export interface PrivateEndpointConnectionListResult {
+ nextLink?: string;
+ value?: PrivateEndpointConnection[];
+}
+
+// @public
+export interface PrivateEndpointConnections {
+ beginDelete(resourceGroupName: string, parentType: Enum27, parentName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise, void>>;
+ beginDeleteAndWait(resourceGroupName: string, parentType: Enum27, parentName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise;
+ beginUpdate(resourceGroupName: string, parentType: Enum26, parentName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsUpdateOptionalParams): Promise, PrivateEndpointConnectionsUpdateResponse>>;
+ beginUpdateAndWait(resourceGroupName: string, parentType: Enum26, parentName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsUpdateOptionalParams): Promise;
+ get(resourceGroupName: string, parentType: Enum25, parentName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise;
+ listByResource(resourceGroupName: string, parentType: Enum28, parentName: string, options?: PrivateEndpointConnectionsListByResourceOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
+
+// @public
+export interface PrivateEndpointConnectionsListByResourceNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type PrivateEndpointConnectionsListByResourceNextResponse = PrivateEndpointConnectionListResult;
+
+// @public
+export interface PrivateEndpointConnectionsListByResourceOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type PrivateEndpointConnectionsListByResourceResponse = PrivateEndpointConnectionListResult;
+
+// @public
+export interface PrivateEndpointConnectionsUpdateOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type PrivateEndpointConnectionsUpdateResponse = PrivateEndpointConnection;
+
+// @public
+export interface PrivateLinkResource {
+ // (undocumented)
+ displayName?: string;
+ // (undocumented)
+ groupId?: string;
+ id?: string;
+ name?: string;
+ // (undocumented)
+ requiredMembers?: string[];
+ // (undocumented)
+ requiredZoneNames?: string[];
+ type?: string;
+}
+
+// @public
+export interface PrivateLinkResources {
+ get(resourceGroupName: string, parentType: string, parentName: string, privateLinkResourceName: string, options?: PrivateLinkResourcesGetOptionalParams): Promise;
+ listByResource(resourceGroupName: string, parentType: string, parentName: string, options?: PrivateLinkResourcesListByResourceOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface PrivateLinkResourcesGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type PrivateLinkResourcesGetResponse = PrivateLinkResource;
+
+// @public
+export interface PrivateLinkResourcesListByResourceNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type PrivateLinkResourcesListByResourceNextResponse = PrivateLinkResourcesListResult;
+
+// @public
+export interface PrivateLinkResourcesListByResourceOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type PrivateLinkResourcesListByResourceResponse = PrivateLinkResourcesListResult;
+
+// @public
+export interface PrivateLinkResourcesListResult {
+ nextLink?: string;
+ value?: PrivateLinkResource[];
+}
+
+// @public
+export type PublicNetworkAccess = string;
+
+// @public
+export interface Resource {
+ readonly id?: string;
+ readonly name?: string;
+ readonly type?: string;
+}
+
+// @public
+export type ResourceKind = string;
+
+// @public
+export type ResourceProvisioningState = string;
+
+// @public
+export type ResourceRegionType = string;
+
+// @public
+export interface ResourceSku {
+ name?: Sku;
+}
+
+// @public
+export interface RetryPolicy {
+ eventTimeToLiveInMinutes?: number;
+ maxDeliveryAttempts?: number;
+}
+
+// @public
+export type ServiceBusQueueEventSubscriptionDestination = EventSubscriptionDestination & {
+ endpointType: "ServiceBusQueue";
+ resourceId?: string;
+ deliveryAttributeMappings?: DeliveryAttributeMappingUnion[];
+};
+
+// @public
+export type ServiceBusTopicEventSubscriptionDestination = EventSubscriptionDestination & {
+ endpointType: "ServiceBusTopic";
+ resourceId?: string;
+ deliveryAttributeMappings?: DeliveryAttributeMappingUnion[];
+};
+
+// @public
+export type Sku = string;
+
+// @public
+export type StaticDeliveryAttributeMapping = DeliveryAttributeMapping & {
+ type: "Static";
+ value?: string;
+ isSecret?: boolean;
+};
+
+// @public
+export type StorageBlobDeadLetterDestination = DeadLetterDestination & {
+ endpointType: "StorageBlob";
+ resourceId?: string;
+ blobContainerName?: string;
+};
+
+// @public
+export type StorageQueueEventSubscriptionDestination = EventSubscriptionDestination & {
+ endpointType: "StorageQueue";
+ resourceId?: string;
+ queueName?: string;
+ queueMessageTimeToLiveInSeconds?: number;
+};
+
+// @public
+export type StringBeginsWithAdvancedFilter = AdvancedFilter & {
+ operatorType: "StringBeginsWith";
+ values?: string[];
+};
+
+// @public
+export type StringContainsAdvancedFilter = AdvancedFilter & {
+ operatorType: "StringContains";
+ values?: string[];
+};
+
+// @public
+export type StringEndsWithAdvancedFilter = AdvancedFilter & {
+ operatorType: "StringEndsWith";
+ values?: string[];
+};
+
+// @public
+export type StringInAdvancedFilter = AdvancedFilter & {
+ operatorType: "StringIn";
+ values?: string[];
+};
+
+// @public
+export type StringNotBeginsWithAdvancedFilter = AdvancedFilter & {
+ operatorType: "StringNotBeginsWith";
+ values?: string[];
+};
+
+// @public
+export type StringNotContainsAdvancedFilter = AdvancedFilter & {
+ operatorType: "StringNotContains";
+ values?: string[];
+};
+
+// @public
+export type StringNotEndsWithAdvancedFilter = AdvancedFilter & {
+ operatorType: "StringNotEndsWith";
+ values?: string[];
+};
+
+// @public
+export type StringNotInAdvancedFilter = AdvancedFilter & {
+ operatorType: "StringNotIn";
+ values?: string[];
+};
+
+// @public
+export interface SystemData {
+ createdAt?: Date;
+ createdBy?: string;
+ createdByType?: CreatedByType;
+ lastModifiedAt?: Date;
+ lastModifiedBy?: string;
+ lastModifiedByType?: CreatedByType;
+}
+
+// @public
+export type SystemTopic = TrackedResource & {
+ readonly systemData?: SystemData;
+ identity?: IdentityInfo;
+ readonly provisioningState?: ResourceProvisioningState;
+ source?: string;
+ topicType?: string;
+ readonly metricResourceId?: string;
+};
+
+// @public
+export interface SystemTopicEventSubscriptions {
+ beginCreateOrUpdate(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, eventSubscriptionInfo: EventSubscription, options?: SystemTopicEventSubscriptionsCreateOrUpdateOptionalParams): Promise, SystemTopicEventSubscriptionsCreateOrUpdateResponse>>;
+ beginCreateOrUpdateAndWait(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, eventSubscriptionInfo: EventSubscription, options?: SystemTopicEventSubscriptionsCreateOrUpdateOptionalParams): Promise;
+ beginDelete(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, options?: SystemTopicEventSubscriptionsDeleteOptionalParams): Promise, void>>;
+ beginDeleteAndWait(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, options?: SystemTopicEventSubscriptionsDeleteOptionalParams): Promise;
+ beginUpdate(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters, options?: SystemTopicEventSubscriptionsUpdateOptionalParams): Promise, SystemTopicEventSubscriptionsUpdateResponse>>;
+ beginUpdateAndWait(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters, options?: SystemTopicEventSubscriptionsUpdateOptionalParams): Promise;
+ get(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, options?: SystemTopicEventSubscriptionsGetOptionalParams): Promise;
+ getDeliveryAttributes(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, options?: SystemTopicEventSubscriptionsGetDeliveryAttributesOptionalParams): Promise;
+ getFullUrl(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, options?: SystemTopicEventSubscriptionsGetFullUrlOptionalParams): Promise;
+ listBySystemTopic(resourceGroupName: string, systemTopicName: string, options?: SystemTopicEventSubscriptionsListBySystemTopicOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface SystemTopicEventSubscriptionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type SystemTopicEventSubscriptionsCreateOrUpdateResponse = EventSubscription;
+
+// @public
+export interface SystemTopicEventSubscriptionsDeleteOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export interface SystemTopicEventSubscriptionsGetDeliveryAttributesOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type SystemTopicEventSubscriptionsGetDeliveryAttributesResponse = DeliveryAttributeListResult;
+
+// @public
+export interface SystemTopicEventSubscriptionsGetFullUrlOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type SystemTopicEventSubscriptionsGetFullUrlResponse = EventSubscriptionFullUrl;
+
+// @public
+export interface SystemTopicEventSubscriptionsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type SystemTopicEventSubscriptionsGetResponse = EventSubscription;
+
+// @public
+export interface SystemTopicEventSubscriptionsListBySystemTopicNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type SystemTopicEventSubscriptionsListBySystemTopicNextResponse = EventSubscriptionsListResult;
+
+// @public
+export interface SystemTopicEventSubscriptionsListBySystemTopicOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type SystemTopicEventSubscriptionsListBySystemTopicResponse = EventSubscriptionsListResult;
+
+// @public
+export interface SystemTopicEventSubscriptionsUpdateOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type SystemTopicEventSubscriptionsUpdateResponse = EventSubscription;
+
+// @public
+export interface SystemTopics {
+ beginCreateOrUpdate(resourceGroupName: string, systemTopicName: string, systemTopicInfo: SystemTopic, options?: SystemTopicsCreateOrUpdateOptionalParams): Promise, SystemTopicsCreateOrUpdateResponse>>;
+ beginCreateOrUpdateAndWait(resourceGroupName: string, systemTopicName: string, systemTopicInfo: SystemTopic, options?: SystemTopicsCreateOrUpdateOptionalParams): Promise;
+ beginDelete(resourceGroupName: string, systemTopicName: string, options?: SystemTopicsDeleteOptionalParams): Promise, void>>;
+ beginDeleteAndWait(resourceGroupName: string, systemTopicName: string, options?: SystemTopicsDeleteOptionalParams): Promise;
+ beginUpdate(resourceGroupName: string, systemTopicName: string, systemTopicUpdateParameters: SystemTopicUpdateParameters, options?: SystemTopicsUpdateOptionalParams): Promise, SystemTopicsUpdateResponse>>;
+ beginUpdateAndWait(resourceGroupName: string, systemTopicName: string, systemTopicUpdateParameters: SystemTopicUpdateParameters, options?: SystemTopicsUpdateOptionalParams): Promise;
+ get(resourceGroupName: string, systemTopicName: string, options?: SystemTopicsGetOptionalParams): Promise;
+ listByResourceGroup(resourceGroupName: string, options?: SystemTopicsListByResourceGroupOptionalParams): PagedAsyncIterableIterator;
+ listBySubscription(options?: SystemTopicsListBySubscriptionOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface SystemTopicsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type SystemTopicsCreateOrUpdateResponse = SystemTopic;
+
+// @public
+export interface SystemTopicsDeleteOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export interface SystemTopicsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type SystemTopicsGetResponse = SystemTopic;
+
+// @public
+export interface SystemTopicsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type SystemTopicsListByResourceGroupNextResponse = SystemTopicsListResult;
+
+// @public
+export interface SystemTopicsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type SystemTopicsListByResourceGroupResponse = SystemTopicsListResult;
+
+// @public
+export interface SystemTopicsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type SystemTopicsListBySubscriptionNextResponse = SystemTopicsListResult;
+
+// @public
+export interface SystemTopicsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type SystemTopicsListBySubscriptionResponse = SystemTopicsListResult;
+
+// @public
+export interface SystemTopicsListResult {
+ nextLink?: string;
+ value?: SystemTopic[];
+}
+
+// @public
+export interface SystemTopicsUpdateOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type SystemTopicsUpdateResponse = SystemTopic;
+
+// @public
+export interface SystemTopicUpdateParameters {
+ identity?: IdentityInfo;
+ tags?: {
+ [propertyName: string]: string;
+ };
+}
+
+// @public
+export type Topic = TrackedResource & {
+ sku?: ResourceSku;
+ identity?: IdentityInfo;
+ kind?: ResourceKind;
+ extendedLocation?: ExtendedLocation;
+ readonly systemData?: SystemData;
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
+ readonly provisioningState?: TopicProvisioningState;
+ readonly endpoint?: string;
+ inputSchema?: InputSchema;
+ inputSchemaMapping?: InputSchemaMappingUnion;
+ readonly metricResourceId?: string;
+ publicNetworkAccess?: PublicNetworkAccess;
+ inboundIpRules?: InboundIpRule[];
+ disableLocalAuth?: boolean;
+};
+
+// @public
+export type TopicProvisioningState = string;
+
+// @public
+export interface TopicRegenerateKeyRequest {
+ keyName: string;
+}
+
+// @public
+export interface Topics {
+ beginCreateOrUpdate(resourceGroupName: string, topicName: string, topicInfo: Topic, options?: TopicsCreateOrUpdateOptionalParams): Promise, TopicsCreateOrUpdateResponse>>;
+ beginCreateOrUpdateAndWait(resourceGroupName: string, topicName: string, topicInfo: Topic, options?: TopicsCreateOrUpdateOptionalParams): Promise;
+ beginDelete(resourceGroupName: string, topicName: string, options?: TopicsDeleteOptionalParams): Promise, void>>;
+ beginDeleteAndWait(resourceGroupName: string, topicName: string, options?: TopicsDeleteOptionalParams): Promise;
+ beginRegenerateKey(resourceGroupName: string, topicName: string, regenerateKeyRequest: TopicRegenerateKeyRequest, options?: TopicsRegenerateKeyOptionalParams): Promise, TopicsRegenerateKeyResponse>>;
+ beginRegenerateKeyAndWait(resourceGroupName: string, topicName: string, regenerateKeyRequest: TopicRegenerateKeyRequest, options?: TopicsRegenerateKeyOptionalParams): Promise;
+ beginUpdate(resourceGroupName: string, topicName: string, topicUpdateParameters: TopicUpdateParameters, options?: TopicsUpdateOptionalParams): Promise, void>>;
+ beginUpdateAndWait(resourceGroupName: string, topicName: string, topicUpdateParameters: TopicUpdateParameters, options?: TopicsUpdateOptionalParams): Promise;
+ get(resourceGroupName: string, topicName: string, options?: TopicsGetOptionalParams): Promise;
+ listByResourceGroup(resourceGroupName: string, options?: TopicsListByResourceGroupOptionalParams): PagedAsyncIterableIterator;
+ listBySubscription(options?: TopicsListBySubscriptionOptionalParams): PagedAsyncIterableIterator;
+ listEventTypes(resourceGroupName: string, providerNamespace: string, resourceTypeName: string, resourceName: string, options?: TopicsListEventTypesOptionalParams): PagedAsyncIterableIterator;
+ listSharedAccessKeys(resourceGroupName: string, topicName: string, options?: TopicsListSharedAccessKeysOptionalParams): Promise;
+}
+
+// @public
+export interface TopicsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type TopicsCreateOrUpdateResponse = Topic;
+
+// @public
+export interface TopicsDeleteOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export interface TopicsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type TopicsGetResponse = Topic;
+
+// @public
+export interface TopicSharedAccessKeys {
+ key1?: string;
+ key2?: string;
+}
+
+// @public
+export interface TopicsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type TopicsListByResourceGroupNextResponse = TopicsListResult;
+
+// @public
+export interface TopicsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type TopicsListByResourceGroupResponse = TopicsListResult;
+
+// @public
+export interface TopicsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type TopicsListBySubscriptionNextResponse = TopicsListResult;
+
+// @public
+export interface TopicsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
+ filter?: string;
+ top?: number;
+}
+
+// @public
+export type TopicsListBySubscriptionResponse = TopicsListResult;
+
+// @public
+export interface TopicsListEventTypesOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type TopicsListEventTypesResponse = EventTypesListResult;
+
+// @public
+export interface TopicsListResult {
+ nextLink?: string;
+ value?: Topic[];
+}
+
+// @public
+export interface TopicsListSharedAccessKeysOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type TopicsListSharedAccessKeysResponse = TopicSharedAccessKeys;
+
+// @public
+export interface TopicsRegenerateKeyOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type TopicsRegenerateKeyResponse = TopicSharedAccessKeys;
+
+// @public
+export interface TopicsUpdateOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type TopicTypeInfo = Resource & {
+ provider?: string;
+ displayName?: string;
+ description?: string;
+ resourceRegionType?: ResourceRegionType;
+ provisioningState?: TopicTypeProvisioningState;
+ supportedLocations?: string[];
+ sourceResourceFormat?: string;
+ supportedScopesForSource?: TopicTypePropertiesSupportedScopesForSourceItem[];
+};
+
+// @public
+export type TopicTypePropertiesSupportedScopesForSourceItem = string;
+
+// @public
+export type TopicTypeProvisioningState = string;
+
+// @public
+export interface TopicTypes {
+ get(topicTypeName: string, options?: TopicTypesGetOptionalParams): Promise;
+ list(options?: TopicTypesListOptionalParams): PagedAsyncIterableIterator;
+ listEventTypes(topicTypeName: string, options?: TopicTypesListEventTypesOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface TopicTypesGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type TopicTypesGetResponse = TopicTypeInfo;
+
+// @public
+export interface TopicTypesListEventTypesOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type TopicTypesListEventTypesResponse = EventTypesListResult;
+
+// @public
+export interface TopicTypesListOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type TopicTypesListResponse = TopicTypesListResult;
+
+// @public
+export interface TopicTypesListResult {
+ value?: TopicTypeInfo[];
+}
+
+// @public
+export interface TopicUpdateParameters {
+ disableLocalAuth?: boolean;
+ identity?: IdentityInfo;
+ inboundIpRules?: InboundIpRule[];
+ publicNetworkAccess?: PublicNetworkAccess;
+ sku?: ResourceSku;
+ tags?: {
+ [propertyName: string]: string;
+ };
+}
+
+// @public
+export type TrackedResource = Resource & {
+ location: string;
+ tags?: {
+ [propertyName: string]: string;
+ };
+};
+
+// @public
+export interface UserIdentityProperties {
+ clientId?: string;
+ principalId?: string;
+}
+
+// @public
+export type WebHookEventSubscriptionDestination = EventSubscriptionDestination & {
+ endpointType: "WebHook";
+ endpointUrl?: string;
+ readonly endpointBaseUrl?: string;
+ maxEventsPerBatch?: number;
+ preferredBatchSizeInKilobytes?: number;
+ azureActiveDirectoryTenantId?: string;
+ azureActiveDirectoryApplicationIdOrUri?: string;
+ deliveryAttributeMappings?: DeliveryAttributeMappingUnion[];
+};
+
+
+// (No @packageDocumentation comment for this package)
+
+```
diff --git a/sdk/eventgrid/arm-eventgrid/rollup.config.js b/sdk/eventgrid/arm-eventgrid/rollup.config.js
index c26f05776166..9be1955eb7f1 100644
--- a/sdk/eventgrid/arm-eventgrid/rollup.config.js
+++ b/sdk/eventgrid/arm-eventgrid/rollup.config.js
@@ -1,37 +1,188 @@
-import rollup from "rollup";
-import nodeResolve from "rollup-plugin-node-resolve";
-import sourcemaps from "rollup-plugin-sourcemaps";
-
-/**
- * @type {rollup.RollupFileOptions}
- */
-const config = {
- input: "./esm/eventGridManagementClient.js",
- external: [
- "@azure/ms-rest-js",
- "@azure/ms-rest-azure-js"
- ],
- output: {
- file: "./dist/arm-eventgrid.js",
- format: "umd",
- name: "Azure.ArmEventgrid",
- sourcemap: true,
- globals: {
- "@azure/ms-rest-js": "msRest",
- "@azure/ms-rest-azure-js": "msRestAzure"
- },
- banner: `/*
+/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */`
- },
- plugins: [
- nodeResolve({ mainFields: ['module', 'main'] }),
- sourcemaps()
- ]
+ */
+
+import nodeResolve from "@rollup/plugin-node-resolve";
+import cjs from "@rollup/plugin-commonjs";
+import sourcemaps from "rollup-plugin-sourcemaps";
+import multiEntry from "@rollup/plugin-multi-entry";
+import json from "@rollup/plugin-json";
+
+import nodeBuiltins from "builtin-modules";
+
+/**
+ * Gets the proper configuration needed for rollup's commonJS plugin for @opentelemetry/api.
+ *
+ * NOTE: this manual configuration is only needed because OpenTelemetry uses an
+ * __exportStar downleveled helper function to declare its exports which confuses
+ * rollup's automatic discovery mechanism.
+ *
+ * @returns an object reference that can be `...`'d into your cjs() configuration.
+ */
+export function openTelemetryCommonJs() {
+ const namedExports = {};
+
+ for (const key of [
+ "@opentelemetry/api",
+ "@azure/core-tracing/node_modules/@opentelemetry/api"
+ ]) {
+ namedExports[key] = [
+ "SpanKind",
+ "TraceFlags",
+ "getSpan",
+ "setSpan",
+ "SpanStatusCode",
+ "getSpanContext",
+ "setSpanContext"
+ ];
+ }
+
+ const releasedOpenTelemetryVersions = ["0.10.2", "1.0.0-rc.0"];
+
+ for (const version of releasedOpenTelemetryVersions) {
+ namedExports[
+ // working around a limitation in the rollup common.js plugin - it's not able to resolve these modules so the named exports listed above will not get applied. We have to drill down to the actual path.
+ `../../../common/temp/node_modules/.pnpm/@opentelemetry/api@${version}/node_modules/@opentelemetry/api/build/src/index.js`
+ ] = [
+ "SpanKind",
+ "TraceFlags",
+ "getSpan",
+ "setSpan",
+ "StatusCode",
+ "CanonicalCode",
+ "getSpanContext",
+ "setSpanContext"
+ ];
+ }
+
+ return namedExports;
+}
+
+// #region Warning Handler
+
+/**
+ * A function that can determine whether a rollupwarning should be ignored. If
+ * the function returns `true`, then the warning will not be displayed.
+ */
+
+function ignoreNiseSinonEvalWarnings(warning) {
+ return (
+ warning.code === "EVAL" &&
+ warning.id &&
+ (warning.id.includes("node_modules/nise") ||
+ warning.id.includes("node_modules/sinon")) === true
+ );
+}
+
+function ignoreChaiCircularDependencyWarnings(warning) {
+ return (
+ warning.code === "CIRCULAR_DEPENDENCY" &&
+ warning.importer && warning.importer.includes("node_modules/chai") === true
+ );
+}
+
+const warningInhibitors = [
+ ignoreChaiCircularDependencyWarnings,
+ ignoreNiseSinonEvalWarnings
+];
+
+/**
+ * Construct a warning handler for the shared rollup configuration
+ * that ignores certain warnings that are not relevant to testing.
+ */
+function makeOnWarnForTesting() {
+ return (warning, warn) => {
+ // If every inhibitor returns false (i.e. no inhibitors), then show the warning
+ if (warningInhibitors.every((inhib) => !inhib(warning))) {
+ warn(warning);
+ }
+ };
+}
+
+// #endregion
+
+function makeBrowserTestConfig() {
+ const config = {
+ input: {
+ include: ["dist-esm/test/**/*.spec.js"],
+ exclude: ["dist-esm/test/**/node/**"]
+ },
+ output: {
+ file: `dist-test/index.browser.js`,
+ format: "umd",
+ sourcemap: true
+ },
+ preserveSymlinks: false,
+ plugins: [
+ multiEntry({ exports: false }),
+ nodeResolve({
+ mainFields: ["module", "browser"]
+ }),
+ cjs({
+ namedExports: {
+ // Chai's strange internal architecture makes it impossible to statically
+ // analyze its exports.
+ chai: [
+ "version",
+ "use",
+ "util",
+ "config",
+ "expect",
+ "should",
+ "assert"
+ ],
+ ...openTelemetryCommonJs()
+ }
+ }),
+ json(),
+ sourcemaps()
+ //viz({ filename: "dist-test/browser-stats.html", sourcemap: true })
+ ],
+ onwarn: makeOnWarnForTesting(),
+ // Disable tree-shaking of test code. In rollup-plugin-node-resolve@5.0.0,
+ // rollup started respecting the "sideEffects" field in package.json. Since
+ // our package.json sets "sideEffects=false", this also applies to test
+ // code, which causes all tests to be removed by tree-shaking.
+ treeshake: false
+ };
+
+ return config;
+}
+
+const defaultConfigurationOptions = {
+ disableBrowserBundle: false
};
-export default config;
+export function makeConfig(pkg, options) {
+ options = {
+ ...defaultConfigurationOptions,
+ ...(options || {})
+ };
+
+ const baseConfig = {
+ // Use the package's module field if it has one
+ input: pkg["module"] || "dist-esm/src/index.js",
+ external: [
+ ...nodeBuiltins,
+ ...Object.keys(pkg.dependencies),
+ ...Object.keys(pkg.devDependencies)
+ ],
+ output: { file: "dist/index.js", format: "cjs", sourcemap: true },
+ preserveSymlinks: false,
+ plugins: [sourcemaps(), nodeResolve(), cjs()]
+ };
+
+ const config = [baseConfig];
+
+ if (!options.disableBrowserBundle) {
+ config.push(makeBrowserTestConfig());
+ }
+
+ return config;
+}
+
+export default makeConfig(require("./package.json"));
diff --git a/sdk/eventgrid/arm-eventgrid/src/eventGridManagementClient.ts b/sdk/eventgrid/arm-eventgrid/src/eventGridManagementClient.ts
index a94dd9bbe5b6..83ce1ac3d700 100644
--- a/sdk/eventgrid/arm-eventgrid/src/eventGridManagementClient.ts
+++ b/sdk/eventgrid/arm-eventgrid/src/eventGridManagementClient.ts
@@ -3,76 +3,99 @@
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is
- * regenerated.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-import * as msRest from "@azure/ms-rest-js";
-import { TokenCredential } from "@azure/core-auth";
-import * as Models from "./models";
-import * as Mappers from "./models/mappers";
-import * as operations from "./operations";
+import * as coreAuth from "@azure/core-auth";
+import {
+ DomainsImpl,
+ DomainTopicsImpl,
+ EventChannelsImpl,
+ EventSubscriptionsImpl,
+ SystemTopicEventSubscriptionsImpl,
+ PartnerTopicEventSubscriptionsImpl,
+ OperationsImpl,
+ PartnerNamespacesImpl,
+ PartnerRegistrationsImpl,
+ PartnerTopicsImpl,
+ PrivateEndpointConnectionsImpl,
+ PrivateLinkResourcesImpl,
+ SystemTopicsImpl,
+ TopicsImpl,
+ ExtensionTopicsImpl,
+ TopicTypesImpl
+} from "./operations";
+import {
+ Domains,
+ DomainTopics,
+ EventChannels,
+ EventSubscriptions,
+ SystemTopicEventSubscriptions,
+ PartnerTopicEventSubscriptions,
+ Operations,
+ PartnerNamespaces,
+ PartnerRegistrations,
+ PartnerTopics,
+ PrivateEndpointConnections,
+ PrivateLinkResources,
+ SystemTopics,
+ Topics,
+ ExtensionTopics,
+ TopicTypes
+} from "./operationsInterfaces";
import { EventGridManagementClientContext } from "./eventGridManagementClientContext";
+import { EventGridManagementClientOptionalParams } from "./models";
-
-class EventGridManagementClient extends EventGridManagementClientContext {
- // Operation groups
- domains: operations.Domains;
- domainTopics: operations.DomainTopics;
- eventChannels: operations.EventChannels;
- eventSubscriptions: operations.EventSubscriptions;
- systemTopicEventSubscriptions: operations.SystemTopicEventSubscriptions;
- partnerTopicEventSubscriptions: operations.PartnerTopicEventSubscriptions;
- operations: operations.Operations;
- partnerNamespaces: operations.PartnerNamespaces;
- partnerRegistrations: operations.PartnerRegistrations;
- partnerTopics: operations.PartnerTopics;
- privateEndpointConnections: operations.PrivateEndpointConnections;
- privateLinkResources: operations.PrivateLinkResources;
- systemTopics: operations.SystemTopics;
- topics: operations.Topics;
- extensionTopics: operations.ExtensionTopics;
- topicTypes: operations.TopicTypes;
-
+export class EventGridManagementClient extends EventGridManagementClientContext {
/**
* Initializes a new instance of the EventGridManagementClient class.
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
- * more information about these credentials, see
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
- * @azure/ms-rest-browserauth are also supported.
+ * @param credentials Subscription credentials which uniquely identify client subscription.
* @param subscriptionId Subscription credentials that uniquely identify a Microsoft Azure
- * subscription. The subscription ID forms part of the URI for every service call.
- * @param [options] The parameter options
+ * subscription. The subscription ID forms part of the URI for every service call.
+ * @param options The parameter options
*/
- constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.EventGridManagementClientOptions) {
+ constructor(
+ credentials: coreAuth.TokenCredential,
+ subscriptionId: string,
+ options?: EventGridManagementClientOptionalParams
+ ) {
super(credentials, subscriptionId, options);
- this.domains = new operations.Domains(this);
- this.domainTopics = new operations.DomainTopics(this);
- this.eventChannels = new operations.EventChannels(this);
- this.eventSubscriptions = new operations.EventSubscriptions(this);
- this.systemTopicEventSubscriptions = new operations.SystemTopicEventSubscriptions(this);
- this.partnerTopicEventSubscriptions = new operations.PartnerTopicEventSubscriptions(this);
- this.operations = new operations.Operations(this);
- this.partnerNamespaces = new operations.PartnerNamespaces(this);
- this.partnerRegistrations = new operations.PartnerRegistrations(this);
- this.partnerTopics = new operations.PartnerTopics(this);
- this.privateEndpointConnections = new operations.PrivateEndpointConnections(this);
- this.privateLinkResources = new operations.PrivateLinkResources(this);
- this.systemTopics = new operations.SystemTopics(this);
- this.topics = new operations.Topics(this);
- this.extensionTopics = new operations.ExtensionTopics(this);
- this.topicTypes = new operations.TopicTypes(this);
+ this.domains = new DomainsImpl(this);
+ this.domainTopics = new DomainTopicsImpl(this);
+ this.eventChannels = new EventChannelsImpl(this);
+ this.eventSubscriptions = new EventSubscriptionsImpl(this);
+ this.systemTopicEventSubscriptions = new SystemTopicEventSubscriptionsImpl(
+ this
+ );
+ this.partnerTopicEventSubscriptions = new PartnerTopicEventSubscriptionsImpl(
+ this
+ );
+ this.operations = new OperationsImpl(this);
+ this.partnerNamespaces = new PartnerNamespacesImpl(this);
+ this.partnerRegistrations = new PartnerRegistrationsImpl(this);
+ this.partnerTopics = new PartnerTopicsImpl(this);
+ this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
+ this.privateLinkResources = new PrivateLinkResourcesImpl(this);
+ this.systemTopics = new SystemTopicsImpl(this);
+ this.topics = new TopicsImpl(this);
+ this.extensionTopics = new ExtensionTopicsImpl(this);
+ this.topicTypes = new TopicTypesImpl(this);
}
-}
-// Operation Specifications
-
-export {
- EventGridManagementClient,
- EventGridManagementClientContext,
- Models as EventGridManagementModels,
- Mappers as EventGridManagementMappers
-};
-export * from "./operations";
+ domains: Domains;
+ domainTopics: DomainTopics;
+ eventChannels: EventChannels;
+ eventSubscriptions: EventSubscriptions;
+ systemTopicEventSubscriptions: SystemTopicEventSubscriptions;
+ partnerTopicEventSubscriptions: PartnerTopicEventSubscriptions;
+ operations: Operations;
+ partnerNamespaces: PartnerNamespaces;
+ partnerRegistrations: PartnerRegistrations;
+ partnerTopics: PartnerTopics;
+ privateEndpointConnections: PrivateEndpointConnections;
+ privateLinkResources: PrivateLinkResources;
+ systemTopics: SystemTopics;
+ topics: Topics;
+ extensionTopics: ExtensionTopics;
+ topicTypes: TopicTypes;
+}
diff --git a/sdk/eventgrid/arm-eventgrid/src/eventGridManagementClientContext.ts b/sdk/eventgrid/arm-eventgrid/src/eventGridManagementClientContext.ts
index bb8fd2444771..95af30ff7db6 100644
--- a/sdk/eventgrid/arm-eventgrid/src/eventGridManagementClientContext.ts
+++ b/sdk/eventgrid/arm-eventgrid/src/eventGridManagementClientContext.ts
@@ -3,66 +3,69 @@
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is
- * regenerated.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-import * as Models from "./models";
-import * as msRest from "@azure/ms-rest-js";
-import * as msRestAzure from "@azure/ms-rest-azure-js";
-import { TokenCredential } from "@azure/core-auth";
+import * as coreClient from "@azure/core-client";
+import * as coreAuth from "@azure/core-auth";
+import { EventGridManagementClientOptionalParams } from "./models";
-const packageName = "@azure/arm-eventgrid";
-const packageVersion = "11.0.0";
-
-export class EventGridManagementClientContext extends msRestAzure.AzureServiceClient {
- credentials: msRest.ServiceClientCredentials | TokenCredential;
+export class EventGridManagementClientContext extends coreClient.ServiceClient {
+ $host: string;
subscriptionId: string;
- apiVersion?: string;
+ apiVersion: string;
/**
- * Initializes a new instance of the EventGridManagementClient class.
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
- * more information about these credentials, see
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
- * @azure/ms-rest-browserauth are also supported.
+ * Initializes a new instance of the EventGridManagementClientContext class.
+ * @param credentials Subscription credentials which uniquely identify client subscription.
* @param subscriptionId Subscription credentials that uniquely identify a Microsoft Azure
- * subscription. The subscription ID forms part of the URI for every service call.
- * @param [options] The parameter options
+ * subscription. The subscription ID forms part of the URI for every service call.
+ * @param options The parameter options
*/
- constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.EventGridManagementClientOptions) {
- if (credentials == undefined) {
- throw new Error('\'credentials\' cannot be null.');
+ constructor(
+ credentials: coreAuth.TokenCredential,
+ subscriptionId: string,
+ options?: EventGridManagementClientOptionalParams
+ ) {
+ if (credentials === undefined) {
+ throw new Error("'credentials' cannot be null");
}
- if (subscriptionId == undefined) {
- throw new Error('\'subscriptionId\' cannot be null.');
+ if (subscriptionId === undefined) {
+ throw new Error("'subscriptionId' cannot be null");
}
+ // Initializing default values for options
if (!options) {
options = {};
}
- if (!options.userAgent) {
- const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
- options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
- }
+ const defaults: EventGridManagementClientOptionalParams = {
+ requestContentType: "application/json; charset=utf-8",
+ credential: credentials
+ };
- super(credentials, options);
+ const packageDetails = `azsdk-js-arm-eventgrid/30.0.0-beta.1`;
+ const userAgentPrefix =
+ options.userAgentOptions && options.userAgentOptions.userAgentPrefix
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
+ : `${packageDetails}`;
- this.apiVersion = '2021-06-01-preview';
- this.acceptLanguage = 'en-US';
- this.longRunningOperationRetryTimeout = 30;
- this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
- this.requestContentType = "application/json; charset=utf-8";
- this.credentials = credentials;
+ if (!options.credentialScopes) {
+ options.credentialScopes = ["https://management.azure.com/.default"];
+ }
+ const optionsWithDefaults = {
+ ...defaults,
+ ...options,
+ userAgentOptions: {
+ userAgentPrefix
+ },
+ baseUri: options.endpoint || "https://management.azure.com"
+ };
+ super(optionsWithDefaults);
+ // Parameter assignments
this.subscriptionId = subscriptionId;
- if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
- this.acceptLanguage = options.acceptLanguage;
- }
- if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
- this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
- }
+ // Assigning values to Constant parameters
+ this.$host = options.$host || "https://management.azure.com";
+ this.apiVersion = options.apiVersion || "2021-06-01-preview";
}
}
diff --git a/sdk/eventgrid/arm-eventgrid/src/index.ts b/sdk/eventgrid/arm-eventgrid/src/index.ts
new file mode 100644
index 000000000000..664581ac055e
--- /dev/null
+++ b/sdk/eventgrid/arm-eventgrid/src/index.ts
@@ -0,0 +1,13 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+///
+export * from "./models";
+export { EventGridManagementClient } from "./eventGridManagementClient";
+export { EventGridManagementClientContext } from "./eventGridManagementClientContext";
+export * from "./operationsInterfaces";
diff --git a/sdk/eventgrid/arm-eventgrid/src/lroImpl.ts b/sdk/eventgrid/arm-eventgrid/src/lroImpl.ts
new file mode 100644
index 000000000000..518d5f053b4e
--- /dev/null
+++ b/sdk/eventgrid/arm-eventgrid/src/lroImpl.ts
@@ -0,0 +1,34 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+import { LongRunningOperation, LroResponse } from "@azure/core-lro";
+
+export class LroImpl implements LongRunningOperation {
+ constructor(
+ private sendOperationFn: (args: any, spec: any) => Promise>,
+ private args: Record,
+ private spec: {
+ readonly requestBody?: unknown;
+ readonly path?: string;
+ readonly httpMethod: string;
+ } & Record,
+ public requestPath: string = spec.path!,
+ public requestMethod: string = spec.httpMethod
+ ) {}
+ public async sendInitialRequest(): Promise> {
+ return this.sendOperationFn(this.args, this.spec);
+ }
+ public async sendPollRequest(path: string): Promise> {
+ const { requestBody, ...restSpec } = this.spec;
+ return this.sendOperationFn(this.args, {
+ ...restSpec,
+ path,
+ httpMethod: "GET"
+ });
+ }
+}
diff --git a/sdk/eventgrid/arm-eventgrid/src/models/domainTopicsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/domainTopicsMappers.ts
deleted file mode 100644
index 9a88c5f158ae..000000000000
--- a/sdk/eventgrid/arm-eventgrid/src/models/domainTopicsMappers.ts
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AdvancedFilter,
- AzureFunctionEventSubscriptionDestination,
- BaseResource,
- BoolEqualsAdvancedFilter,
- CloudError,
- ConnectionState,
- DeadLetterDestination,
- DeadLetterWithResourceIdentity,
- DeliveryAttributeMapping,
- DeliveryWithResourceIdentity,
- Domain,
- DomainTopic,
- DomainTopicsListResult,
- DynamicDeliveryAttributeMapping,
- EventChannel,
- EventChannelDestination,
- EventChannelFilter,
- EventChannelSource,
- EventHubEventSubscriptionDestination,
- EventSubscription,
- EventSubscriptionDestination,
- EventSubscriptionFilter,
- EventSubscriptionIdentity,
- EventType,
- ExtendedLocation,
- ExtensionTopic,
- HybridConnectionEventSubscriptionDestination,
- IdentityInfo,
- InboundIpRule,
- InputSchemaMapping,
- IsNotNullAdvancedFilter,
- IsNullOrUndefinedAdvancedFilter,
- JsonField,
- JsonFieldWithDefault,
- JsonInputSchemaMapping,
- NumberGreaterThanAdvancedFilter,
- NumberGreaterThanOrEqualsAdvancedFilter,
- NumberInAdvancedFilter,
- NumberInRangeAdvancedFilter,
- NumberLessThanAdvancedFilter,
- NumberLessThanOrEqualsAdvancedFilter,
- NumberNotInAdvancedFilter,
- NumberNotInRangeAdvancedFilter,
- PartnerNamespace,
- PartnerRegistration,
- PartnerTopic,
- PrivateEndpoint,
- PrivateEndpointConnection,
- Resource,
- ResourceSku,
- RetryPolicy,
- ServiceBusQueueEventSubscriptionDestination,
- ServiceBusTopicEventSubscriptionDestination,
- StaticDeliveryAttributeMapping,
- StorageBlobDeadLetterDestination,
- StorageQueueEventSubscriptionDestination,
- StringBeginsWithAdvancedFilter,
- StringContainsAdvancedFilter,
- StringEndsWithAdvancedFilter,
- StringInAdvancedFilter,
- StringNotBeginsWithAdvancedFilter,
- StringNotContainsAdvancedFilter,
- StringNotEndsWithAdvancedFilter,
- StringNotInAdvancedFilter,
- SystemData,
- SystemTopic,
- Topic,
- TopicTypeInfo,
- TrackedResource,
- UserIdentityProperties,
- WebHookEventSubscriptionDestination
-} from "../models/mappers";
diff --git a/sdk/eventgrid/arm-eventgrid/src/models/domainsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/domainsMappers.ts
deleted file mode 100644
index 701d7d83192e..000000000000
--- a/sdk/eventgrid/arm-eventgrid/src/models/domainsMappers.ts
+++ /dev/null
@@ -1,85 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AdvancedFilter,
- AzureFunctionEventSubscriptionDestination,
- BaseResource,
- BoolEqualsAdvancedFilter,
- CloudError,
- ConnectionState,
- DeadLetterDestination,
- DeadLetterWithResourceIdentity,
- DeliveryAttributeMapping,
- DeliveryWithResourceIdentity,
- Domain,
- DomainRegenerateKeyRequest,
- DomainSharedAccessKeys,
- DomainsListResult,
- DomainTopic,
- DomainUpdateParameters,
- DynamicDeliveryAttributeMapping,
- EventChannel,
- EventChannelDestination,
- EventChannelFilter,
- EventChannelSource,
- EventHubEventSubscriptionDestination,
- EventSubscription,
- EventSubscriptionDestination,
- EventSubscriptionFilter,
- EventSubscriptionIdentity,
- EventType,
- ExtendedLocation,
- ExtensionTopic,
- HybridConnectionEventSubscriptionDestination,
- IdentityInfo,
- InboundIpRule,
- InputSchemaMapping,
- IsNotNullAdvancedFilter,
- IsNullOrUndefinedAdvancedFilter,
- JsonField,
- JsonFieldWithDefault,
- JsonInputSchemaMapping,
- NumberGreaterThanAdvancedFilter,
- NumberGreaterThanOrEqualsAdvancedFilter,
- NumberInAdvancedFilter,
- NumberInRangeAdvancedFilter,
- NumberLessThanAdvancedFilter,
- NumberLessThanOrEqualsAdvancedFilter,
- NumberNotInAdvancedFilter,
- NumberNotInRangeAdvancedFilter,
- PartnerNamespace,
- PartnerRegistration,
- PartnerTopic,
- PrivateEndpoint,
- PrivateEndpointConnection,
- Resource,
- ResourceSku,
- RetryPolicy,
- ServiceBusQueueEventSubscriptionDestination,
- ServiceBusTopicEventSubscriptionDestination,
- StaticDeliveryAttributeMapping,
- StorageBlobDeadLetterDestination,
- StorageQueueEventSubscriptionDestination,
- StringBeginsWithAdvancedFilter,
- StringContainsAdvancedFilter,
- StringEndsWithAdvancedFilter,
- StringInAdvancedFilter,
- StringNotBeginsWithAdvancedFilter,
- StringNotContainsAdvancedFilter,
- StringNotEndsWithAdvancedFilter,
- StringNotInAdvancedFilter,
- SystemData,
- SystemTopic,
- Topic,
- TopicTypeInfo,
- TrackedResource,
- UserIdentityProperties,
- WebHookEventSubscriptionDestination
-} from "../models/mappers";
diff --git a/sdk/eventgrid/arm-eventgrid/src/models/eventChannelsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/eventChannelsMappers.ts
deleted file mode 100644
index 528d8700f8bd..000000000000
--- a/sdk/eventgrid/arm-eventgrid/src/models/eventChannelsMappers.ts
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AdvancedFilter,
- AzureFunctionEventSubscriptionDestination,
- BaseResource,
- BoolEqualsAdvancedFilter,
- CloudError,
- ConnectionState,
- DeadLetterDestination,
- DeadLetterWithResourceIdentity,
- DeliveryAttributeMapping,
- DeliveryWithResourceIdentity,
- Domain,
- DomainTopic,
- DynamicDeliveryAttributeMapping,
- EventChannel,
- EventChannelDestination,
- EventChannelFilter,
- EventChannelsListResult,
- EventChannelSource,
- EventHubEventSubscriptionDestination,
- EventSubscription,
- EventSubscriptionDestination,
- EventSubscriptionFilter,
- EventSubscriptionIdentity,
- EventType,
- ExtendedLocation,
- ExtensionTopic,
- HybridConnectionEventSubscriptionDestination,
- IdentityInfo,
- InboundIpRule,
- InputSchemaMapping,
- IsNotNullAdvancedFilter,
- IsNullOrUndefinedAdvancedFilter,
- JsonField,
- JsonFieldWithDefault,
- JsonInputSchemaMapping,
- NumberGreaterThanAdvancedFilter,
- NumberGreaterThanOrEqualsAdvancedFilter,
- NumberInAdvancedFilter,
- NumberInRangeAdvancedFilter,
- NumberLessThanAdvancedFilter,
- NumberLessThanOrEqualsAdvancedFilter,
- NumberNotInAdvancedFilter,
- NumberNotInRangeAdvancedFilter,
- PartnerNamespace,
- PartnerRegistration,
- PartnerTopic,
- PrivateEndpoint,
- PrivateEndpointConnection,
- Resource,
- ResourceSku,
- RetryPolicy,
- ServiceBusQueueEventSubscriptionDestination,
- ServiceBusTopicEventSubscriptionDestination,
- StaticDeliveryAttributeMapping,
- StorageBlobDeadLetterDestination,
- StorageQueueEventSubscriptionDestination,
- StringBeginsWithAdvancedFilter,
- StringContainsAdvancedFilter,
- StringEndsWithAdvancedFilter,
- StringInAdvancedFilter,
- StringNotBeginsWithAdvancedFilter,
- StringNotContainsAdvancedFilter,
- StringNotEndsWithAdvancedFilter,
- StringNotInAdvancedFilter,
- SystemData,
- SystemTopic,
- Topic,
- TopicTypeInfo,
- TrackedResource,
- UserIdentityProperties,
- WebHookEventSubscriptionDestination
-} from "../models/mappers";
diff --git a/sdk/eventgrid/arm-eventgrid/src/models/eventSubscriptionsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/eventSubscriptionsMappers.ts
deleted file mode 100644
index 62a9a4d4958e..000000000000
--- a/sdk/eventgrid/arm-eventgrid/src/models/eventSubscriptionsMappers.ts
+++ /dev/null
@@ -1,85 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AdvancedFilter,
- AzureFunctionEventSubscriptionDestination,
- BaseResource,
- BoolEqualsAdvancedFilter,
- CloudError,
- ConnectionState,
- DeadLetterDestination,
- DeadLetterWithResourceIdentity,
- DeliveryAttributeListResult,
- DeliveryAttributeMapping,
- DeliveryWithResourceIdentity,
- Domain,
- DomainTopic,
- DynamicDeliveryAttributeMapping,
- EventChannel,
- EventChannelDestination,
- EventChannelFilter,
- EventChannelSource,
- EventHubEventSubscriptionDestination,
- EventSubscription,
- EventSubscriptionDestination,
- EventSubscriptionFilter,
- EventSubscriptionFullUrl,
- EventSubscriptionIdentity,
- EventSubscriptionsListResult,
- EventSubscriptionUpdateParameters,
- EventType,
- ExtendedLocation,
- ExtensionTopic,
- HybridConnectionEventSubscriptionDestination,
- IdentityInfo,
- InboundIpRule,
- InputSchemaMapping,
- IsNotNullAdvancedFilter,
- IsNullOrUndefinedAdvancedFilter,
- JsonField,
- JsonFieldWithDefault,
- JsonInputSchemaMapping,
- NumberGreaterThanAdvancedFilter,
- NumberGreaterThanOrEqualsAdvancedFilter,
- NumberInAdvancedFilter,
- NumberInRangeAdvancedFilter,
- NumberLessThanAdvancedFilter,
- NumberLessThanOrEqualsAdvancedFilter,
- NumberNotInAdvancedFilter,
- NumberNotInRangeAdvancedFilter,
- PartnerNamespace,
- PartnerRegistration,
- PartnerTopic,
- PrivateEndpoint,
- PrivateEndpointConnection,
- Resource,
- ResourceSku,
- RetryPolicy,
- ServiceBusQueueEventSubscriptionDestination,
- ServiceBusTopicEventSubscriptionDestination,
- StaticDeliveryAttributeMapping,
- StorageBlobDeadLetterDestination,
- StorageQueueEventSubscriptionDestination,
- StringBeginsWithAdvancedFilter,
- StringContainsAdvancedFilter,
- StringEndsWithAdvancedFilter,
- StringInAdvancedFilter,
- StringNotBeginsWithAdvancedFilter,
- StringNotContainsAdvancedFilter,
- StringNotEndsWithAdvancedFilter,
- StringNotInAdvancedFilter,
- SystemData,
- SystemTopic,
- Topic,
- TopicTypeInfo,
- TrackedResource,
- UserIdentityProperties,
- WebHookEventSubscriptionDestination
-} from "../models/mappers";
diff --git a/sdk/eventgrid/arm-eventgrid/src/models/extensionTopicsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/extensionTopicsMappers.ts
deleted file mode 100644
index 3c5419606cdd..000000000000
--- a/sdk/eventgrid/arm-eventgrid/src/models/extensionTopicsMappers.ts
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AdvancedFilter,
- AzureFunctionEventSubscriptionDestination,
- BaseResource,
- BoolEqualsAdvancedFilter,
- CloudError,
- ConnectionState,
- DeadLetterDestination,
- DeadLetterWithResourceIdentity,
- DeliveryAttributeMapping,
- DeliveryWithResourceIdentity,
- Domain,
- DomainTopic,
- DynamicDeliveryAttributeMapping,
- EventChannel,
- EventChannelDestination,
- EventChannelFilter,
- EventChannelSource,
- EventHubEventSubscriptionDestination,
- EventSubscription,
- EventSubscriptionDestination,
- EventSubscriptionFilter,
- EventSubscriptionIdentity,
- EventType,
- ExtendedLocation,
- ExtensionTopic,
- HybridConnectionEventSubscriptionDestination,
- IdentityInfo,
- InboundIpRule,
- InputSchemaMapping,
- IsNotNullAdvancedFilter,
- IsNullOrUndefinedAdvancedFilter,
- JsonField,
- JsonFieldWithDefault,
- JsonInputSchemaMapping,
- NumberGreaterThanAdvancedFilter,
- NumberGreaterThanOrEqualsAdvancedFilter,
- NumberInAdvancedFilter,
- NumberInRangeAdvancedFilter,
- NumberLessThanAdvancedFilter,
- NumberLessThanOrEqualsAdvancedFilter,
- NumberNotInAdvancedFilter,
- NumberNotInRangeAdvancedFilter,
- PartnerNamespace,
- PartnerRegistration,
- PartnerTopic,
- PrivateEndpoint,
- PrivateEndpointConnection,
- Resource,
- ResourceSku,
- RetryPolicy,
- ServiceBusQueueEventSubscriptionDestination,
- ServiceBusTopicEventSubscriptionDestination,
- StaticDeliveryAttributeMapping,
- StorageBlobDeadLetterDestination,
- StorageQueueEventSubscriptionDestination,
- StringBeginsWithAdvancedFilter,
- StringContainsAdvancedFilter,
- StringEndsWithAdvancedFilter,
- StringInAdvancedFilter,
- StringNotBeginsWithAdvancedFilter,
- StringNotContainsAdvancedFilter,
- StringNotEndsWithAdvancedFilter,
- StringNotInAdvancedFilter,
- SystemData,
- SystemTopic,
- Topic,
- TopicTypeInfo,
- TrackedResource,
- UserIdentityProperties,
- WebHookEventSubscriptionDestination
-} from "../models/mappers";
diff --git a/sdk/eventgrid/arm-eventgrid/src/models/index.ts b/sdk/eventgrid/arm-eventgrid/src/models/index.ts
index a5dab9d3abfd..770afdfb2613 100644
--- a/sdk/eventgrid/arm-eventgrid/src/models/index.ts
+++ b/sdk/eventgrid/arm-eventgrid/src/models/index.ts
@@ -6,493 +6,213 @@
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
-import * as msRest from "@azure/ms-rest-js";
-
-export { BaseResource, CloudError };
-
-/**
- * PrivateEndpoint information.
- */
-export interface PrivateEndpoint {
- /**
- * The ARM identifier for Private Endpoint.
- */
- id?: string;
-}
-
-/**
- * ConnectionState information.
- */
-export interface ConnectionState {
- /**
- * Status of the connection. Possible values include: 'Pending', 'Approved', 'Rejected',
- * 'Disconnected'
- */
- status?: PersistedConnectionStatus;
- /**
- * Description of the connection state.
- */
- description?: string;
- /**
- * Actions required (if any).
- */
- actionsRequired?: string;
-}
-
-/**
- * Definition of a Resource
- */
-export interface Resource extends BaseResource {
+import * as coreClient from "@azure/core-client";
+
+export type InputSchemaMappingUnion =
+ | InputSchemaMapping
+ | JsonInputSchemaMapping;
+export type AdvancedFilterUnion =
+ | AdvancedFilter
+ | NumberInAdvancedFilter
+ | NumberNotInAdvancedFilter
+ | NumberLessThanAdvancedFilter
+ | NumberGreaterThanAdvancedFilter
+ | NumberLessThanOrEqualsAdvancedFilter
+ | NumberGreaterThanOrEqualsAdvancedFilter
+ | BoolEqualsAdvancedFilter
+ | StringInAdvancedFilter
+ | StringNotInAdvancedFilter
+ | StringBeginsWithAdvancedFilter
+ | StringEndsWithAdvancedFilter
+ | StringContainsAdvancedFilter
+ | NumberInRangeAdvancedFilter
+ | NumberNotInRangeAdvancedFilter
+ | StringNotBeginsWithAdvancedFilter
+ | StringNotEndsWithAdvancedFilter
+ | StringNotContainsAdvancedFilter
+ | IsNullOrUndefinedAdvancedFilter
+ | IsNotNullAdvancedFilter;
+export type EventSubscriptionDestinationUnion =
+ | EventSubscriptionDestination
+ | WebHookEventSubscriptionDestination
+ | EventHubEventSubscriptionDestination
+ | StorageQueueEventSubscriptionDestination
+ | HybridConnectionEventSubscriptionDestination
+ | ServiceBusQueueEventSubscriptionDestination
+ | ServiceBusTopicEventSubscriptionDestination
+ | AzureFunctionEventSubscriptionDestination;
+export type DeadLetterDestinationUnion =
+ | DeadLetterDestination
+ | StorageBlobDeadLetterDestination;
+export type DeliveryAttributeMappingUnion =
+ | DeliveryAttributeMapping
+ | StaticDeliveryAttributeMapping
+ | DynamicDeliveryAttributeMapping;
+
+/** Definition of a Resource */
+export interface Resource {
/**
* Fully qualified identifier of the resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly id?: string;
/**
* Name of the resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly name?: string;
/**
* Type of the resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly type?: string;
}
-/**
- * An interface representing PrivateEndpointConnection.
- */
-export interface PrivateEndpointConnection extends Resource {
- /**
- * The Private Endpoint resource for this Connection.
- */
- privateEndpoint?: PrivateEndpoint;
- /**
- * GroupIds from the private link service resource.
- */
- groupIds?: string[];
- /**
- * Details about the state of the connection.
- */
- privateLinkServiceConnectionState?: ConnectionState;
- /**
- * Provisioning state of the Private Endpoint Connection. Possible values include: 'Creating',
- * 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed'
- */
- provisioningState?: ResourceProvisioningState;
+/** PrivateEndpoint information. */
+export interface PrivateEndpoint {
+ /** The ARM identifier for Private Endpoint. */
+ id?: string;
}
-/**
- * Contains the possible cases for InputSchemaMapping.
- */
-export type InputSchemaMappingUnion = InputSchemaMapping | JsonInputSchemaMapping;
+/** ConnectionState information. */
+export interface ConnectionState {
+ /** Status of the connection. */
+ status?: PersistedConnectionStatus;
+ /** Description of the connection state. */
+ description?: string;
+ /** Actions required (if any). */
+ actionsRequired?: string;
+}
-/**
- * By default, Event Grid expects events to be in the Event Grid event schema. Specifying an input
- * schema mapping enables publishing to Event Grid using a custom input schema. Currently, the only
- * supported type of InputSchemaMapping is 'JsonInputSchemaMapping'.
- */
+/** By default, Event Grid expects events to be in the Event Grid event schema. Specifying an input schema mapping enables publishing to Event Grid using a custom input schema. Currently, the only supported type of InputSchemaMapping is 'JsonInputSchemaMapping'. */
export interface InputSchemaMapping {
- /**
- * Polymorphic Discriminator
- */
- inputSchemaMappingType: "InputSchemaMapping";
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ inputSchemaMappingType: "Json";
}
-/**
- * An interface representing InboundIpRule.
- */
export interface InboundIpRule {
- /**
- * IP Address in CIDR notation e.g., 10.0.0.0/8.
- */
+ /** IP Address in CIDR notation e.g., 10.0.0.0/8. */
ipMask?: string;
- /**
- * Action to perform based on the match or no match of the IpMask. Possible values include:
- * 'Allow'
- */
+ /** Action to perform based on the match or no match of the IpMask. */
action?: IpActionType;
}
-/**
- * Describes an EventGrid Resource Sku.
- */
+/** Describes an EventGrid Resource Sku. */
export interface ResourceSku {
- /**
- * The Sku name of the resource. The possible values are: Basic or Premium. Possible values
- * include: 'Basic', 'Premium'. Default value: 'Basic'.
- */
+ /** The Sku name of the resource. The possible values are: Basic or Premium. */
name?: Sku;
}
-/**
- * The information about the user identity.
- */
-export interface UserIdentityProperties {
- /**
- * The principal id of user assigned identity.
- */
- principalId?: string;
- /**
- * The client id of user assigned identity.
- */
- clientId?: string;
-}
-
-/**
- * The identity information for the resource.
- */
+/** The identity information for the resource. */
export interface IdentityInfo {
- /**
- * The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an
- * implicitly created identity and a set of user-assigned identities. The type 'None' will remove
- * any identity. Possible values include: 'None', 'SystemAssigned', 'UserAssigned',
- * 'SystemAssigned, UserAssigned'
- */
+ /** The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity. */
type?: IdentityType;
- /**
- * The principal ID of resource identity.
- */
+ /** The principal ID of resource identity. */
principalId?: string;
- /**
- * The tenant ID of resource.
- */
+ /** The tenant ID of resource. */
tenantId?: string;
/**
- * The list of user identities associated with the resource. The user identity dictionary key
- * references will be ARM resource ids in the form:
+ * The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form:
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
* This property is currently not used and reserved for future usage.
*/
userAssignedIdentities?: { [propertyName: string]: UserIdentityProperties };
}
-/**
- * This is used to express the source of an input schema mapping for a single target field in the
- * Event Grid Event schema. This is currently used in the mappings for the 'id', 'topic' and
- * 'eventtime' properties. This represents a field in the input event schema.
- */
-export interface JsonField {
- /**
- * Name of a field in the input event schema that's to be used as the source of a mapping.
- */
- sourceField?: string;
-}
-
-/**
- * This is used to express the source of an input schema mapping for a single target field
- * in the Event Grid Event schema. This is currently used in the mappings for the 'subject',
- * 'eventtype' and 'dataversion' properties. This represents a field in the input event schema
- * along with a default value to be used, and at least one of these two properties should be
- * provided.
- */
-export interface JsonFieldWithDefault {
- /**
- * Name of a field in the input event schema that's to be used as the source of a mapping.
- */
- sourceField?: string;
- /**
- * The default value to be used for mapping when a SourceField is not provided or if there's no
- * property with the specified name in the published JSON event payload.
- */
- defaultValue?: string;
-}
-
-/**
- * This enables publishing to Event Grid using a custom input schema. This can be used to map
- * properties from a custom input JSON schema to the Event Grid event schema.
- */
-export interface JsonInputSchemaMapping {
- /**
- * Polymorphic Discriminator
- */
- inputSchemaMappingType: "Json";
- /**
- * The mapping information for the Id property of the Event Grid Event.
- */
- id?: JsonField;
- /**
- * The mapping information for the Topic property of the Event Grid Event.
- */
- topic?: JsonField;
- /**
- * The mapping information for the EventTime property of the Event Grid Event.
- */
- eventTime?: JsonField;
- /**
- * The mapping information for the EventType property of the Event Grid Event.
- */
- eventType?: JsonFieldWithDefault;
- /**
- * The mapping information for the Subject property of the Event Grid Event.
- */
- subject?: JsonFieldWithDefault;
- /**
- * The mapping information for the DataVersion property of the Event Grid Event.
- */
- dataVersion?: JsonFieldWithDefault;
-}
-
-/**
- * Definition of a Tracked Resource.
- */
-export interface TrackedResource extends Resource {
- /**
- * Location of the resource.
- */
- location: string;
- /**
- * Tags of the resource.
- */
- tags?: { [propertyName: string]: string };
+/** The information about the user identity. */
+export interface UserIdentityProperties {
+ /** The principal id of user assigned identity. */
+ principalId?: string;
+ /** The client id of user assigned identity. */
+ clientId?: string;
}
-/**
- * Metadata pertaining to creation and last modification of the resource.
- */
+/** Metadata pertaining to creation and last modification of the resource. */
export interface SystemData {
- /**
- * The identity that created the resource.
- */
+ /** The identity that created the resource. */
createdBy?: string;
- /**
- * The type of identity that created the resource. Possible values include: 'User',
- * 'Application', 'ManagedIdentity', 'Key'
- */
+ /** The type of identity that created the resource. */
createdByType?: CreatedByType;
- /**
- * The timestamp of resource creation (UTC).
- */
+ /** The timestamp of resource creation (UTC). */
createdAt?: Date;
- /**
- * The identity that last modified the resource.
- */
+ /** The identity that last modified the resource. */
lastModifiedBy?: string;
- /**
- * The type of identity that last modified the resource. Possible values include: 'User',
- * 'Application', 'ManagedIdentity', 'Key'
- */
+ /** The type of identity that last modified the resource. */
lastModifiedByType?: CreatedByType;
- /**
- * The timestamp of resource last modification (UTC)
- */
+ /** The timestamp of resource last modification (UTC) */
lastModifiedAt?: Date;
}
-/**
- * EventGrid Domain.
- */
-export interface Domain extends TrackedResource {
- /**
- * List of private endpoint connections.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly privateEndpointConnections?: PrivateEndpointConnection[];
- /**
- * Provisioning state of the Event Grid Domain Resource. Possible values include: 'Creating',
- * 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed'
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly provisioningState?: DomainProvisioningState;
- /**
- * Endpoint for the Event Grid Domain Resource which is used for publishing the events.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly endpoint?: string;
- /**
- * This determines the format that Event Grid should expect for incoming events published to the
- * Event Grid Domain Resource. Possible values include: 'EventGridSchema', 'CustomEventSchema',
- * 'CloudEventSchemaV1_0'. Default value: 'EventGridSchema'.
- */
- inputSchema?: InputSchema;
- /**
- * Information about the InputSchemaMapping which specified the info about mapping event payload.
- */
- inputSchemaMapping?: InputSchemaMappingUnion;
- /**
- * Metric resource id for the Event Grid Domain Resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly metricResourceId?: string;
- /**
- * This determines if traffic is allowed over public network. By default it is enabled.
- * You can further restrict to specific IPs by configuring . Possible values include: 'Enabled', 'Disabled'. Default value: 'Enabled'.
- */
- publicNetworkAccess?: PublicNetworkAccess;
- /**
- * This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are
- * considered only if PublicNetworkAccess is enabled.
- */
- inboundIpRules?: InboundIpRule[];
- /**
- * This boolean is used to enable or disable local auth. Default value is false. When the
- * property is set to true, only AAD token will be used to authenticate if user is allowed to
- * publish to the domain. Default value: false.
- */
- disableLocalAuth?: boolean;
- /**
- * This Boolean is used to specify the creation mechanism for 'all' the Event Grid Domain Topics
- * associated with this Event Grid Domain resource.
- * In this context, creation of domain topic can be auto-managed (when true) or self-managed
- * (when false). The default value for this property is true.
- * When this property is null or set to true, Event Grid is responsible of automatically creating
- * the domain topic when the first event subscription is
- * created at the scope of the domain topic. If this property is set to false, then creating the
- * first event subscription will require creating a domain topic
- * by the user. The self-management mode can be used if the user wants full control of when the
- * domain topic is created, while auto-managed mode provides the
- * flexibility to perform less operations and manage fewer resources by the user. Also, note that
- * in auto-managed creation mode, user is allowed to create the
- * domain topic on demand if needed. Default value: true.
- */
- autoCreateTopicWithFirstSubscription?: boolean;
- /**
- * This Boolean is used to specify the deletion mechanism for 'all' the Event Grid Domain Topics
- * associated with this Event Grid Domain resource.
- * In this context, deletion of domain topic can be auto-managed (when true) or self-managed
- * (when false). The default value for this property is true.
- * When this property is set to true, Event Grid is responsible of automatically deleting the
- * domain topic when the last event subscription at the scope
- * of the domain topic is deleted. If this property is set to false, then the user needs to
- * manually delete the domain topic when it is no longer needed
- * (e.g., when last event subscription is deleted and the resource needs to be cleaned up). The
- * self-management mode can be used if the user wants full
- * control of when the domain topic needs to be deleted, while auto-managed mode provides the
- * flexibility to perform less operations and manage fewer
- * resources by the user. Default value: true.
- */
- autoDeleteTopicWithLastSubscription?: boolean;
- /**
- * The Sku pricing tier for the Event Grid Domain resource.
- */
- sku?: ResourceSku;
- /**
- * Identity information for the Event Grid Domain resource.
- */
- identity?: IdentityInfo;
- /**
- * The system metadata relating to the Event Grid Domain resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly systemData?: SystemData;
-}
-
-/**
- * Properties of the Domain update.
- */
+/** Properties of the Domain update. */
export interface DomainUpdateParameters {
- /**
- * Tags of the domains resource.
- */
+ /** Tags of the domains resource. */
tags?: { [propertyName: string]: string };
+ /** Identity information for the resource. */
+ identity?: IdentityInfo;
+ /** The Sku pricing tier for the domain. */
+ sku?: ResourceSku;
/**
* This determines if traffic is allowed over public network. By default it is enabled.
- * You can further restrict to specific IPs by configuring . Possible values include: 'Enabled', 'Disabled'
+ * You can further restrict to specific IPs by configuring
*/
publicNetworkAccess?: PublicNetworkAccess;
- /**
- * This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are
- * considered only if PublicNetworkAccess is enabled.
- */
+ /** This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled. */
inboundIpRules?: InboundIpRule[];
- /**
- * This boolean is used to enable or disable local auth. Default value is false. When the
- * property is set to true, only AAD token will be used to authenticate if user is allowed to
- * publish to the domain.
- */
+ /** This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the domain. */
disableLocalAuth?: boolean;
/**
- * This Boolean is used to specify the creation mechanism for 'all' the Event Grid Domain Topics
- * associated with this Event Grid Domain resource.
- * In this context, creation of domain topic can be auto-managed (when true) or self-managed
- * (when false). The default value for this property is true.
- * When this property is null or set to true, Event Grid is responsible of automatically creating
- * the domain topic when the first event subscription is
- * created at the scope of the domain topic. If this property is set to false, then creating the
- * first event subscription will require creating a domain topic
- * by the user. The self-management mode can be used if the user wants full control of when the
- * domain topic is created, while auto-managed mode provides the
- * flexibility to perform less operations and manage fewer resources by the user. Also, note that
- * in auto-managed creation mode, user is allowed to create the
+ * This Boolean is used to specify the creation mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource.
+ * In this context, creation of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true.
+ * When this property is null or set to true, Event Grid is responsible of automatically creating the domain topic when the first event subscription is
+ * created at the scope of the domain topic. If this property is set to false, then creating the first event subscription will require creating a domain topic
+ * by the user. The self-management mode can be used if the user wants full control of when the domain topic is created, while auto-managed mode provides the
+ * flexibility to perform less operations and manage fewer resources by the user. Also, note that in auto-managed creation mode, user is allowed to create the
* domain topic on demand if needed.
*/
autoCreateTopicWithFirstSubscription?: boolean;
/**
- * This Boolean is used to specify the deletion mechanism for 'all' the Event Grid Domain Topics
- * associated with this Event Grid Domain resource.
- * In this context, deletion of domain topic can be auto-managed (when true) or self-managed
- * (when false). The default value for this property is true.
- * When this property is set to true, Event Grid is responsible of automatically deleting the
- * domain topic when the last event subscription at the scope
- * of the domain topic is deleted. If this property is set to false, then the user needs to
- * manually delete the domain topic when it is no longer needed
- * (e.g., when last event subscription is deleted and the resource needs to be cleaned up). The
- * self-management mode can be used if the user wants full
- * control of when the domain topic needs to be deleted, while auto-managed mode provides the
- * flexibility to perform less operations and manage fewer
+ * This Boolean is used to specify the deletion mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource.
+ * In this context, deletion of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true.
+ * When this property is set to true, Event Grid is responsible of automatically deleting the domain topic when the last event subscription at the scope
+ * of the domain topic is deleted. If this property is set to false, then the user needs to manually delete the domain topic when it is no longer needed
+ * (e.g., when last event subscription is deleted and the resource needs to be cleaned up). The self-management mode can be used if the user wants full
+ * control of when the domain topic needs to be deleted, while auto-managed mode provides the flexibility to perform less operations and manage fewer
* resources by the user.
*/
autoDeleteTopicWithLastSubscription?: boolean;
- /**
- * Identity information for the resource.
- */
- identity?: IdentityInfo;
- /**
- * The Sku pricing tier for the domain.
- */
- sku?: ResourceSku;
}
-/**
- * Shared access keys of the Domain.
- */
+/** Result of the List Domains operation */
+export interface DomainsListResult {
+ /** A collection of Domains */
+ value?: Domain[];
+ /** A link for the next page of domains */
+ nextLink?: string;
+}
+
+/** Shared access keys of the Domain. */
export interface DomainSharedAccessKeys {
- /**
- * Shared access key1 for the domain.
- */
+ /** Shared access key1 for the domain. */
key1?: string;
- /**
- * Shared access key2 for the domain.
- */
+ /** Shared access key2 for the domain. */
key2?: string;
}
-/**
- * Domain regenerate share access key request.
- */
+/** Domain regenerate share access key request. */
export interface DomainRegenerateKeyRequest {
- /**
- * Key name to regenerate key1 or key2.
- */
+ /** Key name to regenerate key1 or key2. */
keyName: string;
}
-/**
- * Domain Topic.
- */
-export interface DomainTopic extends Resource {
- /**
- * Provisioning state of the domain topic. Possible values include: 'Creating', 'Updating',
- * 'Deleting', 'Succeeded', 'Canceled', 'Failed'
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly provisioningState?: DomainTopicProvisioningState;
- /**
- * The system metadata relating to Domain Topic resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly systemData?: SystemData;
+/** Result of the List Domain Topics operation. */
+export interface DomainTopicsListResult {
+ /** A collection of Domain Topics. */
+ value?: DomainTopic[];
+ /** A link for the next page of domain topics. */
+ nextLink?: string;
}
-/**
- * Properties of the source of an event channel.
- */
+/** Properties of the source of an event channel. */
export interface EventChannelSource {
/**
* The identifier of the resource that's the source of the events.
@@ -501,9 +221,7 @@ export interface EventChannelSource {
source?: string;
}
-/**
- * Properties of the destination of an event channel.
- */
+/** Properties of the destination of an event channel. */
export interface EventChannelDestination {
/**
* Azure subscription ID of the customer creating the event channel. The partner topic
@@ -515,5664 +233,3065 @@ export interface EventChannelDestination {
* associated with the event channel will be created under this resource group.
*/
resourceGroup?: string;
- /**
- * Name of the partner topic associated with the event channel.
- */
+ /** Name of the partner topic associated with the event channel. */
partnerTopicName?: string;
}
-/**
- * Contains the possible cases for AdvancedFilter.
- */
-export type AdvancedFilterUnion = AdvancedFilter | NumberInAdvancedFilter | NumberNotInAdvancedFilter | NumberLessThanAdvancedFilter | NumberGreaterThanAdvancedFilter | NumberLessThanOrEqualsAdvancedFilter | NumberGreaterThanOrEqualsAdvancedFilter | BoolEqualsAdvancedFilter | StringInAdvancedFilter | StringNotInAdvancedFilter | StringBeginsWithAdvancedFilter | StringEndsWithAdvancedFilter | StringContainsAdvancedFilter | NumberInRangeAdvancedFilter | NumberNotInRangeAdvancedFilter | StringNotBeginsWithAdvancedFilter | StringNotEndsWithAdvancedFilter | StringNotContainsAdvancedFilter | IsNullOrUndefinedAdvancedFilter | IsNotNullAdvancedFilter;
-
-/**
- * This is the base type that represents an advanced filter. To configure an advanced filter, do
- * not directly instantiate an object of this class. Instead, instantiate an object of a derived
- * class such as BoolEqualsAdvancedFilter, NumberInAdvancedFilter, StringEqualsAdvancedFilter etc.
- * depending on the type of the key based on which you want to filter.
- */
-export interface AdvancedFilter {
- /**
- * Polymorphic Discriminator
- */
- operatorType: "AdvancedFilter";
- /**
- * The field/property in the event based on which you want to filter.
- */
- key?: string;
-}
-
-/**
- * Filter for the Event Channel.
- */
+/** Filter for the Event Channel. */
export interface EventChannelFilter {
- /**
- * Allows advanced filters to be evaluated against an array of values instead of expecting a
- * singular value. The default value is either false or null. Default value: false.
- */
+ /** Allows advanced filters to be evaluated against an array of values instead of expecting a singular value. The default value is either false or null. */
enableAdvancedFilteringOnArrays?: boolean;
- /**
- * An array of advanced filters that are used for filtering event channels.
- */
+ /** An array of advanced filters that are used for filtering event channels. */
advancedFilters?: AdvancedFilterUnion[];
}
-/**
- * NumberIn Advanced Filter.
- */
-export interface NumberInAdvancedFilter {
- /**
- * Polymorphic Discriminator
- */
- operatorType: "NumberIn";
- /**
- * The field/property in the event based on which you want to filter.
- */
+/** This is the base type that represents an advanced filter. To configure an advanced filter, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class such as BoolEqualsAdvancedFilter, NumberInAdvancedFilter, StringEqualsAdvancedFilter etc. depending on the type of the key based on which you want to filter. */
+export interface AdvancedFilter {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ operatorType:
+ | "NumberIn"
+ | "NumberNotIn"
+ | "NumberLessThan"
+ | "NumberGreaterThan"
+ | "NumberLessThanOrEquals"
+ | "NumberGreaterThanOrEquals"
+ | "BoolEquals"
+ | "StringIn"
+ | "StringNotIn"
+ | "StringBeginsWith"
+ | "StringEndsWith"
+ | "StringContains"
+ | "NumberInRange"
+ | "NumberNotInRange"
+ | "StringNotBeginsWith"
+ | "StringNotEndsWith"
+ | "StringNotContains"
+ | "IsNullOrUndefined"
+ | "IsNotNull";
+ /** The field/property in the event based on which you want to filter. */
key?: string;
- /**
- * The set of filter values.
- */
- values?: number[];
}
-/**
- * NumberNotIn Advanced Filter.
- */
-export interface NumberNotInAdvancedFilter {
- /**
- * Polymorphic Discriminator
- */
- operatorType: "NumberNotIn";
- /**
- * The field/property in the event based on which you want to filter.
- */
- key?: string;
- /**
- * The set of filter values.
- */
- values?: number[];
+/** Result of the List Event Channels operation */
+export interface EventChannelsListResult {
+ /** A collection of Event Channels */
+ value?: EventChannel[];
+ /** A link for the next page of event channels */
+ nextLink?: string;
}
-/**
- * NumberLessThan Advanced Filter.
- */
-export interface NumberLessThanAdvancedFilter {
- /**
- * Polymorphic Discriminator
- */
- operatorType: "NumberLessThan";
- /**
- * The field/property in the event based on which you want to filter.
- */
- key?: string;
+/** Information about the destination for an event subscription. */
+export interface EventSubscriptionDestination {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ endpointType:
+ | "WebHook"
+ | "EventHub"
+ | "StorageQueue"
+ | "HybridConnection"
+ | "ServiceBusQueue"
+ | "ServiceBusTopic"
+ | "AzureFunction";
+}
+
+/** Information about the delivery for an event subscription with resource identity. */
+export interface DeliveryWithResourceIdentity {
+ /** The identity to use when delivering events. */
+ identity?: EventSubscriptionIdentity;
/**
- * The filter value.
+ * Information about the destination where events have to be delivered for the event subscription.
+ * Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering.
*/
- value?: number;
+ destination?: EventSubscriptionDestinationUnion;
}
-/**
- * NumberGreaterThan Advanced Filter.
- */
-export interface NumberGreaterThanAdvancedFilter {
- /**
- * Polymorphic Discriminator
- */
- operatorType: "NumberGreaterThan";
- /**
- * The field/property in the event based on which you want to filter.
- */
- key?: string;
- /**
- * The filter value.
- */
- value?: number;
+/** The identity information with the event subscription. */
+export interface EventSubscriptionIdentity {
+ /** The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity. */
+ type?: EventSubscriptionIdentityType;
+ /** The user identity associated with the resource. */
+ userAssignedIdentity?: string;
}
-/**
- * NumberLessThanOrEquals Advanced Filter.
- */
-export interface NumberLessThanOrEqualsAdvancedFilter {
+/** Filter for the Event Subscription. */
+export interface EventSubscriptionFilter {
/**
- * Polymorphic Discriminator
+ * An optional string to filter events for an event subscription based on a resource path prefix.
+ * The format of this depends on the publisher of the events.
+ * Wildcard characters are not supported in this path.
*/
- operatorType: "NumberLessThanOrEquals";
+ subjectBeginsWith?: string;
/**
- * The field/property in the event based on which you want to filter.
+ * An optional string to filter events for an event subscription based on a resource path suffix.
+ * Wildcard characters are not supported in this path.
*/
- key?: string;
+ subjectEndsWith?: string;
+ /** A list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null. */
+ includedEventTypes?: string[];
/**
- * The filter value.
+ * Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter
+ * should be compared in a case sensitive manner.
*/
- value?: number;
+ isSubjectCaseSensitive?: boolean;
+ /** Allows advanced filters to be evaluated against an array of values instead of expecting a singular value. */
+ enableAdvancedFilteringOnArrays?: boolean;
+ /** An array of advanced filters that are used for filtering event subscriptions. */
+ advancedFilters?: AdvancedFilterUnion[];
}
-/**
- * NumberGreaterThanOrEquals Advanced Filter.
- */
-export interface NumberGreaterThanOrEqualsAdvancedFilter {
- /**
- * Polymorphic Discriminator
- */
- operatorType: "NumberGreaterThanOrEquals";
- /**
- * The field/property in the event based on which you want to filter.
- */
- key?: string;
- /**
- * The filter value.
- */
- value?: number;
+/** Information about the retry policy for an event subscription. */
+export interface RetryPolicy {
+ /** Maximum number of delivery retry attempts for events. */
+ maxDeliveryAttempts?: number;
+ /** Time To Live (in minutes) for events. */
+ eventTimeToLiveInMinutes?: number;
}
-/**
- * BoolEquals Advanced Filter.
- */
-export interface BoolEqualsAdvancedFilter {
- /**
- * Polymorphic Discriminator
- */
- operatorType: "BoolEquals";
- /**
- * The field/property in the event based on which you want to filter.
- */
- key?: string;
- /**
- * The boolean filter value.
- */
- value?: boolean;
+/** Information about the dead letter destination for an event subscription. To configure a deadletter destination, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class. Currently, StorageBlobDeadLetterDestination is the only class that derives from this class. */
+export interface DeadLetterDestination {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ endpointType: "StorageBlob";
}
-/**
- * StringIn Advanced Filter.
- */
-export interface StringInAdvancedFilter {
- /**
- * Polymorphic Discriminator
- */
- operatorType: "StringIn";
- /**
- * The field/property in the event based on which you want to filter.
- */
- key?: string;
+/** Information about the deadletter destination with resource identity. */
+export interface DeadLetterWithResourceIdentity {
+ /** The identity to use when dead-lettering events. */
+ identity?: EventSubscriptionIdentity;
/**
- * The set of filter values.
+ * Information about the destination where events have to be delivered for the event subscription.
+ * Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering.
*/
- values?: string[];
+ deadLetterDestination?: DeadLetterDestinationUnion;
}
-/**
- * StringNotIn Advanced Filter.
- */
-export interface StringNotInAdvancedFilter {
- /**
- * Polymorphic Discriminator
- */
- operatorType: "StringNotIn";
- /**
- * The field/property in the event based on which you want to filter.
- */
- key?: string;
+/** Properties of the Event Subscription update. */
+export interface EventSubscriptionUpdateParameters {
/**
- * The set of filter values.
+ * Information about the destination where events have to be delivered for the event subscription.
+ * Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering.
*/
- values?: string[];
-}
-
-/**
- * StringBeginsWith Advanced Filter.
- */
-export interface StringBeginsWithAdvancedFilter {
+ destination?: EventSubscriptionDestinationUnion;
/**
- * Polymorphic Discriminator
+ * Information about the destination where events have to be delivered for the event subscription.
+ * Uses the managed identity setup on the parent resource (topic / domain) to acquire the authentication tokens being used during delivery / dead-lettering.
*/
- operatorType: "StringBeginsWith";
+ deliveryWithResourceIdentity?: DeliveryWithResourceIdentity;
+ /** Information about the filter for the event subscription. */
+ filter?: EventSubscriptionFilter;
+ /** List of user defined labels. */
+ labels?: string[];
+ /** Information about the expiration time for the event subscription. */
+ expirationTimeUtc?: Date;
+ /** The event delivery schema for the event subscription. */
+ eventDeliverySchema?: EventDeliverySchema;
+ /** The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events. */
+ retryPolicy?: RetryPolicy;
/**
- * The field/property in the event based on which you want to filter.
+ * The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination.
+ * Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering.
*/
- key?: string;
+ deadLetterDestination?: DeadLetterDestinationUnion;
/**
- * The set of filter values.
+ * The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination.
+ * Uses the managed identity setup on the parent resource (topic / domain) to acquire the authentication tokens being used during delivery / dead-lettering.
*/
- values?: string[];
+ deadLetterWithResourceIdentity?: DeadLetterWithResourceIdentity;
}
-/**
- * StringEndsWith Advanced Filter.
- */
-export interface StringEndsWithAdvancedFilter {
- /**
- * Polymorphic Discriminator
- */
- operatorType: "StringEndsWith";
- /**
- * The field/property in the event based on which you want to filter.
- */
- key?: string;
- /**
- * The set of filter values.
- */
- values?: string[];
+/** Full endpoint url of an event subscription */
+export interface EventSubscriptionFullUrl {
+ /** The URL that represents the endpoint of the destination of an event subscription. */
+ endpointUrl?: string;
}
-/**
- * StringContains Advanced Filter.
- */
-export interface StringContainsAdvancedFilter {
- /**
- * Polymorphic Discriminator
- */
- operatorType: "StringContains";
- /**
- * The field/property in the event based on which you want to filter.
- */
- key?: string;
- /**
- * The set of filter values.
- */
- values?: string[];
+/** Result of the List EventSubscriptions operation */
+export interface EventSubscriptionsListResult {
+ /** A collection of EventSubscriptions */
+ value?: EventSubscription[];
+ /** A link for the next page of event subscriptions */
+ nextLink?: string;
}
-/**
- * NumberInRange Advanced Filter.
- */
-export interface NumberInRangeAdvancedFilter {
- /**
- * Polymorphic Discriminator
- */
- operatorType: "NumberInRange";
- /**
- * The field/property in the event based on which you want to filter.
- */
- key?: string;
- /**
- * The set of filter values.
- */
- values?: number[][];
+/** Result of the Get delivery attributes operation. */
+export interface DeliveryAttributeListResult {
+ /** A collection of DeliveryAttributeMapping */
+ value?: DeliveryAttributeMappingUnion[];
}
-/**
- * NumberNotInRange Advanced Filter.
- */
-export interface NumberNotInRangeAdvancedFilter {
- /**
- * Polymorphic Discriminator
- */
- operatorType: "NumberNotInRange";
- /**
- * The field/property in the event based on which you want to filter.
- */
- key?: string;
- /**
- * The set of filter values.
- */
- values?: number[][];
+/** Delivery attribute mapping details. */
+export interface DeliveryAttributeMapping {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type: "Static" | "Dynamic";
+ /** Name of the delivery attribute or header. */
+ name?: string;
}
-/**
- * StringNotBeginsWith Advanced Filter.
- */
-export interface StringNotBeginsWithAdvancedFilter {
- /**
- * Polymorphic Discriminator
- */
- operatorType: "StringNotBeginsWith";
- /**
- * The field/property in the event based on which you want to filter.
- */
- key?: string;
- /**
- * The set of filter values.
- */
- values?: string[];
+/** Result of the List Operations operation */
+export interface OperationsListResult {
+ /** A collection of operations */
+ value?: Operation[];
}
-/**
- * StringNotEndsWith Advanced Filter.
- */
-export interface StringNotEndsWithAdvancedFilter {
- /**
- * Polymorphic Discriminator
- */
- operatorType: "StringNotEndsWith";
- /**
- * The field/property in the event based on which you want to filter.
- */
- key?: string;
- /**
- * The set of filter values.
- */
- values?: string[];
+/** Represents an operation returned by the GetOperations request */
+export interface Operation {
+ /** Name of the operation */
+ name?: string;
+ /** Display name of the operation */
+ display?: OperationInfo;
+ /** Origin of the operation */
+ origin?: string;
+ /** This Boolean is used to determine if the operation is a data plane action or not. */
+ isDataAction?: boolean;
+ /** Properties of the operation */
+ properties?: Record;
}
-/**
- * StringNotContains Advanced Filter.
- */
-export interface StringNotContainsAdvancedFilter {
- /**
- * Polymorphic Discriminator
- */
- operatorType: "StringNotContains";
- /**
- * The field/property in the event based on which you want to filter.
- */
- key?: string;
- /**
- * The set of filter values.
- */
- values?: string[];
+/** Information about an operation */
+export interface OperationInfo {
+ /** Name of the provider */
+ provider?: string;
+ /** Name of the resource type */
+ resource?: string;
+ /** Name of the operation */
+ operation?: string;
+ /** Description of the operation */
+ description?: string;
}
-/**
- * IsNullOrUndefined Advanced Filter.
- */
-export interface IsNullOrUndefinedAdvancedFilter {
- /**
- * Polymorphic Discriminator
- */
- operatorType: "IsNullOrUndefined";
+/** Properties of the PartnerNamespace update. */
+export interface PartnerNamespaceUpdateParameters {
+ /** Tags of the partner namespace. */
+ tags?: { [propertyName: string]: string };
/**
- * The field/property in the event based on which you want to filter.
+ * This determines if traffic is allowed over public network. By default it is enabled.
+ * You can further restrict to specific IPs by configuring
*/
- key?: string;
+ publicNetworkAccess?: PublicNetworkAccess;
+ /** This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled. */
+ inboundIpRules?: InboundIpRule[];
+ /** This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the partner namespace. */
+ disableLocalAuth?: boolean;
}
-/**
- * IsNotNull Advanced Filter.
- */
-export interface IsNotNullAdvancedFilter {
- /**
- * Polymorphic Discriminator
- */
- operatorType: "IsNotNull";
- /**
- * The field/property in the event based on which you want to filter.
- */
- key?: string;
+/** Result of the List Partner Namespaces operation */
+export interface PartnerNamespacesListResult {
+ /** A collection of partner namespaces. */
+ value?: PartnerNamespace[];
+ /** A link for the next page of partner namespaces. */
+ nextLink?: string;
}
-/**
- * Event Channel.
- */
-export interface EventChannel extends Resource {
- /**
- * Source of the event channel. This represents a unique resource in the partner's resource
- * model.
- */
- source?: EventChannelSource;
- /**
- * Represents the destination of an event channel.
- */
- destination?: EventChannelDestination;
- /**
- * Provisioning state of the event channel. Possible values include: 'Creating', 'Updating',
- * 'Deleting', 'Succeeded', 'Canceled', 'Failed'
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly provisioningState?: EventChannelProvisioningState;
- /**
- * The readiness state of the corresponding partner topic. Possible values include:
- * 'NotActivatedByUserYet', 'ActivatedByUser', 'DeactivatedByUser', 'DeletedByUser'
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly partnerTopicReadinessState?: PartnerTopicReadinessState;
- /**
- * Expiration time of the event channel. If this timer expires while the corresponding partner
- * topic is never activated,
- * the event channel and corresponding partner topic are deleted.
- */
- expirationTimeIfNotActivatedUtc?: Date;
- /**
- * Information about the filter for the event channel.
- */
- filter?: EventChannelFilter;
+/** Shared access keys of the partner namespace. */
+export interface PartnerNamespaceSharedAccessKeys {
+ /** Shared access key1 for the partner namespace. */
+ key1?: string;
+ /** Shared access key2 for the partner namespace. */
+ key2?: string;
+}
+
+/** PartnerNamespace regenerate shared access key request. */
+export interface PartnerNamespaceRegenerateKeyRequest {
+ /** Key name to regenerate (key1 or key2). */
+ keyName: string;
+}
+
+/** Properties of the Partner Registration update. */
+export interface PartnerRegistrationUpdateParameters {
+ /** Tags of the partner registration resource. */
+ tags?: { [propertyName: string]: string };
+ /** Name of the partner topic type. */
+ partnerTopicTypeName?: string;
+ /** Display name of the partner topic type. */
+ partnerTopicTypeDisplayName?: string;
+ /** Description of the partner topic type. */
+ partnerTopicTypeDescription?: string;
/**
- * Friendly description about the topic. This can be set by the publisher/partner to show custom
- * description for the customer partner topic.
- * This will be helpful to remove any ambiguity of the origin of creation of the partner topic
- * for the customer.
+ * URI of the partner website that can be used by Azure customers to setup Event Grid
+ * integration on an event source.
*/
- partnerTopicFriendlyDescription?: string;
+ setupUri?: string;
+ /** URI of the partner logo. */
+ logoUri?: string;
/**
- * The system metadata relating to Event Channel resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * List of IDs of Azure AD applications that are authorized to create a partner namespace
+ * associated with this partner registration. This is an optional property. Creating
+ * partner namespaces is always permitted under the same Azure subscription as the one used
+ * for creating the partner registration.
*/
- readonly systemData?: SystemData;
+ authorizedAzureSubscriptionIds?: string[];
}
-/**
- * Contains the possible cases for EventSubscriptionDestination.
- */
-export type EventSubscriptionDestinationUnion = EventSubscriptionDestination | WebHookEventSubscriptionDestination | EventHubEventSubscriptionDestination | StorageQueueEventSubscriptionDestination | HybridConnectionEventSubscriptionDestination | ServiceBusQueueEventSubscriptionDestination | ServiceBusTopicEventSubscriptionDestination | AzureFunctionEventSubscriptionDestination;
+/** Result of the List Partner Registrations operation. */
+export interface PartnerRegistrationsListResult {
+ /** A collection of partner registrations. */
+ value?: PartnerRegistration[];
+ /** A link for the next page of partner registrations. */
+ nextLink?: string;
+}
-/**
- * Information about the destination for an event subscription.
- */
-export interface EventSubscriptionDestination {
- /**
- * Polymorphic Discriminator
- */
- endpointType: "EventSubscriptionDestination";
+/** Properties of the Partner Topic update. */
+export interface PartnerTopicUpdateParameters {
+ /** Tags of the Partner Topic resource. */
+ tags?: { [propertyName: string]: string };
+ /** Identity information for the Partner Topic resource. */
+ identity?: IdentityInfo;
}
-/**
- * The identity information with the event subscription.
- */
-export interface EventSubscriptionIdentity {
- /**
- * The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an
- * implicitly created identity and a set of user-assigned identities. The type 'None' will remove
- * any identity. Possible values include: 'SystemAssigned', 'UserAssigned'
- */
- type?: EventSubscriptionIdentityType;
- /**
- * The user identity associated with the resource.
- */
- userAssignedIdentity?: string;
+/** Result of the List Partner Topics operation. */
+export interface PartnerTopicsListResult {
+ /** A collection of partner topics. */
+ value?: PartnerTopic[];
+ /** A link for the next page of partner topics. */
+ nextLink?: string;
}
-/**
- * Information about the delivery for an event subscription with resource identity.
- */
-export interface DeliveryWithResourceIdentity {
- /**
- * The identity to use when delivering events.
- */
- identity?: EventSubscriptionIdentity;
- /**
- * Information about the destination where events have to be delivered for the event
- * subscription.
- * Uses Azure Event Grid's identity to acquire the authentication tokens being used during
- * delivery / dead-lettering.
- */
- destination?: EventSubscriptionDestinationUnion;
+/** Result of the list of all private endpoint connections operation. */
+export interface PrivateEndpointConnectionListResult {
+ /** A collection of private endpoint connection resources. */
+ value?: PrivateEndpointConnection[];
+ /** A link for the next page of private endpoint connection resources. */
+ nextLink?: string;
}
-/**
- * Filter for the Event Subscription.
- */
-export interface EventSubscriptionFilter {
- /**
- * An optional string to filter events for an event subscription based on a resource path prefix.
- * The format of this depends on the publisher of the events.
- * Wildcard characters are not supported in this path.
- */
- subjectBeginsWith?: string;
- /**
- * An optional string to filter events for an event subscription based on a resource path suffix.
- * Wildcard characters are not supported in this path.
- */
- subjectEndsWith?: string;
- /**
- * A list of applicable event types that need to be part of the event subscription. If it is
- * desired to subscribe to all default event types, set the IncludedEventTypes to null.
- */
- includedEventTypes?: string[];
- /**
- * Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter
- * should be compared in a case sensitive manner. Default value: false.
- */
- isSubjectCaseSensitive?: boolean;
- /**
- * Allows advanced filters to be evaluated against an array of values instead of expecting a
- * singular value.
- */
- enableAdvancedFilteringOnArrays?: boolean;
- /**
- * An array of advanced filters that are used for filtering event subscriptions.
- */
- advancedFilters?: AdvancedFilterUnion[];
+/** Information of the private link resource. */
+export interface PrivateLinkResource {
+ /** Fully qualified identifier of the resource. */
+ id?: string;
+ /** Name of the resource. */
+ name?: string;
+ /** Type of the resource. */
+ type?: string;
+ groupId?: string;
+ displayName?: string;
+ requiredMembers?: string[];
+ requiredZoneNames?: string[];
}
-/**
- * Information about the retry policy for an event subscription.
- */
-export interface RetryPolicy {
- /**
- * Maximum number of delivery retry attempts for events. Default value: 30.
- */
- maxDeliveryAttempts?: number;
- /**
- * Time To Live (in minutes) for events. Default value: 1440.
- */
- eventTimeToLiveInMinutes?: number;
+/** Result of the List private link resources operation. */
+export interface PrivateLinkResourcesListResult {
+ /** A collection of private link resources */
+ value?: PrivateLinkResource[];
+ /** A link for the next page of private link resources. */
+ nextLink?: string;
}
-/**
- * Contains the possible cases for DeadLetterDestination.
- */
-export type DeadLetterDestinationUnion = DeadLetterDestination | StorageBlobDeadLetterDestination;
+/** Properties of the System Topic update. */
+export interface SystemTopicUpdateParameters {
+ /** Tags of the system topic. */
+ tags?: { [propertyName: string]: string };
+ /** Resource identity information. */
+ identity?: IdentityInfo;
+}
-/**
- * Information about the dead letter destination for an event subscription. To configure a
- * deadletter destination, do not directly instantiate an object of this class. Instead,
- * instantiate an object of a derived class. Currently, StorageBlobDeadLetterDestination is the
- * only class that derives from this class.
- */
-export interface DeadLetterDestination {
- /**
- * Polymorphic Discriminator
- */
- endpointType: "DeadLetterDestination";
+/** Result of the List System topics operation. */
+export interface SystemTopicsListResult {
+ /** A collection of system Topics. */
+ value?: SystemTopic[];
+ /** A link for the next page of topics. */
+ nextLink?: string;
}
-/**
- * Information about the deadletter destination with resource identity.
- */
-export interface DeadLetterWithResourceIdentity {
- /**
- * The identity to use when dead-lettering events.
- */
- identity?: EventSubscriptionIdentity;
+/** Definition of an Extended Location */
+export interface ExtendedLocation {
+ /** Fully qualified name of the extended location. */
+ name?: string;
+ /** Type of the extended location. */
+ type?: string;
+}
+
+/** Properties of the Topic update */
+export interface TopicUpdateParameters {
+ /** Tags of the Topic resource. */
+ tags?: { [propertyName: string]: string };
+ /** Topic resource identity information. */
+ identity?: IdentityInfo;
+ /** The Sku pricing tier for the topic. */
+ sku?: ResourceSku;
/**
- * Information about the destination where events have to be delivered for the event
- * subscription.
- * Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire
- * the authentication tokens being used during delivery / dead-lettering.
+ * This determines if traffic is allowed over public network. By default it is enabled.
+ * You can further restrict to specific IPs by configuring
*/
- deadLetterDestination?: DeadLetterDestinationUnion;
+ publicNetworkAccess?: PublicNetworkAccess;
+ /** This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled. */
+ inboundIpRules?: InboundIpRule[];
+ /** This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the topic. */
+ disableLocalAuth?: boolean;
}
-/**
- * Contains the possible cases for DeliveryAttributeMapping.
- */
-export type DeliveryAttributeMappingUnion = DeliveryAttributeMapping | StaticDeliveryAttributeMapping | DynamicDeliveryAttributeMapping;
+/** Result of the List Topics operation */
+export interface TopicsListResult {
+ /** A collection of Topics */
+ value?: Topic[];
+ /** A link for the next page of topics */
+ nextLink?: string;
+}
-/**
- * Delivery attribute mapping details.
- */
-export interface DeliveryAttributeMapping {
- /**
- * Polymorphic Discriminator
- */
- type: "DeliveryAttributeMapping";
- /**
- * Name of the delivery attribute or header.
- */
- name?: string;
+/** Shared access keys of the Topic */
+export interface TopicSharedAccessKeys {
+ /** Shared access key1 for the topic. */
+ key1?: string;
+ /** Shared access key2 for the topic. */
+ key2?: string;
+}
+
+/** Topic regenerate share access key request */
+export interface TopicRegenerateKeyRequest {
+ /** Key name to regenerate key1 or key2 */
+ keyName: string;
+}
+
+/** Result of the List Event Types operation */
+export interface EventTypesListResult {
+ /** A collection of event types */
+ value?: EventType[];
+}
+
+/** Result of the List Topic Types operation */
+export interface TopicTypesListResult {
+ /** A collection of topic types */
+ value?: TopicTypeInfo[];
+}
+
+/** This is used to express the source of an input schema mapping for a single target field in the Event Grid Event schema. This is currently used in the mappings for the 'id', 'topic' and 'eventtime' properties. This represents a field in the input event schema. */
+export interface JsonField {
+ /** Name of a field in the input event schema that's to be used as the source of a mapping. */
+ sourceField?: string;
}
/**
- * Static delivery attribute mapping details.
+ * This is used to express the source of an input schema mapping for a single target field
+ * in the Event Grid Event schema. This is currently used in the mappings for the 'subject',
+ * 'eventtype' and 'dataversion' properties. This represents a field in the input event schema
+ * along with a default value to be used, and at least one of these two properties should be provided.
*/
-export interface StaticDeliveryAttributeMapping {
+export interface JsonFieldWithDefault {
+ /** Name of a field in the input event schema that's to be used as the source of a mapping. */
+ sourceField?: string;
+ /** The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload. */
+ defaultValue?: string;
+}
+
+/** Definition of a Tracked Resource. */
+export type TrackedResource = Resource & {
+ /** Location of the resource. */
+ location: string;
+ /** Tags of the resource. */
+ tags?: { [propertyName: string]: string };
+};
+
+export type PrivateEndpointConnection = Resource & {
+ /** The Private Endpoint resource for this Connection. */
+ privateEndpoint?: PrivateEndpoint;
+ /** GroupIds from the private link service resource. */
+ groupIds?: string[];
+ /** Details about the state of the connection. */
+ privateLinkServiceConnectionState?: ConnectionState;
+ /** Provisioning state of the Private Endpoint Connection. */
+ provisioningState?: ResourceProvisioningState;
+};
+
+/** Domain Topic. */
+export type DomainTopic = Resource & {
/**
- * Polymorphic Discriminator
+ * The system metadata relating to Domain Topic resource.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- type: "Static";
+ readonly systemData?: SystemData;
/**
- * Name of the delivery attribute or header.
+ * Provisioning state of the domain topic.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- name?: string;
+ readonly provisioningState?: DomainTopicProvisioningState;
+};
+
+/** Event Channel. */
+export type EventChannel = Resource & {
/**
- * Value of the delivery attribute.
+ * The system metadata relating to Event Channel resource.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- value?: string;
+ readonly systemData?: SystemData;
+ /** Source of the event channel. This represents a unique resource in the partner's resource model. */
+ source?: EventChannelSource;
+ /** Represents the destination of an event channel. */
+ destination?: EventChannelDestination;
/**
- * Boolean flag to tell if the attribute contains sensitive information .
+ * Provisioning state of the event channel.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- isSecret?: boolean;
-}
-
-/**
- * Dynamic delivery attribute mapping details.
- */
-export interface DynamicDeliveryAttributeMapping {
+ readonly provisioningState?: EventChannelProvisioningState;
/**
- * Polymorphic Discriminator
+ * The readiness state of the corresponding partner topic.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- type: "Dynamic";
+ readonly partnerTopicReadinessState?: PartnerTopicReadinessState;
/**
- * Name of the delivery attribute or header.
+ * Expiration time of the event channel. If this timer expires while the corresponding partner topic is never activated,
+ * the event channel and corresponding partner topic are deleted.
*/
- name?: string;
+ expirationTimeIfNotActivatedUtc?: Date;
+ /** Information about the filter for the event channel. */
+ filter?: EventChannelFilter;
/**
- * JSON path in the event which contains attribute value.
+ * Friendly description about the topic. This can be set by the publisher/partner to show custom description for the customer partner topic.
+ * This will be helpful to remove any ambiguity of the origin of creation of the partner topic for the customer.
*/
- sourceField?: string;
-}
+ partnerTopicFriendlyDescription?: string;
+};
-/**
- * Information about the storage blob based dead letter destination.
- */
-export interface StorageBlobDeadLetterDestination {
- /**
- * Polymorphic Discriminator
- */
- endpointType: "StorageBlob";
+/** Event Subscription */
+export type EventSubscription = Resource & {
/**
- * The Azure Resource ID of the storage account that is the destination of the deadletter events
+ * The system metadata relating to Event Subscription resource.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- resourceId?: string;
+ readonly systemData?: SystemData;
/**
- * The name of the Storage blob container that is the destination of the deadletter events
+ * Name of the topic of the event subscription.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- blobContainerName?: string;
-}
-
-/**
- * Information about the webhook destination for an event subscription.
- */
-export interface WebHookEventSubscriptionDestination {
+ readonly topic?: string;
/**
- * Polymorphic Discriminator
+ * Provisioning state of the event subscription.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- endpointType: "WebHook";
+ readonly provisioningState?: EventSubscriptionProvisioningState;
/**
- * The URL that represents the endpoint of the destination of an event subscription.
+ * Information about the destination where events have to be delivered for the event subscription.
+ * Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering.
*/
- endpointUrl?: string;
+ destination?: EventSubscriptionDestinationUnion;
/**
- * The base URL that represents the endpoint of the destination of an event subscription.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * Information about the destination where events have to be delivered for the event subscription.
+ * Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering.
*/
- readonly endpointBaseUrl?: string;
+ deliveryWithResourceIdentity?: DeliveryWithResourceIdentity;
+ /** Information about the filter for the event subscription. */
+ filter?: EventSubscriptionFilter;
+ /** List of user defined labels. */
+ labels?: string[];
+ /** Expiration time of the event subscription. */
+ expirationTimeUtc?: Date;
+ /** The event delivery schema for the event subscription. */
+ eventDeliverySchema?: EventDeliverySchema;
+ /** The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events. */
+ retryPolicy?: RetryPolicy;
/**
- * Maximum number of events per batch. Default value: 1.
+ * The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination.
+ * Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering.
*/
- maxEventsPerBatch?: number;
+ deadLetterDestination?: DeadLetterDestinationUnion;
/**
- * Preferred batch size in Kilobytes. Default value: 64.
+ * The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination.
+ * Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering.
*/
- preferredBatchSizeInKilobytes?: number;
+ deadLetterWithResourceIdentity?: DeadLetterWithResourceIdentity;
+};
+
+/** Event Type for a subject under a topic */
+export type EventType = Resource & {
+ /** Display name of the event type. */
+ displayName?: string;
+ /** Description of the event type. */
+ description?: string;
+ /** Url of the schema for this event type. */
+ schemaUrl?: string;
+ /** IsInDefaultSet flag of the event type. */
+ isInDefaultSet?: boolean;
+};
+
+/** Event grid Extension Topic. This is used for getting Event Grid related metrics for Azure resources. */
+export type ExtensionTopic = Resource & {
+ /** Description of the extension topic. */
+ description?: string;
+ /** System topic resource id which is mapped to the source. */
+ systemTopic?: string;
+};
+
+/** Properties of a topic type info. */
+export type TopicTypeInfo = Resource & {
+ /** Namespace of the provider of the topic type. */
+ provider?: string;
+ /** Display Name for the topic type. */
+ displayName?: string;
+ /** Description of the topic type. */
+ description?: string;
+ /** Region type of the resource. */
+ resourceRegionType?: ResourceRegionType;
+ /** Provisioning state of the topic type */
+ provisioningState?: TopicTypeProvisioningState;
+ /** List of locations supported by this topic type. */
+ supportedLocations?: string[];
+ /** Source resource format. */
+ sourceResourceFormat?: string;
+ /** Supported source scopes. */
+ supportedScopesForSource?: TopicTypePropertiesSupportedScopesForSourceItem[];
+};
+
+/** This enables publishing to Event Grid using a custom input schema. This can be used to map properties from a custom input JSON schema to the Event Grid event schema. */
+export type JsonInputSchemaMapping = InputSchemaMapping & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ inputSchemaMappingType: "Json";
+ /** The mapping information for the Id property of the Event Grid Event. */
+ id?: JsonField;
+ /** The mapping information for the Topic property of the Event Grid Event. */
+ topic?: JsonField;
+ /** The mapping information for the EventTime property of the Event Grid Event. */
+ eventTime?: JsonField;
+ /** The mapping information for the EventType property of the Event Grid Event. */
+ eventType?: JsonFieldWithDefault;
+ /** The mapping information for the Subject property of the Event Grid Event. */
+ subject?: JsonFieldWithDefault;
+ /** The mapping information for the DataVersion property of the Event Grid Event. */
+ dataVersion?: JsonFieldWithDefault;
+};
+
+/** NumberIn Advanced Filter. */
+export type NumberInAdvancedFilter = AdvancedFilter & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ operatorType: "NumberIn";
+ /** The set of filter values. */
+ values?: number[];
+};
+
+/** NumberNotIn Advanced Filter. */
+export type NumberNotInAdvancedFilter = AdvancedFilter & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ operatorType: "NumberNotIn";
+ /** The set of filter values. */
+ values?: number[];
+};
+
+/** NumberLessThan Advanced Filter. */
+export type NumberLessThanAdvancedFilter = AdvancedFilter & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ operatorType: "NumberLessThan";
+ /** The filter value. */
+ value?: number;
+};
+
+/** NumberGreaterThan Advanced Filter. */
+export type NumberGreaterThanAdvancedFilter = AdvancedFilter & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ operatorType: "NumberGreaterThan";
+ /** The filter value. */
+ value?: number;
+};
+
+/** NumberLessThanOrEquals Advanced Filter. */
+export type NumberLessThanOrEqualsAdvancedFilter = AdvancedFilter & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ operatorType: "NumberLessThanOrEquals";
+ /** The filter value. */
+ value?: number;
+};
+
+/** NumberGreaterThanOrEquals Advanced Filter. */
+export type NumberGreaterThanOrEqualsAdvancedFilter = AdvancedFilter & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ operatorType: "NumberGreaterThanOrEquals";
+ /** The filter value. */
+ value?: number;
+};
+
+/** BoolEquals Advanced Filter. */
+export type BoolEqualsAdvancedFilter = AdvancedFilter & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ operatorType: "BoolEquals";
+ /** The boolean filter value. */
+ value?: boolean;
+};
+
+/** StringIn Advanced Filter. */
+export type StringInAdvancedFilter = AdvancedFilter & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ operatorType: "StringIn";
+ /** The set of filter values. */
+ values?: string[];
+};
+
+/** StringNotIn Advanced Filter. */
+export type StringNotInAdvancedFilter = AdvancedFilter & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ operatorType: "StringNotIn";
+ /** The set of filter values. */
+ values?: string[];
+};
+
+/** StringBeginsWith Advanced Filter. */
+export type StringBeginsWithAdvancedFilter = AdvancedFilter & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ operatorType: "StringBeginsWith";
+ /** The set of filter values. */
+ values?: string[];
+};
+
+/** StringEndsWith Advanced Filter. */
+export type StringEndsWithAdvancedFilter = AdvancedFilter & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ operatorType: "StringEndsWith";
+ /** The set of filter values. */
+ values?: string[];
+};
+
+/** StringContains Advanced Filter. */
+export type StringContainsAdvancedFilter = AdvancedFilter & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ operatorType: "StringContains";
+ /** The set of filter values. */
+ values?: string[];
+};
+
+/** NumberInRange Advanced Filter. */
+export type NumberInRangeAdvancedFilter = AdvancedFilter & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ operatorType: "NumberInRange";
+ /** The set of filter values. */
+ values?: number[][];
+};
+
+/** NumberNotInRange Advanced Filter. */
+export type NumberNotInRangeAdvancedFilter = AdvancedFilter & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ operatorType: "NumberNotInRange";
+ /** The set of filter values. */
+ values?: number[][];
+};
+
+/** StringNotBeginsWith Advanced Filter. */
+export type StringNotBeginsWithAdvancedFilter = AdvancedFilter & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ operatorType: "StringNotBeginsWith";
+ /** The set of filter values. */
+ values?: string[];
+};
+
+/** StringNotEndsWith Advanced Filter. */
+export type StringNotEndsWithAdvancedFilter = AdvancedFilter & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ operatorType: "StringNotEndsWith";
+ /** The set of filter values. */
+ values?: string[];
+};
+
+/** StringNotContains Advanced Filter. */
+export type StringNotContainsAdvancedFilter = AdvancedFilter & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ operatorType: "StringNotContains";
+ /** The set of filter values. */
+ values?: string[];
+};
+
+/** IsNullOrUndefined Advanced Filter. */
+export type IsNullOrUndefinedAdvancedFilter = AdvancedFilter & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ operatorType: "IsNullOrUndefined";
+};
+
+/** IsNotNull Advanced Filter. */
+export type IsNotNullAdvancedFilter = AdvancedFilter & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ operatorType: "IsNotNull";
+};
+
+/** Information about the webhook destination for an event subscription. */
+export type WebHookEventSubscriptionDestination = EventSubscriptionDestination & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ endpointType: "WebHook";
+ /** The URL that represents the endpoint of the destination of an event subscription. */
+ endpointUrl?: string;
/**
- * The Azure Active Directory Tenant ID to get the access token that will be included as the
- * bearer token in delivery requests.
+ * The base URL that represents the endpoint of the destination of an event subscription.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
+ readonly endpointBaseUrl?: string;
+ /** Maximum number of events per batch. */
+ maxEventsPerBatch?: number;
+ /** Preferred batch size in Kilobytes. */
+ preferredBatchSizeInKilobytes?: number;
+ /** The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests. */
azureActiveDirectoryTenantId?: string;
- /**
- * The Azure Active Directory Application ID or URI to get the access token that will be included
- * as the bearer token in delivery requests.
- */
+ /** The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests. */
azureActiveDirectoryApplicationIdOrUri?: string;
- /**
- * Delivery attribute details.
- */
+ /** Delivery attribute details. */
deliveryAttributeMappings?: DeliveryAttributeMappingUnion[];
-}
+};
-/**
- * Information about the event hub destination for an event subscription.
- */
-export interface EventHubEventSubscriptionDestination {
- /**
- * Polymorphic Discriminator
- */
+/** Information about the event hub destination for an event subscription. */
+export type EventHubEventSubscriptionDestination = EventSubscriptionDestination & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
endpointType: "EventHub";
- /**
- * The Azure Resource Id that represents the endpoint of an Event Hub destination of an event
- * subscription.
- */
+ /** The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription. */
resourceId?: string;
- /**
- * Delivery attribute details.
- */
+ /** Delivery attribute details. */
deliveryAttributeMappings?: DeliveryAttributeMappingUnion[];
-}
+};
-/**
- * Information about the storage queue destination for an event subscription.
- */
-export interface StorageQueueEventSubscriptionDestination {
- /**
- * Polymorphic Discriminator
- */
+/** Information about the storage queue destination for an event subscription. */
+export type StorageQueueEventSubscriptionDestination = EventSubscriptionDestination & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
endpointType: "StorageQueue";
- /**
- * The Azure Resource ID of the storage account that contains the queue that is the destination
- * of an event subscription.
- */
+ /** The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription. */
resourceId?: string;
- /**
- * The name of the Storage queue under a storage account that is the destination of an event
- * subscription.
- */
+ /** The name of the Storage queue under a storage account that is the destination of an event subscription. */
queueName?: string;
- /**
- * Storage queue message time to live in seconds.
- */
+ /** Storage queue message time to live in seconds. */
queueMessageTimeToLiveInSeconds?: number;
-}
+};
-/**
- * Information about the HybridConnection destination for an event subscription.
- */
-export interface HybridConnectionEventSubscriptionDestination {
- /**
- * Polymorphic Discriminator
- */
+/** Information about the HybridConnection destination for an event subscription. */
+export type HybridConnectionEventSubscriptionDestination = EventSubscriptionDestination & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
endpointType: "HybridConnection";
- /**
- * The Azure Resource ID of an hybrid connection that is the destination of an event
- * subscription.
- */
+ /** The Azure Resource ID of an hybrid connection that is the destination of an event subscription. */
resourceId?: string;
- /**
- * Delivery attribute details.
- */
+ /** Delivery attribute details. */
deliveryAttributeMappings?: DeliveryAttributeMappingUnion[];
-}
+};
-/**
- * Information about the service bus destination for an event subscription.
- */
-export interface ServiceBusQueueEventSubscriptionDestination {
- /**
- * Polymorphic Discriminator
- */
+/** Information about the service bus destination for an event subscription. */
+export type ServiceBusQueueEventSubscriptionDestination = EventSubscriptionDestination & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
endpointType: "ServiceBusQueue";
- /**
- * The Azure Resource Id that represents the endpoint of the Service Bus destination of an event
- * subscription.
- */
+ /** The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription. */
resourceId?: string;
- /**
- * Delivery attribute details.
- */
+ /** Delivery attribute details. */
deliveryAttributeMappings?: DeliveryAttributeMappingUnion[];
-}
+};
-/**
- * Information about the service bus topic destination for an event subscription.
- */
-export interface ServiceBusTopicEventSubscriptionDestination {
- /**
- * Polymorphic Discriminator
- */
+/** Information about the service bus topic destination for an event subscription. */
+export type ServiceBusTopicEventSubscriptionDestination = EventSubscriptionDestination & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
endpointType: "ServiceBusTopic";
- /**
- * The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an
- * event subscription.
- */
+ /** The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription. */
resourceId?: string;
- /**
- * Delivery attribute details.
- */
+ /** Delivery attribute details. */
deliveryAttributeMappings?: DeliveryAttributeMappingUnion[];
-}
+};
-/**
- * Information about the azure function destination for an event subscription.
- */
-export interface AzureFunctionEventSubscriptionDestination {
- /**
- * Polymorphic Discriminator
- */
+/** Information about the azure function destination for an event subscription. */
+export type AzureFunctionEventSubscriptionDestination = EventSubscriptionDestination & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
endpointType: "AzureFunction";
- /**
- * The Azure Resource Id that represents the endpoint of the Azure Function destination of an
- * event subscription.
- */
+ /** The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription. */
resourceId?: string;
- /**
- * Maximum number of events per batch. Default value: 1.
- */
+ /** Maximum number of events per batch. */
maxEventsPerBatch?: number;
- /**
- * Preferred batch size in Kilobytes. Default value: 64.
- */
+ /** Preferred batch size in Kilobytes. */
preferredBatchSizeInKilobytes?: number;
- /**
- * Delivery attribute details.
- */
+ /** Delivery attribute details. */
deliveryAttributeMappings?: DeliveryAttributeMappingUnion[];
-}
+};
-/**
- * Event Subscription
- */
-export interface EventSubscription extends Resource {
+/** Information about the storage blob based dead letter destination. */
+export type StorageBlobDeadLetterDestination = DeadLetterDestination & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ endpointType: "StorageBlob";
+ /** The Azure Resource ID of the storage account that is the destination of the deadletter events */
+ resourceId?: string;
+ /** The name of the Storage blob container that is the destination of the deadletter events */
+ blobContainerName?: string;
+};
+
+/** Static delivery attribute mapping details. */
+export type StaticDeliveryAttributeMapping = DeliveryAttributeMapping & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type: "Static";
+ /** Value of the delivery attribute. */
+ value?: string;
+ /** Boolean flag to tell if the attribute contains sensitive information . */
+ isSecret?: boolean;
+};
+
+/** Dynamic delivery attribute mapping details. */
+export type DynamicDeliveryAttributeMapping = DeliveryAttributeMapping & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type: "Dynamic";
+ /** JSON path in the event which contains attribute value. */
+ sourceField?: string;
+};
+
+/** EventGrid Domain. */
+export type Domain = TrackedResource & {
+ /** The Sku pricing tier for the Event Grid Domain resource. */
+ sku?: ResourceSku;
+ /** Identity information for the Event Grid Domain resource. */
+ identity?: IdentityInfo;
/**
- * Name of the topic of the event subscription.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * The system metadata relating to the Event Grid Domain resource.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- readonly topic?: string;
+ readonly systemData?: SystemData;
/**
- * Provisioning state of the event subscription. Possible values include: 'Creating', 'Updating',
- * 'Deleting', 'Succeeded', 'Canceled', 'Failed', 'AwaitingManualAction'
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * List of private endpoint connections.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- readonly provisioningState?: EventSubscriptionProvisioningState;
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
/**
- * Information about the destination where events have to be delivered for the event
- * subscription.
- * Uses Azure Event Grid's identity to acquire the authentication tokens being used during
- * delivery / dead-lettering.
+ * Provisioning state of the Event Grid Domain Resource.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- destination?: EventSubscriptionDestinationUnion;
+ readonly provisioningState?: DomainProvisioningState;
/**
- * Information about the destination where events have to be delivered for the event
- * subscription.
- * Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire
- * the authentication tokens being used during delivery / dead-lettering.
+ * Endpoint for the Event Grid Domain Resource which is used for publishing the events.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- deliveryWithResourceIdentity?: DeliveryWithResourceIdentity;
+ readonly endpoint?: string;
+ /** This determines the format that Event Grid should expect for incoming events published to the Event Grid Domain Resource. */
+ inputSchema?: InputSchema;
+ /** Information about the InputSchemaMapping which specified the info about mapping event payload. */
+ inputSchemaMapping?: InputSchemaMappingUnion;
/**
- * Information about the filter for the event subscription.
+ * Metric resource id for the Event Grid Domain Resource.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- filter?: EventSubscriptionFilter;
+ readonly metricResourceId?: string;
/**
- * List of user defined labels.
+ * This determines if traffic is allowed over public network. By default it is enabled.
+ * You can further restrict to specific IPs by configuring
*/
- labels?: string[];
+ publicNetworkAccess?: PublicNetworkAccess;
+ /** This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled. */
+ inboundIpRules?: InboundIpRule[];
+ /** This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the domain. */
+ disableLocalAuth?: boolean;
/**
- * Expiration time of the event subscription.
+ * This Boolean is used to specify the creation mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource.
+ * In this context, creation of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true.
+ * When this property is null or set to true, Event Grid is responsible of automatically creating the domain topic when the first event subscription is
+ * created at the scope of the domain topic. If this property is set to false, then creating the first event subscription will require creating a domain topic
+ * by the user. The self-management mode can be used if the user wants full control of when the domain topic is created, while auto-managed mode provides the
+ * flexibility to perform less operations and manage fewer resources by the user. Also, note that in auto-managed creation mode, user is allowed to create the
+ * domain topic on demand if needed.
*/
- expirationTimeUtc?: Date;
+ autoCreateTopicWithFirstSubscription?: boolean;
/**
- * The event delivery schema for the event subscription. Possible values include:
- * 'EventGridSchema', 'CustomInputSchema', 'CloudEventSchemaV1_0'. Default value:
- * 'EventGridSchema'.
+ * This Boolean is used to specify the deletion mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource.
+ * In this context, deletion of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true.
+ * When this property is set to true, Event Grid is responsible of automatically deleting the domain topic when the last event subscription at the scope
+ * of the domain topic is deleted. If this property is set to false, then the user needs to manually delete the domain topic when it is no longer needed
+ * (e.g., when last event subscription is deleted and the resource needs to be cleaned up). The self-management mode can be used if the user wants full
+ * control of when the domain topic needs to be deleted, while auto-managed mode provides the flexibility to perform less operations and manage fewer
+ * resources by the user.
*/
- eventDeliverySchema?: EventDeliverySchema;
+ autoDeleteTopicWithLastSubscription?: boolean;
+};
+
+/** EventGrid Partner Namespace. */
+export type PartnerNamespace = TrackedResource & {
/**
- * The retry policy for events. This can be used to configure maximum number of delivery attempts
- * and time to live for events.
+ * The system metadata relating to Partner Namespace resource.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- retryPolicy?: RetryPolicy;
+ readonly systemData?: SystemData;
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
/**
- * The dead letter destination of the event subscription. Any event that cannot be delivered to
- * its' destination is sent to the dead letter destination.
- * Uses Azure Event Grid's identity to acquire the authentication tokens being used during
- * delivery / dead-lettering.
+ * Provisioning state of the partner namespace.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- deadLetterDestination?: DeadLetterDestinationUnion;
+ readonly provisioningState?: PartnerNamespaceProvisioningState;
/**
- * The dead letter destination of the event subscription. Any event that cannot be delivered to
- * its' destination is sent to the dead letter destination.
- * Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire
- * the authentication tokens being used during delivery / dead-lettering.
+ * The fully qualified ARM Id of the partner registration that should be associated with this partner namespace. This takes the following format:
+ * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}.
*/
- deadLetterWithResourceIdentity?: DeadLetterWithResourceIdentity;
+ partnerRegistrationFullyQualifiedId?: string;
/**
- * The system metadata relating to Event Subscription resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * Endpoint for the partner namespace.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- readonly systemData?: SystemData;
-}
-
-/**
- * Properties of the Event Subscription update.
- */
-export interface EventSubscriptionUpdateParameters {
- /**
- * Information about the destination where events have to be delivered for the event
- * subscription.
- * Uses Azure Event Grid's identity to acquire the authentication tokens being used during
- * delivery / dead-lettering.
- */
- destination?: EventSubscriptionDestinationUnion;
- /**
- * Information about the destination where events have to be delivered for the event
- * subscription.
- * Uses the managed identity setup on the parent resource (topic / domain) to acquire the
- * authentication tokens being used during delivery / dead-lettering.
- */
- deliveryWithResourceIdentity?: DeliveryWithResourceIdentity;
- /**
- * Information about the filter for the event subscription.
- */
- filter?: EventSubscriptionFilter;
- /**
- * List of user defined labels.
- */
- labels?: string[];
+ readonly endpoint?: string;
/**
- * Information about the expiration time for the event subscription.
+ * This determines if traffic is allowed over public network. By default it is enabled.
+ * You can further restrict to specific IPs by configuring
*/
- expirationTimeUtc?: Date;
+ publicNetworkAccess?: PublicNetworkAccess;
+ /** This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled. */
+ inboundIpRules?: InboundIpRule[];
+ /** This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the partner namespace. */
+ disableLocalAuth?: boolean;
+};
+
+/** Information about a partner registration. */
+export type PartnerRegistration = TrackedResource & {
/**
- * The event delivery schema for the event subscription. Possible values include:
- * 'EventGridSchema', 'CustomInputSchema', 'CloudEventSchemaV1_0'
+ * The system metadata relating to Partner Registration resource.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- eventDeliverySchema?: EventDeliverySchema;
+ readonly systemData?: SystemData;
/**
- * The retry policy for events. This can be used to configure maximum number of delivery attempts
- * and time to live for events.
+ * Provisioning state of the partner registration.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- retryPolicy?: RetryPolicy;
+ readonly provisioningState?: PartnerRegistrationProvisioningState;
+ /** Official name of the partner name. For example: "Contoso". */
+ partnerName?: string;
+ /** Name of the partner resource type. */
+ partnerResourceTypeName?: string;
+ /** Display name of the partner resource type. */
+ partnerResourceTypeDisplayName?: string;
+ /** Short description of the partner resource type. The length of this description should not exceed 256 characters. */
+ partnerResourceTypeDescription?: string;
/**
- * The dead letter destination of the event subscription. Any event that cannot be delivered to
- * its' destination is sent to the dead letter destination.
- * Uses Azure Event Grid's identity to acquire the authentication tokens being used during
- * delivery / dead-lettering.
+ * Long description for the custom scenarios and integration to be displayed in the portal if needed.
+ * Length of this description should not exceed 2048 characters.
*/
- deadLetterDestination?: DeadLetterDestinationUnion;
+ longDescription?: string;
/**
- * The dead letter destination of the event subscription. Any event that cannot be delivered to
- * its' destination is sent to the dead letter destination.
- * Uses the managed identity setup on the parent resource (topic / domain) to acquire the
- * authentication tokens being used during delivery / dead-lettering.
+ * The customer service number of the publisher. The expected phone format should start with a '+' sign
+ * followed by the country code. The remaining digits are then followed. Only digits and spaces are allowed and its
+ * length cannot exceed 16 digits including country code. Examples of valid phone numbers are: +1 515 123 4567 and
+ * +966 7 5115 2471. Examples of invalid phone numbers are: +1 (515) 123-4567, 1 515 123 4567 and +966 121 5115 24 7 551 1234 43
*/
- deadLetterWithResourceIdentity?: DeadLetterWithResourceIdentity;
-}
-
-/**
- * Full endpoint url of an event subscription
- */
-export interface EventSubscriptionFullUrl {
+ partnerCustomerServiceNumber?: string;
+ /** The extension of the customer service number of the publisher. Only digits are allowed and number of digits should not exceed 10. */
+ partnerCustomerServiceExtension?: string;
+ /** The extension of the customer service URI of the publisher. */
+ customerServiceUri?: string;
/**
- * The URL that represents the endpoint of the destination of an event subscription.
+ * URI of the partner website that can be used by Azure customers to setup Event Grid
+ * integration on an event source.
*/
- endpointUrl?: string;
-}
-
-/**
- * Result of the Get delivery attributes operation.
- */
-export interface DeliveryAttributeListResult {
+ setupUri?: string;
+ /** URI of the logo. */
+ logoUri?: string;
+ /** Visibility state of the partner registration. */
+ visibilityState?: PartnerRegistrationVisibilityState;
/**
- * A collection of DeliveryAttributeMapping
+ * List of Azure subscription Ids that are authorized to create a partner namespace
+ * associated with this partner registration. This is an optional property. Creating
+ * partner namespaces is always permitted under the same Azure subscription as the one used
+ * for creating the partner registration.
*/
- value?: DeliveryAttributeMappingUnion[];
-}
+ authorizedAzureSubscriptionIds?: string[];
+};
-/**
- * Information about an operation
- */
-export interface OperationInfo {
+/** EventGrid Partner Topic. */
+export type PartnerTopic = TrackedResource & {
/**
- * Name of the provider
+ * The system metadata relating to Partner Topic resource.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- provider?: string;
+ readonly systemData?: SystemData;
+ /** Identity information for the Partner Topic resource. */
+ identity?: IdentityInfo;
+ /** Source associated with this partner topic. This represents a unique partner resource. */
+ source?: string;
/**
- * Name of the resource type
+ * Expiration time of the partner topic. If this timer expires while the partner topic is still never activated,
+ * the partner topic and corresponding event channel are deleted.
*/
- resource?: string;
+ expirationTimeIfNotActivatedUtc?: Date;
/**
- * Name of the operation
+ * Provisioning state of the partner topic.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- operation?: string;
+ readonly provisioningState?: PartnerTopicProvisioningState;
+ /** Activation state of the partner topic. */
+ activationState?: PartnerTopicActivationState;
/**
- * Description of the operation
+ * Friendly description about the topic. This can be set by the publisher/partner to show custom description for the customer partner topic.
+ * This will be helpful to remove any ambiguity of the origin of creation of the partner topic for the customer.
*/
- description?: string;
-}
+ partnerTopicFriendlyDescription?: string;
+};
-/**
- * Represents an operation returned by the GetOperations request
- */
-export interface Operation {
- /**
- * Name of the operation
- */
- name?: string;
- /**
- * Display name of the operation
- */
- display?: OperationInfo;
+/** EventGrid System Topic. */
+export type SystemTopic = TrackedResource & {
/**
- * Origin of the operation
+ * The system metadata relating to System Topic resource.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- origin?: string;
+ readonly systemData?: SystemData;
+ /** Identity information for the resource. */
+ identity?: IdentityInfo;
/**
- * This Boolean is used to determine if the operation is a data plane action or not.
+ * Provisioning state of the system topic.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- isDataAction?: boolean;
+ readonly provisioningState?: ResourceProvisioningState;
+ /** Source for the system topic. */
+ source?: string;
+ /** TopicType for the system topic. */
+ topicType?: string;
/**
- * Properties of the operation
+ * Metric resource id for the system topic.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- properties?: any;
-}
+ readonly metricResourceId?: string;
+};
-/**
- * EventGrid Partner Namespace.
- */
-export interface PartnerNamespace extends TrackedResource {
+/** EventGrid Topic */
+export type Topic = TrackedResource & {
+ /** The Sku pricing tier for the topic. */
+ sku?: ResourceSku;
+ /** Identity information for the resource. */
+ identity?: IdentityInfo;
+ /** Kind of the resource. */
+ kind?: ResourceKind;
+ /** Extended location of the resource. */
+ extendedLocation?: ExtendedLocation;
/**
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * The system metadata relating to Topic resource.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
+ readonly systemData?: SystemData;
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
readonly privateEndpointConnections?: PrivateEndpointConnection[];
/**
- * Provisioning state of the partner namespace. Possible values include: 'Creating', 'Updating',
- * 'Deleting', 'Succeeded', 'Canceled', 'Failed'
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * Provisioning state of the topic.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- readonly provisioningState?: PartnerNamespaceProvisioningState;
+ readonly provisioningState?: TopicProvisioningState;
/**
- * The fully qualified ARM Id of the partner registration that should be associated with this
- * partner namespace. This takes the following format:
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}.
+ * Endpoint for the topic.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- partnerRegistrationFullyQualifiedId?: string;
+ readonly endpoint?: string;
+ /** This determines the format that Event Grid should expect for incoming events published to the topic. */
+ inputSchema?: InputSchema;
+ /** This enables publishing using custom event schemas. An InputSchemaMapping can be specified to map various properties of a source schema to various required properties of the EventGridEvent schema. */
+ inputSchemaMapping?: InputSchemaMappingUnion;
/**
- * Endpoint for the partner namespace.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * Metric resource id for the topic.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- readonly endpoint?: string;
+ readonly metricResourceId?: string;
/**
* This determines if traffic is allowed over public network. By default it is enabled.
- * You can further restrict to specific IPs by configuring . Possible values include: 'Enabled', 'Disabled'. Default value: 'Enabled'.
+ * You can further restrict to specific IPs by configuring
*/
publicNetworkAccess?: PublicNetworkAccess;
- /**
- * This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are
- * considered only if PublicNetworkAccess is enabled.
- */
+ /** This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled. */
inboundIpRules?: InboundIpRule[];
- /**
- * This boolean is used to enable or disable local auth. Default value is false. When the
- * property is set to true, only AAD token will be used to authenticate if user is allowed to
- * publish to the partner namespace. Default value: false.
- */
+ /** This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the topic. */
disableLocalAuth?: boolean;
- /**
- * The system metadata relating to Partner Namespace resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly systemData?: SystemData;
+};
+
+/** Known values of {@link PersistedConnectionStatus} that the service accepts. */
+export enum KnownPersistedConnectionStatus {
+ Pending = "Pending",
+ Approved = "Approved",
+ Rejected = "Rejected",
+ Disconnected = "Disconnected"
}
/**
- * Properties of the PartnerNamespace update.
+ * Defines values for PersistedConnectionStatus. \
+ * {@link KnownPersistedConnectionStatus} can be used interchangeably with PersistedConnectionStatus,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Pending** \
+ * **Approved** \
+ * **Rejected** \
+ * **Disconnected**
*/
-export interface PartnerNamespaceUpdateParameters {
- /**
- * Tags of the partner namespace.
- */
- tags?: { [propertyName: string]: string };
- /**
- * This determines if traffic is allowed over public network. By default it is enabled.
- * You can further restrict to specific IPs by configuring . Possible values include: 'Enabled', 'Disabled'
- */
- publicNetworkAccess?: PublicNetworkAccess;
- /**
- * This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are
- * considered only if PublicNetworkAccess is enabled.
- */
- inboundIpRules?: InboundIpRule[];
- /**
- * This boolean is used to enable or disable local auth. Default value is false. When the
- * property is set to true, only AAD token will be used to authenticate if user is allowed to
- * publish to the partner namespace.
- */
- disableLocalAuth?: boolean;
+export type PersistedConnectionStatus = string;
+
+/** Known values of {@link ResourceProvisioningState} that the service accepts. */
+export enum KnownResourceProvisioningState {
+ Creating = "Creating",
+ Updating = "Updating",
+ Deleting = "Deleting",
+ Succeeded = "Succeeded",
+ Canceled = "Canceled",
+ Failed = "Failed"
}
/**
- * Shared access keys of the partner namespace.
+ * Defines values for ResourceProvisioningState. \
+ * {@link KnownResourceProvisioningState} can be used interchangeably with ResourceProvisioningState,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Creating** \
+ * **Updating** \
+ * **Deleting** \
+ * **Succeeded** \
+ * **Canceled** \
+ * **Failed**
*/
-export interface PartnerNamespaceSharedAccessKeys {
- /**
- * Shared access key1 for the partner namespace.
- */
- key1?: string;
- /**
- * Shared access key2 for the partner namespace.
- */
- key2?: string;
+export type ResourceProvisioningState = string;
+
+/** Known values of {@link DomainProvisioningState} that the service accepts. */
+export enum KnownDomainProvisioningState {
+ Creating = "Creating",
+ Updating = "Updating",
+ Deleting = "Deleting",
+ Succeeded = "Succeeded",
+ Canceled = "Canceled",
+ Failed = "Failed"
}
/**
- * PartnerNamespace regenerate shared access key request.
+ * Defines values for DomainProvisioningState. \
+ * {@link KnownDomainProvisioningState} can be used interchangeably with DomainProvisioningState,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Creating** \
+ * **Updating** \
+ * **Deleting** \
+ * **Succeeded** \
+ * **Canceled** \
+ * **Failed**
*/
-export interface PartnerNamespaceRegenerateKeyRequest {
- /**
- * Key name to regenerate (key1 or key2).
- */
- keyName: string;
+export type DomainProvisioningState = string;
+
+/** Known values of {@link InputSchema} that the service accepts. */
+export enum KnownInputSchema {
+ EventGridSchema = "EventGridSchema",
+ CustomEventSchema = "CustomEventSchema",
+ CloudEventSchemaV10 = "CloudEventSchemaV1_0"
}
/**
- * Information about a partner registration.
+ * Defines values for InputSchema. \
+ * {@link KnownInputSchema} can be used interchangeably with InputSchema,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **EventGridSchema** \
+ * **CustomEventSchema** \
+ * **CloudEventSchemaV1_0**
*/
-export interface PartnerRegistration extends TrackedResource {
- /**
- * Provisioning state of the partner registration. Possible values include: 'Creating',
- * 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed'
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly provisioningState?: PartnerRegistrationProvisioningState;
- /**
- * Official name of the partner name. For example: "Contoso".
- */
- partnerName?: string;
- /**
- * Name of the partner resource type.
- */
- partnerResourceTypeName?: string;
- /**
- * Display name of the partner resource type.
- */
- partnerResourceTypeDisplayName?: string;
- /**
- * Short description of the partner resource type. The length of this description should not
- * exceed 256 characters.
- */
- partnerResourceTypeDescription?: string;
- /**
- * Long description for the custom scenarios and integration to be displayed in the portal if
- * needed.
- * Length of this description should not exceed 2048 characters.
- */
- longDescription?: string;
- /**
- * The customer service number of the publisher. The expected phone format should start with a
- * '+' sign
- * followed by the country code. The remaining digits are then followed. Only digits and spaces
- * are allowed and its
- * length cannot exceed 16 digits including country code. Examples of valid phone numbers are: +1
- * 515 123 4567 and
- * +966 7 5115 2471. Examples of invalid phone numbers are: +1 (515) 123-4567, 1 515 123 4567 and
- * +966 121 5115 24 7 551 1234 43
- */
- partnerCustomerServiceNumber?: string;
- /**
- * The extension of the customer service number of the publisher. Only digits are allowed and
- * number of digits should not exceed 10.
- */
- partnerCustomerServiceExtension?: string;
- /**
- * The extension of the customer service URI of the publisher.
- */
- customerServiceUri?: string;
- /**
- * URI of the partner website that can be used by Azure customers to setup Event Grid
- * integration on an event source.
- */
- setupUri?: string;
- /**
- * URI of the logo.
- */
- logoUri?: string;
- /**
- * Visibility state of the partner registration. Possible values include: 'Hidden',
- * 'PublicPreview', 'GenerallyAvailable'
- */
- visibilityState?: PartnerRegistrationVisibilityState;
- /**
- * List of Azure subscription Ids that are authorized to create a partner namespace
- * associated with this partner registration. This is an optional property. Creating
- * partner namespaces is always permitted under the same Azure subscription as the one used
- * for creating the partner registration.
- */
- authorizedAzureSubscriptionIds?: string[];
- /**
- * The system metadata relating to Partner Registration resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly systemData?: SystemData;
+export type InputSchema = string;
+
+/** Known values of {@link InputSchemaMappingType} that the service accepts. */
+export enum KnownInputSchemaMappingType {
+ Json = "Json"
}
/**
- * Properties of the Partner Registration update.
+ * Defines values for InputSchemaMappingType. \
+ * {@link KnownInputSchemaMappingType} can be used interchangeably with InputSchemaMappingType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Json**
*/
-export interface PartnerRegistrationUpdateParameters {
- /**
- * Tags of the partner registration resource.
- */
- tags?: { [propertyName: string]: string };
- /**
- * Name of the partner topic type.
- */
- partnerTopicTypeName?: string;
- /**
- * Display name of the partner topic type.
- */
- partnerTopicTypeDisplayName?: string;
- /**
- * Description of the partner topic type.
- */
- partnerTopicTypeDescription?: string;
- /**
- * URI of the partner website that can be used by Azure customers to setup Event Grid
- * integration on an event source.
- */
- setupUri?: string;
- /**
- * URI of the partner logo.
- */
- logoUri?: string;
- /**
- * List of IDs of Azure AD applications that are authorized to create a partner namespace
- * associated with this partner registration. This is an optional property. Creating
- * partner namespaces is always permitted under the same Azure subscription as the one used
- * for creating the partner registration.
- */
- authorizedAzureSubscriptionIds?: string[];
+export type InputSchemaMappingType = string;
+
+/** Known values of {@link PublicNetworkAccess} that the service accepts. */
+export enum KnownPublicNetworkAccess {
+ Enabled = "Enabled",
+ Disabled = "Disabled"
}
/**
- * Event Type for a subject under a topic
+ * Defines values for PublicNetworkAccess. \
+ * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Enabled** \
+ * **Disabled**
*/
-export interface EventType extends Resource {
- /**
- * Display name of the event type.
- */
- displayName?: string;
- /**
- * Description of the event type.
- */
- description?: string;
- /**
- * Url of the schema for this event type.
- */
- schemaUrl?: string;
- /**
- * IsInDefaultSet flag of the event type.
- */
- isInDefaultSet?: boolean;
+export type PublicNetworkAccess = string;
+
+/** Known values of {@link IpActionType} that the service accepts. */
+export enum KnownIpActionType {
+ Allow = "Allow"
}
/**
- * Properties of the Partner Topic update.
+ * Defines values for IpActionType. \
+ * {@link KnownIpActionType} can be used interchangeably with IpActionType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Allow**
*/
-export interface PartnerTopicUpdateParameters {
- /**
- * Tags of the Partner Topic resource.
- */
- tags?: { [propertyName: string]: string };
- /**
- * Identity information for the Partner Topic resource.
- */
- identity?: IdentityInfo;
+export type IpActionType = string;
+
+/** Known values of {@link Sku} that the service accepts. */
+export enum KnownSku {
+ Basic = "Basic",
+ Premium = "Premium"
}
/**
- * EventGrid Partner Topic.
+ * Defines values for Sku. \
+ * {@link KnownSku} can be used interchangeably with Sku,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Basic** \
+ * **Premium**
*/
-export interface PartnerTopic extends TrackedResource {
- /**
- * Source associated with this partner topic. This represents a unique partner resource.
- */
- source?: string;
- /**
- * Expiration time of the partner topic. If this timer expires while the partner topic is still
- * never activated,
- * the partner topic and corresponding event channel are deleted.
- */
- expirationTimeIfNotActivatedUtc?: Date;
- /**
- * Provisioning state of the partner topic. Possible values include: 'Creating', 'Updating',
- * 'Deleting', 'Succeeded', 'Canceled', 'Failed'
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly provisioningState?: PartnerTopicProvisioningState;
- /**
- * Activation state of the partner topic. Possible values include: 'NeverActivated', 'Activated',
- * 'Deactivated'
- */
- activationState?: PartnerTopicActivationState;
- /**
- * Friendly description about the topic. This can be set by the publisher/partner to show custom
- * description for the customer partner topic.
- * This will be helpful to remove any ambiguity of the origin of creation of the partner topic
- * for the customer.
- */
- partnerTopicFriendlyDescription?: string;
- /**
- * The system metadata relating to Partner Topic resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly systemData?: SystemData;
- /**
- * Identity information for the Partner Topic resource.
- */
- identity?: IdentityInfo;
+export type Sku = string;
+
+/** Known values of {@link IdentityType} that the service accepts. */
+export enum KnownIdentityType {
+ None = "None",
+ SystemAssigned = "SystemAssigned",
+ UserAssigned = "UserAssigned",
+ SystemAssignedUserAssigned = "SystemAssigned, UserAssigned"
}
/**
- * Information of the private link resource.
+ * Defines values for IdentityType. \
+ * {@link KnownIdentityType} can be used interchangeably with IdentityType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **None** \
+ * **SystemAssigned** \
+ * **UserAssigned** \
+ * **SystemAssigned, UserAssigned**
*/
-export interface PrivateLinkResource {
- groupId?: string;
- displayName?: string;
- requiredMembers?: string[];
- requiredZoneNames?: string[];
- /**
- * Fully qualified identifier of the resource.
- */
- id?: string;
- /**
- * Name of the resource.
- */
- name?: string;
- /**
- * Type of the resource.
- */
- type?: string;
+export type IdentityType = string;
+
+/** Known values of {@link CreatedByType} that the service accepts. */
+export enum KnownCreatedByType {
+ User = "User",
+ Application = "Application",
+ ManagedIdentity = "ManagedIdentity",
+ Key = "Key"
+}
+
+/**
+ * Defines values for CreatedByType. \
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **User** \
+ * **Application** \
+ * **ManagedIdentity** \
+ * **Key**
+ */
+export type CreatedByType = string;
+
+/** Known values of {@link DomainTopicProvisioningState} that the service accepts. */
+export enum KnownDomainTopicProvisioningState {
+ Creating = "Creating",
+ Updating = "Updating",
+ Deleting = "Deleting",
+ Succeeded = "Succeeded",
+ Canceled = "Canceled",
+ Failed = "Failed"
+}
+
+/**
+ * Defines values for DomainTopicProvisioningState. \
+ * {@link KnownDomainTopicProvisioningState} can be used interchangeably with DomainTopicProvisioningState,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Creating** \
+ * **Updating** \
+ * **Deleting** \
+ * **Succeeded** \
+ * **Canceled** \
+ * **Failed**
+ */
+export type DomainTopicProvisioningState = string;
+
+/** Known values of {@link EventChannelProvisioningState} that the service accepts. */
+export enum KnownEventChannelProvisioningState {
+ Creating = "Creating",
+ Updating = "Updating",
+ Deleting = "Deleting",
+ Succeeded = "Succeeded",
+ Canceled = "Canceled",
+ Failed = "Failed"
+}
+
+/**
+ * Defines values for EventChannelProvisioningState. \
+ * {@link KnownEventChannelProvisioningState} can be used interchangeably with EventChannelProvisioningState,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Creating** \
+ * **Updating** \
+ * **Deleting** \
+ * **Succeeded** \
+ * **Canceled** \
+ * **Failed**
+ */
+export type EventChannelProvisioningState = string;
+
+/** Known values of {@link PartnerTopicReadinessState} that the service accepts. */
+export enum KnownPartnerTopicReadinessState {
+ NotActivatedByUserYet = "NotActivatedByUserYet",
+ ActivatedByUser = "ActivatedByUser",
+ DeactivatedByUser = "DeactivatedByUser",
+ DeletedByUser = "DeletedByUser"
+}
+
+/**
+ * Defines values for PartnerTopicReadinessState. \
+ * {@link KnownPartnerTopicReadinessState} can be used interchangeably with PartnerTopicReadinessState,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **NotActivatedByUserYet** \
+ * **ActivatedByUser** \
+ * **DeactivatedByUser** \
+ * **DeletedByUser**
+ */
+export type PartnerTopicReadinessState = string;
+
+/** Known values of {@link AdvancedFilterOperatorType} that the service accepts. */
+export enum KnownAdvancedFilterOperatorType {
+ NumberIn = "NumberIn",
+ NumberNotIn = "NumberNotIn",
+ NumberLessThan = "NumberLessThan",
+ NumberGreaterThan = "NumberGreaterThan",
+ NumberLessThanOrEquals = "NumberLessThanOrEquals",
+ NumberGreaterThanOrEquals = "NumberGreaterThanOrEquals",
+ BoolEquals = "BoolEquals",
+ StringIn = "StringIn",
+ StringNotIn = "StringNotIn",
+ StringBeginsWith = "StringBeginsWith",
+ StringEndsWith = "StringEndsWith",
+ StringContains = "StringContains",
+ NumberInRange = "NumberInRange",
+ NumberNotInRange = "NumberNotInRange",
+ StringNotBeginsWith = "StringNotBeginsWith",
+ StringNotEndsWith = "StringNotEndsWith",
+ StringNotContains = "StringNotContains",
+ IsNullOrUndefined = "IsNullOrUndefined",
+ IsNotNull = "IsNotNull"
+}
+
+/**
+ * Defines values for AdvancedFilterOperatorType. \
+ * {@link KnownAdvancedFilterOperatorType} can be used interchangeably with AdvancedFilterOperatorType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **NumberIn** \
+ * **NumberNotIn** \
+ * **NumberLessThan** \
+ * **NumberGreaterThan** \
+ * **NumberLessThanOrEquals** \
+ * **NumberGreaterThanOrEquals** \
+ * **BoolEquals** \
+ * **StringIn** \
+ * **StringNotIn** \
+ * **StringBeginsWith** \
+ * **StringEndsWith** \
+ * **StringContains** \
+ * **NumberInRange** \
+ * **NumberNotInRange** \
+ * **StringNotBeginsWith** \
+ * **StringNotEndsWith** \
+ * **StringNotContains** \
+ * **IsNullOrUndefined** \
+ * **IsNotNull**
+ */
+export type AdvancedFilterOperatorType = string;
+
+/** Known values of {@link EventSubscriptionProvisioningState} that the service accepts. */
+export enum KnownEventSubscriptionProvisioningState {
+ Creating = "Creating",
+ Updating = "Updating",
+ Deleting = "Deleting",
+ Succeeded = "Succeeded",
+ Canceled = "Canceled",
+ Failed = "Failed",
+ AwaitingManualAction = "AwaitingManualAction"
+}
+
+/**
+ * Defines values for EventSubscriptionProvisioningState. \
+ * {@link KnownEventSubscriptionProvisioningState} can be used interchangeably with EventSubscriptionProvisioningState,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Creating** \
+ * **Updating** \
+ * **Deleting** \
+ * **Succeeded** \
+ * **Canceled** \
+ * **Failed** \
+ * **AwaitingManualAction**
+ */
+export type EventSubscriptionProvisioningState = string;
+
+/** Known values of {@link EndpointType} that the service accepts. */
+export enum KnownEndpointType {
+ WebHook = "WebHook",
+ EventHub = "EventHub",
+ StorageQueue = "StorageQueue",
+ HybridConnection = "HybridConnection",
+ ServiceBusQueue = "ServiceBusQueue",
+ ServiceBusTopic = "ServiceBusTopic",
+ AzureFunction = "AzureFunction"
+}
+
+/**
+ * Defines values for EndpointType. \
+ * {@link KnownEndpointType} can be used interchangeably with EndpointType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **WebHook** \
+ * **EventHub** \
+ * **StorageQueue** \
+ * **HybridConnection** \
+ * **ServiceBusQueue** \
+ * **ServiceBusTopic** \
+ * **AzureFunction**
+ */
+export type EndpointType = string;
+
+/** Known values of {@link EventSubscriptionIdentityType} that the service accepts. */
+export enum KnownEventSubscriptionIdentityType {
+ SystemAssigned = "SystemAssigned",
+ UserAssigned = "UserAssigned"
+}
+
+/**
+ * Defines values for EventSubscriptionIdentityType. \
+ * {@link KnownEventSubscriptionIdentityType} can be used interchangeably with EventSubscriptionIdentityType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **SystemAssigned** \
+ * **UserAssigned**
+ */
+export type EventSubscriptionIdentityType = string;
+
+/** Known values of {@link EventDeliverySchema} that the service accepts. */
+export enum KnownEventDeliverySchema {
+ EventGridSchema = "EventGridSchema",
+ CustomInputSchema = "CustomInputSchema",
+ CloudEventSchemaV10 = "CloudEventSchemaV1_0"
+}
+
+/**
+ * Defines values for EventDeliverySchema. \
+ * {@link KnownEventDeliverySchema} can be used interchangeably with EventDeliverySchema,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **EventGridSchema** \
+ * **CustomInputSchema** \
+ * **CloudEventSchemaV1_0**
+ */
+export type EventDeliverySchema = string;
+
+/** Known values of {@link DeadLetterEndPointType} that the service accepts. */
+export enum KnownDeadLetterEndPointType {
+ StorageBlob = "StorageBlob"
+}
+
+/**
+ * Defines values for DeadLetterEndPointType. \
+ * {@link KnownDeadLetterEndPointType} can be used interchangeably with DeadLetterEndPointType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **StorageBlob**
+ */
+export type DeadLetterEndPointType = string;
+
+/** Known values of {@link DeliveryAttributeMappingType} that the service accepts. */
+export enum KnownDeliveryAttributeMappingType {
+ Static = "Static",
+ Dynamic = "Dynamic"
}
/**
- * EventGrid System Topic.
+ * Defines values for DeliveryAttributeMappingType. \
+ * {@link KnownDeliveryAttributeMappingType} can be used interchangeably with DeliveryAttributeMappingType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Static** \
+ * **Dynamic**
*/
-export interface SystemTopic extends TrackedResource {
- /**
- * Provisioning state of the system topic. Possible values include: 'Creating', 'Updating',
- * 'Deleting', 'Succeeded', 'Canceled', 'Failed'
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly provisioningState?: ResourceProvisioningState;
- /**
- * Source for the system topic.
- */
- source?: string;
- /**
- * TopicType for the system topic.
- */
- topicType?: string;
- /**
- * Metric resource id for the system topic.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly metricResourceId?: string;
- /**
- * The system metadata relating to System Topic resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly systemData?: SystemData;
- /**
- * Identity information for the resource.
- */
- identity?: IdentityInfo;
+export type DeliveryAttributeMappingType = string;
+
+/** Known values of {@link PartnerNamespaceProvisioningState} that the service accepts. */
+export enum KnownPartnerNamespaceProvisioningState {
+ Creating = "Creating",
+ Updating = "Updating",
+ Deleting = "Deleting",
+ Succeeded = "Succeeded",
+ Canceled = "Canceled",
+ Failed = "Failed"
}
/**
- * Properties of the System Topic update.
+ * Defines values for PartnerNamespaceProvisioningState. \
+ * {@link KnownPartnerNamespaceProvisioningState} can be used interchangeably with PartnerNamespaceProvisioningState,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Creating** \
+ * **Updating** \
+ * **Deleting** \
+ * **Succeeded** \
+ * **Canceled** \
+ * **Failed**
*/
-export interface SystemTopicUpdateParameters {
- /**
- * Tags of the system topic.
- */
- tags?: { [propertyName: string]: string };
- /**
- * Resource identity information.
- */
- identity?: IdentityInfo;
+export type PartnerNamespaceProvisioningState = string;
+
+/** Known values of {@link PartnerRegistrationProvisioningState} that the service accepts. */
+export enum KnownPartnerRegistrationProvisioningState {
+ Creating = "Creating",
+ Updating = "Updating",
+ Deleting = "Deleting",
+ Succeeded = "Succeeded",
+ Canceled = "Canceled",
+ Failed = "Failed"
}
/**
- * Definition of an Extended Location
+ * Defines values for PartnerRegistrationProvisioningState. \
+ * {@link KnownPartnerRegistrationProvisioningState} can be used interchangeably with PartnerRegistrationProvisioningState,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Creating** \
+ * **Updating** \
+ * **Deleting** \
+ * **Succeeded** \
+ * **Canceled** \
+ * **Failed**
*/
-export interface ExtendedLocation {
- /**
- * Fully qualified name of the extended location.
- */
- name?: string;
- /**
- * Type of the extended location.
- */
- type?: string;
+export type PartnerRegistrationProvisioningState = string;
+
+/** Known values of {@link PartnerRegistrationVisibilityState} that the service accepts. */
+export enum KnownPartnerRegistrationVisibilityState {
+ Hidden = "Hidden",
+ PublicPreview = "PublicPreview",
+ GenerallyAvailable = "GenerallyAvailable"
}
/**
- * EventGrid Topic
+ * Defines values for PartnerRegistrationVisibilityState. \
+ * {@link KnownPartnerRegistrationVisibilityState} can be used interchangeably with PartnerRegistrationVisibilityState,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Hidden** \
+ * **PublicPreview** \
+ * **GenerallyAvailable**
*/
-export interface Topic extends TrackedResource {
- /**
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly privateEndpointConnections?: PrivateEndpointConnection[];
- /**
- * Provisioning state of the topic. Possible values include: 'Creating', 'Updating', 'Deleting',
- * 'Succeeded', 'Canceled', 'Failed'
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly provisioningState?: TopicProvisioningState;
- /**
- * Endpoint for the topic.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly endpoint?: string;
- /**
- * This determines the format that Event Grid should expect for incoming events published to the
- * topic. Possible values include: 'EventGridSchema', 'CustomEventSchema',
- * 'CloudEventSchemaV1_0'. Default value: 'EventGridSchema'.
- */
- inputSchema?: InputSchema;
- /**
- * This enables publishing using custom event schemas. An InputSchemaMapping can be specified to
- * map various properties of a source schema to various required properties of the EventGridEvent
- * schema.
- */
- inputSchemaMapping?: InputSchemaMappingUnion;
- /**
- * Metric resource id for the topic.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly metricResourceId?: string;
- /**
- * This determines if traffic is allowed over public network. By default it is enabled.
- * You can further restrict to specific IPs by configuring . Possible values include: 'Enabled', 'Disabled'. Default value: 'Enabled'.
- */
- publicNetworkAccess?: PublicNetworkAccess;
- /**
- * This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are
- * considered only if PublicNetworkAccess is enabled.
- */
- inboundIpRules?: InboundIpRule[];
- /**
- * This boolean is used to enable or disable local auth. Default value is false. When the
- * property is set to true, only AAD token will be used to authenticate if user is allowed to
- * publish to the topic. Default value: false.
- */
- disableLocalAuth?: boolean;
- /**
- * The Sku pricing tier for the topic.
- */
- sku?: ResourceSku;
- /**
- * Identity information for the resource.
- */
- identity?: IdentityInfo;
- /**
- * Kind of the resource. Possible values include: 'Azure', 'AzureArc'
- */
- kind?: ResourceKind;
- /**
- * Extended location of the resource.
- */
- extendedLocation?: ExtendedLocation;
- /**
- * The system metadata relating to Topic resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly systemData?: SystemData;
+export type PartnerRegistrationVisibilityState = string;
+
+/** Known values of {@link PartnerTopicProvisioningState} that the service accepts. */
+export enum KnownPartnerTopicProvisioningState {
+ Creating = "Creating",
+ Updating = "Updating",
+ Deleting = "Deleting",
+ Succeeded = "Succeeded",
+ Canceled = "Canceled",
+ Failed = "Failed"
}
/**
- * Properties of the Topic update
+ * Defines values for PartnerTopicProvisioningState. \
+ * {@link KnownPartnerTopicProvisioningState} can be used interchangeably with PartnerTopicProvisioningState,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Creating** \
+ * **Updating** \
+ * **Deleting** \
+ * **Succeeded** \
+ * **Canceled** \
+ * **Failed**
*/
-export interface TopicUpdateParameters {
- /**
- * Tags of the Topic resource.
- */
- tags?: { [propertyName: string]: string };
- /**
- * Topic resource identity information.
- */
- identity?: IdentityInfo;
- /**
- * This determines if traffic is allowed over public network. By default it is enabled.
- * You can further restrict to specific IPs by configuring . Possible values include: 'Enabled', 'Disabled'
- */
- publicNetworkAccess?: PublicNetworkAccess;
- /**
- * This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are
- * considered only if PublicNetworkAccess is enabled.
- */
- inboundIpRules?: InboundIpRule[];
- /**
- * This boolean is used to enable or disable local auth. Default value is false. When the
- * property is set to true, only AAD token will be used to authenticate if user is allowed to
- * publish to the topic.
- */
- disableLocalAuth?: boolean;
- /**
- * The Sku pricing tier for the topic.
- */
- sku?: ResourceSku;
+export type PartnerTopicProvisioningState = string;
+
+/** Known values of {@link PartnerTopicActivationState} that the service accepts. */
+export enum KnownPartnerTopicActivationState {
+ NeverActivated = "NeverActivated",
+ Activated = "Activated",
+ Deactivated = "Deactivated"
}
/**
- * Shared access keys of the Topic
+ * Defines values for PartnerTopicActivationState. \
+ * {@link KnownPartnerTopicActivationState} can be used interchangeably with PartnerTopicActivationState,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **NeverActivated** \
+ * **Activated** \
+ * **Deactivated**
*/
-export interface TopicSharedAccessKeys {
- /**
- * Shared access key1 for the topic.
- */
- key1?: string;
- /**
- * Shared access key2 for the topic.
- */
- key2?: string;
+export type PartnerTopicActivationState = string;
+
+/** Known values of {@link Enum25} that the service accepts. */
+export enum KnownEnum25 {
+ Topics = "topics",
+ Domains = "domains",
+ PartnerNamespaces = "partnerNamespaces"
}
/**
- * Topic regenerate share access key request
+ * Defines values for Enum25. \
+ * {@link KnownEnum25} can be used interchangeably with Enum25,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **topics** \
+ * **domains** \
+ * **partnerNamespaces**
*/
-export interface TopicRegenerateKeyRequest {
- /**
- * Key name to regenerate key1 or key2
- */
- keyName: string;
+export type Enum25 = string;
+
+/** Known values of {@link Enum26} that the service accepts. */
+export enum KnownEnum26 {
+ Topics = "topics",
+ Domains = "domains",
+ PartnerNamespaces = "partnerNamespaces"
}
/**
- * Event grid Extension Topic. This is used for getting Event Grid related metrics for Azure
- * resources.
+ * Defines values for Enum26. \
+ * {@link KnownEnum26} can be used interchangeably with Enum26,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **topics** \
+ * **domains** \
+ * **partnerNamespaces**
*/
-export interface ExtensionTopic extends Resource {
- /**
- * Description of the extension topic.
- */
- description?: string;
- /**
- * System topic resource id which is mapped to the source.
- */
- systemTopic?: string;
+export type Enum26 = string;
+
+/** Known values of {@link Enum27} that the service accepts. */
+export enum KnownEnum27 {
+ Topics = "topics",
+ Domains = "domains",
+ PartnerNamespaces = "partnerNamespaces"
}
/**
- * Properties of a topic type info.
+ * Defines values for Enum27. \
+ * {@link KnownEnum27} can be used interchangeably with Enum27,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **topics** \
+ * **domains** \
+ * **partnerNamespaces**
*/
-export interface TopicTypeInfo extends Resource {
- /**
- * Namespace of the provider of the topic type.
- */
- provider?: string;
- /**
- * Display Name for the topic type.
- */
- displayName?: string;
- /**
- * Description of the topic type.
- */
- description?: string;
- /**
- * Region type of the resource. Possible values include: 'RegionalResource', 'GlobalResource'
- */
- resourceRegionType?: ResourceRegionType;
- /**
- * Provisioning state of the topic type. Possible values include: 'Creating', 'Updating',
- * 'Deleting', 'Succeeded', 'Canceled', 'Failed'
- */
- provisioningState?: TopicTypeProvisioningState;
- /**
- * List of locations supported by this topic type.
- */
- supportedLocations?: string[];
- /**
- * Source resource format.
- */
- sourceResourceFormat?: string;
- /**
- * Supported source scopes.
- */
- supportedScopesForSource?: string[];
+export type Enum27 = string;
+
+/** Known values of {@link Enum28} that the service accepts. */
+export enum KnownEnum28 {
+ Topics = "topics",
+ Domains = "domains",
+ PartnerNamespaces = "partnerNamespaces"
}
/**
- * Optional Parameters.
+ * Defines values for Enum28. \
+ * {@link KnownEnum28} can be used interchangeably with Enum28,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **topics** \
+ * **domains** \
+ * **partnerNamespaces**
*/
-export interface DomainsListBySubscriptionOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
- filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
- top?: number;
+export type Enum28 = string;
+
+/** Known values of {@link TopicProvisioningState} that the service accepts. */
+export enum KnownTopicProvisioningState {
+ Creating = "Creating",
+ Updating = "Updating",
+ Deleting = "Deleting",
+ Succeeded = "Succeeded",
+ Canceled = "Canceled",
+ Failed = "Failed"
}
/**
- * Optional Parameters.
+ * Defines values for TopicProvisioningState. \
+ * {@link KnownTopicProvisioningState} can be used interchangeably with TopicProvisioningState,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Creating** \
+ * **Updating** \
+ * **Deleting** \
+ * **Succeeded** \
+ * **Canceled** \
+ * **Failed**
*/
-export interface DomainsListByResourceGroupOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
- filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
- top?: number;
+export type TopicProvisioningState = string;
+
+/** Known values of {@link ResourceKind} that the service accepts. */
+export enum KnownResourceKind {
+ Azure = "Azure",
+ AzureArc = "AzureArc"
}
/**
- * Optional Parameters.
+ * Defines values for ResourceKind. \
+ * {@link KnownResourceKind} can be used interchangeably with ResourceKind,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Azure** \
+ * **AzureArc**
*/
-export interface DomainsListBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
- filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
- top?: number;
+export type ResourceKind = string;
+
+/** Known values of {@link ResourceRegionType} that the service accepts. */
+export enum KnownResourceRegionType {
+ RegionalResource = "RegionalResource",
+ GlobalResource = "GlobalResource"
}
/**
- * Optional Parameters.
+ * Defines values for ResourceRegionType. \
+ * {@link KnownResourceRegionType} can be used interchangeably with ResourceRegionType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **RegionalResource** \
+ * **GlobalResource**
*/
-export interface DomainsListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
- filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
- top?: number;
+export type ResourceRegionType = string;
+
+/** Known values of {@link TopicTypeProvisioningState} that the service accepts. */
+export enum KnownTopicTypeProvisioningState {
+ Creating = "Creating",
+ Updating = "Updating",
+ Deleting = "Deleting",
+ Succeeded = "Succeeded",
+ Canceled = "Canceled",
+ Failed = "Failed"
}
/**
- * Optional Parameters.
+ * Defines values for TopicTypeProvisioningState. \
+ * {@link KnownTopicTypeProvisioningState} can be used interchangeably with TopicTypeProvisioningState,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Creating** \
+ * **Updating** \
+ * **Deleting** \
+ * **Succeeded** \
+ * **Canceled** \
+ * **Failed**
*/
-export interface DomainTopicsListByDomainOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
- filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
- top?: number;
+export type TopicTypeProvisioningState = string;
+
+/** Known values of {@link TopicTypePropertiesSupportedScopesForSourceItem} that the service accepts. */
+export enum KnownTopicTypePropertiesSupportedScopesForSourceItem {
+ Resource = "Resource",
+ ResourceGroup = "ResourceGroup",
+ AzureSubscription = "AzureSubscription"
}
/**
- * Optional Parameters.
+ * Defines values for TopicTypePropertiesSupportedScopesForSourceItem. \
+ * {@link KnownTopicTypePropertiesSupportedScopesForSourceItem} can be used interchangeably with TopicTypePropertiesSupportedScopesForSourceItem,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Resource** \
+ * **ResourceGroup** \
+ * **AzureSubscription**
*/
-export interface DomainTopicsListByDomainNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+export type TopicTypePropertiesSupportedScopesForSourceItem = string;
+
+/** Optional parameters. */
+export interface DomainsGetOptionalParams extends coreClient.OperationOptions {}
+
+/** Contains response data for the get operation. */
+export type DomainsGetResponse = Domain;
+
+/** Optional parameters. */
+export interface DomainsCreateOrUpdateOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
+
+/** Contains response data for the createOrUpdate operation. */
+export type DomainsCreateOrUpdateResponse = Domain;
+
+/** Optional parameters. */
+export interface DomainsDeleteOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
+
+/** Optional parameters. */
+export interface DomainsUpdateOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
+
+/** Optional parameters. */
+export interface DomainsListBySubscriptionOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface EventChannelsListByPartnerNamespaceOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listBySubscription operation. */
+export type DomainsListBySubscriptionResponse = DomainsListResult;
+
+/** Optional parameters. */
+export interface DomainsListByResourceGroupOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface EventChannelsListByPartnerNamespaceNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listByResourceGroup operation. */
+export type DomainsListByResourceGroupResponse = DomainsListResult;
+
+/** Optional parameters. */
+export interface DomainsListSharedAccessKeysOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the listSharedAccessKeys operation. */
+export type DomainsListSharedAccessKeysResponse = DomainSharedAccessKeys;
+
+/** Optional parameters. */
+export interface DomainsRegenerateKeyOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the regenerateKey operation. */
+export type DomainsRegenerateKeyResponse = DomainSharedAccessKeys;
+
+/** Optional parameters. */
+export interface DomainsListBySubscriptionNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface EventSubscriptionsListGlobalBySubscriptionOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listBySubscriptionNext operation. */
+export type DomainsListBySubscriptionNextResponse = DomainsListResult;
+
+/** Optional parameters. */
+export interface DomainsListByResourceGroupNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
- filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
- top?: number;
+/** Contains response data for the listByResourceGroupNext operation. */
+export type DomainsListByResourceGroupNextResponse = DomainsListResult;
+
+/** Optional parameters. */
+export interface DomainTopicsGetOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the get operation. */
+export type DomainTopicsGetResponse = DomainTopic;
+
+/** Optional parameters. */
+export interface DomainTopicsCreateOrUpdateOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
}
-/**
- * Optional Parameters.
- */
-export interface EventSubscriptionsListGlobalByResourceGroupOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
- filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
- top?: number;
+/** Contains response data for the createOrUpdate operation. */
+export type DomainTopicsCreateOrUpdateResponse = DomainTopic;
+
+/** Optional parameters. */
+export interface DomainTopicsDeleteOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
}
-/**
- * Optional Parameters.
- */
-export interface EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Optional parameters. */
+export interface DomainTopicsListByDomainOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface EventSubscriptionsListRegionalBySubscriptionOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listByDomain operation. */
+export type DomainTopicsListByDomainResponse = DomainTopicsListResult;
+
+/** Optional parameters. */
+export interface DomainTopicsListByDomainNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface EventSubscriptionsListRegionalByResourceGroupOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
- filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
- top?: number;
+/** Contains response data for the listByDomainNext operation. */
+export type DomainTopicsListByDomainNextResponse = DomainTopicsListResult;
+
+/** Optional parameters. */
+export interface EventChannelsGetOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the get operation. */
+export type EventChannelsGetResponse = EventChannel;
+
+/** Optional parameters. */
+export interface EventChannelsCreateOrUpdateOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the createOrUpdate operation. */
+export type EventChannelsCreateOrUpdateResponse = EventChannel;
+
+/** Optional parameters. */
+export interface EventChannelsDeleteOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
}
-/**
- * Optional Parameters.
- */
-export interface EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Optional parameters. */
+export interface EventChannelsListByPartnerNamespaceOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listByPartnerNamespace operation. */
+export type EventChannelsListByPartnerNamespaceResponse = EventChannelsListResult;
+
+/** Optional parameters. */
+export interface EventChannelsListByPartnerNamespaceNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface EventSubscriptionsListByResourceOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listByPartnerNamespaceNext operation. */
+export type EventChannelsListByPartnerNamespaceNextResponse = EventChannelsListResult;
+
+/** Optional parameters. */
+export interface EventSubscriptionsGetOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the get operation. */
+export type EventSubscriptionsGetResponse = EventSubscription;
+
+/** Optional parameters. */
+export interface EventSubscriptionsCreateOrUpdateOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
+
+/** Contains response data for the createOrUpdate operation. */
+export type EventSubscriptionsCreateOrUpdateResponse = EventSubscription;
+
+/** Optional parameters. */
+export interface EventSubscriptionsDeleteOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
+
+/** Optional parameters. */
+export interface EventSubscriptionsUpdateOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
+
+/** Contains response data for the update operation. */
+export type EventSubscriptionsUpdateResponse = EventSubscription;
+
+/** Optional parameters. */
+export interface EventSubscriptionsGetFullUrlOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the getFullUrl operation. */
+export type EventSubscriptionsGetFullUrlResponse = EventSubscriptionFullUrl;
+
+/** Optional parameters. */
+export interface EventSubscriptionsListGlobalBySubscriptionOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface EventSubscriptionsListByDomainTopicOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listGlobalBySubscription operation. */
+export type EventSubscriptionsListGlobalBySubscriptionResponse = EventSubscriptionsListResult;
+
+/** Optional parameters. */
+export interface EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface EventSubscriptionsListGlobalBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listGlobalBySubscriptionForTopicType operation. */
+export type EventSubscriptionsListGlobalBySubscriptionForTopicTypeResponse = EventSubscriptionsListResult;
+
+/** Optional parameters. */
+export interface EventSubscriptionsListGlobalByResourceGroupOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface EventSubscriptionsListGlobalBySubscriptionForTopicTypeNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listGlobalByResourceGroup operation. */
+export type EventSubscriptionsListGlobalByResourceGroupResponse = EventSubscriptionsListResult;
+
+/** Optional parameters. */
+export interface EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface EventSubscriptionsListGlobalByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listGlobalByResourceGroupForTopicType operation. */
+export type EventSubscriptionsListGlobalByResourceGroupForTopicTypeResponse = EventSubscriptionsListResult;
+
+/** Optional parameters. */
+export interface EventSubscriptionsListRegionalBySubscriptionOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface EventSubscriptionsListGlobalByResourceGroupForTopicTypeNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listRegionalBySubscription operation. */
+export type EventSubscriptionsListRegionalBySubscriptionResponse = EventSubscriptionsListResult;
+
+/** Optional parameters. */
+export interface EventSubscriptionsListRegionalByResourceGroupOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface EventSubscriptionsListRegionalBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listRegionalByResourceGroup operation. */
+export type EventSubscriptionsListRegionalByResourceGroupResponse = EventSubscriptionsListResult;
+
+/** Optional parameters. */
+export interface EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface EventSubscriptionsListRegionalByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listRegionalBySubscriptionForTopicType operation. */
+export type EventSubscriptionsListRegionalBySubscriptionForTopicTypeResponse = EventSubscriptionsListResult;
+
+/** Optional parameters. */
+export interface EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface EventSubscriptionsListRegionalBySubscriptionForTopicTypeNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listRegionalByResourceGroupForTopicType operation. */
+export type EventSubscriptionsListRegionalByResourceGroupForTopicTypeResponse = EventSubscriptionsListResult;
+
+/** Optional parameters. */
+export interface EventSubscriptionsListByResourceOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface EventSubscriptionsListRegionalByResourceGroupForTopicTypeNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listByResource operation. */
+export type EventSubscriptionsListByResourceResponse = EventSubscriptionsListResult;
+
+/** Optional parameters. */
+export interface EventSubscriptionsListByDomainTopicOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface EventSubscriptionsListByResourceNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listByDomainTopic operation. */
+export type EventSubscriptionsListByDomainTopicResponse = EventSubscriptionsListResult;
+
+/** Optional parameters. */
+export interface EventSubscriptionsGetDeliveryAttributesOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the getDeliveryAttributes operation. */
+export type EventSubscriptionsGetDeliveryAttributesResponse = DeliveryAttributeListResult;
+
+/** Optional parameters. */
+export interface EventSubscriptionsListGlobalBySubscriptionNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface EventSubscriptionsListByDomainTopicNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listGlobalBySubscriptionNext operation. */
+export type EventSubscriptionsListGlobalBySubscriptionNextResponse = EventSubscriptionsListResult;
+
+/** Optional parameters. */
+export interface EventSubscriptionsListGlobalBySubscriptionForTopicTypeNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface SystemTopicEventSubscriptionsListBySystemTopicOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listGlobalBySubscriptionForTopicTypeNext operation. */
+export type EventSubscriptionsListGlobalBySubscriptionForTopicTypeNextResponse = EventSubscriptionsListResult;
+
+/** Optional parameters. */
+export interface EventSubscriptionsListGlobalByResourceGroupNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface SystemTopicEventSubscriptionsListBySystemTopicNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listGlobalByResourceGroupNext operation. */
+export type EventSubscriptionsListGlobalByResourceGroupNextResponse = EventSubscriptionsListResult;
+
+/** Optional parameters. */
+export interface EventSubscriptionsListGlobalByResourceGroupForTopicTypeNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface PartnerTopicEventSubscriptionsListByPartnerTopicOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listGlobalByResourceGroupForTopicTypeNext operation. */
+export type EventSubscriptionsListGlobalByResourceGroupForTopicTypeNextResponse = EventSubscriptionsListResult;
+
+/** Optional parameters. */
+export interface EventSubscriptionsListRegionalBySubscriptionNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface PartnerTopicEventSubscriptionsListByPartnerTopicNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listRegionalBySubscriptionNext operation. */
+export type EventSubscriptionsListRegionalBySubscriptionNextResponse = EventSubscriptionsListResult;
+
+/** Optional parameters. */
+export interface EventSubscriptionsListRegionalByResourceGroupNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface PartnerNamespacesListBySubscriptionOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listRegionalByResourceGroupNext operation. */
+export type EventSubscriptionsListRegionalByResourceGroupNextResponse = EventSubscriptionsListResult;
+
+/** Optional parameters. */
+export interface EventSubscriptionsListRegionalBySubscriptionForTopicTypeNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface PartnerNamespacesListByResourceGroupOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listRegionalBySubscriptionForTopicTypeNext operation. */
+export type EventSubscriptionsListRegionalBySubscriptionForTopicTypeNextResponse = EventSubscriptionsListResult;
+
+/** Optional parameters. */
+export interface EventSubscriptionsListRegionalByResourceGroupForTopicTypeNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface PartnerNamespacesListBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listRegionalByResourceGroupForTopicTypeNext operation. */
+export type EventSubscriptionsListRegionalByResourceGroupForTopicTypeNextResponse = EventSubscriptionsListResult;
+
+/** Optional parameters. */
+export interface EventSubscriptionsListByResourceNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface PartnerNamespacesListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listByResourceNext operation. */
+export type EventSubscriptionsListByResourceNextResponse = EventSubscriptionsListResult;
+
+/** Optional parameters. */
+export interface EventSubscriptionsListByDomainTopicNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface PartnerRegistrationsListBySubscriptionOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listByDomainTopicNext operation. */
+export type EventSubscriptionsListByDomainTopicNextResponse = EventSubscriptionsListResult;
+
+/** Optional parameters. */
+export interface SystemTopicEventSubscriptionsGetOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the get operation. */
+export type SystemTopicEventSubscriptionsGetResponse = EventSubscription;
+
+/** Optional parameters. */
+export interface SystemTopicEventSubscriptionsCreateOrUpdateOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
+
+/** Contains response data for the createOrUpdate operation. */
+export type SystemTopicEventSubscriptionsCreateOrUpdateResponse = EventSubscription;
+
+/** Optional parameters. */
+export interface SystemTopicEventSubscriptionsDeleteOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
+
+/** Optional parameters. */
+export interface SystemTopicEventSubscriptionsUpdateOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
+
+/** Contains response data for the update operation. */
+export type SystemTopicEventSubscriptionsUpdateResponse = EventSubscription;
+
+/** Optional parameters. */
+export interface SystemTopicEventSubscriptionsGetFullUrlOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the getFullUrl operation. */
+export type SystemTopicEventSubscriptionsGetFullUrlResponse = EventSubscriptionFullUrl;
+
+/** Optional parameters. */
+export interface SystemTopicEventSubscriptionsListBySystemTopicOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface PartnerRegistrationsListByResourceGroupOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listBySystemTopic operation. */
+export type SystemTopicEventSubscriptionsListBySystemTopicResponse = EventSubscriptionsListResult;
+
+/** Optional parameters. */
+export interface SystemTopicEventSubscriptionsGetDeliveryAttributesOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the getDeliveryAttributes operation. */
+export type SystemTopicEventSubscriptionsGetDeliveryAttributesResponse = DeliveryAttributeListResult;
+
+/** Optional parameters. */
+export interface SystemTopicEventSubscriptionsListBySystemTopicNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface PartnerRegistrationsListBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listBySystemTopicNext operation. */
+export type SystemTopicEventSubscriptionsListBySystemTopicNextResponse = EventSubscriptionsListResult;
+
+/** Optional parameters. */
+export interface PartnerTopicEventSubscriptionsGetOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the get operation. */
+export type PartnerTopicEventSubscriptionsGetResponse = EventSubscription;
+
+/** Optional parameters. */
+export interface PartnerTopicEventSubscriptionsCreateOrUpdateOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
+
+/** Contains response data for the createOrUpdate operation. */
+export type PartnerTopicEventSubscriptionsCreateOrUpdateResponse = EventSubscription;
+
+/** Optional parameters. */
+export interface PartnerTopicEventSubscriptionsDeleteOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
+
+/** Optional parameters. */
+export interface PartnerTopicEventSubscriptionsUpdateOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
+
+/** Contains response data for the update operation. */
+export type PartnerTopicEventSubscriptionsUpdateResponse = EventSubscription;
+
+/** Optional parameters. */
+export interface PartnerTopicEventSubscriptionsGetFullUrlOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the getFullUrl operation. */
+export type PartnerTopicEventSubscriptionsGetFullUrlResponse = EventSubscriptionFullUrl;
+
+/** Optional parameters. */
+export interface PartnerTopicEventSubscriptionsListByPartnerTopicOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface PartnerRegistrationsListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listByPartnerTopic operation. */
+export type PartnerTopicEventSubscriptionsListByPartnerTopicResponse = EventSubscriptionsListResult;
+
+/** Optional parameters. */
+export interface PartnerTopicEventSubscriptionsGetDeliveryAttributesOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the getDeliveryAttributes operation. */
+export type PartnerTopicEventSubscriptionsGetDeliveryAttributesResponse = DeliveryAttributeListResult;
+
+/** Optional parameters. */
+export interface PartnerTopicEventSubscriptionsListByPartnerTopicNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface PartnerTopicsListBySubscriptionOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listByPartnerTopicNext operation. */
+export type PartnerTopicEventSubscriptionsListByPartnerTopicNextResponse = EventSubscriptionsListResult;
+
+/** Optional parameters. */
+export interface OperationsListOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the list operation. */
+export type OperationsListResponse = OperationsListResult;
+
+/** Optional parameters. */
+export interface PartnerNamespacesGetOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the get operation. */
+export type PartnerNamespacesGetResponse = PartnerNamespace;
+
+/** Optional parameters. */
+export interface PartnerNamespacesCreateOrUpdateOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
+
+/** Contains response data for the createOrUpdate operation. */
+export type PartnerNamespacesCreateOrUpdateResponse = PartnerNamespace;
+
+/** Optional parameters. */
+export interface PartnerNamespacesDeleteOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
+
+/** Optional parameters. */
+export interface PartnerNamespacesUpdateOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
+
+/** Optional parameters. */
+export interface PartnerNamespacesListBySubscriptionOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface PartnerTopicsListByResourceGroupOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listBySubscription operation. */
+export type PartnerNamespacesListBySubscriptionResponse = PartnerNamespacesListResult;
+
+/** Optional parameters. */
+export interface PartnerNamespacesListByResourceGroupOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface PartnerTopicsListBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listByResourceGroup operation. */
+export type PartnerNamespacesListByResourceGroupResponse = PartnerNamespacesListResult;
+
+/** Optional parameters. */
+export interface PartnerNamespacesListSharedAccessKeysOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the listSharedAccessKeys operation. */
+export type PartnerNamespacesListSharedAccessKeysResponse = PartnerNamespaceSharedAccessKeys;
+
+/** Optional parameters. */
+export interface PartnerNamespacesRegenerateKeyOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the regenerateKey operation. */
+export type PartnerNamespacesRegenerateKeyResponse = PartnerNamespaceSharedAccessKeys;
+
+/** Optional parameters. */
+export interface PartnerNamespacesListBySubscriptionNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface PartnerTopicsListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listBySubscriptionNext operation. */
+export type PartnerNamespacesListBySubscriptionNextResponse = PartnerNamespacesListResult;
+
+/** Optional parameters. */
+export interface PartnerNamespacesListByResourceGroupNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface PrivateEndpointConnectionsListByResourceOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listByResourceGroupNext operation. */
+export type PartnerNamespacesListByResourceGroupNextResponse = PartnerNamespacesListResult;
+
+/** Optional parameters. */
+export interface PartnerRegistrationsGetOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the get operation. */
+export type PartnerRegistrationsGetResponse = PartnerRegistration;
+
+/** Optional parameters. */
+export interface PartnerRegistrationsCreateOrUpdateOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the createOrUpdate operation. */
+export type PartnerRegistrationsCreateOrUpdateResponse = PartnerRegistration;
+
+/** Optional parameters. */
+export interface PartnerRegistrationsDeleteOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Optional parameters. */
+export interface PartnerRegistrationsUpdateOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the update operation. */
+export type PartnerRegistrationsUpdateResponse = PartnerRegistration;
+
+/** Optional parameters. */
+export interface PartnerRegistrationsListBySubscriptionOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface PrivateEndpointConnectionsListByResourceNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listBySubscription operation. */
+export type PartnerRegistrationsListBySubscriptionResponse = PartnerRegistrationsListResult;
+
+/** Optional parameters. */
+export interface PartnerRegistrationsListByResourceGroupOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface PrivateLinkResourcesListByResourceOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listByResourceGroup operation. */
+export type PartnerRegistrationsListByResourceGroupResponse = PartnerRegistrationsListResult;
+
+/** Optional parameters. */
+export interface PartnerRegistrationsListBySubscriptionNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface PrivateLinkResourcesListByResourceNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listBySubscriptionNext operation. */
+export type PartnerRegistrationsListBySubscriptionNextResponse = PartnerRegistrationsListResult;
+
+/** Optional parameters. */
+export interface PartnerRegistrationsListByResourceGroupNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface SystemTopicsListBySubscriptionOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listByResourceGroupNext operation. */
+export type PartnerRegistrationsListByResourceGroupNextResponse = PartnerRegistrationsListResult;
+
+/** Optional parameters. */
+export interface PartnerTopicsGetOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the get operation. */
+export type PartnerTopicsGetResponse = PartnerTopic;
+
+/** Optional parameters. */
+export interface PartnerTopicsDeleteOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
+
+/** Optional parameters. */
+export interface PartnerTopicsUpdateOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the update operation. */
+export type PartnerTopicsUpdateResponse = PartnerTopic;
+
+/** Optional parameters. */
+export interface PartnerTopicsListBySubscriptionOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface SystemTopicsListByResourceGroupOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listBySubscription operation. */
+export type PartnerTopicsListBySubscriptionResponse = PartnerTopicsListResult;
+
+/** Optional parameters. */
+export interface PartnerTopicsListByResourceGroupOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface SystemTopicsListBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listByResourceGroup operation. */
+export type PartnerTopicsListByResourceGroupResponse = PartnerTopicsListResult;
+
+/** Optional parameters. */
+export interface PartnerTopicsActivateOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the activate operation. */
+export type PartnerTopicsActivateResponse = PartnerTopic;
+
+/** Optional parameters. */
+export interface PartnerTopicsDeactivateOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the deactivate operation. */
+export type PartnerTopicsDeactivateResponse = PartnerTopic;
+
+/** Optional parameters. */
+export interface PartnerTopicsListBySubscriptionNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface SystemTopicsListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listBySubscriptionNext operation. */
+export type PartnerTopicsListBySubscriptionNextResponse = PartnerTopicsListResult;
+
+/** Optional parameters. */
+export interface PartnerTopicsListByResourceGroupNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface TopicsListBySubscriptionOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listByResourceGroupNext operation. */
+export type PartnerTopicsListByResourceGroupNextResponse = PartnerTopicsListResult;
+
+/** Optional parameters. */
+export interface PrivateEndpointConnectionsGetOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the get operation. */
+export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
+
+/** Optional parameters. */
+export interface PrivateEndpointConnectionsUpdateOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
+
+/** Contains response data for the update operation. */
+export type PrivateEndpointConnectionsUpdateResponse = PrivateEndpointConnection;
+
+/** Optional parameters. */
+export interface PrivateEndpointConnectionsDeleteOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
+
+/** Optional parameters. */
+export interface PrivateEndpointConnectionsListByResourceOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface TopicsListByResourceGroupOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listByResource operation. */
+export type PrivateEndpointConnectionsListByResourceResponse = PrivateEndpointConnectionListResult;
+
+/** Optional parameters. */
+export interface PrivateEndpointConnectionsListByResourceNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface TopicsListBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listByResourceNext operation. */
+export type PrivateEndpointConnectionsListByResourceNextResponse = PrivateEndpointConnectionListResult;
+
+/** Optional parameters. */
+export interface PrivateLinkResourcesGetOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Contains response data for the get operation. */
+export type PrivateLinkResourcesGetResponse = PrivateLinkResource;
+
+/** Optional parameters. */
+export interface PrivateLinkResourcesListByResourceOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * Optional Parameters.
- */
-export interface TopicsListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The query used to filter the search results using OData syntax. Filtering is permitted on the
- * 'name' property only and with limited number of OData operations. These operations are: the
- * 'contains' function as well as the following logical operations: not, and, or, eq (for equal),
- * and ne (for not equal). No arithmetic operations are supported. The following is a valid
- * filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is
- * not a valid filter example: $filter=location eq 'westus'.
- */
+/** Contains response data for the listByResource operation. */
+export type PrivateLinkResourcesListByResourceResponse = PrivateLinkResourcesListResult;
+
+/** Optional parameters. */
+export interface PrivateLinkResourcesListByResourceNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
filter?: string;
- /**
- * The number of results to return per page for the list operation. Valid range for top parameter
- * is 1 to 100. If not specified, the default number of results to be returned is 20 items per
- * page.
- */
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
top?: number;
}
-/**
- * An interface representing EventGridManagementClientOptions.
- */
-export interface EventGridManagementClientOptions extends AzureServiceClientOptions {
- baseUri?: string;
-}
+/** Contains response data for the listByResourceNext operation. */
+export type PrivateLinkResourcesListByResourceNextResponse = PrivateLinkResourcesListResult;
-/**
- * @interface
- * Result of the List Domains operation
- * @extends Array
- */
-export interface DomainsListResult extends Array {
- /**
- * A link for the next page of domains
- */
- nextLink?: string;
-}
+/** Optional parameters. */
+export interface SystemTopicsGetOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * @interface
- * Result of the List Domain Topics operation.
- * @extends Array
- */
-export interface DomainTopicsListResult extends Array {
- /**
- * A link for the next page of domain topics.
- */
- nextLink?: string;
+/** Contains response data for the get operation. */
+export type SystemTopicsGetResponse = SystemTopic;
+
+/** Optional parameters. */
+export interface SystemTopicsCreateOrUpdateOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
}
-/**
- * @interface
- * Result of the List Event Channels operation
- * @extends Array
- */
-export interface EventChannelsListResult extends Array {
- /**
- * A link for the next page of event channels
- */
- nextLink?: string;
+/** Contains response data for the createOrUpdate operation. */
+export type SystemTopicsCreateOrUpdateResponse = SystemTopic;
+
+/** Optional parameters. */
+export interface SystemTopicsDeleteOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
}
-/**
- * @interface
- * Result of the List EventSubscriptions operation
- * @extends Array
- */
-export interface EventSubscriptionsListResult extends Array {
- /**
- * A link for the next page of event subscriptions
- */
- nextLink?: string;
+/** Optional parameters. */
+export interface SystemTopicsUpdateOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
}
-/**
- * @interface
- * Result of the List Operations operation
- * @extends Array
- */
-export interface OperationsListResult extends Array {
+/** Contains response data for the update operation. */
+export type SystemTopicsUpdateResponse = SystemTopic;
+
+/** Optional parameters. */
+export interface SystemTopicsListBySubscriptionOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
+ filter?: string;
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
+ top?: number;
}
-/**
- * @interface
- * Result of the List Partner Namespaces operation
- * @extends Array
- */
-export interface PartnerNamespacesListResult extends Array {
- /**
- * A link for the next page of partner namespaces.
- */
- nextLink?: string;
+/** Contains response data for the listBySubscription operation. */
+export type SystemTopicsListBySubscriptionResponse = SystemTopicsListResult;
+
+/** Optional parameters. */
+export interface SystemTopicsListByResourceGroupOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
+ filter?: string;
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
+ top?: number;
}
-/**
- * @interface
- * Result of the List Partner Registrations operation.
- * @extends Array
- */
-export interface PartnerRegistrationsListResult extends Array {
- /**
- * A link for the next page of partner registrations.
- */
- nextLink?: string;
+/** Contains response data for the listByResourceGroup operation. */
+export type SystemTopicsListByResourceGroupResponse = SystemTopicsListResult;
+
+/** Optional parameters. */
+export interface SystemTopicsListBySubscriptionNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
+ filter?: string;
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
+ top?: number;
}
-/**
- * @interface
- * Result of the List Partner Topics operation.
- * @extends Array
- */
-export interface PartnerTopicsListResult extends Array {
- /**
- * A link for the next page of partner topics.
- */
- nextLink?: string;
+/** Contains response data for the listBySubscriptionNext operation. */
+export type SystemTopicsListBySubscriptionNextResponse = SystemTopicsListResult;
+
+/** Optional parameters. */
+export interface SystemTopicsListByResourceGroupNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
+ filter?: string;
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
+ top?: number;
}
-/**
- * @interface
- * Result of the list of all private endpoint connections operation.
- * @extends Array
- */
-export interface PrivateEndpointConnectionListResult extends Array {
- /**
- * A link for the next page of private endpoint connection resources.
- */
- nextLink?: string;
+/** Contains response data for the listByResourceGroupNext operation. */
+export type SystemTopicsListByResourceGroupNextResponse = SystemTopicsListResult;
+
+/** Optional parameters. */
+export interface TopicsGetOptionalParams extends coreClient.OperationOptions {}
+
+/** Contains response data for the get operation. */
+export type TopicsGetResponse = Topic;
+
+/** Optional parameters. */
+export interface TopicsCreateOrUpdateOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
}
-/**
- * @interface
- * Result of the List private link resources operation.
- * @extends Array
- */
-export interface PrivateLinkResourcesListResult extends Array {
- /**
- * A link for the next page of private link resources.
- */
- nextLink?: string;
+/** Contains response data for the createOrUpdate operation. */
+export type TopicsCreateOrUpdateResponse = Topic;
+
+/** Optional parameters. */
+export interface TopicsDeleteOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
}
-/**
- * @interface
- * Result of the List System topics operation.
- * @extends Array
- */
-export interface SystemTopicsListResult extends Array {
- /**
- * A link for the next page of topics.
- */
- nextLink?: string;
+/** Optional parameters. */
+export interface TopicsUpdateOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
}
-/**
- * @interface
- * Result of the List Topics operation
- * @extends Array
- */
-export interface TopicsListResult extends Array {
- /**
- * A link for the next page of topics
- */
- nextLink?: string;
+/** Optional parameters. */
+export interface TopicsListBySubscriptionOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
+ filter?: string;
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
+ top?: number;
}
-/**
- * @interface
- * Result of the List Event Types operation
- * @extends Array
- */
-export interface EventTypesListResult extends Array {
-}
+/** Contains response data for the listBySubscription operation. */
+export type TopicsListBySubscriptionResponse = TopicsListResult;
-/**
- * @interface
- * Result of the List Topic Types operation
- * @extends Array
- */
-export interface TopicTypesListResult extends Array {
+/** Optional parameters. */
+export interface TopicsListByResourceGroupOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
+ filter?: string;
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
+ top?: number;
}
-/**
- * Defines values for PersistedConnectionStatus.
- * Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected'
- * @readonly
- * @enum {string}
- */
-export type PersistedConnectionStatus = 'Pending' | 'Approved' | 'Rejected' | 'Disconnected';
-
-/**
- * Defines values for ResourceProvisioningState.
- * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed'
- * @readonly
- * @enum {string}
- */
-export type ResourceProvisioningState = 'Creating' | 'Updating' | 'Deleting' | 'Succeeded' | 'Canceled' | 'Failed';
-
-/**
- * Defines values for DomainProvisioningState.
- * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed'
- * @readonly
- * @enum {string}
- */
-export type DomainProvisioningState = 'Creating' | 'Updating' | 'Deleting' | 'Succeeded' | 'Canceled' | 'Failed';
-
-/**
- * Defines values for InputSchema.
- * Possible values include: 'EventGridSchema', 'CustomEventSchema', 'CloudEventSchemaV1_0'
- * @readonly
- * @enum {string}
- */
-export type InputSchema = 'EventGridSchema' | 'CustomEventSchema' | 'CloudEventSchemaV1_0';
-
-/**
- * Defines values for PublicNetworkAccess.
- * Possible values include: 'Enabled', 'Disabled'
- * @readonly
- * @enum {string}
- */
-export type PublicNetworkAccess = 'Enabled' | 'Disabled';
-
-/**
- * Defines values for IpActionType.
- * Possible values include: 'Allow'
- * @readonly
- * @enum {string}
- */
-export type IpActionType = 'Allow';
-
-/**
- * Defines values for Sku.
- * Possible values include: 'Basic', 'Premium'
- * @readonly
- * @enum {string}
- */
-export type Sku = 'Basic' | 'Premium';
-
-/**
- * Defines values for IdentityType.
- * Possible values include: 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned,
- * UserAssigned'
- * @readonly
- * @enum {string}
- */
-export type IdentityType = 'None' | 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned';
-
-/**
- * Defines values for CreatedByType.
- * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
- * @readonly
- * @enum {string}
- */
-export type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key';
-
-/**
- * Defines values for DomainTopicProvisioningState.
- * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed'
- * @readonly
- * @enum {string}
- */
-export type DomainTopicProvisioningState = 'Creating' | 'Updating' | 'Deleting' | 'Succeeded' | 'Canceled' | 'Failed';
-
-/**
- * Defines values for EventChannelProvisioningState.
- * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed'
- * @readonly
- * @enum {string}
- */
-export type EventChannelProvisioningState = 'Creating' | 'Updating' | 'Deleting' | 'Succeeded' | 'Canceled' | 'Failed';
-
-/**
- * Defines values for PartnerTopicReadinessState.
- * Possible values include: 'NotActivatedByUserYet', 'ActivatedByUser', 'DeactivatedByUser',
- * 'DeletedByUser'
- * @readonly
- * @enum {string}
- */
-export type PartnerTopicReadinessState = 'NotActivatedByUserYet' | 'ActivatedByUser' | 'DeactivatedByUser' | 'DeletedByUser';
-
-/**
- * Defines values for EventSubscriptionProvisioningState.
- * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed',
- * 'AwaitingManualAction'
- * @readonly
- * @enum {string}
- */
-export type EventSubscriptionProvisioningState = 'Creating' | 'Updating' | 'Deleting' | 'Succeeded' | 'Canceled' | 'Failed' | 'AwaitingManualAction';
-
-/**
- * Defines values for EventSubscriptionIdentityType.
- * Possible values include: 'SystemAssigned', 'UserAssigned'
- * @readonly
- * @enum {string}
- */
-export type EventSubscriptionIdentityType = 'SystemAssigned' | 'UserAssigned';
-
-/**
- * Defines values for EventDeliverySchema.
- * Possible values include: 'EventGridSchema', 'CustomInputSchema', 'CloudEventSchemaV1_0'
- * @readonly
- * @enum {string}
- */
-export type EventDeliverySchema = 'EventGridSchema' | 'CustomInputSchema' | 'CloudEventSchemaV1_0';
-
-/**
- * Defines values for PartnerNamespaceProvisioningState.
- * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed'
- * @readonly
- * @enum {string}
- */
-export type PartnerNamespaceProvisioningState = 'Creating' | 'Updating' | 'Deleting' | 'Succeeded' | 'Canceled' | 'Failed';
-
-/**
- * Defines values for PartnerRegistrationProvisioningState.
- * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed'
- * @readonly
- * @enum {string}
- */
-export type PartnerRegistrationProvisioningState = 'Creating' | 'Updating' | 'Deleting' | 'Succeeded' | 'Canceled' | 'Failed';
-
-/**
- * Defines values for PartnerRegistrationVisibilityState.
- * Possible values include: 'Hidden', 'PublicPreview', 'GenerallyAvailable'
- * @readonly
- * @enum {string}
- */
-export type PartnerRegistrationVisibilityState = 'Hidden' | 'PublicPreview' | 'GenerallyAvailable';
-
-/**
- * Defines values for PartnerTopicProvisioningState.
- * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed'
- * @readonly
- * @enum {string}
- */
-export type PartnerTopicProvisioningState = 'Creating' | 'Updating' | 'Deleting' | 'Succeeded' | 'Canceled' | 'Failed';
-
-/**
- * Defines values for PartnerTopicActivationState.
- * Possible values include: 'NeverActivated', 'Activated', 'Deactivated'
- * @readonly
- * @enum {string}
- */
-export type PartnerTopicActivationState = 'NeverActivated' | 'Activated' | 'Deactivated';
-
-/**
- * Defines values for TopicProvisioningState.
- * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed'
- * @readonly
- * @enum {string}
- */
-export type TopicProvisioningState = 'Creating' | 'Updating' | 'Deleting' | 'Succeeded' | 'Canceled' | 'Failed';
-
-/**
- * Defines values for ResourceKind.
- * Possible values include: 'Azure', 'AzureArc'
- * @readonly
- * @enum {string}
- */
-export type ResourceKind = 'Azure' | 'AzureArc';
-
-/**
- * Defines values for ResourceRegionType.
- * Possible values include: 'RegionalResource', 'GlobalResource'
- * @readonly
- * @enum {string}
- */
-export type ResourceRegionType = 'RegionalResource' | 'GlobalResource';
-
-/**
- * Defines values for TopicTypeProvisioningState.
- * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed'
- * @readonly
- * @enum {string}
- */
-export type TopicTypeProvisioningState = 'Creating' | 'Updating' | 'Deleting' | 'Succeeded' | 'Canceled' | 'Failed';
-
-/**
- * Defines values for ParentType.
- * Possible values include: 'topics', 'domains', 'partnerNamespaces'
- * @readonly
- * @enum {string}
- */
-export type ParentType = 'topics' | 'domains' | 'partnerNamespaces';
-
-/**
- * Defines values for ParentType1.
- * Possible values include: 'topics', 'domains', 'partnerNamespaces'
- * @readonly
- * @enum {string}
- */
-export type ParentType1 = 'topics' | 'domains' | 'partnerNamespaces';
-
-/**
- * Defines values for ParentType2.
- * Possible values include: 'topics', 'domains', 'partnerNamespaces'
- * @readonly
- * @enum {string}
- */
-export type ParentType2 = 'topics' | 'domains' | 'partnerNamespaces';
-
-/**
- * Defines values for ParentType3.
- * Possible values include: 'topics', 'domains', 'partnerNamespaces'
- * @readonly
- * @enum {string}
- */
-export type ParentType3 = 'topics' | 'domains' | 'partnerNamespaces';
-
-/**
- * Contains response data for the get operation.
- */
-export type DomainsGetResponse = Domain & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: Domain;
- };
-};
-
-/**
- * Contains response data for the createOrUpdate operation.
- */
-export type DomainsCreateOrUpdateResponse = Domain & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: Domain;
- };
-};
-
-/**
- * Contains response data for the update operation.
- */
-export type DomainsUpdateResponse = Domain & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: Domain;
- };
-};
-
-/**
- * Contains response data for the listBySubscription operation.
- */
-export type DomainsListBySubscriptionResponse = DomainsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DomainsListResult;
- };
-};
-
-/**
- * Contains response data for the listByResourceGroup operation.
- */
-export type DomainsListByResourceGroupResponse = DomainsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DomainsListResult;
- };
-};
-
-/**
- * Contains response data for the listSharedAccessKeys operation.
- */
-export type DomainsListSharedAccessKeysResponse = DomainSharedAccessKeys & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DomainSharedAccessKeys;
- };
-};
-
-/**
- * Contains response data for the regenerateKey operation.
- */
-export type DomainsRegenerateKeyResponse = DomainSharedAccessKeys & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DomainSharedAccessKeys;
- };
-};
-
-/**
- * Contains response data for the beginCreateOrUpdate operation.
- */
-export type DomainsBeginCreateOrUpdateResponse = Domain & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: Domain;
- };
-};
-
-/**
- * Contains response data for the beginUpdate operation.
- */
-export type DomainsBeginUpdateResponse = Domain & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: Domain;
- };
-};
-
-/**
- * Contains response data for the listBySubscriptionNext operation.
- */
-export type DomainsListBySubscriptionNextResponse = DomainsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DomainsListResult;
- };
-};
+/** Contains response data for the listByResourceGroup operation. */
+export type TopicsListByResourceGroupResponse = TopicsListResult;
-/**
- * Contains response data for the listByResourceGroupNext operation.
- */
-export type DomainsListByResourceGroupNextResponse = DomainsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DomainsListResult;
- };
-};
+/** Optional parameters. */
+export interface TopicsListSharedAccessKeysOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the get operation.
- */
-export type DomainTopicsGetResponse = DomainTopic & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DomainTopic;
- };
-};
+/** Contains response data for the listSharedAccessKeys operation. */
+export type TopicsListSharedAccessKeysResponse = TopicSharedAccessKeys;
-/**
- * Contains response data for the createOrUpdate operation.
- */
-export type DomainTopicsCreateOrUpdateResponse = DomainTopic & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DomainTopic;
- };
-};
+/** Optional parameters. */
+export interface TopicsRegenerateKeyOptionalParams
+ extends coreClient.OperationOptions {
+ /** Delay to wait until next poll, in milliseconds. */
+ updateIntervalInMs?: number;
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
+ resumeFrom?: string;
+}
-/**
- * Contains response data for the listByDomain operation.
- */
-export type DomainTopicsListByDomainResponse = DomainTopicsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DomainTopicsListResult;
- };
-};
+/** Contains response data for the regenerateKey operation. */
+export type TopicsRegenerateKeyResponse = TopicSharedAccessKeys;
-/**
- * Contains response data for the beginCreateOrUpdate operation.
- */
-export type DomainTopicsBeginCreateOrUpdateResponse = DomainTopic & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DomainTopic;
- };
-};
+/** Optional parameters. */
+export interface TopicsListEventTypesOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the listByDomainNext operation.
- */
-export type DomainTopicsListByDomainNextResponse = DomainTopicsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DomainTopicsListResult;
- };
-};
+/** Contains response data for the listEventTypes operation. */
+export type TopicsListEventTypesResponse = EventTypesListResult;
-/**
- * Contains response data for the get operation.
- */
-export type EventChannelsGetResponse = EventChannel & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventChannel;
- };
-};
+/** Optional parameters. */
+export interface TopicsListBySubscriptionNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
+ filter?: string;
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
+ top?: number;
+}
-/**
- * Contains response data for the createOrUpdate operation.
- */
-export type EventChannelsCreateOrUpdateResponse = EventChannel & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventChannel;
- };
-};
+/** Contains response data for the listBySubscriptionNext operation. */
+export type TopicsListBySubscriptionNextResponse = TopicsListResult;
-/**
- * Contains response data for the listByPartnerNamespace operation.
- */
-export type EventChannelsListByPartnerNamespaceResponse = EventChannelsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventChannelsListResult;
- };
-};
+/** Optional parameters. */
+export interface TopicsListByResourceGroupNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
+ filter?: string;
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
+ top?: number;
+}
-/**
- * Contains response data for the listByPartnerNamespaceNext operation.
- */
-export type EventChannelsListByPartnerNamespaceNextResponse = EventChannelsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventChannelsListResult;
- };
-};
+/** Contains response data for the listByResourceGroupNext operation. */
+export type TopicsListByResourceGroupNextResponse = TopicsListResult;
-/**
- * Contains response data for the get operation.
- */
-export type EventSubscriptionsGetResponse = EventSubscription & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscription;
- };
-};
+/** Optional parameters. */
+export interface ExtensionTopicsGetOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the createOrUpdate operation.
- */
-export type EventSubscriptionsCreateOrUpdateResponse = EventSubscription & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscription;
- };
-};
+/** Contains response data for the get operation. */
+export type ExtensionTopicsGetResponse = ExtensionTopic;
-/**
- * Contains response data for the update operation.
- */
-export type EventSubscriptionsUpdateResponse = EventSubscription & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscription;
- };
-};
+/** Optional parameters. */
+export interface TopicTypesListOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the getFullUrl operation.
- */
-export type EventSubscriptionsGetFullUrlResponse = EventSubscriptionFullUrl & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionFullUrl;
- };
-};
+/** Contains response data for the list operation. */
+export type TopicTypesListResponse = TopicTypesListResult;
-/**
- * Contains response data for the listGlobalBySubscription operation.
- */
-export type EventSubscriptionsListGlobalBySubscriptionResponse = EventSubscriptionsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionsListResult;
- };
-};
+/** Optional parameters. */
+export interface TopicTypesGetOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the listGlobalBySubscriptionForTopicType operation.
- */
-export type EventSubscriptionsListGlobalBySubscriptionForTopicTypeResponse = EventSubscriptionsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionsListResult;
- };
-};
+/** Contains response data for the get operation. */
+export type TopicTypesGetResponse = TopicTypeInfo;
-/**
- * Contains response data for the listGlobalByResourceGroup operation.
- */
-export type EventSubscriptionsListGlobalByResourceGroupResponse = EventSubscriptionsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionsListResult;
- };
-};
+/** Optional parameters. */
+export interface TopicTypesListEventTypesOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the listGlobalByResourceGroupForTopicType operation.
- */
-export type EventSubscriptionsListGlobalByResourceGroupForTopicTypeResponse = EventSubscriptionsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionsListResult;
- };
-};
+/** Contains response data for the listEventTypes operation. */
+export type TopicTypesListEventTypesResponse = EventTypesListResult;
-/**
- * Contains response data for the listRegionalBySubscription operation.
- */
-export type EventSubscriptionsListRegionalBySubscriptionResponse = EventSubscriptionsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionsListResult;
- };
-};
-
-/**
- * Contains response data for the listRegionalByResourceGroup operation.
- */
-export type EventSubscriptionsListRegionalByResourceGroupResponse = EventSubscriptionsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionsListResult;
- };
-};
-
-/**
- * Contains response data for the listRegionalBySubscriptionForTopicType operation.
- */
-export type EventSubscriptionsListRegionalBySubscriptionForTopicTypeResponse = EventSubscriptionsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionsListResult;
- };
-};
-
-/**
- * Contains response data for the listRegionalByResourceGroupForTopicType operation.
- */
-export type EventSubscriptionsListRegionalByResourceGroupForTopicTypeResponse = EventSubscriptionsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionsListResult;
- };
-};
-
-/**
- * Contains response data for the listByResource operation.
- */
-export type EventSubscriptionsListByResourceResponse = EventSubscriptionsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionsListResult;
- };
-};
-
-/**
- * Contains response data for the listByDomainTopic operation.
- */
-export type EventSubscriptionsListByDomainTopicResponse = EventSubscriptionsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionsListResult;
- };
-};
-
-/**
- * Contains response data for the getDeliveryAttributes operation.
- */
-export type EventSubscriptionsGetDeliveryAttributesResponse = DeliveryAttributeListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DeliveryAttributeListResult;
- };
-};
-
-/**
- * Contains response data for the beginCreateOrUpdate operation.
- */
-export type EventSubscriptionsBeginCreateOrUpdateResponse = EventSubscription & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscription;
- };
-};
-
-/**
- * Contains response data for the beginUpdate operation.
- */
-export type EventSubscriptionsBeginUpdateResponse = EventSubscription & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscription;
- };
-};
-
-/**
- * Contains response data for the listGlobalBySubscriptionNext operation.
- */
-export type EventSubscriptionsListGlobalBySubscriptionNextResponse = EventSubscriptionsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionsListResult;
- };
-};
-
-/**
- * Contains response data for the listGlobalBySubscriptionForTopicTypeNext operation.
- */
-export type EventSubscriptionsListGlobalBySubscriptionForTopicTypeNextResponse = EventSubscriptionsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionsListResult;
- };
-};
-
-/**
- * Contains response data for the listGlobalByResourceGroupNext operation.
- */
-export type EventSubscriptionsListGlobalByResourceGroupNextResponse = EventSubscriptionsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionsListResult;
- };
-};
-
-/**
- * Contains response data for the listGlobalByResourceGroupForTopicTypeNext operation.
- */
-export type EventSubscriptionsListGlobalByResourceGroupForTopicTypeNextResponse = EventSubscriptionsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionsListResult;
- };
-};
-
-/**
- * Contains response data for the listRegionalBySubscriptionNext operation.
- */
-export type EventSubscriptionsListRegionalBySubscriptionNextResponse = EventSubscriptionsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionsListResult;
- };
-};
-
-/**
- * Contains response data for the listRegionalByResourceGroupNext operation.
- */
-export type EventSubscriptionsListRegionalByResourceGroupNextResponse = EventSubscriptionsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionsListResult;
- };
-};
-
-/**
- * Contains response data for the listRegionalBySubscriptionForTopicTypeNext operation.
- */
-export type EventSubscriptionsListRegionalBySubscriptionForTopicTypeNextResponse = EventSubscriptionsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionsListResult;
- };
-};
-
-/**
- * Contains response data for the listRegionalByResourceGroupForTopicTypeNext operation.
- */
-export type EventSubscriptionsListRegionalByResourceGroupForTopicTypeNextResponse = EventSubscriptionsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionsListResult;
- };
-};
-
-/**
- * Contains response data for the listByResourceNext operation.
- */
-export type EventSubscriptionsListByResourceNextResponse = EventSubscriptionsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionsListResult;
- };
-};
-
-/**
- * Contains response data for the listByDomainTopicNext operation.
- */
-export type EventSubscriptionsListByDomainTopicNextResponse = EventSubscriptionsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionsListResult;
- };
-};
-
-/**
- * Contains response data for the get operation.
- */
-export type SystemTopicEventSubscriptionsGetResponse = EventSubscription & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscription;
- };
-};
-
-/**
- * Contains response data for the createOrUpdate operation.
- */
-export type SystemTopicEventSubscriptionsCreateOrUpdateResponse = EventSubscription & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscription;
- };
-};
-
-/**
- * Contains response data for the update operation.
- */
-export type SystemTopicEventSubscriptionsUpdateResponse = EventSubscription & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscription;
- };
-};
-
-/**
- * Contains response data for the getFullUrl operation.
- */
-export type SystemTopicEventSubscriptionsGetFullUrlResponse = EventSubscriptionFullUrl & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionFullUrl;
- };
-};
-
-/**
- * Contains response data for the listBySystemTopic operation.
- */
-export type SystemTopicEventSubscriptionsListBySystemTopicResponse = EventSubscriptionsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionsListResult;
- };
-};
-
-/**
- * Contains response data for the getDeliveryAttributes operation.
- */
-export type SystemTopicEventSubscriptionsGetDeliveryAttributesResponse = DeliveryAttributeListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DeliveryAttributeListResult;
- };
-};
-
-/**
- * Contains response data for the beginCreateOrUpdate operation.
- */
-export type SystemTopicEventSubscriptionsBeginCreateOrUpdateResponse = EventSubscription & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscription;
- };
-};
-
-/**
- * Contains response data for the beginUpdate operation.
- */
-export type SystemTopicEventSubscriptionsBeginUpdateResponse = EventSubscription & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscription;
- };
-};
-
-/**
- * Contains response data for the listBySystemTopicNext operation.
- */
-export type SystemTopicEventSubscriptionsListBySystemTopicNextResponse = EventSubscriptionsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionsListResult;
- };
-};
-
-/**
- * Contains response data for the get operation.
- */
-export type PartnerTopicEventSubscriptionsGetResponse = EventSubscription & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscription;
- };
-};
-
-/**
- * Contains response data for the createOrUpdate operation.
- */
-export type PartnerTopicEventSubscriptionsCreateOrUpdateResponse = EventSubscription & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscription;
- };
-};
-
-/**
- * Contains response data for the update operation.
- */
-export type PartnerTopicEventSubscriptionsUpdateResponse = EventSubscription & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscription;
- };
-};
-
-/**
- * Contains response data for the getFullUrl operation.
- */
-export type PartnerTopicEventSubscriptionsGetFullUrlResponse = EventSubscriptionFullUrl & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionFullUrl;
- };
-};
-
-/**
- * Contains response data for the listByPartnerTopic operation.
- */
-export type PartnerTopicEventSubscriptionsListByPartnerTopicResponse = EventSubscriptionsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionsListResult;
- };
-};
-
-/**
- * Contains response data for the getDeliveryAttributes operation.
- */
-export type PartnerTopicEventSubscriptionsGetDeliveryAttributesResponse = DeliveryAttributeListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DeliveryAttributeListResult;
- };
-};
-
-/**
- * Contains response data for the beginCreateOrUpdate operation.
- */
-export type PartnerTopicEventSubscriptionsBeginCreateOrUpdateResponse = EventSubscription & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscription;
- };
-};
-
-/**
- * Contains response data for the beginUpdate operation.
- */
-export type PartnerTopicEventSubscriptionsBeginUpdateResponse = EventSubscription & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscription;
- };
-};
-
-/**
- * Contains response data for the listByPartnerTopicNext operation.
- */
-export type PartnerTopicEventSubscriptionsListByPartnerTopicNextResponse = EventSubscriptionsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventSubscriptionsListResult;
- };
-};
-
-/**
- * Contains response data for the list operation.
- */
-export type OperationsListResponse = OperationsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: OperationsListResult;
- };
-};
-
-/**
- * Contains response data for the get operation.
- */
-export type PartnerNamespacesGetResponse = PartnerNamespace & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartnerNamespace;
- };
-};
-
-/**
- * Contains response data for the createOrUpdate operation.
- */
-export type PartnerNamespacesCreateOrUpdateResponse = PartnerNamespace & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartnerNamespace;
- };
-};
-
-/**
- * Contains response data for the update operation.
- */
-export type PartnerNamespacesUpdateResponse = PartnerNamespace & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartnerNamespace;
- };
-};
-
-/**
- * Contains response data for the listBySubscription operation.
- */
-export type PartnerNamespacesListBySubscriptionResponse = PartnerNamespacesListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartnerNamespacesListResult;
- };
-};
-
-/**
- * Contains response data for the listByResourceGroup operation.
- */
-export type PartnerNamespacesListByResourceGroupResponse = PartnerNamespacesListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartnerNamespacesListResult;
- };
-};
-
-/**
- * Contains response data for the listSharedAccessKeys operation.
- */
-export type PartnerNamespacesListSharedAccessKeysResponse = PartnerNamespaceSharedAccessKeys & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartnerNamespaceSharedAccessKeys;
- };
-};
-
-/**
- * Contains response data for the regenerateKey operation.
- */
-export type PartnerNamespacesRegenerateKeyResponse = PartnerNamespaceSharedAccessKeys & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartnerNamespaceSharedAccessKeys;
- };
-};
-
-/**
- * Contains response data for the beginCreateOrUpdate operation.
- */
-export type PartnerNamespacesBeginCreateOrUpdateResponse = PartnerNamespace & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartnerNamespace;
- };
-};
-
-/**
- * Contains response data for the beginUpdate operation.
- */
-export type PartnerNamespacesBeginUpdateResponse = PartnerNamespace & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartnerNamespace;
- };
-};
-
-/**
- * Contains response data for the listBySubscriptionNext operation.
- */
-export type PartnerNamespacesListBySubscriptionNextResponse = PartnerNamespacesListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartnerNamespacesListResult;
- };
-};
-
-/**
- * Contains response data for the listByResourceGroupNext operation.
- */
-export type PartnerNamespacesListByResourceGroupNextResponse = PartnerNamespacesListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartnerNamespacesListResult;
- };
-};
-
-/**
- * Contains response data for the get operation.
- */
-export type PartnerRegistrationsGetResponse = PartnerRegistration & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartnerRegistration;
- };
-};
-
-/**
- * Contains response data for the createOrUpdate operation.
- */
-export type PartnerRegistrationsCreateOrUpdateResponse = PartnerRegistration & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartnerRegistration;
- };
-};
-
-/**
- * Contains response data for the update operation.
- */
-export type PartnerRegistrationsUpdateResponse = PartnerRegistration & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartnerRegistration;
- };
-};
-
-/**
- * Contains response data for the listBySubscription operation.
- */
-export type PartnerRegistrationsListBySubscriptionResponse = PartnerRegistrationsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartnerRegistrationsListResult;
- };
-};
-
-/**
- * Contains response data for the listByResourceGroup operation.
- */
-export type PartnerRegistrationsListByResourceGroupResponse = PartnerRegistrationsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartnerRegistrationsListResult;
- };
-};
-
-/**
- * Contains response data for the listBySubscriptionNext operation.
- */
-export type PartnerRegistrationsListBySubscriptionNextResponse = PartnerRegistrationsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartnerRegistrationsListResult;
- };
-};
-
-/**
- * Contains response data for the listByResourceGroupNext operation.
- */
-export type PartnerRegistrationsListByResourceGroupNextResponse = PartnerRegistrationsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartnerRegistrationsListResult;
- };
-};
-
-/**
- * Contains response data for the get operation.
- */
-export type PartnerTopicsGetResponse = PartnerTopic & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartnerTopic;
- };
-};
-
-/**
- * Contains response data for the update operation.
- */
-export type PartnerTopicsUpdateResponse = PartnerTopic & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartnerTopic;
- };
-};
-
-/**
- * Contains response data for the listBySubscription operation.
- */
-export type PartnerTopicsListBySubscriptionResponse = PartnerTopicsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartnerTopicsListResult;
- };
-};
-
-/**
- * Contains response data for the listByResourceGroup operation.
- */
-export type PartnerTopicsListByResourceGroupResponse = PartnerTopicsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartnerTopicsListResult;
- };
-};
-
-/**
- * Contains response data for the activate operation.
- */
-export type PartnerTopicsActivateResponse = PartnerTopic & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartnerTopic;
- };
-};
-
-/**
- * Contains response data for the deactivate operation.
- */
-export type PartnerTopicsDeactivateResponse = PartnerTopic & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartnerTopic;
- };
-};
-
-/**
- * Contains response data for the listBySubscriptionNext operation.
- */
-export type PartnerTopicsListBySubscriptionNextResponse = PartnerTopicsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartnerTopicsListResult;
- };
-};
-
-/**
- * Contains response data for the listByResourceGroupNext operation.
- */
-export type PartnerTopicsListByResourceGroupNextResponse = PartnerTopicsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartnerTopicsListResult;
- };
-};
-
-/**
- * Contains response data for the get operation.
- */
-export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PrivateEndpointConnection;
- };
-};
-
-/**
- * Contains response data for the update operation.
- */
-export type PrivateEndpointConnectionsUpdateResponse = PrivateEndpointConnection & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PrivateEndpointConnection;
- };
-};
-
-/**
- * Contains response data for the listByResource operation.
- */
-export type PrivateEndpointConnectionsListByResourceResponse = PrivateEndpointConnectionListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PrivateEndpointConnectionListResult;
- };
-};
-
-/**
- * Contains response data for the beginUpdate operation.
- */
-export type PrivateEndpointConnectionsBeginUpdateResponse = PrivateEndpointConnection & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PrivateEndpointConnection;
- };
-};
-
-/**
- * Contains response data for the listByResourceNext operation.
- */
-export type PrivateEndpointConnectionsListByResourceNextResponse = PrivateEndpointConnectionListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PrivateEndpointConnectionListResult;
- };
-};
-
-/**
- * Contains response data for the get operation.
- */
-export type PrivateLinkResourcesGetResponse = PrivateLinkResource & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PrivateLinkResource;
- };
-};
-
-/**
- * Contains response data for the listByResource operation.
- */
-export type PrivateLinkResourcesListByResourceResponse = PrivateLinkResourcesListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PrivateLinkResourcesListResult;
- };
-};
-
-/**
- * Contains response data for the listByResourceNext operation.
- */
-export type PrivateLinkResourcesListByResourceNextResponse = PrivateLinkResourcesListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PrivateLinkResourcesListResult;
- };
-};
-
-/**
- * Contains response data for the get operation.
- */
-export type SystemTopicsGetResponse = SystemTopic & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SystemTopic;
- };
-};
-
-/**
- * Contains response data for the createOrUpdate operation.
- */
-export type SystemTopicsCreateOrUpdateResponse = SystemTopic & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SystemTopic;
- };
-};
-
-/**
- * Contains response data for the update operation.
- */
-export type SystemTopicsUpdateResponse = SystemTopic & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SystemTopic;
- };
-};
-
-/**
- * Contains response data for the listBySubscription operation.
- */
-export type SystemTopicsListBySubscriptionResponse = SystemTopicsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SystemTopicsListResult;
- };
-};
-
-/**
- * Contains response data for the listByResourceGroup operation.
- */
-export type SystemTopicsListByResourceGroupResponse = SystemTopicsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SystemTopicsListResult;
- };
-};
-
-/**
- * Contains response data for the beginCreateOrUpdate operation.
- */
-export type SystemTopicsBeginCreateOrUpdateResponse = SystemTopic & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SystemTopic;
- };
-};
-
-/**
- * Contains response data for the beginUpdate operation.
- */
-export type SystemTopicsBeginUpdateResponse = SystemTopic & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SystemTopic;
- };
-};
-
-/**
- * Contains response data for the listBySubscriptionNext operation.
- */
-export type SystemTopicsListBySubscriptionNextResponse = SystemTopicsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SystemTopicsListResult;
- };
-};
-
-/**
- * Contains response data for the listByResourceGroupNext operation.
- */
-export type SystemTopicsListByResourceGroupNextResponse = SystemTopicsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SystemTopicsListResult;
- };
-};
-
-/**
- * Contains response data for the get operation.
- */
-export type TopicsGetResponse = Topic & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: Topic;
- };
-};
-
-/**
- * Contains response data for the createOrUpdate operation.
- */
-export type TopicsCreateOrUpdateResponse = Topic & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: Topic;
- };
-};
-
-/**
- * Contains response data for the update operation.
- */
-export type TopicsUpdateResponse = Topic & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: Topic;
- };
-};
-
-/**
- * Contains response data for the listBySubscription operation.
- */
-export type TopicsListBySubscriptionResponse = TopicsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: TopicsListResult;
- };
-};
-
-/**
- * Contains response data for the listByResourceGroup operation.
- */
-export type TopicsListByResourceGroupResponse = TopicsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: TopicsListResult;
- };
-};
-
-/**
- * Contains response data for the listSharedAccessKeys operation.
- */
-export type TopicsListSharedAccessKeysResponse = TopicSharedAccessKeys & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: TopicSharedAccessKeys;
- };
-};
-
-/**
- * Contains response data for the regenerateKey operation.
- */
-export type TopicsRegenerateKeyResponse = TopicSharedAccessKeys & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: TopicSharedAccessKeys;
- };
-};
-
-/**
- * Contains response data for the listEventTypes operation.
- */
-export type TopicsListEventTypesResponse = EventTypesListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventTypesListResult;
- };
-};
-
-/**
- * Contains response data for the beginCreateOrUpdate operation.
- */
-export type TopicsBeginCreateOrUpdateResponse = Topic & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: Topic;
- };
-};
-
-/**
- * Contains response data for the beginUpdate operation.
- */
-export type TopicsBeginUpdateResponse = Topic & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: Topic;
- };
-};
-
-/**
- * Contains response data for the beginRegenerateKey operation.
- */
-export type TopicsBeginRegenerateKeyResponse = TopicSharedAccessKeys & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: TopicSharedAccessKeys;
- };
-};
-
-/**
- * Contains response data for the listBySubscriptionNext operation.
- */
-export type TopicsListBySubscriptionNextResponse = TopicsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: TopicsListResult;
- };
-};
-
-/**
- * Contains response data for the listByResourceGroupNext operation.
- */
-export type TopicsListByResourceGroupNextResponse = TopicsListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: TopicsListResult;
- };
-};
-
-/**
- * Contains response data for the get operation.
- */
-export type ExtensionTopicsGetResponse = ExtensionTopic & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ExtensionTopic;
- };
-};
-
-/**
- * Contains response data for the list operation.
- */
-export type TopicTypesListResponse = TopicTypesListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: TopicTypesListResult;
- };
-};
-
-/**
- * Contains response data for the get operation.
- */
-export type TopicTypesGetResponse = TopicTypeInfo & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: TopicTypeInfo;
- };
-};
-
-/**
- * Contains response data for the listEventTypes operation.
- */
-export type TopicTypesListEventTypesResponse = EventTypesListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: EventTypesListResult;
- };
-};
+/** Optional parameters. */
+export interface EventGridManagementClientOptionalParams
+ extends coreClient.ServiceClientOptions {
+ /** server parameter */
+ $host?: string;
+ /** Api Version */
+ apiVersion?: string;
+ /** Overrides client endpoint. */
+ endpoint?: string;
+}
diff --git a/sdk/eventgrid/arm-eventgrid/src/models/mappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/mappers.ts
index 47fb345ddabe..97d1b23cbda1 100644
--- a/sdk/eventgrid/arm-eventgrid/src/models/mappers.ts
+++ b/sdk/eventgrid/arm-eventgrid/src/models/mappers.ts
@@ -6,48 +6,30 @@
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js";
-import * as msRest from "@azure/ms-rest-js";
+import * as coreClient from "@azure/core-client";
-export const CloudError = CloudErrorMapper;
-export const BaseResource = BaseResourceMapper;
-
-export const PrivateEndpoint: msRest.CompositeMapper = {
- serializedName: "PrivateEndpoint",
+export const Resource: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "PrivateEndpoint",
+ className: "Resource",
modelProperties: {
id: {
serializedName: "id",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const ConnectionState: msRest.CompositeMapper = {
- serializedName: "ConnectionState",
- type: {
- name: "Composite",
- className: "ConnectionState",
- modelProperties: {
- status: {
- serializedName: "status",
+ readOnly: true,
type: {
name: "String"
}
},
- description: {
- serializedName: "description",
+ name: {
+ serializedName: "name",
+ readOnly: true,
type: {
name: "String"
}
},
- actionsRequired: {
- serializedName: "actionsRequired",
+ type: {
+ serializedName: "type",
+ readOnly: true,
type: {
name: "String"
}
@@ -56,71 +38,40 @@ export const ConnectionState: msRest.CompositeMapper = {
}
};
-export const Resource: msRest.CompositeMapper = {
- serializedName: "Resource",
+export const PrivateEndpoint: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "Resource",
+ className: "PrivateEndpoint",
modelProperties: {
id: {
- readOnly: true,
serializedName: "id",
type: {
name: "String"
}
- },
- name: {
- readOnly: true,
- serializedName: "name",
- type: {
- name: "String"
- }
- },
- type: {
- readOnly: true,
- serializedName: "type",
- type: {
- name: "String"
- }
}
}
}
};
-export const PrivateEndpointConnection: msRest.CompositeMapper = {
- serializedName: "PrivateEndpointConnection",
+export const ConnectionState: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "PrivateEndpointConnection",
+ className: "ConnectionState",
modelProperties: {
- ...Resource.type.modelProperties,
- privateEndpoint: {
- serializedName: "properties.privateEndpoint",
- type: {
- name: "Composite",
- className: "PrivateEndpoint"
- }
- },
- groupIds: {
- serializedName: "properties.groupIds",
+ status: {
+ serializedName: "status",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
+ name: "String"
}
},
- privateLinkServiceConnectionState: {
- serializedName: "properties.privateLinkServiceConnectionState",
+ description: {
+ serializedName: "description",
type: {
- name: "Composite",
- className: "ConnectionState"
+ name: "String"
}
},
- provisioningState: {
- serializedName: "properties.provisioningState",
+ actionsRequired: {
+ serializedName: "actionsRequired",
type: {
name: "String"
}
@@ -129,20 +80,19 @@ export const PrivateEndpointConnection: msRest.CompositeMapper = {
}
};
-export const InputSchemaMapping: msRest.CompositeMapper = {
- serializedName: "InputSchemaMapping",
+export const InputSchemaMapping: coreClient.CompositeMapper = {
type: {
name: "Composite",
+ className: "InputSchemaMapping",
+ uberParent: "InputSchemaMapping",
polymorphicDiscriminator: {
serializedName: "inputSchemaMappingType",
clientName: "inputSchemaMappingType"
},
- uberParent: "InputSchemaMapping",
- className: "InputSchemaMapping",
modelProperties: {
inputSchemaMappingType: {
- required: true,
serializedName: "inputSchemaMappingType",
+ required: true,
type: {
name: "String"
}
@@ -151,8 +101,7 @@ export const InputSchemaMapping: msRest.CompositeMapper = {
}
};
-export const InboundIpRule: msRest.CompositeMapper = {
- serializedName: "InboundIpRule",
+export const InboundIpRule: coreClient.CompositeMapper = {
type: {
name: "Composite",
className: "InboundIpRule",
@@ -173,37 +122,14 @@ export const InboundIpRule: msRest.CompositeMapper = {
}
};
-export const ResourceSku: msRest.CompositeMapper = {
- serializedName: "ResourceSku",
+export const ResourceSku: coreClient.CompositeMapper = {
type: {
name: "Composite",
className: "ResourceSku",
modelProperties: {
name: {
+ defaultValue: "Basic",
serializedName: "name",
- defaultValue: 'Basic',
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const UserIdentityProperties: msRest.CompositeMapper = {
- serializedName: "UserIdentityProperties",
- type: {
- name: "Composite",
- className: "UserIdentityProperties",
- modelProperties: {
- principalId: {
- serializedName: "principalId",
- type: {
- name: "String"
- }
- },
- clientId: {
- serializedName: "clientId",
type: {
name: "String"
}
@@ -212,8 +138,7 @@ export const UserIdentityProperties: msRest.CompositeMapper = {
}
};
-export const IdentityInfo: msRest.CompositeMapper = {
- serializedName: "IdentityInfo",
+export const IdentityInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
className: "IdentityInfo",
@@ -241,10 +166,7 @@ export const IdentityInfo: msRest.CompositeMapper = {
type: {
name: "Dictionary",
value: {
- type: {
- name: "Composite",
- className: "UserIdentityProperties"
- }
+ type: { name: "Composite", className: "UserIdentityProperties" }
}
}
}
@@ -252,130 +174,28 @@ export const IdentityInfo: msRest.CompositeMapper = {
}
};
-export const JsonField: msRest.CompositeMapper = {
- serializedName: "JsonField",
- type: {
- name: "Composite",
- className: "JsonField",
- modelProperties: {
- sourceField: {
- serializedName: "sourceField",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const JsonFieldWithDefault: msRest.CompositeMapper = {
- serializedName: "JsonFieldWithDefault",
+export const UserIdentityProperties: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "JsonFieldWithDefault",
+ className: "UserIdentityProperties",
modelProperties: {
- sourceField: {
- serializedName: "sourceField",
- type: {
- name: "String"
- }
- },
- defaultValue: {
- serializedName: "defaultValue",
+ principalId: {
+ serializedName: "principalId",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const JsonInputSchemaMapping: msRest.CompositeMapper = {
- serializedName: "Json",
- type: {
- name: "Composite",
- polymorphicDiscriminator: InputSchemaMapping.type.polymorphicDiscriminator,
- uberParent: "InputSchemaMapping",
- className: "JsonInputSchemaMapping",
- modelProperties: {
- ...InputSchemaMapping.type.modelProperties,
- id: {
- serializedName: "properties.id",
- type: {
- name: "Composite",
- className: "JsonField"
- }
- },
- topic: {
- serializedName: "properties.topic",
- type: {
- name: "Composite",
- className: "JsonField"
- }
- },
- eventTime: {
- serializedName: "properties.eventTime",
- type: {
- name: "Composite",
- className: "JsonField"
- }
- },
- eventType: {
- serializedName: "properties.eventType",
- type: {
- name: "Composite",
- className: "JsonFieldWithDefault"
- }
- },
- subject: {
- serializedName: "properties.subject",
- type: {
- name: "Composite",
- className: "JsonFieldWithDefault"
- }
},
- dataVersion: {
- serializedName: "properties.dataVersion",
- type: {
- name: "Composite",
- className: "JsonFieldWithDefault"
- }
- }
- }
- }
-};
-
-export const TrackedResource: msRest.CompositeMapper = {
- serializedName: "TrackedResource",
- type: {
- name: "Composite",
- className: "TrackedResource",
- modelProperties: {
- ...Resource.type.modelProperties,
- location: {
- required: true,
- serializedName: "location",
+ clientId: {
+ serializedName: "clientId",
type: {
name: "String"
}
- },
- tags: {
- serializedName: "tags",
- type: {
- name: "Dictionary",
- value: {
- type: {
- name: "String"
- }
- }
- }
}
}
}
};
-export const SystemData: msRest.CompositeMapper = {
- serializedName: "systemData",
+export const SystemData: coreClient.CompositeMapper = {
type: {
name: "Composite",
className: "SystemData",
@@ -420,70 +240,40 @@ export const SystemData: msRest.CompositeMapper = {
}
};
-export const Domain: msRest.CompositeMapper = {
- serializedName: "Domain",
+export const DomainUpdateParameters: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "Domain",
+ className: "DomainUpdateParameters",
modelProperties: {
- ...TrackedResource.type.modelProperties,
- privateEndpointConnections: {
- readOnly: true,
- serializedName: "properties.privateEndpointConnections",
+ tags: {
+ serializedName: "tags",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "PrivateEndpointConnection"
- }
- }
+ name: "Dictionary",
+ value: { type: { name: "String" } }
}
},
- provisioningState: {
- readOnly: true,
- serializedName: "properties.provisioningState",
+ identity: {
+ serializedName: "identity",
type: {
- name: "String"
+ name: "Composite",
+ className: "IdentityInfo"
}
},
- endpoint: {
- readOnly: true,
- serializedName: "properties.endpoint",
+ sku: {
+ serializedName: "sku",
type: {
- name: "String"
+ name: "Composite",
+ className: "ResourceSku"
}
},
- inputSchema: {
- serializedName: "properties.inputSchema",
- defaultValue: 'EventGridSchema',
+ publicNetworkAccess: {
+ serializedName: "properties.publicNetworkAccess",
type: {
name: "String"
}
},
- inputSchemaMapping: {
- serializedName: "properties.inputSchemaMapping",
- type: {
- name: "Composite",
- className: "InputSchemaMapping"
- }
- },
- metricResourceId: {
- readOnly: true,
- serializedName: "properties.metricResourceId",
- type: {
- name: "String"
- }
- },
- publicNetworkAccess: {
- serializedName: "properties.publicNetworkAccess",
- defaultValue: 'Enabled',
- type: {
- name: "String"
- }
- },
- inboundIpRules: {
- serializedName: "properties.inboundIpRules",
+ inboundIpRules: {
+ serializedName: "properties.inboundIpRules",
type: {
name: "Sequence",
element: {
@@ -496,124 +286,54 @@ export const Domain: msRest.CompositeMapper = {
},
disableLocalAuth: {
serializedName: "properties.disableLocalAuth",
- defaultValue: false,
type: {
name: "Boolean"
}
},
autoCreateTopicWithFirstSubscription: {
serializedName: "properties.autoCreateTopicWithFirstSubscription",
- defaultValue: true,
type: {
name: "Boolean"
}
},
autoDeleteTopicWithLastSubscription: {
serializedName: "properties.autoDeleteTopicWithLastSubscription",
- defaultValue: true,
type: {
name: "Boolean"
}
- },
- sku: {
- serializedName: "sku",
- type: {
- name: "Composite",
- className: "ResourceSku"
- }
- },
- identity: {
- serializedName: "identity",
- type: {
- name: "Composite",
- className: "IdentityInfo"
- }
- },
- systemData: {
- readOnly: true,
- serializedName: "systemData",
- type: {
- name: "Composite",
- className: "SystemData"
- }
}
}
}
};
-export const DomainUpdateParameters: msRest.CompositeMapper = {
- serializedName: "DomainUpdateParameters",
+export const DomainsListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "DomainUpdateParameters",
+ className: "DomainsListResult",
modelProperties: {
- tags: {
- serializedName: "tags",
- type: {
- name: "Dictionary",
- value: {
- type: {
- name: "String"
- }
- }
- }
- },
- publicNetworkAccess: {
- serializedName: "properties.publicNetworkAccess",
- type: {
- name: "String"
- }
- },
- inboundIpRules: {
- serializedName: "properties.inboundIpRules",
+ value: {
+ serializedName: "value",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "InboundIpRule"
+ className: "Domain"
}
}
}
},
- disableLocalAuth: {
- serializedName: "properties.disableLocalAuth",
- type: {
- name: "Boolean"
- }
- },
- autoCreateTopicWithFirstSubscription: {
- serializedName: "properties.autoCreateTopicWithFirstSubscription",
- type: {
- name: "Boolean"
- }
- },
- autoDeleteTopicWithLastSubscription: {
- serializedName: "properties.autoDeleteTopicWithLastSubscription",
- type: {
- name: "Boolean"
- }
- },
- identity: {
- serializedName: "identity",
- type: {
- name: "Composite",
- className: "IdentityInfo"
- }
- },
- sku: {
- serializedName: "sku",
+ nextLink: {
+ serializedName: "nextLink",
type: {
- name: "Composite",
- className: "ResourceSku"
+ name: "String"
}
}
}
}
};
-export const DomainSharedAccessKeys: msRest.CompositeMapper = {
- serializedName: "DomainSharedAccessKeys",
+export const DomainSharedAccessKeys: coreClient.CompositeMapper = {
type: {
name: "Composite",
className: "DomainSharedAccessKeys",
@@ -634,15 +354,14 @@ export const DomainSharedAccessKeys: msRest.CompositeMapper = {
}
};
-export const DomainRegenerateKeyRequest: msRest.CompositeMapper = {
- serializedName: "DomainRegenerateKeyRequest",
+export const DomainRegenerateKeyRequest: coreClient.CompositeMapper = {
type: {
name: "Composite",
className: "DomainRegenerateKeyRequest",
modelProperties: {
keyName: {
- required: true,
serializedName: "keyName",
+ required: true,
type: {
name: "String"
}
@@ -651,34 +370,34 @@ export const DomainRegenerateKeyRequest: msRest.CompositeMapper = {
}
};
-export const DomainTopic: msRest.CompositeMapper = {
- serializedName: "DomainTopic",
+export const DomainTopicsListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "DomainTopic",
+ className: "DomainTopicsListResult",
modelProperties: {
- ...Resource.type.modelProperties,
- provisioningState: {
- readOnly: true,
- serializedName: "properties.provisioningState",
+ value: {
+ serializedName: "value",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "DomainTopic"
+ }
+ }
}
},
- systemData: {
- readOnly: true,
- serializedName: "systemData",
+ nextLink: {
+ serializedName: "nextLink",
type: {
- name: "Composite",
- className: "SystemData"
+ name: "String"
}
}
}
}
};
-export const EventChannelSource: msRest.CompositeMapper = {
- serializedName: "EventChannelSource",
+export const EventChannelSource: coreClient.CompositeMapper = {
type: {
name: "Composite",
className: "EventChannelSource",
@@ -693,8 +412,7 @@ export const EventChannelSource: msRest.CompositeMapper = {
}
};
-export const EventChannelDestination: msRest.CompositeMapper = {
- serializedName: "EventChannelDestination",
+export const EventChannelDestination: coreClient.CompositeMapper = {
type: {
name: "Composite",
className: "EventChannelDestination",
@@ -721,43 +439,14 @@ export const EventChannelDestination: msRest.CompositeMapper = {
}
};
-export const AdvancedFilter: msRest.CompositeMapper = {
- serializedName: "AdvancedFilter",
- type: {
- name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "operatorType",
- clientName: "operatorType"
- },
- uberParent: "AdvancedFilter",
- className: "AdvancedFilter",
- modelProperties: {
- key: {
- serializedName: "key",
- type: {
- name: "String"
- }
- },
- operatorType: {
- required: true,
- serializedName: "operatorType",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const EventChannelFilter: msRest.CompositeMapper = {
- serializedName: "EventChannelFilter",
+export const EventChannelFilter: coreClient.CompositeMapper = {
type: {
name: "Composite",
className: "EventChannelFilter",
modelProperties: {
enableAdvancedFilteringOnArrays: {
- serializedName: "enableAdvancedFilteringOnArrays",
defaultValue: false,
+ serializedName: "enableAdvancedFilteringOnArrays",
type: {
name: "Boolean"
}
@@ -778,208 +467,277 @@ export const EventChannelFilter: msRest.CompositeMapper = {
}
};
-export const NumberInAdvancedFilter: msRest.CompositeMapper = {
- serializedName: "NumberIn",
+export const AdvancedFilter: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
+ className: "AdvancedFilter",
uberParent: "AdvancedFilter",
- className: "NumberInAdvancedFilter",
+ polymorphicDiscriminator: {
+ serializedName: "operatorType",
+ clientName: "operatorType"
+ },
modelProperties: {
- ...AdvancedFilter.type.modelProperties,
- values: {
- serializedName: "values",
+ operatorType: {
+ serializedName: "operatorType",
+ required: true,
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Number"
- }
- }
+ name: "String"
+ }
+ },
+ key: {
+ serializedName: "key",
+ type: {
+ name: "String"
}
}
}
}
};
-export const NumberNotInAdvancedFilter: msRest.CompositeMapper = {
- serializedName: "NumberNotIn",
+export const EventChannelsListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
- uberParent: "AdvancedFilter",
- className: "NumberNotInAdvancedFilter",
+ className: "EventChannelsListResult",
modelProperties: {
- ...AdvancedFilter.type.modelProperties,
- values: {
- serializedName: "values",
+ value: {
+ serializedName: "value",
type: {
name: "Sequence",
element: {
type: {
- name: "Number"
+ name: "Composite",
+ className: "EventChannel"
}
}
}
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
}
}
}
};
-export const NumberLessThanAdvancedFilter: msRest.CompositeMapper = {
- serializedName: "NumberLessThan",
+export const EventSubscriptionDestination: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
- uberParent: "AdvancedFilter",
- className: "NumberLessThanAdvancedFilter",
+ className: "EventSubscriptionDestination",
+ uberParent: "EventSubscriptionDestination",
+ polymorphicDiscriminator: {
+ serializedName: "endpointType",
+ clientName: "endpointType"
+ },
modelProperties: {
- ...AdvancedFilter.type.modelProperties,
- value: {
- serializedName: "value",
+ endpointType: {
+ serializedName: "endpointType",
+ required: true,
type: {
- name: "Number"
+ name: "String"
}
}
}
}
};
-export const NumberGreaterThanAdvancedFilter: msRest.CompositeMapper = {
- serializedName: "NumberGreaterThan",
+export const DeliveryWithResourceIdentity: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
- uberParent: "AdvancedFilter",
- className: "NumberGreaterThanAdvancedFilter",
+ className: "DeliveryWithResourceIdentity",
modelProperties: {
- ...AdvancedFilter.type.modelProperties,
- value: {
- serializedName: "value",
+ identity: {
+ serializedName: "identity",
type: {
- name: "Number"
+ name: "Composite",
+ className: "EventSubscriptionIdentity"
+ }
+ },
+ destination: {
+ serializedName: "destination",
+ type: {
+ name: "Composite",
+ className: "EventSubscriptionDestination"
}
}
}
}
};
-export const NumberLessThanOrEqualsAdvancedFilter: msRest.CompositeMapper = {
- serializedName: "NumberLessThanOrEquals",
+export const EventSubscriptionIdentity: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
- uberParent: "AdvancedFilter",
- className: "NumberLessThanOrEqualsAdvancedFilter",
+ className: "EventSubscriptionIdentity",
modelProperties: {
- ...AdvancedFilter.type.modelProperties,
- value: {
- serializedName: "value",
+ type: {
+ serializedName: "type",
type: {
- name: "Number"
+ name: "String"
+ }
+ },
+ userAssignedIdentity: {
+ serializedName: "userAssignedIdentity",
+ type: {
+ name: "String"
}
}
}
}
};
-export const NumberGreaterThanOrEqualsAdvancedFilter: msRest.CompositeMapper = {
- serializedName: "NumberGreaterThanOrEquals",
+export const EventSubscriptionFilter: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
- uberParent: "AdvancedFilter",
- className: "NumberGreaterThanOrEqualsAdvancedFilter",
+ className: "EventSubscriptionFilter",
modelProperties: {
- ...AdvancedFilter.type.modelProperties,
- value: {
- serializedName: "value",
+ subjectBeginsWith: {
+ serializedName: "subjectBeginsWith",
type: {
- name: "Number"
+ name: "String"
+ }
+ },
+ subjectEndsWith: {
+ serializedName: "subjectEndsWith",
+ type: {
+ name: "String"
+ }
+ },
+ includedEventTypes: {
+ serializedName: "includedEventTypes",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ isSubjectCaseSensitive: {
+ defaultValue: false,
+ serializedName: "isSubjectCaseSensitive",
+ type: {
+ name: "Boolean"
+ }
+ },
+ enableAdvancedFilteringOnArrays: {
+ serializedName: "enableAdvancedFilteringOnArrays",
+ type: {
+ name: "Boolean"
+ }
+ },
+ advancedFilters: {
+ serializedName: "advancedFilters",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "AdvancedFilter"
+ }
+ }
}
}
}
}
};
-export const BoolEqualsAdvancedFilter: msRest.CompositeMapper = {
- serializedName: "BoolEquals",
+export const RetryPolicy: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
- uberParent: "AdvancedFilter",
- className: "BoolEqualsAdvancedFilter",
+ className: "RetryPolicy",
modelProperties: {
- ...AdvancedFilter.type.modelProperties,
- value: {
- serializedName: "value",
+ maxDeliveryAttempts: {
+ defaultValue: 30,
+ serializedName: "maxDeliveryAttempts",
type: {
- name: "Boolean"
+ name: "Number"
+ }
+ },
+ eventTimeToLiveInMinutes: {
+ defaultValue: 1440,
+ serializedName: "eventTimeToLiveInMinutes",
+ type: {
+ name: "Number"
}
}
}
}
};
-export const StringInAdvancedFilter: msRest.CompositeMapper = {
- serializedName: "StringIn",
+export const DeadLetterDestination: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
- uberParent: "AdvancedFilter",
- className: "StringInAdvancedFilter",
+ className: "DeadLetterDestination",
+ uberParent: "DeadLetterDestination",
+ polymorphicDiscriminator: {
+ serializedName: "endpointType",
+ clientName: "endpointType"
+ },
modelProperties: {
- ...AdvancedFilter.type.modelProperties,
- values: {
- serializedName: "values",
+ endpointType: {
+ serializedName: "endpointType",
+ required: true,
type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
+ name: "String"
}
}
}
}
};
-export const StringNotInAdvancedFilter: msRest.CompositeMapper = {
- serializedName: "StringNotIn",
+export const DeadLetterWithResourceIdentity: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
- uberParent: "AdvancedFilter",
- className: "StringNotInAdvancedFilter",
+ className: "DeadLetterWithResourceIdentity",
modelProperties: {
- ...AdvancedFilter.type.modelProperties,
- values: {
- serializedName: "values",
+ identity: {
+ serializedName: "identity",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
+ name: "Composite",
+ className: "EventSubscriptionIdentity"
+ }
+ },
+ deadLetterDestination: {
+ serializedName: "deadLetterDestination",
+ type: {
+ name: "Composite",
+ className: "DeadLetterDestination"
}
}
}
}
};
-export const StringBeginsWithAdvancedFilter: msRest.CompositeMapper = {
- serializedName: "StringBeginsWith",
+export const EventSubscriptionUpdateParameters: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
- uberParent: "AdvancedFilter",
- className: "StringBeginsWithAdvancedFilter",
+ className: "EventSubscriptionUpdateParameters",
modelProperties: {
- ...AdvancedFilter.type.modelProperties,
- values: {
- serializedName: "values",
+ destination: {
+ serializedName: "destination",
+ type: {
+ name: "Composite",
+ className: "EventSubscriptionDestination"
+ }
+ },
+ deliveryWithResourceIdentity: {
+ serializedName: "deliveryWithResourceIdentity",
+ type: {
+ name: "Composite",
+ className: "DeliveryWithResourceIdentity"
+ }
+ },
+ filter: {
+ serializedName: "filter",
+ type: {
+ name: "Composite",
+ className: "EventSubscriptionFilter"
+ }
+ },
+ labels: {
+ serializedName: "labels",
type: {
name: "Sequence",
element: {
@@ -988,80 +746,99 @@ export const StringBeginsWithAdvancedFilter: msRest.CompositeMapper = {
}
}
}
+ },
+ expirationTimeUtc: {
+ serializedName: "expirationTimeUtc",
+ type: {
+ name: "DateTime"
+ }
+ },
+ eventDeliverySchema: {
+ serializedName: "eventDeliverySchema",
+ type: {
+ name: "String"
+ }
+ },
+ retryPolicy: {
+ serializedName: "retryPolicy",
+ type: {
+ name: "Composite",
+ className: "RetryPolicy"
+ }
+ },
+ deadLetterDestination: {
+ serializedName: "deadLetterDestination",
+ type: {
+ name: "Composite",
+ className: "DeadLetterDestination"
+ }
+ },
+ deadLetterWithResourceIdentity: {
+ serializedName: "deadLetterWithResourceIdentity",
+ type: {
+ name: "Composite",
+ className: "DeadLetterWithResourceIdentity"
+ }
}
}
}
};
-export const StringEndsWithAdvancedFilter: msRest.CompositeMapper = {
- serializedName: "StringEndsWith",
+export const EventSubscriptionFullUrl: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
- uberParent: "AdvancedFilter",
- className: "StringEndsWithAdvancedFilter",
+ className: "EventSubscriptionFullUrl",
modelProperties: {
- ...AdvancedFilter.type.modelProperties,
- values: {
- serializedName: "values",
+ endpointUrl: {
+ serializedName: "endpointUrl",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
+ name: "String"
}
}
}
}
};
-export const StringContainsAdvancedFilter: msRest.CompositeMapper = {
- serializedName: "StringContains",
+export const EventSubscriptionsListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
- uberParent: "AdvancedFilter",
- className: "StringContainsAdvancedFilter",
+ className: "EventSubscriptionsListResult",
modelProperties: {
- ...AdvancedFilter.type.modelProperties,
- values: {
- serializedName: "values",
+ value: {
+ serializedName: "value",
type: {
name: "Sequence",
element: {
type: {
- name: "String"
+ name: "Composite",
+ className: "EventSubscription"
}
}
}
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
}
}
}
};
-export const NumberInRangeAdvancedFilter: msRest.CompositeMapper = {
- serializedName: "NumberInRange",
+export const DeliveryAttributeListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
- uberParent: "AdvancedFilter",
- className: "NumberInRangeAdvancedFilter",
+ className: "DeliveryAttributeListResult",
modelProperties: {
- ...AdvancedFilter.type.modelProperties,
- values: {
- serializedName: "values",
+ value: {
+ serializedName: "value",
type: {
name: "Sequence",
element: {
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Number"
- }
- }
+ name: "Composite",
+ className: "DeliveryAttributeMapping"
}
}
}
@@ -1070,75 +847,46 @@ export const NumberInRangeAdvancedFilter: msRest.CompositeMapper = {
}
};
-export const NumberNotInRangeAdvancedFilter: msRest.CompositeMapper = {
- serializedName: "NumberNotInRange",
+export const DeliveryAttributeMapping: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
- uberParent: "AdvancedFilter",
- className: "NumberNotInRangeAdvancedFilter",
+ className: "DeliveryAttributeMapping",
+ uberParent: "DeliveryAttributeMapping",
+ polymorphicDiscriminator: {
+ serializedName: "type",
+ clientName: "type"
+ },
modelProperties: {
- ...AdvancedFilter.type.modelProperties,
- values: {
- serializedName: "values",
+ name: {
+ serializedName: "name",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Number"
- }
- }
- }
- }
+ name: "String"
}
- }
- }
- }
-};
-
-export const StringNotBeginsWithAdvancedFilter: msRest.CompositeMapper = {
- serializedName: "StringNotBeginsWith",
- type: {
- name: "Composite",
- polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
- uberParent: "AdvancedFilter",
- className: "StringNotBeginsWithAdvancedFilter",
- modelProperties: {
- ...AdvancedFilter.type.modelProperties,
- values: {
- serializedName: "values",
+ },
+ type: {
+ serializedName: "type",
+ required: true,
type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
+ name: "String"
}
}
}
}
};
-export const StringNotEndsWithAdvancedFilter: msRest.CompositeMapper = {
- serializedName: "StringNotEndsWith",
+export const OperationsListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
- uberParent: "AdvancedFilter",
- className: "StringNotEndsWithAdvancedFilter",
+ className: "OperationsListResult",
modelProperties: {
- ...AdvancedFilter.type.modelProperties,
- values: {
- serializedName: "values",
+ value: {
+ serializedName: "value",
type: {
name: "Sequence",
element: {
type: {
- name: "String"
+ name: "Composite",
+ className: "Operation"
}
}
}
@@ -1147,136 +895,139 @@ export const StringNotEndsWithAdvancedFilter: msRest.CompositeMapper = {
}
};
-export const StringNotContainsAdvancedFilter: msRest.CompositeMapper = {
- serializedName: "StringNotContains",
+export const Operation: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
- uberParent: "AdvancedFilter",
- className: "StringNotContainsAdvancedFilter",
+ className: "Operation",
modelProperties: {
- ...AdvancedFilter.type.modelProperties,
- values: {
- serializedName: "values",
+ name: {
+ serializedName: "name",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
+ name: "String"
+ }
+ },
+ display: {
+ serializedName: "display",
+ type: {
+ name: "Composite",
+ className: "OperationInfo"
+ }
+ },
+ origin: {
+ serializedName: "origin",
+ type: {
+ name: "String"
+ }
+ },
+ isDataAction: {
+ serializedName: "isDataAction",
+ type: {
+ name: "Boolean"
+ }
+ },
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Dictionary",
+ value: { type: { name: "any" } }
}
}
}
}
};
-export const IsNullOrUndefinedAdvancedFilter: msRest.CompositeMapper = {
- serializedName: "IsNullOrUndefined",
- type: {
- name: "Composite",
- polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
- uberParent: "AdvancedFilter",
- className: "IsNullOrUndefinedAdvancedFilter",
- modelProperties: {
- ...AdvancedFilter.type.modelProperties
- }
- }
-};
-
-export const IsNotNullAdvancedFilter: msRest.CompositeMapper = {
- serializedName: "IsNotNull",
- type: {
- name: "Composite",
- polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
- uberParent: "AdvancedFilter",
- className: "IsNotNullAdvancedFilter",
- modelProperties: {
- ...AdvancedFilter.type.modelProperties
- }
- }
-};
-
-export const EventChannel: msRest.CompositeMapper = {
- serializedName: "EventChannel",
+export const OperationInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "EventChannel",
+ className: "OperationInfo",
modelProperties: {
- ...Resource.type.modelProperties,
- source: {
- serializedName: "properties.source",
+ provider: {
+ serializedName: "provider",
type: {
- name: "Composite",
- className: "EventChannelSource"
+ name: "String"
}
},
- destination: {
- serializedName: "properties.destination",
+ resource: {
+ serializedName: "resource",
type: {
- name: "Composite",
- className: "EventChannelDestination"
+ name: "String"
}
},
- provisioningState: {
- readOnly: true,
- serializedName: "properties.provisioningState",
+ operation: {
+ serializedName: "operation",
type: {
name: "String"
}
},
- partnerTopicReadinessState: {
- readOnly: true,
- serializedName: "properties.partnerTopicReadinessState",
+ description: {
+ serializedName: "description",
type: {
name: "String"
}
- },
- expirationTimeIfNotActivatedUtc: {
- serializedName: "properties.expirationTimeIfNotActivatedUtc",
+ }
+ }
+ }
+};
+
+export const PartnerNamespaceUpdateParameters: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "PartnerNamespaceUpdateParameters",
+ modelProperties: {
+ tags: {
+ serializedName: "tags",
type: {
- name: "DateTime"
+ name: "Dictionary",
+ value: { type: { name: "String" } }
}
},
- filter: {
- serializedName: "properties.filter",
+ publicNetworkAccess: {
+ serializedName: "properties.publicNetworkAccess",
type: {
- name: "Composite",
- className: "EventChannelFilter"
+ name: "String"
}
},
- partnerTopicFriendlyDescription: {
- serializedName: "properties.partnerTopicFriendlyDescription",
+ inboundIpRules: {
+ serializedName: "properties.inboundIpRules",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "InboundIpRule"
+ }
+ }
}
},
- systemData: {
- readOnly: true,
- serializedName: "systemData",
+ disableLocalAuth: {
+ serializedName: "properties.disableLocalAuth",
type: {
- name: "Composite",
- className: "SystemData"
+ name: "Boolean"
}
}
}
}
};
-export const EventSubscriptionDestination: msRest.CompositeMapper = {
- serializedName: "EventSubscriptionDestination",
+export const PartnerNamespacesListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "endpointType",
- clientName: "endpointType"
- },
- uberParent: "EventSubscriptionDestination",
- className: "EventSubscriptionDestination",
+ className: "PartnerNamespacesListResult",
modelProperties: {
- endpointType: {
- required: true,
- serializedName: "endpointType",
+ value: {
+ serializedName: "value",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "PartnerNamespace"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
type: {
name: "String"
}
@@ -1285,20 +1036,19 @@ export const EventSubscriptionDestination: msRest.CompositeMapper = {
}
};
-export const EventSubscriptionIdentity: msRest.CompositeMapper = {
- serializedName: "EventSubscriptionIdentity",
+export const PartnerNamespaceSharedAccessKeys: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "EventSubscriptionIdentity",
+ className: "PartnerNamespaceSharedAccessKeys",
modelProperties: {
- type: {
- serializedName: "type",
+ key1: {
+ serializedName: "key1",
type: {
name: "String"
}
},
- userAssignedIdentity: {
- serializedName: "userAssignedIdentity",
+ key2: {
+ serializedName: "key2",
type: {
name: "String"
}
@@ -1307,80 +1057,71 @@ export const EventSubscriptionIdentity: msRest.CompositeMapper = {
}
};
-export const DeliveryWithResourceIdentity: msRest.CompositeMapper = {
- serializedName: "DeliveryWithResourceIdentity",
+export const PartnerNamespaceRegenerateKeyRequest: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "DeliveryWithResourceIdentity",
+ className: "PartnerNamespaceRegenerateKeyRequest",
modelProperties: {
- identity: {
- serializedName: "identity",
- type: {
- name: "Composite",
- className: "EventSubscriptionIdentity"
- }
- },
- destination: {
- serializedName: "destination",
+ keyName: {
+ serializedName: "keyName",
+ required: true,
type: {
- name: "Composite",
- className: "EventSubscriptionDestination"
+ name: "String"
}
}
}
}
};
-export const EventSubscriptionFilter: msRest.CompositeMapper = {
- serializedName: "EventSubscriptionFilter",
+export const PartnerRegistrationUpdateParameters: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "EventSubscriptionFilter",
+ className: "PartnerRegistrationUpdateParameters",
modelProperties: {
- subjectBeginsWith: {
- serializedName: "subjectBeginsWith",
+ tags: {
+ serializedName: "tags",
+ type: {
+ name: "Dictionary",
+ value: { type: { name: "String" } }
+ }
+ },
+ partnerTopicTypeName: {
+ serializedName: "partnerTopicTypeName",
type: {
name: "String"
}
},
- subjectEndsWith: {
- serializedName: "subjectEndsWith",
+ partnerTopicTypeDisplayName: {
+ serializedName: "partnerTopicTypeDisplayName",
type: {
name: "String"
}
},
- includedEventTypes: {
- serializedName: "includedEventTypes",
+ partnerTopicTypeDescription: {
+ serializedName: "partnerTopicTypeDescription",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
+ name: "String"
}
},
- isSubjectCaseSensitive: {
- serializedName: "isSubjectCaseSensitive",
- defaultValue: false,
+ setupUri: {
+ serializedName: "setupUri",
type: {
- name: "Boolean"
+ name: "String"
}
},
- enableAdvancedFilteringOnArrays: {
- serializedName: "enableAdvancedFilteringOnArrays",
+ logoUri: {
+ serializedName: "logoUri",
type: {
- name: "Boolean"
+ name: "String"
}
},
- advancedFilters: {
- serializedName: "advancedFilters",
+ authorizedAzureSubscriptionIds: {
+ serializedName: "authorizedAzureSubscriptionIds",
type: {
name: "Sequence",
element: {
type: {
- name: "Composite",
- className: "AdvancedFilter"
+ name: "String"
}
}
}
@@ -1389,44 +1130,25 @@ export const EventSubscriptionFilter: msRest.CompositeMapper = {
}
};
-export const RetryPolicy: msRest.CompositeMapper = {
- serializedName: "RetryPolicy",
+export const PartnerRegistrationsListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "RetryPolicy",
+ className: "PartnerRegistrationsListResult",
modelProperties: {
- maxDeliveryAttempts: {
- serializedName: "maxDeliveryAttempts",
- defaultValue: 30,
+ value: {
+ serializedName: "value",
type: {
- name: "Number"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "PartnerRegistration"
+ }
+ }
}
},
- eventTimeToLiveInMinutes: {
- serializedName: "eventTimeToLiveInMinutes",
- defaultValue: 1440,
- type: {
- name: "Number"
- }
- }
- }
- }
-};
-
-export const DeadLetterDestination: msRest.CompositeMapper = {
- serializedName: "DeadLetterDestination",
- type: {
- name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "endpointType",
- clientName: "endpointType"
- },
- uberParent: "DeadLetterDestination",
- className: "DeadLetterDestination",
- modelProperties: {
- endpointType: {
- required: true,
- serializedName: "endpointType",
+ nextLink: {
+ serializedName: "nextLink",
type: {
name: "String"
}
@@ -1435,50 +1157,48 @@ export const DeadLetterDestination: msRest.CompositeMapper = {
}
};
-export const DeadLetterWithResourceIdentity: msRest.CompositeMapper = {
- serializedName: "DeadLetterWithResourceIdentity",
+export const PartnerTopicUpdateParameters: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "DeadLetterWithResourceIdentity",
+ className: "PartnerTopicUpdateParameters",
modelProperties: {
- identity: {
- serializedName: "identity",
+ tags: {
+ serializedName: "tags",
type: {
- name: "Composite",
- className: "EventSubscriptionIdentity"
+ name: "Dictionary",
+ value: { type: { name: "String" } }
}
},
- deadLetterDestination: {
- serializedName: "deadLetterDestination",
+ identity: {
+ serializedName: "identity",
type: {
name: "Composite",
- className: "DeadLetterDestination"
+ className: "IdentityInfo"
}
}
}
}
};
-export const DeliveryAttributeMapping: msRest.CompositeMapper = {
- serializedName: "DeliveryAttributeMapping",
+export const PartnerTopicsListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "type",
- clientName: "type"
- },
- uberParent: "DeliveryAttributeMapping",
- className: "DeliveryAttributeMapping",
+ className: "PartnerTopicsListResult",
modelProperties: {
- name: {
- serializedName: "name",
+ value: {
+ serializedName: "value",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "PartnerTopic"
+ }
+ }
}
},
- type: {
- required: true,
- serializedName: "type",
+ nextLink: {
+ serializedName: "nextLink",
type: {
name: "String"
}
@@ -1487,42 +1207,25 @@ export const DeliveryAttributeMapping: msRest.CompositeMapper = {
}
};
-export const StaticDeliveryAttributeMapping: msRest.CompositeMapper = {
- serializedName: "Static",
+export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: DeliveryAttributeMapping.type.polymorphicDiscriminator,
- uberParent: "DeliveryAttributeMapping",
- className: "StaticDeliveryAttributeMapping",
+ className: "PrivateEndpointConnectionListResult",
modelProperties: {
- ...DeliveryAttributeMapping.type.modelProperties,
value: {
- serializedName: "properties.value",
+ serializedName: "value",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "PrivateEndpointConnection"
+ }
+ }
}
},
- isSecret: {
- serializedName: "properties.isSecret",
- type: {
- name: "Boolean"
- }
- }
- }
- }
-};
-
-export const DynamicDeliveryAttributeMapping: msRest.CompositeMapper = {
- serializedName: "Dynamic",
- type: {
- name: "Composite",
- polymorphicDiscriminator: DeliveryAttributeMapping.type.polymorphicDiscriminator,
- uberParent: "DeliveryAttributeMapping",
- className: "DynamicDeliveryAttributeMapping",
- modelProperties: {
- ...DeliveryAttributeMapping.type.modelProperties,
- sourceField: {
- serializedName: "properties.sourceField",
+ nextLink: {
+ serializedName: "nextLink",
type: {
name: "String"
}
@@ -1531,87 +1234,59 @@ export const DynamicDeliveryAttributeMapping: msRest.CompositeMapper = {
}
};
-export const StorageBlobDeadLetterDestination: msRest.CompositeMapper = {
- serializedName: "StorageBlob",
+export const PrivateLinkResource: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: DeadLetterDestination.type.polymorphicDiscriminator,
- uberParent: "DeadLetterDestination",
- className: "StorageBlobDeadLetterDestination",
+ className: "PrivateLinkResource",
modelProperties: {
- ...DeadLetterDestination.type.modelProperties,
- resourceId: {
- serializedName: "properties.resourceId",
+ id: {
+ serializedName: "id",
type: {
name: "String"
}
},
- blobContainerName: {
- serializedName: "properties.blobContainerName",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const WebHookEventSubscriptionDestination: msRest.CompositeMapper = {
- serializedName: "WebHook",
- type: {
- name: "Composite",
- polymorphicDiscriminator: EventSubscriptionDestination.type.polymorphicDiscriminator,
- uberParent: "EventSubscriptionDestination",
- className: "WebHookEventSubscriptionDestination",
- modelProperties: {
- ...EventSubscriptionDestination.type.modelProperties,
- endpointUrl: {
- serializedName: "properties.endpointUrl",
+ name: {
+ serializedName: "name",
type: {
name: "String"
}
},
- endpointBaseUrl: {
- readOnly: true,
- serializedName: "properties.endpointBaseUrl",
+ type: {
+ serializedName: "type",
type: {
name: "String"
}
},
- maxEventsPerBatch: {
- serializedName: "properties.maxEventsPerBatch",
- defaultValue: 1,
- type: {
- name: "Number"
- }
- },
- preferredBatchSizeInKilobytes: {
- serializedName: "properties.preferredBatchSizeInKilobytes",
- defaultValue: 64,
+ groupId: {
+ serializedName: "properties.groupId",
type: {
- name: "Number"
+ name: "String"
}
},
- azureActiveDirectoryTenantId: {
- serializedName: "properties.azureActiveDirectoryTenantId",
+ displayName: {
+ serializedName: "properties.displayName",
type: {
name: "String"
}
},
- azureActiveDirectoryApplicationIdOrUri: {
- serializedName: "properties.azureActiveDirectoryApplicationIdOrUri",
+ requiredMembers: {
+ serializedName: "properties.requiredMembers",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
}
},
- deliveryAttributeMappings: {
- serializedName: "properties.deliveryAttributeMappings",
+ requiredZoneNames: {
+ serializedName: "properties.requiredZoneNames",
type: {
name: "Sequence",
element: {
type: {
- name: "Composite",
- className: "DeliveryAttributeMapping"
+ name: "String"
}
}
}
@@ -1620,198 +1295,235 @@ export const WebHookEventSubscriptionDestination: msRest.CompositeMapper = {
}
};
-export const EventHubEventSubscriptionDestination: msRest.CompositeMapper = {
- serializedName: "EventHub",
+export const PrivateLinkResourcesListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: EventSubscriptionDestination.type.polymorphicDiscriminator,
- uberParent: "EventSubscriptionDestination",
- className: "EventHubEventSubscriptionDestination",
+ className: "PrivateLinkResourcesListResult",
modelProperties: {
- ...EventSubscriptionDestination.type.modelProperties,
- resourceId: {
- serializedName: "properties.resourceId",
- type: {
- name: "String"
- }
- },
- deliveryAttributeMappings: {
- serializedName: "properties.deliveryAttributeMappings",
+ value: {
+ serializedName: "value",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "DeliveryAttributeMapping"
+ className: "PrivateLinkResource"
}
}
}
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
}
}
}
};
-export const StorageQueueEventSubscriptionDestination: msRest.CompositeMapper = {
- serializedName: "StorageQueue",
+export const SystemTopicUpdateParameters: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: EventSubscriptionDestination.type.polymorphicDiscriminator,
- uberParent: "EventSubscriptionDestination",
- className: "StorageQueueEventSubscriptionDestination",
+ className: "SystemTopicUpdateParameters",
modelProperties: {
- ...EventSubscriptionDestination.type.modelProperties,
- resourceId: {
- serializedName: "properties.resourceId",
+ tags: {
+ serializedName: "tags",
type: {
- name: "String"
+ name: "Dictionary",
+ value: { type: { name: "String" } }
}
},
- queueName: {
- serializedName: "properties.queueName",
+ identity: {
+ serializedName: "identity",
type: {
- name: "String"
- }
- },
- queueMessageTimeToLiveInSeconds: {
- serializedName: "properties.queueMessageTimeToLiveInSeconds",
- type: {
- name: "Number"
+ name: "Composite",
+ className: "IdentityInfo"
}
}
}
}
};
-export const HybridConnectionEventSubscriptionDestination: msRest.CompositeMapper = {
- serializedName: "HybridConnection",
+export const SystemTopicsListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: EventSubscriptionDestination.type.polymorphicDiscriminator,
- uberParent: "EventSubscriptionDestination",
- className: "HybridConnectionEventSubscriptionDestination",
+ className: "SystemTopicsListResult",
modelProperties: {
- ...EventSubscriptionDestination.type.modelProperties,
- resourceId: {
- serializedName: "properties.resourceId",
- type: {
- name: "String"
- }
- },
- deliveryAttributeMappings: {
- serializedName: "properties.deliveryAttributeMappings",
+ value: {
+ serializedName: "value",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "DeliveryAttributeMapping"
+ className: "SystemTopic"
}
}
}
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
}
}
}
};
-export const ServiceBusQueueEventSubscriptionDestination: msRest.CompositeMapper = {
- serializedName: "ServiceBusQueue",
+export const ExtendedLocation: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: EventSubscriptionDestination.type.polymorphicDiscriminator,
- uberParent: "EventSubscriptionDestination",
- className: "ServiceBusQueueEventSubscriptionDestination",
+ className: "ExtendedLocation",
modelProperties: {
- ...EventSubscriptionDestination.type.modelProperties,
- resourceId: {
- serializedName: "properties.resourceId",
+ name: {
+ serializedName: "name",
type: {
name: "String"
}
},
- deliveryAttributeMappings: {
- serializedName: "properties.deliveryAttributeMappings",
+ type: {
+ serializedName: "type",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const TopicUpdateParameters: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "TopicUpdateParameters",
+ modelProperties: {
+ tags: {
+ serializedName: "tags",
+ type: {
+ name: "Dictionary",
+ value: { type: { name: "String" } }
+ }
+ },
+ identity: {
+ serializedName: "identity",
+ type: {
+ name: "Composite",
+ className: "IdentityInfo"
+ }
+ },
+ sku: {
+ serializedName: "sku",
+ type: {
+ name: "Composite",
+ className: "ResourceSku"
+ }
+ },
+ publicNetworkAccess: {
+ serializedName: "properties.publicNetworkAccess",
+ type: {
+ name: "String"
+ }
+ },
+ inboundIpRules: {
+ serializedName: "properties.inboundIpRules",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "DeliveryAttributeMapping"
+ className: "InboundIpRule"
}
}
}
+ },
+ disableLocalAuth: {
+ serializedName: "properties.disableLocalAuth",
+ type: {
+ name: "Boolean"
+ }
}
}
}
};
-export const ServiceBusTopicEventSubscriptionDestination: msRest.CompositeMapper = {
- serializedName: "ServiceBusTopic",
+export const TopicsListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: EventSubscriptionDestination.type.polymorphicDiscriminator,
- uberParent: "EventSubscriptionDestination",
- className: "ServiceBusTopicEventSubscriptionDestination",
+ className: "TopicsListResult",
modelProperties: {
- ...EventSubscriptionDestination.type.modelProperties,
- resourceId: {
- serializedName: "properties.resourceId",
- type: {
- name: "String"
- }
- },
- deliveryAttributeMappings: {
- serializedName: "properties.deliveryAttributeMappings",
+ value: {
+ serializedName: "value",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "DeliveryAttributeMapping"
+ className: "Topic"
}
}
}
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
}
}
}
};
-export const AzureFunctionEventSubscriptionDestination: msRest.CompositeMapper = {
- serializedName: "AzureFunction",
+export const TopicSharedAccessKeys: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: EventSubscriptionDestination.type.polymorphicDiscriminator,
- uberParent: "EventSubscriptionDestination",
- className: "AzureFunctionEventSubscriptionDestination",
+ className: "TopicSharedAccessKeys",
modelProperties: {
- ...EventSubscriptionDestination.type.modelProperties,
- resourceId: {
- serializedName: "properties.resourceId",
+ key1: {
+ serializedName: "key1",
type: {
name: "String"
}
},
- maxEventsPerBatch: {
- serializedName: "properties.maxEventsPerBatch",
- defaultValue: 1,
+ key2: {
+ serializedName: "key2",
type: {
- name: "Number"
+ name: "String"
}
- },
- preferredBatchSizeInKilobytes: {
- serializedName: "properties.preferredBatchSizeInKilobytes",
- defaultValue: 64,
+ }
+ }
+ }
+};
+
+export const TopicRegenerateKeyRequest: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "TopicRegenerateKeyRequest",
+ modelProperties: {
+ keyName: {
+ serializedName: "keyName",
+ required: true,
type: {
- name: "Number"
+ name: "String"
}
- },
- deliveryAttributeMappings: {
- serializedName: "properties.deliveryAttributeMappings",
+ }
+ }
+ }
+};
+
+export const EventTypesListResult: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "EventTypesListResult",
+ modelProperties: {
+ value: {
+ serializedName: "value",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "DeliveryAttributeMapping"
+ className: "EventType"
}
}
}
@@ -1820,50 +1532,102 @@ export const AzureFunctionEventSubscriptionDestination: msRest.CompositeMapper =
}
};
-export const EventSubscription: msRest.CompositeMapper = {
- serializedName: "EventSubscription",
+export const TopicTypesListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "EventSubscription",
+ className: "TopicTypesListResult",
modelProperties: {
- ...Resource.type.modelProperties,
- topic: {
- readOnly: true,
- serializedName: "properties.topic",
+ value: {
+ serializedName: "value",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "TopicTypeInfo"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const JsonField: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "JsonField",
+ modelProperties: {
+ sourceField: {
+ serializedName: "sourceField",
type: {
name: "String"
}
- },
- provisioningState: {
- readOnly: true,
- serializedName: "properties.provisioningState",
+ }
+ }
+ }
+};
+
+export const JsonFieldWithDefault: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "JsonFieldWithDefault",
+ modelProperties: {
+ sourceField: {
+ serializedName: "sourceField",
type: {
name: "String"
}
},
- destination: {
- serializedName: "properties.destination",
+ defaultValue: {
+ serializedName: "defaultValue",
type: {
- name: "Composite",
- className: "EventSubscriptionDestination"
+ name: "String"
}
- },
- deliveryWithResourceIdentity: {
- serializedName: "properties.deliveryWithResourceIdentity",
+ }
+ }
+ }
+};
+
+export const TrackedResource: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "TrackedResource",
+ modelProperties: {
+ ...Resource.type.modelProperties,
+ location: {
+ serializedName: "location",
+ required: true,
type: {
- name: "Composite",
- className: "DeliveryWithResourceIdentity"
+ name: "String"
}
},
- filter: {
- serializedName: "properties.filter",
+ tags: {
+ serializedName: "tags",
+ type: {
+ name: "Dictionary",
+ value: { type: { name: "String" } }
+ }
+ }
+ }
+ }
+};
+
+export const PrivateEndpointConnection: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "PrivateEndpointConnection",
+ modelProperties: {
+ ...Resource.type.modelProperties,
+ privateEndpoint: {
+ serializedName: "properties.privateEndpoint",
type: {
name: "Composite",
- className: "EventSubscriptionFilter"
+ className: "PrivateEndpoint"
}
},
- labels: {
- serializedName: "properties.labels",
+ groupIds: {
+ serializedName: "properties.groupIds",
type: {
name: "Sequence",
element: {
@@ -1873,81 +1637,161 @@ export const EventSubscription: msRest.CompositeMapper = {
}
}
},
- expirationTimeUtc: {
- serializedName: "properties.expirationTimeUtc",
- type: {
- name: "DateTime"
+ privateLinkServiceConnectionState: {
+ serializedName: "properties.privateLinkServiceConnectionState",
+ type: {
+ name: "Composite",
+ className: "ConnectionState"
}
},
- eventDeliverySchema: {
- serializedName: "properties.eventDeliverySchema",
- defaultValue: 'EventGridSchema',
+ provisioningState: {
+ serializedName: "properties.provisioningState",
type: {
name: "String"
}
+ }
+ }
+ }
+};
+
+export const DomainTopic: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "DomainTopic",
+ modelProperties: {
+ ...Resource.type.modelProperties,
+ systemData: {
+ serializedName: "systemData",
+ type: {
+ name: "Composite",
+ className: "SystemData"
+ }
},
- retryPolicy: {
- serializedName: "properties.retryPolicy",
+ provisioningState: {
+ serializedName: "properties.provisioningState",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const EventChannel: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "EventChannel",
+ modelProperties: {
+ ...Resource.type.modelProperties,
+ systemData: {
+ serializedName: "systemData",
type: {
name: "Composite",
- className: "RetryPolicy"
+ className: "SystemData"
}
},
- deadLetterDestination: {
- serializedName: "properties.deadLetterDestination",
+ source: {
+ serializedName: "properties.source",
type: {
name: "Composite",
- className: "DeadLetterDestination"
+ className: "EventChannelSource"
}
},
- deadLetterWithResourceIdentity: {
- serializedName: "properties.deadLetterWithResourceIdentity",
+ destination: {
+ serializedName: "properties.destination",
type: {
name: "Composite",
- className: "DeadLetterWithResourceIdentity"
+ className: "EventChannelDestination"
}
},
- systemData: {
+ provisioningState: {
+ serializedName: "properties.provisioningState",
readOnly: true,
- serializedName: "systemData",
+ type: {
+ name: "String"
+ }
+ },
+ partnerTopicReadinessState: {
+ serializedName: "properties.partnerTopicReadinessState",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ },
+ expirationTimeIfNotActivatedUtc: {
+ serializedName: "properties.expirationTimeIfNotActivatedUtc",
+ type: {
+ name: "DateTime"
+ }
+ },
+ filter: {
+ serializedName: "properties.filter",
type: {
name: "Composite",
- className: "SystemData"
+ className: "EventChannelFilter"
+ }
+ },
+ partnerTopicFriendlyDescription: {
+ serializedName: "properties.partnerTopicFriendlyDescription",
+ type: {
+ name: "String"
}
}
}
}
};
-export const EventSubscriptionUpdateParameters: msRest.CompositeMapper = {
- serializedName: "EventSubscriptionUpdateParameters",
+export const EventSubscription: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "EventSubscriptionUpdateParameters",
+ className: "EventSubscription",
modelProperties: {
+ ...Resource.type.modelProperties,
+ systemData: {
+ serializedName: "systemData",
+ type: {
+ name: "Composite",
+ className: "SystemData"
+ }
+ },
+ topic: {
+ serializedName: "properties.topic",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ },
+ provisioningState: {
+ serializedName: "properties.provisioningState",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ },
destination: {
- serializedName: "destination",
+ serializedName: "properties.destination",
type: {
name: "Composite",
className: "EventSubscriptionDestination"
}
},
deliveryWithResourceIdentity: {
- serializedName: "deliveryWithResourceIdentity",
+ serializedName: "properties.deliveryWithResourceIdentity",
type: {
name: "Composite",
className: "DeliveryWithResourceIdentity"
}
},
filter: {
- serializedName: "filter",
+ serializedName: "properties.filter",
type: {
name: "Composite",
className: "EventSubscriptionFilter"
}
},
labels: {
- serializedName: "labels",
+ serializedName: "properties.labels",
type: {
name: "Sequence",
element: {
@@ -1958,33 +1802,33 @@ export const EventSubscriptionUpdateParameters: msRest.CompositeMapper = {
}
},
expirationTimeUtc: {
- serializedName: "expirationTimeUtc",
+ serializedName: "properties.expirationTimeUtc",
type: {
name: "DateTime"
}
},
eventDeliverySchema: {
- serializedName: "eventDeliverySchema",
+ serializedName: "properties.eventDeliverySchema",
type: {
name: "String"
}
},
retryPolicy: {
- serializedName: "retryPolicy",
+ serializedName: "properties.retryPolicy",
type: {
name: "Composite",
className: "RetryPolicy"
}
},
deadLetterDestination: {
- serializedName: "deadLetterDestination",
+ serializedName: "properties.deadLetterDestination",
type: {
name: "Composite",
className: "DeadLetterDestination"
}
},
deadLetterWithResourceIdentity: {
- serializedName: "deadLetterWithResourceIdentity",
+ serializedName: "properties.deadLetterWithResourceIdentity",
type: {
name: "Composite",
className: "DeadLetterWithResourceIdentity"
@@ -1994,363 +1838,517 @@ export const EventSubscriptionUpdateParameters: msRest.CompositeMapper = {
}
};
-export const EventSubscriptionFullUrl: msRest.CompositeMapper = {
- serializedName: "EventSubscriptionFullUrl",
- type: {
- name: "Composite",
- className: "EventSubscriptionFullUrl",
- modelProperties: {
- endpointUrl: {
- serializedName: "endpointUrl",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const DeliveryAttributeListResult: msRest.CompositeMapper = {
- serializedName: "DeliveryAttributeListResult",
- type: {
- name: "Composite",
- className: "DeliveryAttributeListResult",
- modelProperties: {
- value: {
- serializedName: "value",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "DeliveryAttributeMapping"
- }
- }
- }
- }
- }
- }
-};
-
-export const OperationInfo: msRest.CompositeMapper = {
- serializedName: "OperationInfo",
+export const EventType: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "OperationInfo",
+ className: "EventType",
modelProperties: {
- provider: {
- serializedName: "provider",
+ ...Resource.type.modelProperties,
+ displayName: {
+ serializedName: "properties.displayName",
type: {
name: "String"
}
},
- resource: {
- serializedName: "resource",
+ description: {
+ serializedName: "properties.description",
type: {
name: "String"
}
},
- operation: {
- serializedName: "operation",
+ schemaUrl: {
+ serializedName: "properties.schemaUrl",
type: {
name: "String"
}
},
- description: {
- serializedName: "description",
+ isInDefaultSet: {
+ serializedName: "properties.isInDefaultSet",
type: {
- name: "String"
+ name: "Boolean"
}
}
}
}
};
-export const Operation: msRest.CompositeMapper = {
- serializedName: "Operation",
+export const ExtensionTopic: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "Operation",
+ className: "ExtensionTopic",
modelProperties: {
- name: {
- serializedName: "name",
+ ...Resource.type.modelProperties,
+ description: {
+ serializedName: "properties.description",
type: {
name: "String"
}
},
- display: {
- serializedName: "display",
- type: {
- name: "Composite",
- className: "OperationInfo"
- }
- },
- origin: {
- serializedName: "origin",
+ systemTopic: {
+ serializedName: "properties.systemTopic",
type: {
name: "String"
}
- },
- isDataAction: {
- serializedName: "isDataAction",
- type: {
- name: "Boolean"
- }
- },
- properties: {
- serializedName: "properties",
- type: {
- name: "Object"
- }
}
}
}
};
-export const PartnerNamespace: msRest.CompositeMapper = {
- serializedName: "PartnerNamespace",
+export const TopicTypeInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "PartnerNamespace",
+ className: "TopicTypeInfo",
modelProperties: {
- ...TrackedResource.type.modelProperties,
- privateEndpointConnections: {
- readOnly: true,
- serializedName: "properties.privateEndpointConnections",
+ ...Resource.type.modelProperties,
+ provider: {
+ serializedName: "properties.provider",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "PrivateEndpointConnection"
- }
- }
+ name: "String"
}
},
- provisioningState: {
- readOnly: true,
- serializedName: "properties.provisioningState",
+ displayName: {
+ serializedName: "properties.displayName",
type: {
name: "String"
}
},
- partnerRegistrationFullyQualifiedId: {
- serializedName: "properties.partnerRegistrationFullyQualifiedId",
+ description: {
+ serializedName: "properties.description",
type: {
name: "String"
}
},
- endpoint: {
- readOnly: true,
- serializedName: "properties.endpoint",
+ resourceRegionType: {
+ serializedName: "properties.resourceRegionType",
type: {
name: "String"
}
},
- publicNetworkAccess: {
- serializedName: "properties.publicNetworkAccess",
- defaultValue: 'Enabled',
+ provisioningState: {
+ serializedName: "properties.provisioningState",
type: {
name: "String"
}
},
- inboundIpRules: {
- serializedName: "properties.inboundIpRules",
+ supportedLocations: {
+ serializedName: "properties.supportedLocations",
type: {
name: "Sequence",
element: {
type: {
- name: "Composite",
- className: "InboundIpRule"
+ name: "String"
}
}
}
},
- disableLocalAuth: {
- serializedName: "properties.disableLocalAuth",
- defaultValue: false,
+ sourceResourceFormat: {
+ serializedName: "properties.sourceResourceFormat",
type: {
- name: "Boolean"
+ name: "String"
}
},
- systemData: {
- readOnly: true,
- serializedName: "systemData",
+ supportedScopesForSource: {
+ serializedName: "properties.supportedScopesForSource",
type: {
- name: "Composite",
- className: "SystemData"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
}
}
}
}
};
-export const PartnerNamespaceUpdateParameters: msRest.CompositeMapper = {
- serializedName: "PartnerNamespaceUpdateParameters",
+export const JsonInputSchemaMapping: coreClient.CompositeMapper = {
+ serializedName: "Json",
type: {
name: "Composite",
- className: "PartnerNamespaceUpdateParameters",
+ className: "JsonInputSchemaMapping",
+ uberParent: "InputSchemaMapping",
+ polymorphicDiscriminator: InputSchemaMapping.type.polymorphicDiscriminator,
modelProperties: {
- tags: {
- serializedName: "tags",
+ ...InputSchemaMapping.type.modelProperties,
+ id: {
+ serializedName: "properties.id",
type: {
- name: "Dictionary",
- value: {
- type: {
- name: "String"
- }
- }
+ name: "Composite",
+ className: "JsonField"
}
},
- publicNetworkAccess: {
- serializedName: "properties.publicNetworkAccess",
+ topic: {
+ serializedName: "properties.topic",
type: {
- name: "String"
+ name: "Composite",
+ className: "JsonField"
}
},
- inboundIpRules: {
- serializedName: "properties.inboundIpRules",
+ eventTime: {
+ serializedName: "properties.eventTime",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "InboundIpRule"
- }
- }
+ name: "Composite",
+ className: "JsonField"
}
},
- disableLocalAuth: {
- serializedName: "properties.disableLocalAuth",
+ eventType: {
+ serializedName: "properties.eventType",
type: {
- name: "Boolean"
+ name: "Composite",
+ className: "JsonFieldWithDefault"
+ }
+ },
+ subject: {
+ serializedName: "properties.subject",
+ type: {
+ name: "Composite",
+ className: "JsonFieldWithDefault"
+ }
+ },
+ dataVersion: {
+ serializedName: "properties.dataVersion",
+ type: {
+ name: "Composite",
+ className: "JsonFieldWithDefault"
}
}
}
}
};
-export const PartnerNamespaceSharedAccessKeys: msRest.CompositeMapper = {
- serializedName: "PartnerNamespaceSharedAccessKeys",
+export const NumberInAdvancedFilter: coreClient.CompositeMapper = {
+ serializedName: "NumberIn",
type: {
name: "Composite",
- className: "PartnerNamespaceSharedAccessKeys",
+ className: "NumberInAdvancedFilter",
+ uberParent: "AdvancedFilter",
+ polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
modelProperties: {
- key1: {
- serializedName: "key1",
- type: {
- name: "String"
- }
- },
- key2: {
- serializedName: "key2",
+ ...AdvancedFilter.type.modelProperties,
+ values: {
+ serializedName: "values",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Number"
+ }
+ }
}
}
}
}
};
-export const PartnerNamespaceRegenerateKeyRequest: msRest.CompositeMapper = {
- serializedName: "PartnerNamespaceRegenerateKeyRequest",
+export const NumberNotInAdvancedFilter: coreClient.CompositeMapper = {
+ serializedName: "NumberNotIn",
type: {
name: "Composite",
- className: "PartnerNamespaceRegenerateKeyRequest",
+ className: "NumberNotInAdvancedFilter",
+ uberParent: "AdvancedFilter",
+ polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
modelProperties: {
- keyName: {
- required: true,
- serializedName: "keyName",
+ ...AdvancedFilter.type.modelProperties,
+ values: {
+ serializedName: "values",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Number"
+ }
+ }
}
}
}
}
};
-export const PartnerRegistration: msRest.CompositeMapper = {
- serializedName: "PartnerRegistration",
+export const NumberLessThanAdvancedFilter: coreClient.CompositeMapper = {
+ serializedName: "NumberLessThan",
type: {
name: "Composite",
- className: "PartnerRegistration",
+ className: "NumberLessThanAdvancedFilter",
+ uberParent: "AdvancedFilter",
+ polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
modelProperties: {
- ...TrackedResource.type.modelProperties,
- provisioningState: {
- readOnly: true,
- serializedName: "properties.provisioningState",
+ ...AdvancedFilter.type.modelProperties,
+ value: {
+ serializedName: "value",
type: {
- name: "String"
+ name: "Number"
}
- },
- partnerName: {
- serializedName: "properties.partnerName",
+ }
+ }
+ }
+};
+
+export const NumberGreaterThanAdvancedFilter: coreClient.CompositeMapper = {
+ serializedName: "NumberGreaterThan",
+ type: {
+ name: "Composite",
+ className: "NumberGreaterThanAdvancedFilter",
+ uberParent: "AdvancedFilter",
+ polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AdvancedFilter.type.modelProperties,
+ value: {
+ serializedName: "value",
type: {
- name: "String"
+ name: "Number"
}
- },
- partnerResourceTypeName: {
- serializedName: "properties.partnerResourceTypeName",
+ }
+ }
+ }
+};
+
+export const NumberLessThanOrEqualsAdvancedFilter: coreClient.CompositeMapper = {
+ serializedName: "NumberLessThanOrEquals",
+ type: {
+ name: "Composite",
+ className: "NumberLessThanOrEqualsAdvancedFilter",
+ uberParent: "AdvancedFilter",
+ polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AdvancedFilter.type.modelProperties,
+ value: {
+ serializedName: "value",
type: {
- name: "String"
+ name: "Number"
}
- },
- partnerResourceTypeDisplayName: {
- serializedName: "properties.partnerResourceTypeDisplayName",
+ }
+ }
+ }
+};
+
+export const NumberGreaterThanOrEqualsAdvancedFilter: coreClient.CompositeMapper = {
+ serializedName: "NumberGreaterThanOrEquals",
+ type: {
+ name: "Composite",
+ className: "NumberGreaterThanOrEqualsAdvancedFilter",
+ uberParent: "AdvancedFilter",
+ polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AdvancedFilter.type.modelProperties,
+ value: {
+ serializedName: "value",
type: {
- name: "String"
+ name: "Number"
}
- },
- partnerResourceTypeDescription: {
- serializedName: "properties.partnerResourceTypeDescription",
+ }
+ }
+ }
+};
+
+export const BoolEqualsAdvancedFilter: coreClient.CompositeMapper = {
+ serializedName: "BoolEquals",
+ type: {
+ name: "Composite",
+ className: "BoolEqualsAdvancedFilter",
+ uberParent: "AdvancedFilter",
+ polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AdvancedFilter.type.modelProperties,
+ value: {
+ serializedName: "value",
type: {
- name: "String"
+ name: "Boolean"
}
- },
- longDescription: {
- serializedName: "properties.longDescription",
+ }
+ }
+ }
+};
+
+export const StringInAdvancedFilter: coreClient.CompositeMapper = {
+ serializedName: "StringIn",
+ type: {
+ name: "Composite",
+ className: "StringInAdvancedFilter",
+ uberParent: "AdvancedFilter",
+ polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AdvancedFilter.type.modelProperties,
+ values: {
+ serializedName: "values",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
}
- },
- partnerCustomerServiceNumber: {
- serializedName: "properties.partnerCustomerServiceNumber",
+ }
+ }
+ }
+};
+
+export const StringNotInAdvancedFilter: coreClient.CompositeMapper = {
+ serializedName: "StringNotIn",
+ type: {
+ name: "Composite",
+ className: "StringNotInAdvancedFilter",
+ uberParent: "AdvancedFilter",
+ polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AdvancedFilter.type.modelProperties,
+ values: {
+ serializedName: "values",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
}
- },
- partnerCustomerServiceExtension: {
- serializedName: "properties.partnerCustomerServiceExtension",
+ }
+ }
+ }
+};
+
+export const StringBeginsWithAdvancedFilter: coreClient.CompositeMapper = {
+ serializedName: "StringBeginsWith",
+ type: {
+ name: "Composite",
+ className: "StringBeginsWithAdvancedFilter",
+ uberParent: "AdvancedFilter",
+ polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AdvancedFilter.type.modelProperties,
+ values: {
+ serializedName: "values",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
}
- },
- customerServiceUri: {
- serializedName: "properties.customerServiceUri",
+ }
+ }
+ }
+};
+
+export const StringEndsWithAdvancedFilter: coreClient.CompositeMapper = {
+ serializedName: "StringEndsWith",
+ type: {
+ name: "Composite",
+ className: "StringEndsWithAdvancedFilter",
+ uberParent: "AdvancedFilter",
+ polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AdvancedFilter.type.modelProperties,
+ values: {
+ serializedName: "values",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
}
- },
- setupUri: {
- serializedName: "properties.setupUri",
+ }
+ }
+ }
+};
+
+export const StringContainsAdvancedFilter: coreClient.CompositeMapper = {
+ serializedName: "StringContains",
+ type: {
+ name: "Composite",
+ className: "StringContainsAdvancedFilter",
+ uberParent: "AdvancedFilter",
+ polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AdvancedFilter.type.modelProperties,
+ values: {
+ serializedName: "values",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
}
- },
- logoUri: {
- serializedName: "properties.logoUri",
+ }
+ }
+ }
+};
+
+export const NumberInRangeAdvancedFilter: coreClient.CompositeMapper = {
+ serializedName: "NumberInRange",
+ type: {
+ name: "Composite",
+ className: "NumberInRangeAdvancedFilter",
+ uberParent: "AdvancedFilter",
+ polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AdvancedFilter.type.modelProperties,
+ values: {
+ serializedName: "values",
type: {
- name: "String"
- }
- },
- visibilityState: {
- serializedName: "properties.visibilityState",
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Number"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const NumberNotInRangeAdvancedFilter: coreClient.CompositeMapper = {
+ serializedName: "NumberNotInRange",
+ type: {
+ name: "Composite",
+ className: "NumberNotInRangeAdvancedFilter",
+ uberParent: "AdvancedFilter",
+ polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AdvancedFilter.type.modelProperties,
+ values: {
+ serializedName: "values",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Number"
+ }
+ }
+ }
+ }
}
- },
- authorizedAzureSubscriptionIds: {
- serializedName: "properties.authorizedAzureSubscriptionIds",
+ }
+ }
+ }
+};
+
+export const StringNotBeginsWithAdvancedFilter: coreClient.CompositeMapper = {
+ serializedName: "StringNotBeginsWith",
+ type: {
+ name: "Composite",
+ className: "StringNotBeginsWithAdvancedFilter",
+ uberParent: "AdvancedFilter",
+ polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AdvancedFilter.type.modelProperties,
+ values: {
+ serializedName: "values",
type: {
name: "Sequence",
element: {
@@ -2359,73 +2357,142 @@ export const PartnerRegistration: msRest.CompositeMapper = {
}
}
}
- },
- systemData: {
- readOnly: true,
- serializedName: "systemData",
+ }
+ }
+ }
+};
+
+export const StringNotEndsWithAdvancedFilter: coreClient.CompositeMapper = {
+ serializedName: "StringNotEndsWith",
+ type: {
+ name: "Composite",
+ className: "StringNotEndsWithAdvancedFilter",
+ uberParent: "AdvancedFilter",
+ polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AdvancedFilter.type.modelProperties,
+ values: {
+ serializedName: "values",
type: {
- name: "Composite",
- className: "SystemData"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
}
}
}
}
};
-export const PartnerRegistrationUpdateParameters: msRest.CompositeMapper = {
- serializedName: "PartnerRegistrationUpdateParameters",
+export const StringNotContainsAdvancedFilter: coreClient.CompositeMapper = {
+ serializedName: "StringNotContains",
type: {
name: "Composite",
- className: "PartnerRegistrationUpdateParameters",
+ className: "StringNotContainsAdvancedFilter",
+ uberParent: "AdvancedFilter",
+ polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
modelProperties: {
- tags: {
- serializedName: "tags",
+ ...AdvancedFilter.type.modelProperties,
+ values: {
+ serializedName: "values",
type: {
- name: "Dictionary",
- value: {
+ name: "Sequence",
+ element: {
type: {
name: "String"
}
}
}
- },
- partnerTopicTypeName: {
- serializedName: "partnerTopicTypeName",
+ }
+ }
+ }
+};
+
+export const IsNullOrUndefinedAdvancedFilter: coreClient.CompositeMapper = {
+ serializedName: "IsNullOrUndefined",
+ type: {
+ name: "Composite",
+ className: "IsNullOrUndefinedAdvancedFilter",
+ uberParent: "AdvancedFilter",
+ polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AdvancedFilter.type.modelProperties
+ }
+ }
+};
+
+export const IsNotNullAdvancedFilter: coreClient.CompositeMapper = {
+ serializedName: "IsNotNull",
+ type: {
+ name: "Composite",
+ className: "IsNotNullAdvancedFilter",
+ uberParent: "AdvancedFilter",
+ polymorphicDiscriminator: AdvancedFilter.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...AdvancedFilter.type.modelProperties
+ }
+ }
+};
+
+export const WebHookEventSubscriptionDestination: coreClient.CompositeMapper = {
+ serializedName: "WebHook",
+ type: {
+ name: "Composite",
+ className: "WebHookEventSubscriptionDestination",
+ uberParent: "EventSubscriptionDestination",
+ polymorphicDiscriminator:
+ EventSubscriptionDestination.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...EventSubscriptionDestination.type.modelProperties,
+ endpointUrl: {
+ serializedName: "properties.endpointUrl",
type: {
name: "String"
}
},
- partnerTopicTypeDisplayName: {
- serializedName: "partnerTopicTypeDisplayName",
+ endpointBaseUrl: {
+ serializedName: "properties.endpointBaseUrl",
+ readOnly: true,
type: {
name: "String"
}
},
- partnerTopicTypeDescription: {
- serializedName: "partnerTopicTypeDescription",
+ maxEventsPerBatch: {
+ defaultValue: 1,
+ serializedName: "properties.maxEventsPerBatch",
type: {
- name: "String"
+ name: "Number"
}
},
- setupUri: {
- serializedName: "setupUri",
+ preferredBatchSizeInKilobytes: {
+ defaultValue: 64,
+ serializedName: "properties.preferredBatchSizeInKilobytes",
+ type: {
+ name: "Number"
+ }
+ },
+ azureActiveDirectoryTenantId: {
+ serializedName: "properties.azureActiveDirectoryTenantId",
type: {
name: "String"
}
},
- logoUri: {
- serializedName: "logoUri",
+ azureActiveDirectoryApplicationIdOrUri: {
+ serializedName: "properties.azureActiveDirectoryApplicationIdOrUri",
type: {
name: "String"
}
},
- authorizedAzureSubscriptionIds: {
- serializedName: "authorizedAzureSubscriptionIds",
+ deliveryAttributeMappings: {
+ serializedName: "properties.deliveryAttributeMappings",
type: {
name: "Sequence",
element: {
type: {
- name: "String"
+ name: "Composite",
+ className: "DeliveryAttributeMapping"
}
}
}
@@ -2434,282 +2501,277 @@ export const PartnerRegistrationUpdateParameters: msRest.CompositeMapper = {
}
};
-export const EventType: msRest.CompositeMapper = {
- serializedName: "EventType",
+export const EventHubEventSubscriptionDestination: coreClient.CompositeMapper = {
+ serializedName: "EventHub",
type: {
name: "Composite",
- className: "EventType",
+ className: "EventHubEventSubscriptionDestination",
+ uberParent: "EventSubscriptionDestination",
+ polymorphicDiscriminator:
+ EventSubscriptionDestination.type.polymorphicDiscriminator,
modelProperties: {
- ...Resource.type.modelProperties,
- displayName: {
- serializedName: "properties.displayName",
- type: {
- name: "String"
- }
- },
- description: {
- serializedName: "properties.description",
- type: {
- name: "String"
- }
- },
- schemaUrl: {
- serializedName: "properties.schemaUrl",
+ ...EventSubscriptionDestination.type.modelProperties,
+ resourceId: {
+ serializedName: "properties.resourceId",
type: {
name: "String"
}
},
- isInDefaultSet: {
- serializedName: "properties.isInDefaultSet",
- type: {
- name: "Boolean"
- }
- }
- }
- }
-};
-
-export const PartnerTopicUpdateParameters: msRest.CompositeMapper = {
- serializedName: "PartnerTopicUpdateParameters",
- type: {
- name: "Composite",
- className: "PartnerTopicUpdateParameters",
- modelProperties: {
- tags: {
- serializedName: "tags",
+ deliveryAttributeMappings: {
+ serializedName: "properties.deliveryAttributeMappings",
type: {
- name: "Dictionary",
- value: {
+ name: "Sequence",
+ element: {
type: {
- name: "String"
+ name: "Composite",
+ className: "DeliveryAttributeMapping"
}
}
}
- },
- identity: {
- serializedName: "identity",
- type: {
- name: "Composite",
- className: "IdentityInfo"
- }
}
}
}
};
-export const PartnerTopic: msRest.CompositeMapper = {
- serializedName: "PartnerTopic",
+export const StorageQueueEventSubscriptionDestination: coreClient.CompositeMapper = {
+ serializedName: "StorageQueue",
type: {
name: "Composite",
- className: "PartnerTopic",
+ className: "StorageQueueEventSubscriptionDestination",
+ uberParent: "EventSubscriptionDestination",
+ polymorphicDiscriminator:
+ EventSubscriptionDestination.type.polymorphicDiscriminator,
modelProperties: {
- ...TrackedResource.type.modelProperties,
- source: {
- serializedName: "properties.source",
- type: {
- name: "String"
- }
- },
- expirationTimeIfNotActivatedUtc: {
- serializedName: "properties.expirationTimeIfNotActivatedUtc",
- type: {
- name: "DateTime"
- }
- },
- provisioningState: {
- readOnly: true,
- serializedName: "properties.provisioningState",
- type: {
- name: "String"
- }
- },
- activationState: {
- serializedName: "properties.activationState",
- type: {
- name: "String"
- }
- },
- partnerTopicFriendlyDescription: {
- serializedName: "properties.partnerTopicFriendlyDescription",
+ ...EventSubscriptionDestination.type.modelProperties,
+ resourceId: {
+ serializedName: "properties.resourceId",
type: {
name: "String"
}
- },
- systemData: {
- readOnly: true,
- serializedName: "systemData",
+ },
+ queueName: {
+ serializedName: "properties.queueName",
type: {
- name: "Composite",
- className: "SystemData"
+ name: "String"
}
},
- identity: {
- serializedName: "identity",
+ queueMessageTimeToLiveInSeconds: {
+ serializedName: "properties.queueMessageTimeToLiveInSeconds",
type: {
- name: "Composite",
- className: "IdentityInfo"
+ name: "Number"
}
}
}
}
};
-export const PrivateLinkResource: msRest.CompositeMapper = {
- serializedName: "PrivateLinkResource",
+export const HybridConnectionEventSubscriptionDestination: coreClient.CompositeMapper = {
+ serializedName: "HybridConnection",
type: {
name: "Composite",
- className: "PrivateLinkResource",
+ className: "HybridConnectionEventSubscriptionDestination",
+ uberParent: "EventSubscriptionDestination",
+ polymorphicDiscriminator:
+ EventSubscriptionDestination.type.polymorphicDiscriminator,
modelProperties: {
- groupId: {
- serializedName: "properties.groupId",
- type: {
- name: "String"
- }
- },
- displayName: {
- serializedName: "properties.displayName",
+ ...EventSubscriptionDestination.type.modelProperties,
+ resourceId: {
+ serializedName: "properties.resourceId",
type: {
name: "String"
}
},
- requiredMembers: {
- serializedName: "properties.requiredMembers",
+ deliveryAttributeMappings: {
+ serializedName: "properties.deliveryAttributeMappings",
type: {
name: "Sequence",
element: {
type: {
- name: "String"
+ name: "Composite",
+ className: "DeliveryAttributeMapping"
}
}
}
+ }
+ }
+ }
+};
+
+export const ServiceBusQueueEventSubscriptionDestination: coreClient.CompositeMapper = {
+ serializedName: "ServiceBusQueue",
+ type: {
+ name: "Composite",
+ className: "ServiceBusQueueEventSubscriptionDestination",
+ uberParent: "EventSubscriptionDestination",
+ polymorphicDiscriminator:
+ EventSubscriptionDestination.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...EventSubscriptionDestination.type.modelProperties,
+ resourceId: {
+ serializedName: "properties.resourceId",
+ type: {
+ name: "String"
+ }
},
- requiredZoneNames: {
- serializedName: "properties.requiredZoneNames",
+ deliveryAttributeMappings: {
+ serializedName: "properties.deliveryAttributeMappings",
type: {
name: "Sequence",
element: {
type: {
- name: "String"
+ name: "Composite",
+ className: "DeliveryAttributeMapping"
}
}
}
- },
- id: {
- serializedName: "id",
- type: {
- name: "String"
- }
- },
- name: {
- serializedName: "name",
+ }
+ }
+ }
+};
+
+export const ServiceBusTopicEventSubscriptionDestination: coreClient.CompositeMapper = {
+ serializedName: "ServiceBusTopic",
+ type: {
+ name: "Composite",
+ className: "ServiceBusTopicEventSubscriptionDestination",
+ uberParent: "EventSubscriptionDestination",
+ polymorphicDiscriminator:
+ EventSubscriptionDestination.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...EventSubscriptionDestination.type.modelProperties,
+ resourceId: {
+ serializedName: "properties.resourceId",
type: {
name: "String"
}
},
- type: {
- serializedName: "type",
+ deliveryAttributeMappings: {
+ serializedName: "properties.deliveryAttributeMappings",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "DeliveryAttributeMapping"
+ }
+ }
}
}
}
}
};
-export const SystemTopic: msRest.CompositeMapper = {
- serializedName: "SystemTopic",
+export const AzureFunctionEventSubscriptionDestination: coreClient.CompositeMapper = {
+ serializedName: "AzureFunction",
type: {
name: "Composite",
- className: "SystemTopic",
+ className: "AzureFunctionEventSubscriptionDestination",
+ uberParent: "EventSubscriptionDestination",
+ polymorphicDiscriminator:
+ EventSubscriptionDestination.type.polymorphicDiscriminator,
modelProperties: {
- ...TrackedResource.type.modelProperties,
- provisioningState: {
- readOnly: true,
- serializedName: "properties.provisioningState",
+ ...EventSubscriptionDestination.type.modelProperties,
+ resourceId: {
+ serializedName: "properties.resourceId",
type: {
name: "String"
}
},
- source: {
- serializedName: "properties.source",
+ maxEventsPerBatch: {
+ defaultValue: 1,
+ serializedName: "properties.maxEventsPerBatch",
type: {
- name: "String"
+ name: "Number"
}
},
- topicType: {
- serializedName: "properties.topicType",
+ preferredBatchSizeInKilobytes: {
+ defaultValue: 64,
+ serializedName: "properties.preferredBatchSizeInKilobytes",
type: {
- name: "String"
+ name: "Number"
}
},
- metricResourceId: {
- readOnly: true,
- serializedName: "properties.metricResourceId",
+ deliveryAttributeMappings: {
+ serializedName: "properties.deliveryAttributeMappings",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "DeliveryAttributeMapping"
+ }
+ }
}
- },
- systemData: {
- readOnly: true,
- serializedName: "systemData",
+ }
+ }
+ }
+};
+
+export const StorageBlobDeadLetterDestination: coreClient.CompositeMapper = {
+ serializedName: "StorageBlob",
+ type: {
+ name: "Composite",
+ className: "StorageBlobDeadLetterDestination",
+ uberParent: "DeadLetterDestination",
+ polymorphicDiscriminator:
+ DeadLetterDestination.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...DeadLetterDestination.type.modelProperties,
+ resourceId: {
+ serializedName: "properties.resourceId",
type: {
- name: "Composite",
- className: "SystemData"
+ name: "String"
}
},
- identity: {
- serializedName: "identity",
+ blobContainerName: {
+ serializedName: "properties.blobContainerName",
type: {
- name: "Composite",
- className: "IdentityInfo"
+ name: "String"
}
}
}
}
};
-export const SystemTopicUpdateParameters: msRest.CompositeMapper = {
- serializedName: "SystemTopicUpdateParameters",
+export const StaticDeliveryAttributeMapping: coreClient.CompositeMapper = {
+ serializedName: "Static",
type: {
name: "Composite",
- className: "SystemTopicUpdateParameters",
+ className: "StaticDeliveryAttributeMapping",
+ uberParent: "DeliveryAttributeMapping",
+ polymorphicDiscriminator:
+ DeliveryAttributeMapping.type.polymorphicDiscriminator,
modelProperties: {
- tags: {
- serializedName: "tags",
+ ...DeliveryAttributeMapping.type.modelProperties,
+ value: {
+ serializedName: "properties.value",
type: {
- name: "Dictionary",
- value: {
- type: {
- name: "String"
- }
- }
+ name: "String"
}
},
- identity: {
- serializedName: "identity",
+ isSecret: {
+ defaultValue: false,
+ serializedName: "properties.isSecret",
type: {
- name: "Composite",
- className: "IdentityInfo"
+ name: "Boolean"
}
}
}
}
};
-export const ExtendedLocation: msRest.CompositeMapper = {
- serializedName: "ExtendedLocation",
+export const DynamicDeliveryAttributeMapping: coreClient.CompositeMapper = {
+ serializedName: "Dynamic",
type: {
name: "Composite",
- className: "ExtendedLocation",
+ className: "DynamicDeliveryAttributeMapping",
+ uberParent: "DeliveryAttributeMapping",
+ polymorphicDiscriminator:
+ DeliveryAttributeMapping.type.polymorphicDiscriminator,
modelProperties: {
- name: {
- serializedName: "name",
- type: {
- name: "String"
- }
- },
- type: {
- serializedName: "type",
+ ...DeliveryAttributeMapping.type.modelProperties,
+ sourceField: {
+ serializedName: "properties.sourceField",
type: {
name: "String"
}
@@ -2718,16 +2780,36 @@ export const ExtendedLocation: msRest.CompositeMapper = {
}
};
-export const Topic: msRest.CompositeMapper = {
- serializedName: "Topic",
+export const Domain: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "Topic",
+ className: "Domain",
modelProperties: {
...TrackedResource.type.modelProperties,
+ sku: {
+ serializedName: "sku",
+ type: {
+ name: "Composite",
+ className: "ResourceSku"
+ }
+ },
+ identity: {
+ serializedName: "identity",
+ type: {
+ name: "Composite",
+ className: "IdentityInfo"
+ }
+ },
+ systemData: {
+ serializedName: "systemData",
+ type: {
+ name: "Composite",
+ className: "SystemData"
+ }
+ },
privateEndpointConnections: {
- readOnly: true,
serializedName: "properties.privateEndpointConnections",
+ readOnly: true,
type: {
name: "Sequence",
element: {
@@ -2739,22 +2821,21 @@ export const Topic: msRest.CompositeMapper = {
}
},
provisioningState: {
- readOnly: true,
serializedName: "properties.provisioningState",
+ readOnly: true,
type: {
name: "String"
}
},
endpoint: {
- readOnly: true,
serializedName: "properties.endpoint",
+ readOnly: true,
type: {
name: "String"
}
},
inputSchema: {
serializedName: "properties.inputSchema",
- defaultValue: 'EventGridSchema',
type: {
name: "String"
}
@@ -2767,15 +2848,14 @@ export const Topic: msRest.CompositeMapper = {
}
},
metricResourceId: {
- readOnly: true,
serializedName: "properties.metricResourceId",
+ readOnly: true,
type: {
name: "String"
}
},
publicNetworkAccess: {
serializedName: "properties.publicNetworkAccess",
- defaultValue: 'Enabled',
type: {
name: "String"
}
@@ -2793,73 +2873,74 @@ export const Topic: msRest.CompositeMapper = {
}
},
disableLocalAuth: {
- serializedName: "properties.disableLocalAuth",
defaultValue: false,
+ serializedName: "properties.disableLocalAuth",
type: {
name: "Boolean"
}
},
- sku: {
- serializedName: "sku",
- type: {
- name: "Composite",
- className: "ResourceSku"
- }
- },
- identity: {
- serializedName: "identity",
- type: {
- name: "Composite",
- className: "IdentityInfo"
- }
- },
- kind: {
- serializedName: "kind",
- type: {
- name: "String"
- }
- },
- extendedLocation: {
- serializedName: "extendedLocation",
+ autoCreateTopicWithFirstSubscription: {
+ defaultValue: true,
+ serializedName: "properties.autoCreateTopicWithFirstSubscription",
type: {
- name: "Composite",
- className: "ExtendedLocation"
+ name: "Boolean"
}
},
- systemData: {
- readOnly: true,
- serializedName: "systemData",
+ autoDeleteTopicWithLastSubscription: {
+ defaultValue: true,
+ serializedName: "properties.autoDeleteTopicWithLastSubscription",
type: {
- name: "Composite",
- className: "SystemData"
+ name: "Boolean"
}
}
}
}
};
-export const TopicUpdateParameters: msRest.CompositeMapper = {
- serializedName: "TopicUpdateParameters",
+export const PartnerNamespace: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "TopicUpdateParameters",
+ className: "PartnerNamespace",
modelProperties: {
- tags: {
- serializedName: "tags",
+ ...TrackedResource.type.modelProperties,
+ systemData: {
+ serializedName: "systemData",
type: {
- name: "Dictionary",
- value: {
+ name: "Composite",
+ className: "SystemData"
+ }
+ },
+ privateEndpointConnections: {
+ serializedName: "properties.privateEndpointConnections",
+ readOnly: true,
+ type: {
+ name: "Sequence",
+ element: {
type: {
- name: "String"
+ name: "Composite",
+ className: "PrivateEndpointConnection"
}
}
}
},
- identity: {
- serializedName: "identity",
+ provisioningState: {
+ serializedName: "properties.provisioningState",
+ readOnly: true,
type: {
- name: "Composite",
- className: "IdentityInfo"
+ name: "String"
+ }
+ },
+ partnerRegistrationFullyQualifiedId: {
+ serializedName: "properties.partnerRegistrationFullyQualifiedId",
+ type: {
+ name: "String"
+ }
+ },
+ endpoint: {
+ serializedName: "properties.endpoint",
+ readOnly: true,
+ type: {
+ name: "String"
}
},
publicNetworkAccess: {
@@ -2881,140 +2962,104 @@ export const TopicUpdateParameters: msRest.CompositeMapper = {
}
},
disableLocalAuth: {
+ defaultValue: false,
serializedName: "properties.disableLocalAuth",
type: {
name: "Boolean"
}
- },
- sku: {
- serializedName: "sku",
- type: {
- name: "Composite",
- className: "ResourceSku"
- }
}
}
}
};
-export const TopicSharedAccessKeys: msRest.CompositeMapper = {
- serializedName: "TopicSharedAccessKeys",
+export const PartnerRegistration: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "TopicSharedAccessKeys",
+ className: "PartnerRegistration",
modelProperties: {
- key1: {
- serializedName: "key1",
+ ...TrackedResource.type.modelProperties,
+ systemData: {
+ serializedName: "systemData",
+ type: {
+ name: "Composite",
+ className: "SystemData"
+ }
+ },
+ provisioningState: {
+ serializedName: "properties.provisioningState",
+ readOnly: true,
type: {
name: "String"
}
},
- key2: {
- serializedName: "key2",
+ partnerName: {
+ serializedName: "properties.partnerName",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const TopicRegenerateKeyRequest: msRest.CompositeMapper = {
- serializedName: "TopicRegenerateKeyRequest",
- type: {
- name: "Composite",
- className: "TopicRegenerateKeyRequest",
- modelProperties: {
- keyName: {
- required: true,
- serializedName: "keyName",
+ },
+ partnerResourceTypeName: {
+ serializedName: "properties.partnerResourceTypeName",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const ExtensionTopic: msRest.CompositeMapper = {
- serializedName: "ExtensionTopic",
- type: {
- name: "Composite",
- className: "ExtensionTopic",
- modelProperties: {
- ...Resource.type.modelProperties,
- description: {
- serializedName: "properties.description",
+ },
+ partnerResourceTypeDisplayName: {
+ serializedName: "properties.partnerResourceTypeDisplayName",
type: {
name: "String"
}
},
- systemTopic: {
- serializedName: "properties.systemTopic",
+ partnerResourceTypeDescription: {
+ serializedName: "properties.partnerResourceTypeDescription",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const TopicTypeInfo: msRest.CompositeMapper = {
- serializedName: "TopicTypeInfo",
- type: {
- name: "Composite",
- className: "TopicTypeInfo",
- modelProperties: {
- ...Resource.type.modelProperties,
- provider: {
- serializedName: "properties.provider",
+ },
+ longDescription: {
+ serializedName: "properties.longDescription",
type: {
name: "String"
}
},
- displayName: {
- serializedName: "properties.displayName",
+ partnerCustomerServiceNumber: {
+ serializedName: "properties.partnerCustomerServiceNumber",
type: {
name: "String"
}
},
- description: {
- serializedName: "properties.description",
+ partnerCustomerServiceExtension: {
+ serializedName: "properties.partnerCustomerServiceExtension",
type: {
name: "String"
}
},
- resourceRegionType: {
- serializedName: "properties.resourceRegionType",
+ customerServiceUri: {
+ serializedName: "properties.customerServiceUri",
type: {
name: "String"
}
},
- provisioningState: {
- serializedName: "properties.provisioningState",
+ setupUri: {
+ serializedName: "properties.setupUri",
type: {
name: "String"
}
},
- supportedLocations: {
- serializedName: "properties.supportedLocations",
+ logoUri: {
+ serializedName: "properties.logoUri",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
+ name: "String"
}
},
- sourceResourceFormat: {
- serializedName: "properties.sourceResourceFormat",
+ visibilityState: {
+ serializedName: "properties.visibilityState",
type: {
name: "String"
}
},
- supportedScopesForSource: {
- serializedName: "properties.supportedScopesForSource",
+ authorizedAzureSubscriptionIds: {
+ serializedName: "properties.authorizedAzureSubscriptionIds",
type: {
name: "Sequence",
element: {
@@ -3028,110 +3073,53 @@ export const TopicTypeInfo: msRest.CompositeMapper = {
}
};
-export const DomainsListResult: msRest.CompositeMapper = {
- serializedName: "DomainsListResult",
+export const PartnerTopic: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "DomainsListResult",
+ className: "PartnerTopic",
modelProperties: {
- value: {
- serializedName: "",
+ ...TrackedResource.type.modelProperties,
+ systemData: {
+ serializedName: "systemData",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "Domain"
- }
- }
+ name: "Composite",
+ className: "SystemData"
}
},
- nextLink: {
- serializedName: "nextLink",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const DomainTopicsListResult: msRest.CompositeMapper = {
- serializedName: "DomainTopicsListResult",
- type: {
- name: "Composite",
- className: "DomainTopicsListResult",
- modelProperties: {
- value: {
- serializedName: "",
+ identity: {
+ serializedName: "identity",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "DomainTopic"
- }
- }
+ name: "Composite",
+ className: "IdentityInfo"
}
},
- nextLink: {
- serializedName: "nextLink",
+ source: {
+ serializedName: "properties.source",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const EventChannelsListResult: msRest.CompositeMapper = {
- serializedName: "EventChannelsListResult",
- type: {
- name: "Composite",
- className: "EventChannelsListResult",
- modelProperties: {
- value: {
- serializedName: "",
+ },
+ expirationTimeIfNotActivatedUtc: {
+ serializedName: "properties.expirationTimeIfNotActivatedUtc",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "EventChannel"
- }
- }
+ name: "DateTime"
}
},
- nextLink: {
- serializedName: "nextLink",
+ provisioningState: {
+ serializedName: "properties.provisioningState",
+ readOnly: true,
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const EventSubscriptionsListResult: msRest.CompositeMapper = {
- serializedName: "EventSubscriptionsListResult",
- type: {
- name: "Composite",
- className: "EventSubscriptionsListResult",
- modelProperties: {
- value: {
- serializedName: "",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "EventSubscription"
- }
- }
+ },
+ activationState: {
+ serializedName: "properties.activationState",
+ type: {
+ name: "String"
}
},
- nextLink: {
- serializedName: "nextLink",
+ partnerTopicFriendlyDescription: {
+ serializedName: "properties.partnerTopicFriendlyDescription",
type: {
name: "String"
}
@@ -3140,76 +3128,48 @@ export const EventSubscriptionsListResult: msRest.CompositeMapper = {
}
};
-export const OperationsListResult: msRest.CompositeMapper = {
- serializedName: "OperationsListResult",
+export const SystemTopic: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "OperationsListResult",
+ className: "SystemTopic",
modelProperties: {
- value: {
- serializedName: "",
+ ...TrackedResource.type.modelProperties,
+ systemData: {
+ serializedName: "systemData",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "Operation"
- }
- }
+ name: "Composite",
+ className: "SystemData"
}
- }
- }
- }
-};
-
-export const PartnerNamespacesListResult: msRest.CompositeMapper = {
- serializedName: "PartnerNamespacesListResult",
- type: {
- name: "Composite",
- className: "PartnerNamespacesListResult",
- modelProperties: {
- value: {
- serializedName: "",
+ },
+ identity: {
+ serializedName: "identity",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "PartnerNamespace"
- }
- }
+ name: "Composite",
+ className: "IdentityInfo"
}
},
- nextLink: {
- serializedName: "nextLink",
+ provisioningState: {
+ serializedName: "properties.provisioningState",
+ readOnly: true,
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const PartnerRegistrationsListResult: msRest.CompositeMapper = {
- serializedName: "PartnerRegistrationsListResult",
- type: {
- name: "Composite",
- className: "PartnerRegistrationsListResult",
- modelProperties: {
- value: {
- serializedName: "",
+ },
+ source: {
+ serializedName: "properties.source",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "PartnerRegistration"
- }
- }
+ name: "String"
}
},
- nextLink: {
- serializedName: "nextLink",
+ topicType: {
+ serializedName: "properties.topicType",
+ type: {
+ name: "String"
+ }
+ },
+ metricResourceId: {
+ serializedName: "properties.metricResourceId",
+ readOnly: true,
type: {
name: "String"
}
@@ -3218,225 +3178,157 @@ export const PartnerRegistrationsListResult: msRest.CompositeMapper = {
}
};
-export const PartnerTopicsListResult: msRest.CompositeMapper = {
- serializedName: "PartnerTopicsListResult",
+export const Topic: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "PartnerTopicsListResult",
+ className: "Topic",
modelProperties: {
- value: {
- serializedName: "",
+ ...TrackedResource.type.modelProperties,
+ sku: {
+ serializedName: "sku",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "PartnerTopic"
- }
- }
+ name: "Composite",
+ className: "ResourceSku"
}
},
- nextLink: {
- serializedName: "nextLink",
+ identity: {
+ serializedName: "identity",
+ type: {
+ name: "Composite",
+ className: "IdentityInfo"
+ }
+ },
+ kind: {
+ defaultValue: "Azure",
+ serializedName: "kind",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = {
- serializedName: "PrivateEndpointConnectionListResult",
- type: {
- name: "Composite",
- className: "PrivateEndpointConnectionListResult",
- modelProperties: {
- value: {
- serializedName: "",
+ },
+ extendedLocation: {
+ serializedName: "extendedLocation",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "PrivateEndpointConnection"
- }
- }
+ name: "Composite",
+ className: "ExtendedLocation"
}
},
- nextLink: {
- serializedName: "nextLink",
+ systemData: {
+ serializedName: "systemData",
type: {
- name: "String"
+ name: "Composite",
+ className: "SystemData"
}
- }
- }
- }
-};
-
-export const PrivateLinkResourcesListResult: msRest.CompositeMapper = {
- serializedName: "PrivateLinkResourcesListResult",
- type: {
- name: "Composite",
- className: "PrivateLinkResourcesListResult",
- modelProperties: {
- value: {
- serializedName: "",
+ },
+ privateEndpointConnections: {
+ serializedName: "properties.privateEndpointConnections",
+ readOnly: true,
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "PrivateLinkResource"
+ className: "PrivateEndpointConnection"
}
}
}
},
- nextLink: {
- serializedName: "nextLink",
+ provisioningState: {
+ serializedName: "properties.provisioningState",
+ readOnly: true,
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const SystemTopicsListResult: msRest.CompositeMapper = {
- serializedName: "SystemTopicsListResult",
- type: {
- name: "Composite",
- className: "SystemTopicsListResult",
- modelProperties: {
- value: {
- serializedName: "",
+ },
+ endpoint: {
+ serializedName: "properties.endpoint",
+ readOnly: true,
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "SystemTopic"
- }
- }
+ name: "String"
}
},
- nextLink: {
- serializedName: "nextLink",
+ inputSchema: {
+ serializedName: "properties.inputSchema",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const TopicsListResult: msRest.CompositeMapper = {
- serializedName: "TopicsListResult",
- type: {
- name: "Composite",
- className: "TopicsListResult",
- modelProperties: {
- value: {
- serializedName: "",
+ },
+ inputSchemaMapping: {
+ serializedName: "properties.inputSchemaMapping",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "Topic"
- }
- }
+ name: "Composite",
+ className: "InputSchemaMapping"
}
},
- nextLink: {
- serializedName: "nextLink",
+ metricResourceId: {
+ serializedName: "properties.metricResourceId",
+ readOnly: true,
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const EventTypesListResult: msRest.CompositeMapper = {
- serializedName: "EventTypesListResult",
- type: {
- name: "Composite",
- className: "EventTypesListResult",
- modelProperties: {
- value: {
- serializedName: "",
+ },
+ publicNetworkAccess: {
+ serializedName: "properties.publicNetworkAccess",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "EventType"
- }
- }
+ name: "String"
}
- }
- }
- }
-};
-
-export const TopicTypesListResult: msRest.CompositeMapper = {
- serializedName: "TopicTypesListResult",
- type: {
- name: "Composite",
- className: "TopicTypesListResult",
- modelProperties: {
- value: {
- serializedName: "",
+ },
+ inboundIpRules: {
+ serializedName: "properties.inboundIpRules",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "TopicTypeInfo"
+ className: "InboundIpRule"
}
}
}
+ },
+ disableLocalAuth: {
+ defaultValue: false,
+ serializedName: "properties.disableLocalAuth",
+ type: {
+ name: "Boolean"
+ }
}
}
}
};
-export const discriminators = {
- 'InputSchemaMapping' : InputSchemaMapping,
- 'InputSchemaMapping.Json' : JsonInputSchemaMapping,
- 'AdvancedFilter' : AdvancedFilter,
- 'AdvancedFilter.NumberIn' : NumberInAdvancedFilter,
- 'AdvancedFilter.NumberNotIn' : NumberNotInAdvancedFilter,
- 'AdvancedFilter.NumberLessThan' : NumberLessThanAdvancedFilter,
- 'AdvancedFilter.NumberGreaterThan' : NumberGreaterThanAdvancedFilter,
- 'AdvancedFilter.NumberLessThanOrEquals' : NumberLessThanOrEqualsAdvancedFilter,
- 'AdvancedFilter.NumberGreaterThanOrEquals' : NumberGreaterThanOrEqualsAdvancedFilter,
- 'AdvancedFilter.BoolEquals' : BoolEqualsAdvancedFilter,
- 'AdvancedFilter.StringIn' : StringInAdvancedFilter,
- 'AdvancedFilter.StringNotIn' : StringNotInAdvancedFilter,
- 'AdvancedFilter.StringBeginsWith' : StringBeginsWithAdvancedFilter,
- 'AdvancedFilter.StringEndsWith' : StringEndsWithAdvancedFilter,
- 'AdvancedFilter.StringContains' : StringContainsAdvancedFilter,
- 'AdvancedFilter.NumberInRange' : NumberInRangeAdvancedFilter,
- 'AdvancedFilter.NumberNotInRange' : NumberNotInRangeAdvancedFilter,
- 'AdvancedFilter.StringNotBeginsWith' : StringNotBeginsWithAdvancedFilter,
- 'AdvancedFilter.StringNotEndsWith' : StringNotEndsWithAdvancedFilter,
- 'AdvancedFilter.StringNotContains' : StringNotContainsAdvancedFilter,
- 'AdvancedFilter.IsNullOrUndefined' : IsNullOrUndefinedAdvancedFilter,
- 'AdvancedFilter.IsNotNull' : IsNotNullAdvancedFilter,
- 'EventSubscriptionDestination' : EventSubscriptionDestination,
- 'DeadLetterDestination' : DeadLetterDestination,
- 'DeliveryAttributeMapping' : DeliveryAttributeMapping,
- 'DeliveryAttributeMapping.Static' : StaticDeliveryAttributeMapping,
- 'DeliveryAttributeMapping.Dynamic' : DynamicDeliveryAttributeMapping,
- 'DeadLetterDestination.StorageBlob' : StorageBlobDeadLetterDestination,
- 'EventSubscriptionDestination.WebHook' : WebHookEventSubscriptionDestination,
- 'EventSubscriptionDestination.EventHub' : EventHubEventSubscriptionDestination,
- 'EventSubscriptionDestination.StorageQueue' : StorageQueueEventSubscriptionDestination,
- 'EventSubscriptionDestination.HybridConnection' : HybridConnectionEventSubscriptionDestination,
- 'EventSubscriptionDestination.ServiceBusQueue' : ServiceBusQueueEventSubscriptionDestination,
- 'EventSubscriptionDestination.ServiceBusTopic' : ServiceBusTopicEventSubscriptionDestination,
- 'EventSubscriptionDestination.AzureFunction' : AzureFunctionEventSubscriptionDestination
-
+export let discriminators = {
+ InputSchemaMapping: InputSchemaMapping,
+ AdvancedFilter: AdvancedFilter,
+ EventSubscriptionDestination: EventSubscriptionDestination,
+ DeadLetterDestination: DeadLetterDestination,
+ DeliveryAttributeMapping: DeliveryAttributeMapping,
+ "InputSchemaMapping.Json": JsonInputSchemaMapping,
+ "AdvancedFilter.NumberIn": NumberInAdvancedFilter,
+ "AdvancedFilter.NumberNotIn": NumberNotInAdvancedFilter,
+ "AdvancedFilter.NumberLessThan": NumberLessThanAdvancedFilter,
+ "AdvancedFilter.NumberGreaterThan": NumberGreaterThanAdvancedFilter,
+ "AdvancedFilter.NumberLessThanOrEquals": NumberLessThanOrEqualsAdvancedFilter,
+ "AdvancedFilter.NumberGreaterThanOrEquals": NumberGreaterThanOrEqualsAdvancedFilter,
+ "AdvancedFilter.BoolEquals": BoolEqualsAdvancedFilter,
+ "AdvancedFilter.StringIn": StringInAdvancedFilter,
+ "AdvancedFilter.StringNotIn": StringNotInAdvancedFilter,
+ "AdvancedFilter.StringBeginsWith": StringBeginsWithAdvancedFilter,
+ "AdvancedFilter.StringEndsWith": StringEndsWithAdvancedFilter,
+ "AdvancedFilter.StringContains": StringContainsAdvancedFilter,
+ "AdvancedFilter.NumberInRange": NumberInRangeAdvancedFilter,
+ "AdvancedFilter.NumberNotInRange": NumberNotInRangeAdvancedFilter,
+ "AdvancedFilter.StringNotBeginsWith": StringNotBeginsWithAdvancedFilter,
+ "AdvancedFilter.StringNotEndsWith": StringNotEndsWithAdvancedFilter,
+ "AdvancedFilter.StringNotContains": StringNotContainsAdvancedFilter,
+ "AdvancedFilter.IsNullOrUndefined": IsNullOrUndefinedAdvancedFilter,
+ "AdvancedFilter.IsNotNull": IsNotNullAdvancedFilter,
+ "EventSubscriptionDestination.WebHook": WebHookEventSubscriptionDestination,
+ "EventSubscriptionDestination.EventHub": EventHubEventSubscriptionDestination,
+ "EventSubscriptionDestination.StorageQueue": StorageQueueEventSubscriptionDestination,
+ "EventSubscriptionDestination.HybridConnection": HybridConnectionEventSubscriptionDestination,
+ "EventSubscriptionDestination.ServiceBusQueue": ServiceBusQueueEventSubscriptionDestination,
+ "EventSubscriptionDestination.ServiceBusTopic": ServiceBusTopicEventSubscriptionDestination,
+ "EventSubscriptionDestination.AzureFunction": AzureFunctionEventSubscriptionDestination,
+ "DeadLetterDestination.StorageBlob": StorageBlobDeadLetterDestination,
+ "DeliveryAttributeMapping.Static": StaticDeliveryAttributeMapping,
+ "DeliveryAttributeMapping.Dynamic": DynamicDeliveryAttributeMapping
};
diff --git a/sdk/eventgrid/arm-eventgrid/src/models/operationsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/operationsMappers.ts
deleted file mode 100644
index 5f9a81de2d49..000000000000
--- a/sdk/eventgrid/arm-eventgrid/src/models/operationsMappers.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- CloudError,
- Operation,
- OperationInfo,
- OperationsListResult
-} from "../models/mappers";
diff --git a/sdk/eventgrid/arm-eventgrid/src/models/parameters.ts b/sdk/eventgrid/arm-eventgrid/src/models/parameters.ts
index 6d927eb66230..de21d634d0cd 100644
--- a/sdk/eventgrid/arm-eventgrid/src/models/parameters.ts
+++ b/sdk/eventgrid/arm-eventgrid/src/models/parameters.ts
@@ -3,77 +3,128 @@
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is
- * regenerated.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-import * as msRest from "@azure/ms-rest-js";
+import {
+ OperationParameter,
+ OperationURLParameter,
+ OperationQueryParameter
+} from "@azure/core-client";
+import {
+ Domain as DomainMapper,
+ DomainUpdateParameters as DomainUpdateParametersMapper,
+ DomainRegenerateKeyRequest as DomainRegenerateKeyRequestMapper,
+ EventChannel as EventChannelMapper,
+ EventSubscription as EventSubscriptionMapper,
+ EventSubscriptionUpdateParameters as EventSubscriptionUpdateParametersMapper,
+ PartnerNamespace as PartnerNamespaceMapper,
+ PartnerNamespaceUpdateParameters as PartnerNamespaceUpdateParametersMapper,
+ PartnerNamespaceRegenerateKeyRequest as PartnerNamespaceRegenerateKeyRequestMapper,
+ PartnerRegistration as PartnerRegistrationMapper,
+ PartnerRegistrationUpdateParameters as PartnerRegistrationUpdateParametersMapper,
+ PartnerTopicUpdateParameters as PartnerTopicUpdateParametersMapper,
+ PrivateEndpointConnection as PrivateEndpointConnectionMapper,
+ SystemTopic as SystemTopicMapper,
+ SystemTopicUpdateParameters as SystemTopicUpdateParametersMapper,
+ Topic as TopicMapper,
+ TopicUpdateParameters as TopicUpdateParametersMapper,
+ TopicRegenerateKeyRequest as TopicRegenerateKeyRequestMapper
+} from "../models/mappers";
-export const acceptLanguage: msRest.OperationParameter = {
- parameterPath: "acceptLanguage",
+export const accept: OperationParameter = {
+ parameterPath: "accept",
mapper: {
- serializedName: "accept-language",
- defaultValue: 'en-US',
+ defaultValue: "application/json",
+ isConstant: true,
+ serializedName: "Accept",
type: {
name: "String"
}
}
};
-export const apiVersion: msRest.OperationQueryParameter = {
- parameterPath: "apiVersion",
+
+export const $host: OperationURLParameter = {
+ parameterPath: "$host",
mapper: {
+ serializedName: "$host",
required: true,
- serializedName: "api-version",
type: {
name: "String"
}
- }
+ },
+ skipEncoding: true
};
-export const domainName: msRest.OperationURLParameter = {
- parameterPath: "domainName",
+
+export const subscriptionId: OperationURLParameter = {
+ parameterPath: "subscriptionId",
mapper: {
+ serializedName: "subscriptionId",
required: true,
- serializedName: "domainName",
type: {
name: "String"
}
}
};
-export const domainTopicName: msRest.OperationURLParameter = {
- parameterPath: "domainTopicName",
+
+export const resourceGroupName: OperationURLParameter = {
+ parameterPath: "resourceGroupName",
mapper: {
+ serializedName: "resourceGroupName",
required: true,
- serializedName: "domainTopicName",
type: {
name: "String"
}
}
};
-export const eventChannelName: msRest.OperationURLParameter = {
- parameterPath: "eventChannelName",
+
+export const domainName: OperationURLParameter = {
+ parameterPath: "domainName",
mapper: {
+ serializedName: "domainName",
required: true,
- serializedName: "eventChannelName",
type: {
name: "String"
}
}
};
-export const eventSubscriptionName: msRest.OperationURLParameter = {
- parameterPath: "eventSubscriptionName",
+
+export const apiVersion: OperationQueryParameter = {
+ parameterPath: "apiVersion",
mapper: {
- required: true,
- serializedName: "eventSubscriptionName",
+ defaultValue: "2021-06-01-preview",
+ isConstant: true,
+ serializedName: "api-version",
+ type: {
+ name: "String"
+ }
+ }
+};
+
+export const contentType: OperationParameter = {
+ parameterPath: ["options", "contentType"],
+ mapper: {
+ defaultValue: "application/json",
+ isConstant: true,
+ serializedName: "Content-Type",
type: {
name: "String"
}
}
};
-export const filter: msRest.OperationQueryParameter = {
- parameterPath: [
- "options",
- "filter"
- ],
+
+export const domainInfo: OperationParameter = {
+ parameterPath: "domainInfo",
+ mapper: DomainMapper
+};
+
+export const domainUpdateParameters: OperationParameter = {
+ parameterPath: "domainUpdateParameters",
+ mapper: DomainUpdateParametersMapper
+};
+
+export const filter: OperationQueryParameter = {
+ parameterPath: ["options", "filter"],
mapper: {
serializedName: "$filter",
type: {
@@ -81,205 +132,357 @@ export const filter: msRest.OperationQueryParameter = {
}
}
};
-export const location: msRest.OperationURLParameter = {
- parameterPath: "location",
+
+export const top: OperationQueryParameter = {
+ parameterPath: ["options", "top"],
+ mapper: {
+ serializedName: "$top",
+ type: {
+ name: "Number"
+ }
+ }
+};
+
+export const regenerateKeyRequest: OperationParameter = {
+ parameterPath: "regenerateKeyRequest",
+ mapper: DomainRegenerateKeyRequestMapper
+};
+
+export const nextLink: OperationURLParameter = {
+ parameterPath: "nextLink",
mapper: {
+ serializedName: "nextLink",
+ required: true,
+ type: {
+ name: "String"
+ }
+ },
+ skipEncoding: true
+};
+
+export const domainTopicName: OperationURLParameter = {
+ parameterPath: "domainTopicName",
+ mapper: {
+ serializedName: "domainTopicName",
required: true,
- serializedName: "location",
type: {
name: "String"
}
}
};
-export const nextPageLink: msRest.OperationURLParameter = {
- parameterPath: "nextPageLink",
+
+export const partnerNamespaceName: OperationURLParameter = {
+ parameterPath: "partnerNamespaceName",
mapper: {
+ serializedName: "partnerNamespaceName",
+ required: true,
+ type: {
+ name: "String"
+ }
+ }
+};
+
+export const eventChannelName: OperationURLParameter = {
+ parameterPath: "eventChannelName",
+ mapper: {
+ serializedName: "eventChannelName",
+ required: true,
+ type: {
+ name: "String"
+ }
+ }
+};
+
+export const eventChannelInfo: OperationParameter = {
+ parameterPath: "eventChannelInfo",
+ mapper: EventChannelMapper
+};
+
+export const scope: OperationURLParameter = {
+ parameterPath: "scope",
+ mapper: {
+ serializedName: "scope",
required: true,
- serializedName: "nextLink",
type: {
name: "String"
}
},
skipEncoding: true
};
-export const parentName: msRest.OperationURLParameter = {
- parameterPath: "parentName",
+
+export const eventSubscriptionName: OperationURLParameter = {
+ parameterPath: "eventSubscriptionName",
mapper: {
+ serializedName: "eventSubscriptionName",
required: true,
- serializedName: "parentName",
type: {
name: "String"
}
}
};
-export const parentType: msRest.OperationURLParameter = {
- parameterPath: "parentType",
+
+export const eventSubscriptionInfo: OperationParameter = {
+ parameterPath: "eventSubscriptionInfo",
+ mapper: EventSubscriptionMapper
+};
+
+export const eventSubscriptionUpdateParameters: OperationParameter = {
+ parameterPath: "eventSubscriptionUpdateParameters",
+ mapper: EventSubscriptionUpdateParametersMapper
+};
+
+export const topicTypeName: OperationURLParameter = {
+ parameterPath: "topicTypeName",
mapper: {
+ serializedName: "topicTypeName",
required: true,
- serializedName: "parentType",
type: {
name: "String"
}
}
};
-export const partnerNamespaceName: msRest.OperationURLParameter = {
- parameterPath: "partnerNamespaceName",
+
+export const location: OperationURLParameter = {
+ parameterPath: "location",
mapper: {
+ serializedName: "location",
required: true,
- serializedName: "partnerNamespaceName",
type: {
name: "String"
}
}
};
-export const partnerRegistrationName: msRest.OperationURLParameter = {
- parameterPath: "partnerRegistrationName",
+
+export const providerNamespace: OperationURLParameter = {
+ parameterPath: "providerNamespace",
mapper: {
+ serializedName: "providerNamespace",
required: true,
- serializedName: "partnerRegistrationName",
type: {
name: "String"
}
}
};
-export const partnerTopicName: msRest.OperationURLParameter = {
- parameterPath: "partnerTopicName",
+
+export const resourceTypeName: OperationURLParameter = {
+ parameterPath: "resourceTypeName",
mapper: {
+ serializedName: "resourceTypeName",
required: true,
- serializedName: "partnerTopicName",
type: {
name: "String"
}
}
};
-export const privateEndpointConnectionName: msRest.OperationURLParameter = {
- parameterPath: "privateEndpointConnectionName",
+
+export const resourceName: OperationURLParameter = {
+ parameterPath: "resourceName",
mapper: {
+ serializedName: "resourceName",
required: true,
- serializedName: "privateEndpointConnectionName",
type: {
name: "String"
}
}
};
-export const privateLinkResourceName: msRest.OperationURLParameter = {
- parameterPath: "privateLinkResourceName",
+
+export const topicName: OperationURLParameter = {
+ parameterPath: "topicName",
mapper: {
+ serializedName: "topicName",
required: true,
- serializedName: "privateLinkResourceName",
type: {
name: "String"
}
}
};
-export const providerNamespace: msRest.OperationURLParameter = {
- parameterPath: "providerNamespace",
+
+export const systemTopicName: OperationURLParameter = {
+ parameterPath: "systemTopicName",
mapper: {
+ serializedName: "systemTopicName",
required: true,
- serializedName: "providerNamespace",
type: {
name: "String"
}
}
};
-export const resourceGroupName: msRest.OperationURLParameter = {
- parameterPath: "resourceGroupName",
+
+export const partnerTopicName: OperationURLParameter = {
+ parameterPath: "partnerTopicName",
mapper: {
+ serializedName: "partnerTopicName",
required: true,
- serializedName: "resourceGroupName",
type: {
name: "String"
}
}
};
-export const resourceName: msRest.OperationURLParameter = {
- parameterPath: "resourceName",
+
+export const partnerNamespaceInfo: OperationParameter = {
+ parameterPath: "partnerNamespaceInfo",
+ mapper: PartnerNamespaceMapper
+};
+
+export const partnerNamespaceUpdateParameters: OperationParameter = {
+ parameterPath: "partnerNamespaceUpdateParameters",
+ mapper: PartnerNamespaceUpdateParametersMapper
+};
+
+export const regenerateKeyRequest1: OperationParameter = {
+ parameterPath: "regenerateKeyRequest",
+ mapper: PartnerNamespaceRegenerateKeyRequestMapper
+};
+
+export const partnerRegistrationName: OperationURLParameter = {
+ parameterPath: "partnerRegistrationName",
mapper: {
+ serializedName: "partnerRegistrationName",
required: true,
- serializedName: "resourceName",
type: {
name: "String"
}
}
};
-export const resourceTypeName: msRest.OperationURLParameter = {
- parameterPath: "resourceTypeName",
+
+export const partnerRegistrationInfo: OperationParameter = {
+ parameterPath: "partnerRegistrationInfo",
+ mapper: PartnerRegistrationMapper
+};
+
+export const partnerRegistrationUpdateParameters: OperationParameter = {
+ parameterPath: "partnerRegistrationUpdateParameters",
+ mapper: PartnerRegistrationUpdateParametersMapper
+};
+
+export const partnerTopicUpdateParameters: OperationParameter = {
+ parameterPath: "partnerTopicUpdateParameters",
+ mapper: PartnerTopicUpdateParametersMapper
+};
+
+export const parentType: OperationURLParameter = {
+ parameterPath: "parentType",
mapper: {
+ serializedName: "parentType",
required: true,
- serializedName: "resourceTypeName",
type: {
name: "String"
}
}
};
-export const scope0: msRest.OperationURLParameter = {
- parameterPath: "scope",
+
+export const parentName: OperationURLParameter = {
+ parameterPath: "parentName",
mapper: {
+ serializedName: "parentName",
required: true,
- serializedName: "scope",
type: {
name: "String"
}
- },
- skipEncoding: true
+ }
};
-export const scope1: msRest.OperationURLParameter = {
- parameterPath: "scope",
+
+export const privateEndpointConnectionName: OperationURLParameter = {
+ parameterPath: "privateEndpointConnectionName",
mapper: {
+ serializedName: "privateEndpointConnectionName",
required: true,
- serializedName: "scope",
type: {
name: "String"
}
}
};
-export const subscriptionId: msRest.OperationURLParameter = {
- parameterPath: "subscriptionId",
+
+export const privateEndpointConnection: OperationParameter = {
+ parameterPath: "privateEndpointConnection",
+ mapper: PrivateEndpointConnectionMapper
+};
+
+export const parentType1: OperationURLParameter = {
+ parameterPath: "parentType",
mapper: {
+ serializedName: "parentType",
required: true,
- serializedName: "subscriptionId",
type: {
name: "String"
}
}
};
-export const systemTopicName: msRest.OperationURLParameter = {
- parameterPath: "systemTopicName",
+
+export const parentType2: OperationURLParameter = {
+ parameterPath: "parentType",
mapper: {
+ serializedName: "parentType",
required: true,
- serializedName: "systemTopicName",
type: {
name: "String"
}
}
};
-export const top: msRest.OperationQueryParameter = {
- parameterPath: [
- "options",
- "top"
- ],
+
+export const parentType3: OperationURLParameter = {
+ parameterPath: "parentType",
mapper: {
- serializedName: "$top",
+ serializedName: "parentType",
+ required: true,
type: {
- name: "Number"
+ name: "String"
}
}
};
-export const topicName: msRest.OperationURLParameter = {
- parameterPath: "topicName",
+
+export const parentType4: OperationURLParameter = {
+ parameterPath: "parentType",
mapper: {
+ serializedName: "parentType",
required: true,
- serializedName: "topicName",
type: {
name: "String"
}
}
};
-export const topicTypeName: msRest.OperationURLParameter = {
- parameterPath: "topicTypeName",
+
+export const privateLinkResourceName: OperationURLParameter = {
+ parameterPath: "privateLinkResourceName",
mapper: {
+ serializedName: "privateLinkResourceName",
+ required: true,
+ type: {
+ name: "String"
+ }
+ }
+};
+
+export const systemTopicInfo: OperationParameter = {
+ parameterPath: "systemTopicInfo",
+ mapper: SystemTopicMapper
+};
+
+export const systemTopicUpdateParameters: OperationParameter = {
+ parameterPath: "systemTopicUpdateParameters",
+ mapper: SystemTopicUpdateParametersMapper
+};
+
+export const topicInfo: OperationParameter = {
+ parameterPath: "topicInfo",
+ mapper: TopicMapper
+};
+
+export const topicUpdateParameters: OperationParameter = {
+ parameterPath: "topicUpdateParameters",
+ mapper: TopicUpdateParametersMapper
+};
+
+export const regenerateKeyRequest2: OperationParameter = {
+ parameterPath: "regenerateKeyRequest",
+ mapper: TopicRegenerateKeyRequestMapper
+};
+
+export const scope1: OperationURLParameter = {
+ parameterPath: "scope",
+ mapper: {
+ serializedName: "scope",
required: true,
- serializedName: "topicTypeName",
type: {
name: "String"
}
diff --git a/sdk/eventgrid/arm-eventgrid/src/models/partnerNamespacesMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/partnerNamespacesMappers.ts
deleted file mode 100644
index b7321832bd5d..000000000000
--- a/sdk/eventgrid/arm-eventgrid/src/models/partnerNamespacesMappers.ts
+++ /dev/null
@@ -1,85 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AdvancedFilter,
- AzureFunctionEventSubscriptionDestination,
- BaseResource,
- BoolEqualsAdvancedFilter,
- CloudError,
- ConnectionState,
- DeadLetterDestination,
- DeadLetterWithResourceIdentity,
- DeliveryAttributeMapping,
- DeliveryWithResourceIdentity,
- Domain,
- DomainTopic,
- DynamicDeliveryAttributeMapping,
- EventChannel,
- EventChannelDestination,
- EventChannelFilter,
- EventChannelSource,
- EventHubEventSubscriptionDestination,
- EventSubscription,
- EventSubscriptionDestination,
- EventSubscriptionFilter,
- EventSubscriptionIdentity,
- EventType,
- ExtendedLocation,
- ExtensionTopic,
- HybridConnectionEventSubscriptionDestination,
- IdentityInfo,
- InboundIpRule,
- InputSchemaMapping,
- IsNotNullAdvancedFilter,
- IsNullOrUndefinedAdvancedFilter,
- JsonField,
- JsonFieldWithDefault,
- JsonInputSchemaMapping,
- NumberGreaterThanAdvancedFilter,
- NumberGreaterThanOrEqualsAdvancedFilter,
- NumberInAdvancedFilter,
- NumberInRangeAdvancedFilter,
- NumberLessThanAdvancedFilter,
- NumberLessThanOrEqualsAdvancedFilter,
- NumberNotInAdvancedFilter,
- NumberNotInRangeAdvancedFilter,
- PartnerNamespace,
- PartnerNamespaceRegenerateKeyRequest,
- PartnerNamespaceSharedAccessKeys,
- PartnerNamespacesListResult,
- PartnerNamespaceUpdateParameters,
- PartnerRegistration,
- PartnerTopic,
- PrivateEndpoint,
- PrivateEndpointConnection,
- Resource,
- ResourceSku,
- RetryPolicy,
- ServiceBusQueueEventSubscriptionDestination,
- ServiceBusTopicEventSubscriptionDestination,
- StaticDeliveryAttributeMapping,
- StorageBlobDeadLetterDestination,
- StorageQueueEventSubscriptionDestination,
- StringBeginsWithAdvancedFilter,
- StringContainsAdvancedFilter,
- StringEndsWithAdvancedFilter,
- StringInAdvancedFilter,
- StringNotBeginsWithAdvancedFilter,
- StringNotContainsAdvancedFilter,
- StringNotEndsWithAdvancedFilter,
- StringNotInAdvancedFilter,
- SystemData,
- SystemTopic,
- Topic,
- TopicTypeInfo,
- TrackedResource,
- UserIdentityProperties,
- WebHookEventSubscriptionDestination
-} from "../models/mappers";
diff --git a/sdk/eventgrid/arm-eventgrid/src/models/partnerRegistrationsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/partnerRegistrationsMappers.ts
deleted file mode 100644
index 6b5bed65d8f9..000000000000
--- a/sdk/eventgrid/arm-eventgrid/src/models/partnerRegistrationsMappers.ts
+++ /dev/null
@@ -1,83 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AdvancedFilter,
- AzureFunctionEventSubscriptionDestination,
- BaseResource,
- BoolEqualsAdvancedFilter,
- CloudError,
- ConnectionState,
- DeadLetterDestination,
- DeadLetterWithResourceIdentity,
- DeliveryAttributeMapping,
- DeliveryWithResourceIdentity,
- Domain,
- DomainTopic,
- DynamicDeliveryAttributeMapping,
- EventChannel,
- EventChannelDestination,
- EventChannelFilter,
- EventChannelSource,
- EventHubEventSubscriptionDestination,
- EventSubscription,
- EventSubscriptionDestination,
- EventSubscriptionFilter,
- EventSubscriptionIdentity,
- EventType,
- ExtendedLocation,
- ExtensionTopic,
- HybridConnectionEventSubscriptionDestination,
- IdentityInfo,
- InboundIpRule,
- InputSchemaMapping,
- IsNotNullAdvancedFilter,
- IsNullOrUndefinedAdvancedFilter,
- JsonField,
- JsonFieldWithDefault,
- JsonInputSchemaMapping,
- NumberGreaterThanAdvancedFilter,
- NumberGreaterThanOrEqualsAdvancedFilter,
- NumberInAdvancedFilter,
- NumberInRangeAdvancedFilter,
- NumberLessThanAdvancedFilter,
- NumberLessThanOrEqualsAdvancedFilter,
- NumberNotInAdvancedFilter,
- NumberNotInRangeAdvancedFilter,
- PartnerNamespace,
- PartnerRegistration,
- PartnerRegistrationsListResult,
- PartnerRegistrationUpdateParameters,
- PartnerTopic,
- PrivateEndpoint,
- PrivateEndpointConnection,
- Resource,
- ResourceSku,
- RetryPolicy,
- ServiceBusQueueEventSubscriptionDestination,
- ServiceBusTopicEventSubscriptionDestination,
- StaticDeliveryAttributeMapping,
- StorageBlobDeadLetterDestination,
- StorageQueueEventSubscriptionDestination,
- StringBeginsWithAdvancedFilter,
- StringContainsAdvancedFilter,
- StringEndsWithAdvancedFilter,
- StringInAdvancedFilter,
- StringNotBeginsWithAdvancedFilter,
- StringNotContainsAdvancedFilter,
- StringNotEndsWithAdvancedFilter,
- StringNotInAdvancedFilter,
- SystemData,
- SystemTopic,
- Topic,
- TopicTypeInfo,
- TrackedResource,
- UserIdentityProperties,
- WebHookEventSubscriptionDestination
-} from "../models/mappers";
diff --git a/sdk/eventgrid/arm-eventgrid/src/models/partnerTopicEventSubscriptionsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/partnerTopicEventSubscriptionsMappers.ts
deleted file mode 100644
index 62a9a4d4958e..000000000000
--- a/sdk/eventgrid/arm-eventgrid/src/models/partnerTopicEventSubscriptionsMappers.ts
+++ /dev/null
@@ -1,85 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AdvancedFilter,
- AzureFunctionEventSubscriptionDestination,
- BaseResource,
- BoolEqualsAdvancedFilter,
- CloudError,
- ConnectionState,
- DeadLetterDestination,
- DeadLetterWithResourceIdentity,
- DeliveryAttributeListResult,
- DeliveryAttributeMapping,
- DeliveryWithResourceIdentity,
- Domain,
- DomainTopic,
- DynamicDeliveryAttributeMapping,
- EventChannel,
- EventChannelDestination,
- EventChannelFilter,
- EventChannelSource,
- EventHubEventSubscriptionDestination,
- EventSubscription,
- EventSubscriptionDestination,
- EventSubscriptionFilter,
- EventSubscriptionFullUrl,
- EventSubscriptionIdentity,
- EventSubscriptionsListResult,
- EventSubscriptionUpdateParameters,
- EventType,
- ExtendedLocation,
- ExtensionTopic,
- HybridConnectionEventSubscriptionDestination,
- IdentityInfo,
- InboundIpRule,
- InputSchemaMapping,
- IsNotNullAdvancedFilter,
- IsNullOrUndefinedAdvancedFilter,
- JsonField,
- JsonFieldWithDefault,
- JsonInputSchemaMapping,
- NumberGreaterThanAdvancedFilter,
- NumberGreaterThanOrEqualsAdvancedFilter,
- NumberInAdvancedFilter,
- NumberInRangeAdvancedFilter,
- NumberLessThanAdvancedFilter,
- NumberLessThanOrEqualsAdvancedFilter,
- NumberNotInAdvancedFilter,
- NumberNotInRangeAdvancedFilter,
- PartnerNamespace,
- PartnerRegistration,
- PartnerTopic,
- PrivateEndpoint,
- PrivateEndpointConnection,
- Resource,
- ResourceSku,
- RetryPolicy,
- ServiceBusQueueEventSubscriptionDestination,
- ServiceBusTopicEventSubscriptionDestination,
- StaticDeliveryAttributeMapping,
- StorageBlobDeadLetterDestination,
- StorageQueueEventSubscriptionDestination,
- StringBeginsWithAdvancedFilter,
- StringContainsAdvancedFilter,
- StringEndsWithAdvancedFilter,
- StringInAdvancedFilter,
- StringNotBeginsWithAdvancedFilter,
- StringNotContainsAdvancedFilter,
- StringNotEndsWithAdvancedFilter,
- StringNotInAdvancedFilter,
- SystemData,
- SystemTopic,
- Topic,
- TopicTypeInfo,
- TrackedResource,
- UserIdentityProperties,
- WebHookEventSubscriptionDestination
-} from "../models/mappers";
diff --git a/sdk/eventgrid/arm-eventgrid/src/models/partnerTopicsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/partnerTopicsMappers.ts
deleted file mode 100644
index 6bd2de64ab0a..000000000000
--- a/sdk/eventgrid/arm-eventgrid/src/models/partnerTopicsMappers.ts
+++ /dev/null
@@ -1,83 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AdvancedFilter,
- AzureFunctionEventSubscriptionDestination,
- BaseResource,
- BoolEqualsAdvancedFilter,
- CloudError,
- ConnectionState,
- DeadLetterDestination,
- DeadLetterWithResourceIdentity,
- DeliveryAttributeMapping,
- DeliveryWithResourceIdentity,
- Domain,
- DomainTopic,
- DynamicDeliveryAttributeMapping,
- EventChannel,
- EventChannelDestination,
- EventChannelFilter,
- EventChannelSource,
- EventHubEventSubscriptionDestination,
- EventSubscription,
- EventSubscriptionDestination,
- EventSubscriptionFilter,
- EventSubscriptionIdentity,
- EventType,
- ExtendedLocation,
- ExtensionTopic,
- HybridConnectionEventSubscriptionDestination,
- IdentityInfo,
- InboundIpRule,
- InputSchemaMapping,
- IsNotNullAdvancedFilter,
- IsNullOrUndefinedAdvancedFilter,
- JsonField,
- JsonFieldWithDefault,
- JsonInputSchemaMapping,
- NumberGreaterThanAdvancedFilter,
- NumberGreaterThanOrEqualsAdvancedFilter,
- NumberInAdvancedFilter,
- NumberInRangeAdvancedFilter,
- NumberLessThanAdvancedFilter,
- NumberLessThanOrEqualsAdvancedFilter,
- NumberNotInAdvancedFilter,
- NumberNotInRangeAdvancedFilter,
- PartnerNamespace,
- PartnerRegistration,
- PartnerTopic,
- PartnerTopicsListResult,
- PartnerTopicUpdateParameters,
- PrivateEndpoint,
- PrivateEndpointConnection,
- Resource,
- ResourceSku,
- RetryPolicy,
- ServiceBusQueueEventSubscriptionDestination,
- ServiceBusTopicEventSubscriptionDestination,
- StaticDeliveryAttributeMapping,
- StorageBlobDeadLetterDestination,
- StorageQueueEventSubscriptionDestination,
- StringBeginsWithAdvancedFilter,
- StringContainsAdvancedFilter,
- StringEndsWithAdvancedFilter,
- StringInAdvancedFilter,
- StringNotBeginsWithAdvancedFilter,
- StringNotContainsAdvancedFilter,
- StringNotEndsWithAdvancedFilter,
- StringNotInAdvancedFilter,
- SystemData,
- SystemTopic,
- Topic,
- TopicTypeInfo,
- TrackedResource,
- UserIdentityProperties,
- WebHookEventSubscriptionDestination
-} from "../models/mappers";
diff --git a/sdk/eventgrid/arm-eventgrid/src/models/privateEndpointConnectionsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/privateEndpointConnectionsMappers.ts
deleted file mode 100644
index 72af2f510a3b..000000000000
--- a/sdk/eventgrid/arm-eventgrid/src/models/privateEndpointConnectionsMappers.ts
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AdvancedFilter,
- AzureFunctionEventSubscriptionDestination,
- BaseResource,
- BoolEqualsAdvancedFilter,
- CloudError,
- ConnectionState,
- DeadLetterDestination,
- DeadLetterWithResourceIdentity,
- DeliveryAttributeMapping,
- DeliveryWithResourceIdentity,
- Domain,
- DomainTopic,
- DynamicDeliveryAttributeMapping,
- EventChannel,
- EventChannelDestination,
- EventChannelFilter,
- EventChannelSource,
- EventHubEventSubscriptionDestination,
- EventSubscription,
- EventSubscriptionDestination,
- EventSubscriptionFilter,
- EventSubscriptionIdentity,
- EventType,
- ExtendedLocation,
- ExtensionTopic,
- HybridConnectionEventSubscriptionDestination,
- IdentityInfo,
- InboundIpRule,
- InputSchemaMapping,
- IsNotNullAdvancedFilter,
- IsNullOrUndefinedAdvancedFilter,
- JsonField,
- JsonFieldWithDefault,
- JsonInputSchemaMapping,
- NumberGreaterThanAdvancedFilter,
- NumberGreaterThanOrEqualsAdvancedFilter,
- NumberInAdvancedFilter,
- NumberInRangeAdvancedFilter,
- NumberLessThanAdvancedFilter,
- NumberLessThanOrEqualsAdvancedFilter,
- NumberNotInAdvancedFilter,
- NumberNotInRangeAdvancedFilter,
- PartnerNamespace,
- PartnerRegistration,
- PartnerTopic,
- PrivateEndpoint,
- PrivateEndpointConnection,
- PrivateEndpointConnectionListResult,
- Resource,
- ResourceSku,
- RetryPolicy,
- ServiceBusQueueEventSubscriptionDestination,
- ServiceBusTopicEventSubscriptionDestination,
- StaticDeliveryAttributeMapping,
- StorageBlobDeadLetterDestination,
- StorageQueueEventSubscriptionDestination,
- StringBeginsWithAdvancedFilter,
- StringContainsAdvancedFilter,
- StringEndsWithAdvancedFilter,
- StringInAdvancedFilter,
- StringNotBeginsWithAdvancedFilter,
- StringNotContainsAdvancedFilter,
- StringNotEndsWithAdvancedFilter,
- StringNotInAdvancedFilter,
- SystemData,
- SystemTopic,
- Topic,
- TopicTypeInfo,
- TrackedResource,
- UserIdentityProperties,
- WebHookEventSubscriptionDestination
-} from "../models/mappers";
diff --git a/sdk/eventgrid/arm-eventgrid/src/models/privateLinkResourcesMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/privateLinkResourcesMappers.ts
deleted file mode 100644
index ff4a4549faff..000000000000
--- a/sdk/eventgrid/arm-eventgrid/src/models/privateLinkResourcesMappers.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- CloudError,
- PrivateLinkResource,
- PrivateLinkResourcesListResult
-} from "../models/mappers";
diff --git a/sdk/eventgrid/arm-eventgrid/src/models/systemTopicEventSubscriptionsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/systemTopicEventSubscriptionsMappers.ts
deleted file mode 100644
index 62a9a4d4958e..000000000000
--- a/sdk/eventgrid/arm-eventgrid/src/models/systemTopicEventSubscriptionsMappers.ts
+++ /dev/null
@@ -1,85 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AdvancedFilter,
- AzureFunctionEventSubscriptionDestination,
- BaseResource,
- BoolEqualsAdvancedFilter,
- CloudError,
- ConnectionState,
- DeadLetterDestination,
- DeadLetterWithResourceIdentity,
- DeliveryAttributeListResult,
- DeliveryAttributeMapping,
- DeliveryWithResourceIdentity,
- Domain,
- DomainTopic,
- DynamicDeliveryAttributeMapping,
- EventChannel,
- EventChannelDestination,
- EventChannelFilter,
- EventChannelSource,
- EventHubEventSubscriptionDestination,
- EventSubscription,
- EventSubscriptionDestination,
- EventSubscriptionFilter,
- EventSubscriptionFullUrl,
- EventSubscriptionIdentity,
- EventSubscriptionsListResult,
- EventSubscriptionUpdateParameters,
- EventType,
- ExtendedLocation,
- ExtensionTopic,
- HybridConnectionEventSubscriptionDestination,
- IdentityInfo,
- InboundIpRule,
- InputSchemaMapping,
- IsNotNullAdvancedFilter,
- IsNullOrUndefinedAdvancedFilter,
- JsonField,
- JsonFieldWithDefault,
- JsonInputSchemaMapping,
- NumberGreaterThanAdvancedFilter,
- NumberGreaterThanOrEqualsAdvancedFilter,
- NumberInAdvancedFilter,
- NumberInRangeAdvancedFilter,
- NumberLessThanAdvancedFilter,
- NumberLessThanOrEqualsAdvancedFilter,
- NumberNotInAdvancedFilter,
- NumberNotInRangeAdvancedFilter,
- PartnerNamespace,
- PartnerRegistration,
- PartnerTopic,
- PrivateEndpoint,
- PrivateEndpointConnection,
- Resource,
- ResourceSku,
- RetryPolicy,
- ServiceBusQueueEventSubscriptionDestination,
- ServiceBusTopicEventSubscriptionDestination,
- StaticDeliveryAttributeMapping,
- StorageBlobDeadLetterDestination,
- StorageQueueEventSubscriptionDestination,
- StringBeginsWithAdvancedFilter,
- StringContainsAdvancedFilter,
- StringEndsWithAdvancedFilter,
- StringInAdvancedFilter,
- StringNotBeginsWithAdvancedFilter,
- StringNotContainsAdvancedFilter,
- StringNotEndsWithAdvancedFilter,
- StringNotInAdvancedFilter,
- SystemData,
- SystemTopic,
- Topic,
- TopicTypeInfo,
- TrackedResource,
- UserIdentityProperties,
- WebHookEventSubscriptionDestination
-} from "../models/mappers";
diff --git a/sdk/eventgrid/arm-eventgrid/src/models/systemTopicsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/systemTopicsMappers.ts
deleted file mode 100644
index a7620c6be7d7..000000000000
--- a/sdk/eventgrid/arm-eventgrid/src/models/systemTopicsMappers.ts
+++ /dev/null
@@ -1,83 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AdvancedFilter,
- AzureFunctionEventSubscriptionDestination,
- BaseResource,
- BoolEqualsAdvancedFilter,
- CloudError,
- ConnectionState,
- DeadLetterDestination,
- DeadLetterWithResourceIdentity,
- DeliveryAttributeMapping,
- DeliveryWithResourceIdentity,
- Domain,
- DomainTopic,
- DynamicDeliveryAttributeMapping,
- EventChannel,
- EventChannelDestination,
- EventChannelFilter,
- EventChannelSource,
- EventHubEventSubscriptionDestination,
- EventSubscription,
- EventSubscriptionDestination,
- EventSubscriptionFilter,
- EventSubscriptionIdentity,
- EventType,
- ExtendedLocation,
- ExtensionTopic,
- HybridConnectionEventSubscriptionDestination,
- IdentityInfo,
- InboundIpRule,
- InputSchemaMapping,
- IsNotNullAdvancedFilter,
- IsNullOrUndefinedAdvancedFilter,
- JsonField,
- JsonFieldWithDefault,
- JsonInputSchemaMapping,
- NumberGreaterThanAdvancedFilter,
- NumberGreaterThanOrEqualsAdvancedFilter,
- NumberInAdvancedFilter,
- NumberInRangeAdvancedFilter,
- NumberLessThanAdvancedFilter,
- NumberLessThanOrEqualsAdvancedFilter,
- NumberNotInAdvancedFilter,
- NumberNotInRangeAdvancedFilter,
- PartnerNamespace,
- PartnerRegistration,
- PartnerTopic,
- PrivateEndpoint,
- PrivateEndpointConnection,
- Resource,
- ResourceSku,
- RetryPolicy,
- ServiceBusQueueEventSubscriptionDestination,
- ServiceBusTopicEventSubscriptionDestination,
- StaticDeliveryAttributeMapping,
- StorageBlobDeadLetterDestination,
- StorageQueueEventSubscriptionDestination,
- StringBeginsWithAdvancedFilter,
- StringContainsAdvancedFilter,
- StringEndsWithAdvancedFilter,
- StringInAdvancedFilter,
- StringNotBeginsWithAdvancedFilter,
- StringNotContainsAdvancedFilter,
- StringNotEndsWithAdvancedFilter,
- StringNotInAdvancedFilter,
- SystemData,
- SystemTopic,
- SystemTopicsListResult,
- SystemTopicUpdateParameters,
- Topic,
- TopicTypeInfo,
- TrackedResource,
- UserIdentityProperties,
- WebHookEventSubscriptionDestination
-} from "../models/mappers";
diff --git a/sdk/eventgrid/arm-eventgrid/src/models/topicTypesMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/topicTypesMappers.ts
deleted file mode 100644
index 60e1e18de7e0..000000000000
--- a/sdk/eventgrid/arm-eventgrid/src/models/topicTypesMappers.ts
+++ /dev/null
@@ -1,83 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AdvancedFilter,
- AzureFunctionEventSubscriptionDestination,
- BaseResource,
- BoolEqualsAdvancedFilter,
- CloudError,
- ConnectionState,
- DeadLetterDestination,
- DeadLetterWithResourceIdentity,
- DeliveryAttributeMapping,
- DeliveryWithResourceIdentity,
- Domain,
- DomainTopic,
- DynamicDeliveryAttributeMapping,
- EventChannel,
- EventChannelDestination,
- EventChannelFilter,
- EventChannelSource,
- EventHubEventSubscriptionDestination,
- EventSubscription,
- EventSubscriptionDestination,
- EventSubscriptionFilter,
- EventSubscriptionIdentity,
- EventType,
- EventTypesListResult,
- ExtendedLocation,
- ExtensionTopic,
- HybridConnectionEventSubscriptionDestination,
- IdentityInfo,
- InboundIpRule,
- InputSchemaMapping,
- IsNotNullAdvancedFilter,
- IsNullOrUndefinedAdvancedFilter,
- JsonField,
- JsonFieldWithDefault,
- JsonInputSchemaMapping,
- NumberGreaterThanAdvancedFilter,
- NumberGreaterThanOrEqualsAdvancedFilter,
- NumberInAdvancedFilter,
- NumberInRangeAdvancedFilter,
- NumberLessThanAdvancedFilter,
- NumberLessThanOrEqualsAdvancedFilter,
- NumberNotInAdvancedFilter,
- NumberNotInRangeAdvancedFilter,
- PartnerNamespace,
- PartnerRegistration,
- PartnerTopic,
- PrivateEndpoint,
- PrivateEndpointConnection,
- Resource,
- ResourceSku,
- RetryPolicy,
- ServiceBusQueueEventSubscriptionDestination,
- ServiceBusTopicEventSubscriptionDestination,
- StaticDeliveryAttributeMapping,
- StorageBlobDeadLetterDestination,
- StorageQueueEventSubscriptionDestination,
- StringBeginsWithAdvancedFilter,
- StringContainsAdvancedFilter,
- StringEndsWithAdvancedFilter,
- StringInAdvancedFilter,
- StringNotBeginsWithAdvancedFilter,
- StringNotContainsAdvancedFilter,
- StringNotEndsWithAdvancedFilter,
- StringNotInAdvancedFilter,
- SystemData,
- SystemTopic,
- Topic,
- TopicTypeInfo,
- TopicTypesListResult,
- TrackedResource,
- UserIdentityProperties,
- WebHookEventSubscriptionDestination
-} from "../models/mappers";
diff --git a/sdk/eventgrid/arm-eventgrid/src/models/topicsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/topicsMappers.ts
deleted file mode 100644
index 493840462550..000000000000
--- a/sdk/eventgrid/arm-eventgrid/src/models/topicsMappers.ts
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
- * Copyright (c) Microsoft Corporation.
- * Licensed under the MIT License.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
- */
-
-export {
- discriminators,
- AdvancedFilter,
- AzureFunctionEventSubscriptionDestination,
- BaseResource,
- BoolEqualsAdvancedFilter,
- CloudError,
- ConnectionState,
- DeadLetterDestination,
- DeadLetterWithResourceIdentity,
- DeliveryAttributeMapping,
- DeliveryWithResourceIdentity,
- Domain,
- DomainTopic,
- DynamicDeliveryAttributeMapping,
- EventChannel,
- EventChannelDestination,
- EventChannelFilter,
- EventChannelSource,
- EventHubEventSubscriptionDestination,
- EventSubscription,
- EventSubscriptionDestination,
- EventSubscriptionFilter,
- EventSubscriptionIdentity,
- EventType,
- EventTypesListResult,
- ExtendedLocation,
- ExtensionTopic,
- HybridConnectionEventSubscriptionDestination,
- IdentityInfo,
- InboundIpRule,
- InputSchemaMapping,
- IsNotNullAdvancedFilter,
- IsNullOrUndefinedAdvancedFilter,
- JsonField,
- JsonFieldWithDefault,
- JsonInputSchemaMapping,
- NumberGreaterThanAdvancedFilter,
- NumberGreaterThanOrEqualsAdvancedFilter,
- NumberInAdvancedFilter,
- NumberInRangeAdvancedFilter,
- NumberLessThanAdvancedFilter,
- NumberLessThanOrEqualsAdvancedFilter,
- NumberNotInAdvancedFilter,
- NumberNotInRangeAdvancedFilter,
- PartnerNamespace,
- PartnerRegistration,
- PartnerTopic,
- PrivateEndpoint,
- PrivateEndpointConnection,
- Resource,
- ResourceSku,
- RetryPolicy,
- ServiceBusQueueEventSubscriptionDestination,
- ServiceBusTopicEventSubscriptionDestination,
- StaticDeliveryAttributeMapping,
- StorageBlobDeadLetterDestination,
- StorageQueueEventSubscriptionDestination,
- StringBeginsWithAdvancedFilter,
- StringContainsAdvancedFilter,
- StringEndsWithAdvancedFilter,
- StringInAdvancedFilter,
- StringNotBeginsWithAdvancedFilter,
- StringNotContainsAdvancedFilter,
- StringNotEndsWithAdvancedFilter,
- StringNotInAdvancedFilter,
- SystemData,
- SystemTopic,
- Topic,
- TopicRegenerateKeyRequest,
- TopicSharedAccessKeys,
- TopicsListResult,
- TopicTypeInfo,
- TopicUpdateParameters,
- TrackedResource,
- UserIdentityProperties,
- WebHookEventSubscriptionDestination
-} from "../models/mappers";
diff --git a/sdk/eventgrid/arm-eventgrid/src/operations/domainTopics.ts b/sdk/eventgrid/arm-eventgrid/src/operations/domainTopics.ts
index 5d0b701ca416..fd355a2050be 100644
--- a/sdk/eventgrid/arm-eventgrid/src/operations/domainTopics.ts
+++ b/sdk/eventgrid/arm-eventgrid/src/operations/domainTopics.ts
@@ -3,328 +3,450 @@
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is
- * regenerated.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-import * as msRest from "@azure/ms-rest-js";
-import * as msRestAzure from "@azure/ms-rest-azure-js";
-import * as Models from "../models";
-import * as Mappers from "../models/domainTopicsMappers";
+import { PagedAsyncIterableIterator } from "@azure/core-paging";
+import { DomainTopics } from "../operationsInterfaces";
+import * as coreClient from "@azure/core-client";
+import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { EventGridManagementClientContext } from "../eventGridManagementClientContext";
+import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
+import { LroImpl } from "../lroImpl";
+import {
+ DomainTopic,
+ DomainTopicsListByDomainNextOptionalParams,
+ DomainTopicsListByDomainOptionalParams,
+ DomainTopicsGetOptionalParams,
+ DomainTopicsGetResponse,
+ DomainTopicsCreateOrUpdateOptionalParams,
+ DomainTopicsCreateOrUpdateResponse,
+ DomainTopicsDeleteOptionalParams,
+ DomainTopicsListByDomainResponse,
+ DomainTopicsListByDomainNextResponse
+} from "../models";
-/** Class representing a DomainTopics. */
-export class DomainTopics {
+///
+/** Class containing DomainTopics operations. */
+export class DomainTopicsImpl implements DomainTopics {
private readonly client: EventGridManagementClientContext;
/**
- * Create a DomainTopics.
- * @param {EventGridManagementClientContext} client Reference to the service client.
+ * Initialize a new instance of the class DomainTopics class.
+ * @param client Reference to the service client
*/
constructor(client: EventGridManagementClientContext) {
this.client = client;
}
/**
- * Get properties of a domain topic.
- * @summary Get a domain topic.
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param domainName Name of the domain.
- * @param domainTopicName Name of the topic.
- * @param [options] The optional parameters
- * @returns Promise
- */
- get(resourceGroupName: string, domainName: string, domainTopicName: string, options?: msRest.RequestOptionsBase): Promise;
- /**
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param domainName Name of the domain.
- * @param domainTopicName Name of the topic.
- * @param callback The callback
- */
- get(resourceGroupName: string, domainName: string, domainTopicName: string, callback: msRest.ServiceCallback): void;
- /**
+ * List all the topics in a domain.
* @param resourceGroupName The name of the resource group within the user's subscription.
- * @param domainName Name of the domain.
- * @param domainTopicName Name of the topic.
- * @param options The optional parameters
- * @param callback The callback
+ * @param domainName Domain name.
+ * @param options The options parameters.
*/
- get(resourceGroupName: string, domainName: string, domainTopicName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- get(resourceGroupName: string, domainName: string, domainTopicName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
- return this.client.sendOperationRequest(
- {
+ public listByDomain(
+ resourceGroupName: string,
+ domainName: string,
+ options?: DomainTopicsListByDomainOptionalParams
+ ): PagedAsyncIterableIterator {
+ const iter = this.listByDomainPagingAll(
+ resourceGroupName,
+ domainName,
+ options
+ );
+ return {
+ next() {
+ return iter.next();
+ },
+ [Symbol.asyncIterator]() {
+ return this;
+ },
+ byPage: () => {
+ return this.listByDomainPagingPage(
+ resourceGroupName,
+ domainName,
+ options
+ );
+ }
+ };
+ }
+
+ private async *listByDomainPagingPage(
+ resourceGroupName: string,
+ domainName: string,
+ options?: DomainTopicsListByDomainOptionalParams
+ ): AsyncIterableIterator {
+ let result = await this._listByDomain(
+ resourceGroupName,
+ domainName,
+ options
+ );
+ yield result.value || [];
+ let continuationToken = result.nextLink;
+ while (continuationToken) {
+ result = await this._listByDomainNext(
resourceGroupName,
domainName,
- domainTopicName,
+ continuationToken,
options
- },
- getOperationSpec,
- callback) as Promise;
+ );
+ continuationToken = result.nextLink;
+ yield result.value || [];
+ }
+ }
+
+ private async *listByDomainPagingAll(
+ resourceGroupName: string,
+ domainName: string,
+ options?: DomainTopicsListByDomainOptionalParams
+ ): AsyncIterableIterator {
+ for await (const page of this.listByDomainPagingPage(
+ resourceGroupName,
+ domainName,
+ options
+ )) {
+ yield* page;
+ }
}
/**
- * Asynchronously creates or updates a new domain topic with the specified parameters.
- * @summary Create or update a domain topic.
+ * Get properties of a domain topic.
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
- * @param domainTopicName Name of the domain topic.
- * @param [options] The optional parameters
- * @returns Promise
+ * @param domainTopicName Name of the topic.
+ * @param options The options parameters.
*/
- createOrUpdate(resourceGroupName: string, domainName: string, domainTopicName: string, options?: msRest.RequestOptionsBase): Promise {
- return this.beginCreateOrUpdate(resourceGroupName,domainName,domainTopicName,options)
- .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ get(
+ resourceGroupName: string,
+ domainName: string,
+ domainTopicName: string,
+ options?: DomainTopicsGetOptionalParams
+ ): Promise {
+ return this.client.sendOperationRequest(
+ { resourceGroupName, domainName, domainTopicName, options },
+ getOperationSpec
+ );
}
/**
- * Delete existing domain topic.
- * @summary Delete a domain topic.
+ * Asynchronously creates or updates a new domain topic with the specified parameters.
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
* @param domainTopicName Name of the domain topic.
- * @param [options] The optional parameters
- * @returns Promise
+ * @param options The options parameters.
*/
- deleteMethod(resourceGroupName: string, domainName: string, domainTopicName: string, options?: msRest.RequestOptionsBase): Promise {
- return this.beginDeleteMethod(resourceGroupName,domainName,domainTopicName,options)
- .then(lroPoller => lroPoller.pollUntilFinished());
+ async beginCreateOrUpdate(
+ resourceGroupName: string,
+ domainName: string,
+ domainTopicName: string,
+ options?: DomainTopicsCreateOrUpdateOptionalParams
+ ): Promise<
+ PollerLike<
+ PollOperationState,
+ DomainTopicsCreateOrUpdateResponse
+ >
+ > {
+ const directSendOperation = async (
+ args: coreClient.OperationArguments,
+ spec: coreClient.OperationSpec
+ ): Promise => {
+ return this.client.sendOperationRequest(args, spec);
+ };
+ const sendOperation = async (
+ args: coreClient.OperationArguments,
+ spec: coreClient.OperationSpec
+ ) => {
+ let currentRawResponse:
+ | coreClient.FullOperationResponse
+ | undefined = undefined;
+ const providedCallback = args.options?.onResponse;
+ const callback: coreClient.RawResponseCallback = (
+ rawResponse: coreClient.FullOperationResponse,
+ flatResponse: unknown
+ ) => {
+ currentRawResponse = rawResponse;
+ providedCallback?.(rawResponse, flatResponse);
+ };
+ const updatedArgs = {
+ ...args,
+ options: {
+ ...args.options,
+ onResponse: callback
+ }
+ };
+ const flatResponse = await directSendOperation(updatedArgs, spec);
+ return {
+ flatResponse,
+ rawResponse: {
+ statusCode: currentRawResponse!.status,
+ body: currentRawResponse!.parsedBody,
+ headers: currentRawResponse!.headers.toJSON()
+ }
+ };
+ };
+
+ const lro = new LroImpl(
+ sendOperation,
+ { resourceGroupName, domainName, domainTopicName, options },
+ createOrUpdateOperationSpec
+ );
+ return new LroEngine(lro, {
+ resumeFrom: options?.resumeFrom,
+ intervalInMs: options?.updateIntervalInMs
+ });
}
/**
- * List all the topics in a domain.
- * @summary List domain topics.
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param domainName Domain name.
- * @param [options] The optional parameters
- * @returns Promise
- */
- listByDomain(resourceGroupName: string, domainName: string, options?: Models.DomainTopicsListByDomainOptionalParams): Promise;
- /**
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param domainName Domain name.
- * @param callback The callback
- */
- listByDomain(resourceGroupName: string, domainName: string, callback: msRest.ServiceCallback): void;
- /**
+ * Asynchronously creates or updates a new domain topic with the specified parameters.
* @param resourceGroupName The name of the resource group within the user's subscription.
- * @param domainName Domain name.
- * @param options The optional parameters
- * @param callback The callback
+ * @param domainName Name of the domain.
+ * @param domainTopicName Name of the domain topic.
+ * @param options The options parameters.
*/
- listByDomain(resourceGroupName: string, domainName: string, options: Models.DomainTopicsListByDomainOptionalParams, callback: msRest.ServiceCallback): void;
- listByDomain(resourceGroupName: string, domainName: string, options?: Models.DomainTopicsListByDomainOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
- return this.client.sendOperationRequest(
- {
- resourceGroupName,
- domainName,
- options
- },
- listByDomainOperationSpec,
- callback) as Promise;
+ async beginCreateOrUpdateAndWait(
+ resourceGroupName: string,
+ domainName: string,
+ domainTopicName: string,
+ options?: DomainTopicsCreateOrUpdateOptionalParams
+ ): Promise {
+ const poller = await this.beginCreateOrUpdate(
+ resourceGroupName,
+ domainName,
+ domainTopicName,
+ options
+ );
+ return poller.pollUntilDone();
}
/**
- * Asynchronously creates or updates a new domain topic with the specified parameters.
- * @summary Create or update a domain topic.
+ * Delete existing domain topic.
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
* @param domainTopicName Name of the domain topic.
- * @param [options] The optional parameters
- * @returns Promise
+ * @param options The options parameters.
*/
- beginCreateOrUpdate(resourceGroupName: string, domainName: string, domainTopicName: string, options?: msRest.RequestOptionsBase): Promise {
- return this.client.sendLRORequest(
- {
- resourceGroupName,
- domainName,
- domainTopicName,
- options
- },
- beginCreateOrUpdateOperationSpec,
- options);
+ async beginDelete(
+ resourceGroupName: string,
+ domainName: string,
+ domainTopicName: string,
+ options?: DomainTopicsDeleteOptionalParams
+ ): Promise, void>> {
+ const directSendOperation = async (
+ args: coreClient.OperationArguments,
+ spec: coreClient.OperationSpec
+ ): Promise => {
+ return this.client.sendOperationRequest(args, spec);
+ };
+ const sendOperation = async (
+ args: coreClient.OperationArguments,
+ spec: coreClient.OperationSpec
+ ) => {
+ let currentRawResponse:
+ | coreClient.FullOperationResponse
+ | undefined = undefined;
+ const providedCallback = args.options?.onResponse;
+ const callback: coreClient.RawResponseCallback = (
+ rawResponse: coreClient.FullOperationResponse,
+ flatResponse: unknown
+ ) => {
+ currentRawResponse = rawResponse;
+ providedCallback?.(rawResponse, flatResponse);
+ };
+ const updatedArgs = {
+ ...args,
+ options: {
+ ...args.options,
+ onResponse: callback
+ }
+ };
+ const flatResponse = await directSendOperation(updatedArgs, spec);
+ return {
+ flatResponse,
+ rawResponse: {
+ statusCode: currentRawResponse!.status,
+ body: currentRawResponse!.parsedBody,
+ headers: currentRawResponse!.headers.toJSON()
+ }
+ };
+ };
+
+ const lro = new LroImpl(
+ sendOperation,
+ { resourceGroupName, domainName, domainTopicName, options },
+ deleteOperationSpec
+ );
+ return new LroEngine(lro, {
+ resumeFrom: options?.resumeFrom,
+ intervalInMs: options?.updateIntervalInMs
+ });
}
/**
* Delete existing domain topic.
- * @summary Delete a domain topic.
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
* @param domainTopicName Name of the domain topic.
- * @param [options] The optional parameters
- * @returns Promise
+ * @param options The options parameters.
*/
- beginDeleteMethod(resourceGroupName: string, domainName: string, domainTopicName: string, options?: msRest.RequestOptionsBase): Promise {
- return this.client.sendLRORequest(
- {
- resourceGroupName,
- domainName,
- domainTopicName,
- options
- },
- beginDeleteMethodOperationSpec,
- options);
+ async beginDeleteAndWait(
+ resourceGroupName: string,
+ domainName: string,
+ domainTopicName: string,
+ options?: DomainTopicsDeleteOptionalParams
+ ): Promise {
+ const poller = await this.beginDelete(
+ resourceGroupName,
+ domainName,
+ domainTopicName,
+ options
+ );
+ return poller.pollUntilDone();
}
/**
* List all the topics in a domain.
- * @summary List domain topics.
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param [options] The optional parameters
- * @returns Promise
- */
- listByDomainNext(nextPageLink: string, options?: Models.DomainTopicsListByDomainNextOptionalParams): Promise;
- /**
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param callback The callback
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param domainName Domain name.
+ * @param options The options parameters.
*/
- listByDomainNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
+ private _listByDomain(
+ resourceGroupName: string,
+ domainName: string,
+ options?: DomainTopicsListByDomainOptionalParams
+ ): Promise {
+ return this.client.sendOperationRequest(
+ { resourceGroupName, domainName, options },
+ listByDomainOperationSpec
+ );
+ }
+
/**
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param options The optional parameters
- * @param callback The callback
+ * ListByDomainNext
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param domainName Domain name.
+ * @param nextLink The nextLink from the previous successful call to the ListByDomain method.
+ * @param options The options parameters.
*/
- listByDomainNext(nextPageLink: string, options: Models.DomainTopicsListByDomainNextOptionalParams, callback: msRest.ServiceCallback): void;
- listByDomainNext(nextPageLink: string, options?: Models.DomainTopicsListByDomainNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ private _listByDomainNext(
+ resourceGroupName: string,
+ domainName: string,
+ nextLink: string,
+ options?: DomainTopicsListByDomainNextOptionalParams
+ ): Promise {
return this.client.sendOperationRequest(
- {
- nextPageLink,
- options
- },
- listByDomainNextOperationSpec,
- callback) as Promise;
+ { resourceGroupName, domainName, nextLink, options },
+ listByDomainNextOperationSpec
+ );
}
}
-
// Operation Specifications
-const serializer = new msRest.Serializer(Mappers);
-const getOperationSpec: msRest.OperationSpec = {
+const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
+
+const getOperationSpec: coreClient.OperationSpec = {
+ path:
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{domainTopicName}",
httpMethod: "GET",
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{domainTopicName}",
- urlParameters: [
- Parameters.subscriptionId,
- Parameters.resourceGroupName,
- Parameters.domainName,
- Parameters.domainTopicName
- ],
- queryParameters: [
- Parameters.apiVersion
- ],
- headerParameters: [
- Parameters.acceptLanguage
- ],
responses: {
200: {
bodyMapper: Mappers.DomainTopic
},
- default: {
- bodyMapper: Mappers.CloudError
- }
+ default: {}
},
- serializer
-};
-
-const listByDomainOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics",
+ queryParameters: [Parameters.apiVersion],
urlParameters: [
+ Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
- Parameters.domainName
- ],
- queryParameters: [
- Parameters.apiVersion,
- Parameters.filter,
- Parameters.top
- ],
- headerParameters: [
- Parameters.acceptLanguage
+ Parameters.domainName,
+ Parameters.domainTopicName
],
+ headerParameters: [Parameters.accept],
+ serializer
+};
+const createOrUpdateOperationSpec: coreClient.OperationSpec = {
+ path:
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{domainTopicName}",
+ httpMethod: "PUT",
responses: {
200: {
- bodyMapper: Mappers.DomainTopicsListResult
+ bodyMapper: Mappers.DomainTopic
},
- default: {
- bodyMapper: Mappers.CloudError
- }
+ 201: {
+ bodyMapper: Mappers.DomainTopic
+ },
+ 202: {
+ bodyMapper: Mappers.DomainTopic
+ },
+ 204: {
+ bodyMapper: Mappers.DomainTopic
+ },
+ default: {}
},
- serializer
-};
-
-const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
- httpMethod: "PUT",
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{domainTopicName}",
+ queryParameters: [Parameters.apiVersion],
urlParameters: [
+ Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.domainName,
Parameters.domainTopicName
],
- queryParameters: [
- Parameters.apiVersion
- ],
- headerParameters: [
- Parameters.acceptLanguage
- ],
- responses: {
- 201: {
- bodyMapper: Mappers.DomainTopic
- },
- default: {
- bodyMapper: Mappers.CloudError
- }
- },
+ headerParameters: [Parameters.accept],
serializer
};
-
-const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
+const deleteOperationSpec: coreClient.OperationSpec = {
+ path:
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{domainTopicName}",
httpMethod: "DELETE",
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{domainTopicName}",
+ responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
+ queryParameters: [Parameters.apiVersion],
urlParameters: [
+ Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.domainName,
Parameters.domainTopicName
],
- queryParameters: [
- Parameters.apiVersion
- ],
- headerParameters: [
- Parameters.acceptLanguage
- ],
- responses: {
- 200: {},
- 202: {},
- 204: {},
- default: {
- bodyMapper: Mappers.CloudError
- }
- },
serializer
};
-
-const listByDomainNextOperationSpec: msRest.OperationSpec = {
+const listByDomainOperationSpec: coreClient.OperationSpec = {
+ path:
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics",
httpMethod: "GET",
- baseUrl: "https://management.azure.com",
- path: "{nextLink}",
+ responses: {
+ 200: {
+ bodyMapper: Mappers.DomainTopicsListResult
+ },
+ default: {}
+ },
+ queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
urlParameters: [
- Parameters.nextPageLink
- ],
- queryParameters: [
- Parameters.apiVersion,
- Parameters.filter,
- Parameters.top
- ],
- headerParameters: [
- Parameters.acceptLanguage
+ Parameters.$host,
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.domainName
],
+ headerParameters: [Parameters.accept],
+ serializer
+};
+const listByDomainNextOperationSpec: coreClient.OperationSpec = {
+ path: "{nextLink}",
+ httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.DomainTopicsListResult
},
- default: {
- bodyMapper: Mappers.CloudError
- }
+ default: {}
},
+ queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
+ urlParameters: [
+ Parameters.$host,
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.domainName,
+ Parameters.nextLink
+ ],
+ headerParameters: [Parameters.accept],
serializer
};
diff --git a/sdk/eventgrid/arm-eventgrid/src/operations/domains.ts b/sdk/eventgrid/arm-eventgrid/src/operations/domains.ts
index 62ff03d132cb..3514269b076f 100644
--- a/sdk/eventgrid/arm-eventgrid/src/operations/domains.ts
+++ b/sdk/eventgrid/arm-eventgrid/src/operations/domains.ts
@@ -3,620 +3,711 @@
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
- * Changes may cause incorrect behavior and will be lost if the code is
- * regenerated.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
-import * as msRest from "@azure/ms-rest-js";
-import * as msRestAzure from "@azure/ms-rest-azure-js";
-import * as Models from "../models";
-import * as Mappers from "../models/domainsMappers";
+import { PagedAsyncIterableIterator } from "@azure/core-paging";
+import { Domains } from "../operationsInterfaces";
+import * as coreClient from "@azure/core-client";
+import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { EventGridManagementClientContext } from "../eventGridManagementClientContext";
+import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
+import { LroImpl } from "../lroImpl";
+import {
+ Domain,
+ DomainsListBySubscriptionNextOptionalParams,
+ DomainsListBySubscriptionOptionalParams,
+ DomainsListByResourceGroupNextOptionalParams,
+ DomainsListByResourceGroupOptionalParams,
+ DomainsGetOptionalParams,
+ DomainsGetResponse,
+ DomainsCreateOrUpdateOptionalParams,
+ DomainsCreateOrUpdateResponse,
+ DomainsDeleteOptionalParams,
+ DomainUpdateParameters,
+ DomainsUpdateOptionalParams,
+ DomainsListBySubscriptionResponse,
+ DomainsListByResourceGroupResponse,
+ DomainsListSharedAccessKeysOptionalParams,
+ DomainsListSharedAccessKeysResponse,
+ DomainRegenerateKeyRequest,
+ DomainsRegenerateKeyOptionalParams,
+ DomainsRegenerateKeyResponse,
+ DomainsListBySubscriptionNextResponse,
+ DomainsListByResourceGroupNextResponse
+} from "../models";
-/** Class representing a Domains. */
-export class Domains {
+///
+/** Class containing Domains operations. */
+export class DomainsImpl implements Domains {
private readonly client: EventGridManagementClientContext;
/**
- * Create a Domains.
- * @param {EventGridManagementClientContext} client Reference to the service client.
+ * Initialize a new instance of the class Domains class.
+ * @param client Reference to the service client
*/
constructor(client: EventGridManagementClientContext) {
this.client = client;
}
/**
- * Get properties of a domain.
- * @summary Get a domain.
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param domainName Name of the domain.
- * @param [options] The optional parameters
- * @returns Promise
+ * List all the domains under an Azure subscription.
+ * @param options The options parameters.
*/
- get(resourceGroupName: string, domainName: string, options?: msRest.RequestOptionsBase): Promise;
+ public listBySubscription(
+ options?: DomainsListBySubscriptionOptionalParams
+ ): PagedAsyncIterableIterator {
+ const iter = this.listBySubscriptionPagingAll(options);
+ return {
+ next() {
+ return iter.next();
+ },
+ [Symbol.asyncIterator]() {
+ return this;
+ },
+ byPage: () => {
+ return this.listBySubscriptionPagingPage(options);
+ }
+ };
+ }
+
+ private async *listBySubscriptionPagingPage(
+ options?: DomainsListBySubscriptionOptionalParams
+ ): AsyncIterableIterator {
+ let result = await this._listBySubscription(options);
+ yield result.value || [];
+ let continuationToken = result.nextLink;
+ while (continuationToken) {
+ result = await this._listBySubscriptionNext(continuationToken, options);
+ continuationToken = result.nextLink;
+ yield result.value || [];
+ }
+ }
+
+ private async *listBySubscriptionPagingAll(
+ options?: DomainsListBySubscriptionOptionalParams
+ ): AsyncIterableIterator {
+ for await (const page of this.listBySubscriptionPagingPage(options)) {
+ yield* page;
+ }
+ }
+
/**
+ * List all the domains under a resource group.
* @param resourceGroupName The name of the resource group within the user's subscription.
- * @param domainName Name of the domain.
- * @param callback The callback
+ * @param options The options parameters.
*/
- get(resourceGroupName: string, domainName: string, callback: msRest.ServiceCallback): void;
+ public listByResourceGroup(
+ resourceGroupName: string,
+ options?: DomainsListByResourceGroupOptionalParams
+ ): PagedAsyncIterableIterator {
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
+ return {
+ next() {
+ return iter.next();
+ },
+ [Symbol.asyncIterator]() {
+ return this;
+ },
+ byPage: () => {
+ return this.listByResourceGroupPagingPage(resourceGroupName, options);
+ }
+ };
+ }
+
+ private async *listByResourceGroupPagingPage(
+ resourceGroupName: string,
+ options?: DomainsListByResourceGroupOptionalParams
+ ): AsyncIterableIterator {
+ let result = await this._listByResourceGroup(resourceGroupName, options);
+ yield result.value || [];
+ let continuationToken = result.nextLink;
+ while (continuationToken) {
+ result = await this._listByResourceGroupNext(
+ resourceGroupName,
+ continuationToken,
+ options
+ );
+ continuationToken = result.nextLink;
+ yield result.value || [];
+ }
+ }
+
+ private async *listByResourceGroupPagingAll(
+ resourceGroupName: string,
+ options?: DomainsListByResourceGroupOptionalParams
+ ): AsyncIterableIterator {
+ for await (const page of this.listByResourceGroupPagingPage(
+ resourceGroupName,
+ options
+ )) {
+ yield* page;
+ }
+ }
+
/**
+ * Get properties of a domain.
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
- * @param options The optional parameters
- * @param callback The callback
+ * @param options The options parameters.
*/
- get(resourceGroupName: string, domainName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- get(resourceGroupName: string, domainName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ get(
+ resourceGroupName: string,
+ domainName: string,
+ options?: DomainsGetOptionalParams
+ ): Promise {
return this.client.sendOperationRequest(
- {
- resourceGroupName,
- domainName,
- options
- },
- getOperationSpec,
- callback) as Promise;
+ { resourceGroupName, domainName, options },
+ getOperationSpec
+ );
}
/**
* Asynchronously creates or updates a new domain with the specified parameters.
- * @summary Create or update a domain.
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
* @param domainInfo Domain information.
- * @param [options] The optional parameters
- * @returns Promise
+ * @param options The options parameters.
*/
- createOrUpdate(resourceGroupName: string, domainName: string, domainInfo: Models.Domain, options?: msRest.RequestOptionsBase): Promise {
- return this.beginCreateOrUpdate(resourceGroupName,domainName,domainInfo,options)
- .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ async beginCreateOrUpdate(
+ resourceGroupName: string,
+ domainName: string,
+ domainInfo: Domain,
+ options?: DomainsCreateOrUpdateOptionalParams
+ ): Promise<
+ PollerLike<
+ PollOperationState,
+ DomainsCreateOrUpdateResponse
+ >
+ > {
+ const directSendOperation = async (
+ args: coreClient.OperationArguments,
+ spec: coreClient.OperationSpec
+ ): Promise => {
+ return this.client.sendOperationRequest(args, spec);
+ };
+ const sendOperation = async (
+ args: coreClient.OperationArguments,
+ spec: coreClient.OperationSpec
+ ) => {
+ let currentRawResponse:
+ | coreClient.FullOperationResponse
+ | undefined = undefined;
+ const providedCallback = args.options?.onResponse;
+ const callback: coreClient.RawResponseCallback = (
+ rawResponse: coreClient.FullOperationResponse,
+ flatResponse: unknown
+ ) => {
+ currentRawResponse = rawResponse;
+ providedCallback?.(rawResponse, flatResponse);
+ };
+ const updatedArgs = {
+ ...args,
+ options: {
+ ...args.options,
+ onResponse: callback
+ }
+ };
+ const flatResponse = await directSendOperation(updatedArgs, spec);
+ return {
+ flatResponse,
+ rawResponse: {
+ statusCode: currentRawResponse!.status,
+ body: currentRawResponse!.parsedBody,
+ headers: currentRawResponse!.headers.toJSON()
+ }
+ };
+ };
+
+ const lro = new LroImpl(
+ sendOperation,
+ { resourceGroupName, domainName, domainInfo, options },
+ createOrUpdateOperationSpec
+ );
+ return new LroEngine(lro, {
+ resumeFrom: options?.resumeFrom,
+ intervalInMs: options?.updateIntervalInMs
+ });
}
/**
- * Delete existing domain.
- * @summary Delete a domain.
+ * Asynchronously creates or updates a new domain with the specified parameters.
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
- * @param [options] The optional parameters
- * @returns Promise
+ * @param domainInfo Domain information.
+ * @param options The options parameters.
*/
- deleteMethod(resourceGroupName: string, domainName: string, options?: msRest.RequestOptionsBase): Promise {
- return this.beginDeleteMethod(resourceGroupName,domainName,options)
- .then(lroPoller => lroPoller.pollUntilFinished());
+ async beginCreateOrUpdateAndWait(
+ resourceGroupName: string,
+ domainName: string,
+ domainInfo: Domain,
+ options?: DomainsCreateOrUpdateOptionalParams
+ ): Promise {
+ const poller = await this.beginCreateOrUpdate(
+ resourceGroupName,
+ domainName,
+ domainInfo,
+ options
+ );
+ return poller.pollUntilDone();
}
/**
- * Asynchronously updates a domain with the specified parameters.
- * @summary Update a domain.
+ * Delete existing domain.
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
- * @param domainUpdateParameters Domain update information.
- * @param [options] The optional parameters
- * @returns Promise
+ * @param options The options parameters.
*/
- update(resourceGroupName: string, domainName: string, domainUpdateParameters: Models.DomainUpdateParameters, options?: msRest.RequestOptionsBase): Promise {
- return this.beginUpdate(resourceGroupName,domainName,domainUpdateParameters,options)
- .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
- }
+ async beginDelete(
+ resourceGroupName: string,
+ domainName: string,
+ options?: DomainsDeleteOptionalParams
+ ): Promise, void>> {
+ const directSendOperation = async (
+ args: coreClient.OperationArguments,
+ spec: coreClient.OperationSpec
+ ): Promise => {
+ return this.client.sendOperationRequest(args, spec);
+ };
+ const sendOperation = async (
+ args: coreClient.OperationArguments,
+ spec: coreClient.OperationSpec
+ ) => {
+ let currentRawResponse:
+ | coreClient.FullOperationResponse
+ | undefined = undefined;
+ const providedCallback = args.options?.onResponse;
+ const callback: coreClient.RawResponseCallback = (
+ rawResponse: coreClient.FullOperationResponse,
+ flatResponse: unknown
+ ) => {
+ currentRawResponse = rawResponse;
+ providedCallback?.(rawResponse, flatResponse);
+ };
+ const updatedArgs = {
+ ...args,
+ options: {
+ ...args.options,
+ onResponse: callback
+ }
+ };
+ const flatResponse = await directSendOperation(updatedArgs, spec);
+ return {
+ flatResponse,
+ rawResponse: {
+ statusCode: currentRawResponse!.status,
+ body: currentRawResponse!.parsedBody,
+ headers: currentRawResponse!.headers.toJSON()
+ }
+ };
+ };
- /**
- * List all the domains under an Azure subscription.
- * @summary List domains under an Azure subscription.
- * @param [options] The optional parameters
- * @returns Promise
- */
- listBySubscription(options?: Models.DomainsListBySubscriptionOptionalParams): Promise;
- /**
- * @param callback The callback
- */
- listBySubscription(callback: msRest.ServiceCallback): void;
- /**
- * @param options The optional parameters
- * @param callback The callback
- */
- listBySubscription(options: Models.DomainsListBySubscriptionOptionalParams, callback: msRest.ServiceCallback): void;
- listBySubscription(options?: Models.DomainsListBySubscriptionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
- return this.client.sendOperationRequest(
- {
- options
- },
- listBySubscriptionOperationSpec,
- callback) as Promise;
+ const lro = new LroImpl(
+ sendOperation,
+ { resourceGroupName, domainName, options },
+ deleteOperationSpec
+ );
+ return new LroEngine(lro, {
+ resumeFrom: options?.resumeFrom,
+ intervalInMs: options?.updateIntervalInMs
+ });
}
/**
- * List all the domains under a resource group.
- * @summary List domains under a resource group.
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param [options] The optional parameters
- * @returns Promise
- */
- listByResourceGroup(resourceGroupName: string, options?: Models.DomainsListByResourceGroupOptionalParams): Promise;
- /**
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param callback The callback
- */
- listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void;
- /**
+ * Delete existing domain.
* @param resourceGroupName The name of the resource group within the user's subscription.
- * @param options The optional parameters
- * @param callback The callback
+ * @param domainName Name of the domain.
+ * @param options The options parameters.
*/
- listByResourceGroup(resourceGroupName: string, options: Models.DomainsListByResourceGroupOptionalParams, callback: msRest.ServiceCallback): void;
- listByResourceGroup(resourceGroupName: string, options?: Models.DomainsListByResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
- return this.client.sendOperationRequest(
- {
- resourceGroupName,
- options
- },
- listByResourceGroupOperationSpec,
- callback) as Promise;
+ async beginDeleteAndWait(
+ resourceGroupName: string,
+ domainName: string,
+ options?: DomainsDeleteOptionalParams
+ ): Promise {
+ const poller = await this.beginDelete(
+ resourceGroupName,
+ domainName,
+ options
+ );
+ return poller.pollUntilDone();
}
/**
- * List the two keys used to publish to a domain.
- * @summary List keys for a domain.
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param domainName Name of the domain.
- * @param [options] The optional parameters
- * @returns Promise
- */
- listSharedAccessKeys(resourceGroupName: string, domainName: string, options?: msRest.RequestOptionsBase): Promise;
- /**
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param domainName Name of the domain.
- * @param callback The callback
- */
- listSharedAccessKeys(resourceGroupName: string, domainName: string, callback: msRest.ServiceCallback): void;
- /**
+ * Asynchronously updates a domain with the specified parameters.
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
- * @param options The optional parameters
- * @param callback The callback
+ * @param domainUpdateParameters Domain update information.
+ * @param options The options parameters.
*/
- listSharedAccessKeys(resourceGroupName: string, domainName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listSharedAccessKeys(resourceGroupName: string, domainName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback