From 9762ea3cc1ec0964c56d820dfdde2e1a78d7da82 Mon Sep 17 00:00:00 2001
From: colawwj <70128817+colawwj@users.noreply.github.com>
Date: Tue, 2 Nov 2021 16:12:05 +0800
Subject: [PATCH] streamanalytics-track2 (#18484)
---
common/config/rush/pnpm-lock.yaml | 26 +
rush.json | 5 +
.../arm-streamanalytics/CHANGELOG.md | 14 +
.../{LICENSE.txt => LICENSE} | 2 +-
.../arm-streamanalytics/README.md | 140 +-
.../arm-streamanalytics/_meta.json | 7 +
.../arm-streamanalytics/api-extractor.json | 18 +
.../arm-streamanalytics/package.json | 93 +-
.../node/my_test/recording_sample_test.js | 5 +
.../review/arm-streamanalytics.api.md | 1865 ++++++
.../arm-streamanalytics/rollup.config.js | 211 +-
.../arm-streamanalytics/src/index.ts | 13 +
.../arm-streamanalytics/src/lroImpl.ts | 34 +
.../src/models/clustersMappers.ts | 90 -
.../src/models/functionsMappers.ts | 96 -
.../arm-streamanalytics/src/models/index.ts | 5852 ++++++-----------
.../src/models/inputsMappers.ts | 91 -
.../arm-streamanalytics/src/models/mappers.ts | 4634 +++++++------
.../src/models/operationsMappers.ts | 15 -
.../src/models/outputsMappers.ts | 91 -
.../src/models/parameters.ts | 310 +-
.../src/models/privateEndpointsMappers.ts | 88 -
.../src/models/streamingJobsMappers.ts | 90 -
.../src/models/subscriptionsMappers.ts | 86 -
.../src/models/transformationsMappers.ts | 88 -
.../src/operations/clusters.ts | 1027 +--
.../src/operations/functions.ts | 745 ++-
.../src/operations/index.ts | 3 +-
.../src/operations/inputs.ts | 665 +-
.../src/operations/operations.ts | 156 +-
.../src/operations/outputs.ts | 664 +-
.../src/operations/privateEndpoints.ts | 479 +-
.../src/operations/streamingJobs.ts | 1018 +--
.../src/operations/subscriptions.ts | 598 +-
.../src/operations/transformations.ts | 260 +-
.../src/operationsInterfaces/clusters.ts | 157 +
.../src/operationsInterfaces/functions.ts | 148 +
.../src/operationsInterfaces/index.ts | 17 +
.../src/operationsInterfaces/inputs.ts | 128 +
.../src/operationsInterfaces/operations.ts | 22 +
.../src/operationsInterfaces/outputs.ts | 129 +
.../operationsInterfaces/privateEndpoints.ts | 90 +
.../src/operationsInterfaces/streamingJobs.ts | 176 +
.../src/operationsInterfaces/subscriptions.ts | 173 +
.../operationsInterfaces/transformations.ts | 71 +
.../src/streamAnalyticsManagementClient.ts | 93 +-
.../streamAnalyticsManagementClientContext.ts | 77 +-
.../arm-streamanalytics/test/sampleTest.ts | 48 +
.../arm-streamanalytics/tsconfig.json | 6 +-
sdk/streamanalytics/ci.yml | 29 +
50 files changed, 11876 insertions(+), 9067 deletions(-)
create mode 100644 sdk/streamanalytics/arm-streamanalytics/CHANGELOG.md
rename sdk/streamanalytics/arm-streamanalytics/{LICENSE.txt => LICENSE} (99%)
create mode 100644 sdk/streamanalytics/arm-streamanalytics/_meta.json
create mode 100644 sdk/streamanalytics/arm-streamanalytics/api-extractor.json
create mode 100644 sdk/streamanalytics/arm-streamanalytics/recordings/node/my_test/recording_sample_test.js
create mode 100644 sdk/streamanalytics/arm-streamanalytics/review/arm-streamanalytics.api.md
create mode 100644 sdk/streamanalytics/arm-streamanalytics/src/index.ts
create mode 100644 sdk/streamanalytics/arm-streamanalytics/src/lroImpl.ts
delete mode 100644 sdk/streamanalytics/arm-streamanalytics/src/models/clustersMappers.ts
delete mode 100644 sdk/streamanalytics/arm-streamanalytics/src/models/functionsMappers.ts
delete mode 100644 sdk/streamanalytics/arm-streamanalytics/src/models/inputsMappers.ts
delete mode 100644 sdk/streamanalytics/arm-streamanalytics/src/models/operationsMappers.ts
delete mode 100644 sdk/streamanalytics/arm-streamanalytics/src/models/outputsMappers.ts
delete mode 100644 sdk/streamanalytics/arm-streamanalytics/src/models/privateEndpointsMappers.ts
delete mode 100644 sdk/streamanalytics/arm-streamanalytics/src/models/streamingJobsMappers.ts
delete mode 100644 sdk/streamanalytics/arm-streamanalytics/src/models/subscriptionsMappers.ts
delete mode 100644 sdk/streamanalytics/arm-streamanalytics/src/models/transformationsMappers.ts
create mode 100644 sdk/streamanalytics/arm-streamanalytics/src/operationsInterfaces/clusters.ts
create mode 100644 sdk/streamanalytics/arm-streamanalytics/src/operationsInterfaces/functions.ts
create mode 100644 sdk/streamanalytics/arm-streamanalytics/src/operationsInterfaces/index.ts
create mode 100644 sdk/streamanalytics/arm-streamanalytics/src/operationsInterfaces/inputs.ts
create mode 100644 sdk/streamanalytics/arm-streamanalytics/src/operationsInterfaces/operations.ts
create mode 100644 sdk/streamanalytics/arm-streamanalytics/src/operationsInterfaces/outputs.ts
create mode 100644 sdk/streamanalytics/arm-streamanalytics/src/operationsInterfaces/privateEndpoints.ts
create mode 100644 sdk/streamanalytics/arm-streamanalytics/src/operationsInterfaces/streamingJobs.ts
create mode 100644 sdk/streamanalytics/arm-streamanalytics/src/operationsInterfaces/subscriptions.ts
create mode 100644 sdk/streamanalytics/arm-streamanalytics/src/operationsInterfaces/transformations.ts
create mode 100644 sdk/streamanalytics/arm-streamanalytics/test/sampleTest.ts
create mode 100644 sdk/streamanalytics/ci.yml
diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml
index 886076624452..a357478a3eca 100644
--- a/common/config/rush/pnpm-lock.yaml
+++ b/common/config/rush/pnpm-lock.yaml
@@ -43,6 +43,7 @@ specifiers:
'@rush-temp/arm-servicebus': file:./projects/arm-servicebus.tgz
'@rush-temp/arm-sql': file:./projects/arm-sql.tgz
'@rush-temp/arm-storage': file:./projects/arm-storage.tgz
+ '@rush-temp/arm-streamanalytics': file:./projects/arm-streamanalytics.tgz
'@rush-temp/arm-templatespecs': file:./projects/arm-templatespecs.tgz
'@rush-temp/arm-videoanalyzer': file:./projects/arm-videoanalyzer.tgz
'@rush-temp/arm-webpubsub': file:./projects/arm-webpubsub.tgz
@@ -188,6 +189,7 @@ dependencies:
'@rush-temp/arm-servicebus': file:projects/arm-servicebus.tgz
'@rush-temp/arm-sql': file:projects/arm-sql.tgz
'@rush-temp/arm-storage': file:projects/arm-storage.tgz
+ '@rush-temp/arm-streamanalytics': file:projects/arm-streamanalytics.tgz
'@rush-temp/arm-templatespecs': file:projects/arm-templatespecs.tgz
'@rush-temp/arm-videoanalyzer': file:projects/arm-videoanalyzer.tgz
'@rush-temp/arm-webpubsub': file:projects/arm-webpubsub.tgz
@@ -9361,6 +9363,30 @@ packages:
uglify-js: 3.14.2
dev: false
+ file:projects/arm-streamanalytics.tgz:
+ resolution: {integrity: sha512-GYtEbWFfsmbKa168tVMSugSMPWBxtmxwU2f3gxq5cWOXbkP3EdUf5cTnPvWELOHwGifKuKiyC29W7YWiOWhfmQ==, tarball: file:projects/arm-streamanalytics.tgz}
+ name: '@rush-temp/arm-streamanalytics'
+ version: 0.0.0
+ dependencies:
+ '@azure/identity': 2.0.0-beta.6
+ '@microsoft/api-extractor': 7.18.17
+ '@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-templatespecs.tgz:
resolution: {integrity: sha512-RgFlqAwnq0UphGTsIEF+hkpnM8jej+SkZtCk9SNx58wLRKIVX9+CDqYOXqtsHgKwYSP+vIopZcyKqYefF7/VPg==, tarball: file:projects/arm-templatespecs.tgz}
name: '@rush-temp/arm-templatespecs'
diff --git a/rush.json b/rush.json
index 86fb63b85ba1..c6d6cbd7934b 100644
--- a/rush.json
+++ b/rush.json
@@ -1035,6 +1035,11 @@
"packageName": "@azure/arm-notificationhubs",
"projectFolder": "sdk/notificationhubs/arm-notificationhubs",
"versionPolicyName": "management"
+ },
+ {
+ "packageName": "@azure/arm-streamanalytics",
+ "projectFolder": "sdk/streamanalytics/arm-streamanalytics",
+ "versionPolicyName": "management"
}
]
}
\ No newline at end of file
diff --git a/sdk/streamanalytics/arm-streamanalytics/CHANGELOG.md b/sdk/streamanalytics/arm-streamanalytics/CHANGELOG.md
new file mode 100644
index 000000000000..a60a87f1220d
--- /dev/null
+++ b/sdk/streamanalytics/arm-streamanalytics/CHANGELOG.md
@@ -0,0 +1,14 @@
+## 3.0.0-beta.1 (2021-11-02)
+
+This is the first preview for the new version of the `@azure/arm-streamanalytics` 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/streamanalytics/arm-streamanalytics/LICENSE.txt b/sdk/streamanalytics/arm-streamanalytics/LICENSE
similarity index 99%
rename from sdk/streamanalytics/arm-streamanalytics/LICENSE.txt
rename to sdk/streamanalytics/arm-streamanalytics/LICENSE
index 2d3163745319..ccb63b166732 100644
--- a/sdk/streamanalytics/arm-streamanalytics/LICENSE.txt
+++ b/sdk/streamanalytics/arm-streamanalytics/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/streamanalytics/arm-streamanalytics/README.md b/sdk/streamanalytics/arm-streamanalytics/README.md
index b59a42c2573c..ce3a72d0c74e 100644
--- a/sdk/streamanalytics/arm-streamanalytics/README.md
+++ b/sdk/streamanalytics/arm-streamanalytics/README.md
@@ -1,104 +1,94 @@
-## Azure StreamAnalyticsManagementClient SDK for JavaScript
+# Azure Stream Analytics Management client library for JavaScript
-This package contains an isomorphic SDK for StreamAnalyticsManagementClient.
+This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure Stream Analytics Management client.
+
+Stream Analytics Client
+
+[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/streamanalytics/arm-streamanalytics) |
+[Package (NPM)](https://www.npmjs.com/package/@azure/arm-streamanalytics) |
+[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-streamanalytics) |
+[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
+
+## Getting started
### Currently supported environments
- [LTS versions of Node.js](https://nodejs.org/about/releases/)
-- Latest versions of Safari, Chrome, Edge, and Firefox.
+- Latest versions of Safari, Chrome, Edge and Firefox.
+
+### Prerequisites
+
+- An [Azure subscription][azure_sub].
-### How to Install
+### Install the `@azure/arm-streamanalytics` package
+
+Install the Azure Stream Analytics Management client library for JavaScript with `npm`:
```bash
npm install @azure/arm-streamanalytics
```
-### How to use
+### Create and authenticate a `StreamAnalyticsManagementClient`
+
+To create a client object to access the Azure Stream Analytics Management API, you will need the `endpoint` of your Azure Stream Analytics Management resource and a `credential`. The Azure Stream Analytics Management client can use Azure Active Directory credentials to authenticate.
+You can find the endpoint for your Azure Stream Analytics Management resource in the [Azure Portal][azure_portal].
-#### nodejs - client creation and get functions as an example written in TypeScript.
+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).
-##### Install @azure/ms-rest-nodeauth
+To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:
-- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`.
```bash
-npm install @azure/ms-rest-nodeauth@"^3.0.0"
+npm install @azure/identity
```
-##### Sample code
+You will also need to **register a new AAD application and grant access to Azure Stream Analytics Management** 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`.
+
+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).
-While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package
-```typescript
-const msRestNodeAuth = require("@azure/ms-rest-nodeauth");
+```javascript
const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics");
-const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
-
-msRestNodeAuth.interactiveLogin().then((creds) => {
- const client = new StreamAnalyticsManagementClient(creds, subscriptionId);
- const resourceGroupName = "testresourceGroupName";
- const jobName = "testjobName";
- const functionName = "testfunctionName";
- client.functions.get(resourceGroupName, jobName, functionName).then((result) => {
- console.log("The result is:");
- console.log(result);
- });
-}).catch((err) => {
- console.error(err);
-});
+const { DefaultAzureCredential } = require("@azure/identity");
+const subscriptionId = "00000000-0000-0000-0000-000000000000";
+const client = new StreamAnalyticsManagementClient(new DefaultAzureCredential(), subscriptionId);
```
-#### browser - Authentication, client creation and get functions as an example written in JavaScript.
+## Key concepts
-##### Install @azure/ms-rest-browserauth
+### StreamAnalyticsManagementClient
-```bash
-npm install @azure/ms-rest-browserauth
-```
+`StreamAnalyticsManagementClient` is the primary interface for developers using the Azure Stream Analytics Management client library. Explore the methods on this client object to understand the different features of the Azure Stream Analytics Management service that you can access.
-##### Sample code
-
-See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser.
-
-- index.html
-```html
-
-
-
- @azure/arm-streamanalytics sample
-
-
-
-
-
-
-
-
+## 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)
+
+![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fstreamanalytics%2Farm-streamanalytics%2FREADME.png)
-![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/streamanalytics/arm-streamanalytics/README.png)
+[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/streamanalytics/arm-streamanalytics/_meta.json b/sdk/streamanalytics/arm-streamanalytics/_meta.json
new file mode 100644
index 000000000000..830c339d70ae
--- /dev/null
+++ b/sdk/streamanalytics/arm-streamanalytics/_meta.json
@@ -0,0 +1,7 @@
+{
+ "commit": "ab4df5f2d9c23273442c5b2029a08f2014533dd2",
+ "readme": "specification/streamanalytics/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/streamanalytics/resource-manager/readme.md --use=@autorest/typescript@6.0.0-beta.14",
+ "repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
+ "use": "@autorest/typescript@6.0.0-beta.14"
+}
\ No newline at end of file
diff --git a/sdk/streamanalytics/arm-streamanalytics/api-extractor.json b/sdk/streamanalytics/arm-streamanalytics/api-extractor.json
new file mode 100644
index 000000000000..2aa8197f24a7
--- /dev/null
+++ b/sdk/streamanalytics/arm-streamanalytics/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-streamanalytics.d.ts"
+ },
+ "messages": {
+ "tsdocMessageReporting": { "default": { "logLevel": "none" } },
+ "extractorMessageReporting": {
+ "ae-missing-release-tag": { "logLevel": "none" },
+ "ae-unresolved-link": { "logLevel": "none" }
+ }
+ }
+}
diff --git a/sdk/streamanalytics/arm-streamanalytics/package.json b/sdk/streamanalytics/arm-streamanalytics/package.json
index e5246c121745..03857ef6cb80 100644
--- a/sdk/streamanalytics/arm-streamanalytics/package.json
+++ b/sdk/streamanalytics/arm-streamanalytics/package.json
@@ -1,57 +1,90 @@
{
"name": "@azure/arm-streamanalytics",
+ "sdk-type": "mgmt",
"author": "Microsoft Corporation",
- "description": "StreamAnalyticsManagementClient Library with typescript type definitions for node.js and browser.",
- "version": "2.0.0",
+ "description": "A generated SDK for StreamAnalyticsManagementClient.",
+ "version": "3.0.0-beta.1",
+ "engines": { "node": ">=12.0.0" },
"dependencies": {
- "@azure/ms-rest-azure-js": "^2.0.1",
- "@azure/ms-rest-js": "^2.0.4",
- "tslib": "^1.10.0"
+ "@azure/core-lro": "^2.2.0",
+ "@azure/abort-controller": "^1.0.0",
+ "@azure/core-paging": "^1.2.0",
+ "@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-streamanalytics.js",
- "module": "./esm/streamAnalyticsManagementClient.js",
- "types": "./esm/streamAnalyticsManagementClient.d.ts",
+ "main": "./dist/index.js",
+ "module": "./dist-esm/src/index.js",
+ "types": "./types/arm-streamanalytics.d.ts",
"devDependencies": {
- "typescript": "^3.5.3",
- "rollup": "^1.18.0",
- "rollup-plugin-node-resolve": "^5.2.0",
+ "@microsoft/api-extractor": "^7.18.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.1",
+ "@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/streamanalytics/arm-streamanalytics",
"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-streamanalytics.js.map'\" -o ./dist/arm-streamanalytics.min.js ./dist/arm-streamanalytics.js",
- "prepack": "npm install && npm run build"
+ "build": "npm run clean && 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",
+ "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/streamanalytics/arm-streamanalytics/recordings/node/my_test/recording_sample_test.js b/sdk/streamanalytics/arm-streamanalytics/recordings/node/my_test/recording_sample_test.js
new file mode 100644
index 000000000000..0f6ecb857acf
--- /dev/null
+++ b/sdk/streamanalytics/arm-streamanalytics/recordings/node/my_test/recording_sample_test.js
@@ -0,0 +1,5 @@
+let nock = require('nock');
+
+module.exports.hash = "7a6be38bb8cb644d64b4094802301751";
+
+module.exports.testInfo = {"uniqueName":{},"newDate":{}}
diff --git a/sdk/streamanalytics/arm-streamanalytics/review/arm-streamanalytics.api.md b/sdk/streamanalytics/arm-streamanalytics/review/arm-streamanalytics.api.md
new file mode 100644
index 000000000000..0a67ddca92fb
--- /dev/null
+++ b/sdk/streamanalytics/arm-streamanalytics/review/arm-streamanalytics.api.md
@@ -0,0 +1,1865 @@
+## API Report File for "@azure/arm-streamanalytics"
+
+> 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 type AggregateFunctionProperties = FunctionProperties & {
+ type: "Aggregate";
+};
+
+// @public
+export type AuthenticationMode = string;
+
+// @public
+export type AvroSerialization = Serialization & {
+ type: "Avro";
+ properties?: Record;
+};
+
+// @public
+export type AzureDataLakeStoreOutputDataSource = OutputDataSource & {
+ type: "Microsoft.DataLake/Accounts";
+ refreshToken?: string;
+ tokenUserPrincipalName?: string;
+ tokenUserDisplayName?: string;
+ accountName?: string;
+ tenantId?: string;
+ filePathPrefix?: string;
+ dateFormat?: string;
+ timeFormat?: string;
+ authenticationMode?: AuthenticationMode;
+};
+
+// @public
+export type AzureDataLakeStoreOutputDataSourceProperties = OAuthBasedDataSourceProperties & {
+ accountName?: string;
+ tenantId?: string;
+ filePathPrefix?: string;
+ dateFormat?: string;
+ timeFormat?: string;
+ authenticationMode?: AuthenticationMode;
+};
+
+// @public
+export type AzureFunctionOutputDataSource = OutputDataSource & {
+ type: "Microsoft.AzureFunction";
+ functionAppName?: string;
+ functionName?: string;
+ apiKey?: string;
+ maxBatchSize?: number;
+ maxBatchCount?: number;
+};
+
+// @public
+export type AzureMachineLearningServiceFunctionBinding = FunctionBinding & {
+ type: "Microsoft.MachineLearningServices";
+ endpoint?: string;
+ apiKey?: string;
+ inputs?: AzureMachineLearningServiceInputColumn[];
+ outputs?: AzureMachineLearningServiceOutputColumn[];
+ batchSize?: number;
+ numberOfParallelRequests?: number;
+};
+
+// @public
+export type AzureMachineLearningServiceFunctionRetrieveDefaultDefinitionParameters = FunctionRetrieveDefaultDefinitionParameters & {
+ bindingType: "Microsoft.MachineLearningServices";
+ executeEndpoint?: string;
+ udfType?: "Scalar";
+};
+
+// @public
+export interface AzureMachineLearningServiceInputColumn {
+ dataType?: string;
+ mapTo?: number;
+ name?: string;
+}
+
+// @public
+export interface AzureMachineLearningServiceInputs {
+ columnNames?: AzureMachineLearningServiceInputColumn[];
+ name?: string;
+}
+
+// @public
+export interface AzureMachineLearningServiceOutputColumn {
+ dataType?: string;
+ mapTo?: number;
+ name?: string;
+}
+
+// @public
+export type AzureMachineLearningStudioFunctionBinding = FunctionBinding & {
+ type: "Microsoft.MachineLearning/WebService";
+ endpoint?: string;
+ apiKey?: string;
+ inputs?: AzureMachineLearningStudioInputs;
+ outputs?: AzureMachineLearningStudioOutputColumn[];
+ batchSize?: number;
+};
+
+// @public
+export type AzureMachineLearningStudioFunctionRetrieveDefaultDefinitionParameters = FunctionRetrieveDefaultDefinitionParameters & {
+ bindingType: "Microsoft.MachineLearning/WebService";
+ executeEndpoint?: string;
+ udfType?: "Scalar";
+};
+
+// @public
+export interface AzureMachineLearningStudioInputColumn {
+ dataType?: string;
+ mapTo?: number;
+ name?: string;
+}
+
+// @public
+export interface AzureMachineLearningStudioInputs {
+ columnNames?: AzureMachineLearningStudioInputColumn[];
+ name?: string;
+}
+
+// @public
+export interface AzureMachineLearningStudioOutputColumn {
+ dataType?: string;
+ name?: string;
+}
+
+// @public
+export interface AzureSqlDatabaseDataSourceProperties {
+ authenticationMode?: AuthenticationMode;
+ database?: string;
+ maxBatchCount?: number;
+ maxWriterCount?: number;
+ password?: string;
+ server?: string;
+ table?: string;
+ user?: string;
+}
+
+// @public
+export type AzureSqlDatabaseOutputDataSource = OutputDataSource & {
+ type: "Microsoft.Sql/Server/Database";
+ server?: string;
+ database?: string;
+ user?: string;
+ password?: string;
+ table?: string;
+ maxBatchCount?: number;
+ maxWriterCount?: number;
+ authenticationMode?: AuthenticationMode;
+};
+
+// @public
+export type AzureSqlDatabaseOutputDataSourceProperties = AzureSqlDatabaseDataSourceProperties & {};
+
+// @public
+export type AzureSqlReferenceInputDataSource = ReferenceInputDataSource & {
+ type: "Microsoft.Sql/Server/Database";
+ properties?: AzureSqlReferenceInputDataSourceProperties;
+};
+
+// @public
+export interface AzureSqlReferenceInputDataSourceProperties {
+ database?: string;
+ deltaSnapshotQuery?: string;
+ fullSnapshotQuery?: string;
+ password?: string;
+ refreshRate?: string;
+ refreshType?: string;
+ server?: string;
+ table?: string;
+ user?: string;
+}
+
+// @public
+export interface AzureSynapseDataSourceProperties {
+ database?: string;
+ password?: string;
+ server?: string;
+ table?: string;
+ user?: string;
+}
+
+// @public
+export type AzureSynapseOutputDataSource = OutputDataSource & {
+ type: "Microsoft.Sql/Server/DataWarehouse";
+ server?: string;
+ database?: string;
+ table?: string;
+ user?: string;
+ password?: string;
+};
+
+// @public
+export type AzureSynapseOutputDataSourceProperties = AzureSynapseDataSourceProperties & {};
+
+// @public
+export type AzureTableOutputDataSource = OutputDataSource & {
+ type: "Microsoft.Storage/Table";
+ accountName?: string;
+ accountKey?: string;
+ table?: string;
+ partitionKey?: string;
+ rowKey?: string;
+ columnsToRemove?: string[];
+ batchSize?: number;
+};
+
+// @public
+export interface BlobDataSourceProperties {
+ container?: string;
+ dateFormat?: string;
+ pathPattern?: string;
+ storageAccounts?: StorageAccount[];
+ timeFormat?: string;
+}
+
+// @public
+export type BlobOutputDataSource = OutputDataSource & {
+ type: "Microsoft.Storage/Blob";
+ storageAccounts?: StorageAccount[];
+ container?: string;
+ pathPattern?: string;
+ dateFormat?: string;
+ timeFormat?: string;
+ authenticationMode?: AuthenticationMode;
+};
+
+// @public
+export type BlobOutputDataSourceProperties = BlobDataSourceProperties & {
+ authenticationMode?: AuthenticationMode;
+};
+
+// @public
+export type BlobReferenceInputDataSource = ReferenceInputDataSource & {
+ type: "Microsoft.Storage/Blob";
+ storageAccounts?: StorageAccount[];
+ container?: string;
+ pathPattern?: string;
+ dateFormat?: string;
+ timeFormat?: string;
+};
+
+// @public
+export type BlobReferenceInputDataSourceProperties = BlobDataSourceProperties & {};
+
+// @public
+export type BlobStreamInputDataSource = StreamInputDataSource & {
+ type: "Microsoft.Storage/Blob";
+ storageAccounts?: StorageAccount[];
+ container?: string;
+ pathPattern?: string;
+ dateFormat?: string;
+ timeFormat?: string;
+ sourcePartitionCount?: number;
+};
+
+// @public
+export type BlobStreamInputDataSourceProperties = BlobDataSourceProperties & {
+ sourcePartitionCount?: number;
+};
+
+// @public
+export type Cluster = TrackedResource & {
+ sku?: ClusterSku;
+ readonly etag?: string;
+ properties?: ClusterProperties;
+};
+
+// @public
+export interface ClusterInfo {
+ id?: string;
+}
+
+// @public
+export interface ClusterJob {
+ readonly id?: string;
+ readonly jobState?: JobState;
+ readonly streamingUnits?: number;
+}
+
+// @public
+export interface ClusterJobListResult {
+ readonly nextLink?: string;
+ readonly value?: ClusterJob[];
+}
+
+// @public
+export interface ClusterListResult {
+ readonly nextLink?: string;
+ readonly value?: Cluster[];
+}
+
+// @public
+export interface ClusterProperties {
+ readonly capacityAllocated?: number;
+ readonly capacityAssigned?: number;
+ readonly clusterId?: string;
+ readonly createdDate?: Date;
+ readonly provisioningState?: ClusterProvisioningState;
+}
+
+// @public
+export type ClusterProvisioningState = string;
+
+// @public
+export interface Clusters {
+ beginCreateOrUpdate(resourceGroupName: string, clusterName: string, cluster: Cluster, options?: ClustersCreateOrUpdateOptionalParams): Promise, ClustersCreateOrUpdateResponse>>;
+ beginCreateOrUpdateAndWait(resourceGroupName: string, clusterName: string, cluster: Cluster, options?: ClustersCreateOrUpdateOptionalParams): Promise;
+ beginDelete(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise, void>>;
+ beginDeleteAndWait(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise;
+ beginUpdate(resourceGroupName: string, clusterName: string, cluster: Cluster, options?: ClustersUpdateOptionalParams): Promise, ClustersUpdateResponse>>;
+ beginUpdateAndWait(resourceGroupName: string, clusterName: string, cluster: Cluster, options?: ClustersUpdateOptionalParams): Promise;
+ get(resourceGroupName: string, clusterName: string, options?: ClustersGetOptionalParams): Promise;
+ listByResourceGroup(resourceGroupName: string, options?: ClustersListByResourceGroupOptionalParams): PagedAsyncIterableIterator;
+ listBySubscription(options?: ClustersListBySubscriptionOptionalParams): PagedAsyncIterableIterator;
+ listStreamingJobs(resourceGroupName: string, clusterName: string, options?: ClustersListStreamingJobsOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface ClustersCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
+ ifMatch?: string;
+ ifNoneMatch?: string;
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type ClustersCreateOrUpdateResponse = Cluster;
+
+// @public
+export interface ClustersDeleteOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export interface ClustersGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ClustersGetResponse = Cluster;
+
+// @public
+export interface ClusterSku {
+ capacity?: number;
+ name?: ClusterSkuName;
+}
+
+// @public
+export type ClusterSkuName = string;
+
+// @public
+export interface ClustersListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ClustersListByResourceGroupNextResponse = ClusterListResult;
+
+// @public
+export interface ClustersListByResourceGroupOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ClustersListByResourceGroupResponse = ClusterListResult;
+
+// @public
+export interface ClustersListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ClustersListBySubscriptionNextResponse = ClusterListResult;
+
+// @public
+export interface ClustersListBySubscriptionOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ClustersListBySubscriptionResponse = ClusterListResult;
+
+// @public
+export interface ClustersListStreamingJobsNextOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ClustersListStreamingJobsNextResponse = ClusterJobListResult;
+
+// @public
+export interface ClustersListStreamingJobsOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type ClustersListStreamingJobsResponse = ClusterJobListResult;
+
+// @public
+export interface ClustersUpdateOptionalParams extends coreClient.OperationOptions {
+ ifMatch?: string;
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type ClustersUpdateResponse = Cluster;
+
+// @public
+export type CompatibilityLevel = string;
+
+// @public
+export interface CompileQuery {
+ compatibilityLevel?: CompatibilityLevel;
+ functions?: QueryFunction[];
+ inputs?: QueryInput[];
+ jobType: JobType;
+ query: string;
+}
+
+// @public
+export interface Compression {
+ // (undocumented)
+ type: string;
+}
+
+// @public
+export type ContentStoragePolicy = string;
+
+// @public
+export type CSharpFunctionBinding = FunctionBinding & {
+ type: "Microsoft.StreamAnalytics/CLRUdf";
+ script?: string;
+ dllPath?: string;
+ class?: string;
+ method?: string;
+};
+
+// @public
+export type CSharpFunctionRetrieveDefaultDefinitionParameters = FunctionRetrieveDefaultDefinitionParameters & {
+ bindingType: "Microsoft.StreamAnalytics/CLRUdf";
+ script?: string;
+ udfType?: "Scalar";
+};
+
+// @public
+export type CsvSerialization = Serialization & {
+ type: "Csv";
+ fieldDelimiter?: string;
+ encoding?: Encoding;
+};
+
+// @public
+export type CustomClrSerialization = Serialization & {
+ type: "CustomClr";
+ serializationDllPath?: string;
+ serializationClassName?: string;
+};
+
+// @public
+export interface DiagnosticCondition {
+ readonly code?: string;
+ readonly message?: string;
+ readonly since?: string;
+}
+
+// @public
+export interface Diagnostics {
+ readonly conditions?: DiagnosticCondition[];
+}
+
+// @public
+export type DocumentDbOutputDataSource = OutputDataSource & {
+ type: "Microsoft.Storage/DocumentDB";
+ accountId?: string;
+ accountKey?: string;
+ database?: string;
+ collectionNamePattern?: string;
+ partitionKey?: string;
+ documentId?: string;
+};
+
+// @public
+export type Encoding = string;
+
+// @public
+export interface ErrorAutoGenerated {
+ code?: string;
+ details?: ErrorDetails[];
+ message?: string;
+ target?: string;
+}
+
+// @public
+export interface ErrorDetails {
+ code?: string;
+ message?: string;
+ target?: string;
+}
+
+// @public
+export interface ErrorModel {
+ error?: ErrorAutoGenerated;
+}
+
+// @public
+export interface ErrorResponse {
+ readonly code?: string;
+ readonly message?: string;
+}
+
+// @public
+export type EventHubDataSourceProperties = ServiceBusDataSourceProperties & {
+ eventHubName?: string;
+};
+
+// @public
+export type EventHubOutputDataSource = OutputDataSource & {
+ type: "Microsoft.ServiceBus/EventHub";
+ serviceBusNamespace?: string;
+ sharedAccessPolicyName?: string;
+ sharedAccessPolicyKey?: string;
+ authenticationMode?: AuthenticationMode;
+ eventHubName?: string;
+ partitionKey?: string;
+ propertyColumns?: string[];
+};
+
+// @public
+export type EventHubOutputDataSourceProperties = EventHubDataSourceProperties & {
+ partitionKey?: string;
+ propertyColumns?: string[];
+};
+
+// @public
+export type EventHubStreamInputDataSource = StreamInputDataSource & {
+ type: "Microsoft.ServiceBus/EventHub";
+ serviceBusNamespace?: string;
+ sharedAccessPolicyName?: string;
+ sharedAccessPolicyKey?: string;
+ authenticationMode?: AuthenticationMode;
+ eventHubName?: string;
+ consumerGroupName?: string;
+};
+
+// @public
+export type EventHubStreamInputDataSourceProperties = EventHubDataSourceProperties & {
+ consumerGroupName?: string;
+};
+
+// @public
+export type EventHubV2OutputDataSource = OutputDataSource & {
+ type: "Microsoft.EventHub/EventHub";
+ serviceBusNamespace?: string;
+ sharedAccessPolicyName?: string;
+ sharedAccessPolicyKey?: string;
+ authenticationMode?: AuthenticationMode;
+ eventHubName?: string;
+ partitionKey?: string;
+ propertyColumns?: string[];
+};
+
+// @public
+export type EventHubV2StreamInputDataSource = StreamInputDataSource & {
+ type: "Microsoft.EventHub/EventHub";
+ serviceBusNamespace?: string;
+ sharedAccessPolicyName?: string;
+ sharedAccessPolicyKey?: string;
+ authenticationMode?: AuthenticationMode;
+ eventHubName?: string;
+ consumerGroupName?: string;
+};
+
+// @public
+export type EventSerializationType = string;
+
+// @public
+export type EventsOutOfOrderPolicy = string;
+
+// @public
+interface External_2 {
+ // (undocumented)
+ container?: string;
+ // (undocumented)
+ path?: string;
+ storageAccount?: StorageAccount;
+}
+export { External_2 as External }
+
+// @public
+export interface FunctionBinding {
+ type: "Microsoft.MachineLearning/WebService" | "Microsoft.StreamAnalytics/JavascriptUdf" | "Microsoft.StreamAnalytics/CLRUdf" | "Microsoft.MachineLearningServices";
+}
+
+// @public (undocumented)
+export type FunctionBindingUnion = FunctionBinding | AzureMachineLearningStudioFunctionBinding | JavaScriptFunctionBinding | CSharpFunctionBinding | AzureMachineLearningServiceFunctionBinding;
+
+// @public
+export interface FunctionInput {
+ dataType?: string;
+ isConfigurationParameter?: boolean;
+}
+
+// @public
+export interface FunctionListResult {
+ readonly nextLink?: string;
+ readonly value?: FunctionModel[];
+}
+
+// @public
+export type FunctionModel = SubResource & {
+ properties?: FunctionPropertiesUnion;
+};
+
+// @public
+export interface FunctionOutput {
+ dataType?: string;
+}
+
+// @public
+export interface FunctionProperties {
+ binding?: FunctionBindingUnion;
+ readonly etag?: string;
+ // (undocumented)
+ inputs?: FunctionInput[];
+ output?: FunctionOutput;
+ type: "Scalar" | "Aggregate";
+}
+
+// @public (undocumented)
+export type FunctionPropertiesUnion = FunctionProperties | ScalarFunctionProperties | AggregateFunctionProperties;
+
+// @public
+export interface FunctionRetrieveDefaultDefinitionParameters {
+ bindingType: "Microsoft.MachineLearning/WebService" | "Microsoft.MachineLearningServices" | "Microsoft.StreamAnalytics/JavascriptUdf" | "Microsoft.StreamAnalytics/CLRUdf";
+}
+
+// @public (undocumented)
+export type FunctionRetrieveDefaultDefinitionParametersUnion = FunctionRetrieveDefaultDefinitionParameters | AzureMachineLearningStudioFunctionRetrieveDefaultDefinitionParameters | AzureMachineLearningServiceFunctionRetrieveDefaultDefinitionParameters | JavaScriptFunctionRetrieveDefaultDefinitionParameters | CSharpFunctionRetrieveDefaultDefinitionParameters;
+
+// @public
+export interface Functions {
+ beginTest(resourceGroupName: string, jobName: string, functionName: string, options?: FunctionsTestOptionalParams): Promise, FunctionsTestResponse>>;
+ beginTestAndWait(resourceGroupName: string, jobName: string, functionName: string, options?: FunctionsTestOptionalParams): Promise;
+ createOrReplace(resourceGroupName: string, jobName: string, functionName: string, functionParam: FunctionModel, options?: FunctionsCreateOrReplaceOptionalParams): Promise;
+ delete(resourceGroupName: string, jobName: string, functionName: string, options?: FunctionsDeleteOptionalParams): Promise;
+ get(resourceGroupName: string, jobName: string, functionName: string, options?: FunctionsGetOptionalParams): Promise;
+ listByStreamingJob(resourceGroupName: string, jobName: string, options?: FunctionsListByStreamingJobOptionalParams): PagedAsyncIterableIterator;
+ retrieveDefaultDefinition(resourceGroupName: string, jobName: string, functionName: string, options?: FunctionsRetrieveDefaultDefinitionOptionalParams): Promise;
+ update(resourceGroupName: string, jobName: string, functionName: string, functionParam: FunctionModel, options?: FunctionsUpdateOptionalParams): Promise;
+}
+
+// @public
+export interface FunctionsCreateOrReplaceHeaders {
+ eTag?: string;
+}
+
+// @public
+export interface FunctionsCreateOrReplaceOptionalParams extends coreClient.OperationOptions {
+ ifMatch?: string;
+ ifNoneMatch?: string;
+}
+
+// @public
+export type FunctionsCreateOrReplaceResponse = FunctionsCreateOrReplaceHeaders & FunctionModel;
+
+// @public
+export interface FunctionsDeleteOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export interface FunctionsGetHeaders {
+ eTag?: string;
+}
+
+// @public
+export interface FunctionsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type FunctionsGetResponse = FunctionsGetHeaders & FunctionModel;
+
+// @public
+export interface FunctionsListByStreamingJobNextOptionalParams extends coreClient.OperationOptions {
+ select?: string;
+}
+
+// @public
+export type FunctionsListByStreamingJobNextResponse = FunctionListResult;
+
+// @public
+export interface FunctionsListByStreamingJobOptionalParams extends coreClient.OperationOptions {
+ select?: string;
+}
+
+// @public
+export type FunctionsListByStreamingJobResponse = FunctionListResult;
+
+// @public
+export interface FunctionsRetrieveDefaultDefinitionOptionalParams extends coreClient.OperationOptions {
+ functionRetrieveDefaultDefinitionParameters?: FunctionRetrieveDefaultDefinitionParametersUnion;
+}
+
+// @public
+export type FunctionsRetrieveDefaultDefinitionResponse = FunctionModel;
+
+// @public
+export interface FunctionsTestOptionalParams extends coreClient.OperationOptions {
+ functionParam?: FunctionModel;
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type FunctionsTestResponse = ResourceTestStatus;
+
+// @public
+export interface FunctionsUpdateHeaders {
+ eTag?: string;
+}
+
+// @public
+export interface FunctionsUpdateOptionalParams extends coreClient.OperationOptions {
+ ifMatch?: string;
+}
+
+// @public
+export type FunctionsUpdateResponse = FunctionsUpdateHeaders & FunctionModel;
+
+// @public
+export interface Identity {
+ // (undocumented)
+ principalId?: string;
+ // (undocumented)
+ tenantId?: string;
+ // (undocumented)
+ type?: string;
+}
+
+// @public
+export type Input = SubResource & {
+ properties?: InputPropertiesUnion;
+};
+
+// @public
+export interface InputListResult {
+ readonly nextLink?: string;
+ readonly value?: Input[];
+}
+
+// @public
+export interface InputProperties {
+ compression?: Compression;
+ readonly diagnostics?: Diagnostics;
+ readonly etag?: string;
+ partitionKey?: string;
+ serialization?: SerializationUnion;
+ type: "Stream" | "Reference";
+}
+
+// @public (undocumented)
+export type InputPropertiesUnion = InputProperties | StreamInputProperties | ReferenceInputProperties;
+
+// @public
+export interface Inputs {
+ beginTest(resourceGroupName: string, jobName: string, inputName: string, options?: InputsTestOptionalParams): Promise, InputsTestResponse>>;
+ beginTestAndWait(resourceGroupName: string, jobName: string, inputName: string, options?: InputsTestOptionalParams): Promise;
+ createOrReplace(resourceGroupName: string, jobName: string, inputName: string, input: Input, options?: InputsCreateOrReplaceOptionalParams): Promise;
+ delete(resourceGroupName: string, jobName: string, inputName: string, options?: InputsDeleteOptionalParams): Promise;
+ get(resourceGroupName: string, jobName: string, inputName: string, options?: InputsGetOptionalParams): Promise;
+ listByStreamingJob(resourceGroupName: string, jobName: string, options?: InputsListByStreamingJobOptionalParams): PagedAsyncIterableIterator ;
+ update(resourceGroupName: string, jobName: string, inputName: string, input: Input, options?: InputsUpdateOptionalParams): Promise;
+}
+
+// @public
+export interface InputsCreateOrReplaceHeaders {
+ eTag?: string;
+}
+
+// @public
+export interface InputsCreateOrReplaceOptionalParams extends coreClient.OperationOptions {
+ ifMatch?: string;
+ ifNoneMatch?: string;
+}
+
+// @public
+export type InputsCreateOrReplaceResponse = InputsCreateOrReplaceHeaders & Input;
+
+// @public
+export interface InputsDeleteOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export interface InputsGetHeaders {
+ eTag?: string;
+}
+
+// @public
+export interface InputsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type InputsGetResponse = InputsGetHeaders & Input;
+
+// @public
+export interface InputsListByStreamingJobNextOptionalParams extends coreClient.OperationOptions {
+ select?: string;
+}
+
+// @public
+export type InputsListByStreamingJobNextResponse = InputListResult;
+
+// @public
+export interface InputsListByStreamingJobOptionalParams extends coreClient.OperationOptions {
+ select?: string;
+}
+
+// @public
+export type InputsListByStreamingJobResponse = InputListResult;
+
+// @public
+export interface InputsTestOptionalParams extends coreClient.OperationOptions {
+ input?: Input;
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type InputsTestResponse = ResourceTestStatus;
+
+// @public
+export interface InputsUpdateHeaders {
+ eTag?: string;
+}
+
+// @public
+export interface InputsUpdateOptionalParams extends coreClient.OperationOptions {
+ ifMatch?: string;
+}
+
+// @public
+export type InputsUpdateResponse = InputsUpdateHeaders & Input;
+
+// @public
+export type IoTHubStreamInputDataSource = StreamInputDataSource & {
+ type: "Microsoft.Devices/IotHubs";
+ iotHubNamespace?: string;
+ sharedAccessPolicyName?: string;
+ sharedAccessPolicyKey?: string;
+ consumerGroupName?: string;
+ endpoint?: string;
+};
+
+// @public
+export type JavaScriptFunctionBinding = FunctionBinding & {
+ type: "Microsoft.StreamAnalytics/JavascriptUdf";
+ script?: string;
+};
+
+// @public
+export type JavaScriptFunctionRetrieveDefaultDefinitionParameters = FunctionRetrieveDefaultDefinitionParameters & {
+ bindingType: "Microsoft.StreamAnalytics/JavascriptUdf";
+ script?: string;
+ udfType?: "Scalar";
+};
+
+// @public
+export type JobState = string;
+
+// @public
+export type JobStorageAccount = StorageAccount & {
+ authenticationMode?: AuthenticationMode;
+};
+
+// @public
+export type JobType = string;
+
+// @public
+export type JsonOutputSerializationFormat = string;
+
+// @public
+export type JsonSerialization = Serialization & {
+ type: "Json";
+ encoding?: Encoding;
+ format?: JsonOutputSerializationFormat;
+};
+
+// @public
+export enum KnownAuthenticationMode {
+ // (undocumented)
+ ConnectionString = "ConnectionString",
+ // (undocumented)
+ Msi = "Msi",
+ // (undocumented)
+ UserToken = "UserToken"
+}
+
+// @public
+export enum KnownClusterProvisioningState {
+ Canceled = "Canceled",
+ Failed = "Failed",
+ InProgress = "InProgress",
+ Succeeded = "Succeeded"
+}
+
+// @public
+export enum KnownClusterSkuName {
+ Default = "Default"
+}
+
+// @public
+export enum KnownCompatibilityLevel {
+ // (undocumented)
+ One0 = "1.0"
+}
+
+// @public
+export enum KnownContentStoragePolicy {
+ // (undocumented)
+ JobStorageAccount = "JobStorageAccount",
+ // (undocumented)
+ SystemAccount = "SystemAccount"
+}
+
+// @public
+export enum KnownEncoding {
+ // (undocumented)
+ UTF8 = "UTF8"
+}
+
+// @public
+export enum KnownEventSerializationType {
+ // (undocumented)
+ Avro = "Avro",
+ // (undocumented)
+ Csv = "Csv",
+ // (undocumented)
+ CustomClr = "CustomClr",
+ // (undocumented)
+ Json = "Json",
+ // (undocumented)
+ Parquet = "Parquet"
+}
+
+// @public
+export enum KnownEventsOutOfOrderPolicy {
+ // (undocumented)
+ Adjust = "Adjust",
+ // (undocumented)
+ Drop = "Drop"
+}
+
+// @public
+export enum KnownJobState {
+ Created = "Created",
+ Degraded = "Degraded",
+ Deleting = "Deleting",
+ Failed = "Failed",
+ Restarting = "Restarting",
+ Running = "Running",
+ Scaling = "Scaling",
+ Starting = "Starting",
+ Stopped = "Stopped",
+ Stopping = "Stopping"
+}
+
+// @public
+export enum KnownJobType {
+ // (undocumented)
+ Cloud = "Cloud",
+ // (undocumented)
+ Edge = "Edge"
+}
+
+// @public
+export enum KnownJsonOutputSerializationFormat {
+ // (undocumented)
+ Array = "Array",
+ // (undocumented)
+ LineSeparated = "LineSeparated"
+}
+
+// @public
+export enum KnownOutputErrorPolicy {
+ // (undocumented)
+ Drop = "Drop",
+ // (undocumented)
+ Stop = "Stop"
+}
+
+// @public
+export enum KnownOutputStartMode {
+ // (undocumented)
+ CustomTime = "CustomTime",
+ // (undocumented)
+ JobStartTime = "JobStartTime",
+ // (undocumented)
+ LastOutputEventTime = "LastOutputEventTime"
+}
+
+// @public
+export enum KnownQueryTestingResultStatus {
+ CompilerError = "CompilerError",
+ RuntimeError = "RuntimeError",
+ Started = "Started",
+ Success = "Success",
+ Timeout = "Timeout",
+ UnknownError = "UnknownError"
+}
+
+// @public
+export enum KnownSampleInputResultStatus {
+ ErrorConnectingToInput = "ErrorConnectingToInput",
+ NoEventsFoundInRange = "NoEventsFoundInRange",
+ ReadAllEventsInRange = "ReadAllEventsInRange"
+}
+
+// @public
+export enum KnownStreamingJobSkuName {
+ // (undocumented)
+ Standard = "Standard"
+}
+
+// @public
+export enum KnownTestDatasourceResultStatus {
+ TestFailed = "TestFailed",
+ TestSucceeded = "TestSucceeded"
+}
+
+// @public
+export interface OAuthBasedDataSourceProperties {
+ refreshToken?: string;
+ tokenUserDisplayName?: string;
+ tokenUserPrincipalName?: string;
+}
+
+// @public
+export interface Operation {
+ readonly display?: OperationDisplay;
+ readonly name?: string;
+}
+
+// @public
+export interface OperationDisplay {
+ readonly description?: string;
+ readonly operation?: string;
+ readonly provider?: string;
+ readonly resource?: string;
+}
+
+// @public
+export interface OperationListResult {
+ readonly nextLink?: string;
+ readonly value?: Operation[];
+}
+
+// @public
+export interface Operations {
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type OperationsListNextResponse = OperationListResult;
+
+// @public
+export interface OperationsListOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type OperationsListResponse = OperationListResult;
+
+// @public
+export type Output = SubResource & {
+ datasource?: OutputDataSourceUnion;
+ timeWindow?: string;
+ sizeWindow?: number;
+ serialization?: SerializationUnion;
+ readonly diagnostics?: Diagnostics;
+ readonly etag?: string;
+};
+
+// @public
+export interface OutputDataSource {
+ type: "Raw" | "Microsoft.Storage/Blob" | "Microsoft.Storage/Table" | "Microsoft.ServiceBus/EventHub" | "Microsoft.EventHub/EventHub" | "Microsoft.Sql/Server/Database" | "Microsoft.Sql/Server/DataWarehouse" | "Microsoft.Storage/DocumentDB" | "Microsoft.AzureFunction" | "Microsoft.ServiceBus/Queue" | "Microsoft.ServiceBus/Topic" | "PowerBI" | "Microsoft.DataLake/Accounts";
+}
+
+// @public (undocumented)
+export type OutputDataSourceUnion = OutputDataSource | RawOutputDatasource | BlobOutputDataSource | AzureTableOutputDataSource | EventHubOutputDataSource | EventHubV2OutputDataSource | AzureSqlDatabaseOutputDataSource | AzureSynapseOutputDataSource | DocumentDbOutputDataSource | AzureFunctionOutputDataSource | ServiceBusQueueOutputDataSource | ServiceBusTopicOutputDataSource | PowerBIOutputDataSource | AzureDataLakeStoreOutputDataSource;
+
+// @public
+export type OutputErrorPolicy = string;
+
+// @public
+export interface OutputListResult {
+ readonly nextLink?: string;
+ readonly value?: Output[];
+}
+
+// @public
+export interface Outputs {
+ beginTest(resourceGroupName: string, jobName: string, outputName: string, options?: OutputsTestOptionalParams): Promise, OutputsTestResponse>>;
+ beginTestAndWait(resourceGroupName: string, jobName: string, outputName: string, options?: OutputsTestOptionalParams): Promise;
+ createOrReplace(resourceGroupName: string, jobName: string, outputName: string, output: Output, options?: OutputsCreateOrReplaceOptionalParams): Promise;
+ delete(resourceGroupName: string, jobName: string, outputName: string, options?: OutputsDeleteOptionalParams): Promise;
+ get(resourceGroupName: string, jobName: string, outputName: string, options?: OutputsGetOptionalParams): Promise;
+ listByStreamingJob(resourceGroupName: string, jobName: string, options?: OutputsListByStreamingJobOptionalParams): PagedAsyncIterableIterator;
+ update(resourceGroupName: string, jobName: string, outputName: string, output: Output, options?: OutputsUpdateOptionalParams): Promise;
+}
+
+// @public
+export interface OutputsCreateOrReplaceHeaders {
+ eTag?: string;
+}
+
+// @public
+export interface OutputsCreateOrReplaceOptionalParams extends coreClient.OperationOptions {
+ ifMatch?: string;
+ ifNoneMatch?: string;
+}
+
+// @public
+export type OutputsCreateOrReplaceResponse = OutputsCreateOrReplaceHeaders & Output;
+
+// @public
+export interface OutputsDeleteOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export interface OutputsGetHeaders {
+ eTag?: string;
+}
+
+// @public
+export interface OutputsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type OutputsGetResponse = OutputsGetHeaders & Output;
+
+// @public
+export interface OutputsListByStreamingJobNextOptionalParams extends coreClient.OperationOptions {
+ select?: string;
+}
+
+// @public
+export type OutputsListByStreamingJobNextResponse = OutputListResult;
+
+// @public
+export interface OutputsListByStreamingJobOptionalParams extends coreClient.OperationOptions {
+ select?: string;
+}
+
+// @public
+export type OutputsListByStreamingJobResponse = OutputListResult;
+
+// @public
+export type OutputStartMode = string;
+
+// @public
+export interface OutputsTestOptionalParams extends coreClient.OperationOptions {
+ output?: Output;
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type OutputsTestResponse = ResourceTestStatus;
+
+// @public
+export interface OutputsUpdateHeaders {
+ eTag?: string;
+}
+
+// @public
+export interface OutputsUpdateOptionalParams extends coreClient.OperationOptions {
+ ifMatch?: string;
+}
+
+// @public
+export type OutputsUpdateResponse = OutputsUpdateHeaders & Output;
+
+// @public
+export type ParquetSerialization = Serialization & {
+ type: "Parquet";
+ properties?: Record;
+};
+
+// @public
+export type PowerBIOutputDataSource = OutputDataSource & {
+ type: "PowerBI";
+ refreshToken?: string;
+ tokenUserPrincipalName?: string;
+ tokenUserDisplayName?: string;
+ dataset?: string;
+ table?: string;
+ groupId?: string;
+ groupName?: string;
+ authenticationMode?: AuthenticationMode;
+};
+
+// @public
+export type PowerBIOutputDataSourceProperties = OAuthBasedDataSourceProperties & {
+ dataset?: string;
+ table?: string;
+ groupId?: string;
+ groupName?: string;
+ authenticationMode?: AuthenticationMode;
+};
+
+// @public
+export type PrivateEndpoint = ProxyResource & {
+ properties?: PrivateEndpointProperties;
+ readonly etag?: string;
+};
+
+// @public
+export interface PrivateEndpointListResult {
+ readonly nextLink?: string;
+ readonly value?: PrivateEndpoint[];
+}
+
+// @public
+export interface PrivateEndpointProperties {
+ readonly createdDate?: string;
+ manualPrivateLinkServiceConnections?: PrivateLinkServiceConnection[];
+}
+
+// @public
+export interface PrivateEndpoints {
+ beginDelete(resourceGroupName: string, clusterName: string, privateEndpointName: string, options?: PrivateEndpointsDeleteOptionalParams): Promise, void>>;
+ beginDeleteAndWait(resourceGroupName: string, clusterName: string, privateEndpointName: string, options?: PrivateEndpointsDeleteOptionalParams): Promise;
+ createOrUpdate(resourceGroupName: string, clusterName: string, privateEndpointName: string, privateEndpoint: PrivateEndpoint, options?: PrivateEndpointsCreateOrUpdateOptionalParams): Promise;
+ get(resourceGroupName: string, clusterName: string, privateEndpointName: string, options?: PrivateEndpointsGetOptionalParams): Promise;
+ listByCluster(resourceGroupName: string, clusterName: string, options?: PrivateEndpointsListByClusterOptionalParams): PagedAsyncIterableIterator;
+}
+
+// @public
+export interface PrivateEndpointsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
+ ifMatch?: string;
+ ifNoneMatch?: string;
+}
+
+// @public
+export type PrivateEndpointsCreateOrUpdateResponse = PrivateEndpoint;
+
+// @public
+export interface PrivateEndpointsDeleteOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export interface PrivateEndpointsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type PrivateEndpointsGetResponse = PrivateEndpoint;
+
+// @public
+export interface PrivateEndpointsListByClusterNextOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type PrivateEndpointsListByClusterNextResponse = PrivateEndpointListResult;
+
+// @public
+export interface PrivateEndpointsListByClusterOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type PrivateEndpointsListByClusterResponse = PrivateEndpointListResult;
+
+// @public
+export interface PrivateLinkConnectionState {
+ readonly actionsRequired?: string;
+ readonly description?: string;
+ readonly status?: string;
+}
+
+// @public
+export interface PrivateLinkServiceConnection {
+ groupIds?: string[];
+ privateLinkServiceConnectionState?: PrivateLinkConnectionState;
+ privateLinkServiceId?: string;
+ requestMessage?: string;
+}
+
+// @public
+export type ProxyResource = Resource & {};
+
+// @public
+export interface QueryCompilationError {
+ readonly endColumn?: number;
+ readonly endLine?: number;
+ readonly isGlobal?: boolean;
+ readonly message?: string;
+ readonly startColumn?: number;
+ readonly startLine?: number;
+}
+
+// @public
+export interface QueryCompilationResult {
+ readonly errors?: QueryCompilationError[];
+ readonly functions?: string[];
+ readonly inputs?: string[];
+ readonly outputs?: string[];
+ readonly warnings?: string[];
+}
+
+// @public
+export interface QueryFunction {
+ bindingType: string;
+ inputs: FunctionInput[];
+ name: string;
+ output: FunctionOutput;
+ type: string;
+}
+
+// @public
+export interface QueryInput {
+ name: string;
+ type: string;
+}
+
+// @public
+export type QueryTestingResult = ErrorModel & {
+ readonly status?: QueryTestingResultStatus;
+ readonly outputUri?: string;
+};
+
+// @public
+export type QueryTestingResultStatus = string;
+
+// @public
+export type RawOutputDatasource = OutputDataSource & {
+ type: "Raw";
+ payloadUri?: string;
+};
+
+// @public
+export type RawReferenceInputDataSource = ReferenceInputDataSource & {
+ type: "Raw";
+ payload?: string;
+ payloadUri?: string;
+};
+
+// @public
+export type RawStreamInputDataSource = StreamInputDataSource & {
+ type: "Raw";
+ payload?: string;
+ payloadUri?: string;
+};
+
+// @public
+export interface ReferenceInputDataSource {
+ type: "Microsoft.Storage/Blob" | "Raw" | "Microsoft.Sql/Server/Database";
+}
+
+// @public (undocumented)
+export type ReferenceInputDataSourceUnion = ReferenceInputDataSource | BlobReferenceInputDataSource | RawReferenceInputDataSource | AzureSqlReferenceInputDataSource;
+
+// @public
+export type ReferenceInputProperties = InputProperties & {
+ type: "Reference";
+ datasource?: ReferenceInputDataSourceUnion;
+};
+
+// @public
+export interface Resource {
+ readonly id?: string;
+ readonly name?: string;
+ readonly type?: string;
+}
+
+// @public
+export interface ResourceTestStatus {
+ readonly error?: ErrorResponse;
+ readonly status?: string;
+}
+
+// @public
+export interface SampleInput {
+ compatibilityLevel?: string;
+ dataLocale?: string;
+ eventsUri?: string;
+ input?: Input;
+}
+
+// @public
+export type SampleInputResult = ErrorModel & {
+ readonly status?: SampleInputResultStatus;
+ readonly diagnostics?: string[];
+ readonly eventsDownloadUrl?: string;
+ readonly lastArrivalTime?: string;
+};
+
+// @public
+export type SampleInputResultStatus = string;
+
+// @public
+export type ScalarFunctionProperties = FunctionProperties & {
+ type: "Scalar";
+};
+
+// @public
+export interface Serialization {
+ type: "Parquet" | "CustomClr" | "Csv" | "Json" | "Avro";
+}
+
+// @public (undocumented)
+export type SerializationUnion = Serialization | ParquetSerialization | CustomClrSerialization | CsvSerialization | JsonSerialization | AvroSerialization;
+
+// @public
+export interface ServiceBusDataSourceProperties {
+ authenticationMode?: AuthenticationMode;
+ serviceBusNamespace?: string;
+ sharedAccessPolicyKey?: string;
+ sharedAccessPolicyName?: string;
+}
+
+// @public
+export type ServiceBusQueueOutputDataSource = OutputDataSource & {
+ type: "Microsoft.ServiceBus/Queue";
+ serviceBusNamespace?: string;
+ sharedAccessPolicyName?: string;
+ sharedAccessPolicyKey?: string;
+ authenticationMode?: AuthenticationMode;
+ queueName?: string;
+ propertyColumns?: string[];
+ systemPropertyColumns?: {
+ [propertyName: string]: string;
+ };
+};
+
+// @public
+export type ServiceBusQueueOutputDataSourceProperties = ServiceBusDataSourceProperties & {
+ queueName?: string;
+ propertyColumns?: string[];
+ systemPropertyColumns?: {
+ [propertyName: string]: string;
+ };
+};
+
+// @public
+export type ServiceBusTopicOutputDataSource = OutputDataSource & {
+ type: "Microsoft.ServiceBus/Topic";
+ serviceBusNamespace?: string;
+ sharedAccessPolicyName?: string;
+ sharedAccessPolicyKey?: string;
+ authenticationMode?: AuthenticationMode;
+ topicName?: string;
+ propertyColumns?: string[];
+ systemPropertyColumns?: {
+ [propertyName: string]: string;
+ };
+};
+
+// @public
+export type ServiceBusTopicOutputDataSourceProperties = ServiceBusDataSourceProperties & {
+ topicName?: string;
+ propertyColumns?: string[];
+ systemPropertyColumns?: {
+ [propertyName: string]: string;
+ };
+};
+
+// @public
+export interface StartStreamingJobParameters {
+ outputStartMode?: OutputStartMode;
+ outputStartTime?: Date;
+}
+
+// @public
+export interface StorageAccount {
+ accountKey?: string;
+ accountName?: string;
+}
+
+// @public (undocumented)
+export class StreamAnalyticsManagementClient extends StreamAnalyticsManagementClientContext {
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: StreamAnalyticsManagementClientOptionalParams);
+ // (undocumented)
+ clusters: Clusters;
+ // (undocumented)
+ functions: Functions;
+ // (undocumented)
+ inputs: Inputs;
+ // (undocumented)
+ operations: Operations;
+ // (undocumented)
+ outputs: Outputs;
+ // (undocumented)
+ privateEndpoints: PrivateEndpoints;
+ // (undocumented)
+ streamingJobs: StreamingJobs;
+ // (undocumented)
+ subscriptions: Subscriptions;
+ // (undocumented)
+ transformations: Transformations;
+}
+
+// @public (undocumented)
+export class StreamAnalyticsManagementClientContext extends coreClient.ServiceClient {
+ // (undocumented)
+ $host: string;
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: StreamAnalyticsManagementClientOptionalParams);
+ // (undocumented)
+ subscriptionId: string;
+}
+
+// @public
+export interface StreamAnalyticsManagementClientOptionalParams extends coreClient.ServiceClientOptions {
+ $host?: string;
+ endpoint?: string;
+}
+
+// @public
+export type StreamingJob = TrackedResource & {
+ identity?: Identity;
+ sku?: StreamingJobSku;
+ readonly jobId?: string;
+ readonly provisioningState?: string;
+ readonly jobState?: string;
+ jobType?: JobType;
+ outputStartMode?: OutputStartMode;
+ outputStartTime?: Date;
+ readonly lastOutputEventTime?: Date;
+ eventsOutOfOrderPolicy?: EventsOutOfOrderPolicy;
+ outputErrorPolicy?: OutputErrorPolicy;
+ eventsOutOfOrderMaxDelayInSeconds?: number;
+ eventsLateArrivalMaxDelayInSeconds?: number;
+ dataLocale?: string;
+ compatibilityLevel?: CompatibilityLevel;
+ readonly createdDate?: Date;
+ inputs?: Input[];
+ transformation?: Transformation;
+ outputs?: Output[];
+ functions?: FunctionModel[];
+ readonly etag?: string;
+ jobStorageAccount?: JobStorageAccount;
+ contentStoragePolicy?: ContentStoragePolicy;
+ externals?: External_2;
+ cluster?: ClusterInfo;
+};
+
+// @public
+export interface StreamingJobListResult {
+ readonly nextLink?: string;
+ readonly value?: StreamingJob[];
+}
+
+// @public
+export interface StreamingJobs {
+ beginCreateOrReplace(resourceGroupName: string, jobName: string, streamingJob: StreamingJob, options?: StreamingJobsCreateOrReplaceOptionalParams): Promise, StreamingJobsCreateOrReplaceResponse>>;
+ beginCreateOrReplaceAndWait(resourceGroupName: string, jobName: string, streamingJob: StreamingJob, options?: StreamingJobsCreateOrReplaceOptionalParams): Promise;
+ beginDelete(resourceGroupName: string, jobName: string, options?: StreamingJobsDeleteOptionalParams): Promise, void>>;
+ beginDeleteAndWait(resourceGroupName: string, jobName: string, options?: StreamingJobsDeleteOptionalParams): Promise;
+ beginStart(resourceGroupName: string, jobName: string, options?: StreamingJobsStartOptionalParams): Promise, void>>;
+ beginStartAndWait(resourceGroupName: string, jobName: string, options?: StreamingJobsStartOptionalParams): Promise;
+ beginStop(resourceGroupName: string, jobName: string, options?: StreamingJobsStopOptionalParams): Promise, void>>;
+ beginStopAndWait(resourceGroupName: string, jobName: string, options?: StreamingJobsStopOptionalParams): Promise;
+ get(resourceGroupName: string, jobName: string, options?: StreamingJobsGetOptionalParams): Promise;
+ list(options?: StreamingJobsListOptionalParams): PagedAsyncIterableIterator;
+ listByResourceGroup(resourceGroupName: string, options?: StreamingJobsListByResourceGroupOptionalParams): PagedAsyncIterableIterator;
+ update(resourceGroupName: string, jobName: string, streamingJob: StreamingJob, options?: StreamingJobsUpdateOptionalParams): Promise;
+}
+
+// @public
+export interface StreamingJobsCreateOrReplaceHeaders {
+ eTag?: string;
+}
+
+// @public
+export interface StreamingJobsCreateOrReplaceOptionalParams extends coreClient.OperationOptions {
+ ifMatch?: string;
+ ifNoneMatch?: string;
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type StreamingJobsCreateOrReplaceResponse = StreamingJobsCreateOrReplaceHeaders & StreamingJob;
+
+// @public
+export interface StreamingJobsDeleteOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export interface StreamingJobsGetHeaders {
+ eTag?: string;
+}
+
+// @public
+export interface StreamingJobsGetOptionalParams extends coreClient.OperationOptions {
+ expand?: string;
+}
+
+// @public
+export type StreamingJobsGetResponse = StreamingJobsGetHeaders & StreamingJob;
+
+// @public
+export interface StreamingJobSku {
+ name?: StreamingJobSkuName;
+}
+
+// @public
+export type StreamingJobSkuName = string;
+
+// @public
+export interface StreamingJobsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
+ expand?: string;
+}
+
+// @public
+export type StreamingJobsListByResourceGroupNextResponse = StreamingJobListResult;
+
+// @public
+export interface StreamingJobsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
+ expand?: string;
+}
+
+// @public
+export type StreamingJobsListByResourceGroupResponse = StreamingJobListResult;
+
+// @public
+export interface StreamingJobsListNextOptionalParams extends coreClient.OperationOptions {
+ expand?: string;
+}
+
+// @public
+export type StreamingJobsListNextResponse = StreamingJobListResult;
+
+// @public
+export interface StreamingJobsListOptionalParams extends coreClient.OperationOptions {
+ expand?: string;
+}
+
+// @public
+export type StreamingJobsListResponse = StreamingJobListResult;
+
+// @public
+export interface StreamingJobsStartOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ startJobParameters?: StartStreamingJobParameters;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export interface StreamingJobsStopOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export interface StreamingJobsUpdateHeaders {
+ eTag?: string;
+}
+
+// @public
+export interface StreamingJobsUpdateOptionalParams extends coreClient.OperationOptions {
+ ifMatch?: string;
+}
+
+// @public
+export type StreamingJobsUpdateResponse = StreamingJobsUpdateHeaders & StreamingJob;
+
+// @public
+export interface StreamInputDataSource {
+ type: "Microsoft.Storage/Blob" | "Microsoft.ServiceBus/EventHub" | "Microsoft.EventHub/EventHub" | "Microsoft.Devices/IotHubs" | "Raw";
+}
+
+// @public (undocumented)
+export type StreamInputDataSourceUnion = StreamInputDataSource | BlobStreamInputDataSource | EventHubStreamInputDataSource | EventHubV2StreamInputDataSource | IoTHubStreamInputDataSource | RawStreamInputDataSource;
+
+// @public
+export type StreamInputProperties = InputProperties & {
+ type: "Stream";
+ datasource?: StreamInputDataSourceUnion;
+};
+
+// @public
+export interface SubResource {
+ readonly id?: string;
+ name?: string;
+ readonly type?: string;
+}
+
+// @public
+export type SubscriptionQuota = SubResource & {
+ readonly maxCount?: number;
+ readonly currentCount?: number;
+};
+
+// @public
+export interface SubscriptionQuotasListResult {
+ readonly value?: SubscriptionQuota[];
+}
+
+// @public
+export interface Subscriptions {
+ beginSampleInput(location: string, sampleInput: SampleInput, options?: SubscriptionsSampleInputOptionalParams): Promise, SubscriptionsSampleInputResponse>>;
+ beginSampleInputAndWait(location: string, sampleInput: SampleInput, options?: SubscriptionsSampleInputOptionalParams): Promise;
+ beginTestInput(location: string, testInput: TestInput, options?: SubscriptionsTestInputOptionalParams): Promise, SubscriptionsTestInputResponse>>;
+ beginTestInputAndWait(location: string, testInput: TestInput, options?: SubscriptionsTestInputOptionalParams): Promise;
+ beginTestOutput(location: string, testOutput: TestOutput, options?: SubscriptionsTestOutputOptionalParams): Promise, SubscriptionsTestOutputResponse>>;
+ beginTestOutputAndWait(location: string, testOutput: TestOutput, options?: SubscriptionsTestOutputOptionalParams): Promise;
+ beginTestQuery(location: string, testQuery: TestQuery, options?: SubscriptionsTestQueryOptionalParams): Promise, SubscriptionsTestQueryResponse>>;
+ beginTestQueryAndWait(location: string, testQuery: TestQuery, options?: SubscriptionsTestQueryOptionalParams): Promise;
+ compileQuery(location: string, compileQuery: CompileQuery, options?: SubscriptionsCompileQueryOptionalParams): Promise;
+ listQuotas(location: string, options?: SubscriptionsListQuotasOptionalParams): Promise;
+}
+
+// @public
+export interface SubscriptionsCompileQueryOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type SubscriptionsCompileQueryResponse = QueryCompilationResult;
+
+// @public
+export interface SubscriptionsListQuotasOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type SubscriptionsListQuotasResponse = SubscriptionQuotasListResult;
+
+// @public
+export interface SubscriptionsSampleInputOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type SubscriptionsSampleInputResponse = SampleInputResult;
+
+// @public
+export interface SubscriptionsTestInputOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type SubscriptionsTestInputResponse = TestDatasourceResult;
+
+// @public
+export interface SubscriptionsTestOutputOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type SubscriptionsTestOutputResponse = TestDatasourceResult;
+
+// @public
+export interface SubscriptionsTestQueryOptionalParams extends coreClient.OperationOptions {
+ resumeFrom?: string;
+ updateIntervalInMs?: number;
+}
+
+// @public
+export type SubscriptionsTestQueryResponse = QueryTestingResult;
+
+// @public
+export type TestDatasourceResult = ErrorModel & {
+ readonly status?: TestDatasourceResultStatus;
+};
+
+// @public
+export type TestDatasourceResultStatus = string;
+
+// @public
+export interface TestInput {
+ input: Input;
+}
+
+// @public
+export interface TestOutput {
+ output: Output;
+}
+
+// @public
+export interface TestQuery {
+ diagnostics?: TestQueryDiagnostics;
+ streamingJob: StreamingJob;
+}
+
+// @public
+export interface TestQueryDiagnostics {
+ path?: string;
+ writeUri: string;
+}
+
+// @public
+export type TrackedResource = Resource & {
+ tags?: {
+ [propertyName: string]: string;
+ };
+ location?: string;
+};
+
+// @public
+export type Transformation = SubResource & {
+ streamingUnits?: number;
+ query?: string;
+ readonly etag?: string;
+};
+
+// @public
+export interface Transformations {
+ createOrReplace(resourceGroupName: string, jobName: string, transformationName: string, transformation: Transformation, options?: TransformationsCreateOrReplaceOptionalParams): Promise;
+ get(resourceGroupName: string, jobName: string, transformationName: string, options?: TransformationsGetOptionalParams): Promise;
+ update(resourceGroupName: string, jobName: string, transformationName: string, transformation: Transformation, options?: TransformationsUpdateOptionalParams): Promise;
+}
+
+// @public
+export interface TransformationsCreateOrReplaceHeaders {
+ eTag?: string;
+}
+
+// @public
+export interface TransformationsCreateOrReplaceOptionalParams extends coreClient.OperationOptions {
+ ifMatch?: string;
+ ifNoneMatch?: string;
+}
+
+// @public
+export type TransformationsCreateOrReplaceResponse = TransformationsCreateOrReplaceHeaders & Transformation;
+
+// @public
+export interface TransformationsGetHeaders {
+ eTag?: string;
+}
+
+// @public
+export interface TransformationsGetOptionalParams extends coreClient.OperationOptions {
+}
+
+// @public
+export type TransformationsGetResponse = TransformationsGetHeaders & Transformation;
+
+// @public
+export interface TransformationsUpdateHeaders {
+ eTag?: string;
+}
+
+// @public
+export interface TransformationsUpdateOptionalParams extends coreClient.OperationOptions {
+ ifMatch?: string;
+}
+
+// @public
+export type TransformationsUpdateResponse = TransformationsUpdateHeaders & Transformation;
+
+// (No @packageDocumentation comment for this package)
+
+```
diff --git a/sdk/streamanalytics/arm-streamanalytics/rollup.config.js b/sdk/streamanalytics/arm-streamanalytics/rollup.config.js
index d4185d1be9c8..9be1955eb7f1 100644
--- a/sdk/streamanalytics/arm-streamanalytics/rollup.config.js
+++ b/sdk/streamanalytics/arm-streamanalytics/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/streamAnalyticsManagementClient.js",
- external: [
- "@azure/ms-rest-js",
- "@azure/ms-rest-azure-js"
- ],
- output: {
- file: "./dist/arm-streamanalytics.js",
- format: "umd",
- name: "Azure.ArmStreamanalytics",
- 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/streamanalytics/arm-streamanalytics/src/index.ts b/sdk/streamanalytics/arm-streamanalytics/src/index.ts
new file mode 100644
index 000000000000..39c206a0493f
--- /dev/null
+++ b/sdk/streamanalytics/arm-streamanalytics/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 { StreamAnalyticsManagementClient } from "./streamAnalyticsManagementClient";
+export { StreamAnalyticsManagementClientContext } from "./streamAnalyticsManagementClientContext";
+export * from "./operationsInterfaces";
diff --git a/sdk/streamanalytics/arm-streamanalytics/src/lroImpl.ts b/sdk/streamanalytics/arm-streamanalytics/src/lroImpl.ts
new file mode 100644
index 000000000000..518d5f053b4e
--- /dev/null
+++ b/sdk/streamanalytics/arm-streamanalytics/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/streamanalytics/arm-streamanalytics/src/models/clustersMappers.ts b/sdk/streamanalytics/arm-streamanalytics/src/models/clustersMappers.ts
deleted file mode 100644
index 5b7ba13d4529..000000000000
--- a/sdk/streamanalytics/arm-streamanalytics/src/models/clustersMappers.ts
+++ /dev/null
@@ -1,90 +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,
- AggregateFunctionProperties,
- AvroSerialization,
- AzureDataLakeStoreOutputDataSource,
- AzureFunctionOutputDataSource,
- AzureMachineLearningServiceFunctionBinding,
- AzureMachineLearningServiceInputColumn,
- AzureMachineLearningServiceOutputColumn,
- AzureMachineLearningStudioFunctionBinding,
- AzureMachineLearningStudioInputColumn,
- AzureMachineLearningStudioInputs,
- AzureMachineLearningStudioOutputColumn,
- AzureSqlDatabaseOutputDataSource,
- AzureSqlReferenceInputDataSource,
- AzureSqlReferenceInputDataSourceProperties,
- AzureSynapseOutputDataSource,
- AzureTableOutputDataSource,
- BaseResource,
- BlobOutputDataSource,
- BlobReferenceInputDataSource,
- BlobStreamInputDataSource,
- Cluster,
- ClusterInfo,
- ClusterJob,
- ClusterJobListResult,
- ClusterListResult,
- ClusterProperties,
- ClusterSku,
- Compression,
- CSharpFunctionBinding,
- CsvSerialization,
- CustomClrSerialization,
- DiagnosticCondition,
- Diagnostics,
- DocumentDbOutputDataSource,
- ErrorDetails,
- ErrorError,
- ErrorModel,
- EventHubOutputDataSource,
- EventHubStreamInputDataSource,
- EventHubV2OutputDataSource,
- EventHubV2StreamInputDataSource,
- External,
- FunctionBinding,
- FunctionInput,
- FunctionModel,
- FunctionOutput,
- FunctionProperties,
- Identity,
- Input,
- InputProperties,
- IoTHubStreamInputDataSource,
- JavaScriptFunctionBinding,
- JobStorageAccount,
- JsonSerialization,
- Output,
- OutputDataSource,
- ParquetSerialization,
- PowerBIOutputDataSource,
- PrivateEndpoint,
- PrivateEndpointProperties,
- PrivateLinkConnectionState,
- PrivateLinkServiceConnection,
- ProxyResource,
- ReferenceInputDataSource,
- ReferenceInputProperties,
- Resource,
- ScalarFunctionProperties,
- Serialization,
- ServiceBusQueueOutputDataSource,
- ServiceBusTopicOutputDataSource,
- StorageAccount,
- StreamingJob,
- StreamingJobSku,
- StreamInputDataSource,
- StreamInputProperties,
- SubResource,
- SubscriptionQuota,
- TrackedResource,
- Transformation
-} from "../models/mappers";
diff --git a/sdk/streamanalytics/arm-streamanalytics/src/models/functionsMappers.ts b/sdk/streamanalytics/arm-streamanalytics/src/models/functionsMappers.ts
deleted file mode 100644
index df53151085b8..000000000000
--- a/sdk/streamanalytics/arm-streamanalytics/src/models/functionsMappers.ts
+++ /dev/null
@@ -1,96 +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,
- AggregateFunctionProperties,
- AvroSerialization,
- AzureDataLakeStoreOutputDataSource,
- AzureFunctionOutputDataSource,
- AzureMachineLearningServiceFunctionBinding,
- AzureMachineLearningServiceFunctionRetrieveDefaultDefinitionParameters,
- AzureMachineLearningServiceInputColumn,
- AzureMachineLearningServiceOutputColumn,
- AzureMachineLearningStudioFunctionBinding,
- AzureMachineLearningStudioFunctionRetrieveDefaultDefinitionParameters,
- AzureMachineLearningStudioInputColumn,
- AzureMachineLearningStudioInputs,
- AzureMachineLearningStudioOutputColumn,
- AzureSqlDatabaseOutputDataSource,
- AzureSqlReferenceInputDataSource,
- AzureSqlReferenceInputDataSourceProperties,
- AzureSynapseOutputDataSource,
- AzureTableOutputDataSource,
- BaseResource,
- BlobOutputDataSource,
- BlobReferenceInputDataSource,
- BlobStreamInputDataSource,
- CloudError,
- Cluster,
- ClusterInfo,
- ClusterProperties,
- ClusterSku,
- Compression,
- CSharpFunctionBinding,
- CSharpFunctionRetrieveDefaultDefinitionParameters,
- CsvSerialization,
- CustomClrSerialization,
- DiagnosticCondition,
- Diagnostics,
- DocumentDbOutputDataSource,
- ErrorResponse,
- EventHubOutputDataSource,
- EventHubStreamInputDataSource,
- EventHubV2OutputDataSource,
- EventHubV2StreamInputDataSource,
- External,
- FunctionBinding,
- FunctionInput,
- FunctionListResult,
- FunctionModel,
- FunctionOutput,
- FunctionProperties,
- FunctionRetrieveDefaultDefinitionParameters,
- FunctionsCreateOrReplaceHeaders,
- FunctionsGetHeaders,
- FunctionsUpdateHeaders,
- Identity,
- Input,
- InputProperties,
- IoTHubStreamInputDataSource,
- JavaScriptFunctionBinding,
- JavaScriptFunctionRetrieveDefaultDefinitionParameters,
- JobStorageAccount,
- JsonSerialization,
- Output,
- OutputDataSource,
- ParquetSerialization,
- PowerBIOutputDataSource,
- PrivateEndpoint,
- PrivateEndpointProperties,
- PrivateLinkConnectionState,
- PrivateLinkServiceConnection,
- ProxyResource,
- ReferenceInputDataSource,
- ReferenceInputProperties,
- Resource,
- ResourceTestStatus,
- ScalarFunctionProperties,
- Serialization,
- ServiceBusQueueOutputDataSource,
- ServiceBusTopicOutputDataSource,
- StorageAccount,
- StreamingJob,
- StreamingJobSku,
- StreamInputDataSource,
- StreamInputProperties,
- SubResource,
- SubscriptionQuota,
- TrackedResource,
- Transformation
-} from "../models/mappers";
diff --git a/sdk/streamanalytics/arm-streamanalytics/src/models/index.ts b/sdk/streamanalytics/arm-streamanalytics/src/models/index.ts
index 774507c085a7..29e9a9eda111 100644
--- a/sdk/streamanalytics/arm-streamanalytics/src/models/index.ts
+++ b/sdk/streamanalytics/arm-streamanalytics/src/models/index.ts
@@ -6,4311 +6,2701 @@
* 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 };
-
-/**
- * Describes one input parameter of a function.
- */
-export interface FunctionInput {
+import * as coreClient from "@azure/core-client";
+
+export type FunctionPropertiesUnion =
+ | FunctionProperties
+ | ScalarFunctionProperties
+ | AggregateFunctionProperties;
+export type FunctionBindingUnion =
+ | FunctionBinding
+ | AzureMachineLearningStudioFunctionBinding
+ | JavaScriptFunctionBinding
+ | CSharpFunctionBinding
+ | AzureMachineLearningServiceFunctionBinding;
+export type FunctionRetrieveDefaultDefinitionParametersUnion =
+ | FunctionRetrieveDefaultDefinitionParameters
+ | AzureMachineLearningStudioFunctionRetrieveDefaultDefinitionParameters
+ | AzureMachineLearningServiceFunctionRetrieveDefaultDefinitionParameters
+ | JavaScriptFunctionRetrieveDefaultDefinitionParameters
+ | CSharpFunctionRetrieveDefaultDefinitionParameters;
+export type InputPropertiesUnion =
+ | InputProperties
+ | StreamInputProperties
+ | ReferenceInputProperties;
+export type SerializationUnion =
+ | Serialization
+ | ParquetSerialization
+ | CustomClrSerialization
+ | CsvSerialization
+ | JsonSerialization
+ | AvroSerialization;
+export type OutputDataSourceUnion =
+ | OutputDataSource
+ | RawOutputDatasource
+ | BlobOutputDataSource
+ | AzureTableOutputDataSource
+ | EventHubOutputDataSource
+ | EventHubV2OutputDataSource
+ | AzureSqlDatabaseOutputDataSource
+ | AzureSynapseOutputDataSource
+ | DocumentDbOutputDataSource
+ | AzureFunctionOutputDataSource
+ | ServiceBusQueueOutputDataSource
+ | ServiceBusTopicOutputDataSource
+ | PowerBIOutputDataSource
+ | AzureDataLakeStoreOutputDataSource;
+export type StreamInputDataSourceUnion =
+ | StreamInputDataSource
+ | BlobStreamInputDataSource
+ | EventHubStreamInputDataSource
+ | EventHubV2StreamInputDataSource
+ | IoTHubStreamInputDataSource
+ | RawStreamInputDataSource;
+export type ReferenceInputDataSourceUnion =
+ | ReferenceInputDataSource
+ | BlobReferenceInputDataSource
+ | RawReferenceInputDataSource
+ | AzureSqlReferenceInputDataSource;
+
+/** The base sub-resource model definition. */
+export interface SubResource {
/**
- * The (Azure Stream Analytics supported) data type of the function input parameter. A list of
- * valid Azure Stream Analytics data types are described at
- * https://msdn.microsoft.com/en-us/library/azure/dn835065.aspx
+ * Resource Id
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- dataType?: string;
+ readonly id?: string;
+ /** Resource name */
+ name?: string;
/**
- * A flag indicating if the parameter is a configuration parameter. True if this input parameter
- * is expected to be a constant. Default is false.
+ * Resource type
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- isConfigurationParameter?: boolean;
+ readonly type?: string;
}
-/**
- * Describes the output of a function.
- */
-export interface FunctionOutput {
+/** The properties that are associated with a function. */
+export interface FunctionProperties {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type: "Scalar" | "Aggregate";
/**
- * The (Azure Stream Analytics supported) data type of the function output. A list of valid Azure
- * Stream Analytics data types are described at
- * https://msdn.microsoft.com/en-us/library/azure/dn835065.aspx
+ * The current entity tag for the function. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
+ readonly etag?: string;
+ inputs?: FunctionInput[];
+ /** Describes the output of a function. */
+ output?: FunctionOutput;
+ /** The physical binding of the function. For example, in the Azure Machine Learning web service’s case, this describes the endpoint. */
+ binding?: FunctionBindingUnion;
+}
+
+/** Describes one input parameter of a function. */
+export interface FunctionInput {
+ /** The (Azure Stream Analytics supported) data type of the function input parameter. A list of valid Azure Stream Analytics data types are described at https://msdn.microsoft.com/en-us/library/azure/dn835065.aspx */
dataType?: string;
+ /** A flag indicating if the parameter is a configuration parameter. True if this input parameter is expected to be a constant. Default is false. */
+ isConfigurationParameter?: boolean;
}
-/**
- * Contains the possible cases for FunctionBinding.
- */
-export type FunctionBindingUnion = FunctionBinding | AzureMachineLearningStudioFunctionBinding | JavaScriptFunctionBinding | CSharpFunctionBinding | AzureMachineLearningServiceFunctionBinding;
+/** Describes the output of a function. */
+export interface FunctionOutput {
+ /** The (Azure Stream Analytics supported) data type of the function output. A list of valid Azure Stream Analytics data types are described at https://msdn.microsoft.com/en-us/library/azure/dn835065.aspx */
+ dataType?: string;
+}
-/**
- * The physical binding of the function. For example, in the Azure Machine Learning web service’s
- * case, this describes the endpoint.
- */
+/** The physical binding of the function. For example, in the Azure Machine Learning web service’s case, this describes the endpoint. */
export interface FunctionBinding {
- /**
- * Polymorphic Discriminator
- */
- type: "FunctionBinding";
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type:
+ | "Microsoft.MachineLearning/WebService"
+ | "Microsoft.StreamAnalytics/JavascriptUdf"
+ | "Microsoft.StreamAnalytics/CLRUdf"
+ | "Microsoft.MachineLearningServices";
}
-/**
- * Contains the possible cases for FunctionProperties.
- */
-export type FunctionPropertiesUnion = FunctionProperties | ScalarFunctionProperties | AggregateFunctionProperties;
-
-/**
- * The properties that are associated with a function.
- */
-export interface FunctionProperties {
- /**
- * Polymorphic Discriminator
- */
- type: "FunctionProperties";
- /**
- * The current entity tag for the function. This is an opaque string. You can use it to detect
- * whether the resource has changed between requests. You can also use it in the If-Match or
- * If-None-Match headers for write operations for optimistic concurrency.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly etag?: string;
- inputs?: FunctionInput[];
- output?: FunctionOutput;
- binding?: FunctionBindingUnion;
+/** Common error representation. */
+export interface ErrorModel {
+ /** Error definition properties. */
+ error?: ErrorAutoGenerated;
}
-/**
- * The base sub-resource model definition.
- */
-export interface SubResource extends BaseResource {
- /**
- * Resource Id
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly id?: string;
- /**
- * Resource name
- */
- name?: string;
- /**
- * Resource type
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly type?: string;
+/** Error definition properties. */
+export interface ErrorAutoGenerated {
+ /** Error code. */
+ code?: string;
+ /** Error message. */
+ message?: string;
+ /** Error target. */
+ target?: string;
+ /** Error details. */
+ details?: ErrorDetails[];
}
-/**
- * A function object, containing all information associated with the named function. All functions
- * are contained under a streaming job.
- */
-export interface FunctionModel extends SubResource {
- /**
- * The properties that are associated with a function.
- */
- properties?: FunctionPropertiesUnion;
+/** Common error details representation. */
+export interface ErrorDetails {
+ /** Error code. */
+ code?: string;
+ /** Error target. */
+ target?: string;
+ /** Error message. */
+ message?: string;
}
-/**
- * The properties that are associated with a scalar function.
- */
-export interface ScalarFunctionProperties {
+/** Object containing a list of functions under a streaming job. */
+export interface FunctionListResult {
/**
- * Polymorphic Discriminator
+ * A list of functions under a streaming job. Populated by a 'List' operation.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- type: "Scalar";
+ readonly value?: FunctionModel[];
/**
- * The current entity tag for the function. This is an opaque string. You can use it to detect
- * whether the resource has changed between requests. You can also use it in the If-Match or
- * If-None-Match headers for write operations for optimistic concurrency.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * The link (url) to the next page of results.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- readonly etag?: string;
- inputs?: FunctionInput[];
- output?: FunctionOutput;
- binding?: FunctionBindingUnion;
+ readonly nextLink?: string;
}
-/**
- * Describes an input column for the Azure Machine Learning Studio endpoint.
- */
-export interface AzureMachineLearningStudioInputColumn {
- /**
- * The name of the input column.
- */
- name?: string;
+/** Describes the status of the test operation along with error information, if applicable. */
+export interface ResourceTestStatus {
/**
- * The (Azure Machine Learning supported) data type of the input column. A list of valid Azure
- * Machine Learning data types are described at
- * https://msdn.microsoft.com/en-us/library/azure/dn905923.aspx .
+ * The status of the test operation.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- dataType?: string;
+ readonly status?: string;
/**
- * The zero based index of the function parameter this input maps to.
+ * Describes the error that occurred.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- mapTo?: number;
+ readonly error?: ErrorResponse;
}
-/**
- * The inputs for the Azure Machine Learning Studio endpoint.
- */
-export interface AzureMachineLearningStudioInputs {
+/** Describes the error that occurred. */
+export interface ErrorResponse {
/**
- * The name of the input. This is the name provided while authoring the endpoint.
+ * Error code associated with the error that occurred.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- name?: string;
+ readonly code?: string;
/**
- * A list of input columns for the Azure Machine Learning Studio endpoint.
+ * Describes the error in detail.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- columnNames?: AzureMachineLearningStudioInputColumn[];
+ readonly message?: string;
}
-/**
- * Describes an output column for the Azure Machine Learning Studio endpoint.
- */
-export interface AzureMachineLearningStudioOutputColumn {
- /**
- * The name of the output column.
- */
- name?: string;
- /**
- * The (Azure Machine Learning supported) data type of the output column. A list of valid Azure
- * Machine Learning data types are described at
- * https://msdn.microsoft.com/en-us/library/azure/dn905923.aspx .
- */
- dataType?: string;
+/** Parameters used to specify the type of function to retrieve the default definition for. */
+export interface FunctionRetrieveDefaultDefinitionParameters {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ bindingType:
+ | "Microsoft.MachineLearning/WebService"
+ | "Microsoft.MachineLearningServices"
+ | "Microsoft.StreamAnalytics/JavascriptUdf"
+ | "Microsoft.StreamAnalytics/CLRUdf";
}
-/**
- * The binding to an Azure Machine Learning Studio.
- */
-export interface AzureMachineLearningStudioFunctionBinding {
+/** The properties that are associated with an input. */
+export interface InputProperties {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type: "Stream" | "Reference";
+ /** Describes how data from an input is serialized or how data is serialized when written to an output. Required on PUT (CreateOrReplace) requests. */
+ serialization?: SerializationUnion;
/**
- * Polymorphic Discriminator
+ * Describes conditions applicable to the Input, Output, or the job overall, that warrant customer attention.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- type: "Microsoft.MachineLearning/WebService";
+ readonly diagnostics?: Diagnostics;
/**
- * The Request-Response execute endpoint of the Azure Machine Learning Studio. Find out more
- * here:
- * https://docs.microsoft.com/en-us/azure/machine-learning/machine-learning-consume-web-services#request-response-service-rrs
+ * The current entity tag for the input. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- endpoint?: string;
+ readonly etag?: string;
+ /** Describes how input data is compressed */
+ compression?: Compression;
+ /** partitionKey Describes a key in the input data which is used for partitioning the input data */
+ partitionKey?: string;
+}
+
+/** Describes how data from an input is serialized or how data is serialized when written to an output. */
+export interface Serialization {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type: "Parquet" | "CustomClr" | "Csv" | "Json" | "Avro";
+}
+
+/** Describes conditions applicable to the Input, Output, or the job overall, that warrant customer attention. */
+export interface Diagnostics {
/**
- * The API key used to authenticate with Request-Response endpoint.
+ * A collection of zero or more conditions applicable to the resource, or to the job overall, that warrant customer attention.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- apiKey?: string;
+ readonly conditions?: DiagnosticCondition[];
+}
+
+/** Condition applicable to the resource, or to the job overall, that warrant customer attention. */
+export interface DiagnosticCondition {
/**
- * The inputs for the Azure Machine Learning Studio endpoint.
+ * The UTC timestamp of when the condition started. Customers should be able to find a corresponding event in the ops log around this time.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- inputs?: AzureMachineLearningStudioInputs;
+ readonly since?: string;
/**
- * A list of outputs from the Azure Machine Learning Studio endpoint execution.
+ * The opaque diagnostic code.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- outputs?: AzureMachineLearningStudioOutputColumn[];
+ readonly code?: string;
/**
- * Number between 1 and 10000 describing maximum number of rows for every Azure ML RRS execute
- * request. Default is 1000.
+ * The human-readable message describing the condition in detail. Localized in the Accept-Language of the client request.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- batchSize?: number;
+ readonly message?: string;
}
-/**
- * The binding to a JavaScript function.
- */
-export interface JavaScriptFunctionBinding {
+/** Describes how input data is compressed */
+export interface Compression {
+ type: string;
+}
+
+/** Object containing a list of inputs under a streaming job. */
+export interface InputListResult {
/**
- * Polymorphic Discriminator
+ * A list of inputs under a streaming job. Populated by a 'List' operation.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- type: "Microsoft.StreamAnalytics/JavascriptUdf";
+ readonly value?: Input[];
/**
- * The JavaScript code containing a single function definition. For example: 'function (x, y) {
- * return x + y; }'
+ * The link (url) to the next page of results.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- script?: string;
+ readonly nextLink?: string;
}
-/**
- * The binding to a CSharp function.
- */
-export interface CSharpFunctionBinding {
- /**
- * Polymorphic Discriminator
- */
- type: "Microsoft.StreamAnalytics/CLRUdf";
+/** Describes the data source that output will be written to. */
+export interface OutputDataSource {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type:
+ | "Raw"
+ | "Microsoft.Storage/Blob"
+ | "Microsoft.Storage/Table"
+ | "Microsoft.ServiceBus/EventHub"
+ | "Microsoft.EventHub/EventHub"
+ | "Microsoft.Sql/Server/Database"
+ | "Microsoft.Sql/Server/DataWarehouse"
+ | "Microsoft.Storage/DocumentDB"
+ | "Microsoft.AzureFunction"
+ | "Microsoft.ServiceBus/Queue"
+ | "Microsoft.ServiceBus/Topic"
+ | "PowerBI"
+ | "Microsoft.DataLake/Accounts";
+}
+
+/** Object containing a list of outputs under a streaming job. */
+export interface OutputListResult {
+ /**
+ * A list of outputs under a streaming job. Populated by a 'List' operation.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
+ */
+ readonly value?: Output[];
/**
- * The Csharp code containing a single function definition.
+ * The link (url) to the next page of results.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- script?: string;
+ readonly nextLink?: string;
+}
+
+/** The base resource definition */
+export interface Resource {
/**
- * The Csharp code containing a single function definition.
+ * Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- dllPath?: string;
+ readonly id?: string;
/**
- * The Csharp code containing a single function definition.
+ * The name of the resource
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- classProperty?: string;
+ readonly name?: string;
/**
- * The Csharp code containing a single function definition.
+ * The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- method?: string;
+ readonly type?: string;
}
-/**
- * Contains the possible cases for FunctionRetrieveDefaultDefinitionParameters.
- */
-export type FunctionRetrieveDefaultDefinitionParametersUnion = FunctionRetrieveDefaultDefinitionParameters | AzureMachineLearningStudioFunctionRetrieveDefaultDefinitionParameters | AzureMachineLearningServiceFunctionRetrieveDefaultDefinitionParameters | JavaScriptFunctionRetrieveDefaultDefinitionParameters | CSharpFunctionRetrieveDefaultDefinitionParameters;
+/** The properties that are associated with a SKU. */
+export interface StreamingJobSku {
+ /** The name of the SKU. Required on PUT (CreateOrReplace) requests. */
+ name?: StreamingJobSkuName;
+}
-/**
- * Parameters used to specify the type of function to retrieve the default definition for.
- */
-export interface FunctionRetrieveDefaultDefinitionParameters {
- /**
- * Polymorphic Discriminator
- */
- bindingType: "FunctionRetrieveDefaultDefinitionParameters";
+/** The properties that are associated with an Azure Storage account */
+export interface StorageAccount {
+ /** The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests. */
+ accountName?: string;
+ /** The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests. */
+ accountKey?: string;
}
-/**
- * The parameters needed to retrieve the default function definition for an Azure Machine Learning
- * Studio function.
- */
-export interface AzureMachineLearningStudioFunctionRetrieveDefaultDefinitionParameters {
- /**
- * Polymorphic Discriminator
- */
- bindingType: "Microsoft.MachineLearning/WebService";
+/** The storage account where the custom code artifacts are located. */
+export interface External {
+ /** The properties that are associated with an Azure Storage account */
+ storageAccount?: StorageAccount;
+ container?: string;
+ path?: string;
+}
+
+/** The properties associated with a Stream Analytics cluster. */
+export interface ClusterInfo {
+ /** The resource id of cluster. */
+ id?: string;
+}
+
+/** Describes how identity is verified */
+export interface Identity {
+ tenantId?: string;
+ principalId?: string;
+ type?: string;
+}
+
+/** Object containing a list of streaming jobs. */
+export interface StreamingJobListResult {
/**
- * The Request-Response execute endpoint of the Azure Machine Learning Studio. Find out more
- * here:
- * https://docs.microsoft.com/en-us/azure/machine-learning/machine-learning-consume-web-services#request-response-service-rrs
+ * A list of streaming jobs. Populated by a 'List' operation.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- executeEndpoint?: string;
+ readonly value?: StreamingJob[];
/**
- * The function type. Possible values include: 'Scalar'
+ * The link (url) to the next page of results.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- udfType?: UdfType;
+ readonly nextLink?: string;
}
-/**
- * The parameters needed to retrieve the default function definition for an Azure Machine Learning
- * web service function.
- */
-export interface AzureMachineLearningServiceFunctionRetrieveDefaultDefinitionParameters {
+/** Parameters supplied to the Start Streaming Job operation. */
+export interface StartStreamingJobParameters {
+ /** Value may be JobStartTime, CustomTime, or LastOutputEventTime to indicate whether the starting point of the output event stream should start whenever the job is started, start at a custom user time stamp specified via the outputStartTime property, or start from the last event output time. */
+ outputStartMode?: OutputStartMode;
+ /** Value is either an ISO-8601 formatted time stamp that indicates the starting point of the output event stream, or null to indicate that the output event stream will start whenever the streaming job is started. This property must have a value if outputStartMode is set to CustomTime. */
+ outputStartTime?: Date;
+}
+
+/** Result of the GetQuotas operation. It contains a list of quotas for the subscription in a particular region. */
+export interface SubscriptionQuotasListResult {
/**
- * Polymorphic Discriminator
+ * List of quotas for the subscription in a particular region.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- bindingType: "Microsoft.MachineLearningServices";
+ readonly value?: SubscriptionQuota[];
+}
+
+/** The request object for query testing. */
+export interface TestQuery {
+ /** Diagnostics information related to query testing. */
+ diagnostics?: TestQueryDiagnostics;
+ /** Stream analytics job object which defines the input, output, and transformation for the query testing. */
+ streamingJob: StreamingJob;
+}
+
+/** Diagnostics information related to query testing. */
+export interface TestQueryDiagnostics {
+ /** The SAS URI to the container or directory. */
+ writeUri: string;
+ /** The path to the subdirectory. */
+ path?: string;
+}
+
+/** The query compilation object which defines the input, output, and transformation for the query compilation. */
+export interface CompileQuery {
+ /** The query to compile. */
+ query: string;
+ /** The inputs for the query compilation. */
+ inputs?: QueryInput[];
+ /** The functions for the query compilation. */
+ functions?: QueryFunction[];
+ /** Describes the type of the job. Valid values are `Cloud` and 'Edge'. */
+ jobType: JobType;
+ /** The query to compile. */
+ compatibilityLevel?: CompatibilityLevel;
+}
+
+/** An input for the query compilation. */
+export interface QueryInput {
+ /** The name of the input. */
+ name: string;
+ /** The type of the input, can be Stream or Reference. */
+ type: string;
+}
+
+/** A function for the query compilation. */
+export interface QueryFunction {
+ /** The name of the function. */
+ name: string;
+ /** The type of the function. */
+ type: string;
+ /** The type of the function binding. */
+ bindingType: string;
+ /** The inputs for the function. */
+ inputs: FunctionInput[];
+ /** An output for the function. */
+ output: FunctionOutput;
+}
+
+/** The result of the query compilation request. */
+export interface QueryCompilationResult {
/**
- * The Request-Response execute endpoint of the Azure Machine Learning web service.
+ * Error messages produced by the compiler.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- executeEndpoint?: string;
+ readonly errors?: QueryCompilationError[];
/**
- * The function type. Possible values include: 'Scalar'
+ * Warning messages produced by the compiler.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- udfType?: UdfType;
-}
-
-/**
- * The parameters needed to retrieve the default function definition for a JavaScript function.
- */
-export interface JavaScriptFunctionRetrieveDefaultDefinitionParameters {
+ readonly warnings?: string[];
/**
- * Polymorphic Discriminator
+ * All input names used by the query.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- bindingType: "Microsoft.StreamAnalytics/JavascriptUdf";
+ readonly inputs?: string[];
/**
- * The JavaScript code containing a single function definition. For example: 'function (x, y) {
- * return x + y; }'.
+ * All output names used by the query.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- script?: string;
+ readonly outputs?: string[];
/**
- * The function type. Possible values include: 'Scalar'
+ * All function names used by the query.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- udfType?: UdfType;
+ readonly functions?: string[];
}
-/**
- * The parameters needed to retrieve the default function definition for a CSharp function.
- */
-export interface CSharpFunctionRetrieveDefaultDefinitionParameters {
+/** An error produced by the compiler. */
+export interface QueryCompilationError {
/**
- * Polymorphic Discriminator
+ * The content of the error message.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- bindingType: "Microsoft.StreamAnalytics/CLRUdf";
+ readonly message?: string;
/**
- * The CSharp code containing a single function definition.
+ * Describes the error location in the original query. Not set if isGlobal is true.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- script?: string;
+ readonly startLine?: number;
/**
- * The function type. Possible values include: 'Scalar'
+ * Describes the error location in the original query. Not set if isGlobal is true.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- udfType?: UdfType;
-}
-
-/**
- * Describes an input column for the Azure Machine Learning web service endpoint.
- */
-export interface AzureMachineLearningServiceInputColumn {
+ readonly startColumn?: number;
/**
- * The name of the input column.
+ * Describes the error location in the original query. Not set if isGlobal is true.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- name?: string;
+ readonly endLine?: number;
/**
- * The (Azure Machine Learning supported) data type of the input column.
+ * Describes the error location in the original query. Not set if isGlobal is true.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- dataType?: string;
+ readonly endColumn?: number;
/**
- * The zero based index of the function parameter this input maps to.
+ * Whether the error is not for a specific part but for the entire query.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- mapTo?: number;
+ readonly isGlobal?: boolean;
}
-/**
- * Describes an output column for the Azure Machine Learning web service endpoint.
- */
-export interface AzureMachineLearningServiceOutputColumn {
- /**
- * The name of the output column.
- */
- name?: string;
+/** The stream analytics input to sample. */
+export interface SampleInput {
+ /** The stream analytics input to sample. */
+ input?: Input;
+ /** Defaults to the default ASA job compatibility level. Today it is 1.2 */
+ compatibilityLevel?: string;
+ /** The SAS URI of the storage blob for service to write the sampled events to. If this parameter is not provided, service will write events to he system account and share a temporary SAS URI to it. */
+ eventsUri?: string;
+ /** Defaults to en-US. */
+ dataLocale?: string;
+}
+
+/** A stream analytics input. */
+export interface TestInput {
+ /** The stream analytics input to test. */
+ input: Input;
+}
+
+/** A stream analytics output. */
+export interface TestOutput {
+ /** The stream analytics output to test. */
+ output: Output;
+}
+
+/** Result of the request to list Stream Analytics operations. It contains a list of operations and a URL link to get the next set of results. */
+export interface OperationListResult {
/**
- * The (Azure Machine Learning supported) data type of the output column.
+ * List of Stream Analytics operations supported by the Microsoft.StreamAnalytics resource provider.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- dataType?: string;
+ readonly value?: Operation[];
/**
- * The zero based index of the function parameter this input maps to.
+ * URL to get the next set of operation list results if there are any.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- mapTo?: number;
+ readonly nextLink?: string;
}
-/**
- * The binding to an Azure Machine Learning web service.
- */
-export interface AzureMachineLearningServiceFunctionBinding {
- /**
- * Polymorphic Discriminator
- */
- type: "Microsoft.MachineLearningServices";
+/** A Stream Analytics REST API operation */
+export interface Operation {
/**
- * The Request-Response execute endpoint of the Azure Machine Learning web service.
+ * The name of the operation being performed on this particular object.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- endpoint?: string;
+ readonly name?: string;
/**
- * The API key used to authenticate with Request-Response endpoint.
+ * Contains the localized display information for this particular operation / action.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- apiKey?: string;
+ readonly display?: OperationDisplay;
+}
+
+/** Contains the localized display information for this particular operation / action. */
+export interface OperationDisplay {
/**
- * The inputs for the Azure Machine Learning web service endpoint.
+ * The localized friendly form of the resource provider name.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- inputs?: AzureMachineLearningServiceInputColumn[];
+ readonly provider?: string;
/**
- * A list of outputs from the Azure Machine Learning web service endpoint execution.
+ * The localized friendly form of the resource type related to this action/operation.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- outputs?: AzureMachineLearningServiceOutputColumn[];
+ readonly resource?: string;
/**
- * Number between 1 and 10000 describing maximum number of rows for every Azure ML RRS execute
- * request. Default is 1000.
+ * The localized friendly name for the operation.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- batchSize?: number;
+ readonly operation?: string;
/**
- * The number of parallel requests that will be sent per partition of your job to the machine
- * learning service. Default is 1.
+ * The localized friendly description for the operation.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- numberOfParallelRequests?: number;
+ readonly description?: string;
}
-/**
- * The inputs for the Azure Machine Learning web service endpoint.
- */
-export interface AzureMachineLearningServiceInputs {
- /**
- * The name of the input. This is the name provided while authoring the endpoint.
- */
- name?: string;
- /**
- * A list of input columns for the Azure Machine Learning web service endpoint.
- */
- columnNames?: AzureMachineLearningServiceInputColumn[];
+/** The SKU of the cluster. This determines the size/capacity of the cluster. Required on PUT (CreateOrUpdate) requests. */
+export interface ClusterSku {
+ /** Specifies the SKU name of the cluster. Required on PUT (CreateOrUpdate) requests. */
+ name?: ClusterSkuName;
+ /** Denotes the number of streaming units the cluster can support. Valid values for this property are multiples of 36 with a minimum value of 36 and maximum value of 216. Required on PUT (CreateOrUpdate) requests. */
+ capacity?: number;
}
-/**
- * The properties that are associated with an aggregate function.
- */
-export interface AggregateFunctionProperties {
+/** The properties associated with a Stream Analytics cluster. */
+export interface ClusterProperties {
/**
- * Polymorphic Discriminator
+ * The date this cluster was created.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- type: "Aggregate";
+ readonly createdDate?: Date;
/**
- * The current entity tag for the function. This is an opaque string. You can use it to detect
- * whether the resource has changed between requests. You can also use it in the If-Match or
- * If-None-Match headers for write operations for optimistic concurrency.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * Unique identifier for the cluster.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- readonly etag?: string;
- inputs?: FunctionInput[];
- output?: FunctionOutput;
- binding?: FunctionBindingUnion;
-}
-
-/**
- * Describes the error that occurred.
- */
-export interface ErrorResponse {
+ readonly clusterId?: string;
/**
- * Error code associated with the error that occurred.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * The status of the cluster provisioning. The three terminal states are: Succeeded, Failed and Canceled
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- readonly code?: string;
+ readonly provisioningState?: ClusterProvisioningState;
/**
- * Describes the error in detail.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * Represents the number of streaming units currently being used on the cluster.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- readonly message?: string;
+ readonly capacityAllocated?: number;
+ /**
+ * Represents the sum of the SUs of all streaming jobs associated with the cluster. If all of the jobs were running, this would be the capacity allocated.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
+ */
+ readonly capacityAssigned?: number;
}
-/**
- * Describes the status of the test operation along with error information, if applicable.
- */
-export interface ResourceTestStatus {
+/** A list of clusters populated by a 'list' operation. */
+export interface ClusterListResult {
/**
- * The status of the test operation.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * A list of clusters.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- readonly status?: string;
+ readonly value?: Cluster[];
/**
- * Describes the error that occurred.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * The URL to fetch the next set of clusters.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- readonly error?: ErrorResponse;
+ readonly nextLink?: string;
}
-/**
- * Contains the possible cases for Serialization.
- */
-export type SerializationUnion = Serialization | ParquetSerialization | CustomClrSerialization | CsvSerialization | JsonSerialization | AvroSerialization;
-
-/**
- * Describes how data from an input is serialized or how data is serialized when written to an
- * output.
- */
-export interface Serialization {
+/** A list of streaming jobs. Populated by a List operation. */
+export interface ClusterJobListResult {
+ /**
+ * A list of streaming jobs.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
+ */
+ readonly value?: ClusterJob[];
/**
- * Polymorphic Discriminator
+ * The URL to fetch the next set of streaming jobs.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- type: "Serialization";
+ readonly nextLink?: string;
}
-/**
- * Condition applicable to the resource, or to the job overall, that warrant customer attention.
- */
-export interface DiagnosticCondition {
+/** A streaming job. */
+export interface ClusterJob {
/**
- * The UTC timestamp of when the condition started. Customers should be able to find a
- * corresponding event in the ops log around this time.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * Resource ID of the streaming job.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- readonly since?: string;
+ readonly id?: string;
/**
- * The opaque diagnostic code.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * The number of streaming units that are used by the streaming job.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- readonly code?: string;
+ readonly streamingUnits?: number;
/**
- * The human-readable message describing the condition in detail. Localized in the
- * Accept-Language of the client request.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * The current execution state of the streaming job.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- readonly message?: string;
+ readonly jobState?: JobState;
}
-/**
- * Describes conditions applicable to the Input, Output, or the job overall, that warrant customer
- * attention.
- */
-export interface Diagnostics {
+/** The properties associated with a private endpoint. */
+export interface PrivateEndpointProperties {
/**
- * A collection of zero or more conditions applicable to the resource, or to the job overall,
- * that warrant customer attention.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * The date when this private endpoint was created.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- readonly conditions?: DiagnosticCondition[];
+ readonly createdDate?: string;
+ /** A list of connections to the remote resource. Immutable after it is set. */
+ manualPrivateLinkServiceConnections?: PrivateLinkServiceConnection[];
}
-/**
- * Describes how input data is compressed
- */
-export interface Compression {
- type: string;
+/** A grouping of information about the connection to the remote resource. */
+export interface PrivateLinkServiceConnection {
+ /** The resource id of the private link service. Required on PUT (CreateOrUpdate) requests. */
+ privateLinkServiceId?: string;
+ /** The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. Required on PUT (CreateOrUpdate) requests. */
+ groupIds?: string[];
+ /** A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars. */
+ requestMessage?: string;
+ /** A collection of read-only information about the state of the connection to the private remote resource. */
+ privateLinkServiceConnectionState?: PrivateLinkConnectionState;
}
-/**
- * Contains the possible cases for InputProperties.
- */
-export type InputPropertiesUnion = InputProperties | StreamInputProperties | ReferenceInputProperties;
-
-/**
- * The properties that are associated with an input.
- */
-export interface InputProperties {
+/** A collection of read-only information about the state of the connection to the private remote resource. */
+export interface PrivateLinkConnectionState {
/**
- * Polymorphic Discriminator
+ * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the remote resource/service.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- type: "InputProperties";
+ readonly status?: string;
/**
- * Describes how data from an input is serialized or how data is serialized when written to an
- * output. Required on PUT (CreateOrReplace) requests.
+ * The reason for approval/rejection of the connection.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- serialization?: SerializationUnion;
+ readonly description?: string;
/**
- * Describes conditions applicable to the Input, Output, or the job overall, that warrant
- * customer attention.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * A message indicating if changes on the service provider require any updates on the consumer.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- readonly diagnostics?: Diagnostics;
+ readonly actionsRequired?: string;
+}
+
+/** A list of private endpoints. */
+export interface PrivateEndpointListResult {
/**
- * The current entity tag for the input. This is an opaque string. You can use it to detect
- * whether the resource has changed between requests. You can also use it in the If-Match or
- * If-None-Match headers for write operations for optimistic concurrency.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * A list of private endpoints.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- readonly etag?: string;
- compression?: Compression;
+ readonly value?: PrivateEndpoint[];
/**
- * partitionKey Describes a key in the input data which is used for partitioning the input data
+ * The URL to fetch the next set of private endpoints.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- partitionKey?: string;
+ readonly nextLink?: string;
}
-/**
- * An input object, containing all information associated with the named input. All inputs are
- * contained under a streaming job.
- */
-export interface Input extends SubResource {
- /**
- * The properties that are associated with an input. Required on PUT (CreateOrReplace) requests.
- */
- properties?: InputPropertiesUnion;
+/** The inputs for the Azure Machine Learning Studio endpoint. */
+export interface AzureMachineLearningStudioInputs {
+ /** The name of the input. This is the name provided while authoring the endpoint. */
+ name?: string;
+ /** A list of input columns for the Azure Machine Learning Studio endpoint. */
+ columnNames?: AzureMachineLearningStudioInputColumn[];
}
-/**
- * Contains the possible cases for StreamInputDataSource.
- */
-export type StreamInputDataSourceUnion = StreamInputDataSource | BlobStreamInputDataSource | EventHubStreamInputDataSource | EventHubV2StreamInputDataSource | IoTHubStreamInputDataSource;
+/** Describes an input column for the Azure Machine Learning Studio endpoint. */
+export interface AzureMachineLearningStudioInputColumn {
+ /** The name of the input column. */
+ name?: string;
+ /** The (Azure Machine Learning supported) data type of the input column. A list of valid Azure Machine Learning data types are described at https://msdn.microsoft.com/en-us/library/azure/dn905923.aspx . */
+ dataType?: string;
+ /** The zero based index of the function parameter this input maps to. */
+ mapTo?: number;
+}
-/**
- * Describes an input data source that contains stream data.
- */
-export interface StreamInputDataSource {
- /**
- * Polymorphic Discriminator
- */
- type: "StreamInputDataSource";
+/** Describes an output column for the Azure Machine Learning Studio endpoint. */
+export interface AzureMachineLearningStudioOutputColumn {
+ /** The name of the output column. */
+ name?: string;
+ /** The (Azure Machine Learning supported) data type of the output column. A list of valid Azure Machine Learning data types are described at https://msdn.microsoft.com/en-us/library/azure/dn905923.aspx . */
+ dataType?: string;
}
-/**
- * The properties that are associated with an input containing stream data.
- */
-export interface StreamInputProperties {
- /**
- * Polymorphic Discriminator
- */
- type: "Stream";
- /**
- * Describes how data from an input is serialized or how data is serialized when written to an
- * output. Required on PUT (CreateOrReplace) requests.
- */
- serialization?: SerializationUnion;
- /**
- * Describes conditions applicable to the Input, Output, or the job overall, that warrant
- * customer attention.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly diagnostics?: Diagnostics;
- /**
- * The current entity tag for the input. This is an opaque string. You can use it to detect
- * whether the resource has changed between requests. You can also use it in the If-Match or
- * If-None-Match headers for write operations for optimistic concurrency.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly etag?: string;
- compression?: Compression;
- /**
- * partitionKey Describes a key in the input data which is used for partitioning the input data
- */
- partitionKey?: string;
- /**
- * Describes an input data source that contains stream data. Required on PUT (CreateOrReplace)
- * requests.
- */
- datasource?: StreamInputDataSourceUnion;
+/** Describes an input column for the Azure Machine Learning web service endpoint. */
+export interface AzureMachineLearningServiceInputColumn {
+ /** The name of the input column. */
+ name?: string;
+ /** The (Azure Machine Learning supported) data type of the input column. */
+ dataType?: string;
+ /** The zero based index of the function parameter this input maps to. */
+ mapTo?: number;
}
-/**
- * Contains the possible cases for ReferenceInputDataSource.
- */
-export type ReferenceInputDataSourceUnion = ReferenceInputDataSource | BlobReferenceInputDataSource | AzureSqlReferenceInputDataSource;
+/** Describes an output column for the Azure Machine Learning web service endpoint. */
+export interface AzureMachineLearningServiceOutputColumn {
+ /** The name of the output column. */
+ name?: string;
+ /** The (Azure Machine Learning supported) data type of the output column. */
+ dataType?: string;
+ /** The zero based index of the function parameter this input maps to. */
+ mapTo?: number;
+}
-/**
- * Describes an input data source that contains reference data.
- */
-export interface ReferenceInputDataSource {
- /**
- * Polymorphic Discriminator
- */
- type: "ReferenceInputDataSource";
+/** The inputs for the Azure Machine Learning web service endpoint. */
+export interface AzureMachineLearningServiceInputs {
+ /** The name of the input. This is the name provided while authoring the endpoint. */
+ name?: string;
+ /** A list of input columns for the Azure Machine Learning web service endpoint. */
+ columnNames?: AzureMachineLearningServiceInputColumn[];
}
-/**
- * The properties that are associated with an input containing reference data.
- */
-export interface ReferenceInputProperties {
- /**
- * Polymorphic Discriminator
- */
- type: "Reference";
- /**
- * Describes how data from an input is serialized or how data is serialized when written to an
- * output. Required on PUT (CreateOrReplace) requests.
- */
- serialization?: SerializationUnion;
- /**
- * Describes conditions applicable to the Input, Output, or the job overall, that warrant
- * customer attention.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly diagnostics?: Diagnostics;
- /**
- * The current entity tag for the input. This is an opaque string. You can use it to detect
- * whether the resource has changed between requests. You can also use it in the If-Match or
- * If-None-Match headers for write operations for optimistic concurrency.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly etag?: string;
- compression?: Compression;
- /**
- * partitionKey Describes a key in the input data which is used for partitioning the input data
- */
- partitionKey?: string;
- /**
- * Describes an input data source that contains reference data. Required on PUT (CreateOrReplace)
- * requests.
- */
- datasource?: ReferenceInputDataSourceUnion;
+/** Describes an input data source that contains stream data. */
+export interface StreamInputDataSource {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type:
+ | "Microsoft.Storage/Blob"
+ | "Microsoft.ServiceBus/EventHub"
+ | "Microsoft.EventHub/EventHub"
+ | "Microsoft.Devices/IotHubs"
+ | "Raw";
}
-/**
- * Describes a blob input data source that contains stream data.
- */
-export interface BlobStreamInputDataSource {
- /**
- * Polymorphic Discriminator
- */
- type: "Microsoft.Storage/Blob";
- /**
- * A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests.
- */
+/** Describes an input data source that contains reference data. */
+export interface ReferenceInputDataSource {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type: "Microsoft.Storage/Blob" | "Raw" | "Microsoft.Sql/Server/Database";
+}
+
+/** The properties that are associated with a blob data source. */
+export interface BlobDataSourceProperties {
+ /** A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests. */
storageAccounts?: StorageAccount[];
- /**
- * The name of a container within the associated Storage account. This container contains either
- * the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests.
- */
+ /** The name of a container within the associated Storage account. This container contains either the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests. */
container?: string;
- /**
- * The blob path pattern. Not a regular expression. It represents a pattern against which blob
- * names will be matched to determine whether or not they should be included as input or output
- * to the job. See
- * https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or
- * https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more
- * detailed explanation and example.
- */
+ /** The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more detailed explanation and example. */
pathPattern?: string;
- /**
- * The date format. Wherever {date} appears in pathPattern, the value of this property is used as
- * the date format instead.
- */
+ /** The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead. */
dateFormat?: string;
- /**
- * The time format. Wherever {time} appears in pathPattern, the value of this property is used as
- * the time format instead.
- */
+ /** The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead. */
timeFormat?: string;
- /**
- * The partition count of the blob input data source. Range 1 - 256.
- */
- sourcePartitionCount?: number;
}
-/**
- * Describes an Event Hub input data source that contains stream data.
- */
-export interface EventHubStreamInputDataSource {
- /**
- * Polymorphic Discriminator
- */
- type: "Microsoft.ServiceBus/EventHub";
- /**
- * The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus
- * Topic, etc. Required on PUT (CreateOrReplace) requests.
- */
+/** The common properties that are associated with Service Bus data sources (Queues, Topics, Event Hubs, etc.). */
+export interface ServiceBusDataSourceProperties {
+ /** The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
serviceBusNamespace?: string;
- /**
- * The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
- * Required on PUT (CreateOrReplace) requests.
- */
+ /** The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
sharedAccessPolicyName?: string;
- /**
- * The shared access policy key for the specified shared access policy. Required on PUT
- * (CreateOrReplace) requests.
- */
+ /** The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests. */
sharedAccessPolicyKey?: string;
- /**
- * Authentication Mode. Possible values include: 'Msi', 'UserToken', 'ConnectionString'
- */
+ /** Authentication Mode. */
authenticationMode?: AuthenticationMode;
- /**
- * The name of the Event Hub. Required on PUT (CreateOrReplace) requests.
- */
- eventHubName?: string;
- /**
- * The name of an Event Hub Consumer Group that should be used to read events from the Event Hub.
- * Specifying distinct consumer group names for multiple inputs allows each of those inputs to
- * receive the same events from the Event Hub. If not specified, the input uses the Event Hub’s
- * default consumer group.
- */
- consumerGroupName?: string;
}
-/**
- * Describes an Event Hub input data source that contains stream data.
- */
-export interface EventHubV2StreamInputDataSource {
- /**
- * Polymorphic Discriminator
- */
- type: "Microsoft.EventHub/EventHub";
- /**
- * The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus
- * Topic, etc. Required on PUT (CreateOrReplace) requests.
- */
- serviceBusNamespace?: string;
- /**
- * The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
- * Required on PUT (CreateOrReplace) requests.
- */
- sharedAccessPolicyName?: string;
- /**
- * The shared access policy key for the specified shared access policy. Required on PUT
- * (CreateOrReplace) requests.
- */
- sharedAccessPolicyKey?: string;
- /**
- * Authentication Mode. Possible values include: 'Msi', 'UserToken', 'ConnectionString'
- */
+/** Describes Azure SQL database reference input data source properties. */
+export interface AzureSqlReferenceInputDataSourceProperties {
+ /** This element is associated with the datasource element. This is the name of the server that contains the database that will be written to. */
+ server?: string;
+ /** This element is associated with the datasource element. This is the name of the database that output will be written to. */
+ database?: string;
+ /** This element is associated with the datasource element. This is the user name that will be used to connect to the SQL Database instance. */
+ user?: string;
+ /** This element is associated with the datasource element. This is the password that will be used to connect to the SQL Database instance. */
+ password?: string;
+ /** This element is associated with the datasource element. The name of the table in the Azure SQL database.. */
+ table?: string;
+ /** This element is associated with the datasource element. This element is of enum type. It indicates what kind of data refresh option do we want to use:Static/RefreshPeriodicallyWithFull/RefreshPeriodicallyWithDelta */
+ refreshType?: string;
+ /** This element is associated with the datasource element. This indicates how frequently the data will be fetched from the database. It is of DateTime format. */
+ refreshRate?: string;
+ /** This element is associated with the datasource element. This query is used to fetch data from the sql database. */
+ fullSnapshotQuery?: string;
+ /** This element is associated with the datasource element. This query is used to fetch incremental changes from the SQL database. To use this option, we recommend using temporal tables in Azure SQL Database. */
+ deltaSnapshotQuery?: string;
+}
+
+/** The properties that are associated with an Azure SQL database data source. */
+export interface AzureSqlDatabaseDataSourceProperties {
+ /** The name of the SQL server containing the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
+ server?: string;
+ /** The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
+ database?: string;
+ /** The user name that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
+ user?: string;
+ /** The password that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
+ password?: string;
+ /** The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
+ table?: string;
+ /** Max Batch count for write to Sql database, the default value is 10,000. Optional on PUT requests. */
+ maxBatchCount?: number;
+ /** Max Write r count, currently only 1(single writer) and 0(based on query partition) are available. Optional on PUT requests. */
+ maxWriterCount?: number;
+ /** Authentication Mode. */
authenticationMode?: AuthenticationMode;
- /**
- * The name of the Event Hub. Required on PUT (CreateOrReplace) requests.
- */
- eventHubName?: string;
- /**
- * The name of an Event Hub Consumer Group that should be used to read events from the Event Hub.
- * Specifying distinct consumer group names for multiple inputs allows each of those inputs to
- * receive the same events from the Event Hub. If not specified, the input uses the Event Hub’s
- * default consumer group.
- */
- consumerGroupName?: string;
}
-/**
- * Describes an IoT Hub input data source that contains stream data.
- */
-export interface IoTHubStreamInputDataSource {
- /**
- * Polymorphic Discriminator
- */
- type: "Microsoft.Devices/IotHubs";
- /**
- * The name or the URI of the IoT Hub. Required on PUT (CreateOrReplace) requests.
- */
- iotHubNamespace?: string;
- /**
- * The shared access policy name for the IoT Hub. This policy must contain at least the Service
- * connect permission. Required on PUT (CreateOrReplace) requests.
- */
- sharedAccessPolicyName?: string;
- /**
- * The shared access policy key for the specified shared access policy. Required on PUT
- * (CreateOrReplace) requests.
- */
- sharedAccessPolicyKey?: string;
- /**
- * The name of an IoT Hub Consumer Group that should be used to read events from the IoT Hub. If
- * not specified, the input uses the Iot Hub’s default consumer group.
- */
- consumerGroupName?: string;
- /**
- * The IoT Hub endpoint to connect to (ie. messages/events, messages/operationsMonitoringEvents,
- * etc.).
- */
- endpoint?: string;
+/** The properties that are associated with an Azure SQL database data source. */
+export interface AzureSynapseDataSourceProperties {
+ /** The name of the SQL server containing the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
+ server?: string;
+ /** The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
+ database?: string;
+ /** The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
+ table?: string;
+ /** The user name that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
+ user?: string;
+ /** The password that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
+ password?: string;
}
-/**
- * Describes a blob input data source that contains reference data.
- */
-export interface BlobReferenceInputDataSource {
- /**
- * Polymorphic Discriminator
- */
- type: "Microsoft.Storage/Blob";
- /**
- * A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests.
- */
- storageAccounts?: StorageAccount[];
- /**
- * The name of a container within the associated Storage account. This container contains either
- * the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests.
- */
- container?: string;
- /**
- * The blob path pattern. Not a regular expression. It represents a pattern against which blob
- * names will be matched to determine whether or not they should be included as input or output
- * to the job. See
- * https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or
- * https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more
- * detailed explanation and example.
- */
- pathPattern?: string;
- /**
- * The date format. Wherever {date} appears in pathPattern, the value of this property is used as
- * the date format instead.
- */
- dateFormat?: string;
- /**
- * The time format. Wherever {time} appears in pathPattern, the value of this property is used as
- * the time format instead.
- */
- timeFormat?: string;
+/** The properties that are associated with data sources that use OAuth as their authentication model. */
+export interface OAuthBasedDataSourceProperties {
+ /** A refresh token that can be used to obtain a valid access token that can then be used to authenticate with the data source. A valid refresh token is currently only obtainable via the Azure Portal. It is recommended to put a dummy string value here when creating the data source and then going to the Azure Portal to authenticate the data source which will update this property with a valid refresh token. Required on PUT (CreateOrReplace) requests. */
+ refreshToken?: string;
+ /** The user principal name (UPN) of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token. */
+ tokenUserPrincipalName?: string;
+ /** The user display name of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token. */
+ tokenUserDisplayName?: string;
}
-/**
- * The properties that are associated with an Azure Storage account
- */
-export interface StorageAccount {
+/** A function object, containing all information associated with the named function. All functions are contained under a streaming job. */
+export type FunctionModel = SubResource & {
+ /** The properties that are associated with a function. */
+ properties?: FunctionPropertiesUnion;
+};
+
+/** An input object, containing all information associated with the named input. All inputs are contained under a streaming job. */
+export type Input = SubResource & {
+ /** The properties that are associated with an input. Required on PUT (CreateOrReplace) requests. */
+ properties?: InputPropertiesUnion;
+};
+
+/** An output object, containing all information associated with the named output. All outputs are contained under a streaming job. */
+export type Output = SubResource & {
+ /** Describes the data source that output will be written to. Required on PUT (CreateOrReplace) requests. */
+ datasource?: OutputDataSourceUnion;
+ timeWindow?: string;
+ sizeWindow?: number;
+ /** Describes how data from an input is serialized or how data is serialized when written to an output. Required on PUT (CreateOrReplace) requests. */
+ serialization?: SerializationUnion;
/**
- * The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests.
+ * Describes conditions applicable to the Input, Output, or the job overall, that warrant customer attention.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- accountName?: string;
+ readonly diagnostics?: Diagnostics;
/**
- * The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests.
+ * The current entity tag for the output. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- accountKey?: string;
-}
+ readonly etag?: string;
+};
-/**
- * The properties that are associated with a blob data source.
- */
-export interface BlobDataSourceProperties {
+/** A transformation object, containing all information associated with the named transformation. All transformations are contained under a streaming job. */
+export type Transformation = SubResource & {
+ /** Specifies the number of streaming units that the streaming job uses. */
+ streamingUnits?: number;
+ /** Specifies the query that will be run in the streaming job. You can learn more about the Stream Analytics Query Language (SAQL) here: https://msdn.microsoft.com/library/azure/dn834998 . Required on PUT (CreateOrReplace) requests. */
+ query?: string;
/**
- * A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests.
+ * The current entity tag for the transformation. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- storageAccounts?: StorageAccount[];
+ readonly etag?: string;
+};
+
+/** Describes the current quota for the subscription. */
+export type SubscriptionQuota = SubResource & {
/**
- * The name of a container within the associated Storage account. This container contains either
- * the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests.
+ * The max permitted usage of this resource.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- container?: string;
+ readonly maxCount?: number;
/**
- * The blob path pattern. Not a regular expression. It represents a pattern against which blob
- * names will be matched to determine whether or not they should be included as input or output
- * to the job. See
- * https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or
- * https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more
- * detailed explanation and example.
+ * The current usage of this resource.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- pathPattern?: string;
+ readonly currentCount?: number;
+};
+
+/** The properties that are associated with a scalar function. */
+export type ScalarFunctionProperties = FunctionProperties & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type: "Scalar";
+};
+
+/** The properties that are associated with an aggregate function. */
+export type AggregateFunctionProperties = FunctionProperties & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type: "Aggregate";
+};
+
+/** The binding to an Azure Machine Learning Studio. */
+export type AzureMachineLearningStudioFunctionBinding = FunctionBinding & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type: "Microsoft.MachineLearning/WebService";
+ /** The Request-Response execute endpoint of the Azure Machine Learning Studio. Find out more here: https://docs.microsoft.com/en-us/azure/machine-learning/machine-learning-consume-web-services#request-response-service-rrs */
+ endpoint?: string;
+ /** The API key used to authenticate with Request-Response endpoint. */
+ apiKey?: string;
+ /** The inputs for the Azure Machine Learning Studio endpoint. */
+ inputs?: AzureMachineLearningStudioInputs;
+ /** A list of outputs from the Azure Machine Learning Studio endpoint execution. */
+ outputs?: AzureMachineLearningStudioOutputColumn[];
+ /** Number between 1 and 10000 describing maximum number of rows for every Azure ML RRS execute request. Default is 1000. */
+ batchSize?: number;
+};
+
+/** The binding to a JavaScript function. */
+export type JavaScriptFunctionBinding = FunctionBinding & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type: "Microsoft.StreamAnalytics/JavascriptUdf";
+ /** The JavaScript code containing a single function definition. For example: 'function (x, y) { return x + y; }' */
+ script?: string;
+};
+
+/** The binding to a CSharp function. */
+export type CSharpFunctionBinding = FunctionBinding & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type: "Microsoft.StreamAnalytics/CLRUdf";
+ /** The Csharp code containing a single function definition. */
+ script?: string;
+ /** The Csharp code containing a single function definition. */
+ dllPath?: string;
+ /** The Csharp code containing a single function definition. */
+ class?: string;
+ /** The Csharp code containing a single function definition. */
+ method?: string;
+};
+
+/** The binding to an Azure Machine Learning web service. */
+export type AzureMachineLearningServiceFunctionBinding = FunctionBinding & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type: "Microsoft.MachineLearningServices";
+ /** The Request-Response execute endpoint of the Azure Machine Learning web service. */
+ endpoint?: string;
+ /** The API key used to authenticate with Request-Response endpoint. */
+ apiKey?: string;
+ /** The inputs for the Azure Machine Learning web service endpoint. */
+ inputs?: AzureMachineLearningServiceInputColumn[];
+ /** A list of outputs from the Azure Machine Learning web service endpoint execution. */
+ outputs?: AzureMachineLearningServiceOutputColumn[];
+ /** Number between 1 and 10000 describing maximum number of rows for every Azure ML RRS execute request. Default is 1000. */
+ batchSize?: number;
+ /** The number of parallel requests that will be sent per partition of your job to the machine learning service. Default is 1. */
+ numberOfParallelRequests?: number;
+};
+
+/** The result of the query testing request. */
+export type QueryTestingResult = ErrorModel & {
/**
- * The date format. Wherever {date} appears in pathPattern, the value of this property is used as
- * the date format instead.
+ * The status of the query testing request.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- dateFormat?: string;
+ readonly status?: QueryTestingResultStatus;
/**
- * The time format. Wherever {time} appears in pathPattern, the value of this property is used as
- * the time format instead.
+ * The SAS URL to the outputs payload.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- timeFormat?: string;
-}
+ readonly outputUri?: string;
+};
-/**
- * The common properties that are associated with Service Bus data sources (Queues, Topics, Event
- * Hubs, etc.).
- */
-export interface ServiceBusDataSourceProperties {
+/** The result of the sample input request. */
+export type SampleInputResult = ErrorModel & {
/**
- * The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus
- * Topic, etc. Required on PUT (CreateOrReplace) requests.
+ * The status of the sample input request.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- serviceBusNamespace?: string;
+ readonly status?: SampleInputResultStatus;
/**
- * The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
- * Required on PUT (CreateOrReplace) requests.
+ * Diagnostics messages. E.g. message indicating some partitions from the input have no data.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- sharedAccessPolicyName?: string;
+ readonly diagnostics?: string[];
/**
- * The shared access policy key for the specified shared access policy. Required on PUT
- * (CreateOrReplace) requests.
+ * A SAS URL to download the sampled input data.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- sharedAccessPolicyKey?: string;
+ readonly eventsDownloadUrl?: string;
/**
- * Authentication Mode. Possible values include: 'Msi', 'UserToken', 'ConnectionString'
+ * The timestamp for the last event in the data. It is in DateTime format.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- authenticationMode?: AuthenticationMode;
-}
+ readonly lastArrivalTime?: string;
+};
-/**
- * The common properties that are associated with Event Hub data sources.
- */
-export interface EventHubDataSourceProperties extends ServiceBusDataSourceProperties {
+/** The result of the test input or output request. */
+export type TestDatasourceResult = ErrorModel & {
/**
- * The name of the Event Hub. Required on PUT (CreateOrReplace) requests.
+ * The status of the sample output request.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- eventHubName?: string;
-}
+ readonly status?: TestDatasourceResultStatus;
+};
-/**
- * Describes how data from an input is serialized or how data is serialized when written to an
- * output in Parquet format.
- */
-export interface ParquetSerialization {
- /**
- * Polymorphic Discriminator
- */
+/** The parameters needed to retrieve the default function definition for an Azure Machine Learning Studio function. */
+export type AzureMachineLearningStudioFunctionRetrieveDefaultDefinitionParameters = FunctionRetrieveDefaultDefinitionParameters & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ bindingType: "Microsoft.MachineLearning/WebService";
+ /** The Request-Response execute endpoint of the Azure Machine Learning Studio. Find out more here: https://docs.microsoft.com/en-us/azure/machine-learning/machine-learning-consume-web-services#request-response-service-rrs */
+ executeEndpoint?: string;
+ /** The function type. */
+ udfType?: "Scalar";
+};
+
+/** The parameters needed to retrieve the default function definition for an Azure Machine Learning web service function. */
+export type AzureMachineLearningServiceFunctionRetrieveDefaultDefinitionParameters = FunctionRetrieveDefaultDefinitionParameters & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ bindingType: "Microsoft.MachineLearningServices";
+ /** The Request-Response execute endpoint of the Azure Machine Learning web service. */
+ executeEndpoint?: string;
+ /** The function type. */
+ udfType?: "Scalar";
+};
+
+/** The parameters needed to retrieve the default function definition for a JavaScript function. */
+export type JavaScriptFunctionRetrieveDefaultDefinitionParameters = FunctionRetrieveDefaultDefinitionParameters & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ bindingType: "Microsoft.StreamAnalytics/JavascriptUdf";
+ /** The JavaScript code containing a single function definition. For example: 'function (x, y) { return x + y; }'. */
+ script?: string;
+ /** The function type. */
+ udfType?: "Scalar";
+};
+
+/** The parameters needed to retrieve the default function definition for a CSharp function. */
+export type CSharpFunctionRetrieveDefaultDefinitionParameters = FunctionRetrieveDefaultDefinitionParameters & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ bindingType: "Microsoft.StreamAnalytics/CLRUdf";
+ /** The CSharp code containing a single function definition. */
+ script?: string;
+ /** The function type. */
+ udfType?: "Scalar";
+};
+
+/** The properties that are associated with an input containing stream data. */
+export type StreamInputProperties = InputProperties & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type: "Stream";
+ /** Describes an input data source that contains stream data. Required on PUT (CreateOrReplace) requests. */
+ datasource?: StreamInputDataSourceUnion;
+};
+
+/** The properties that are associated with an input containing reference data. */
+export type ReferenceInputProperties = InputProperties & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type: "Reference";
+ /** Describes an input data source that contains reference data. Required on PUT (CreateOrReplace) requests. */
+ datasource?: ReferenceInputDataSourceUnion;
+};
+
+/** Describes how data from an input is serialized or how data is serialized when written to an output in Parquet format. */
+export type ParquetSerialization = Serialization & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
type: "Parquet";
- /**
- * The properties that are associated with the Parquet serialization type. Required on PUT
- * (CreateOrReplace) requests.
- */
- properties?: any;
-}
+ /** The properties that are associated with the Parquet serialization type. Required on PUT (CreateOrReplace) requests. */
+ properties?: Record;
+};
-/**
- * Describes how data from an input is serialized or how data is serialized when written to an
- * output in custom format.
- */
-export interface CustomClrSerialization {
- /**
- * Polymorphic Discriminator
- */
+/** Describes how data from an input is serialized or how data is serialized when written to an output in custom format. */
+export type CustomClrSerialization = Serialization & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
type: "CustomClr";
- /**
- * The serialization library path.
- */
+ /** The serialization library path. */
serializationDllPath?: string;
- /**
- * The serialization class name.
- */
+ /** The serialization class name. */
serializationClassName?: string;
-}
+};
-/**
- * Describes how data from an input is serialized or how data is serialized when written to an
- * output in CSV format.
- */
-export interface CsvSerialization {
- /**
- * Polymorphic Discriminator
- */
+/** Describes how data from an input is serialized or how data is serialized when written to an output in CSV format. */
+export type CsvSerialization = Serialization & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
type: "Csv";
- /**
- * Specifies the delimiter that will be used to separate comma-separated value (CSV) records. See
- * https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or
- * https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a list
- * of supported values. Required on PUT (CreateOrReplace) requests.
- */
+ /** Specifies the delimiter that will be used to separate comma-separated value (CSV) records. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a list of supported values. Required on PUT (CreateOrReplace) requests. */
fieldDelimiter?: string;
- /**
- * Specifies the encoding of the incoming data in the case of input and the encoding of outgoing
- * data in the case of output. Required on PUT (CreateOrReplace) requests. Possible values
- * include: 'UTF8'
- */
+ /** Specifies the encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. Required on PUT (CreateOrReplace) requests. */
encoding?: Encoding;
-}
+};
-/**
- * Describes how data from an input is serialized or how data is serialized when written to an
- * output in JSON format.
- */
-export interface JsonSerialization {
- /**
- * Polymorphic Discriminator
- */
+/** Describes how data from an input is serialized or how data is serialized when written to an output in JSON format. */
+export type JsonSerialization = Serialization & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
type: "Json";
- /**
- * Specifies the encoding of the incoming data in the case of input and the encoding of outgoing
- * data in the case of output. Required on PUT (CreateOrReplace) requests. Possible values
- * include: 'UTF8'
- */
+ /** Specifies the encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. Required on PUT (CreateOrReplace) requests. */
encoding?: Encoding;
- /**
- * This property only applies to JSON serialization of outputs only. It is not applicable to
- * inputs. This property specifies the format of the JSON the output will be written in. The
- * currently supported values are 'lineSeparated' indicating the output will be formatted by
- * having each JSON object separated by a new line and 'array' indicating the output will be
- * formatted as an array of JSON objects. Default value is 'lineSeparated' if left null. Possible
- * values include: 'LineSeparated', 'Array'
- */
+ /** This property only applies to JSON serialization of outputs only. It is not applicable to inputs. This property specifies the format of the JSON the output will be written in. The currently supported values are 'lineSeparated' indicating the output will be formatted by having each JSON object separated by a new line and 'array' indicating the output will be formatted as an array of JSON objects. Default value is 'lineSeparated' if left null. */
format?: JsonOutputSerializationFormat;
-}
+};
-/**
- * Describes how data from an input is serialized or how data is serialized when written to an
- * output in Avro format.
- */
-export interface AvroSerialization {
- /**
- * Polymorphic Discriminator
- */
+/** Describes how data from an input is serialized or how data is serialized when written to an output in Avro format. */
+export type AvroSerialization = Serialization & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
type: "Avro";
- /**
- * The properties that are associated with the Avro serialization type. Required on PUT
- * (CreateOrReplace) requests.
- */
- properties?: any;
-}
-
-/**
- * Describes how identity is verified
- */
-export interface Identity {
- tenantId?: string;
- principalId?: string;
- type?: string;
-}
-
-/**
- * An interface representing AzureSqlReferenceInputDataSourceProperties.
- */
-export interface AzureSqlReferenceInputDataSourceProperties {
- /**
- * This element is associated with the datasource element. This is the name of the server that
- * contains the database that will be written to.
- */
- server?: string;
- /**
- * This element is associated with the datasource element. This is the name of the database that
- * output will be written to.
- */
- database?: string;
- /**
- * This element is associated with the datasource element. This is the user name that will be
- * used to connect to the SQL Database instance.
- */
- user?: string;
- /**
- * This element is associated with the datasource element. This is the password that will be used
- * to connect to the SQL Database instance.
- */
- password?: string;
- /**
- * This element is associated with the datasource element. The name of the table in the Azure SQL
- * database..
- */
- table?: string;
- /**
- * This element is associated with the datasource element. This element is of enum type. It
- * indicates what kind of data refresh option do we want to
- * use:Static/RefreshPeriodicallyWithFull/RefreshPeriodicallyWithDelta
- */
- refreshType?: string;
- /**
- * This element is associated with the datasource element. This indicates how frequently the data
- * will be fetched from the database. It is of DateTime format.
- */
- refreshRate?: string;
- /**
- * This element is associated with the datasource element. This query is used to fetch data from
- * the sql database.
- */
- fullSnapshotQuery?: string;
- /**
- * This element is associated with the datasource element. This query is used to fetch
- * incremental changes from the SQL database. To use this option, we recommend using temporal
- * tables in Azure SQL Database.
- */
- deltaSnapshotQuery?: string;
-}
-
-/**
- * Describes an Azure SQL database reference input data source.
- */
-export interface AzureSqlReferenceInputDataSource {
- /**
- * Polymorphic Discriminator
- */
- type: "Microsoft.Sql/Server/Database";
- properties?: AzureSqlReferenceInputDataSourceProperties;
-}
-
-/**
- * Contains the possible cases for OutputDataSource.
- */
-export type OutputDataSourceUnion = OutputDataSource | BlobOutputDataSource | AzureTableOutputDataSource | EventHubOutputDataSource | EventHubV2OutputDataSource | AzureSqlDatabaseOutputDataSource | AzureSynapseOutputDataSource | DocumentDbOutputDataSource | AzureFunctionOutputDataSource | ServiceBusQueueOutputDataSource | ServiceBusTopicOutputDataSource | PowerBIOutputDataSource | AzureDataLakeStoreOutputDataSource;
-
-/**
- * Describes the data source that output will be written to.
- */
-export interface OutputDataSource {
- /**
- * Polymorphic Discriminator
- */
- type: "OutputDataSource";
-}
+ /** The properties that are associated with the Avro serialization type. Required on PUT (CreateOrReplace) requests. */
+ properties?: Record;
+};
-/**
- * An output object, containing all information associated with the named output. All outputs are
- * contained under a streaming job.
- */
-export interface Output extends SubResource {
- /**
- * Describes the data source that output will be written to. Required on PUT (CreateOrReplace)
- * requests.
- */
- datasource?: OutputDataSourceUnion;
- timeWindow?: string;
- sizeWindow?: number;
- /**
- * Describes how data from an input is serialized or how data is serialized when written to an
- * output. Required on PUT (CreateOrReplace) requests.
- */
- serialization?: SerializationUnion;
- /**
- * Describes conditions applicable to the Input, Output, or the job overall, that warrant
- * customer attention.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly diagnostics?: Diagnostics;
- /**
- * The current entity tag for the output. This is an opaque string. You can use it to detect
- * whether the resource has changed between requests. You can also use it in the If-Match or
- * If-None-Match headers for write operations for optimistic concurrency.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly etag?: string;
-}
+/** Describes a raw output data source. This data source type is only applicable/usable when using the query testing API. You cannot create a job with this data source type or add an output of this data source type to an existing job. */
+export type RawOutputDatasource = OutputDataSource & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type: "Raw";
+ /** The SAS URL to a blob where the output should be written. If this property is not set, output data will be written into a temporary storage, and a SAS URL to that temporary storage will be included in the result. */
+ payloadUri?: string;
+};
-/**
- * Describes a blob output data source.
- */
-export interface BlobOutputDataSource {
- /**
- * Polymorphic Discriminator
- */
+/** Describes a blob output data source. */
+export type BlobOutputDataSource = OutputDataSource & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
type: "Microsoft.Storage/Blob";
- /**
- * A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests.
- */
+ /** A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests. */
storageAccounts?: StorageAccount[];
- /**
- * The name of a container within the associated Storage account. This container contains either
- * the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests.
- */
+ /** The name of a container within the associated Storage account. This container contains either the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests. */
container?: string;
- /**
- * The blob path pattern. Not a regular expression. It represents a pattern against which blob
- * names will be matched to determine whether or not they should be included as input or output
- * to the job. See
- * https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or
- * https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more
- * detailed explanation and example.
- */
+ /** The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more detailed explanation and example. */
pathPattern?: string;
- /**
- * The date format. Wherever {date} appears in pathPattern, the value of this property is used as
- * the date format instead.
- */
+ /** The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead. */
dateFormat?: string;
- /**
- * The time format. Wherever {time} appears in pathPattern, the value of this property is used as
- * the time format instead.
- */
+ /** The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead. */
timeFormat?: string;
- /**
- * Authentication Mode. Possible values include: 'Msi', 'UserToken', 'ConnectionString'
- */
+ /** Authentication Mode. */
authenticationMode?: AuthenticationMode;
-}
+};
-/**
- * Describes an Azure Table output data source.
- */
-export interface AzureTableOutputDataSource {
- /**
- * Polymorphic Discriminator
- */
+/** Describes an Azure Table output data source. */
+export type AzureTableOutputDataSource = OutputDataSource & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
type: "Microsoft.Storage/Table";
- /**
- * The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests.
- */
+ /** The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests. */
accountName?: string;
- /**
- * The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests.
- */
+ /** The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests. */
accountKey?: string;
- /**
- * The name of the Azure Table. Required on PUT (CreateOrReplace) requests.
- */
+ /** The name of the Azure Table. Required on PUT (CreateOrReplace) requests. */
table?: string;
- /**
- * This element indicates the name of a column from the SELECT statement in the query that will
- * be used as the partition key for the Azure Table. Required on PUT (CreateOrReplace) requests.
- */
+ /** This element indicates the name of a column from the SELECT statement in the query that will be used as the partition key for the Azure Table. Required on PUT (CreateOrReplace) requests. */
partitionKey?: string;
- /**
- * This element indicates the name of a column from the SELECT statement in the query that will
- * be used as the row key for the Azure Table. Required on PUT (CreateOrReplace) requests.
- */
+ /** This element indicates the name of a column from the SELECT statement in the query that will be used as the row key for the Azure Table. Required on PUT (CreateOrReplace) requests. */
rowKey?: string;
- /**
- * If specified, each item in the array is the name of a column to remove (if present) from
- * output event entities.
- */
+ /** If specified, each item in the array is the name of a column to remove (if present) from output event entities. */
columnsToRemove?: string[];
- /**
- * The number of rows to write to the Azure Table at a time.
- */
+ /** The number of rows to write to the Azure Table at a time. */
batchSize?: number;
-}
+};
-/**
- * Describes an Event Hub output data source.
- */
-export interface EventHubOutputDataSource {
- /**
- * Polymorphic Discriminator
- */
+/** Describes an Event Hub output data source. */
+export type EventHubOutputDataSource = OutputDataSource & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
type: "Microsoft.ServiceBus/EventHub";
- /**
- * The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus
- * Topic, etc. Required on PUT (CreateOrReplace) requests.
- */
+ /** The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
serviceBusNamespace?: string;
- /**
- * The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
- * Required on PUT (CreateOrReplace) requests.
- */
+ /** The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
sharedAccessPolicyName?: string;
- /**
- * The shared access policy key for the specified shared access policy. Required on PUT
- * (CreateOrReplace) requests.
- */
+ /** The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests. */
sharedAccessPolicyKey?: string;
- /**
- * Authentication Mode. Possible values include: 'Msi', 'UserToken', 'ConnectionString'
- */
+ /** Authentication Mode. */
authenticationMode?: AuthenticationMode;
- /**
- * The name of the Event Hub. Required on PUT (CreateOrReplace) requests.
- */
+ /** The name of the Event Hub. Required on PUT (CreateOrReplace) requests. */
eventHubName?: string;
- /**
- * The key/column that is used to determine to which partition to send event data.
- */
+ /** The key/column that is used to determine to which partition to send event data. */
partitionKey?: string;
propertyColumns?: string[];
-}
+};
-/**
- * Describes an Event Hub output data source.
- */
-export interface EventHubV2OutputDataSource {
- /**
- * Polymorphic Discriminator
- */
+/** Describes an Event Hub output data source. */
+export type EventHubV2OutputDataSource = OutputDataSource & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
type: "Microsoft.EventHub/EventHub";
- /**
- * The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus
- * Topic, etc. Required on PUT (CreateOrReplace) requests.
- */
+ /** The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
serviceBusNamespace?: string;
- /**
- * The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
- * Required on PUT (CreateOrReplace) requests.
- */
+ /** The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
sharedAccessPolicyName?: string;
- /**
- * The shared access policy key for the specified shared access policy. Required on PUT
- * (CreateOrReplace) requests.
- */
+ /** The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests. */
sharedAccessPolicyKey?: string;
- /**
- * Authentication Mode. Possible values include: 'Msi', 'UserToken', 'ConnectionString'
- */
+ /** Authentication Mode. */
authenticationMode?: AuthenticationMode;
- /**
- * The name of the Event Hub. Required on PUT (CreateOrReplace) requests.
- */
+ /** The name of the Event Hub. Required on PUT (CreateOrReplace) requests. */
eventHubName?: string;
- /**
- * The key/column that is used to determine to which partition to send event data.
- */
+ /** The key/column that is used to determine to which partition to send event data. */
partitionKey?: string;
propertyColumns?: string[];
-}
+};
-/**
- * Describes an Azure SQL database output data source.
- */
-export interface AzureSqlDatabaseOutputDataSource {
- /**
- * Polymorphic Discriminator
- */
+/** Describes an Azure SQL database output data source. */
+export type AzureSqlDatabaseOutputDataSource = OutputDataSource & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
type: "Microsoft.Sql/Server/Database";
- /**
- * The name of the SQL server containing the Azure SQL database. Required on PUT
- * (CreateOrReplace) requests.
- */
+ /** The name of the SQL server containing the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
server?: string;
- /**
- * The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests.
- */
+ /** The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
database?: string;
- /**
- * The user name that will be used to connect to the Azure SQL database. Required on PUT
- * (CreateOrReplace) requests.
- */
+ /** The user name that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
user?: string;
- /**
- * The password that will be used to connect to the Azure SQL database. Required on PUT
- * (CreateOrReplace) requests.
- */
+ /** The password that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
password?: string;
- /**
- * The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests.
- */
+ /** The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
table?: string;
- /**
- * Max Batch count for write to Sql database, the default value is 10,000. Optional on PUT
- * requests.
- */
+ /** Max Batch count for write to Sql database, the default value is 10,000. Optional on PUT requests. */
maxBatchCount?: number;
- /**
- * Max Write r count, currently only 1(single writer) and 0(based on query partition) are
- * available. Optional on PUT requests.
- */
+ /** Max Write r count, currently only 1(single writer) and 0(based on query partition) are available. Optional on PUT requests. */
maxWriterCount?: number;
- /**
- * Authentication Mode. Possible values include: 'Msi', 'UserToken', 'ConnectionString'
- */
+ /** Authentication Mode. */
authenticationMode?: AuthenticationMode;
-}
+};
-/**
- * Describes an Azure Synapse output data source.
- */
-export interface AzureSynapseOutputDataSource {
- /**
- * Polymorphic Discriminator
- */
+/** Describes an Azure Synapse output data source. */
+export type AzureSynapseOutputDataSource = OutputDataSource & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
type: "Microsoft.Sql/Server/DataWarehouse";
- /**
- * The name of the SQL server containing the Azure SQL database. Required on PUT
- * (CreateOrReplace) requests.
- */
- server?: string;
- /**
- * The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests.
- */
- database?: string;
- /**
- * The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests.
- */
- table?: string;
- /**
- * The user name that will be used to connect to the Azure SQL database. Required on PUT
- * (CreateOrReplace) requests.
- */
- user?: string;
- /**
- * The password that will be used to connect to the Azure SQL database. Required on PUT
- * (CreateOrReplace) requests.
- */
- password?: string;
-}
-
-/**
- * The properties that are associated with an Azure SQL database data source.
- */
-export interface AzureSynapseDataSourceProperties {
- /**
- * The name of the SQL server containing the Azure SQL database. Required on PUT
- * (CreateOrReplace) requests.
- */
+ /** The name of the SQL server containing the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
server?: string;
- /**
- * The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests.
- */
+ /** The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
database?: string;
- /**
- * The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests.
- */
+ /** The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
table?: string;
- /**
- * The user name that will be used to connect to the Azure SQL database. Required on PUT
- * (CreateOrReplace) requests.
- */
+ /** The user name that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
user?: string;
- /**
- * The password that will be used to connect to the Azure SQL database. Required on PUT
- * (CreateOrReplace) requests.
- */
+ /** The password that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests. */
password?: string;
-}
+};
-/**
- * Describes a DocumentDB output data source.
- */
-export interface DocumentDbOutputDataSource {
- /**
- * Polymorphic Discriminator
- */
+/** Describes a DocumentDB output data source. */
+export type DocumentDbOutputDataSource = OutputDataSource & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
type: "Microsoft.Storage/DocumentDB";
- /**
- * The DocumentDB account name or ID. Required on PUT (CreateOrReplace) requests.
- */
+ /** The DocumentDB account name or ID. Required on PUT (CreateOrReplace) requests. */
accountId?: string;
- /**
- * The account key for the DocumentDB account. Required on PUT (CreateOrReplace) requests.
- */
+ /** The account key for the DocumentDB account. Required on PUT (CreateOrReplace) requests. */
accountKey?: string;
- /**
- * The name of the DocumentDB database. Required on PUT (CreateOrReplace) requests.
- */
+ /** The name of the DocumentDB database. Required on PUT (CreateOrReplace) requests. */
database?: string;
- /**
- * The collection name pattern for the collections to be used. The collection name format can be
- * constructed using the optional {partition} token, where partitions start from 0. See the
- * DocumentDB section of
- * https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for more
- * information. Required on PUT (CreateOrReplace) requests.
- */
+ /** The collection name pattern for the collections to be used. The collection name format can be constructed using the optional {partition} token, where partitions start from 0. See the DocumentDB section of https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for more information. Required on PUT (CreateOrReplace) requests. */
collectionNamePattern?: string;
- /**
- * The name of the field in output events used to specify the key for partitioning output across
- * collections. If 'collectionNamePattern' contains the {partition} token, this property is
- * required to be specified.
- */
+ /** The name of the field in output events used to specify the key for partitioning output across collections. If 'collectionNamePattern' contains the {partition} token, this property is required to be specified. */
partitionKey?: string;
- /**
- * The name of the field in output events used to specify the primary key which insert or update
- * operations are based on.
- */
+ /** The name of the field in output events used to specify the primary key which insert or update operations are based on. */
documentId?: string;
-}
+};
-/**
- * Defines the metadata of AzureFunctionOutputDataSource
- */
-export interface AzureFunctionOutputDataSource {
- /**
- * Polymorphic Discriminator
- */
+/** Defines the metadata of AzureFunctionOutputDataSource */
+export type AzureFunctionOutputDataSource = OutputDataSource & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
type: "Microsoft.AzureFunction";
- /**
- * The name of your Azure Functions app.
- */
+ /** The name of your Azure Functions app. */
functionAppName?: string;
- /**
- * The name of the function in your Azure Functions app.
- */
+ /** The name of the function in your Azure Functions app. */
functionName?: string;
- /**
- * If you want to use an Azure Function from another subscription, you can do so by providing the
- * key to access your function.
- */
+ /** If you want to use an Azure Function from another subscription, you can do so by providing the key to access your function. */
apiKey?: string;
- /**
- * A property that lets you set the maximum size for each output batch that's sent to your Azure
- * function. The input unit is in bytes. By default, this value is 262,144 bytes (256 KB).
- */
+ /** A property that lets you set the maximum size for each output batch that's sent to your Azure function. The input unit is in bytes. By default, this value is 262,144 bytes (256 KB). */
maxBatchSize?: number;
- /**
- * A property that lets you specify the maximum number of events in each batch that's sent to
- * Azure Functions. The default value is 100.
- */
+ /** A property that lets you specify the maximum number of events in each batch that's sent to Azure Functions. The default value is 100. */
maxBatchCount?: number;
-}
+};
-/**
- * Describes a Service Bus Queue output data source.
- */
-export interface ServiceBusQueueOutputDataSource {
- /**
- * Polymorphic Discriminator
- */
+/** Describes a Service Bus Queue output data source. */
+export type ServiceBusQueueOutputDataSource = OutputDataSource & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
type: "Microsoft.ServiceBus/Queue";
- /**
- * The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus
- * Topic, etc. Required on PUT (CreateOrReplace) requests.
- */
+ /** The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
serviceBusNamespace?: string;
- /**
- * The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
- * Required on PUT (CreateOrReplace) requests.
- */
+ /** The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
sharedAccessPolicyName?: string;
- /**
- * The shared access policy key for the specified shared access policy. Required on PUT
- * (CreateOrReplace) requests.
- */
+ /** The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests. */
sharedAccessPolicyKey?: string;
- /**
- * Authentication Mode. Possible values include: 'Msi', 'UserToken', 'ConnectionString'
- */
+ /** Authentication Mode. */
authenticationMode?: AuthenticationMode;
- /**
- * The name of the Service Bus Queue. Required on PUT (CreateOrReplace) requests.
- */
+ /** The name of the Service Bus Queue. Required on PUT (CreateOrReplace) requests. */
queueName?: string;
- /**
- * A string array of the names of output columns to be attached to Service Bus messages as custom
- * properties.
- */
+ /** A string array of the names of output columns to be attached to Service Bus messages as custom properties. */
propertyColumns?: string[];
+ /** Dictionary of */
systemPropertyColumns?: { [propertyName: string]: string };
-}
+};
-/**
- * Describes a Service Bus Topic output data source.
- */
-export interface ServiceBusTopicOutputDataSource {
- /**
- * Polymorphic Discriminator
- */
+/** Describes a Service Bus Topic output data source. */
+export type ServiceBusTopicOutputDataSource = OutputDataSource & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
type: "Microsoft.ServiceBus/Topic";
- /**
- * The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus
- * Topic, etc. Required on PUT (CreateOrReplace) requests.
- */
+ /** The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
serviceBusNamespace?: string;
- /**
- * The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
- * Required on PUT (CreateOrReplace) requests.
- */
+ /** The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
sharedAccessPolicyName?: string;
- /**
- * The shared access policy key for the specified shared access policy. Required on PUT
- * (CreateOrReplace) requests.
- */
+ /** The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests. */
sharedAccessPolicyKey?: string;
- /**
- * Authentication Mode. Possible values include: 'Msi', 'UserToken', 'ConnectionString'
- */
+ /** Authentication Mode. */
authenticationMode?: AuthenticationMode;
- /**
- * The name of the Service Bus Topic. Required on PUT (CreateOrReplace) requests.
- */
+ /** The name of the Service Bus Topic. Required on PUT (CreateOrReplace) requests. */
topicName?: string;
- /**
- * A string array of the names of output columns to be attached to Service Bus messages as custom
- * properties.
- */
+ /** A string array of the names of output columns to be attached to Service Bus messages as custom properties. */
propertyColumns?: string[];
+ /** Dictionary of */
systemPropertyColumns?: { [propertyName: string]: string };
-}
+};
-/**
- * Describes a Power BI output data source.
- */
-export interface PowerBIOutputDataSource {
- /**
- * Polymorphic Discriminator
- */
+/** Describes a Power BI output data source. */
+export type PowerBIOutputDataSource = OutputDataSource & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
type: "PowerBI";
- /**
- * A refresh token that can be used to obtain a valid access token that can then be used to
- * authenticate with the data source. A valid refresh token is currently only obtainable via the
- * Azure Portal. It is recommended to put a dummy string value here when creating the data source
- * and then going to the Azure Portal to authenticate the data source which will update this
- * property with a valid refresh token. Required on PUT (CreateOrReplace) requests.
- */
+ /** A refresh token that can be used to obtain a valid access token that can then be used to authenticate with the data source. A valid refresh token is currently only obtainable via the Azure Portal. It is recommended to put a dummy string value here when creating the data source and then going to the Azure Portal to authenticate the data source which will update this property with a valid refresh token. Required on PUT (CreateOrReplace) requests. */
refreshToken?: string;
- /**
- * The user principal name (UPN) of the user that was used to obtain the refresh token. Use this
- * property to help remember which user was used to obtain the refresh token.
- */
+ /** The user principal name (UPN) of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token. */
tokenUserPrincipalName?: string;
- /**
- * The user display name of the user that was used to obtain the refresh token. Use this property
- * to help remember which user was used to obtain the refresh token.
- */
+ /** The user display name of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token. */
tokenUserDisplayName?: string;
- /**
- * The name of the Power BI dataset. Required on PUT (CreateOrReplace) requests.
- */
+ /** The name of the Power BI dataset. Required on PUT (CreateOrReplace) requests. */
dataset?: string;
- /**
- * The name of the Power BI table under the specified dataset. Required on PUT (CreateOrReplace)
- * requests.
- */
+ /** The name of the Power BI table under the specified dataset. Required on PUT (CreateOrReplace) requests. */
table?: string;
- /**
- * The ID of the Power BI group.
- */
+ /** The ID of the Power BI group. */
groupId?: string;
- /**
- * The name of the Power BI group. Use this property to help remember which specific Power BI
- * group id was used.
- */
+ /** The name of the Power BI group. Use this property to help remember which specific Power BI group id was used. */
groupName?: string;
- /**
- * Authentication Mode. Possible values include: 'Msi', 'UserToken', 'ConnectionString'
- */
+ /** Authentication Mode. */
authenticationMode?: AuthenticationMode;
-}
+};
-/**
- * Describes an Azure Data Lake Store output data source.
- */
-export interface AzureDataLakeStoreOutputDataSource {
- /**
- * Polymorphic Discriminator
- */
+/** Describes an Azure Data Lake Store output data source. */
+export type AzureDataLakeStoreOutputDataSource = OutputDataSource & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
type: "Microsoft.DataLake/Accounts";
- /**
- * A refresh token that can be used to obtain a valid access token that can then be used to
- * authenticate with the data source. A valid refresh token is currently only obtainable via the
- * Azure Portal. It is recommended to put a dummy string value here when creating the data source
- * and then going to the Azure Portal to authenticate the data source which will update this
- * property with a valid refresh token. Required on PUT (CreateOrReplace) requests.
- */
+ /** A refresh token that can be used to obtain a valid access token that can then be used to authenticate with the data source. A valid refresh token is currently only obtainable via the Azure Portal. It is recommended to put a dummy string value here when creating the data source and then going to the Azure Portal to authenticate the data source which will update this property with a valid refresh token. Required on PUT (CreateOrReplace) requests. */
refreshToken?: string;
- /**
- * The user principal name (UPN) of the user that was used to obtain the refresh token. Use this
- * property to help remember which user was used to obtain the refresh token.
- */
+ /** The user principal name (UPN) of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token. */
tokenUserPrincipalName?: string;
- /**
- * The user display name of the user that was used to obtain the refresh token. Use this property
- * to help remember which user was used to obtain the refresh token.
- */
+ /** The user display name of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token. */
tokenUserDisplayName?: string;
- /**
- * The name of the Azure Data Lake Store account. Required on PUT (CreateOrReplace) requests.
- */
+ /** The name of the Azure Data Lake Store account. Required on PUT (CreateOrReplace) requests. */
accountName?: string;
- /**
- * The tenant id of the user used to obtain the refresh token. Required on PUT (CreateOrReplace)
- * requests.
- */
+ /** The tenant id of the user used to obtain the refresh token. Required on PUT (CreateOrReplace) requests. */
tenantId?: string;
- /**
- * The location of the file to which the output should be written to. Required on PUT
- * (CreateOrReplace) requests.
- */
+ /** The location of the file to which the output should be written to. Required on PUT (CreateOrReplace) requests. */
filePathPrefix?: string;
- /**
- * The date format. Wherever {date} appears in filePathPrefix, the value of this property is used
- * as the date format instead.
- */
+ /** The date format. Wherever {date} appears in filePathPrefix, the value of this property is used as the date format instead. */
dateFormat?: string;
- /**
- * The time format. Wherever {time} appears in filePathPrefix, the value of this property is used
- * as the time format instead.
- */
+ /** The time format. Wherever {time} appears in filePathPrefix, the value of this property is used as the time format instead. */
timeFormat?: string;
- /**
- * Authentication Mode. Possible values include: 'Msi', 'UserToken', 'ConnectionString'
- */
+ /** Authentication Mode. */
authenticationMode?: AuthenticationMode;
-}
+};
-/**
- * The properties that are associated with an Azure SQL database data source.
- */
-export interface AzureSqlDatabaseDataSourceProperties {
- /**
- * The name of the SQL server containing the Azure SQL database. Required on PUT
- * (CreateOrReplace) requests.
- */
- server?: string;
- /**
- * The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests.
- */
- database?: string;
+/** The resource model definition for a ARM tracked top level resource */
+export type TrackedResource = Resource & {
+ /** Resource tags. */
+ tags?: { [propertyName: string]: string };
+ /** The geo-location where the resource lives */
+ location?: string;
+};
+
+/** The resource model definition for a ARM proxy resource. It will have everything other than required location and tags */
+export type ProxyResource = Resource & {};
+
+/** The properties that are associated with an Azure Storage account with MSI */
+export type JobStorageAccount = StorageAccount & {
+ /** Authentication Mode. */
+ authenticationMode?: AuthenticationMode;
+};
+
+/** Describes a blob input data source that contains stream data. */
+export type BlobStreamInputDataSource = StreamInputDataSource & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type: "Microsoft.Storage/Blob";
+ /** A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests. */
+ storageAccounts?: StorageAccount[];
+ /** The name of a container within the associated Storage account. This container contains either the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests. */
+ container?: string;
+ /** The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more detailed explanation and example. */
+ pathPattern?: string;
+ /** The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead. */
+ dateFormat?: string;
+ /** The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead. */
+ timeFormat?: string;
+ /** The partition count of the blob input data source. Range 1 - 256. */
+ sourcePartitionCount?: number;
+};
+
+/** Describes an Event Hub input data source that contains stream data. */
+export type EventHubStreamInputDataSource = StreamInputDataSource & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type: "Microsoft.ServiceBus/EventHub";
+ /** The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
+ serviceBusNamespace?: string;
+ /** The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
+ sharedAccessPolicyName?: string;
+ /** The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests. */
+ sharedAccessPolicyKey?: string;
+ /** Authentication Mode. */
+ authenticationMode?: AuthenticationMode;
+ /** The name of the Event Hub. Required on PUT (CreateOrReplace) requests. */
+ eventHubName?: string;
+ /** The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not specified, the input uses the Event Hub’s default consumer group. */
+ consumerGroupName?: string;
+};
+
+/** Describes an Event Hub input data source that contains stream data. */
+export type EventHubV2StreamInputDataSource = StreamInputDataSource & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type: "Microsoft.EventHub/EventHub";
+ /** The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
+ serviceBusNamespace?: string;
+ /** The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests. */
+ sharedAccessPolicyName?: string;
+ /** The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests. */
+ sharedAccessPolicyKey?: string;
+ /** Authentication Mode. */
+ authenticationMode?: AuthenticationMode;
+ /** The name of the Event Hub. Required on PUT (CreateOrReplace) requests. */
+ eventHubName?: string;
+ /** The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not specified, the input uses the Event Hub’s default consumer group. */
+ consumerGroupName?: string;
+};
+
+/** Describes an IoT Hub input data source that contains stream data. */
+export type IoTHubStreamInputDataSource = StreamInputDataSource & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type: "Microsoft.Devices/IotHubs";
+ /** The name or the URI of the IoT Hub. Required on PUT (CreateOrReplace) requests. */
+ iotHubNamespace?: string;
+ /** The shared access policy name for the IoT Hub. This policy must contain at least the Service connect permission. Required on PUT (CreateOrReplace) requests. */
+ sharedAccessPolicyName?: string;
+ /** The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests. */
+ sharedAccessPolicyKey?: string;
+ /** The name of an IoT Hub Consumer Group that should be used to read events from the IoT Hub. If not specified, the input uses the Iot Hub’s default consumer group. */
+ consumerGroupName?: string;
+ /** The IoT Hub endpoint to connect to (ie. messages/events, messages/operationsMonitoringEvents, etc.). */
+ endpoint?: string;
+};
+
+/** Describes a raw input data source that contains stream data. This data source type is only applicable/usable when using the query testing API. You cannot create a job with this data source type or add an input of this data source type to an existing job. */
+export type RawStreamInputDataSource = StreamInputDataSource & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type: "Raw";
+ /** The JSON serialized content of the input data. Either payload or payloadUri must be set, but not both. */
+ payload?: string;
+ /** The SAS URL to a blob containing the JSON serialized content of the input data. Either payload or payloadUri must be set, but not both. */
+ payloadUri?: string;
+};
+
+/** Describes a blob input data source that contains reference data. */
+export type BlobReferenceInputDataSource = ReferenceInputDataSource & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type: "Microsoft.Storage/Blob";
+ /** A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests. */
+ storageAccounts?: StorageAccount[];
+ /** The name of a container within the associated Storage account. This container contains either the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests. */
+ container?: string;
+ /** The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more detailed explanation and example. */
+ pathPattern?: string;
+ /** The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead. */
+ dateFormat?: string;
+ /** The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead. */
+ timeFormat?: string;
+};
+
+/** Describes a raw input data source that contains reference data. This data source type is only applicable/usable when using the query testing API. You cannot create a job with this data source type or add an input of this data source type to an existing job. */
+export type RawReferenceInputDataSource = ReferenceInputDataSource & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type: "Raw";
+ /** The JSON serialized content of the input data. Either payload or payloadUri must be set, but not both. */
+ payload?: string;
+ /** The SAS URL to a blob containing the JSON serialized content of the input data. Either payload or payloadUri must be set, but not both. */
+ payloadUri?: string;
+};
+
+/** Describes an Azure SQL database reference input data source. */
+export type AzureSqlReferenceInputDataSource = ReferenceInputDataSource & {
+ /** Polymorphic discriminator, which specifies the different types this object can be */
+ type: "Microsoft.Sql/Server/Database";
+ /** Describes Azure SQL database reference input data source properties. */
+ properties?: AzureSqlReferenceInputDataSourceProperties;
+};
+
+/** The properties that are associated with a blob input containing stream data. */
+export type BlobStreamInputDataSourceProperties = BlobDataSourceProperties & {
+ /** The partition count of the blob input data source. Range 1 - 256. */
+ sourcePartitionCount?: number;
+};
+
+/** The properties that are associated with a blob input containing reference data. */
+export type BlobReferenceInputDataSourceProperties = BlobDataSourceProperties & {};
+
+/** The properties that are associated with a blob output. */
+export type BlobOutputDataSourceProperties = BlobDataSourceProperties & {
+ /** Authentication Mode. */
+ authenticationMode?: AuthenticationMode;
+};
+
+/** The common properties that are associated with Event Hub data sources. */
+export type EventHubDataSourceProperties = ServiceBusDataSourceProperties & {
+ /** The name of the Event Hub. Required on PUT (CreateOrReplace) requests. */
+ eventHubName?: string;
+};
+
+/** The properties that are associated with a Service Bus Queue output. */
+export type ServiceBusQueueOutputDataSourceProperties = ServiceBusDataSourceProperties & {
+ /** The name of the Service Bus Queue. Required on PUT (CreateOrReplace) requests. */
+ queueName?: string;
+ /** A string array of the names of output columns to be attached to Service Bus messages as custom properties. */
+ propertyColumns?: string[];
+ /** Dictionary of */
+ systemPropertyColumns?: { [propertyName: string]: string };
+};
+
+/** The properties that are associated with a Service Bus Topic output. */
+export type ServiceBusTopicOutputDataSourceProperties = ServiceBusDataSourceProperties & {
+ /** The name of the Service Bus Topic. Required on PUT (CreateOrReplace) requests. */
+ topicName?: string;
+ /** A string array of the names of output columns to be attached to Service Bus messages as custom properties. */
+ propertyColumns?: string[];
+ /** Dictionary of */
+ systemPropertyColumns?: { [propertyName: string]: string };
+};
+
+/** The properties that are associated with an Azure SQL database output. */
+export type AzureSqlDatabaseOutputDataSourceProperties = AzureSqlDatabaseDataSourceProperties & {};
+
+/** The properties that are associated with an Azure Synapse output. */
+export type AzureSynapseOutputDataSourceProperties = AzureSynapseDataSourceProperties & {};
+
+/** The properties that are associated with a Power BI output. */
+export type PowerBIOutputDataSourceProperties = OAuthBasedDataSourceProperties & {
+ /** The name of the Power BI dataset. Required on PUT (CreateOrReplace) requests. */
+ dataset?: string;
+ /** The name of the Power BI table under the specified dataset. Required on PUT (CreateOrReplace) requests. */
+ table?: string;
+ /** The ID of the Power BI group. */
+ groupId?: string;
+ /** The name of the Power BI group. Use this property to help remember which specific Power BI group id was used. */
+ groupName?: string;
+ /** Authentication Mode. */
+ authenticationMode?: AuthenticationMode;
+};
+
+/** The properties that are associated with an Azure Data Lake Store. */
+export type AzureDataLakeStoreOutputDataSourceProperties = OAuthBasedDataSourceProperties & {
+ /** The name of the Azure Data Lake Store account. Required on PUT (CreateOrReplace) requests. */
+ accountName?: string;
+ /** The tenant id of the user used to obtain the refresh token. Required on PUT (CreateOrReplace) requests. */
+ tenantId?: string;
+ /** The location of the file to which the output should be written to. Required on PUT (CreateOrReplace) requests. */
+ filePathPrefix?: string;
+ /** The date format. Wherever {date} appears in filePathPrefix, the value of this property is used as the date format instead. */
+ dateFormat?: string;
+ /** The time format. Wherever {time} appears in filePathPrefix, the value of this property is used as the time format instead. */
+ timeFormat?: string;
+ /** Authentication Mode. */
+ authenticationMode?: AuthenticationMode;
+};
+
+/** A streaming job object, containing all information associated with the named streaming job. */
+export type StreamingJob = TrackedResource & {
+ /** Describes the system-assigned managed identity assigned to this job that can be used to authenticate with inputs and outputs. */
+ identity?: Identity;
+ /** Describes the SKU of the streaming job. Required on PUT (CreateOrReplace) requests. */
+ sku?: StreamingJobSku;
/**
- * The user name that will be used to connect to the Azure SQL database. Required on PUT
- * (CreateOrReplace) requests.
+ * A GUID uniquely identifying the streaming job. This GUID is generated upon creation of the streaming job.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- user?: string;
+ readonly jobId?: string;
/**
- * The password that will be used to connect to the Azure SQL database. Required on PUT
- * (CreateOrReplace) requests.
+ * Describes the provisioning status of the streaming job.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- password?: string;
+ readonly provisioningState?: string;
/**
- * The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests.
+ * Describes the state of the streaming job.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- table?: string;
+ readonly jobState?: string;
+ /** Describes the type of the job. Valid modes are `Cloud` and 'Edge'. */
+ jobType?: JobType;
+ /** This property should only be utilized when it is desired that the job be started immediately upon creation. Value may be JobStartTime, CustomTime, or LastOutputEventTime to indicate whether the starting point of the output event stream should start whenever the job is started, start at a custom user time stamp specified via the outputStartTime property, or start from the last event output time. */
+ outputStartMode?: OutputStartMode;
+ /** Value is either an ISO-8601 formatted time stamp that indicates the starting point of the output event stream, or null to indicate that the output event stream will start whenever the streaming job is started. This property must have a value if outputStartMode is set to CustomTime. */
+ outputStartTime?: Date;
/**
- * Max Batch count for write to Sql database, the default value is 10,000. Optional on PUT
- * requests.
+ * Value is either an ISO-8601 formatted timestamp indicating the last output event time of the streaming job or null indicating that output has not yet been produced. In case of multiple outputs or multiple streams, this shows the latest value in that set.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- maxBatchCount?: number;
+ readonly lastOutputEventTime?: Date;
+ /** Indicates the policy to apply to events that arrive out of order in the input event stream. */
+ eventsOutOfOrderPolicy?: EventsOutOfOrderPolicy;
+ /** Indicates the policy to apply to events that arrive at the output and cannot be written to the external storage due to being malformed (missing column values, column values of wrong type or size). */
+ outputErrorPolicy?: OutputErrorPolicy;
+ /** The maximum tolerable delay in seconds where out-of-order events can be adjusted to be back in order. */
+ eventsOutOfOrderMaxDelayInSeconds?: number;
+ /** The maximum tolerable delay in seconds where events arriving late could be included. Supported range is -1 to 1814399 (20.23:59:59 days) and -1 is used to specify wait indefinitely. If the property is absent, it is interpreted to have a value of -1. */
+ eventsLateArrivalMaxDelayInSeconds?: number;
+ /** The data locale of the stream analytics job. Value should be the name of a supported .NET Culture from the set https://msdn.microsoft.com/en-us/library/system.globalization.culturetypes(v=vs.110).aspx. Defaults to 'en-US' if none specified. */
+ dataLocale?: string;
+ /** Controls certain runtime behaviors of the streaming job. */
+ compatibilityLevel?: CompatibilityLevel;
/**
- * Max Write r count, currently only 1(single writer) and 0(based on query partition) are
- * available. Optional on PUT requests.
+ * Value is an ISO-8601 formatted UTC timestamp indicating when the streaming job was created.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- maxWriterCount?: number;
+ readonly createdDate?: Date;
+ /** A list of one or more inputs to the streaming job. The name property for each input is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual input. */
+ inputs?: Input[];
+ /** Indicates the query and the number of streaming units to use for the streaming job. The name property of the transformation is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual transformation. */
+ transformation?: Transformation;
+ /** A list of one or more outputs for the streaming job. The name property for each output is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual output. */
+ outputs?: Output[];
+ /** A list of one or more functions for the streaming job. The name property for each function is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual transformation. */
+ functions?: FunctionModel[];
/**
- * Authentication Mode. Possible values include: 'Msi', 'UserToken', 'ConnectionString'
+ * The current entity tag for the streaming job. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- authenticationMode?: AuthenticationMode;
-}
+ readonly etag?: string;
+ /** The properties that are associated with an Azure Storage account with MSI */
+ jobStorageAccount?: JobStorageAccount;
+ /** Valid values are JobStorageAccount and SystemAccount. If set to JobStorageAccount, this requires the user to also specify jobStorageAccount property. . */
+ contentStoragePolicy?: ContentStoragePolicy;
+ /** The storage account where the custom code artifacts are located. */
+ externals?: External;
+ /** The cluster which streaming jobs will run on. */
+ cluster?: ClusterInfo;
+};
-/**
- * The properties that are associated with data sources that use OAuth as their authentication
- * model.
- */
-export interface OAuthBasedDataSourceProperties {
- /**
- * A refresh token that can be used to obtain a valid access token that can then be used to
- * authenticate with the data source. A valid refresh token is currently only obtainable via the
- * Azure Portal. It is recommended to put a dummy string value here when creating the data source
- * and then going to the Azure Portal to authenticate the data source which will update this
- * property with a valid refresh token. Required on PUT (CreateOrReplace) requests.
- */
- refreshToken?: string;
+/** A Stream Analytics Cluster object */
+export type Cluster = TrackedResource & {
+ /** The SKU of the cluster. This determines the size/capacity of the cluster. Required on PUT (CreateOrUpdate) requests. */
+ sku?: ClusterSku;
/**
- * The user principal name (UPN) of the user that was used to obtain the refresh token. Use this
- * property to help remember which user was used to obtain the refresh token.
+ * The current entity tag for the cluster. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- tokenUserPrincipalName?: string;
+ readonly etag?: string;
+ /** The properties associated with a Stream Analytics cluster. */
+ properties?: ClusterProperties;
+};
+
+/** Complete information about the private endpoint. */
+export type PrivateEndpoint = ProxyResource & {
+ /** The properties associated with a private endpoint. */
+ properties?: PrivateEndpointProperties;
/**
- * The user display name of the user that was used to obtain the refresh token. Use this property
- * to help remember which user was used to obtain the refresh token.
+ * Unique opaque string (generally a GUID) that represents the metadata state of the resource (private endpoint) and changes whenever the resource is updated. Required on PUT (CreateOrUpdate) requests.
+ * NOTE: This property will not be serialized. It can only be populated by the server.
*/
- tokenUserDisplayName?: string;
+ readonly etag?: string;
+};
+
+/** The properties that are associated with a Event Hub input containing stream data. */
+export type EventHubStreamInputDataSourceProperties = EventHubDataSourceProperties & {
+ /** The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not specified, the input uses the Event Hub’s default consumer group. */
+ consumerGroupName?: string;
+};
+
+/** The properties that are associated with an Event Hub output. */
+export type EventHubOutputDataSourceProperties = EventHubDataSourceProperties & {
+ /** The key/column that is used to determine to which partition to send event data. */
+ partitionKey?: string;
+ propertyColumns?: string[];
+};
+
+/** Defines headers for Functions_createOrReplace operation. */
+export interface FunctionsCreateOrReplaceHeaders {
+ /** The current entity tag for the function. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
+ eTag?: string;
}
-/**
- * The storage account where the custom code artifacts are located.
- */
-export interface External {
- storageAccount?: StorageAccount;
- container?: string;
- path?: string;
+/** Defines headers for Functions_update operation. */
+export interface FunctionsUpdateHeaders {
+ /** The current entity tag for the function. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
+ eTag?: string;
}
-/**
- * Contains the localized display information for this particular operation / action.
- */
-export interface OperationDisplay {
- /**
- * The localized friendly form of the resource provider name.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly provider?: string;
- /**
- * The localized friendly form of the resource type related to this action/operation.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly resource?: string;
- /**
- * The localized friendly name for the operation.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly operation?: string;
- /**
- * The localized friendly description for the operation.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly description?: string;
+/** Defines headers for Functions_get operation. */
+export interface FunctionsGetHeaders {
+ /** The current entity tag for the function. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
+ eTag?: string;
}
-/**
- * A Stream Analytics REST API operation
- */
-export interface Operation {
- /**
- * The name of the operation being performed on this particular object.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly name?: string;
- /**
- * Contains the localized display information for this particular operation / action.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly display?: OperationDisplay;
+/** Defines headers for Inputs_createOrReplace operation. */
+export interface InputsCreateOrReplaceHeaders {
+ /** The current entity tag for the input. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
+ eTag?: string;
}
-/**
- * The properties that are associated with a SKU.
- */
-export interface StreamingJobSku {
- /**
- * The name of the SKU. Required on PUT (CreateOrReplace) requests. Possible values include:
- * 'Standard'
- */
- name?: StreamingJobSkuName;
+/** Defines headers for Inputs_update operation. */
+export interface InputsUpdateHeaders {
+ /** The current entity tag for the input. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
+ eTag?: string;
}
-/**
- * A transformation object, containing all information associated with the named transformation.
- * All transformations are contained under a streaming job.
- */
-export interface Transformation extends SubResource {
- /**
- * Specifies the number of streaming units that the streaming job uses.
- */
- streamingUnits?: number;
- /**
- * Specifies the query that will be run in the streaming job. You can learn more about the Stream
- * Analytics Query Language (SAQL) here: https://msdn.microsoft.com/library/azure/dn834998 .
- * Required on PUT (CreateOrReplace) requests.
- */
- query?: string;
- /**
- * The current entity tag for the transformation. This is an opaque string. You can use it to
- * detect whether the resource has changed between requests. You can also use it in the If-Match
- * or If-None-Match headers for write operations for optimistic concurrency.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly etag?: string;
+/** Defines headers for Inputs_get operation. */
+export interface InputsGetHeaders {
+ /** The current entity tag for the input. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
+ eTag?: string;
}
-/**
- * The properties that are associated with an Azure Storage account with MSI
- */
-export interface JobStorageAccount extends StorageAccount {
- /**
- * Authentication Mode. Possible values include: 'Msi', 'UserToken', 'ConnectionString'
- */
- authenticationMode?: AuthenticationMode;
+/** Defines headers for Outputs_createOrReplace operation. */
+export interface OutputsCreateOrReplaceHeaders {
+ /** The current entity tag for the output. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
+ eTag?: string;
}
-/**
- * The properties associated with a Stream Analytics cluster.
- */
-export interface ClusterInfo {
- /**
- * The resource id of cluster.
- */
- id?: string;
+/** Defines headers for Outputs_update operation. */
+export interface OutputsUpdateHeaders {
+ /** The current entity tag for the output. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
+ eTag?: string;
}
-/**
- * An interface representing Resource.
- */
-export interface Resource extends BaseResource {
- /**
- * Fully qualified resource Id for the resource. Ex -
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly id?: string;
- /**
- * The name of the resource
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly name?: string;
- /**
- * The type of the resource. Ex- Microsoft.Compute/virtualMachines or
- * Microsoft.Storage/storageAccounts.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly type?: string;
+/** Defines headers for Outputs_get operation. */
+export interface OutputsGetHeaders {
+ /** The current entity tag for the output. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
+ eTag?: string;
}
-/**
- * The resource model definition for a ARM tracked top level resource
- */
-export interface TrackedResource extends Resource {
- /**
- * Resource tags.
- */
- tags?: { [propertyName: string]: string };
- /**
- * The geo-location where the resource lives
- */
- location?: string;
+/** Defines headers for StreamingJobs_createOrReplace operation. */
+export interface StreamingJobsCreateOrReplaceHeaders {
+ /** The current entity tag for the streaming job. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
+ eTag?: string;
+}
+
+/** Defines headers for StreamingJobs_update operation. */
+export interface StreamingJobsUpdateHeaders {
+ /** The current entity tag for the streaming job. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
+ eTag?: string;
+}
+
+/** Defines headers for StreamingJobs_get operation. */
+export interface StreamingJobsGetHeaders {
+ /** The current entity tag for the streaming job. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
+ eTag?: string;
+}
+
+/** Defines headers for Transformations_createOrReplace operation. */
+export interface TransformationsCreateOrReplaceHeaders {
+ /** The current entity tag for the transformation. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
+ eTag?: string;
+}
+
+/** Defines headers for Transformations_update operation. */
+export interface TransformationsUpdateHeaders {
+ /** The current entity tag for the transformation. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
+ eTag?: string;
+}
+
+/** Defines headers for Transformations_get operation. */
+export interface TransformationsGetHeaders {
+ /** The current entity tag for the transformation. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency. */
+ eTag?: string;
+}
+
+/** Known values of {@link EventSerializationType} that the service accepts. */
+export enum KnownEventSerializationType {
+ Csv = "Csv",
+ Avro = "Avro",
+ Json = "Json",
+ CustomClr = "CustomClr",
+ Parquet = "Parquet"
}
/**
- * A streaming job object, containing all information associated with the named streaming job.
+ * Defines values for EventSerializationType. \
+ * {@link KnownEventSerializationType} can be used interchangeably with EventSerializationType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Csv** \
+ * **Avro** \
+ * **Json** \
+ * **CustomClr** \
+ * **Parquet**
*/
-export interface StreamingJob extends TrackedResource {
- /**
- * Describes the SKU of the streaming job. Required on PUT (CreateOrReplace) requests.
- */
- sku?: StreamingJobSku;
- /**
- * A GUID uniquely identifying the streaming job. This GUID is generated upon creation of the
- * streaming job.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly jobId?: string;
- /**
- * Describes the provisioning status of the streaming job.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly provisioningState?: string;
- /**
- * Describes the state of the streaming job.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly jobState?: string;
- /**
- * Describes the type of the job. Valid modes are `Cloud` and 'Edge'. Possible values include:
- * 'Cloud', 'Edge'
- */
- jobType?: JobType;
- /**
- * This property should only be utilized when it is desired that the job be started immediately
- * upon creation. Value may be JobStartTime, CustomTime, or LastOutputEventTime to indicate
- * whether the starting point of the output event stream should start whenever the job is
- * started, start at a custom user time stamp specified via the outputStartTime property, or
- * start from the last event output time. Possible values include: 'JobStartTime', 'CustomTime',
- * 'LastOutputEventTime'
- */
- outputStartMode?: OutputStartMode;
- /**
- * Value is either an ISO-8601 formatted time stamp that indicates the starting point of the
- * output event stream, or null to indicate that the output event stream will start whenever the
- * streaming job is started. This property must have a value if outputStartMode is set to
- * CustomTime.
- */
- outputStartTime?: Date;
- /**
- * Value is either an ISO-8601 formatted timestamp indicating the last output event time of the
- * streaming job or null indicating that output has not yet been produced. In case of multiple
- * outputs or multiple streams, this shows the latest value in that set.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly lastOutputEventTime?: Date;
- /**
- * Indicates the policy to apply to events that arrive out of order in the input event stream.
- * Possible values include: 'Adjust', 'Drop'
- */
- eventsOutOfOrderPolicy?: EventsOutOfOrderPolicy;
- /**
- * Indicates the policy to apply to events that arrive at the output and cannot be written to the
- * external storage due to being malformed (missing column values, column values of wrong type or
- * size). Possible values include: 'Stop', 'Drop'
- */
- outputErrorPolicy?: OutputErrorPolicy;
- /**
- * The maximum tolerable delay in seconds where out-of-order events can be adjusted to be back in
- * order.
- */
- eventsOutOfOrderMaxDelayInSeconds?: number;
- /**
- * The maximum tolerable delay in seconds where events arriving late could be included.
- * Supported range is -1 to 1814399 (20.23:59:59 days) and -1 is used to specify wait
- * indefinitely. If the property is absent, it is interpreted to have a value of -1.
- */
- eventsLateArrivalMaxDelayInSeconds?: number;
- /**
- * The data locale of the stream analytics job. Value should be the name of a supported .NET
- * Culture from the set
- * https://msdn.microsoft.com/en-us/library/system.globalization.culturetypes(v=vs.110).aspx.
- * Defaults to 'en-US' if none specified.
- */
- dataLocale?: string;
- /**
- * Controls certain runtime behaviors of the streaming job. Possible values include: '1.0'
- */
- compatibilityLevel?: CompatibilityLevel;
- /**
- * Value is an ISO-8601 formatted UTC timestamp indicating when the streaming job was created.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly createdDate?: Date;
- /**
- * A list of one or more inputs to the streaming job. The name property for each input is
- * required when specifying this property in a PUT request. This property cannot be modify via a
- * PATCH operation. You must use the PATCH API available for the individual input.
- */
- inputs?: Input[];
- /**
- * Indicates the query and the number of streaming units to use for the streaming job. The name
- * property of the transformation is required when specifying this property in a PUT request.
- * This property cannot be modify via a PATCH operation. You must use the PATCH API available for
- * the individual transformation.
- */
- transformation?: Transformation;
- /**
- * A list of one or more outputs for the streaming job. The name property for each output is
- * required when specifying this property in a PUT request. This property cannot be modify via a
- * PATCH operation. You must use the PATCH API available for the individual output.
- */
- outputs?: Output[];
- /**
- * A list of one or more functions for the streaming job. The name property for each function is
- * required when specifying this property in a PUT request. This property cannot be modify via a
- * PATCH operation. You must use the PATCH API available for the individual transformation.
- */
- functions?: FunctionModel[];
- /**
- * The current entity tag for the streaming job. This is an opaque string. You can use it to
- * detect whether the resource has changed between requests. You can also use it in the If-Match
- * or If-None-Match headers for write operations for optimistic concurrency.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly etag?: string;
- jobStorageAccount?: JobStorageAccount;
- /**
- * Valid values are JobStorageAccount and SystemAccount. If set to JobStorageAccount, this
- * requires the user to also specify jobStorageAccount property. Possible values include:
- * 'SystemAccount', 'JobStorageAccount'
- */
- contentStoragePolicy?: ContentStoragePolicy;
- /**
- * The storage account where the custom code artifacts are located.
- */
- externals?: External;
- /**
- * The cluster which streaming jobs will run on.
- */
- cluster?: ClusterInfo;
- /**
- * Describes the system-assigned managed identity assigned to this job that can be used to
- * authenticate with inputs and outputs.
- */
- identity?: Identity;
+export type EventSerializationType = string;
+
+/** Known values of {@link StreamingJobSkuName} that the service accepts. */
+export enum KnownStreamingJobSkuName {
+ Standard = "Standard"
}
/**
- * Parameters supplied to the Start Streaming Job operation.
+ * Defines values for StreamingJobSkuName. \
+ * {@link KnownStreamingJobSkuName} can be used interchangeably with StreamingJobSkuName,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Standard**
*/
-export interface StartStreamingJobParameters {
- /**
- * Value may be JobStartTime, CustomTime, or LastOutputEventTime to indicate whether the starting
- * point of the output event stream should start whenever the job is started, start at a custom
- * user time stamp specified via the outputStartTime property, or start from the last event
- * output time. Possible values include: 'JobStartTime', 'CustomTime', 'LastOutputEventTime'
- */
- outputStartMode?: OutputStartMode;
- /**
- * Value is either an ISO-8601 formatted time stamp that indicates the starting point of the
- * output event stream, or null to indicate that the output event stream will start whenever the
- * streaming job is started. This property must have a value if outputStartMode is set to
- * CustomTime.
- */
- outputStartTime?: Date;
+export type StreamingJobSkuName = string;
+
+/** Known values of {@link JobType} that the service accepts. */
+export enum KnownJobType {
+ Cloud = "Cloud",
+ Edge = "Edge"
}
/**
- * The resource model definition for a ARM proxy resource. It will have everything other than
- * required location and tags
+ * Defines values for JobType. \
+ * {@link KnownJobType} can be used interchangeably with JobType,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Cloud** \
+ * **Edge**
*/
-export interface ProxyResource extends Resource {
+export type JobType = string;
+
+/** Known values of {@link OutputStartMode} that the service accepts. */
+export enum KnownOutputStartMode {
+ JobStartTime = "JobStartTime",
+ CustomTime = "CustomTime",
+ LastOutputEventTime = "LastOutputEventTime"
}
/**
- * Describes the current quota for the subscription.
+ * Defines values for OutputStartMode. \
+ * {@link KnownOutputStartMode} can be used interchangeably with OutputStartMode,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **JobStartTime** \
+ * **CustomTime** \
+ * **LastOutputEventTime**
*/
-export interface SubscriptionQuota extends SubResource {
- /**
- * The max permitted usage of this resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly maxCount?: number;
- /**
- * The current usage of this resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly currentCount?: number;
+export type OutputStartMode = string;
+
+/** Known values of {@link EventsOutOfOrderPolicy} that the service accepts. */
+export enum KnownEventsOutOfOrderPolicy {
+ Adjust = "Adjust",
+ Drop = "Drop"
}
/**
- * Result of the GetQuotas operation. It contains a list of quotas for the subscription in a
- * particular region.
+ * Defines values for EventsOutOfOrderPolicy. \
+ * {@link KnownEventsOutOfOrderPolicy} can be used interchangeably with EventsOutOfOrderPolicy,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Adjust** \
+ * **Drop**
*/
-export interface SubscriptionQuotasListResult {
- /**
- * List of quotas for the subscription in a particular region.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly value?: SubscriptionQuota[];
+export type EventsOutOfOrderPolicy = string;
+
+/** Known values of {@link OutputErrorPolicy} that the service accepts. */
+export enum KnownOutputErrorPolicy {
+ Stop = "Stop",
+ Drop = "Drop"
}
/**
- * The SKU of the cluster. This determines the size/capacity of the cluster. Required on PUT
- * (CreateOrUpdate) requests.
+ * Defines values for OutputErrorPolicy. \
+ * {@link KnownOutputErrorPolicy} can be used interchangeably with OutputErrorPolicy,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Stop** \
+ * **Drop**
*/
-export interface ClusterSku {
- /**
- * Specifies the SKU name of the cluster. Required on PUT (CreateOrUpdate) requests. Possible
- * values include: 'Default'
- */
- name?: ClusterSkuName;
- /**
- * Denotes the number of streaming units the cluster can support. Valid values for this property
- * are multiples of 36 with a minimum value of 36 and maximum value of 216. Required on PUT
- * (CreateOrUpdate) requests.
- */
- capacity?: number;
+export type OutputErrorPolicy = string;
+
+/** Known values of {@link CompatibilityLevel} that the service accepts. */
+export enum KnownCompatibilityLevel {
+ One0 = "1.0"
}
/**
- * The properties associated with a Stream Analytics cluster.
+ * Defines values for CompatibilityLevel. \
+ * {@link KnownCompatibilityLevel} can be used interchangeably with CompatibilityLevel,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **1.0**
*/
-export interface ClusterProperties {
- /**
- * The date this cluster was created.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly createdDate?: Date;
- /**
- * Unique identifier for the cluster.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly clusterId?: string;
- /**
- * Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress'
- */
- provisioningState?: ClusterProvisioningState;
- /**
- * Represents the number of streaming units currently being used on the cluster.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly capacityAllocated?: number;
- /**
- * Represents the sum of the SUs of all streaming jobs associated with the cluster. If all of the
- * jobs were running, this would be the capacity allocated.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly capacityAssigned?: number;
+export type CompatibilityLevel = string;
+
+/** Known values of {@link AuthenticationMode} that the service accepts. */
+export enum KnownAuthenticationMode {
+ Msi = "Msi",
+ UserToken = "UserToken",
+ ConnectionString = "ConnectionString"
}
/**
- * A Stream Analytics Cluster object
+ * Defines values for AuthenticationMode. \
+ * {@link KnownAuthenticationMode} can be used interchangeably with AuthenticationMode,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Msi** \
+ * **UserToken** \
+ * **ConnectionString**
*/
-export interface Cluster extends TrackedResource {
- sku?: ClusterSku;
- /**
- * The current entity tag for the cluster. This is an opaque string. You can use it to detect
- * whether the resource has changed between requests. You can also use it in the If-Match or
- * If-None-Match headers for write operations for optimistic concurrency.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly etag?: string;
- /**
- * The properties associated with a Stream Analytics cluster.
- */
- properties?: ClusterProperties;
+export type AuthenticationMode = string;
+
+/** Known values of {@link ContentStoragePolicy} that the service accepts. */
+export enum KnownContentStoragePolicy {
+ SystemAccount = "SystemAccount",
+ JobStorageAccount = "JobStorageAccount"
}
/**
- * A streaming job.
+ * Defines values for ContentStoragePolicy. \
+ * {@link KnownContentStoragePolicy} can be used interchangeably with ContentStoragePolicy,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **SystemAccount** \
+ * **JobStorageAccount**
*/
-export interface ClusterJob {
- /**
- * Resource ID of the streaming job.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly id?: string;
- /**
- * The number of streaming units that are used by the streaming job.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly streamingUnits?: number;
- /**
- * Possible values include: 'Created', 'Starting', 'Running', 'Stopping', 'Stopped', 'Deleting',
- * 'Failed', 'Degraded', 'Restarting', 'Scaling'
- */
- jobState?: JobState;
+export type ContentStoragePolicy = string;
+
+/** Known values of {@link QueryTestingResultStatus} that the service accepts. */
+export enum KnownQueryTestingResultStatus {
+ /** The query testing operation was initiated. */
+ Started = "Started",
+ /** The query testing operation succeeded. */
+ Success = "Success",
+ /** The query testing operation failed due to a compiler error. */
+ CompilerError = "CompilerError",
+ /** The query testing operation failed due to a runtime error. */
+ RuntimeError = "RuntimeError",
+ /** The query testing operation failed due to a timeout. */
+ Timeout = "Timeout",
+ /** The query testing operation failed due to an unknown error . */
+ UnknownError = "UnknownError"
}
/**
- * Common error details representation.
- */
-export interface ErrorDetails {
- /**
- * Error code.
- */
- code?: string;
- /**
- * Error target.
- */
- target?: string;
- /**
- * Error message.
- */
- message?: string;
+ * Defines values for QueryTestingResultStatus. \
+ * {@link KnownQueryTestingResultStatus} can be used interchangeably with QueryTestingResultStatus,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Started**: The query testing operation was initiated. \
+ * **Success**: The query testing operation succeeded. \
+ * **CompilerError**: The query testing operation failed due to a compiler error. \
+ * **RuntimeError**: The query testing operation failed due to a runtime error. \
+ * **Timeout**: The query testing operation failed due to a timeout. \
+ * **UnknownError**: The query testing operation failed due to an unknown error .
+ */
+export type QueryTestingResultStatus = string;
+
+/** Known values of {@link SampleInputResultStatus} that the service accepts. */
+export enum KnownSampleInputResultStatus {
+ /** The sample input operation successfully read all the events in the range. */
+ ReadAllEventsInRange = "ReadAllEventsInRange",
+ /** The sample input operation found no events in the range. */
+ NoEventsFoundInRange = "NoEventsFoundInRange",
+ /** The sample input operation failed to connect to the input. */
+ ErrorConnectingToInput = "ErrorConnectingToInput"
+}
+
+/**
+ * Defines values for SampleInputResultStatus. \
+ * {@link KnownSampleInputResultStatus} can be used interchangeably with SampleInputResultStatus,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **ReadAllEventsInRange**: The sample input operation successfully read all the events in the range. \
+ * **NoEventsFoundInRange**: The sample input operation found no events in the range. \
+ * **ErrorConnectingToInput**: The sample input operation failed to connect to the input.
+ */
+export type SampleInputResultStatus = string;
+
+/** Known values of {@link TestDatasourceResultStatus} that the service accepts. */
+export enum KnownTestDatasourceResultStatus {
+ /** The test datasource operation succeeded. */
+ TestSucceeded = "TestSucceeded",
+ /** The test datasource operation failed. */
+ TestFailed = "TestFailed"
+}
+
+/**
+ * Defines values for TestDatasourceResultStatus. \
+ * {@link KnownTestDatasourceResultStatus} can be used interchangeably with TestDatasourceResultStatus,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **TestSucceeded**: The test datasource operation succeeded. \
+ * **TestFailed**: The test datasource operation failed.
+ */
+export type TestDatasourceResultStatus = string;
+
+/** Known values of {@link ClusterSkuName} that the service accepts. */
+export enum KnownClusterSkuName {
+ /** The default SKU. */
+ Default = "Default"
+}
+
+/**
+ * Defines values for ClusterSkuName. \
+ * {@link KnownClusterSkuName} can be used interchangeably with ClusterSkuName,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Default**: The default SKU.
+ */
+export type ClusterSkuName = string;
+
+/** Known values of {@link ClusterProvisioningState} that the service accepts. */
+export enum KnownClusterProvisioningState {
+ /** The cluster provisioning succeeded. */
+ Succeeded = "Succeeded",
+ /** The cluster provisioning failed. */
+ Failed = "Failed",
+ /** The cluster provisioning was canceled. */
+ Canceled = "Canceled",
+ /** The cluster provisioning was inprogress. */
+ InProgress = "InProgress"
+}
+
+/**
+ * Defines values for ClusterProvisioningState. \
+ * {@link KnownClusterProvisioningState} can be used interchangeably with ClusterProvisioningState,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Succeeded**: The cluster provisioning succeeded. \
+ * **Failed**: The cluster provisioning failed. \
+ * **Canceled**: The cluster provisioning was canceled. \
+ * **InProgress**: The cluster provisioning was inprogress.
+ */
+export type ClusterProvisioningState = string;
+
+/** Known values of {@link JobState} that the service accepts. */
+export enum KnownJobState {
+ /** The job is currently in the Created state. */
+ Created = "Created",
+ /** The job is currently in the Starting state. */
+ Starting = "Starting",
+ /** The job is currently in the Running state. */
+ Running = "Running",
+ /** The job is currently in the Stopping state. */
+ Stopping = "Stopping",
+ /** The job is currently in the Stopped state. */
+ Stopped = "Stopped",
+ /** The job is currently in the Deleting state. */
+ Deleting = "Deleting",
+ /** The job is currently in the Failed state. */
+ Failed = "Failed",
+ /** The job is currently in the Degraded state. */
+ Degraded = "Degraded",
+ /** The job is currently in the Restarting state. */
+ Restarting = "Restarting",
+ /** The job is currently in the Scaling state. */
+ Scaling = "Scaling"
+}
+
+/**
+ * Defines values for JobState. \
+ * {@link KnownJobState} can be used interchangeably with JobState,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **Created**: The job is currently in the Created state. \
+ * **Starting**: The job is currently in the Starting state. \
+ * **Running**: The job is currently in the Running state. \
+ * **Stopping**: The job is currently in the Stopping state. \
+ * **Stopped**: The job is currently in the Stopped state. \
+ * **Deleting**: The job is currently in the Deleting state. \
+ * **Failed**: The job is currently in the Failed state. \
+ * **Degraded**: The job is currently in the Degraded state. \
+ * **Restarting**: The job is currently in the Restarting state. \
+ * **Scaling**: The job is currently in the Scaling state.
+ */
+export type JobState = string;
+
+/** Known values of {@link Encoding} that the service accepts. */
+export enum KnownEncoding {
+ UTF8 = "UTF8"
+}
+
+/**
+ * Defines values for Encoding. \
+ * {@link KnownEncoding} can be used interchangeably with Encoding,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **UTF8**
+ */
+export type Encoding = string;
+
+/** Known values of {@link JsonOutputSerializationFormat} that the service accepts. */
+export enum KnownJsonOutputSerializationFormat {
+ LineSeparated = "LineSeparated",
+ Array = "Array"
+}
+
+/**
+ * Defines values for JsonOutputSerializationFormat. \
+ * {@link KnownJsonOutputSerializationFormat} can be used interchangeably with JsonOutputSerializationFormat,
+ * this enum contains the known values that the service supports.
+ * ### Known values supported by the service
+ * **LineSeparated** \
+ * **Array**
+ */
+export type JsonOutputSerializationFormat = string;
+
+/** Optional parameters. */
+export interface FunctionsCreateOrReplaceOptionalParams
+ extends coreClient.OperationOptions {
+ /** The ETag of the function. Omit this value to always overwrite the current function. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
+ ifMatch?: string;
+ /** Set to '*' to allow a new function to be created, but to prevent updating an existing function. Other values will result in a 412 Pre-condition Failed response. */
+ ifNoneMatch?: string;
}
-/**
- * Error definition properties.
- */
-export interface ErrorError {
- /**
- * Error code.
- */
- code?: string;
- /**
- * Error message.
- */
- message?: string;
- /**
- * Error target.
- */
- target?: string;
- /**
- * Error details.
- */
- details?: ErrorDetails[];
-}
+/** Contains response data for the createOrReplace operation. */
+export type FunctionsCreateOrReplaceResponse = FunctionsCreateOrReplaceHeaders &
+ FunctionModel;
-/**
- * Common error representation.
- */
-export interface ErrorModel {
- /**
- * Error definition properties.
- */
- error?: ErrorError;
+/** Optional parameters. */
+export interface FunctionsUpdateOptionalParams
+ extends coreClient.OperationOptions {
+ /** The ETag of the function. Omit this value to always overwrite the current function. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
+ ifMatch?: string;
}
-/**
- * A collection of read-only information about the state of the connection to the private remote
- * resource.
- */
-export interface PrivateLinkConnectionState {
- /**
- * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the remote
- * resource/service.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly status?: string;
- /**
- * The reason for approval/rejection of the connection.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly description?: string;
- /**
- * A message indicating if changes on the service provider require any updates on the consumer.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly actionsRequired?: string;
-}
+/** Contains response data for the update operation. */
+export type FunctionsUpdateResponse = FunctionsUpdateHeaders & FunctionModel;
-/**
- * A grouping of information about the connection to the remote resource.
- */
-export interface PrivateLinkServiceConnection {
- /**
- * The resource id of the private link service. Required on PUT (CreateOrUpdate) requests.
- */
- privateLinkServiceId?: string;
- /**
- * The ID(s) of the group(s) obtained from the remote resource that this private endpoint should
- * connect to. Required on PUT (CreateOrUpdate) requests.
- */
- groupIds?: string[];
- /**
- * A message passed to the owner of the remote resource with this connection request. Restricted
- * to 140 chars.
- */
- requestMessage?: string;
- /**
- * A collection of read-only information about the state of the connection to the private remote
- * resource.
- */
- privateLinkServiceConnectionState?: PrivateLinkConnectionState;
-}
+/** Optional parameters. */
+export interface FunctionsDeleteOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * The properties associated with a private endpoint.
- */
-export interface PrivateEndpointProperties {
- /**
- * The date when this private endpoint was created.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly createdDate?: string;
- /**
- * A list of connections to the remote resource. Immutable after it is set.
- */
- manualPrivateLinkServiceConnections?: PrivateLinkServiceConnection[];
-}
+/** Optional parameters. */
+export interface FunctionsGetOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Complete information about the private endpoint.
- */
-export interface PrivateEndpoint extends ProxyResource {
- /**
- * The properties associated with a private endpoint.
- */
- properties?: PrivateEndpointProperties;
- /**
- * Unique opaque string (generally a GUID) that represents the metadata state of the resource
- * (private endpoint) and changes whenever the resource is updated. Required on PUT
- * (CreateOrUpdate) requests.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly etag?: string;
-}
+/** Contains response data for the get operation. */
+export type FunctionsGetResponse = FunctionsGetHeaders & FunctionModel;
-/**
- * Optional Parameters.
- */
-export interface FunctionsCreateOrReplaceOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The ETag of the function. Omit this value to always overwrite the current function. Specify
- * the last-seen ETag value to prevent accidentally overwriting concurrent changes.
- */
- ifMatch?: string;
- /**
- * Set to '*' to allow a new function to be created, but to prevent updating an existing
- * function. Other values will result in a 412 Pre-condition Failed response.
- */
- ifNoneMatch?: string;
+/** Optional parameters. */
+export interface FunctionsListByStreamingJobOptionalParams
+ extends coreClient.OperationOptions {
+ /** The $select OData query parameter. This is a comma-separated list of structural properties to include in the response, or "*" to include all properties. By default, all properties are returned except diagnostics. Currently only accepts '*' as a valid value. */
+ select?: string;
}
-/**
- * Optional Parameters.
- */
-export interface FunctionsUpdateOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The ETag of the function. Omit this value to always overwrite the current function. Specify
- * the last-seen ETag value to prevent accidentally overwriting concurrent changes.
- */
- ifMatch?: string;
-}
+/** Contains response data for the listByStreamingJob operation. */
+export type FunctionsListByStreamingJobResponse = FunctionListResult;
-/**
- * Optional Parameters.
- */
-export interface FunctionsListByStreamingJobOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The $select OData query parameter. This is a comma-separated list of structural properties to
- * include in the response, or "*" to include all properties. By default, all properties are
- * returned except diagnostics. Currently only accepts '*' as a valid value.
- */
- select?: string;
+/** Optional parameters. */
+export interface FunctionsTestOptionalParams
+ extends coreClient.OperationOptions {
+ /** If the function specified does not already exist, this parameter must contain the full function definition intended to be tested. If the function specified already exists, this parameter can be left null to test the existing function as is or if specified, the properties specified will overwrite the corresponding properties in the existing function (exactly like a PATCH operation) and the resulting function will be tested. */
+ functionParam?: FunctionModel;
+ /** 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 FunctionsTestOptionalParams extends msRest.RequestOptionsBase {
- /**
- * If the function specified does not already exist, this parameter must contain the full
- * function definition intended to be tested. If the function specified already exists, this
- * parameter can be left null to test the existing function as is or if specified, the properties
- * specified will overwrite the corresponding properties in the existing function (exactly like a
- * PATCH operation) and the resulting function will be tested.
- */
- functionParameter?: FunctionModel;
-}
+/** Contains response data for the test operation. */
+export type FunctionsTestResponse = ResourceTestStatus;
-/**
- * Optional Parameters.
- */
-export interface FunctionsRetrieveDefaultDefinitionOptionalParams extends msRest.RequestOptionsBase {
- /**
- * Parameters used to specify the type of function to retrieve the default definition for.
- */
+/** Optional parameters. */
+export interface FunctionsRetrieveDefaultDefinitionOptionalParams
+ extends coreClient.OperationOptions {
+ /** Parameters used to specify the type of function to retrieve the default definition for. */
functionRetrieveDefaultDefinitionParameters?: FunctionRetrieveDefaultDefinitionParametersUnion;
}
-/**
- * Optional Parameters.
- */
-export interface FunctionsBeginTestOptionalParams extends msRest.RequestOptionsBase {
- /**
- * If the function specified does not already exist, this parameter must contain the full
- * function definition intended to be tested. If the function specified already exists, this
- * parameter can be left null to test the existing function as is or if specified, the properties
- * specified will overwrite the corresponding properties in the existing function (exactly like a
- * PATCH operation) and the resulting function will be tested.
- */
- functionParameter?: FunctionModel;
-}
+/** Contains response data for the retrieveDefaultDefinition operation. */
+export type FunctionsRetrieveDefaultDefinitionResponse = FunctionModel;
-/**
- * Optional Parameters.
- */
-export interface FunctionsListByStreamingJobNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The $select OData query parameter. This is a comma-separated list of structural properties to
- * include in the response, or "*" to include all properties. By default, all properties are
- * returned except diagnostics. Currently only accepts '*' as a valid value.
- */
+/** Optional parameters. */
+export interface FunctionsListByStreamingJobNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The $select OData query parameter. This is a comma-separated list of structural properties to include in the response, or "*" to include all properties. By default, all properties are returned except diagnostics. Currently only accepts '*' as a valid value. */
select?: string;
}
-/**
- * Optional Parameters.
- */
-export interface InputsCreateOrReplaceOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The ETag of the input. Omit this value to always overwrite the current input. Specify the
- * last-seen ETag value to prevent accidentally overwriting concurrent changes.
- */
+/** Contains response data for the listByStreamingJobNext operation. */
+export type FunctionsListByStreamingJobNextResponse = FunctionListResult;
+
+/** Optional parameters. */
+export interface InputsCreateOrReplaceOptionalParams
+ extends coreClient.OperationOptions {
+ /** The ETag of the input. Omit this value to always overwrite the current input. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
ifMatch?: string;
- /**
- * Set to '*' to allow a new input to be created, but to prevent updating an existing input.
- * Other values will result in a 412 Pre-condition Failed response.
- */
+ /** Set to '*' to allow a new input to be created, but to prevent updating an existing input. Other values will result in a 412 Pre-condition Failed response. */
ifNoneMatch?: string;
}
-/**
- * Optional Parameters.
- */
-export interface InputsUpdateOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The ETag of the input. Omit this value to always overwrite the current input. Specify the
- * last-seen ETag value to prevent accidentally overwriting concurrent changes.
- */
+/** Contains response data for the createOrReplace operation. */
+export type InputsCreateOrReplaceResponse = InputsCreateOrReplaceHeaders &
+ Input;
+
+/** Optional parameters. */
+export interface InputsUpdateOptionalParams
+ extends coreClient.OperationOptions {
+ /** The ETag of the input. Omit this value to always overwrite the current input. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
ifMatch?: string;
}
-/**
- * Optional Parameters.
- */
-export interface InputsListByStreamingJobOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The $select OData query parameter. This is a comma-separated list of structural properties to
- * include in the response, or "*" to include all properties. By default, all properties are
- * returned except diagnostics. Currently only accepts '*' as a valid value.
- */
+/** Contains response data for the update operation. */
+export type InputsUpdateResponse = InputsUpdateHeaders & Input;
+
+/** Optional parameters. */
+export interface InputsDeleteOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Optional parameters. */
+export interface InputsGetOptionalParams extends coreClient.OperationOptions {}
+
+/** Contains response data for the get operation. */
+export type InputsGetResponse = InputsGetHeaders & Input;
+
+/** Optional parameters. */
+export interface InputsListByStreamingJobOptionalParams
+ extends coreClient.OperationOptions {
+ /** The $select OData query parameter. This is a comma-separated list of structural properties to include in the response, or "*" to include all properties. By default, all properties are returned except diagnostics. Currently only accepts '*' as a valid value. */
select?: string;
}
-/**
- * Optional Parameters.
- */
-export interface InputsTestOptionalParams extends msRest.RequestOptionsBase {
- /**
- * If the input specified does not already exist, this parameter must contain the full input
- * definition intended to be tested. If the input specified already exists, this parameter can be
- * left null to test the existing input as is or if specified, the properties specified will
- * overwrite the corresponding properties in the existing input (exactly like a PATCH operation)
- * and the resulting input will be tested.
- */
- input?: Input;
-}
+/** Contains response data for the listByStreamingJob operation. */
+export type InputsListByStreamingJobResponse = InputListResult;
-/**
- * Optional Parameters.
- */
-export interface InputsBeginTestOptionalParams extends msRest.RequestOptionsBase {
- /**
- * If the input specified does not already exist, this parameter must contain the full input
- * definition intended to be tested. If the input specified already exists, this parameter can be
- * left null to test the existing input as is or if specified, the properties specified will
- * overwrite the corresponding properties in the existing input (exactly like a PATCH operation)
- * and the resulting input will be tested.
- */
+/** Optional parameters. */
+export interface InputsTestOptionalParams extends coreClient.OperationOptions {
+ /** If the input specified does not already exist, this parameter must contain the full input definition intended to be tested. If the input specified already exists, this parameter can be left null to test the existing input as is or if specified, the properties specified will overwrite the corresponding properties in the existing input (exactly like a PATCH operation) and the resulting input will be tested. */
input?: Input;
+ /** 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 InputsListByStreamingJobNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The $select OData query parameter. This is a comma-separated list of structural properties to
- * include in the response, or "*" to include all properties. By default, all properties are
- * returned except diagnostics. Currently only accepts '*' as a valid value.
- */
+/** Contains response data for the test operation. */
+export type InputsTestResponse = ResourceTestStatus;
+
+/** Optional parameters. */
+export interface InputsListByStreamingJobNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The $select OData query parameter. This is a comma-separated list of structural properties to include in the response, or "*" to include all properties. By default, all properties are returned except diagnostics. Currently only accepts '*' as a valid value. */
select?: string;
}
-/**
- * Optional Parameters.
- */
-export interface OutputsCreateOrReplaceOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The ETag of the output. Omit this value to always overwrite the current output. Specify the
- * last-seen ETag value to prevent accidentally overwriting concurrent changes.
- */
+/** Contains response data for the listByStreamingJobNext operation. */
+export type InputsListByStreamingJobNextResponse = InputListResult;
+
+/** Optional parameters. */
+export interface OutputsCreateOrReplaceOptionalParams
+ extends coreClient.OperationOptions {
+ /** The ETag of the output. Omit this value to always overwrite the current output. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
ifMatch?: string;
- /**
- * Set to '*' to allow a new output to be created, but to prevent updating an existing output.
- * Other values will result in a 412 Pre-condition Failed response.
- */
+ /** Set to '*' to allow a new output to be created, but to prevent updating an existing output. Other values will result in a 412 Pre-condition Failed response. */
ifNoneMatch?: string;
}
-/**
- * Optional Parameters.
- */
-export interface OutputsUpdateOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The ETag of the output. Omit this value to always overwrite the current output. Specify the
- * last-seen ETag value to prevent accidentally overwriting concurrent changes.
- */
+/** Contains response data for the createOrReplace operation. */
+export type OutputsCreateOrReplaceResponse = OutputsCreateOrReplaceHeaders &
+ Output;
+
+/** Optional parameters. */
+export interface OutputsUpdateOptionalParams
+ extends coreClient.OperationOptions {
+ /** The ETag of the output. Omit this value to always overwrite the current output. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
ifMatch?: string;
}
-/**
- * Optional Parameters.
- */
-export interface OutputsListByStreamingJobOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The $select OData query parameter. This is a comma-separated list of structural properties to
- * include in the response, or "*" to include all properties. By default, all properties are
- * returned except diagnostics. Currently only accepts '*' as a valid value.
- */
+/** Contains response data for the update operation. */
+export type OutputsUpdateResponse = OutputsUpdateHeaders & Output;
+
+/** Optional parameters. */
+export interface OutputsDeleteOptionalParams
+ extends coreClient.OperationOptions {}
+
+/** Optional parameters. */
+export interface OutputsGetOptionalParams extends coreClient.OperationOptions {}
+
+/** Contains response data for the get operation. */
+export type OutputsGetResponse = OutputsGetHeaders & Output;
+
+/** Optional parameters. */
+export interface OutputsListByStreamingJobOptionalParams
+ extends coreClient.OperationOptions {
+ /** The $select OData query parameter. This is a comma-separated list of structural properties to include in the response, or "*" to include all properties. By default, all properties are returned except diagnostics. Currently only accepts '*' as a valid value. */
select?: string;
}
-/**
- * Optional Parameters.
- */
-export interface OutputsTestOptionalParams extends msRest.RequestOptionsBase {
- /**
- * If the output specified does not already exist, this parameter must contain the full output
- * definition intended to be tested. If the output specified already exists, this parameter can
- * be left null to test the existing output as is or if specified, the properties specified will
- * overwrite the corresponding properties in the existing output (exactly like a PATCH operation)
- * and the resulting output will be tested.
- */
- output?: Output;
-}
+/** Contains response data for the listByStreamingJob operation. */
+export type OutputsListByStreamingJobResponse = OutputListResult;
-/**
- * Optional Parameters.
- */
-export interface OutputsBeginTestOptionalParams extends msRest.RequestOptionsBase {
- /**
- * If the output specified does not already exist, this parameter must contain the full output
- * definition intended to be tested. If the output specified already exists, this parameter can
- * be left null to test the existing output as is or if specified, the properties specified will
- * overwrite the corresponding properties in the existing output (exactly like a PATCH operation)
- * and the resulting output will be tested.
- */
+/** Optional parameters. */
+export interface OutputsTestOptionalParams extends coreClient.OperationOptions {
+ /** If the output specified does not already exist, this parameter must contain the full output definition intended to be tested. If the output specified already exists, this parameter can be left null to test the existing output as is or if specified, the properties specified will overwrite the corresponding properties in the existing output (exactly like a PATCH operation) and the resulting output will be tested. */
output?: Output;
+ /** 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 OutputsListByStreamingJobNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The $select OData query parameter. This is a comma-separated list of structural properties to
- * include in the response, or "*" to include all properties. By default, all properties are
- * returned except diagnostics. Currently only accepts '*' as a valid value.
- */
+/** Contains response data for the test operation. */
+export type OutputsTestResponse = ResourceTestStatus;
+
+/** Optional parameters. */
+export interface OutputsListByStreamingJobNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The $select OData query parameter. This is a comma-separated list of structural properties to include in the response, or "*" to include all properties. By default, all properties are returned except diagnostics. Currently only accepts '*' as a valid value. */
select?: string;
}
-/**
- * Optional Parameters.
- */
-export interface StreamingJobsCreateOrReplaceOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The ETag of the streaming job. Omit this value to always overwrite the current record set.
- * Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
- */
+/** Contains response data for the listByStreamingJobNext operation. */
+export type OutputsListByStreamingJobNextResponse = OutputListResult;
+
+/** Optional parameters. */
+export interface StreamingJobsCreateOrReplaceOptionalParams
+ extends coreClient.OperationOptions {
+ /** The ETag of the streaming job. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
ifMatch?: string;
- /**
- * Set to '*' to allow a new streaming job to be created, but to prevent updating an existing
- * record set. Other values will result in a 412 Pre-condition Failed response.
- */
+ /** Set to '*' to allow a new streaming job to be created, but to prevent updating an existing record set. Other values will result in a 412 Pre-condition Failed response. */
ifNoneMatch?: string;
+ /** 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 StreamingJobsUpdateOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The ETag of the streaming job. Omit this value to always overwrite the current record set.
- * Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
- */
+/** Contains response data for the createOrReplace operation. */
+export type StreamingJobsCreateOrReplaceResponse = StreamingJobsCreateOrReplaceHeaders &
+ StreamingJob;
+
+/** Optional parameters. */
+export interface StreamingJobsUpdateOptionalParams
+ extends coreClient.OperationOptions {
+ /** The ETag of the streaming job. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
ifMatch?: string;
}
-/**
- * Optional Parameters.
- */
-export interface StreamingJobsGetOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The $expand OData query parameter. This is a comma-separated list of additional streaming job
- * properties to include in the response, beyond the default set returned when this parameter is
- * absent. The default set is all streaming job properties other than 'inputs', 'transformation',
- * 'outputs', and 'functions'.
- */
- expand?: string;
+/** Contains response data for the update operation. */
+export type StreamingJobsUpdateResponse = StreamingJobsUpdateHeaders &
+ StreamingJob;
+
+/** Optional parameters. */
+export interface StreamingJobsDeleteOptionalParams
+ 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 StreamingJobsListByResourceGroupOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The $expand OData query parameter. This is a comma-separated list of additional streaming job
- * properties to include in the response, beyond the default set returned when this parameter is
- * absent. The default set is all streaming job properties other than 'inputs', 'transformation',
- * 'outputs', and 'functions'.
- */
+/** Optional parameters. */
+export interface StreamingJobsGetOptionalParams
+ extends coreClient.OperationOptions {
+ /** The $expand OData query parameter. This is a comma-separated list of additional streaming job properties to include in the response, beyond the default set returned when this parameter is absent. The default set is all streaming job properties other than 'inputs', 'transformation', 'outputs', and 'functions'. */
expand?: string;
}
-/**
- * Optional Parameters.
- */
-export interface StreamingJobsListOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The $expand OData query parameter. This is a comma-separated list of additional streaming job
- * properties to include in the response, beyond the default set returned when this parameter is
- * absent. The default set is all streaming job properties other than 'inputs', 'transformation',
- * 'outputs', and 'functions'.
- */
+/** Contains response data for the get operation. */
+export type StreamingJobsGetResponse = StreamingJobsGetHeaders & StreamingJob;
+
+/** Optional parameters. */
+export interface StreamingJobsListByResourceGroupOptionalParams
+ extends coreClient.OperationOptions {
+ /** The $expand OData query parameter. This is a comma-separated list of additional streaming job properties to include in the response, beyond the default set returned when this parameter is absent. The default set is all streaming job properties other than 'inputs', 'transformation', 'outputs', and 'functions'. */
expand?: string;
}
-/**
- * Optional Parameters.
- */
-export interface StreamingJobsStartOptionalParams extends msRest.RequestOptionsBase {
- /**
- * Parameters applicable to a start streaming job operation.
- */
- startJobParameters?: StartStreamingJobParameters;
-}
+/** Contains response data for the listByResourceGroup operation. */
+export type StreamingJobsListByResourceGroupResponse = StreamingJobListResult;
-/**
- * Optional Parameters.
- */
-export interface StreamingJobsBeginCreateOrReplaceOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The ETag of the streaming job. Omit this value to always overwrite the current record set.
- * Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
- */
- ifMatch?: string;
- /**
- * Set to '*' to allow a new streaming job to be created, but to prevent updating an existing
- * record set. Other values will result in a 412 Pre-condition Failed response.
- */
- ifNoneMatch?: string;
+/** Optional parameters. */
+export interface StreamingJobsListOptionalParams
+ extends coreClient.OperationOptions {
+ /** The $expand OData query parameter. This is a comma-separated list of additional streaming job properties to include in the response, beyond the default set returned when this parameter is absent. The default set is all streaming job properties other than 'inputs', 'transformation', 'outputs', and 'functions'. */
+ expand?: string;
}
-/**
- * Optional Parameters.
- */
-export interface StreamingJobsBeginStartOptionalParams extends msRest.RequestOptionsBase {
- /**
- * Parameters applicable to a start streaming job operation.
- */
+/** Contains response data for the list operation. */
+export type StreamingJobsListResponse = StreamingJobListResult;
+
+/** Optional parameters. */
+export interface StreamingJobsStartOptionalParams
+ extends coreClient.OperationOptions {
+ /** Parameters applicable to a start streaming job operation. */
startJobParameters?: StartStreamingJobParameters;
+ /** 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 StreamingJobsListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The $expand OData query parameter. This is a comma-separated list of additional streaming job
- * properties to include in the response, beyond the default set returned when this parameter is
- * absent. The default set is all streaming job properties other than 'inputs', 'transformation',
- * 'outputs', and 'functions'.
- */
- expand?: string;
+/** Optional parameters. */
+export interface StreamingJobsStopOptionalParams
+ 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 StreamingJobsListNextOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The $expand OData query parameter. This is a comma-separated list of additional streaming job
- * properties to include in the response, beyond the default set returned when this parameter is
- * absent. The default set is all streaming job properties other than 'inputs', 'transformation',
- * 'outputs', and 'functions'.
- */
+/** Optional parameters. */
+export interface StreamingJobsListByResourceGroupNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The $expand OData query parameter. This is a comma-separated list of additional streaming job properties to include in the response, beyond the default set returned when this parameter is absent. The default set is all streaming job properties other than 'inputs', 'transformation', 'outputs', and 'functions'. */
expand?: string;
}
-/**
- * Optional Parameters.
- */
-export interface TransformationsCreateOrReplaceOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The ETag of the transformation. Omit this value to always overwrite the current
- * transformation. Specify the last-seen ETag value to prevent accidentally overwriting
- * concurrent changes.
- */
- ifMatch?: string;
- /**
- * Set to '*' to allow a new transformation to be created, but to prevent updating an existing
- * transformation. Other values will result in a 412 Pre-condition Failed response.
- */
- ifNoneMatch?: string;
+/** Contains response data for the listByResourceGroupNext operation. */
+export type StreamingJobsListByResourceGroupNextResponse = StreamingJobListResult;
+
+/** Optional parameters. */
+export interface StreamingJobsListNextOptionalParams
+ extends coreClient.OperationOptions {
+ /** The $expand OData query parameter. This is a comma-separated list of additional streaming job properties to include in the response, beyond the default set returned when this parameter is absent. The default set is all streaming job properties other than 'inputs', 'transformation', 'outputs', and 'functions'. */
+ expand?: string;
}
-/**
- * Optional Parameters.
- */
-export interface TransformationsUpdateOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The ETag of the transformation. Omit this value to always overwrite the current
- * transformation. Specify the last-seen ETag value to prevent accidentally overwriting
- * concurrent changes.
- */
- ifMatch?: string;
-}
+/** Contains response data for the listNext operation. */
+export type StreamingJobsListNextResponse = StreamingJobListResult;
-/**
- * Optional Parameters.
- */
-export interface ClustersCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The ETag of the resource. Omit this value to always overwrite the current record set. Specify
- * the last-seen ETag value to prevent accidentally overwriting concurrent changes.
- */
- ifMatch?: string;
- /**
- * Set to '*' to allow a new resource to be created, but to prevent updating an existing record
- * set. Other values will result in a 412 Pre-condition Failed response.
- */
- ifNoneMatch?: string;
-}
+/** Optional parameters. */
+export interface SubscriptionsListQuotasOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Optional Parameters.
- */
-export interface ClustersUpdateOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The ETag of the resource. Omit this value to always overwrite the current record set. Specify
- * the last-seen ETag value to prevent accidentally overwriting concurrent changes.
- */
- ifMatch?: string;
-}
+/** Contains response data for the listQuotas operation. */
+export type SubscriptionsListQuotasResponse = SubscriptionQuotasListResult;
-/**
- * Optional Parameters.
- */
-export interface ClustersBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The ETag of the resource. Omit this value to always overwrite the current record set. Specify
- * the last-seen ETag value to prevent accidentally overwriting concurrent changes.
- */
- ifMatch?: string;
- /**
- * Set to '*' to allow a new resource to be created, but to prevent updating an existing record
- * set. Other values will result in a 412 Pre-condition Failed response.
- */
- ifNoneMatch?: string;
+/** Optional parameters. */
+export interface SubscriptionsTestQueryOptionalParams
+ 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 ClustersBeginUpdateOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The ETag of the resource. Omit this value to always overwrite the current record set. Specify
- * the last-seen ETag value to prevent accidentally overwriting concurrent changes.
- */
- ifMatch?: string;
-}
+/** Contains response data for the testQuery operation. */
+export type SubscriptionsTestQueryResponse = QueryTestingResult;
-/**
- * Optional Parameters.
- */
-export interface PrivateEndpointsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase {
- /**
- * The ETag of the resource. Omit this value to always overwrite the current record set. Specify
- * the last-seen ETag value to prevent accidentally overwriting concurrent changes.
- */
- ifMatch?: string;
- /**
- * Set to '*' to allow a new resource to be created, but to prevent updating an existing record
- * set. Other values will result in a 412 Pre-condition Failed response.
- */
- ifNoneMatch?: string;
-}
+/** Optional parameters. */
+export interface SubscriptionsCompileQueryOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * An interface representing StreamAnalyticsManagementClientOptions.
- */
-export interface StreamAnalyticsManagementClientOptions extends AzureServiceClientOptions {
- baseUri?: string;
-}
+/** Contains response data for the compileQuery operation. */
+export type SubscriptionsCompileQueryResponse = QueryCompilationResult;
-/**
- * Defines headers for CreateOrReplace operation.
- */
-export interface FunctionsCreateOrReplaceHeaders {
- /**
- * The current entity tag for the function. This is an opaque string. You can use it to detect
- * whether the resource has changed between requests. You can also use it in the If-Match or
- * If-None-Match headers for write operations for optimistic concurrency.
- */
- eTag: string;
+/** Optional parameters. */
+export interface SubscriptionsSampleInputOptionalParams
+ 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;
}
-/**
- * Defines headers for Update operation.
- */
-export interface FunctionsUpdateHeaders {
- /**
- * The current entity tag for the function. This is an opaque string. You can use it to detect
- * whether the resource has changed between requests. You can also use it in the If-Match or
- * If-None-Match headers for write operations for optimistic concurrency.
- */
- eTag: string;
-}
+/** Contains response data for the sampleInput operation. */
+export type SubscriptionsSampleInputResponse = SampleInputResult;
-/**
- * Defines headers for Get operation.
- */
-export interface FunctionsGetHeaders {
- /**
- * The current entity tag for the function. This is an opaque string. You can use it to detect
- * whether the resource has changed between requests. You can also use it in the If-Match or
- * If-None-Match headers for write operations for optimistic concurrency.
- */
- eTag: string;
+/** Optional parameters. */
+export interface SubscriptionsTestInputOptionalParams
+ 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;
}
-/**
- * Defines headers for CreateOrReplace operation.
- */
-export interface InputsCreateOrReplaceHeaders {
- /**
- * The current entity tag for the input. This is an opaque string. You can use it to detect
- * whether the resource has changed between requests. You can also use it in the If-Match or
- * If-None-Match headers for write operations for optimistic concurrency.
- */
- eTag: string;
-}
+/** Contains response data for the testInput operation. */
+export type SubscriptionsTestInputResponse = TestDatasourceResult;
-/**
- * Defines headers for Update operation.
- */
-export interface InputsUpdateHeaders {
- /**
- * The current entity tag for the input. This is an opaque string. You can use it to detect
- * whether the resource has changed between requests. You can also use it in the If-Match or
- * If-None-Match headers for write operations for optimistic concurrency.
- */
- eTag: string;
+/** Optional parameters. */
+export interface SubscriptionsTestOutputOptionalParams
+ 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;
}
-/**
- * Defines headers for Get operation.
- */
-export interface InputsGetHeaders {
- /**
- * The current entity tag for the input. This is an opaque string. You can use it to detect
- * whether the resource has changed between requests. You can also use it in the If-Match or
- * If-None-Match headers for write operations for optimistic concurrency.
- */
- eTag: string;
-}
+/** Contains response data for the testOutput operation. */
+export type SubscriptionsTestOutputResponse = TestDatasourceResult;
-/**
- * Defines headers for CreateOrReplace operation.
- */
-export interface OutputsCreateOrReplaceHeaders {
- /**
- * The current entity tag for the output. This is an opaque string. You can use it to detect
- * whether the resource has changed between requests. You can also use it in the If-Match or
- * If-None-Match headers for write operations for optimistic concurrency.
- */
- eTag: string;
+/** Optional parameters. */
+export interface TransformationsCreateOrReplaceOptionalParams
+ extends coreClient.OperationOptions {
+ /** The ETag of the transformation. Omit this value to always overwrite the current transformation. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
+ ifMatch?: string;
+ /** Set to '*' to allow a new transformation to be created, but to prevent updating an existing transformation. Other values will result in a 412 Pre-condition Failed response. */
+ ifNoneMatch?: string;
}
-/**
- * Defines headers for Update operation.
- */
-export interface OutputsUpdateHeaders {
- /**
- * The current entity tag for the output. This is an opaque string. You can use it to detect
- * whether the resource has changed between requests. You can also use it in the If-Match or
- * If-None-Match headers for write operations for optimistic concurrency.
- */
- eTag: string;
-}
+/** Contains response data for the createOrReplace operation. */
+export type TransformationsCreateOrReplaceResponse = TransformationsCreateOrReplaceHeaders &
+ Transformation;
-/**
- * Defines headers for Get operation.
- */
-export interface OutputsGetHeaders {
- /**
- * The current entity tag for the output. This is an opaque string. You can use it to detect
- * whether the resource has changed between requests. You can also use it in the If-Match or
- * If-None-Match headers for write operations for optimistic concurrency.
- */
- eTag: string;
+/** Optional parameters. */
+export interface TransformationsUpdateOptionalParams
+ extends coreClient.OperationOptions {
+ /** The ETag of the transformation. Omit this value to always overwrite the current transformation. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
+ ifMatch?: string;
}
-/**
- * Defines headers for CreateOrReplace operation.
- */
-export interface StreamingJobsCreateOrReplaceHeaders {
- /**
- * The current entity tag for the streaming job. This is an opaque string. You can use it to
- * detect whether the resource has changed between requests. You can also use it in the If-Match
- * or If-None-Match headers for write operations for optimistic concurrency.
- */
- eTag: string;
-}
+/** Contains response data for the update operation. */
+export type TransformationsUpdateResponse = TransformationsUpdateHeaders &
+ Transformation;
-/**
- * Defines headers for Update operation.
- */
-export interface StreamingJobsUpdateHeaders {
- /**
- * The current entity tag for the streaming job. This is an opaque string. You can use it to
- * detect whether the resource has changed between requests. You can also use it in the If-Match
- * or If-None-Match headers for write operations for optimistic concurrency.
- */
- eTag: string;
-}
+/** Optional parameters. */
+export interface TransformationsGetOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Defines headers for Get operation.
- */
-export interface StreamingJobsGetHeaders {
- /**
- * The current entity tag for the streaming job. This is an opaque string. You can use it to
- * detect whether the resource has changed between requests. You can also use it in the If-Match
- * or If-None-Match headers for write operations for optimistic concurrency.
- */
- eTag: string;
-}
+/** Contains response data for the get operation. */
+export type TransformationsGetResponse = TransformationsGetHeaders &
+ Transformation;
-/**
- * Defines headers for CreateOrReplace operation.
- */
-export interface TransformationsCreateOrReplaceHeaders {
- /**
- * The current entity tag for the transformation. This is an opaque string. You can use it to
- * detect whether the resource has changed between requests. You can also use it in the If-Match
- * or If-None-Match headers for write operations for optimistic concurrency.
- */
- eTag: string;
-}
+/** Optional parameters. */
+export interface OperationsListOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Defines headers for Update operation.
- */
-export interface TransformationsUpdateHeaders {
- /**
- * The current entity tag for the transformation. This is an opaque string. You can use it to
- * detect whether the resource has changed between requests. You can also use it in the If-Match
- * or If-None-Match headers for write operations for optimistic concurrency.
- */
- eTag: string;
-}
+/** Contains response data for the list operation. */
+export type OperationsListResponse = OperationListResult;
-/**
- * Defines headers for Get operation.
- */
-export interface TransformationsGetHeaders {
- /**
- * The current entity tag for the transformation. This is an opaque string. You can use it to
- * detect whether the resource has changed between requests. You can also use it in the If-Match
- * or If-None-Match headers for write operations for optimistic concurrency.
- */
- eTag: string;
-}
+/** Optional parameters. */
+export interface OperationsListNextOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * @interface
- * Object containing a list of functions under a streaming job.
- * @extends Array
- */
-export interface FunctionListResult extends Array {
- /**
- * The link (url) to the next page of results.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly nextLink?: string;
-}
+/** Contains response data for the listNext operation. */
+export type OperationsListNextResponse = OperationListResult;
-/**
- * @interface
- * Object containing a list of inputs under a streaming job.
- * @extends Array
- */
-export interface InputListResult extends Array {
- /**
- * The link (url) to the next page of results.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly nextLink?: string;
+/** Optional parameters. */
+export interface ClustersCreateOrUpdateOptionalParams
+ extends coreClient.OperationOptions {
+ /** The ETag of the resource. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
+ ifMatch?: string;
+ /** Set to '*' to allow a new resource to be created, but to prevent updating an existing record set. Other values will result in a 412 Pre-condition Failed response. */
+ ifNoneMatch?: string;
+ /** 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
- * Object containing a list of outputs under a streaming job.
- * @extends Array
- */
-export interface OutputListResult extends Array {
- /**
- * The link (url) to the next page of results.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly nextLink?: string;
-}
+/** Contains response data for the createOrUpdate operation. */
+export type ClustersCreateOrUpdateResponse = Cluster;
-/**
- * @interface
- * Object containing a list of streaming jobs.
- * @extends Array
- */
-export interface StreamingJobListResult extends Array {
- /**
- * The link (url) to the next page of results.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly nextLink?: string;
+/** Optional parameters. */
+export interface ClustersUpdateOptionalParams
+ extends coreClient.OperationOptions {
+ /** The ETag of the resource. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
+ ifMatch?: string;
+ /** 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 request to list Stream Analytics operations. It contains a list of operations and
- * a URL link to get the next set of results.
- * @extends Array
- */
-export interface OperationListResult extends Array {
- /**
- * URL to get the next set of operation list results if there are any.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly nextLink?: string;
-}
+/** Contains response data for the update operation. */
+export type ClustersUpdateResponse = Cluster;
-/**
- * @interface
- * A list of clusters populated by a 'list' operation.
- * @extends Array
- */
-export interface ClusterListResult extends Array {
- /**
- * The URL to fetch the next set of clusters.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly nextLink?: string;
-}
+/** Optional parameters. */
+export interface ClustersGetOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * @interface
- * A list of streaming jobs. Populated by a List operation.
- * @extends Array
- */
-export interface ClusterJobListResult extends Array {
- /**
- * The URL to fetch the next set of streaming jobs.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly nextLink?: string;
-}
+/** Contains response data for the get operation. */
+export type ClustersGetResponse = Cluster;
-/**
- * @interface
- * A list of private endpoints.
- * @extends Array
- */
-export interface PrivateEndpointListResult extends Array {
- /**
- * The URL to fetch the next set of private endpoints.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly nextLink?: string;
+/** Optional parameters. */
+export interface ClustersDeleteOptionalParams
+ 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;
}
-/**
- * Defines values for UdfType.
- * Possible values include: 'Scalar'
- * @readonly
- * @enum {string}
- */
-export type UdfType = 'Scalar';
+/** Optional parameters. */
+export interface ClustersListBySubscriptionOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Defines values for AuthenticationMode.
- * Possible values include: 'Msi', 'UserToken', 'ConnectionString'
- * @readonly
- * @enum {string}
- */
-export type AuthenticationMode = 'Msi' | 'UserToken' | 'ConnectionString';
+/** Contains response data for the listBySubscription operation. */
+export type ClustersListBySubscriptionResponse = ClusterListResult;
-/**
- * Defines values for Encoding.
- * Possible values include: 'UTF8'
- * @readonly
- * @enum {string}
- */
-export type Encoding = 'UTF8';
+/** Optional parameters. */
+export interface ClustersListByResourceGroupOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Defines values for JsonOutputSerializationFormat.
- * Possible values include: 'LineSeparated', 'Array'
- * @readonly
- * @enum {string}
- */
-export type JsonOutputSerializationFormat = 'LineSeparated' | 'Array';
+/** Contains response data for the listByResourceGroup operation. */
+export type ClustersListByResourceGroupResponse = ClusterListResult;
-/**
- * Defines values for EventSerializationType.
- * Possible values include: 'Csv', 'Avro', 'Json', 'CustomClr', 'Parquet'
- * @readonly
- * @enum {string}
- */
-export type EventSerializationType = 'Csv' | 'Avro' | 'Json' | 'CustomClr' | 'Parquet';
+/** Optional parameters. */
+export interface ClustersListStreamingJobsOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Defines values for StreamingJobSkuName.
- * Possible values include: 'Standard'
- * @readonly
- * @enum {string}
- */
-export type StreamingJobSkuName = 'Standard';
+/** Contains response data for the listStreamingJobs operation. */
+export type ClustersListStreamingJobsResponse = ClusterJobListResult;
-/**
- * Defines values for JobType.
- * Possible values include: 'Cloud', 'Edge'
- * @readonly
- * @enum {string}
- */
-export type JobType = 'Cloud' | 'Edge';
+/** Optional parameters. */
+export interface ClustersListBySubscriptionNextOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Defines values for OutputStartMode.
- * Possible values include: 'JobStartTime', 'CustomTime', 'LastOutputEventTime'
- * @readonly
- * @enum {string}
- */
-export type OutputStartMode = 'JobStartTime' | 'CustomTime' | 'LastOutputEventTime';
+/** Contains response data for the listBySubscriptionNext operation. */
+export type ClustersListBySubscriptionNextResponse = ClusterListResult;
-/**
- * Defines values for EventsOutOfOrderPolicy.
- * Possible values include: 'Adjust', 'Drop'
- * @readonly
- * @enum {string}
- */
-export type EventsOutOfOrderPolicy = 'Adjust' | 'Drop';
+/** Optional parameters. */
+export interface ClustersListByResourceGroupNextOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Defines values for OutputErrorPolicy.
- * Possible values include: 'Stop', 'Drop'
- * @readonly
- * @enum {string}
- */
-export type OutputErrorPolicy = 'Stop' | 'Drop';
+/** Contains response data for the listByResourceGroupNext operation. */
+export type ClustersListByResourceGroupNextResponse = ClusterListResult;
-/**
- * Defines values for CompatibilityLevel.
- * Possible values include: '1.0'
- * @readonly
- * @enum {string}
- */
-export type CompatibilityLevel = '1.0';
+/** Optional parameters. */
+export interface ClustersListStreamingJobsNextOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Defines values for ContentStoragePolicy.
- * Possible values include: 'SystemAccount', 'JobStorageAccount'
- * @readonly
- * @enum {string}
- */
-export type ContentStoragePolicy = 'SystemAccount' | 'JobStorageAccount';
+/** Contains response data for the listStreamingJobsNext operation. */
+export type ClustersListStreamingJobsNextResponse = ClusterJobListResult;
-/**
- * Defines values for ClusterSkuName.
- * Possible values include: 'Default'
- * @readonly
- * @enum {string}
- */
-export type ClusterSkuName = 'Default';
+/** Optional parameters. */
+export interface PrivateEndpointsCreateOrUpdateOptionalParams
+ extends coreClient.OperationOptions {
+ /** The ETag of the resource. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */
+ ifMatch?: string;
+ /** Set to '*' to allow a new resource to be created, but to prevent updating an existing record set. Other values will result in a 412 Pre-condition Failed response. */
+ ifNoneMatch?: string;
+}
-/**
- * Defines values for ClusterProvisioningState.
- * Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress'
- * @readonly
- * @enum {string}
- */
-export type ClusterProvisioningState = 'Succeeded' | 'Failed' | 'Canceled' | 'InProgress';
+/** Contains response data for the createOrUpdate operation. */
+export type PrivateEndpointsCreateOrUpdateResponse = PrivateEndpoint;
-/**
- * Defines values for JobState.
- * Possible values include: 'Created', 'Starting', 'Running', 'Stopping', 'Stopped', 'Deleting',
- * 'Failed', 'Degraded', 'Restarting', 'Scaling'
- * @readonly
- * @enum {string}
- */
-export type JobState = 'Created' | 'Starting' | 'Running' | 'Stopping' | 'Stopped' | 'Deleting' | 'Failed' | 'Degraded' | 'Restarting' | 'Scaling';
+/** Optional parameters. */
+export interface PrivateEndpointsGetOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the createOrReplace operation.
- */
-export type FunctionsCreateOrReplaceResponse = FunctionModel & FunctionsCreateOrReplaceHeaders & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The parsed HTTP response headers.
- */
- parsedHeaders: FunctionsCreateOrReplaceHeaders;
-
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: FunctionModel;
- };
-};
+/** Contains response data for the get operation. */
+export type PrivateEndpointsGetResponse = PrivateEndpoint;
-/**
- * Contains response data for the update operation.
- */
-export type FunctionsUpdateResponse = FunctionModel & FunctionsUpdateHeaders & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The parsed HTTP response headers.
- */
- parsedHeaders: FunctionsUpdateHeaders;
-
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: FunctionModel;
- };
-};
+/** Optional parameters. */
+export interface PrivateEndpointsDeleteOptionalParams
+ 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 get operation.
- */
-export type FunctionsGetResponse = FunctionModel & FunctionsGetHeaders & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The parsed HTTP response headers.
- */
- parsedHeaders: FunctionsGetHeaders;
-
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: FunctionModel;
- };
-};
+/** Optional parameters. */
+export interface PrivateEndpointsListByClusterOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the listByStreamingJob operation.
- */
-export type FunctionsListByStreamingJobResponse = FunctionListResult & {
- /**
- * 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: FunctionListResult;
- };
-};
+/** Contains response data for the listByCluster operation. */
+export type PrivateEndpointsListByClusterResponse = PrivateEndpointListResult;
-/**
- * Contains response data for the test operation.
- */
-export type FunctionsTestResponse = ResourceTestStatus & {
- /**
- * 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: ResourceTestStatus;
- };
-};
+/** Optional parameters. */
+export interface PrivateEndpointsListByClusterNextOptionalParams
+ extends coreClient.OperationOptions {}
-/**
- * Contains response data for the retrieveDefaultDefinition operation.
- */
-export type FunctionsRetrieveDefaultDefinitionResponse = FunctionModel & {
- /**
- * 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: FunctionModel;
- };
-};
+/** Contains response data for the listByClusterNext operation. */
+export type PrivateEndpointsListByClusterNextResponse = PrivateEndpointListResult;
-/**
- * Contains response data for the beginTest operation.
- */
-export type FunctionsBeginTestResponse = ResourceTestStatus & {
- /**
- * 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: ResourceTestStatus;
- };
-};
-
-/**
- * Contains response data for the listByStreamingJobNext operation.
- */
-export type FunctionsListByStreamingJobNextResponse = FunctionListResult & {
- /**
- * 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: FunctionListResult;
- };
-};
-
-/**
- * Contains response data for the createOrReplace operation.
- */
-export type InputsCreateOrReplaceResponse = Input & InputsCreateOrReplaceHeaders & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The parsed HTTP response headers.
- */
- parsedHeaders: InputsCreateOrReplaceHeaders;
-
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: Input;
- };
-};
-
-/**
- * Contains response data for the update operation.
- */
-export type InputsUpdateResponse = Input & InputsUpdateHeaders & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The parsed HTTP response headers.
- */
- parsedHeaders: InputsUpdateHeaders;
-
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: Input;
- };
-};
-
-/**
- * Contains response data for the get operation.
- */
-export type InputsGetResponse = Input & InputsGetHeaders & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The parsed HTTP response headers.
- */
- parsedHeaders: InputsGetHeaders;
-
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: Input;
- };
-};
-
-/**
- * Contains response data for the listByStreamingJob operation.
- */
-export type InputsListByStreamingJobResponse = InputListResult & {
- /**
- * 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: InputListResult;
- };
-};
-
-/**
- * Contains response data for the test operation.
- */
-export type InputsTestResponse = ResourceTestStatus & {
- /**
- * 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: ResourceTestStatus;
- };
-};
-
-/**
- * Contains response data for the beginTest operation.
- */
-export type InputsBeginTestResponse = ResourceTestStatus & {
- /**
- * 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: ResourceTestStatus;
- };
-};
-
-/**
- * Contains response data for the listByStreamingJobNext operation.
- */
-export type InputsListByStreamingJobNextResponse = InputListResult & {
- /**
- * 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: InputListResult;
- };
-};
-
-/**
- * Contains response data for the createOrReplace operation.
- */
-export type OutputsCreateOrReplaceResponse = Output & OutputsCreateOrReplaceHeaders & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The parsed HTTP response headers.
- */
- parsedHeaders: OutputsCreateOrReplaceHeaders;
-
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: Output;
- };
-};
-
-/**
- * Contains response data for the update operation.
- */
-export type OutputsUpdateResponse = Output & OutputsUpdateHeaders & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The parsed HTTP response headers.
- */
- parsedHeaders: OutputsUpdateHeaders;
-
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: Output;
- };
-};
-
-/**
- * Contains response data for the get operation.
- */
-export type OutputsGetResponse = Output & OutputsGetHeaders & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The parsed HTTP response headers.
- */
- parsedHeaders: OutputsGetHeaders;
-
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: Output;
- };
-};
-
-/**
- * Contains response data for the listByStreamingJob operation.
- */
-export type OutputsListByStreamingJobResponse = OutputListResult & {
- /**
- * 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: OutputListResult;
- };
-};
-
-/**
- * Contains response data for the test operation.
- */
-export type OutputsTestResponse = ResourceTestStatus & {
- /**
- * 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: ResourceTestStatus;
- };
-};
-
-/**
- * Contains response data for the beginTest operation.
- */
-export type OutputsBeginTestResponse = ResourceTestStatus & {
- /**
- * 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: ResourceTestStatus;
- };
-};
-
-/**
- * Contains response data for the listByStreamingJobNext operation.
- */
-export type OutputsListByStreamingJobNextResponse = OutputListResult & {
- /**
- * 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: OutputListResult;
- };
-};
-
-/**
- * Contains response data for the createOrReplace operation.
- */
-export type StreamingJobsCreateOrReplaceResponse = StreamingJob & StreamingJobsCreateOrReplaceHeaders & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The parsed HTTP response headers.
- */
- parsedHeaders: StreamingJobsCreateOrReplaceHeaders;
-
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: StreamingJob;
- };
-};
-
-/**
- * Contains response data for the update operation.
- */
-export type StreamingJobsUpdateResponse = StreamingJob & StreamingJobsUpdateHeaders & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The parsed HTTP response headers.
- */
- parsedHeaders: StreamingJobsUpdateHeaders;
-
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: StreamingJob;
- };
-};
-
-/**
- * Contains response data for the get operation.
- */
-export type StreamingJobsGetResponse = StreamingJob & StreamingJobsGetHeaders & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The parsed HTTP response headers.
- */
- parsedHeaders: StreamingJobsGetHeaders;
-
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: StreamingJob;
- };
-};
-
-/**
- * Contains response data for the listByResourceGroup operation.
- */
-export type StreamingJobsListByResourceGroupResponse = StreamingJobListResult & {
- /**
- * 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: StreamingJobListResult;
- };
-};
-
-/**
- * Contains response data for the list operation.
- */
-export type StreamingJobsListResponse = StreamingJobListResult & {
- /**
- * 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: StreamingJobListResult;
- };
-};
-
-/**
- * Contains response data for the listByResourceGroupNext operation.
- */
-export type StreamingJobsListByResourceGroupNextResponse = StreamingJobListResult & {
- /**
- * 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: StreamingJobListResult;
- };
-};
-
-/**
- * Contains response data for the listNext operation.
- */
-export type StreamingJobsListNextResponse = StreamingJobListResult & {
- /**
- * 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: StreamingJobListResult;
- };
-};
-
-/**
- * Contains response data for the listQuotas operation.
- */
-export type SubscriptionsListQuotasResponse = SubscriptionQuotasListResult & {
- /**
- * 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: SubscriptionQuotasListResult;
- };
-};
-
-/**
- * Contains response data for the createOrReplace operation.
- */
-export type TransformationsCreateOrReplaceResponse = Transformation & TransformationsCreateOrReplaceHeaders & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The parsed HTTP response headers.
- */
- parsedHeaders: TransformationsCreateOrReplaceHeaders;
-
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: Transformation;
- };
-};
-
-/**
- * Contains response data for the update operation.
- */
-export type TransformationsUpdateResponse = Transformation & TransformationsUpdateHeaders & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The parsed HTTP response headers.
- */
- parsedHeaders: TransformationsUpdateHeaders;
-
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: Transformation;
- };
-};
-
-/**
- * Contains response data for the get operation.
- */
-export type TransformationsGetResponse = Transformation & TransformationsGetHeaders & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The parsed HTTP response headers.
- */
- parsedHeaders: TransformationsGetHeaders;
-
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: Transformation;
- };
-};
-
-/**
- * Contains response data for the list operation.
- */
-export type OperationsListResponse = OperationListResult & {
- /**
- * 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: OperationListResult;
- };
-};
-
-/**
- * Contains response data for the listNext operation.
- */
-export type OperationsListNextResponse = OperationListResult & {
- /**
- * 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: OperationListResult;
- };
-};
-
-/**
- * Contains response data for the createOrUpdate operation.
- */
-export type ClustersCreateOrUpdateResponse = Cluster & {
- /**
- * 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: Cluster;
- };
-};
-
-/**
- * Contains response data for the update operation.
- */
-export type ClustersUpdateResponse = Cluster & {
- /**
- * 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: Cluster;
- };
-};
-
-/**
- * Contains response data for the get operation.
- */
-export type ClustersGetResponse = Cluster & {
- /**
- * 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: Cluster;
- };
-};
-
-/**
- * Contains response data for the listBySubscription operation.
- */
-export type ClustersListBySubscriptionResponse = ClusterListResult & {
- /**
- * 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: ClusterListResult;
- };
-};
-
-/**
- * Contains response data for the listByResourceGroup operation.
- */
-export type ClustersListByResourceGroupResponse = ClusterListResult & {
- /**
- * 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: ClusterListResult;
- };
-};
-
-/**
- * Contains response data for the listStreamingJobs operation.
- */
-export type ClustersListStreamingJobsResponse = ClusterJobListResult & {
- /**
- * 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: ClusterJobListResult;
- };
-};
-
-/**
- * Contains response data for the beginCreateOrUpdate operation.
- */
-export type ClustersBeginCreateOrUpdateResponse = Cluster & {
- /**
- * 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: Cluster;
- };
-};
-
-/**
- * Contains response data for the beginUpdate operation.
- */
-export type ClustersBeginUpdateResponse = Cluster & {
- /**
- * 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: Cluster;
- };
-};
-
-/**
- * Contains response data for the listBySubscriptionNext operation.
- */
-export type ClustersListBySubscriptionNextResponse = ClusterListResult & {
- /**
- * 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: ClusterListResult;
- };
-};
-
-/**
- * Contains response data for the listByResourceGroupNext operation.
- */
-export type ClustersListByResourceGroupNextResponse = ClusterListResult & {
- /**
- * 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: ClusterListResult;
- };
-};
-
-/**
- * Contains response data for the listStreamingJobsNext operation.
- */
-export type ClustersListStreamingJobsNextResponse = ClusterJobListResult & {
- /**
- * 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: ClusterJobListResult;
- };
-};
-
-/**
- * Contains response data for the createOrUpdate operation.
- */
-export type PrivateEndpointsCreateOrUpdateResponse = PrivateEndpoint & {
- /**
- * 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: PrivateEndpoint;
- };
-};
-
-/**
- * Contains response data for the get operation.
- */
-export type PrivateEndpointsGetResponse = PrivateEndpoint & {
- /**
- * 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: PrivateEndpoint;
- };
-};
-
-/**
- * Contains response data for the listByCluster operation.
- */
-export type PrivateEndpointsListByClusterResponse = PrivateEndpointListResult & {
- /**
- * 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: PrivateEndpointListResult;
- };
-};
-
-/**
- * Contains response data for the listByClusterNext operation.
- */
-export type PrivateEndpointsListByClusterNextResponse = PrivateEndpointListResult & {
- /**
- * 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: PrivateEndpointListResult;
- };
-};
+/** Optional parameters. */
+export interface StreamAnalyticsManagementClientOptionalParams
+ extends coreClient.ServiceClientOptions {
+ /** server parameter */
+ $host?: string;
+ /** Overrides client endpoint. */
+ endpoint?: string;
+}
diff --git a/sdk/streamanalytics/arm-streamanalytics/src/models/inputsMappers.ts b/sdk/streamanalytics/arm-streamanalytics/src/models/inputsMappers.ts
deleted file mode 100644
index 307adf85834f..000000000000
--- a/sdk/streamanalytics/arm-streamanalytics/src/models/inputsMappers.ts
+++ /dev/null
@@ -1,91 +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,
- AggregateFunctionProperties,
- AvroSerialization,
- AzureDataLakeStoreOutputDataSource,
- AzureFunctionOutputDataSource,
- AzureMachineLearningServiceFunctionBinding,
- AzureMachineLearningServiceInputColumn,
- AzureMachineLearningServiceOutputColumn,
- AzureMachineLearningStudioFunctionBinding,
- AzureMachineLearningStudioInputColumn,
- AzureMachineLearningStudioInputs,
- AzureMachineLearningStudioOutputColumn,
- AzureSqlDatabaseOutputDataSource,
- AzureSqlReferenceInputDataSource,
- AzureSqlReferenceInputDataSourceProperties,
- AzureSynapseOutputDataSource,
- AzureTableOutputDataSource,
- BaseResource,
- BlobOutputDataSource,
- BlobReferenceInputDataSource,
- BlobStreamInputDataSource,
- CloudError,
- Cluster,
- ClusterInfo,
- ClusterProperties,
- ClusterSku,
- Compression,
- CSharpFunctionBinding,
- CsvSerialization,
- CustomClrSerialization,
- DiagnosticCondition,
- Diagnostics,
- DocumentDbOutputDataSource,
- ErrorResponse,
- EventHubOutputDataSource,
- EventHubStreamInputDataSource,
- EventHubV2OutputDataSource,
- EventHubV2StreamInputDataSource,
- External,
- FunctionBinding,
- FunctionInput,
- FunctionModel,
- FunctionOutput,
- FunctionProperties,
- Identity,
- Input,
- InputListResult,
- InputProperties,
- InputsCreateOrReplaceHeaders,
- InputsGetHeaders,
- InputsUpdateHeaders,
- IoTHubStreamInputDataSource,
- JavaScriptFunctionBinding,
- JobStorageAccount,
- JsonSerialization,
- Output,
- OutputDataSource,
- ParquetSerialization,
- PowerBIOutputDataSource,
- PrivateEndpoint,
- PrivateEndpointProperties,
- PrivateLinkConnectionState,
- PrivateLinkServiceConnection,
- ProxyResource,
- ReferenceInputDataSource,
- ReferenceInputProperties,
- Resource,
- ResourceTestStatus,
- ScalarFunctionProperties,
- Serialization,
- ServiceBusQueueOutputDataSource,
- ServiceBusTopicOutputDataSource,
- StorageAccount,
- StreamingJob,
- StreamingJobSku,
- StreamInputDataSource,
- StreamInputProperties,
- SubResource,
- SubscriptionQuota,
- TrackedResource,
- Transformation
-} from "../models/mappers";
diff --git a/sdk/streamanalytics/arm-streamanalytics/src/models/mappers.ts b/sdk/streamanalytics/arm-streamanalytics/src/models/mappers.ts
index c80dfa931abb..8d27103e6cbb 100644
--- a/sdk/streamanalytics/arm-streamanalytics/src/models/mappers.ts
+++ b/sdk/streamanalytics/arm-streamanalytics/src/models/mappers.ts
@@ -6,64 +6,29 @@
* 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 FunctionInput: msRest.CompositeMapper = {
- serializedName: "FunctionInput",
+export const SubResource: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "FunctionInput",
+ className: "SubResource",
modelProperties: {
- dataType: {
- serializedName: "dataType",
+ id: {
+ serializedName: "id",
+ readOnly: true,
type: {
name: "String"
}
},
- isConfigurationParameter: {
- serializedName: "isConfigurationParameter",
- type: {
- name: "Boolean"
- }
- }
- }
- }
-};
-
-export const FunctionOutput: msRest.CompositeMapper = {
- serializedName: "FunctionOutput",
- type: {
- name: "Composite",
- className: "FunctionOutput",
- modelProperties: {
- dataType: {
- serializedName: "dataType",
+ name: {
+ serializedName: "name",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const FunctionBinding: msRest.CompositeMapper = {
- serializedName: "FunctionBinding",
- type: {
- name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "type",
- clientName: "type"
- },
- uberParent: "FunctionBinding",
- className: "FunctionBinding",
- modelProperties: {
+ },
type: {
- required: true,
serializedName: "type",
+ readOnly: true,
type: {
name: "String"
}
@@ -72,27 +37,26 @@ export const FunctionBinding: msRest.CompositeMapper = {
}
};
-export const FunctionProperties: msRest.CompositeMapper = {
- serializedName: "FunctionProperties",
+export const FunctionProperties: coreClient.CompositeMapper = {
type: {
name: "Composite",
+ className: "FunctionProperties",
+ uberParent: "FunctionProperties",
polymorphicDiscriminator: {
serializedName: "type",
clientName: "type"
},
- uberParent: "FunctionProperties",
- className: "FunctionProperties",
modelProperties: {
- etag: {
- readOnly: true,
- serializedName: "etag",
+ type: {
+ serializedName: "type",
+ required: true,
type: {
name: "String"
}
},
- type: {
- required: true,
- serializedName: "type",
+ etag: {
+ serializedName: "etag",
+ readOnly: true,
type: {
name: "String"
}
@@ -127,28 +91,34 @@ export const FunctionProperties: msRest.CompositeMapper = {
}
};
-export const SubResource: msRest.CompositeMapper = {
- serializedName: "SubResource",
+export const FunctionInput: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "SubResource",
+ className: "FunctionInput",
modelProperties: {
- id: {
- readOnly: true,
- serializedName: "id",
+ dataType: {
+ serializedName: "dataType",
type: {
name: "String"
}
},
- name: {
- serializedName: "name",
+ isConfigurationParameter: {
+ serializedName: "isConfigurationParameter",
type: {
- name: "String"
+ name: "Boolean"
}
- },
- type: {
- readOnly: true,
- serializedName: "type",
+ }
+ }
+ }
+};
+
+export const FunctionOutput: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "FunctionOutput",
+ modelProperties: {
+ dataType: {
+ serializedName: "dataType",
type: {
name: "String"
}
@@ -157,85 +127,74 @@ export const SubResource: msRest.CompositeMapper = {
}
};
-export const FunctionModel: msRest.CompositeMapper = {
- serializedName: "Function",
+export const FunctionBinding: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "FunctionModel",
+ className: "FunctionBinding",
+ uberParent: "FunctionBinding",
+ polymorphicDiscriminator: {
+ serializedName: "type",
+ clientName: "type"
+ },
modelProperties: {
- ...SubResource.type.modelProperties,
- properties: {
- serializedName: "properties",
+ type: {
+ serializedName: "type",
+ required: true,
type: {
- name: "Composite",
- className: "FunctionProperties"
+ name: "String"
}
}
}
}
};
-export const ScalarFunctionProperties: msRest.CompositeMapper = {
- serializedName: "Scalar",
+export const ErrorModel: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: FunctionProperties.type.polymorphicDiscriminator,
- uberParent: "FunctionProperties",
- className: "ScalarFunctionProperties",
+ className: "ErrorModel",
modelProperties: {
- ...FunctionProperties.type.modelProperties
+ error: {
+ serializedName: "error",
+ type: {
+ name: "Composite",
+ className: "ErrorAutoGenerated"
+ }
+ }
}
}
};
-export const AzureMachineLearningStudioInputColumn: msRest.CompositeMapper = {
- serializedName: "AzureMachineLearningStudioInputColumn",
+export const ErrorAutoGenerated: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "AzureMachineLearningStudioInputColumn",
+ className: "ErrorAutoGenerated",
modelProperties: {
- name: {
- serializedName: "name",
+ code: {
+ serializedName: "code",
type: {
name: "String"
}
},
- dataType: {
- serializedName: "dataType",
+ message: {
+ serializedName: "message",
type: {
name: "String"
}
},
- mapTo: {
- serializedName: "mapTo",
- type: {
- name: "Number"
- }
- }
- }
- }
-};
-
-export const AzureMachineLearningStudioInputs: msRest.CompositeMapper = {
- serializedName: "AzureMachineLearningStudioInputs",
- type: {
- name: "Composite",
- className: "AzureMachineLearningStudioInputs",
- modelProperties: {
- name: {
- serializedName: "name",
+ target: {
+ serializedName: "target",
type: {
name: "String"
}
},
- columnNames: {
- serializedName: "columnNames",
+ details: {
+ serializedName: "details",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "AzureMachineLearningStudioInputColumn"
+ className: "ErrorDetails"
}
}
}
@@ -244,20 +203,25 @@ export const AzureMachineLearningStudioInputs: msRest.CompositeMapper = {
}
};
-export const AzureMachineLearningStudioOutputColumn: msRest.CompositeMapper = {
- serializedName: "AzureMachineLearningStudioOutputColumn",
+export const ErrorDetails: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "AzureMachineLearningStudioOutputColumn",
+ className: "ErrorDetails",
modelProperties: {
- name: {
- serializedName: "name",
+ code: {
+ serializedName: "code",
type: {
name: "String"
}
},
- dataType: {
- serializedName: "dataType",
+ target: {
+ serializedName: "target",
+ type: {
+ name: "String"
+ }
+ },
+ message: {
+ serializedName: "message",
type: {
name: "String"
}
@@ -266,104 +230,73 @@ export const AzureMachineLearningStudioOutputColumn: msRest.CompositeMapper = {
}
};
-export const AzureMachineLearningStudioFunctionBinding: msRest.CompositeMapper = {
- serializedName: "Microsoft.MachineLearning/WebService",
+export const FunctionListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: FunctionBinding.type.polymorphicDiscriminator,
- uberParent: "FunctionBinding",
- className: "AzureMachineLearningStudioFunctionBinding",
+ className: "FunctionListResult",
modelProperties: {
- ...FunctionBinding.type.modelProperties,
- endpoint: {
- serializedName: "properties.endpoint",
- type: {
- name: "String"
- }
- },
- apiKey: {
- serializedName: "properties.apiKey",
- type: {
- name: "String"
- }
- },
- inputs: {
- serializedName: "properties.inputs",
- type: {
- name: "Composite",
- className: "AzureMachineLearningStudioInputs"
- }
- },
- outputs: {
- serializedName: "properties.outputs",
+ value: {
+ serializedName: "value",
+ readOnly: true,
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "AzureMachineLearningStudioOutputColumn"
+ className: "FunctionModel"
}
}
}
},
- batchSize: {
- serializedName: "properties.batchSize",
+ nextLink: {
+ serializedName: "nextLink",
+ readOnly: true,
type: {
- name: "Number"
+ name: "String"
}
}
}
}
};
-export const JavaScriptFunctionBinding: msRest.CompositeMapper = {
- serializedName: "Microsoft.StreamAnalytics/JavascriptUdf",
+export const ResourceTestStatus: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: FunctionBinding.type.polymorphicDiscriminator,
- uberParent: "FunctionBinding",
- className: "JavaScriptFunctionBinding",
+ className: "ResourceTestStatus",
modelProperties: {
- ...FunctionBinding.type.modelProperties,
- script: {
- serializedName: "properties.script",
+ status: {
+ serializedName: "status",
+ readOnly: true,
type: {
name: "String"
}
+ },
+ error: {
+ serializedName: "error",
+ type: {
+ name: "Composite",
+ className: "ErrorResponse"
+ }
}
}
}
};
-export const CSharpFunctionBinding: msRest.CompositeMapper = {
- serializedName: "Microsoft.StreamAnalytics/CLRUdf",
+export const ErrorResponse: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: FunctionBinding.type.polymorphicDiscriminator,
- uberParent: "FunctionBinding",
- className: "CSharpFunctionBinding",
+ className: "ErrorResponse",
modelProperties: {
- ...FunctionBinding.type.modelProperties,
- script: {
- serializedName: "properties.script",
- type: {
- name: "String"
- }
- },
- dllPath: {
- serializedName: "properties.dllPath",
- type: {
- name: "String"
- }
- },
- classProperty: {
- serializedName: "properties.class",
+ code: {
+ serializedName: "code",
+ readOnly: true,
type: {
name: "String"
}
},
- method: {
- serializedName: "properties.method",
+ message: {
+ serializedName: "message",
+ readOnly: true,
type: {
name: "String"
}
@@ -372,20 +305,19 @@ export const CSharpFunctionBinding: msRest.CompositeMapper = {
}
};
-export const FunctionRetrieveDefaultDefinitionParameters: msRest.CompositeMapper = {
- serializedName: "FunctionRetrieveDefaultDefinitionParameters",
+export const FunctionRetrieveDefaultDefinitionParameters: coreClient.CompositeMapper = {
type: {
name: "Composite",
+ className: "FunctionRetrieveDefaultDefinitionParameters",
+ uberParent: "FunctionRetrieveDefaultDefinitionParameters",
polymorphicDiscriminator: {
serializedName: "bindingType",
clientName: "bindingType"
},
- uberParent: "FunctionRetrieveDefaultDefinitionParameters",
- className: "FunctionRetrieveDefaultDefinitionParameters",
modelProperties: {
bindingType: {
- required: true,
serializedName: "bindingType",
+ required: true,
type: {
name: "String"
}
@@ -394,292 +326,251 @@ export const FunctionRetrieveDefaultDefinitionParameters: msRest.CompositeMapper
}
};
-export const AzureMachineLearningStudioFunctionRetrieveDefaultDefinitionParameters: msRest.CompositeMapper = {
- serializedName: "Microsoft.MachineLearning/WebService",
+export const InputProperties: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: FunctionRetrieveDefaultDefinitionParameters.type.polymorphicDiscriminator,
- uberParent: "FunctionRetrieveDefaultDefinitionParameters",
- className: "AzureMachineLearningStudioFunctionRetrieveDefaultDefinitionParameters",
+ className: "InputProperties",
+ uberParent: "InputProperties",
+ polymorphicDiscriminator: {
+ serializedName: "type",
+ clientName: "type"
+ },
modelProperties: {
- ...FunctionRetrieveDefaultDefinitionParameters.type.modelProperties,
- executeEndpoint: {
- serializedName: "bindingRetrievalProperties.executeEndpoint",
+ type: {
+ serializedName: "type",
+ required: true,
type: {
name: "String"
}
},
- udfType: {
- serializedName: "bindingRetrievalProperties.udfType",
+ serialization: {
+ serializedName: "serialization",
type: {
- name: "Enum",
- allowedValues: [
- "Scalar"
- ]
+ name: "Composite",
+ className: "Serialization"
}
- }
- }
- }
-};
-
-export const AzureMachineLearningServiceFunctionRetrieveDefaultDefinitionParameters: msRest.CompositeMapper = {
- serializedName: "Microsoft.MachineLearningServices",
- type: {
- name: "Composite",
- polymorphicDiscriminator: FunctionRetrieveDefaultDefinitionParameters.type.polymorphicDiscriminator,
- uberParent: "FunctionRetrieveDefaultDefinitionParameters",
- className: "AzureMachineLearningServiceFunctionRetrieveDefaultDefinitionParameters",
- modelProperties: {
- ...FunctionRetrieveDefaultDefinitionParameters.type.modelProperties,
- executeEndpoint: {
- serializedName: "bindingRetrievalProperties.executeEndpoint",
+ },
+ diagnostics: {
+ serializedName: "diagnostics",
+ type: {
+ name: "Composite",
+ className: "Diagnostics"
+ }
+ },
+ etag: {
+ serializedName: "etag",
+ readOnly: true,
type: {
name: "String"
}
},
- udfType: {
- serializedName: "bindingRetrievalProperties.udfType",
+ compression: {
+ serializedName: "compression",
+ type: {
+ name: "Composite",
+ className: "Compression"
+ }
+ },
+ partitionKey: {
+ serializedName: "partitionKey",
type: {
- name: "Enum",
- allowedValues: [
- "Scalar"
- ]
+ name: "String"
}
}
}
}
};
-export const JavaScriptFunctionRetrieveDefaultDefinitionParameters: msRest.CompositeMapper = {
- serializedName: "Microsoft.StreamAnalytics/JavascriptUdf",
+export const Serialization: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: FunctionRetrieveDefaultDefinitionParameters.type.polymorphicDiscriminator,
- uberParent: "FunctionRetrieveDefaultDefinitionParameters",
- className: "JavaScriptFunctionRetrieveDefaultDefinitionParameters",
+ className: "Serialization",
+ uberParent: "Serialization",
+ polymorphicDiscriminator: {
+ serializedName: "type",
+ clientName: "type"
+ },
modelProperties: {
- ...FunctionRetrieveDefaultDefinitionParameters.type.modelProperties,
- script: {
- serializedName: "bindingRetrievalProperties.script",
+ type: {
+ serializedName: "type",
+ required: true,
type: {
name: "String"
}
- },
- udfType: {
- serializedName: "bindingRetrievalProperties.udfType",
- type: {
- name: "Enum",
- allowedValues: [
- "Scalar"
- ]
- }
}
}
}
};
-export const CSharpFunctionRetrieveDefaultDefinitionParameters: msRest.CompositeMapper = {
- serializedName: "Microsoft.StreamAnalytics/CLRUdf",
+export const Diagnostics: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: FunctionRetrieveDefaultDefinitionParameters.type.polymorphicDiscriminator,
- uberParent: "FunctionRetrieveDefaultDefinitionParameters",
- className: "CSharpFunctionRetrieveDefaultDefinitionParameters",
+ className: "Diagnostics",
modelProperties: {
- ...FunctionRetrieveDefaultDefinitionParameters.type.modelProperties,
- script: {
- serializedName: "bindingRetrievalProperties.script",
- type: {
- name: "String"
- }
- },
- udfType: {
- serializedName: "bindingRetrievalProperties.udfType",
+ conditions: {
+ serializedName: "conditions",
+ readOnly: true,
type: {
- name: "Enum",
- allowedValues: [
- "Scalar"
- ]
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "DiagnosticCondition"
+ }
+ }
}
}
}
}
};
-export const AzureMachineLearningServiceInputColumn: msRest.CompositeMapper = {
- serializedName: "AzureMachineLearningServiceInputColumn",
+export const DiagnosticCondition: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "AzureMachineLearningServiceInputColumn",
+ className: "DiagnosticCondition",
modelProperties: {
- name: {
- serializedName: "name",
+ since: {
+ serializedName: "since",
+ readOnly: true,
type: {
name: "String"
}
},
- dataType: {
- serializedName: "dataType",
+ code: {
+ serializedName: "code",
+ readOnly: true,
type: {
name: "String"
}
},
- mapTo: {
- serializedName: "mapTo",
+ message: {
+ serializedName: "message",
+ readOnly: true,
type: {
- name: "Number"
+ name: "String"
}
}
}
}
};
-export const AzureMachineLearningServiceOutputColumn: msRest.CompositeMapper = {
- serializedName: "AzureMachineLearningServiceOutputColumn",
+export const Compression: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "AzureMachineLearningServiceOutputColumn",
+ className: "Compression",
modelProperties: {
- name: {
- serializedName: "name",
- type: {
- name: "String"
- }
- },
- dataType: {
- serializedName: "dataType",
+ type: {
+ serializedName: "type",
+ required: true,
type: {
name: "String"
}
- },
- mapTo: {
- serializedName: "mapTo",
- type: {
- name: "Number"
- }
}
}
}
};
-export const AzureMachineLearningServiceFunctionBinding: msRest.CompositeMapper = {
- serializedName: "Microsoft.MachineLearningServices",
+export const InputListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: FunctionBinding.type.polymorphicDiscriminator,
- uberParent: "FunctionBinding",
- className: "AzureMachineLearningServiceFunctionBinding",
+ className: "InputListResult",
modelProperties: {
- ...FunctionBinding.type.modelProperties,
- endpoint: {
- serializedName: "properties.endpoint",
- type: {
- name: "String"
- }
- },
- apiKey: {
- serializedName: "properties.apiKey",
- type: {
- name: "String"
- }
- },
- inputs: {
- serializedName: "properties.inputs",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "AzureMachineLearningServiceInputColumn"
- }
- }
- }
- },
- outputs: {
- serializedName: "properties.outputs",
+ value: {
+ serializedName: "value",
+ readOnly: true,
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "AzureMachineLearningServiceOutputColumn"
+ className: "Input"
}
}
}
},
- batchSize: {
- serializedName: "properties.batchSize",
- type: {
- name: "Number"
- }
- },
- numberOfParallelRequests: {
- serializedName: "properties.numberOfParallelRequests",
+ nextLink: {
+ serializedName: "nextLink",
+ readOnly: true,
type: {
- name: "Number"
+ name: "String"
}
}
}
}
};
-export const AzureMachineLearningServiceInputs: msRest.CompositeMapper = {
- serializedName: "AzureMachineLearningServiceInputs",
+export const OutputDataSource: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "AzureMachineLearningServiceInputs",
+ className: "OutputDataSource",
+ uberParent: "OutputDataSource",
+ polymorphicDiscriminator: {
+ serializedName: "type",
+ clientName: "type"
+ },
modelProperties: {
- name: {
- serializedName: "name",
+ type: {
+ serializedName: "type",
+ required: true,
type: {
name: "String"
}
- },
- columnNames: {
- serializedName: "columnNames",
+ }
+ }
+ }
+};
+
+export const OutputListResult: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "OutputListResult",
+ modelProperties: {
+ value: {
+ serializedName: "value",
+ readOnly: true,
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "AzureMachineLearningServiceInputColumn"
+ className: "Output"
}
}
}
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
}
}
}
};
-export const AggregateFunctionProperties: msRest.CompositeMapper = {
- serializedName: "Aggregate",
- type: {
- name: "Composite",
- polymorphicDiscriminator: FunctionProperties.type.polymorphicDiscriminator,
- uberParent: "FunctionProperties",
- className: "AggregateFunctionProperties",
- modelProperties: {
- ...FunctionProperties.type.modelProperties
- }
- }
-};
-
-export const ErrorResponse: msRest.CompositeMapper = {
- serializedName: "ErrorResponse",
+export const Resource: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "ErrorResponse",
+ className: "Resource",
modelProperties: {
- code: {
+ id: {
+ serializedName: "id",
readOnly: true,
- serializedName: "code",
type: {
name: "String"
}
},
- message: {
+ name: {
+ serializedName: "name",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ },
+ type: {
+ serializedName: "type",
readOnly: true,
- serializedName: "message",
type: {
name: "String"
}
@@ -688,45 +579,34 @@ export const ErrorResponse: msRest.CompositeMapper = {
}
};
-export const ResourceTestStatus: msRest.CompositeMapper = {
- serializedName: "ResourceTestStatus",
+export const StreamingJobSku: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "ResourceTestStatus",
+ className: "StreamingJobSku",
modelProperties: {
- status: {
- readOnly: true,
- serializedName: "status",
- type: {
- name: "String"
- }
- },
- error: {
- readOnly: true,
- serializedName: "error",
+ name: {
+ serializedName: "name",
type: {
- name: "Composite",
- className: "ErrorResponse"
+ name: "String"
}
}
}
}
};
-export const Serialization: msRest.CompositeMapper = {
- serializedName: "Serialization",
+export const StorageAccount: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "type",
- clientName: "type"
- },
- uberParent: "Serialization",
- className: "Serialization",
+ className: "StorageAccount",
modelProperties: {
- type: {
- required: true,
- serializedName: "type",
+ accountName: {
+ serializedName: "accountName",
+ type: {
+ name: "String"
+ }
+ },
+ accountKey: {
+ serializedName: "accountKey",
type: {
name: "String"
}
@@ -735,29 +615,26 @@ export const Serialization: msRest.CompositeMapper = {
}
};
-export const DiagnosticCondition: msRest.CompositeMapper = {
- serializedName: "DiagnosticCondition",
+export const External: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "DiagnosticCondition",
+ className: "External",
modelProperties: {
- since: {
- readOnly: true,
- serializedName: "since",
+ storageAccount: {
+ serializedName: "storageAccount",
type: {
- name: "String"
+ name: "Composite",
+ className: "StorageAccount"
}
},
- code: {
- readOnly: true,
- serializedName: "code",
+ container: {
+ serializedName: "container",
type: {
name: "String"
}
},
- message: {
- readOnly: true,
- serializedName: "message",
+ path: {
+ serializedName: "path",
type: {
name: "String"
}
@@ -766,37 +643,39 @@ export const DiagnosticCondition: msRest.CompositeMapper = {
}
};
-export const Diagnostics: msRest.CompositeMapper = {
- serializedName: "Diagnostics",
+export const ClusterInfo: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "Diagnostics",
+ className: "ClusterInfo",
modelProperties: {
- conditions: {
- readOnly: true,
- serializedName: "conditions",
+ id: {
+ serializedName: "id",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "DiagnosticCondition"
- }
- }
+ name: "String"
}
}
}
}
};
-export const Compression: msRest.CompositeMapper = {
- serializedName: "Compression",
+export const Identity: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "Compression",
+ className: "Identity",
modelProperties: {
+ tenantId: {
+ serializedName: "tenantId",
+ type: {
+ name: "String"
+ }
+ },
+ principalId: {
+ serializedName: "principalId",
+ type: {
+ name: "String"
+ }
+ },
type: {
- required: true,
serializedName: "type",
type: {
name: "String"
@@ -806,55 +685,27 @@ export const Compression: msRest.CompositeMapper = {
}
};
-export const InputProperties: msRest.CompositeMapper = {
- serializedName: "InputProperties",
+export const StreamingJobListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "type",
- clientName: "type"
- },
- uberParent: "InputProperties",
- className: "InputProperties",
+ className: "StreamingJobListResult",
modelProperties: {
- serialization: {
- serializedName: "serialization",
- type: {
- name: "Composite",
- className: "Serialization"
- }
- },
- diagnostics: {
+ value: {
+ serializedName: "value",
readOnly: true,
- serializedName: "diagnostics",
type: {
- name: "Composite",
- className: "Diagnostics"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "StreamingJob"
+ }
+ }
}
},
- etag: {
+ nextLink: {
+ serializedName: "nextLink",
readOnly: true,
- serializedName: "etag",
- type: {
- name: "String"
- }
- },
- compression: {
- serializedName: "compression",
- type: {
- name: "Composite",
- className: "Compression"
- }
- },
- partitionKey: {
- serializedName: "partitionKey",
- type: {
- name: "String"
- }
- },
- type: {
- required: true,
- serializedName: "type",
type: {
name: "String"
}
@@ -863,345 +714,367 @@ export const InputProperties: msRest.CompositeMapper = {
}
};
-export const Input: msRest.CompositeMapper = {
- serializedName: "Input",
+export const StartStreamingJobParameters: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "Input",
+ className: "StartStreamingJobParameters",
modelProperties: {
- ...SubResource.type.modelProperties,
- properties: {
- serializedName: "properties",
+ outputStartMode: {
+ serializedName: "outputStartMode",
type: {
- name: "Composite",
- className: "InputProperties"
+ name: "String"
+ }
+ },
+ outputStartTime: {
+ serializedName: "outputStartTime",
+ type: {
+ name: "DateTime"
}
}
}
}
};
-export const StreamInputDataSource: msRest.CompositeMapper = {
- serializedName: "StreamInputDataSource",
+export const SubscriptionQuotasListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "type",
- clientName: "type"
- },
- uberParent: "StreamInputDataSource",
- className: "StreamInputDataSource",
+ className: "SubscriptionQuotasListResult",
modelProperties: {
- type: {
- required: true,
- serializedName: "type",
+ value: {
+ serializedName: "value",
+ readOnly: true,
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "SubscriptionQuota"
+ }
+ }
}
}
}
}
};
-export const StreamInputProperties: msRest.CompositeMapper = {
- serializedName: "Stream",
+export const TestQuery: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: InputProperties.type.polymorphicDiscriminator,
- uberParent: "InputProperties",
- className: "StreamInputProperties",
+ className: "TestQuery",
modelProperties: {
- ...InputProperties.type.modelProperties,
- datasource: {
- serializedName: "datasource",
+ diagnostics: {
+ serializedName: "diagnostics",
type: {
name: "Composite",
- className: "StreamInputDataSource"
+ className: "TestQueryDiagnostics"
+ }
+ },
+ streamingJob: {
+ serializedName: "streamingJob",
+ type: {
+ name: "Composite",
+ className: "StreamingJob"
}
}
}
}
};
-export const ReferenceInputDataSource: msRest.CompositeMapper = {
- serializedName: "ReferenceInputDataSource",
+export const TestQueryDiagnostics: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "type",
- clientName: "type"
- },
- uberParent: "ReferenceInputDataSource",
- className: "ReferenceInputDataSource",
+ className: "TestQueryDiagnostics",
modelProperties: {
- type: {
+ writeUri: {
+ serializedName: "writeUri",
required: true,
- serializedName: "type",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const ReferenceInputProperties: msRest.CompositeMapper = {
- serializedName: "Reference",
- type: {
- name: "Composite",
- polymorphicDiscriminator: InputProperties.type.polymorphicDiscriminator,
- uberParent: "InputProperties",
- className: "ReferenceInputProperties",
- modelProperties: {
- ...InputProperties.type.modelProperties,
- datasource: {
- serializedName: "datasource",
+ },
+ path: {
+ serializedName: "path",
type: {
- name: "Composite",
- className: "ReferenceInputDataSource"
+ name: "String"
}
}
}
}
};
-export const BlobStreamInputDataSource: msRest.CompositeMapper = {
- serializedName: "Microsoft.Storage/Blob",
+export const CompileQuery: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: StreamInputDataSource.type.polymorphicDiscriminator,
- uberParent: "StreamInputDataSource",
- className: "BlobStreamInputDataSource",
+ className: "CompileQuery",
modelProperties: {
- ...StreamInputDataSource.type.modelProperties,
- storageAccounts: {
- serializedName: "properties.storageAccounts",
+ query: {
+ serializedName: "query",
+ required: true,
+ type: {
+ name: "String"
+ }
+ },
+ inputs: {
+ serializedName: "inputs",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "StorageAccount"
+ className: "QueryInput"
}
}
}
},
- container: {
- serializedName: "properties.container",
- type: {
- name: "String"
- }
- },
- pathPattern: {
- serializedName: "properties.pathPattern",
+ functions: {
+ serializedName: "functions",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "QueryFunction"
+ }
+ }
}
},
- dateFormat: {
- serializedName: "properties.dateFormat",
+ jobType: {
+ serializedName: "jobType",
+ required: true,
type: {
name: "String"
}
},
- timeFormat: {
- serializedName: "properties.timeFormat",
+ compatibilityLevel: {
+ serializedName: "compatibilityLevel",
type: {
name: "String"
}
- },
- sourcePartitionCount: {
- serializedName: "properties.sourcePartitionCount",
- type: {
- name: "Number"
- }
}
}
}
};
-export const EventHubStreamInputDataSource: msRest.CompositeMapper = {
- serializedName: "Microsoft.ServiceBus/EventHub",
+export const QueryInput: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: StreamInputDataSource.type.polymorphicDiscriminator,
- uberParent: "StreamInputDataSource",
- className: "EventHubStreamInputDataSource",
+ className: "QueryInput",
modelProperties: {
- ...StreamInputDataSource.type.modelProperties,
- serviceBusNamespace: {
- serializedName: "properties.serviceBusNamespace",
+ name: {
+ serializedName: "name",
+ required: true,
type: {
name: "String"
}
},
- sharedAccessPolicyName: {
- serializedName: "properties.sharedAccessPolicyName",
+ type: {
+ serializedName: "type",
+ required: true,
type: {
name: "String"
}
- },
- sharedAccessPolicyKey: {
- serializedName: "properties.sharedAccessPolicyKey",
+ }
+ }
+ }
+};
+
+export const QueryFunction: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "QueryFunction",
+ modelProperties: {
+ name: {
+ serializedName: "name",
+ required: true,
type: {
name: "String"
}
},
- authenticationMode: {
- serializedName: "properties.authenticationMode",
+ type: {
+ serializedName: "type",
+ required: true,
type: {
name: "String"
}
},
- eventHubName: {
- serializedName: "properties.eventHubName",
+ bindingType: {
+ serializedName: "bindingType",
+ required: true,
type: {
name: "String"
}
},
- consumerGroupName: {
- serializedName: "properties.consumerGroupName",
+ inputs: {
+ serializedName: "inputs",
+ required: true,
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "FunctionInput"
+ }
+ }
+ }
+ },
+ output: {
+ serializedName: "output",
+ type: {
+ name: "Composite",
+ className: "FunctionOutput"
}
}
}
}
};
-export const EventHubV2StreamInputDataSource: msRest.CompositeMapper = {
- serializedName: "Microsoft.EventHub/EventHub",
+export const QueryCompilationResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: StreamInputDataSource.type.polymorphicDiscriminator,
- uberParent: "StreamInputDataSource",
- className: "EventHubV2StreamInputDataSource",
+ className: "QueryCompilationResult",
modelProperties: {
- ...StreamInputDataSource.type.modelProperties,
- serviceBusNamespace: {
- serializedName: "properties.serviceBusNamespace",
- type: {
- name: "String"
- }
- },
- sharedAccessPolicyName: {
- serializedName: "properties.sharedAccessPolicyName",
+ errors: {
+ serializedName: "errors",
+ readOnly: true,
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "QueryCompilationError"
+ }
+ }
}
},
- sharedAccessPolicyKey: {
- serializedName: "properties.sharedAccessPolicyKey",
+ warnings: {
+ serializedName: "warnings",
+ readOnly: true,
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
}
},
- authenticationMode: {
- serializedName: "properties.authenticationMode",
+ inputs: {
+ serializedName: "inputs",
+ readOnly: true,
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
}
},
- eventHubName: {
- serializedName: "properties.eventHubName",
+ outputs: {
+ serializedName: "outputs",
+ readOnly: true,
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
}
},
- consumerGroupName: {
- serializedName: "properties.consumerGroupName",
+ functions: {
+ serializedName: "functions",
+ readOnly: true,
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
}
}
}
}
};
-export const IoTHubStreamInputDataSource: msRest.CompositeMapper = {
- serializedName: "Microsoft.Devices/IotHubs",
+export const QueryCompilationError: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: StreamInputDataSource.type.polymorphicDiscriminator,
- uberParent: "StreamInputDataSource",
- className: "IoTHubStreamInputDataSource",
+ className: "QueryCompilationError",
modelProperties: {
- ...StreamInputDataSource.type.modelProperties,
- iotHubNamespace: {
- serializedName: "properties.iotHubNamespace",
+ message: {
+ serializedName: "message",
+ readOnly: true,
type: {
name: "String"
}
},
- sharedAccessPolicyName: {
- serializedName: "properties.sharedAccessPolicyName",
+ startLine: {
+ serializedName: "startLine",
+ readOnly: true,
type: {
- name: "String"
+ name: "Number"
}
},
- sharedAccessPolicyKey: {
- serializedName: "properties.sharedAccessPolicyKey",
+ startColumn: {
+ serializedName: "startColumn",
+ readOnly: true,
type: {
- name: "String"
+ name: "Number"
}
},
- consumerGroupName: {
- serializedName: "properties.consumerGroupName",
+ endLine: {
+ serializedName: "endLine",
+ readOnly: true,
type: {
- name: "String"
+ name: "Number"
}
},
- endpoint: {
- serializedName: "properties.endpoint",
+ endColumn: {
+ serializedName: "endColumn",
+ readOnly: true,
type: {
- name: "String"
+ name: "Number"
+ }
+ },
+ isGlobal: {
+ serializedName: "isGlobal",
+ readOnly: true,
+ type: {
+ name: "Boolean"
}
}
}
}
};
-export const BlobReferenceInputDataSource: msRest.CompositeMapper = {
- serializedName: "Microsoft.Storage/Blob",
+export const SampleInput: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ReferenceInputDataSource.type.polymorphicDiscriminator,
- uberParent: "ReferenceInputDataSource",
- className: "BlobReferenceInputDataSource",
+ className: "SampleInput",
modelProperties: {
- ...ReferenceInputDataSource.type.modelProperties,
- storageAccounts: {
- serializedName: "properties.storageAccounts",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "StorageAccount"
- }
- }
- }
- },
- container: {
- serializedName: "properties.container",
+ input: {
+ serializedName: "input",
type: {
- name: "String"
+ name: "Composite",
+ className: "Input"
}
},
- pathPattern: {
- serializedName: "properties.pathPattern",
+ compatibilityLevel: {
+ serializedName: "compatibilityLevel",
type: {
name: "String"
}
},
- dateFormat: {
- serializedName: "properties.dateFormat",
+ eventsUri: {
+ serializedName: "eventsUri",
type: {
name: "String"
}
},
- timeFormat: {
- serializedName: "properties.timeFormat",
+ dataLocale: {
+ serializedName: "dataLocale",
type: {
name: "String"
}
@@ -1210,100 +1083,119 @@ export const BlobReferenceInputDataSource: msRest.CompositeMapper = {
}
};
-export const StorageAccount: msRest.CompositeMapper = {
- serializedName: "StorageAccount",
+export const TestInput: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "StorageAccount",
+ className: "TestInput",
modelProperties: {
- accountName: {
- serializedName: "accountName",
+ input: {
+ serializedName: "input",
type: {
- name: "String"
+ name: "Composite",
+ className: "Input"
}
- },
- accountKey: {
- serializedName: "accountKey",
+ }
+ }
+ }
+};
+
+export const TestOutput: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "TestOutput",
+ modelProperties: {
+ output: {
+ serializedName: "output",
type: {
- name: "String"
+ name: "Composite",
+ className: "Output"
}
}
}
}
};
-export const BlobDataSourceProperties: msRest.CompositeMapper = {
- serializedName: "BlobDataSourceProperties",
+export const OperationListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "BlobDataSourceProperties",
+ className: "OperationListResult",
modelProperties: {
- storageAccounts: {
- serializedName: "storageAccounts",
+ value: {
+ serializedName: "value",
+ readOnly: true,
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "StorageAccount"
+ className: "Operation"
}
}
}
},
- container: {
- serializedName: "container",
- type: {
- name: "String"
- }
- },
- pathPattern: {
- serializedName: "pathPattern",
+ nextLink: {
+ serializedName: "nextLink",
+ readOnly: true,
type: {
name: "String"
}
- },
- dateFormat: {
- serializedName: "dateFormat",
+ }
+ }
+ }
+};
+
+export const Operation: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "Operation",
+ modelProperties: {
+ name: {
+ serializedName: "name",
+ readOnly: true,
type: {
name: "String"
}
},
- timeFormat: {
- serializedName: "timeFormat",
+ display: {
+ serializedName: "display",
type: {
- name: "String"
+ name: "Composite",
+ className: "OperationDisplay"
}
}
}
}
};
-export const ServiceBusDataSourceProperties: msRest.CompositeMapper = {
- serializedName: "ServiceBusDataSourceProperties",
+export const OperationDisplay: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "ServiceBusDataSourceProperties",
+ className: "OperationDisplay",
modelProperties: {
- serviceBusNamespace: {
- serializedName: "serviceBusNamespace",
+ provider: {
+ serializedName: "provider",
+ readOnly: true,
type: {
name: "String"
}
},
- sharedAccessPolicyName: {
- serializedName: "sharedAccessPolicyName",
+ resource: {
+ serializedName: "resource",
+ readOnly: true,
type: {
name: "String"
}
},
- sharedAccessPolicyKey: {
- serializedName: "sharedAccessPolicyKey",
+ operation: {
+ serializedName: "operation",
+ readOnly: true,
type: {
name: "String"
}
},
- authenticationMode: {
- serializedName: "authenticationMode",
+ description: {
+ serializedName: "description",
+ readOnly: true,
type: {
name: "String"
}
@@ -1312,84 +1204,96 @@ export const ServiceBusDataSourceProperties: msRest.CompositeMapper = {
}
};
-export const EventHubDataSourceProperties: msRest.CompositeMapper = {
- serializedName: "EventHubDataSourceProperties",
+export const ClusterSku: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "EventHubDataSourceProperties",
+ className: "ClusterSku",
modelProperties: {
- ...ServiceBusDataSourceProperties.type.modelProperties,
- eventHubName: {
- serializedName: "eventHubName",
+ name: {
+ serializedName: "name",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const ParquetSerialization: msRest.CompositeMapper = {
- serializedName: "Parquet",
- type: {
- name: "Composite",
- polymorphicDiscriminator: Serialization.type.polymorphicDiscriminator,
- uberParent: "Serialization",
- className: "ParquetSerialization",
- modelProperties: {
- ...Serialization.type.modelProperties,
- properties: {
- serializedName: "properties",
+ },
+ capacity: {
+ constraints: {
+ InclusiveMaximum: 216,
+ InclusiveMinimum: 36
+ },
+ serializedName: "capacity",
type: {
- name: "Object"
+ name: "Number"
}
}
}
}
};
-export const CustomClrSerialization: msRest.CompositeMapper = {
- serializedName: "CustomClr",
+export const ClusterProperties: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: Serialization.type.polymorphicDiscriminator,
- uberParent: "Serialization",
- className: "CustomClrSerialization",
+ className: "ClusterProperties",
modelProperties: {
- ...Serialization.type.modelProperties,
- serializationDllPath: {
- serializedName: "properties.serializationDllPath",
+ createdDate: {
+ serializedName: "createdDate",
+ readOnly: true,
+ type: {
+ name: "DateTime"
+ }
+ },
+ clusterId: {
+ serializedName: "clusterId",
+ readOnly: true,
type: {
name: "String"
}
},
- serializationClassName: {
- serializedName: "properties.serializationClassName",
+ provisioningState: {
+ serializedName: "provisioningState",
+ readOnly: true,
type: {
name: "String"
}
+ },
+ capacityAllocated: {
+ serializedName: "capacityAllocated",
+ readOnly: true,
+ type: {
+ name: "Number"
+ }
+ },
+ capacityAssigned: {
+ serializedName: "capacityAssigned",
+ readOnly: true,
+ type: {
+ name: "Number"
+ }
}
}
}
};
-export const CsvSerialization: msRest.CompositeMapper = {
- serializedName: "Csv",
+export const ClusterListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: Serialization.type.polymorphicDiscriminator,
- uberParent: "Serialization",
- className: "CsvSerialization",
+ className: "ClusterListResult",
modelProperties: {
- ...Serialization.type.modelProperties,
- fieldDelimiter: {
- serializedName: "properties.fieldDelimiter",
+ value: {
+ serializedName: "value",
+ readOnly: true,
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "Cluster"
+ }
+ }
}
},
- encoding: {
- serializedName: "properties.encoding",
+ nextLink: {
+ serializedName: "nextLink",
+ readOnly: true,
type: {
name: "String"
}
@@ -1398,23 +1302,27 @@ export const CsvSerialization: msRest.CompositeMapper = {
}
};
-export const JsonSerialization: msRest.CompositeMapper = {
- serializedName: "Json",
+export const ClusterJobListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: Serialization.type.polymorphicDiscriminator,
- uberParent: "Serialization",
- className: "JsonSerialization",
+ className: "ClusterJobListResult",
modelProperties: {
- ...Serialization.type.modelProperties,
- encoding: {
- serializedName: "properties.encoding",
+ value: {
+ serializedName: "value",
+ readOnly: true,
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ClusterJob"
+ }
+ }
}
},
- format: {
- serializedName: "properties.format",
+ nextLink: {
+ serializedName: "nextLink",
+ readOnly: true,
type: {
name: "String"
}
@@ -1423,109 +1331,154 @@ export const JsonSerialization: msRest.CompositeMapper = {
}
};
-export const AvroSerialization: msRest.CompositeMapper = {
- serializedName: "Avro",
+export const ClusterJob: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: Serialization.type.polymorphicDiscriminator,
- uberParent: "Serialization",
- className: "AvroSerialization",
+ className: "ClusterJob",
modelProperties: {
- ...Serialization.type.modelProperties,
- properties: {
- serializedName: "properties",
+ id: {
+ serializedName: "id",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ },
+ streamingUnits: {
+ serializedName: "streamingUnits",
+ readOnly: true,
+ type: {
+ name: "Number"
+ }
+ },
+ jobState: {
+ serializedName: "jobState",
+ readOnly: true,
type: {
- name: "Object"
+ name: "String"
}
}
}
}
};
-export const Identity: msRest.CompositeMapper = {
- serializedName: "Identity",
+export const PrivateEndpointProperties: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "Identity",
+ className: "PrivateEndpointProperties",
modelProperties: {
- tenantId: {
- serializedName: "tenantId",
- type: {
- name: "String"
- }
- },
- principalId: {
- serializedName: "principalId",
+ createdDate: {
+ serializedName: "createdDate",
+ readOnly: true,
type: {
name: "String"
}
},
- type: {
- serializedName: "type",
+ manualPrivateLinkServiceConnections: {
+ serializedName: "manualPrivateLinkServiceConnections",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "PrivateLinkServiceConnection"
+ }
+ }
}
}
}
}
};
-export const AzureSqlReferenceInputDataSourceProperties: msRest.CompositeMapper = {
- serializedName: "AzureSqlReferenceInputDataSourceProperties",
+export const PrivateLinkServiceConnection: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "AzureSqlReferenceInputDataSourceProperties",
+ className: "PrivateLinkServiceConnection",
modelProperties: {
- server: {
- serializedName: "server",
+ privateLinkServiceId: {
+ serializedName: "properties.privateLinkServiceId",
type: {
name: "String"
}
},
- database: {
- serializedName: "database",
+ groupIds: {
+ serializedName: "properties.groupIds",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
}
},
- user: {
- serializedName: "user",
+ requestMessage: {
+ serializedName: "properties.requestMessage",
type: {
name: "String"
}
},
- password: {
- serializedName: "password",
+ privateLinkServiceConnectionState: {
+ serializedName: "properties.privateLinkServiceConnectionState",
type: {
- name: "String"
+ name: "Composite",
+ className: "PrivateLinkConnectionState"
}
- },
- table: {
- serializedName: "table",
+ }
+ }
+ }
+};
+
+export const PrivateLinkConnectionState: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "PrivateLinkConnectionState",
+ modelProperties: {
+ status: {
+ serializedName: "status",
+ readOnly: true,
type: {
name: "String"
}
},
- refreshType: {
- serializedName: "refreshType",
+ description: {
+ serializedName: "description",
+ readOnly: true,
type: {
name: "String"
}
},
- refreshRate: {
- serializedName: "refreshRate",
+ actionsRequired: {
+ serializedName: "actionsRequired",
+ readOnly: true,
type: {
name: "String"
}
- },
- fullSnapshotQuery: {
- serializedName: "fullSnapshotQuery",
+ }
+ }
+ }
+};
+
+export const PrivateEndpointListResult: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "PrivateEndpointListResult",
+ modelProperties: {
+ value: {
+ serializedName: "value",
+ readOnly: true,
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "PrivateEndpoint"
+ }
+ }
}
},
- deltaSnapshotQuery: {
- serializedName: "deltaSnapshotQuery",
+ nextLink: {
+ serializedName: "nextLink",
+ readOnly: true,
type: {
name: "String"
}
@@ -1534,388 +1487,394 @@ export const AzureSqlReferenceInputDataSourceProperties: msRest.CompositeMapper
}
};
-export const AzureSqlReferenceInputDataSource: msRest.CompositeMapper = {
- serializedName: "Microsoft.Sql/Server/Database",
+export const AzureMachineLearningStudioInputs: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: ReferenceInputDataSource.type.polymorphicDiscriminator,
- uberParent: "ReferenceInputDataSource",
- className: "AzureSqlReferenceInputDataSource",
+ className: "AzureMachineLearningStudioInputs",
modelProperties: {
- ...ReferenceInputDataSource.type.modelProperties,
- properties: {
- serializedName: "properties",
+ name: {
+ serializedName: "name",
type: {
- name: "Composite",
- className: "AzureSqlReferenceInputDataSourceProperties"
+ name: "String"
+ }
+ },
+ columnNames: {
+ serializedName: "columnNames",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "AzureMachineLearningStudioInputColumn"
+ }
+ }
}
}
}
}
};
-export const OutputDataSource: msRest.CompositeMapper = {
- serializedName: "OutputDataSource",
+export const AzureMachineLearningStudioInputColumn: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "type",
- clientName: "type"
- },
- uberParent: "OutputDataSource",
- className: "OutputDataSource",
+ className: "AzureMachineLearningStudioInputColumn",
modelProperties: {
- type: {
- required: true,
- serializedName: "type",
+ name: {
+ serializedName: "name",
type: {
name: "String"
}
+ },
+ dataType: {
+ serializedName: "dataType",
+ type: {
+ name: "String"
+ }
+ },
+ mapTo: {
+ serializedName: "mapTo",
+ type: {
+ name: "Number"
+ }
}
}
}
};
-export const Output: msRest.CompositeMapper = {
- serializedName: "Output",
+export const AzureMachineLearningStudioOutputColumn: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "Output",
+ className: "AzureMachineLearningStudioOutputColumn",
modelProperties: {
- ...SubResource.type.modelProperties,
- datasource: {
- serializedName: "properties.datasource",
- type: {
- name: "Composite",
- className: "OutputDataSource"
- }
- },
- timeWindow: {
- serializedName: "properties.timeWindow",
+ name: {
+ serializedName: "name",
type: {
name: "String"
}
},
- sizeWindow: {
- serializedName: "properties.sizeWindow",
+ dataType: {
+ serializedName: "dataType",
type: {
- name: "Number"
+ name: "String"
}
- },
- serialization: {
- serializedName: "properties.serialization",
+ }
+ }
+ }
+};
+
+export const AzureMachineLearningServiceInputColumn: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "AzureMachineLearningServiceInputColumn",
+ modelProperties: {
+ name: {
+ serializedName: "name",
type: {
- name: "Composite",
- className: "Serialization"
+ name: "String"
}
},
- diagnostics: {
- readOnly: true,
- serializedName: "properties.diagnostics",
+ dataType: {
+ serializedName: "dataType",
type: {
- name: "Composite",
- className: "Diagnostics"
+ name: "String"
}
},
- etag: {
- readOnly: true,
- serializedName: "properties.etag",
+ mapTo: {
+ serializedName: "mapTo",
type: {
- name: "String"
+ name: "Number"
}
}
}
}
};
-export const BlobOutputDataSource: msRest.CompositeMapper = {
- serializedName: "Microsoft.Storage/Blob",
+export const AzureMachineLearningServiceOutputColumn: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: OutputDataSource.type.polymorphicDiscriminator,
- uberParent: "OutputDataSource",
- className: "BlobOutputDataSource",
+ className: "AzureMachineLearningServiceOutputColumn",
modelProperties: {
- ...OutputDataSource.type.modelProperties,
- storageAccounts: {
- serializedName: "properties.storageAccounts",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "StorageAccount"
- }
- }
- }
- },
- container: {
- serializedName: "properties.container",
+ name: {
+ serializedName: "name",
type: {
name: "String"
}
},
- pathPattern: {
- serializedName: "properties.pathPattern",
+ dataType: {
+ serializedName: "dataType",
type: {
name: "String"
}
},
- dateFormat: {
- serializedName: "properties.dateFormat",
+ mapTo: {
+ serializedName: "mapTo",
type: {
- name: "String"
+ name: "Number"
}
- },
- timeFormat: {
- serializedName: "properties.timeFormat",
+ }
+ }
+ }
+};
+
+export const AzureMachineLearningServiceInputs: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "AzureMachineLearningServiceInputs",
+ modelProperties: {
+ name: {
+ serializedName: "name",
type: {
name: "String"
}
},
- authenticationMode: {
- serializedName: "properties.authenticationMode",
+ columnNames: {
+ serializedName: "columnNames",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "AzureMachineLearningServiceInputColumn"
+ }
+ }
}
}
}
}
};
-export const AzureTableOutputDataSource: msRest.CompositeMapper = {
- serializedName: "Microsoft.Storage/Table",
+export const StreamInputDataSource: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: OutputDataSource.type.polymorphicDiscriminator,
- uberParent: "OutputDataSource",
- className: "AzureTableOutputDataSource",
+ className: "StreamInputDataSource",
+ uberParent: "StreamInputDataSource",
+ polymorphicDiscriminator: {
+ serializedName: "type",
+ clientName: "type"
+ },
modelProperties: {
- ...OutputDataSource.type.modelProperties,
- accountName: {
- serializedName: "properties.accountName",
+ type: {
+ serializedName: "type",
+ required: true,
type: {
name: "String"
}
- },
- accountKey: {
- serializedName: "properties.accountKey",
+ }
+ }
+ }
+};
+
+export const ReferenceInputDataSource: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "ReferenceInputDataSource",
+ uberParent: "ReferenceInputDataSource",
+ polymorphicDiscriminator: {
+ serializedName: "type",
+ clientName: "type"
+ },
+ modelProperties: {
+ type: {
+ serializedName: "type",
+ required: true,
type: {
name: "String"
}
- },
- table: {
- serializedName: "properties.table",
+ }
+ }
+ }
+};
+
+export const BlobDataSourceProperties: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "BlobDataSourceProperties",
+ modelProperties: {
+ storageAccounts: {
+ serializedName: "storageAccounts",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "StorageAccount"
+ }
+ }
}
},
- partitionKey: {
- serializedName: "properties.partitionKey",
+ container: {
+ serializedName: "container",
type: {
name: "String"
}
},
- rowKey: {
- serializedName: "properties.rowKey",
+ pathPattern: {
+ serializedName: "pathPattern",
type: {
name: "String"
}
},
- columnsToRemove: {
- serializedName: "properties.columnsToRemove",
+ dateFormat: {
+ serializedName: "dateFormat",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
+ name: "String"
}
},
- batchSize: {
- serializedName: "properties.batchSize",
+ timeFormat: {
+ serializedName: "timeFormat",
type: {
- name: "Number"
+ name: "String"
}
}
}
}
};
-export const EventHubOutputDataSource: msRest.CompositeMapper = {
- serializedName: "Microsoft.ServiceBus/EventHub",
+export const ServiceBusDataSourceProperties: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: OutputDataSource.type.polymorphicDiscriminator,
- uberParent: "OutputDataSource",
- className: "EventHubOutputDataSource",
+ className: "ServiceBusDataSourceProperties",
modelProperties: {
- ...OutputDataSource.type.modelProperties,
serviceBusNamespace: {
- serializedName: "properties.serviceBusNamespace",
+ serializedName: "serviceBusNamespace",
type: {
name: "String"
}
},
sharedAccessPolicyName: {
- serializedName: "properties.sharedAccessPolicyName",
+ serializedName: "sharedAccessPolicyName",
type: {
name: "String"
}
},
sharedAccessPolicyKey: {
- serializedName: "properties.sharedAccessPolicyKey",
+ serializedName: "sharedAccessPolicyKey",
type: {
name: "String"
}
},
authenticationMode: {
- serializedName: "properties.authenticationMode",
+ serializedName: "authenticationMode",
type: {
name: "String"
}
- },
- eventHubName: {
- serializedName: "properties.eventHubName",
- type: {
- name: "String"
- }
- },
- partitionKey: {
- serializedName: "properties.partitionKey",
- type: {
- name: "String"
- }
- },
- propertyColumns: {
- serializedName: "properties.propertyColumns",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
- }
}
}
}
};
-export const EventHubV2OutputDataSource: msRest.CompositeMapper = {
- serializedName: "Microsoft.EventHub/EventHub",
+export const AzureSqlReferenceInputDataSourceProperties: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: OutputDataSource.type.polymorphicDiscriminator,
- uberParent: "OutputDataSource",
- className: "EventHubV2OutputDataSource",
+ className: "AzureSqlReferenceInputDataSourceProperties",
modelProperties: {
- ...OutputDataSource.type.modelProperties,
- serviceBusNamespace: {
- serializedName: "properties.serviceBusNamespace",
+ server: {
+ serializedName: "server",
type: {
name: "String"
}
},
- sharedAccessPolicyName: {
- serializedName: "properties.sharedAccessPolicyName",
+ database: {
+ serializedName: "database",
type: {
name: "String"
}
},
- sharedAccessPolicyKey: {
- serializedName: "properties.sharedAccessPolicyKey",
+ user: {
+ serializedName: "user",
type: {
name: "String"
}
},
- authenticationMode: {
- serializedName: "properties.authenticationMode",
+ password: {
+ serializedName: "password",
type: {
name: "String"
}
},
- eventHubName: {
- serializedName: "properties.eventHubName",
+ table: {
+ serializedName: "table",
type: {
name: "String"
}
},
- partitionKey: {
- serializedName: "properties.partitionKey",
+ refreshType: {
+ serializedName: "refreshType",
type: {
name: "String"
}
},
- propertyColumns: {
- serializedName: "properties.propertyColumns",
+ refreshRate: {
+ serializedName: "refreshRate",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
+ name: "String"
+ }
+ },
+ fullSnapshotQuery: {
+ serializedName: "fullSnapshotQuery",
+ type: {
+ name: "String"
+ }
+ },
+ deltaSnapshotQuery: {
+ serializedName: "deltaSnapshotQuery",
+ type: {
+ name: "String"
}
}
}
}
};
-export const AzureSqlDatabaseOutputDataSource: msRest.CompositeMapper = {
- serializedName: "Microsoft.Sql/Server/Database",
+export const AzureSqlDatabaseDataSourceProperties: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: OutputDataSource.type.polymorphicDiscriminator,
- uberParent: "OutputDataSource",
- className: "AzureSqlDatabaseOutputDataSource",
+ className: "AzureSqlDatabaseDataSourceProperties",
modelProperties: {
- ...OutputDataSource.type.modelProperties,
server: {
- serializedName: "properties.server",
+ serializedName: "server",
type: {
name: "String"
}
},
database: {
- serializedName: "properties.database",
+ serializedName: "database",
type: {
name: "String"
}
},
user: {
- serializedName: "properties.user",
+ serializedName: "user",
type: {
name: "String"
}
},
password: {
- serializedName: "properties.password",
+ serializedName: "password",
type: {
name: "String"
}
},
table: {
- serializedName: "properties.table",
+ serializedName: "table",
type: {
name: "String"
}
},
maxBatchCount: {
- serializedName: "properties.maxBatchCount",
+ serializedName: "maxBatchCount",
type: {
name: "Number"
}
},
maxWriterCount: {
- serializedName: "properties.maxWriterCount",
+ serializedName: "maxWriterCount",
type: {
name: "Number"
}
},
authenticationMode: {
- serializedName: "properties.authenticationMode",
+ serializedName: "authenticationMode",
type: {
name: "String"
}
@@ -1924,41 +1883,37 @@ export const AzureSqlDatabaseOutputDataSource: msRest.CompositeMapper = {
}
};
-export const AzureSynapseOutputDataSource: msRest.CompositeMapper = {
- serializedName: "Microsoft.Sql/Server/DataWarehouse",
+export const AzureSynapseDataSourceProperties: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: OutputDataSource.type.polymorphicDiscriminator,
- uberParent: "OutputDataSource",
- className: "AzureSynapseOutputDataSource",
+ className: "AzureSynapseDataSourceProperties",
modelProperties: {
- ...OutputDataSource.type.modelProperties,
server: {
- serializedName: "properties.server",
+ serializedName: "server",
type: {
name: "String"
}
},
database: {
- serializedName: "properties.database",
+ serializedName: "database",
type: {
name: "String"
}
},
table: {
- serializedName: "properties.table",
+ serializedName: "table",
type: {
name: "String"
}
},
user: {
- serializedName: "properties.user",
+ serializedName: "user",
type: {
name: "String"
}
},
password: {
- serializedName: "properties.password",
+ serializedName: "password",
type: {
name: "String"
}
@@ -1967,87 +1922,109 @@ export const AzureSynapseOutputDataSource: msRest.CompositeMapper = {
}
};
-export const AzureSynapseDataSourceProperties: msRest.CompositeMapper = {
- serializedName: "AzureSynapseDataSourceProperties",
+export const OAuthBasedDataSourceProperties: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "AzureSynapseDataSourceProperties",
+ className: "OAuthBasedDataSourceProperties",
modelProperties: {
- server: {
- serializedName: "server",
+ refreshToken: {
+ serializedName: "refreshToken",
type: {
name: "String"
}
},
- database: {
- serializedName: "database",
+ tokenUserPrincipalName: {
+ serializedName: "tokenUserPrincipalName",
type: {
name: "String"
}
},
- table: {
- serializedName: "table",
+ tokenUserDisplayName: {
+ serializedName: "tokenUserDisplayName",
type: {
name: "String"
}
- },
- user: {
- serializedName: "user",
+ }
+ }
+ }
+};
+
+export const FunctionModel: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "FunctionModel",
+ modelProperties: {
+ ...SubResource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
type: {
- name: "String"
+ name: "Composite",
+ className: "FunctionProperties"
}
- },
- password: {
- serializedName: "password",
+ }
+ }
+ }
+};
+
+export const Input: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "Input",
+ modelProperties: {
+ ...SubResource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
type: {
- name: "String"
+ name: "Composite",
+ className: "InputProperties"
}
}
}
}
};
-export const DocumentDbOutputDataSource: msRest.CompositeMapper = {
- serializedName: "Microsoft.Storage/DocumentDB",
+export const Output: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: OutputDataSource.type.polymorphicDiscriminator,
- uberParent: "OutputDataSource",
- className: "DocumentDbOutputDataSource",
+ className: "Output",
modelProperties: {
- ...OutputDataSource.type.modelProperties,
- accountId: {
- serializedName: "properties.accountId",
+ ...SubResource.type.modelProperties,
+ datasource: {
+ serializedName: "properties.datasource",
type: {
- name: "String"
+ name: "Composite",
+ className: "OutputDataSource"
}
},
- accountKey: {
- serializedName: "properties.accountKey",
+ timeWindow: {
+ serializedName: "properties.timeWindow",
type: {
name: "String"
}
},
- database: {
- serializedName: "properties.database",
+ sizeWindow: {
+ serializedName: "properties.sizeWindow",
type: {
- name: "String"
+ name: "Number"
}
},
- collectionNamePattern: {
- serializedName: "properties.collectionNamePattern",
+ serialization: {
+ serializedName: "properties.serialization",
type: {
- name: "String"
+ name: "Composite",
+ className: "Serialization"
}
},
- partitionKey: {
- serializedName: "properties.partitionKey",
+ diagnostics: {
+ serializedName: "properties.diagnostics",
type: {
- name: "String"
+ name: "Composite",
+ className: "Diagnostics"
}
},
- documentId: {
- serializedName: "properties.documentId",
+ etag: {
+ serializedName: "properties.etag",
+ readOnly: true,
type: {
name: "String"
}
@@ -2056,41 +2033,51 @@ export const DocumentDbOutputDataSource: msRest.CompositeMapper = {
}
};
-export const AzureFunctionOutputDataSource: msRest.CompositeMapper = {
- serializedName: "Microsoft.AzureFunction",
+export const Transformation: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: OutputDataSource.type.polymorphicDiscriminator,
- uberParent: "OutputDataSource",
- className: "AzureFunctionOutputDataSource",
+ className: "Transformation",
modelProperties: {
- ...OutputDataSource.type.modelProperties,
- functionAppName: {
- serializedName: "properties.functionAppName",
+ ...SubResource.type.modelProperties,
+ streamingUnits: {
+ serializedName: "properties.streamingUnits",
type: {
- name: "String"
+ name: "Number"
}
},
- functionName: {
- serializedName: "properties.functionName",
+ query: {
+ serializedName: "properties.query",
type: {
name: "String"
}
},
- apiKey: {
- serializedName: "properties.apiKey",
+ etag: {
+ serializedName: "properties.etag",
+ readOnly: true,
type: {
name: "String"
}
- },
- maxBatchSize: {
- serializedName: "properties.maxBatchSize",
+ }
+ }
+ }
+};
+
+export const SubscriptionQuota: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "SubscriptionQuota",
+ modelProperties: {
+ ...SubResource.type.modelProperties,
+ maxCount: {
+ serializedName: "properties.maxCount",
+ readOnly: true,
type: {
name: "Number"
}
},
- maxBatchCount: {
- serializedName: "properties.maxBatchCount",
+ currentCount: {
+ serializedName: "properties.currentCount",
+ readOnly: true,
type: {
name: "Number"
}
@@ -2099,189 +2086,304 @@ export const AzureFunctionOutputDataSource: msRest.CompositeMapper = {
}
};
-export const ServiceBusQueueOutputDataSource: msRest.CompositeMapper = {
- serializedName: "Microsoft.ServiceBus/Queue",
+export const ScalarFunctionProperties: coreClient.CompositeMapper = {
+ serializedName: "Scalar",
type: {
name: "Composite",
- polymorphicDiscriminator: OutputDataSource.type.polymorphicDiscriminator,
- uberParent: "OutputDataSource",
- className: "ServiceBusQueueOutputDataSource",
+ className: "ScalarFunctionProperties",
+ uberParent: "FunctionProperties",
+ polymorphicDiscriminator: FunctionProperties.type.polymorphicDiscriminator,
modelProperties: {
- ...OutputDataSource.type.modelProperties,
- serviceBusNamespace: {
- serializedName: "properties.serviceBusNamespace",
- type: {
- name: "String"
- }
- },
- sharedAccessPolicyName: {
- serializedName: "properties.sharedAccessPolicyName",
- type: {
- name: "String"
- }
- },
- sharedAccessPolicyKey: {
- serializedName: "properties.sharedAccessPolicyKey",
+ ...FunctionProperties.type.modelProperties
+ }
+ }
+};
+
+export const AggregateFunctionProperties: coreClient.CompositeMapper = {
+ serializedName: "Aggregate",
+ type: {
+ name: "Composite",
+ className: "AggregateFunctionProperties",
+ uberParent: "FunctionProperties",
+ polymorphicDiscriminator: FunctionProperties.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...FunctionProperties.type.modelProperties
+ }
+ }
+};
+
+export const AzureMachineLearningStudioFunctionBinding: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.MachineLearning/WebService",
+ type: {
+ name: "Composite",
+ className: "AzureMachineLearningStudioFunctionBinding",
+ uberParent: "FunctionBinding",
+ polymorphicDiscriminator: FunctionBinding.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...FunctionBinding.type.modelProperties,
+ endpoint: {
+ serializedName: "properties.endpoint",
type: {
name: "String"
}
},
- authenticationMode: {
- serializedName: "properties.authenticationMode",
+ apiKey: {
+ serializedName: "properties.apiKey",
type: {
name: "String"
}
},
- queueName: {
- serializedName: "properties.queueName",
+ inputs: {
+ serializedName: "properties.inputs",
type: {
- name: "String"
+ name: "Composite",
+ className: "AzureMachineLearningStudioInputs"
}
},
- propertyColumns: {
- serializedName: "properties.propertyColumns",
+ outputs: {
+ serializedName: "properties.outputs",
type: {
name: "Sequence",
element: {
type: {
- name: "String"
+ name: "Composite",
+ className: "AzureMachineLearningStudioOutputColumn"
}
}
}
},
- systemPropertyColumns: {
- serializedName: "properties.systemPropertyColumns",
+ batchSize: {
+ serializedName: "properties.batchSize",
type: {
- name: "Dictionary",
- value: {
- type: {
- name: "String"
- }
- }
+ name: "Number"
}
}
}
}
};
-export const ServiceBusTopicOutputDataSource: msRest.CompositeMapper = {
- serializedName: "Microsoft.ServiceBus/Topic",
+export const JavaScriptFunctionBinding: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.StreamAnalytics/JavascriptUdf",
type: {
name: "Composite",
- polymorphicDiscriminator: OutputDataSource.type.polymorphicDiscriminator,
- uberParent: "OutputDataSource",
- className: "ServiceBusTopicOutputDataSource",
+ className: "JavaScriptFunctionBinding",
+ uberParent: "FunctionBinding",
+ polymorphicDiscriminator: FunctionBinding.type.polymorphicDiscriminator,
modelProperties: {
- ...OutputDataSource.type.modelProperties,
- serviceBusNamespace: {
- serializedName: "properties.serviceBusNamespace",
+ ...FunctionBinding.type.modelProperties,
+ script: {
+ serializedName: "properties.script",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const CSharpFunctionBinding: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.StreamAnalytics/CLRUdf",
+ type: {
+ name: "Composite",
+ className: "CSharpFunctionBinding",
+ uberParent: "FunctionBinding",
+ polymorphicDiscriminator: FunctionBinding.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...FunctionBinding.type.modelProperties,
+ script: {
+ serializedName: "properties.script",
type: {
name: "String"
}
},
- sharedAccessPolicyName: {
- serializedName: "properties.sharedAccessPolicyName",
+ dllPath: {
+ serializedName: "properties.dllPath",
type: {
name: "String"
}
},
- sharedAccessPolicyKey: {
- serializedName: "properties.sharedAccessPolicyKey",
+ class: {
+ serializedName: "properties.class",
type: {
name: "String"
}
},
- authenticationMode: {
- serializedName: "properties.authenticationMode",
+ method: {
+ serializedName: "properties.method",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const AzureMachineLearningServiceFunctionBinding: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.MachineLearningServices",
+ type: {
+ name: "Composite",
+ className: "AzureMachineLearningServiceFunctionBinding",
+ uberParent: "FunctionBinding",
+ polymorphicDiscriminator: FunctionBinding.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...FunctionBinding.type.modelProperties,
+ endpoint: {
+ serializedName: "properties.endpoint",
type: {
name: "String"
}
},
- topicName: {
- serializedName: "properties.topicName",
+ apiKey: {
+ serializedName: "properties.apiKey",
type: {
name: "String"
}
},
- propertyColumns: {
- serializedName: "properties.propertyColumns",
+ inputs: {
+ serializedName: "properties.inputs",
type: {
name: "Sequence",
element: {
type: {
- name: "String"
+ name: "Composite",
+ className: "AzureMachineLearningServiceInputColumn"
}
}
}
},
- systemPropertyColumns: {
- serializedName: "properties.systemPropertyColumns",
+ outputs: {
+ serializedName: "properties.outputs",
type: {
- name: "Dictionary",
- value: {
+ name: "Sequence",
+ element: {
type: {
- name: "String"
+ name: "Composite",
+ className: "AzureMachineLearningServiceOutputColumn"
}
}
}
+ },
+ batchSize: {
+ serializedName: "properties.batchSize",
+ type: {
+ name: "Number"
+ }
+ },
+ numberOfParallelRequests: {
+ serializedName: "properties.numberOfParallelRequests",
+ type: {
+ name: "Number"
+ }
}
}
}
};
-export const PowerBIOutputDataSource: msRest.CompositeMapper = {
- serializedName: "PowerBI",
+export const QueryTestingResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
- polymorphicDiscriminator: OutputDataSource.type.polymorphicDiscriminator,
- uberParent: "OutputDataSource",
- className: "PowerBIOutputDataSource",
+ className: "QueryTestingResult",
modelProperties: {
- ...OutputDataSource.type.modelProperties,
- refreshToken: {
- serializedName: "properties.refreshToken",
+ ...ErrorModel.type.modelProperties,
+ status: {
+ serializedName: "status",
+ readOnly: true,
type: {
name: "String"
}
},
- tokenUserPrincipalName: {
- serializedName: "properties.tokenUserPrincipalName",
+ outputUri: {
+ serializedName: "outputUri",
+ readOnly: true,
type: {
name: "String"
}
- },
- tokenUserDisplayName: {
- serializedName: "properties.tokenUserDisplayName",
+ }
+ }
+ }
+};
+
+export const SampleInputResult: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "SampleInputResult",
+ modelProperties: {
+ ...ErrorModel.type.modelProperties,
+ status: {
+ serializedName: "status",
+ readOnly: true,
type: {
name: "String"
}
},
- dataset: {
- serializedName: "properties.dataset",
+ diagnostics: {
+ serializedName: "diagnostics",
+ readOnly: true,
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
}
},
- table: {
- serializedName: "properties.table",
+ eventsDownloadUrl: {
+ serializedName: "eventsDownloadUrl",
+ readOnly: true,
type: {
name: "String"
}
},
- groupId: {
- serializedName: "properties.groupId",
+ lastArrivalTime: {
+ serializedName: "lastArrivalTime",
+ readOnly: true,
type: {
name: "String"
}
- },
- groupName: {
- serializedName: "properties.groupName",
+ }
+ }
+ }
+};
+
+export const TestDatasourceResult: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "TestDatasourceResult",
+ modelProperties: {
+ ...ErrorModel.type.modelProperties,
+ status: {
+ serializedName: "status",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const AzureMachineLearningStudioFunctionRetrieveDefaultDefinitionParameters: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.MachineLearning/WebService",
+ type: {
+ name: "Composite",
+ className:
+ "AzureMachineLearningStudioFunctionRetrieveDefaultDefinitionParameters",
+ uberParent: "FunctionRetrieveDefaultDefinitionParameters",
+ polymorphicDiscriminator:
+ FunctionRetrieveDefaultDefinitionParameters.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...FunctionRetrieveDefaultDefinitionParameters.type.modelProperties,
+ executeEndpoint: {
+ serializedName: "bindingRetrievalProperties.executeEndpoint",
type: {
name: "String"
}
},
- authenticationMode: {
- serializedName: "properties.authenticationMode",
+ udfType: {
+ defaultValue: "Scalar",
+ isConstant: true,
+ serializedName: "bindingRetrievalProperties.udfType",
type: {
name: "String"
}
@@ -2290,65 +2392,27 @@ export const PowerBIOutputDataSource: msRest.CompositeMapper = {
}
};
-export const AzureDataLakeStoreOutputDataSource: msRest.CompositeMapper = {
- serializedName: "Microsoft.DataLake/Accounts",
+export const AzureMachineLearningServiceFunctionRetrieveDefaultDefinitionParameters: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.MachineLearningServices",
type: {
name: "Composite",
- polymorphicDiscriminator: OutputDataSource.type.polymorphicDiscriminator,
- uberParent: "OutputDataSource",
- className: "AzureDataLakeStoreOutputDataSource",
+ className:
+ "AzureMachineLearningServiceFunctionRetrieveDefaultDefinitionParameters",
+ uberParent: "FunctionRetrieveDefaultDefinitionParameters",
+ polymorphicDiscriminator:
+ FunctionRetrieveDefaultDefinitionParameters.type.polymorphicDiscriminator,
modelProperties: {
- ...OutputDataSource.type.modelProperties,
- refreshToken: {
- serializedName: "properties.refreshToken",
+ ...FunctionRetrieveDefaultDefinitionParameters.type.modelProperties,
+ executeEndpoint: {
+ serializedName: "bindingRetrievalProperties.executeEndpoint",
type: {
name: "String"
}
},
- tokenUserPrincipalName: {
- serializedName: "properties.tokenUserPrincipalName",
- type: {
- name: "String"
- }
- },
- tokenUserDisplayName: {
- serializedName: "properties.tokenUserDisplayName",
- type: {
- name: "String"
- }
- },
- accountName: {
- serializedName: "properties.accountName",
- type: {
- name: "String"
- }
- },
- tenantId: {
- serializedName: "properties.tenantId",
- type: {
- name: "String"
- }
- },
- filePathPrefix: {
- serializedName: "properties.filePathPrefix",
- type: {
- name: "String"
- }
- },
- dateFormat: {
- serializedName: "properties.dateFormat",
- type: {
- name: "String"
- }
- },
- timeFormat: {
- serializedName: "properties.timeFormat",
- type: {
- name: "String"
- }
- },
- authenticationMode: {
- serializedName: "properties.authenticationMode",
+ udfType: {
+ defaultValue: "Scalar",
+ isConstant: true,
+ serializedName: "bindingRetrievalProperties.udfType",
type: {
name: "String"
}
@@ -2357,56 +2421,26 @@ export const AzureDataLakeStoreOutputDataSource: msRest.CompositeMapper = {
}
};
-export const AzureSqlDatabaseDataSourceProperties: msRest.CompositeMapper = {
- serializedName: "AzureSqlDatabaseDataSourceProperties",
+export const JavaScriptFunctionRetrieveDefaultDefinitionParameters: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.StreamAnalytics/JavascriptUdf",
type: {
name: "Composite",
- className: "AzureSqlDatabaseDataSourceProperties",
+ className: "JavaScriptFunctionRetrieveDefaultDefinitionParameters",
+ uberParent: "FunctionRetrieveDefaultDefinitionParameters",
+ polymorphicDiscriminator:
+ FunctionRetrieveDefaultDefinitionParameters.type.polymorphicDiscriminator,
modelProperties: {
- server: {
- serializedName: "server",
- type: {
- name: "String"
- }
- },
- database: {
- serializedName: "database",
- type: {
- name: "String"
- }
- },
- user: {
- serializedName: "user",
- type: {
- name: "String"
- }
- },
- password: {
- serializedName: "password",
- type: {
- name: "String"
- }
- },
- table: {
- serializedName: "table",
+ ...FunctionRetrieveDefaultDefinitionParameters.type.modelProperties,
+ script: {
+ serializedName: "bindingRetrievalProperties.script",
type: {
name: "String"
}
},
- maxBatchCount: {
- serializedName: "maxBatchCount",
- type: {
- name: "Number"
- }
- },
- maxWriterCount: {
- serializedName: "maxWriterCount",
- type: {
- name: "Number"
- }
- },
- authenticationMode: {
- serializedName: "authenticationMode",
+ udfType: {
+ defaultValue: "Scalar",
+ isConstant: true,
+ serializedName: "bindingRetrievalProperties.udfType",
type: {
name: "String"
}
@@ -2415,26 +2449,26 @@ export const AzureSqlDatabaseDataSourceProperties: msRest.CompositeMapper = {
}
};
-export const OAuthBasedDataSourceProperties: msRest.CompositeMapper = {
- serializedName: "OAuthBasedDataSourceProperties",
+export const CSharpFunctionRetrieveDefaultDefinitionParameters: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.StreamAnalytics/CLRUdf",
type: {
name: "Composite",
- className: "OAuthBasedDataSourceProperties",
+ className: "CSharpFunctionRetrieveDefaultDefinitionParameters",
+ uberParent: "FunctionRetrieveDefaultDefinitionParameters",
+ polymorphicDiscriminator:
+ FunctionRetrieveDefaultDefinitionParameters.type.polymorphicDiscriminator,
modelProperties: {
- refreshToken: {
- serializedName: "refreshToken",
- type: {
- name: "String"
- }
- },
- tokenUserPrincipalName: {
- serializedName: "tokenUserPrincipalName",
+ ...FunctionRetrieveDefaultDefinitionParameters.type.modelProperties,
+ script: {
+ serializedName: "bindingRetrievalProperties.script",
type: {
name: "String"
}
},
- tokenUserDisplayName: {
- serializedName: "tokenUserDisplayName",
+ udfType: {
+ defaultValue: "Scalar",
+ isConstant: true,
+ serializedName: "bindingRetrievalProperties.udfType",
type: {
name: "String"
}
@@ -2443,106 +2477,108 @@ export const OAuthBasedDataSourceProperties: msRest.CompositeMapper = {
}
};
-export const External: msRest.CompositeMapper = {
- serializedName: "External",
+export const StreamInputProperties: coreClient.CompositeMapper = {
+ serializedName: "Stream",
type: {
name: "Composite",
- className: "External",
+ className: "StreamInputProperties",
+ uberParent: "InputProperties",
+ polymorphicDiscriminator: InputProperties.type.polymorphicDiscriminator,
modelProperties: {
- storageAccount: {
- serializedName: "storageAccount",
+ ...InputProperties.type.modelProperties,
+ datasource: {
+ serializedName: "datasource",
type: {
name: "Composite",
- className: "StorageAccount"
- }
- },
- container: {
- serializedName: "container",
- type: {
- name: "String"
- }
- },
- path: {
- serializedName: "path",
- type: {
- name: "String"
+ className: "StreamInputDataSource"
}
}
}
}
};
-export const OperationDisplay: msRest.CompositeMapper = {
- serializedName: "Operation_display",
+export const ReferenceInputProperties: coreClient.CompositeMapper = {
+ serializedName: "Reference",
type: {
name: "Composite",
- className: "OperationDisplay",
+ className: "ReferenceInputProperties",
+ uberParent: "InputProperties",
+ polymorphicDiscriminator: InputProperties.type.polymorphicDiscriminator,
modelProperties: {
- provider: {
- readOnly: true,
- serializedName: "provider",
- type: {
- name: "String"
- }
- },
- resource: {
- readOnly: true,
- serializedName: "resource",
- type: {
- name: "String"
- }
- },
- operation: {
- readOnly: true,
- serializedName: "operation",
+ ...InputProperties.type.modelProperties,
+ datasource: {
+ serializedName: "datasource",
type: {
- name: "String"
+ name: "Composite",
+ className: "ReferenceInputDataSource"
}
- },
- description: {
- readOnly: true,
- serializedName: "description",
+ }
+ }
+ }
+};
+
+export const ParquetSerialization: coreClient.CompositeMapper = {
+ serializedName: "Parquet",
+ type: {
+ name: "Composite",
+ className: "ParquetSerialization",
+ uberParent: "Serialization",
+ polymorphicDiscriminator: Serialization.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...Serialization.type.modelProperties,
+ properties: {
+ serializedName: "properties",
type: {
- name: "String"
+ name: "Dictionary",
+ value: { type: { name: "any" } }
}
}
}
}
};
-export const Operation: msRest.CompositeMapper = {
- serializedName: "Operation",
+export const CustomClrSerialization: coreClient.CompositeMapper = {
+ serializedName: "CustomClr",
type: {
name: "Composite",
- className: "Operation",
+ className: "CustomClrSerialization",
+ uberParent: "Serialization",
+ polymorphicDiscriminator: Serialization.type.polymorphicDiscriminator,
modelProperties: {
- name: {
- readOnly: true,
- serializedName: "name",
+ ...Serialization.type.modelProperties,
+ serializationDllPath: {
+ serializedName: "properties.serializationDllPath",
type: {
name: "String"
}
},
- display: {
- readOnly: true,
- serializedName: "display",
+ serializationClassName: {
+ serializedName: "properties.serializationClassName",
type: {
- name: "Composite",
- className: "OperationDisplay"
+ name: "String"
}
}
}
}
};
-export const StreamingJobSku: msRest.CompositeMapper = {
- serializedName: "StreamingJobSku",
+export const CsvSerialization: coreClient.CompositeMapper = {
+ serializedName: "Csv",
type: {
name: "Composite",
- className: "StreamingJobSku",
+ className: "CsvSerialization",
+ uberParent: "Serialization",
+ polymorphicDiscriminator: Serialization.type.polymorphicDiscriminator,
modelProperties: {
- name: {
- serializedName: "name",
+ ...Serialization.type.modelProperties,
+ fieldDelimiter: {
+ serializedName: "properties.fieldDelimiter",
+ type: {
+ name: "String"
+ }
+ },
+ encoding: {
+ serializedName: "properties.encoding",
type: {
name: "String"
}
@@ -2551,28 +2587,23 @@ export const StreamingJobSku: msRest.CompositeMapper = {
}
};
-export const Transformation: msRest.CompositeMapper = {
- serializedName: "Transformation",
+export const JsonSerialization: coreClient.CompositeMapper = {
+ serializedName: "Json",
type: {
name: "Composite",
- className: "Transformation",
+ className: "JsonSerialization",
+ uberParent: "Serialization",
+ polymorphicDiscriminator: Serialization.type.polymorphicDiscriminator,
modelProperties: {
- ...SubResource.type.modelProperties,
- streamingUnits: {
- serializedName: "properties.streamingUnits",
- type: {
- name: "Number"
- }
- },
- query: {
- serializedName: "properties.query",
+ ...Serialization.type.modelProperties,
+ encoding: {
+ serializedName: "properties.encoding",
type: {
name: "String"
}
},
- etag: {
- readOnly: true,
- serializedName: "properties.etag",
+ format: {
+ serializedName: "properties.format",
type: {
name: "String"
}
@@ -2581,31 +2612,37 @@ export const Transformation: msRest.CompositeMapper = {
}
};
-export const JobStorageAccount: msRest.CompositeMapper = {
- serializedName: "JobStorageAccount",
+export const AvroSerialization: coreClient.CompositeMapper = {
+ serializedName: "Avro",
type: {
name: "Composite",
- className: "JobStorageAccount",
+ className: "AvroSerialization",
+ uberParent: "Serialization",
+ polymorphicDiscriminator: Serialization.type.polymorphicDiscriminator,
modelProperties: {
- ...StorageAccount.type.modelProperties,
- authenticationMode: {
- serializedName: "authenticationMode",
+ ...Serialization.type.modelProperties,
+ properties: {
+ serializedName: "properties",
type: {
- name: "String"
+ name: "Dictionary",
+ value: { type: { name: "any" } }
}
}
}
}
};
-export const ClusterInfo: msRest.CompositeMapper = {
- serializedName: "ClusterInfo",
+export const RawOutputDatasource: coreClient.CompositeMapper = {
+ serializedName: "Raw",
type: {
name: "Composite",
- className: "ClusterInfo",
+ className: "RawOutputDatasource",
+ uberParent: "OutputDataSource",
+ polymorphicDiscriminator: OutputDataSource.type.polymorphicDiscriminator,
modelProperties: {
- id: {
- serializedName: "id",
+ ...OutputDataSource.type.modelProperties,
+ payloadUri: {
+ serializedName: "properties.payloadUri",
type: {
name: "String"
}
@@ -2614,57 +2651,53 @@ export const ClusterInfo: msRest.CompositeMapper = {
}
};
-export const Resource: msRest.CompositeMapper = {
- serializedName: "Resource",
+export const BlobOutputDataSource: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.Storage/Blob",
type: {
name: "Composite",
- className: "Resource",
+ className: "BlobOutputDataSource",
+ uberParent: "OutputDataSource",
+ polymorphicDiscriminator: OutputDataSource.type.polymorphicDiscriminator,
modelProperties: {
- id: {
- readOnly: true,
- serializedName: "id",
+ ...OutputDataSource.type.modelProperties,
+ storageAccounts: {
+ serializedName: "properties.storageAccounts",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "StorageAccount"
+ }
+ }
+ }
+ },
+ container: {
+ serializedName: "properties.container",
type: {
name: "String"
}
},
- name: {
- readOnly: true,
- serializedName: "name",
+ pathPattern: {
+ serializedName: "properties.pathPattern",
type: {
name: "String"
}
},
- type: {
- readOnly: true,
- serializedName: "type",
+ dateFormat: {
+ serializedName: "properties.dateFormat",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const TrackedResource: msRest.CompositeMapper = {
- serializedName: "TrackedResource",
- type: {
- name: "Composite",
- className: "TrackedResource",
- modelProperties: {
- ...Resource.type.modelProperties,
- tags: {
- serializedName: "tags",
+ },
+ timeFormat: {
+ serializedName: "properties.timeFormat",
type: {
- name: "Dictionary",
- value: {
- type: {
- name: "String"
- }
- }
+ name: "String"
}
},
- location: {
- serializedName: "location",
+ authenticationMode: {
+ serializedName: "properties.authenticationMode",
type: {
name: "String"
}
@@ -2673,402 +2706,331 @@ export const TrackedResource: msRest.CompositeMapper = {
}
};
-export const StreamingJob: msRest.CompositeMapper = {
- serializedName: "StreamingJob",
+export const AzureTableOutputDataSource: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.Storage/Table",
type: {
name: "Composite",
- className: "StreamingJob",
+ className: "AzureTableOutputDataSource",
+ uberParent: "OutputDataSource",
+ polymorphicDiscriminator: OutputDataSource.type.polymorphicDiscriminator,
modelProperties: {
- ...TrackedResource.type.modelProperties,
- sku: {
- serializedName: "properties.sku",
- type: {
- name: "Composite",
- className: "StreamingJobSku"
- }
- },
- jobId: {
- readOnly: true,
- serializedName: "properties.jobId",
+ ...OutputDataSource.type.modelProperties,
+ accountName: {
+ serializedName: "properties.accountName",
type: {
name: "String"
}
},
- provisioningState: {
- readOnly: true,
- serializedName: "properties.provisioningState",
+ accountKey: {
+ serializedName: "properties.accountKey",
type: {
name: "String"
}
},
- jobState: {
- readOnly: true,
- serializedName: "properties.jobState",
+ table: {
+ serializedName: "properties.table",
type: {
name: "String"
}
},
- jobType: {
- serializedName: "properties.jobType",
+ partitionKey: {
+ serializedName: "properties.partitionKey",
type: {
name: "String"
}
},
- outputStartMode: {
- serializedName: "properties.outputStartMode",
+ rowKey: {
+ serializedName: "properties.rowKey",
type: {
name: "String"
}
},
- outputStartTime: {
- serializedName: "properties.outputStartTime",
+ columnsToRemove: {
+ serializedName: "properties.columnsToRemove",
type: {
- name: "DateTime"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
}
},
- lastOutputEventTime: {
- readOnly: true,
- serializedName: "properties.lastOutputEventTime",
+ batchSize: {
+ serializedName: "properties.batchSize",
type: {
- name: "DateTime"
+ name: "Number"
}
- },
- eventsOutOfOrderPolicy: {
- serializedName: "properties.eventsOutOfOrderPolicy",
+ }
+ }
+ }
+};
+
+export const EventHubOutputDataSource: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.ServiceBus/EventHub",
+ type: {
+ name: "Composite",
+ className: "EventHubOutputDataSource",
+ uberParent: "OutputDataSource",
+ polymorphicDiscriminator: OutputDataSource.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...OutputDataSource.type.modelProperties,
+ serviceBusNamespace: {
+ serializedName: "properties.serviceBusNamespace",
type: {
name: "String"
}
},
- outputErrorPolicy: {
- serializedName: "properties.outputErrorPolicy",
+ sharedAccessPolicyName: {
+ serializedName: "properties.sharedAccessPolicyName",
type: {
name: "String"
}
},
- eventsOutOfOrderMaxDelayInSeconds: {
- serializedName: "properties.eventsOutOfOrderMaxDelayInSeconds",
- type: {
- name: "Number"
- }
- },
- eventsLateArrivalMaxDelayInSeconds: {
- serializedName: "properties.eventsLateArrivalMaxDelayInSeconds",
+ sharedAccessPolicyKey: {
+ serializedName: "properties.sharedAccessPolicyKey",
type: {
- name: "Number"
+ name: "String"
}
},
- dataLocale: {
- serializedName: "properties.dataLocale",
+ authenticationMode: {
+ serializedName: "properties.authenticationMode",
type: {
name: "String"
}
},
- compatibilityLevel: {
- serializedName: "properties.compatibilityLevel",
+ eventHubName: {
+ serializedName: "properties.eventHubName",
type: {
name: "String"
}
},
- createdDate: {
- readOnly: true,
- serializedName: "properties.createdDate",
+ partitionKey: {
+ serializedName: "properties.partitionKey",
type: {
- name: "DateTime"
+ name: "String"
}
},
- inputs: {
- serializedName: "properties.inputs",
+ propertyColumns: {
+ serializedName: "properties.propertyColumns",
type: {
name: "Sequence",
element: {
type: {
- name: "Composite",
- className: "Input"
+ name: "String"
}
}
}
- },
- transformation: {
- serializedName: "properties.transformation",
- type: {
- name: "Composite",
- className: "Transformation"
- }
- },
- outputs: {
- serializedName: "properties.outputs",
+ }
+ }
+ }
+};
+
+export const EventHubV2OutputDataSource: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.EventHub/EventHub",
+ type: {
+ name: "Composite",
+ className: "EventHubV2OutputDataSource",
+ uberParent: "OutputDataSource",
+ polymorphicDiscriminator: OutputDataSource.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...OutputDataSource.type.modelProperties,
+ serviceBusNamespace: {
+ serializedName: "properties.serviceBusNamespace",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "Output"
- }
- }
+ name: "String"
}
},
- functions: {
- serializedName: "properties.functions",
+ sharedAccessPolicyName: {
+ serializedName: "properties.sharedAccessPolicyName",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "FunctionModel"
- }
- }
+ name: "String"
}
},
- etag: {
- readOnly: true,
- serializedName: "properties.etag",
+ sharedAccessPolicyKey: {
+ serializedName: "properties.sharedAccessPolicyKey",
type: {
name: "String"
}
},
- jobStorageAccount: {
- serializedName: "properties.jobStorageAccount",
+ authenticationMode: {
+ serializedName: "properties.authenticationMode",
type: {
- name: "Composite",
- className: "JobStorageAccount"
+ name: "String"
}
},
- contentStoragePolicy: {
- serializedName: "properties.contentStoragePolicy",
+ eventHubName: {
+ serializedName: "properties.eventHubName",
type: {
name: "String"
}
},
- externals: {
- serializedName: "properties.externals",
+ partitionKey: {
+ serializedName: "properties.partitionKey",
type: {
- name: "Composite",
- className: "External"
+ name: "String"
}
},
- cluster: {
- serializedName: "properties.cluster",
+ propertyColumns: {
+ serializedName: "properties.propertyColumns",
type: {
- name: "Composite",
- className: "ClusterInfo"
- }
- },
- identity: {
- serializedName: "identity",
- type: {
- name: "Composite",
- className: "Identity"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
}
}
}
}
};
-export const StartStreamingJobParameters: msRest.CompositeMapper = {
- serializedName: "StartStreamingJobParameters",
+export const AzureSqlDatabaseOutputDataSource: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.Sql/Server/Database",
type: {
name: "Composite",
- className: "StartStreamingJobParameters",
+ className: "AzureSqlDatabaseOutputDataSource",
+ uberParent: "OutputDataSource",
+ polymorphicDiscriminator: OutputDataSource.type.polymorphicDiscriminator,
modelProperties: {
- outputStartMode: {
- serializedName: "outputStartMode",
+ ...OutputDataSource.type.modelProperties,
+ server: {
+ serializedName: "properties.server",
type: {
name: "String"
}
},
- outputStartTime: {
- serializedName: "outputStartTime",
+ database: {
+ serializedName: "properties.database",
type: {
- name: "DateTime"
+ name: "String"
}
- }
- }
- }
-};
-
-export const ProxyResource: msRest.CompositeMapper = {
- serializedName: "ProxyResource",
- type: {
- name: "Composite",
- className: "ProxyResource",
- modelProperties: {
- ...Resource.type.modelProperties
- }
- }
-};
-
-export const SubscriptionQuota: msRest.CompositeMapper = {
- serializedName: "SubscriptionQuota",
- type: {
- name: "Composite",
- className: "SubscriptionQuota",
- modelProperties: {
- ...SubResource.type.modelProperties,
- maxCount: {
- readOnly: true,
- serializedName: "properties.maxCount",
+ },
+ user: {
+ serializedName: "properties.user",
type: {
- name: "Number"
+ name: "String"
}
},
- currentCount: {
- readOnly: true,
- serializedName: "properties.currentCount",
+ password: {
+ serializedName: "properties.password",
type: {
- name: "Number"
+ name: "String"
}
- }
- }
- }
-};
-
-export const SubscriptionQuotasListResult: msRest.CompositeMapper = {
- serializedName: "SubscriptionQuotasListResult",
- type: {
- name: "Composite",
- className: "SubscriptionQuotasListResult",
- modelProperties: {
- value: {
- readOnly: true,
- serializedName: "value",
+ },
+ table: {
+ serializedName: "properties.table",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "SubscriptionQuota"
- }
- }
+ name: "String"
}
- }
- }
- }
-};
-
-export const ClusterSku: msRest.CompositeMapper = {
- serializedName: "ClusterSku",
- type: {
- name: "Composite",
- className: "ClusterSku",
- modelProperties: {
- name: {
- serializedName: "name",
+ },
+ maxBatchCount: {
+ serializedName: "properties.maxBatchCount",
type: {
- name: "String"
+ name: "Number"
}
},
- capacity: {
- serializedName: "capacity",
- constraints: {
- InclusiveMaximum: 216,
- InclusiveMinimum: 36
- },
+ maxWriterCount: {
+ serializedName: "properties.maxWriterCount",
type: {
name: "Number"
}
+ },
+ authenticationMode: {
+ serializedName: "properties.authenticationMode",
+ type: {
+ name: "String"
+ }
}
}
}
};
-export const ClusterProperties: msRest.CompositeMapper = {
- serializedName: "ClusterProperties",
+export const AzureSynapseOutputDataSource: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.Sql/Server/DataWarehouse",
type: {
name: "Composite",
- className: "ClusterProperties",
+ className: "AzureSynapseOutputDataSource",
+ uberParent: "OutputDataSource",
+ polymorphicDiscriminator: OutputDataSource.type.polymorphicDiscriminator,
modelProperties: {
- createdDate: {
- readOnly: true,
- serializedName: "createdDate",
+ ...OutputDataSource.type.modelProperties,
+ server: {
+ serializedName: "properties.server",
type: {
- name: "DateTime"
+ name: "String"
}
},
- clusterId: {
- readOnly: true,
- serializedName: "clusterId",
+ database: {
+ serializedName: "properties.database",
type: {
name: "String"
}
},
- provisioningState: {
- serializedName: "provisioningState",
+ table: {
+ serializedName: "properties.table",
type: {
name: "String"
}
},
- capacityAllocated: {
- readOnly: true,
- serializedName: "capacityAllocated",
+ user: {
+ serializedName: "properties.user",
type: {
- name: "Number"
+ name: "String"
}
},
- capacityAssigned: {
- readOnly: true,
- serializedName: "capacityAssigned",
+ password: {
+ serializedName: "properties.password",
type: {
- name: "Number"
+ name: "String"
}
}
}
}
};
-export const Cluster: msRest.CompositeMapper = {
- serializedName: "Cluster",
+export const DocumentDbOutputDataSource: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.Storage/DocumentDB",
type: {
name: "Composite",
- className: "Cluster",
+ className: "DocumentDbOutputDataSource",
+ uberParent: "OutputDataSource",
+ polymorphicDiscriminator: OutputDataSource.type.polymorphicDiscriminator,
modelProperties: {
- ...TrackedResource.type.modelProperties,
- sku: {
- serializedName: "sku",
+ ...OutputDataSource.type.modelProperties,
+ accountId: {
+ serializedName: "properties.accountId",
type: {
- name: "Composite",
- className: "ClusterSku"
+ name: "String"
}
},
- etag: {
- readOnly: true,
- serializedName: "etag",
+ accountKey: {
+ serializedName: "properties.accountKey",
type: {
name: "String"
}
},
- properties: {
- serializedName: "properties",
+ database: {
+ serializedName: "properties.database",
type: {
- name: "Composite",
- className: "ClusterProperties"
+ name: "String"
}
- }
- }
- }
-};
-
-export const ClusterJob: msRest.CompositeMapper = {
- serializedName: "ClusterJob",
- type: {
- name: "Composite",
- className: "ClusterJob",
- modelProperties: {
- id: {
- readOnly: true,
- serializedName: "id",
+ },
+ collectionNamePattern: {
+ serializedName: "properties.collectionNamePattern",
type: {
name: "String"
}
},
- streamingUnits: {
- readOnly: true,
- serializedName: "streamingUnits",
+ partitionKey: {
+ serializedName: "properties.partitionKey",
type: {
- name: "Number"
+ name: "String"
}
},
- jobState: {
- serializedName: "jobState",
+ documentId: {
+ serializedName: "properties.documentId",
type: {
name: "String"
}
@@ -3077,114 +3039,224 @@ export const ClusterJob: msRest.CompositeMapper = {
}
};
-export const ErrorDetails: msRest.CompositeMapper = {
- serializedName: "ErrorDetails",
+export const AzureFunctionOutputDataSource: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.AzureFunction",
type: {
name: "Composite",
- className: "ErrorDetails",
+ className: "AzureFunctionOutputDataSource",
+ uberParent: "OutputDataSource",
+ polymorphicDiscriminator: OutputDataSource.type.polymorphicDiscriminator,
modelProperties: {
- code: {
- serializedName: "code",
+ ...OutputDataSource.type.modelProperties,
+ functionAppName: {
+ serializedName: "properties.functionAppName",
type: {
name: "String"
}
},
- target: {
- serializedName: "target",
+ functionName: {
+ serializedName: "properties.functionName",
type: {
name: "String"
}
},
- message: {
- serializedName: "message",
+ apiKey: {
+ serializedName: "properties.apiKey",
type: {
name: "String"
}
+ },
+ maxBatchSize: {
+ serializedName: "properties.maxBatchSize",
+ type: {
+ name: "Number"
+ }
+ },
+ maxBatchCount: {
+ serializedName: "properties.maxBatchCount",
+ type: {
+ name: "Number"
+ }
}
}
}
};
-export const ErrorError: msRest.CompositeMapper = {
- serializedName: "Error_error",
+export const ServiceBusQueueOutputDataSource: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.ServiceBus/Queue",
type: {
name: "Composite",
- className: "ErrorError",
+ className: "ServiceBusQueueOutputDataSource",
+ uberParent: "OutputDataSource",
+ polymorphicDiscriminator: OutputDataSource.type.polymorphicDiscriminator,
modelProperties: {
- code: {
- serializedName: "code",
+ ...OutputDataSource.type.modelProperties,
+ serviceBusNamespace: {
+ serializedName: "properties.serviceBusNamespace",
type: {
name: "String"
}
},
- message: {
- serializedName: "message",
+ sharedAccessPolicyName: {
+ serializedName: "properties.sharedAccessPolicyName",
type: {
name: "String"
}
},
- target: {
- serializedName: "target",
+ sharedAccessPolicyKey: {
+ serializedName: "properties.sharedAccessPolicyKey",
type: {
name: "String"
}
},
- details: {
- serializedName: "details",
+ authenticationMode: {
+ serializedName: "properties.authenticationMode",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "ErrorDetails"
- }
- }
+ name: "String"
}
- }
- }
- }
+ },
+ queueName: {
+ serializedName: "properties.queueName",
+ type: {
+ name: "String"
+ }
+ },
+ propertyColumns: {
+ serializedName: "properties.propertyColumns",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ systemPropertyColumns: {
+ serializedName: "properties.systemPropertyColumns",
+ type: {
+ name: "Dictionary",
+ value: { type: { name: "String" } }
+ }
+ }
+ }
+ }
};
-export const ErrorModel: msRest.CompositeMapper = {
- serializedName: "Error",
+export const ServiceBusTopicOutputDataSource: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.ServiceBus/Topic",
type: {
name: "Composite",
- className: "ErrorModel",
+ className: "ServiceBusTopicOutputDataSource",
+ uberParent: "OutputDataSource",
+ polymorphicDiscriminator: OutputDataSource.type.polymorphicDiscriminator,
modelProperties: {
- error: {
- serializedName: "error",
+ ...OutputDataSource.type.modelProperties,
+ serviceBusNamespace: {
+ serializedName: "properties.serviceBusNamespace",
type: {
- name: "Composite",
- className: "ErrorError"
+ name: "String"
+ }
+ },
+ sharedAccessPolicyName: {
+ serializedName: "properties.sharedAccessPolicyName",
+ type: {
+ name: "String"
+ }
+ },
+ sharedAccessPolicyKey: {
+ serializedName: "properties.sharedAccessPolicyKey",
+ type: {
+ name: "String"
+ }
+ },
+ authenticationMode: {
+ serializedName: "properties.authenticationMode",
+ type: {
+ name: "String"
+ }
+ },
+ topicName: {
+ serializedName: "properties.topicName",
+ type: {
+ name: "String"
+ }
+ },
+ propertyColumns: {
+ serializedName: "properties.propertyColumns",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ systemPropertyColumns: {
+ serializedName: "properties.systemPropertyColumns",
+ type: {
+ name: "Dictionary",
+ value: { type: { name: "String" } }
}
}
}
}
};
-export const PrivateLinkConnectionState: msRest.CompositeMapper = {
- serializedName: "PrivateLinkConnectionState",
+export const PowerBIOutputDataSource: coreClient.CompositeMapper = {
+ serializedName: "PowerBI",
type: {
name: "Composite",
- className: "PrivateLinkConnectionState",
+ className: "PowerBIOutputDataSource",
+ uberParent: "OutputDataSource",
+ polymorphicDiscriminator: OutputDataSource.type.polymorphicDiscriminator,
modelProperties: {
- status: {
- readOnly: true,
- serializedName: "status",
+ ...OutputDataSource.type.modelProperties,
+ refreshToken: {
+ serializedName: "properties.refreshToken",
type: {
name: "String"
}
},
- description: {
- readOnly: true,
- serializedName: "description",
+ tokenUserPrincipalName: {
+ serializedName: "properties.tokenUserPrincipalName",
type: {
name: "String"
}
},
- actionsRequired: {
- readOnly: true,
- serializedName: "actionsRequired",
+ tokenUserDisplayName: {
+ serializedName: "properties.tokenUserDisplayName",
+ type: {
+ name: "String"
+ }
+ },
+ dataset: {
+ serializedName: "properties.dataset",
+ type: {
+ name: "String"
+ }
+ },
+ table: {
+ serializedName: "properties.table",
+ type: {
+ name: "String"
+ }
+ },
+ groupId: {
+ serializedName: "properties.groupId",
+ type: {
+ name: "String"
+ }
+ },
+ groupName: {
+ serializedName: "properties.groupName",
+ type: {
+ name: "String"
+ }
+ },
+ authenticationMode: {
+ serializedName: "properties.authenticationMode",
type: {
name: "String"
}
@@ -3193,77 +3265,899 @@ export const PrivateLinkConnectionState: msRest.CompositeMapper = {
}
};
-export const PrivateLinkServiceConnection: msRest.CompositeMapper = {
- serializedName: "PrivateLinkServiceConnection",
+export const AzureDataLakeStoreOutputDataSource: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.DataLake/Accounts",
type: {
name: "Composite",
- className: "PrivateLinkServiceConnection",
+ className: "AzureDataLakeStoreOutputDataSource",
+ uberParent: "OutputDataSource",
+ polymorphicDiscriminator: OutputDataSource.type.polymorphicDiscriminator,
modelProperties: {
- privateLinkServiceId: {
- serializedName: "properties.privateLinkServiceId",
+ ...OutputDataSource.type.modelProperties,
+ refreshToken: {
+ serializedName: "properties.refreshToken",
type: {
name: "String"
}
},
- groupIds: {
- serializedName: "properties.groupIds",
+ tokenUserPrincipalName: {
+ serializedName: "properties.tokenUserPrincipalName",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
+ name: "String"
}
},
- requestMessage: {
- serializedName: "properties.requestMessage",
+ tokenUserDisplayName: {
+ serializedName: "properties.tokenUserDisplayName",
type: {
name: "String"
}
},
- privateLinkServiceConnectionState: {
- serializedName: "properties.privateLinkServiceConnectionState",
+ accountName: {
+ serializedName: "properties.accountName",
type: {
- name: "Composite",
- className: "PrivateLinkConnectionState"
+ name: "String"
+ }
+ },
+ tenantId: {
+ serializedName: "properties.tenantId",
+ type: {
+ name: "String"
+ }
+ },
+ filePathPrefix: {
+ serializedName: "properties.filePathPrefix",
+ type: {
+ name: "String"
+ }
+ },
+ dateFormat: {
+ serializedName: "properties.dateFormat",
+ type: {
+ name: "String"
+ }
+ },
+ timeFormat: {
+ serializedName: "properties.timeFormat",
+ type: {
+ name: "String"
+ }
+ },
+ authenticationMode: {
+ serializedName: "properties.authenticationMode",
+ type: {
+ name: "String"
}
}
}
}
};
-export const PrivateEndpointProperties: msRest.CompositeMapper = {
- serializedName: "PrivateEndpointProperties",
+export const TrackedResource: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "PrivateEndpointProperties",
+ className: "TrackedResource",
modelProperties: {
- createdDate: {
- readOnly: true,
- serializedName: "createdDate",
+ ...Resource.type.modelProperties,
+ tags: {
+ serializedName: "tags",
type: {
- name: "String"
+ name: "Dictionary",
+ value: { type: { name: "String" } }
}
},
- manualPrivateLinkServiceConnections: {
- serializedName: "manualPrivateLinkServiceConnections",
+ location: {
+ serializedName: "location",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const ProxyResource: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "ProxyResource",
+ modelProperties: {
+ ...Resource.type.modelProperties
+ }
+ }
+};
+
+export const JobStorageAccount: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "JobStorageAccount",
+ modelProperties: {
+ ...StorageAccount.type.modelProperties,
+ authenticationMode: {
+ serializedName: "authenticationMode",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const BlobStreamInputDataSource: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.Storage/Blob",
+ type: {
+ name: "Composite",
+ className: "BlobStreamInputDataSource",
+ uberParent: "StreamInputDataSource",
+ polymorphicDiscriminator:
+ StreamInputDataSource.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...StreamInputDataSource.type.modelProperties,
+ storageAccounts: {
+ serializedName: "properties.storageAccounts",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "PrivateLinkServiceConnection"
+ className: "StorageAccount"
}
}
}
+ },
+ container: {
+ serializedName: "properties.container",
+ type: {
+ name: "String"
+ }
+ },
+ pathPattern: {
+ serializedName: "properties.pathPattern",
+ type: {
+ name: "String"
+ }
+ },
+ dateFormat: {
+ serializedName: "properties.dateFormat",
+ type: {
+ name: "String"
+ }
+ },
+ timeFormat: {
+ serializedName: "properties.timeFormat",
+ type: {
+ name: "String"
+ }
+ },
+ sourcePartitionCount: {
+ serializedName: "properties.sourcePartitionCount",
+ type: {
+ name: "Number"
+ }
+ }
+ }
+ }
+};
+
+export const EventHubStreamInputDataSource: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.ServiceBus/EventHub",
+ type: {
+ name: "Composite",
+ className: "EventHubStreamInputDataSource",
+ uberParent: "StreamInputDataSource",
+ polymorphicDiscriminator:
+ StreamInputDataSource.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...StreamInputDataSource.type.modelProperties,
+ serviceBusNamespace: {
+ serializedName: "properties.serviceBusNamespace",
+ type: {
+ name: "String"
+ }
+ },
+ sharedAccessPolicyName: {
+ serializedName: "properties.sharedAccessPolicyName",
+ type: {
+ name: "String"
+ }
+ },
+ sharedAccessPolicyKey: {
+ serializedName: "properties.sharedAccessPolicyKey",
+ type: {
+ name: "String"
+ }
+ },
+ authenticationMode: {
+ serializedName: "properties.authenticationMode",
+ type: {
+ name: "String"
+ }
+ },
+ eventHubName: {
+ serializedName: "properties.eventHubName",
+ type: {
+ name: "String"
+ }
+ },
+ consumerGroupName: {
+ serializedName: "properties.consumerGroupName",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const EventHubV2StreamInputDataSource: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.EventHub/EventHub",
+ type: {
+ name: "Composite",
+ className: "EventHubV2StreamInputDataSource",
+ uberParent: "StreamInputDataSource",
+ polymorphicDiscriminator:
+ StreamInputDataSource.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...StreamInputDataSource.type.modelProperties,
+ serviceBusNamespace: {
+ serializedName: "properties.serviceBusNamespace",
+ type: {
+ name: "String"
+ }
+ },
+ sharedAccessPolicyName: {
+ serializedName: "properties.sharedAccessPolicyName",
+ type: {
+ name: "String"
+ }
+ },
+ sharedAccessPolicyKey: {
+ serializedName: "properties.sharedAccessPolicyKey",
+ type: {
+ name: "String"
+ }
+ },
+ authenticationMode: {
+ serializedName: "properties.authenticationMode",
+ type: {
+ name: "String"
+ }
+ },
+ eventHubName: {
+ serializedName: "properties.eventHubName",
+ type: {
+ name: "String"
+ }
+ },
+ consumerGroupName: {
+ serializedName: "properties.consumerGroupName",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const IoTHubStreamInputDataSource: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.Devices/IotHubs",
+ type: {
+ name: "Composite",
+ className: "IoTHubStreamInputDataSource",
+ uberParent: "StreamInputDataSource",
+ polymorphicDiscriminator:
+ StreamInputDataSource.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...StreamInputDataSource.type.modelProperties,
+ iotHubNamespace: {
+ serializedName: "properties.iotHubNamespace",
+ type: {
+ name: "String"
+ }
+ },
+ sharedAccessPolicyName: {
+ serializedName: "properties.sharedAccessPolicyName",
+ type: {
+ name: "String"
+ }
+ },
+ sharedAccessPolicyKey: {
+ serializedName: "properties.sharedAccessPolicyKey",
+ type: {
+ name: "String"
+ }
+ },
+ consumerGroupName: {
+ serializedName: "properties.consumerGroupName",
+ type: {
+ name: "String"
+ }
+ },
+ endpoint: {
+ serializedName: "properties.endpoint",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const RawStreamInputDataSource: coreClient.CompositeMapper = {
+ serializedName: "Raw",
+ type: {
+ name: "Composite",
+ className: "RawStreamInputDataSource",
+ uberParent: "StreamInputDataSource",
+ polymorphicDiscriminator:
+ StreamInputDataSource.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...StreamInputDataSource.type.modelProperties,
+ payload: {
+ serializedName: "properties.payload",
+ type: {
+ name: "String"
+ }
+ },
+ payloadUri: {
+ serializedName: "properties.payloadUri",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const BlobReferenceInputDataSource: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.Storage/Blob",
+ type: {
+ name: "Composite",
+ className: "BlobReferenceInputDataSource",
+ uberParent: "ReferenceInputDataSource",
+ polymorphicDiscriminator:
+ ReferenceInputDataSource.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...ReferenceInputDataSource.type.modelProperties,
+ storageAccounts: {
+ serializedName: "properties.storageAccounts",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "StorageAccount"
+ }
+ }
+ }
+ },
+ container: {
+ serializedName: "properties.container",
+ type: {
+ name: "String"
+ }
+ },
+ pathPattern: {
+ serializedName: "properties.pathPattern",
+ type: {
+ name: "String"
+ }
+ },
+ dateFormat: {
+ serializedName: "properties.dateFormat",
+ type: {
+ name: "String"
+ }
+ },
+ timeFormat: {
+ serializedName: "properties.timeFormat",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const RawReferenceInputDataSource: coreClient.CompositeMapper = {
+ serializedName: "Raw",
+ type: {
+ name: "Composite",
+ className: "RawReferenceInputDataSource",
+ uberParent: "ReferenceInputDataSource",
+ polymorphicDiscriminator:
+ ReferenceInputDataSource.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...ReferenceInputDataSource.type.modelProperties,
+ payload: {
+ serializedName: "properties.payload",
+ type: {
+ name: "String"
+ }
+ },
+ payloadUri: {
+ serializedName: "properties.payloadUri",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const AzureSqlReferenceInputDataSource: coreClient.CompositeMapper = {
+ serializedName: "Microsoft.Sql/Server/Database",
+ type: {
+ name: "Composite",
+ className: "AzureSqlReferenceInputDataSource",
+ uberParent: "ReferenceInputDataSource",
+ polymorphicDiscriminator:
+ ReferenceInputDataSource.type.polymorphicDiscriminator,
+ modelProperties: {
+ ...ReferenceInputDataSource.type.modelProperties,
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "AzureSqlReferenceInputDataSourceProperties"
+ }
+ }
+ }
+ }
+};
+
+export const BlobStreamInputDataSourceProperties: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "BlobStreamInputDataSourceProperties",
+ modelProperties: {
+ ...BlobDataSourceProperties.type.modelProperties,
+ sourcePartitionCount: {
+ serializedName: "sourcePartitionCount",
+ type: {
+ name: "Number"
+ }
+ }
+ }
+ }
+};
+
+export const BlobReferenceInputDataSourceProperties: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "BlobReferenceInputDataSourceProperties",
+ modelProperties: {
+ ...BlobDataSourceProperties.type.modelProperties
+ }
+ }
+};
+
+export const BlobOutputDataSourceProperties: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "BlobOutputDataSourceProperties",
+ modelProperties: {
+ ...BlobDataSourceProperties.type.modelProperties,
+ authenticationMode: {
+ serializedName: "authenticationMode",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const EventHubDataSourceProperties: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "EventHubDataSourceProperties",
+ modelProperties: {
+ ...ServiceBusDataSourceProperties.type.modelProperties,
+ eventHubName: {
+ serializedName: "eventHubName",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const ServiceBusQueueOutputDataSourceProperties: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "ServiceBusQueueOutputDataSourceProperties",
+ modelProperties: {
+ ...ServiceBusDataSourceProperties.type.modelProperties,
+ queueName: {
+ serializedName: "queueName",
+ type: {
+ name: "String"
+ }
+ },
+ propertyColumns: {
+ serializedName: "propertyColumns",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ systemPropertyColumns: {
+ serializedName: "systemPropertyColumns",
+ type: {
+ name: "Dictionary",
+ value: { type: { name: "String" } }
+ }
+ }
+ }
+ }
+};
+
+export const ServiceBusTopicOutputDataSourceProperties: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "ServiceBusTopicOutputDataSourceProperties",
+ modelProperties: {
+ ...ServiceBusDataSourceProperties.type.modelProperties,
+ topicName: {
+ serializedName: "topicName",
+ type: {
+ name: "String"
+ }
+ },
+ propertyColumns: {
+ serializedName: "propertyColumns",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ systemPropertyColumns: {
+ serializedName: "systemPropertyColumns",
+ type: {
+ name: "Dictionary",
+ value: { type: { name: "String" } }
+ }
+ }
+ }
+ }
+};
+
+export const AzureSqlDatabaseOutputDataSourceProperties: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "AzureSqlDatabaseOutputDataSourceProperties",
+ modelProperties: {
+ ...AzureSqlDatabaseDataSourceProperties.type.modelProperties
+ }
+ }
+};
+
+export const AzureSynapseOutputDataSourceProperties: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "AzureSynapseOutputDataSourceProperties",
+ modelProperties: {
+ ...AzureSynapseDataSourceProperties.type.modelProperties
+ }
+ }
+};
+
+export const PowerBIOutputDataSourceProperties: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "PowerBIOutputDataSourceProperties",
+ modelProperties: {
+ ...OAuthBasedDataSourceProperties.type.modelProperties,
+ dataset: {
+ serializedName: "dataset",
+ type: {
+ name: "String"
+ }
+ },
+ table: {
+ serializedName: "table",
+ type: {
+ name: "String"
+ }
+ },
+ groupId: {
+ serializedName: "groupId",
+ type: {
+ name: "String"
+ }
+ },
+ groupName: {
+ serializedName: "groupName",
+ type: {
+ name: "String"
+ }
+ },
+ authenticationMode: {
+ serializedName: "authenticationMode",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const AzureDataLakeStoreOutputDataSourceProperties: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "AzureDataLakeStoreOutputDataSourceProperties",
+ modelProperties: {
+ ...OAuthBasedDataSourceProperties.type.modelProperties,
+ accountName: {
+ serializedName: "accountName",
+ type: {
+ name: "String"
+ }
+ },
+ tenantId: {
+ serializedName: "tenantId",
+ type: {
+ name: "String"
+ }
+ },
+ filePathPrefix: {
+ serializedName: "filePathPrefix",
+ type: {
+ name: "String"
+ }
+ },
+ dateFormat: {
+ serializedName: "dateFormat",
+ type: {
+ name: "String"
+ }
+ },
+ timeFormat: {
+ serializedName: "timeFormat",
+ type: {
+ name: "String"
+ }
+ },
+ authenticationMode: {
+ serializedName: "authenticationMode",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const StreamingJob: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "StreamingJob",
+ modelProperties: {
+ ...TrackedResource.type.modelProperties,
+ identity: {
+ serializedName: "identity",
+ type: {
+ name: "Composite",
+ className: "Identity"
+ }
+ },
+ sku: {
+ serializedName: "properties.sku",
+ type: {
+ name: "Composite",
+ className: "StreamingJobSku"
+ }
+ },
+ jobId: {
+ serializedName: "properties.jobId",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ },
+ provisioningState: {
+ serializedName: "properties.provisioningState",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ },
+ jobState: {
+ serializedName: "properties.jobState",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ },
+ jobType: {
+ serializedName: "properties.jobType",
+ type: {
+ name: "String"
+ }
+ },
+ outputStartMode: {
+ serializedName: "properties.outputStartMode",
+ type: {
+ name: "String"
+ }
+ },
+ outputStartTime: {
+ serializedName: "properties.outputStartTime",
+ type: {
+ name: "DateTime"
+ }
+ },
+ lastOutputEventTime: {
+ serializedName: "properties.lastOutputEventTime",
+ readOnly: true,
+ type: {
+ name: "DateTime"
+ }
+ },
+ eventsOutOfOrderPolicy: {
+ serializedName: "properties.eventsOutOfOrderPolicy",
+ type: {
+ name: "String"
+ }
+ },
+ outputErrorPolicy: {
+ serializedName: "properties.outputErrorPolicy",
+ type: {
+ name: "String"
+ }
+ },
+ eventsOutOfOrderMaxDelayInSeconds: {
+ serializedName: "properties.eventsOutOfOrderMaxDelayInSeconds",
+ type: {
+ name: "Number"
+ }
+ },
+ eventsLateArrivalMaxDelayInSeconds: {
+ serializedName: "properties.eventsLateArrivalMaxDelayInSeconds",
+ type: {
+ name: "Number"
+ }
+ },
+ dataLocale: {
+ serializedName: "properties.dataLocale",
+ type: {
+ name: "String"
+ }
+ },
+ compatibilityLevel: {
+ serializedName: "properties.compatibilityLevel",
+ type: {
+ name: "String"
+ }
+ },
+ createdDate: {
+ serializedName: "properties.createdDate",
+ readOnly: true,
+ type: {
+ name: "DateTime"
+ }
+ },
+ inputs: {
+ serializedName: "properties.inputs",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "Input"
+ }
+ }
+ }
+ },
+ transformation: {
+ serializedName: "properties.transformation",
+ type: {
+ name: "Composite",
+ className: "Transformation"
+ }
+ },
+ outputs: {
+ serializedName: "properties.outputs",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "Output"
+ }
+ }
+ }
+ },
+ functions: {
+ serializedName: "properties.functions",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "FunctionModel"
+ }
+ }
+ }
+ },
+ etag: {
+ serializedName: "properties.etag",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ },
+ jobStorageAccount: {
+ serializedName: "properties.jobStorageAccount",
+ type: {
+ name: "Composite",
+ className: "JobStorageAccount"
+ }
+ },
+ contentStoragePolicy: {
+ serializedName: "properties.contentStoragePolicy",
+ type: {
+ name: "String"
+ }
+ },
+ externals: {
+ serializedName: "properties.externals",
+ type: {
+ name: "Composite",
+ className: "External"
+ }
+ },
+ cluster: {
+ serializedName: "properties.cluster",
+ type: {
+ name: "Composite",
+ className: "ClusterInfo"
+ }
+ }
+ }
+ }
+};
+
+export const Cluster: coreClient.CompositeMapper = {
+ type: {
+ name: "Composite",
+ className: "Cluster",
+ modelProperties: {
+ ...TrackedResource.type.modelProperties,
+ sku: {
+ serializedName: "sku",
+ type: {
+ name: "Composite",
+ className: "ClusterSku"
+ }
+ },
+ etag: {
+ serializedName: "etag",
+ readOnly: true,
+ type: {
+ name: "String"
+ }
+ },
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "ClusterProperties"
+ }
}
}
}
};
-export const PrivateEndpoint: msRest.CompositeMapper = {
- serializedName: "PrivateEndpoint",
+export const PrivateEndpoint: coreClient.CompositeMapper = {
type: {
name: "Composite",
className: "PrivateEndpoint",
@@ -3277,8 +4171,8 @@ export const PrivateEndpoint: msRest.CompositeMapper = {
}
},
etag: {
- readOnly: true,
serializedName: "etag",
+ readOnly: true,
type: {
name: "String"
}
@@ -3287,14 +4181,14 @@ export const PrivateEndpoint: msRest.CompositeMapper = {
}
};
-export const FunctionsCreateOrReplaceHeaders: msRest.CompositeMapper = {
- serializedName: "functions-createorreplace-headers",
+export const EventHubStreamInputDataSourceProperties: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "FunctionsCreateOrReplaceHeaders",
+ className: "EventHubStreamInputDataSourceProperties",
modelProperties: {
- eTag: {
- serializedName: "etag",
+ ...EventHubDataSourceProperties.type.modelProperties,
+ consumerGroupName: {
+ serializedName: "consumerGroupName",
type: {
name: "String"
}
@@ -3303,43 +4197,37 @@ export const FunctionsCreateOrReplaceHeaders: msRest.CompositeMapper = {
}
};
-export const FunctionsUpdateHeaders: msRest.CompositeMapper = {
- serializedName: "functions-update-headers",
+export const EventHubOutputDataSourceProperties: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "FunctionsUpdateHeaders",
+ className: "EventHubOutputDataSourceProperties",
modelProperties: {
- eTag: {
- serializedName: "etag",
+ ...EventHubDataSourceProperties.type.modelProperties,
+ partitionKey: {
+ serializedName: "partitionKey",
type: {
name: "String"
}
- }
- }
- }
-};
-
-export const FunctionsGetHeaders: msRest.CompositeMapper = {
- serializedName: "functions-get-headers",
- type: {
- name: "Composite",
- className: "FunctionsGetHeaders",
- modelProperties: {
- eTag: {
- serializedName: "etag",
+ },
+ propertyColumns: {
+ serializedName: "propertyColumns",
type: {
- name: "String"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
}
}
}
}
};
-export const InputsCreateOrReplaceHeaders: msRest.CompositeMapper = {
- serializedName: "inputs-createorreplace-headers",
+export const FunctionsCreateOrReplaceHeaders: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "InputsCreateOrReplaceHeaders",
+ className: "FunctionsCreateOrReplaceHeaders",
modelProperties: {
eTag: {
serializedName: "etag",
@@ -3351,11 +4239,10 @@ export const InputsCreateOrReplaceHeaders: msRest.CompositeMapper = {
}
};
-export const InputsUpdateHeaders: msRest.CompositeMapper = {
- serializedName: "inputs-update-headers",
+export const FunctionsUpdateHeaders: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "InputsUpdateHeaders",
+ className: "FunctionsUpdateHeaders",
modelProperties: {
eTag: {
serializedName: "etag",
@@ -3367,11 +4254,10 @@ export const InputsUpdateHeaders: msRest.CompositeMapper = {
}
};
-export const InputsGetHeaders: msRest.CompositeMapper = {
- serializedName: "inputs-get-headers",
+export const FunctionsGetHeaders: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "InputsGetHeaders",
+ className: "FunctionsGetHeaders",
modelProperties: {
eTag: {
serializedName: "etag",
@@ -3383,11 +4269,10 @@ export const InputsGetHeaders: msRest.CompositeMapper = {
}
};
-export const OutputsCreateOrReplaceHeaders: msRest.CompositeMapper = {
- serializedName: "outputs-createorreplace-headers",
+export const InputsCreateOrReplaceHeaders: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "OutputsCreateOrReplaceHeaders",
+ className: "InputsCreateOrReplaceHeaders",
modelProperties: {
eTag: {
serializedName: "etag",
@@ -3399,11 +4284,10 @@ export const OutputsCreateOrReplaceHeaders: msRest.CompositeMapper = {
}
};
-export const OutputsUpdateHeaders: msRest.CompositeMapper = {
- serializedName: "outputs-update-headers",
+export const InputsUpdateHeaders: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "OutputsUpdateHeaders",
+ className: "InputsUpdateHeaders",
modelProperties: {
eTag: {
serializedName: "etag",
@@ -3415,11 +4299,10 @@ export const OutputsUpdateHeaders: msRest.CompositeMapper = {
}
};
-export const OutputsGetHeaders: msRest.CompositeMapper = {
- serializedName: "outputs-get-headers",
+export const InputsGetHeaders: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "OutputsGetHeaders",
+ className: "InputsGetHeaders",
modelProperties: {
eTag: {
serializedName: "etag",
@@ -3431,11 +4314,10 @@ export const OutputsGetHeaders: msRest.CompositeMapper = {
}
};
-export const StreamingJobsCreateOrReplaceHeaders: msRest.CompositeMapper = {
- serializedName: "streamingjobs-createorreplace-headers",
+export const OutputsCreateOrReplaceHeaders: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "StreamingJobsCreateOrReplaceHeaders",
+ className: "OutputsCreateOrReplaceHeaders",
modelProperties: {
eTag: {
serializedName: "etag",
@@ -3447,11 +4329,10 @@ export const StreamingJobsCreateOrReplaceHeaders: msRest.CompositeMapper = {
}
};
-export const StreamingJobsUpdateHeaders: msRest.CompositeMapper = {
- serializedName: "streamingjobs-update-headers",
+export const OutputsUpdateHeaders: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "StreamingJobsUpdateHeaders",
+ className: "OutputsUpdateHeaders",
modelProperties: {
eTag: {
serializedName: "etag",
@@ -3463,11 +4344,10 @@ export const StreamingJobsUpdateHeaders: msRest.CompositeMapper = {
}
};
-export const StreamingJobsGetHeaders: msRest.CompositeMapper = {
- serializedName: "streamingjobs-get-headers",
+export const OutputsGetHeaders: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "StreamingJobsGetHeaders",
+ className: "OutputsGetHeaders",
modelProperties: {
eTag: {
serializedName: "etag",
@@ -3479,11 +4359,10 @@ export const StreamingJobsGetHeaders: msRest.CompositeMapper = {
}
};
-export const TransformationsCreateOrReplaceHeaders: msRest.CompositeMapper = {
- serializedName: "transformations-createorreplace-headers",
+export const StreamingJobsCreateOrReplaceHeaders: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "TransformationsCreateOrReplaceHeaders",
+ className: "StreamingJobsCreateOrReplaceHeaders",
modelProperties: {
eTag: {
serializedName: "etag",
@@ -3495,11 +4374,10 @@ export const TransformationsCreateOrReplaceHeaders: msRest.CompositeMapper = {
}
};
-export const TransformationsUpdateHeaders: msRest.CompositeMapper = {
- serializedName: "transformations-update-headers",
+export const StreamingJobsUpdateHeaders: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "TransformationsUpdateHeaders",
+ className: "StreamingJobsUpdateHeaders",
modelProperties: {
eTag: {
serializedName: "etag",
@@ -3511,11 +4389,10 @@ export const TransformationsUpdateHeaders: msRest.CompositeMapper = {
}
};
-export const TransformationsGetHeaders: msRest.CompositeMapper = {
- serializedName: "transformations-get-headers",
+export const StreamingJobsGetHeaders: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "TransformationsGetHeaders",
+ className: "StreamingJobsGetHeaders",
modelProperties: {
eTag: {
serializedName: "etag",
@@ -3527,178 +4404,13 @@ export const TransformationsGetHeaders: msRest.CompositeMapper = {
}
};
-export const FunctionListResult: msRest.CompositeMapper = {
- serializedName: "FunctionListResult",
- type: {
- name: "Composite",
- className: "FunctionListResult",
- modelProperties: {
- value: {
- readOnly: true,
- serializedName: "",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "FunctionModel"
- }
- }
- }
- },
- nextLink: {
- readOnly: true,
- serializedName: "nextLink",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const InputListResult: msRest.CompositeMapper = {
- serializedName: "InputListResult",
- type: {
- name: "Composite",
- className: "InputListResult",
- modelProperties: {
- value: {
- readOnly: true,
- serializedName: "",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "Input"
- }
- }
- }
- },
- nextLink: {
- readOnly: true,
- serializedName: "nextLink",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const OutputListResult: msRest.CompositeMapper = {
- serializedName: "OutputListResult",
- type: {
- name: "Composite",
- className: "OutputListResult",
- modelProperties: {
- value: {
- readOnly: true,
- serializedName: "",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "Output"
- }
- }
- }
- },
- nextLink: {
- readOnly: true,
- serializedName: "nextLink",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const StreamingJobListResult: msRest.CompositeMapper = {
- serializedName: "StreamingJobListResult",
- type: {
- name: "Composite",
- className: "StreamingJobListResult",
- modelProperties: {
- value: {
- readOnly: true,
- serializedName: "",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "StreamingJob"
- }
- }
- }
- },
- nextLink: {
- readOnly: true,
- serializedName: "nextLink",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const OperationListResult: msRest.CompositeMapper = {
- serializedName: "OperationListResult",
- type: {
- name: "Composite",
- className: "OperationListResult",
- modelProperties: {
- value: {
- readOnly: true,
- serializedName: "",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "Operation"
- }
- }
- }
- },
- nextLink: {
- readOnly: true,
- serializedName: "nextLink",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const ClusterListResult: msRest.CompositeMapper = {
- serializedName: "ClusterListResult",
+export const TransformationsCreateOrReplaceHeaders: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "ClusterListResult",
+ className: "TransformationsCreateOrReplaceHeaders",
modelProperties: {
- value: {
- readOnly: true,
- serializedName: "",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "Cluster"
- }
- }
- }
- },
- nextLink: {
- readOnly: true,
- serializedName: "nextLink",
+ eTag: {
+ serializedName: "etag",
type: {
name: "String"
}
@@ -3707,28 +4419,13 @@ export const ClusterListResult: msRest.CompositeMapper = {
}
};
-export const ClusterJobListResult: msRest.CompositeMapper = {
- serializedName: "ClusterJobListResult",
+export const TransformationsUpdateHeaders: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "ClusterJobListResult",
+ className: "TransformationsUpdateHeaders",
modelProperties: {
- value: {
- readOnly: true,
- serializedName: "",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "ClusterJob"
- }
- }
- }
- },
- nextLink: {
- readOnly: true,
- serializedName: "nextLink",
+ eTag: {
+ serializedName: "etag",
type: {
name: "String"
}
@@ -3737,28 +4434,13 @@ export const ClusterJobListResult: msRest.CompositeMapper = {
}
};
-export const PrivateEndpointListResult: msRest.CompositeMapper = {
- serializedName: "PrivateEndpointListResult",
+export const TransformationsGetHeaders: coreClient.CompositeMapper = {
type: {
name: "Composite",
- className: "PrivateEndpointListResult",
+ className: "TransformationsGetHeaders",
modelProperties: {
- value: {
- readOnly: true,
- serializedName: "",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "PrivateEndpoint"
- }
- }
- }
- },
- nextLink: {
- readOnly: true,
- serializedName: "nextLink",
+ eTag: {
+ serializedName: "etag",
type: {
name: "String"
}
@@ -3767,49 +4449,51 @@ export const PrivateEndpointListResult: msRest.CompositeMapper = {
}
};
-export const discriminators = {
- 'FunctionBinding' : FunctionBinding,
- 'FunctionProperties' : FunctionProperties,
- 'FunctionProperties.Scalar' : ScalarFunctionProperties,
- 'FunctionBinding.Microsoft.MachineLearning/WebService' : AzureMachineLearningStudioFunctionBinding,
- 'FunctionBinding.Microsoft.StreamAnalytics/JavascriptUdf' : JavaScriptFunctionBinding,
- 'FunctionBinding.Microsoft.StreamAnalytics/CLRUdf' : CSharpFunctionBinding,
- 'FunctionRetrieveDefaultDefinitionParameters' : FunctionRetrieveDefaultDefinitionParameters,
- 'FunctionRetrieveDefaultDefinitionParameters.Microsoft.MachineLearning/WebService' : AzureMachineLearningStudioFunctionRetrieveDefaultDefinitionParameters,
- 'FunctionRetrieveDefaultDefinitionParameters.Microsoft.MachineLearningServices' : AzureMachineLearningServiceFunctionRetrieveDefaultDefinitionParameters,
- 'FunctionRetrieveDefaultDefinitionParameters.Microsoft.StreamAnalytics/JavascriptUdf' : JavaScriptFunctionRetrieveDefaultDefinitionParameters,
- 'FunctionRetrieveDefaultDefinitionParameters.Microsoft.StreamAnalytics/CLRUdf' : CSharpFunctionRetrieveDefaultDefinitionParameters,
- 'FunctionBinding.Microsoft.MachineLearningServices' : AzureMachineLearningServiceFunctionBinding,
- 'FunctionProperties.Aggregate' : AggregateFunctionProperties,
- 'Serialization' : Serialization,
- 'InputProperties' : InputProperties,
- 'StreamInputDataSource' : StreamInputDataSource,
- 'InputProperties.Stream' : StreamInputProperties,
- 'ReferenceInputDataSource' : ReferenceInputDataSource,
- 'InputProperties.Reference' : ReferenceInputProperties,
- 'StreamInputDataSource.Microsoft.Storage/Blob' : BlobStreamInputDataSource,
- 'StreamInputDataSource.Microsoft.ServiceBus/EventHub' : EventHubStreamInputDataSource,
- 'StreamInputDataSource.Microsoft.EventHub/EventHub' : EventHubV2StreamInputDataSource,
- 'StreamInputDataSource.Microsoft.Devices/IotHubs' : IoTHubStreamInputDataSource,
- 'ReferenceInputDataSource.Microsoft.Storage/Blob' : BlobReferenceInputDataSource,
- 'Serialization.Parquet' : ParquetSerialization,
- 'Serialization.CustomClr' : CustomClrSerialization,
- 'Serialization.Csv' : CsvSerialization,
- 'Serialization.Json' : JsonSerialization,
- 'Serialization.Avro' : AvroSerialization,
- 'ReferenceInputDataSource.Microsoft.Sql/Server/Database' : AzureSqlReferenceInputDataSource,
- 'OutputDataSource' : OutputDataSource,
- 'OutputDataSource.Microsoft.Storage/Blob' : BlobOutputDataSource,
- 'OutputDataSource.Microsoft.Storage/Table' : AzureTableOutputDataSource,
- 'OutputDataSource.Microsoft.ServiceBus/EventHub' : EventHubOutputDataSource,
- 'OutputDataSource.Microsoft.EventHub/EventHub' : EventHubV2OutputDataSource,
- 'OutputDataSource.Microsoft.Sql/Server/Database' : AzureSqlDatabaseOutputDataSource,
- 'OutputDataSource.Microsoft.Sql/Server/DataWarehouse' : AzureSynapseOutputDataSource,
- 'OutputDataSource.Microsoft.Storage/DocumentDB' : DocumentDbOutputDataSource,
- 'OutputDataSource.Microsoft.AzureFunction' : AzureFunctionOutputDataSource,
- 'OutputDataSource.Microsoft.ServiceBus/Queue' : ServiceBusQueueOutputDataSource,
- 'OutputDataSource.Microsoft.ServiceBus/Topic' : ServiceBusTopicOutputDataSource,
- 'OutputDataSource.PowerBI' : PowerBIOutputDataSource,
- 'OutputDataSource.Microsoft.DataLake/Accounts' : AzureDataLakeStoreOutputDataSource
-
+export let discriminators = {
+ FunctionProperties: FunctionProperties,
+ FunctionBinding: FunctionBinding,
+ FunctionRetrieveDefaultDefinitionParameters: FunctionRetrieveDefaultDefinitionParameters,
+ InputProperties: InputProperties,
+ Serialization: Serialization,
+ OutputDataSource: OutputDataSource,
+ StreamInputDataSource: StreamInputDataSource,
+ ReferenceInputDataSource: ReferenceInputDataSource,
+ "FunctionProperties.Scalar": ScalarFunctionProperties,
+ "FunctionProperties.Aggregate": AggregateFunctionProperties,
+ "FunctionBinding.Microsoft.MachineLearning/WebService": AzureMachineLearningStudioFunctionBinding,
+ "FunctionBinding.Microsoft.StreamAnalytics/JavascriptUdf": JavaScriptFunctionBinding,
+ "FunctionBinding.Microsoft.StreamAnalytics/CLRUdf": CSharpFunctionBinding,
+ "FunctionBinding.Microsoft.MachineLearningServices": AzureMachineLearningServiceFunctionBinding,
+ "FunctionRetrieveDefaultDefinitionParameters.Microsoft.MachineLearning/WebService": AzureMachineLearningStudioFunctionRetrieveDefaultDefinitionParameters,
+ "FunctionRetrieveDefaultDefinitionParameters.Microsoft.MachineLearningServices": AzureMachineLearningServiceFunctionRetrieveDefaultDefinitionParameters,
+ "FunctionRetrieveDefaultDefinitionParameters.Microsoft.StreamAnalytics/JavascriptUdf": JavaScriptFunctionRetrieveDefaultDefinitionParameters,
+ "FunctionRetrieveDefaultDefinitionParameters.Microsoft.StreamAnalytics/CLRUdf": CSharpFunctionRetrieveDefaultDefinitionParameters,
+ "InputProperties.Stream": StreamInputProperties,
+ "InputProperties.Reference": ReferenceInputProperties,
+ "Serialization.Parquet": ParquetSerialization,
+ "Serialization.CustomClr": CustomClrSerialization,
+ "Serialization.Csv": CsvSerialization,
+ "Serialization.Json": JsonSerialization,
+ "Serialization.Avro": AvroSerialization,
+ "OutputDataSource.Raw": RawOutputDatasource,
+ "OutputDataSource.Microsoft.Storage/Blob": BlobOutputDataSource,
+ "OutputDataSource.Microsoft.Storage/Table": AzureTableOutputDataSource,
+ "OutputDataSource.Microsoft.ServiceBus/EventHub": EventHubOutputDataSource,
+ "OutputDataSource.Microsoft.EventHub/EventHub": EventHubV2OutputDataSource,
+ "OutputDataSource.Microsoft.Sql/Server/Database": AzureSqlDatabaseOutputDataSource,
+ "OutputDataSource.Microsoft.Sql/Server/DataWarehouse": AzureSynapseOutputDataSource,
+ "OutputDataSource.Microsoft.Storage/DocumentDB": DocumentDbOutputDataSource,
+ "OutputDataSource.Microsoft.AzureFunction": AzureFunctionOutputDataSource,
+ "OutputDataSource.Microsoft.ServiceBus/Queue": ServiceBusQueueOutputDataSource,
+ "OutputDataSource.Microsoft.ServiceBus/Topic": ServiceBusTopicOutputDataSource,
+ "OutputDataSource.PowerBI": PowerBIOutputDataSource,
+ "OutputDataSource.Microsoft.DataLake/Accounts": AzureDataLakeStoreOutputDataSource,
+ "StreamInputDataSource.Microsoft.Storage/Blob": BlobStreamInputDataSource,
+ "StreamInputDataSource.Microsoft.ServiceBus/EventHub": EventHubStreamInputDataSource,
+ "StreamInputDataSource.Microsoft.EventHub/EventHub": EventHubV2StreamInputDataSource,
+ "StreamInputDataSource.Microsoft.Devices/IotHubs": IoTHubStreamInputDataSource,
+ "StreamInputDataSource.Raw": RawStreamInputDataSource,
+ "ReferenceInputDataSource.Microsoft.Storage/Blob": BlobReferenceInputDataSource,
+ "ReferenceInputDataSource.Raw": RawReferenceInputDataSource,
+ "ReferenceInputDataSource.Microsoft.Sql/Server/Database": AzureSqlReferenceInputDataSource
};
diff --git a/sdk/streamanalytics/arm-streamanalytics/src/models/operationsMappers.ts b/sdk/streamanalytics/arm-streamanalytics/src/models/operationsMappers.ts
deleted file mode 100644
index 1cf01eeef205..000000000000
--- a/sdk/streamanalytics/arm-streamanalytics/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,
- OperationDisplay,
- OperationListResult
-} from "../models/mappers";
diff --git a/sdk/streamanalytics/arm-streamanalytics/src/models/outputsMappers.ts b/sdk/streamanalytics/arm-streamanalytics/src/models/outputsMappers.ts
deleted file mode 100644
index b6e62ffa6cf4..000000000000
--- a/sdk/streamanalytics/arm-streamanalytics/src/models/outputsMappers.ts
+++ /dev/null
@@ -1,91 +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,
- AggregateFunctionProperties,
- AvroSerialization,
- AzureDataLakeStoreOutputDataSource,
- AzureFunctionOutputDataSource,
- AzureMachineLearningServiceFunctionBinding,
- AzureMachineLearningServiceInputColumn,
- AzureMachineLearningServiceOutputColumn,
- AzureMachineLearningStudioFunctionBinding,
- AzureMachineLearningStudioInputColumn,
- AzureMachineLearningStudioInputs,
- AzureMachineLearningStudioOutputColumn,
- AzureSqlDatabaseOutputDataSource,
- AzureSqlReferenceInputDataSource,
- AzureSqlReferenceInputDataSourceProperties,
- AzureSynapseOutputDataSource,
- AzureTableOutputDataSource,
- BaseResource,
- BlobOutputDataSource,
- BlobReferenceInputDataSource,
- BlobStreamInputDataSource,
- CloudError,
- Cluster,
- ClusterInfo,
- ClusterProperties,
- ClusterSku,
- Compression,
- CSharpFunctionBinding,
- CsvSerialization,
- CustomClrSerialization,
- DiagnosticCondition,
- Diagnostics,
- DocumentDbOutputDataSource,
- ErrorResponse,
- EventHubOutputDataSource,
- EventHubStreamInputDataSource,
- EventHubV2OutputDataSource,
- EventHubV2StreamInputDataSource,
- External,
- FunctionBinding,
- FunctionInput,
- FunctionModel,
- FunctionOutput,
- FunctionProperties,
- Identity,
- Input,
- InputProperties,
- IoTHubStreamInputDataSource,
- JavaScriptFunctionBinding,
- JobStorageAccount,
- JsonSerialization,
- Output,
- OutputDataSource,
- OutputListResult,
- OutputsCreateOrReplaceHeaders,
- OutputsGetHeaders,
- OutputsUpdateHeaders,
- ParquetSerialization,
- PowerBIOutputDataSource,
- PrivateEndpoint,
- PrivateEndpointProperties,
- PrivateLinkConnectionState,
- PrivateLinkServiceConnection,
- ProxyResource,
- ReferenceInputDataSource,
- ReferenceInputProperties,
- Resource,
- ResourceTestStatus,
- ScalarFunctionProperties,
- Serialization,
- ServiceBusQueueOutputDataSource,
- ServiceBusTopicOutputDataSource,
- StorageAccount,
- StreamingJob,
- StreamingJobSku,
- StreamInputDataSource,
- StreamInputProperties,
- SubResource,
- SubscriptionQuota,
- TrackedResource,
- Transformation
-} from "../models/mappers";
diff --git a/sdk/streamanalytics/arm-streamanalytics/src/models/parameters.ts b/sdk/streamanalytics/arm-streamanalytics/src/models/parameters.ts
index 13854c895521..d3f5ab80aa6d 100644
--- a/sdk/streamanalytics/arm-streamanalytics/src/models/parameters.ts
+++ b/sdk/streamanalytics/arm-streamanalytics/src/models/parameters.ts
@@ -3,214 +3,340 @@
* 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 {
+ FunctionModel as FunctionModelMapper,
+ FunctionRetrieveDefaultDefinitionParameters as FunctionRetrieveDefaultDefinitionParametersMapper,
+ Input as InputMapper,
+ Output as OutputMapper,
+ StreamingJob as StreamingJobMapper,
+ StartStreamingJobParameters as StartStreamingJobParametersMapper,
+ TestQuery as TestQueryMapper,
+ CompileQuery as CompileQueryMapper,
+ SampleInput as SampleInputMapper,
+ TestInput as TestInputMapper,
+ TestOutput as TestOutputMapper,
+ Transformation as TransformationMapper,
+ Cluster as ClusterMapper,
+ PrivateEndpoint as PrivateEndpointMapper
+} from "../models/mappers";
-export const acceptLanguage: msRest.OperationParameter = {
- parameterPath: "acceptLanguage",
+export const contentType: OperationParameter = {
+ parameterPath: ["options", "contentType"],
mapper: {
- serializedName: "accept-language",
- defaultValue: 'en-US',
+ defaultValue: "application/json",
+ isConstant: true,
+ serializedName: "Content-Type",
type: {
name: "String"
}
}
};
-export const apiVersion0: msRest.OperationQueryParameter = {
- parameterPath: "apiVersion",
+
+export const functionParam: OperationParameter = {
+ parameterPath: "functionParam",
+ mapper: FunctionModelMapper
+};
+
+export const accept: OperationParameter = {
+ parameterPath: "accept",
mapper: {
- required: true,
+ defaultValue: "application/json",
isConstant: true,
- serializedName: "api-version",
- defaultValue: '2017-04-01-preview',
- constraints: {
- MinLength: 1
- },
+ serializedName: "Accept",
type: {
name: "String"
}
}
};
-export const apiVersion1: msRest.OperationQueryParameter = {
- parameterPath: "apiVersion",
+
+export const $host: OperationURLParameter = {
+ parameterPath: "$host",
mapper: {
+ serializedName: "$host",
required: true,
- isConstant: true,
- serializedName: "api-version",
- defaultValue: '2020-03-01-preview',
- constraints: {
- MinLength: 1
- },
type: {
name: "String"
}
- }
+ },
+ skipEncoding: true
};
-export const clusterName: msRest.OperationURLParameter = {
- parameterPath: "clusterName",
+
+export const ifMatch: OperationParameter = {
+ parameterPath: ["options", "ifMatch"],
mapper: {
- required: true,
- serializedName: "clusterName",
+ serializedName: "If-Match",
type: {
name: "String"
}
}
};
-export const expand: msRest.OperationQueryParameter = {
- parameterPath: [
- "options",
- "expand"
- ],
+
+export const ifNoneMatch: OperationParameter = {
+ parameterPath: ["options", "ifNoneMatch"],
mapper: {
- serializedName: "$expand",
+ serializedName: "If-None-Match",
type: {
name: "String"
}
}
};
-export const functionName: msRest.OperationURLParameter = {
- parameterPath: "functionName",
+
+export const apiVersion: OperationQueryParameter = {
+ parameterPath: "apiVersion",
mapper: {
- required: true,
- serializedName: "functionName",
+ defaultValue: "2017-04-01-preview",
+ isConstant: true,
+ serializedName: "api-version",
type: {
name: "String"
}
}
};
-export const ifMatch: msRest.OperationParameter = {
- parameterPath: [
- "options",
- "ifMatch"
- ],
+
+export const subscriptionId: OperationURLParameter = {
+ parameterPath: "subscriptionId",
mapper: {
- serializedName: "If-Match",
+ constraints: {
+ MinLength: 1
+ },
+ serializedName: "subscriptionId",
+ required: true,
type: {
name: "String"
}
}
};
-export const ifNoneMatch: msRest.OperationParameter = {
- parameterPath: [
- "options",
- "ifNoneMatch"
- ],
+
+export const resourceGroupName: OperationURLParameter = {
+ parameterPath: "resourceGroupName",
mapper: {
- serializedName: "If-None-Match",
+ constraints: {
+ Pattern: new RegExp("^[-\\w\\._\\(\\)]+$"),
+ MaxLength: 90,
+ MinLength: 1
+ },
+ serializedName: "resourceGroupName",
+ required: true,
type: {
name: "String"
}
}
};
-export const inputName: msRest.OperationURLParameter = {
- parameterPath: "inputName",
+
+export const jobName: OperationURLParameter = {
+ parameterPath: "jobName",
mapper: {
+ serializedName: "jobName",
required: true,
- serializedName: "inputName",
type: {
name: "String"
}
}
};
-export const jobName: msRest.OperationURLParameter = {
- parameterPath: "jobName",
+
+export const functionName: OperationURLParameter = {
+ parameterPath: "functionName",
mapper: {
+ serializedName: "functionName",
required: true,
- serializedName: "jobName",
type: {
name: "String"
}
}
};
-export const location: msRest.OperationURLParameter = {
- parameterPath: "location",
+
+export const select: OperationQueryParameter = {
+ parameterPath: ["options", "select"],
mapper: {
- required: true,
- serializedName: "location",
+ serializedName: "$select",
type: {
name: "String"
}
}
};
-export const nextPageLink: msRest.OperationURLParameter = {
- parameterPath: "nextPageLink",
+
+export const functionParam1: OperationParameter = {
+ parameterPath: ["options", "functionParam"],
+ mapper: FunctionModelMapper
+};
+
+export const functionRetrieveDefaultDefinitionParameters: OperationParameter = {
+ parameterPath: ["options", "functionRetrieveDefaultDefinitionParameters"],
+ mapper: FunctionRetrieveDefaultDefinitionParametersMapper
+};
+
+export const nextLink: OperationURLParameter = {
+ parameterPath: "nextLink",
mapper: {
- required: true,
serializedName: "nextLink",
+ required: true,
type: {
name: "String"
}
},
skipEncoding: true
};
-export const outputName: msRest.OperationURLParameter = {
- parameterPath: "outputName",
+
+export const input: OperationParameter = {
+ parameterPath: "input",
+ mapper: InputMapper
+};
+
+export const inputName: OperationURLParameter = {
+ parameterPath: "inputName",
mapper: {
+ serializedName: "inputName",
required: true,
- serializedName: "outputName",
type: {
name: "String"
}
}
};
-export const privateEndpointName: msRest.OperationURLParameter = {
- parameterPath: "privateEndpointName",
+
+export const input1: OperationParameter = {
+ parameterPath: ["options", "input"],
+ mapper: InputMapper
+};
+
+export const output: OperationParameter = {
+ parameterPath: "output",
+ mapper: OutputMapper
+};
+
+export const outputName: OperationURLParameter = {
+ parameterPath: "outputName",
mapper: {
+ serializedName: "outputName",
required: true,
- serializedName: "privateEndpointName",
type: {
name: "String"
}
}
};
-export const resourceGroupName: msRest.OperationURLParameter = {
- parameterPath: "resourceGroupName",
+
+export const output1: OperationParameter = {
+ parameterPath: ["options", "output"],
+ mapper: OutputMapper
+};
+
+export const streamingJob: OperationParameter = {
+ parameterPath: "streamingJob",
+ mapper: StreamingJobMapper
+};
+
+export const expand: OperationQueryParameter = {
+ parameterPath: ["options", "expand"],
mapper: {
+ serializedName: "$expand",
+ type: {
+ name: "String"
+ }
+ }
+};
+
+export const startJobParameters: OperationParameter = {
+ parameterPath: ["options", "startJobParameters"],
+ mapper: StartStreamingJobParametersMapper
+};
+
+export const location: OperationURLParameter = {
+ parameterPath: "location",
+ mapper: {
+ serializedName: "location",
required: true,
- serializedName: "resourceGroupName",
- constraints: {
- MaxLength: 90,
- MinLength: 1,
- Pattern: /^[-\w\._\(\)]+$/
- },
type: {
name: "String"
}
}
};
-export const select: msRest.OperationQueryParameter = {
- parameterPath: [
- "options",
- "select"
- ],
+
+export const testQuery: OperationParameter = {
+ parameterPath: "testQuery",
+ mapper: TestQueryMapper
+};
+
+export const compileQuery: OperationParameter = {
+ parameterPath: "compileQuery",
+ mapper: CompileQueryMapper
+};
+
+export const sampleInput: OperationParameter = {
+ parameterPath: "sampleInput",
+ mapper: SampleInputMapper
+};
+
+export const testInput: OperationParameter = {
+ parameterPath: "testInput",
+ mapper: TestInputMapper
+};
+
+export const testOutput: OperationParameter = {
+ parameterPath: "testOutput",
+ mapper: TestOutputMapper
+};
+
+export const transformation: OperationParameter = {
+ parameterPath: "transformation",
+ mapper: TransformationMapper
+};
+
+export const transformationName: OperationURLParameter = {
+ parameterPath: "transformationName",
mapper: {
- serializedName: "$select",
+ serializedName: "transformationName",
+ required: true,
type: {
name: "String"
}
}
};
-export const subscriptionId: msRest.OperationURLParameter = {
- parameterPath: "subscriptionId",
+
+export const cluster: OperationParameter = {
+ parameterPath: "cluster",
+ mapper: ClusterMapper
+};
+
+export const clusterName: OperationURLParameter = {
+ parameterPath: "clusterName",
mapper: {
+ serializedName: "clusterName",
required: true,
- serializedName: "subscriptionId",
- constraints: {
- MinLength: 1
- },
type: {
name: "String"
}
}
};
-export const transformationName: msRest.OperationURLParameter = {
- parameterPath: "transformationName",
+
+export const apiVersion1: OperationQueryParameter = {
+ parameterPath: "apiVersion",
mapper: {
+ defaultValue: "2020-03-01-preview",
+ isConstant: true,
+ serializedName: "api-version",
+ type: {
+ name: "String"
+ }
+ }
+};
+
+export const privateEndpoint: OperationParameter = {
+ parameterPath: "privateEndpoint",
+ mapper: PrivateEndpointMapper
+};
+
+export const privateEndpointName: OperationURLParameter = {
+ parameterPath: "privateEndpointName",
+ mapper: {
+ serializedName: "privateEndpointName",
required: true,
- serializedName: "transformationName",
type: {
name: "String"
}
diff --git a/sdk/streamanalytics/arm-streamanalytics/src/models/privateEndpointsMappers.ts b/sdk/streamanalytics/arm-streamanalytics/src/models/privateEndpointsMappers.ts
deleted file mode 100644
index a78d71313130..000000000000
--- a/sdk/streamanalytics/arm-streamanalytics/src/models/privateEndpointsMappers.ts
+++ /dev/null
@@ -1,88 +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,
- AggregateFunctionProperties,
- AvroSerialization,
- AzureDataLakeStoreOutputDataSource,
- AzureFunctionOutputDataSource,
- AzureMachineLearningServiceFunctionBinding,
- AzureMachineLearningServiceInputColumn,
- AzureMachineLearningServiceOutputColumn,
- AzureMachineLearningStudioFunctionBinding,
- AzureMachineLearningStudioInputColumn,
- AzureMachineLearningStudioInputs,
- AzureMachineLearningStudioOutputColumn,
- AzureSqlDatabaseOutputDataSource,
- AzureSqlReferenceInputDataSource,
- AzureSqlReferenceInputDataSourceProperties,
- AzureSynapseOutputDataSource,
- AzureTableOutputDataSource,
- BaseResource,
- BlobOutputDataSource,
- BlobReferenceInputDataSource,
- BlobStreamInputDataSource,
- Cluster,
- ClusterInfo,
- ClusterProperties,
- ClusterSku,
- Compression,
- CSharpFunctionBinding,
- CsvSerialization,
- CustomClrSerialization,
- DiagnosticCondition,
- Diagnostics,
- DocumentDbOutputDataSource,
- ErrorDetails,
- ErrorError,
- ErrorModel,
- EventHubOutputDataSource,
- EventHubStreamInputDataSource,
- EventHubV2OutputDataSource,
- EventHubV2StreamInputDataSource,
- External,
- FunctionBinding,
- FunctionInput,
- FunctionModel,
- FunctionOutput,
- FunctionProperties,
- Identity,
- Input,
- InputProperties,
- IoTHubStreamInputDataSource,
- JavaScriptFunctionBinding,
- JobStorageAccount,
- JsonSerialization,
- Output,
- OutputDataSource,
- ParquetSerialization,
- PowerBIOutputDataSource,
- PrivateEndpoint,
- PrivateEndpointListResult,
- PrivateEndpointProperties,
- PrivateLinkConnectionState,
- PrivateLinkServiceConnection,
- ProxyResource,
- ReferenceInputDataSource,
- ReferenceInputProperties,
- Resource,
- ScalarFunctionProperties,
- Serialization,
- ServiceBusQueueOutputDataSource,
- ServiceBusTopicOutputDataSource,
- StorageAccount,
- StreamingJob,
- StreamingJobSku,
- StreamInputDataSource,
- StreamInputProperties,
- SubResource,
- SubscriptionQuota,
- TrackedResource,
- Transformation
-} from "../models/mappers";
diff --git a/sdk/streamanalytics/arm-streamanalytics/src/models/streamingJobsMappers.ts b/sdk/streamanalytics/arm-streamanalytics/src/models/streamingJobsMappers.ts
deleted file mode 100644
index 707c1ef3bdad..000000000000
--- a/sdk/streamanalytics/arm-streamanalytics/src/models/streamingJobsMappers.ts
+++ /dev/null
@@ -1,90 +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,
- AggregateFunctionProperties,
- AvroSerialization,
- AzureDataLakeStoreOutputDataSource,
- AzureFunctionOutputDataSource,
- AzureMachineLearningServiceFunctionBinding,
- AzureMachineLearningServiceInputColumn,
- AzureMachineLearningServiceOutputColumn,
- AzureMachineLearningStudioFunctionBinding,
- AzureMachineLearningStudioInputColumn,
- AzureMachineLearningStudioInputs,
- AzureMachineLearningStudioOutputColumn,
- AzureSqlDatabaseOutputDataSource,
- AzureSqlReferenceInputDataSource,
- AzureSqlReferenceInputDataSourceProperties,
- AzureSynapseOutputDataSource,
- AzureTableOutputDataSource,
- BaseResource,
- BlobOutputDataSource,
- BlobReferenceInputDataSource,
- BlobStreamInputDataSource,
- CloudError,
- Cluster,
- ClusterInfo,
- ClusterProperties,
- ClusterSku,
- Compression,
- CSharpFunctionBinding,
- CsvSerialization,
- CustomClrSerialization,
- DiagnosticCondition,
- Diagnostics,
- DocumentDbOutputDataSource,
- EventHubOutputDataSource,
- EventHubStreamInputDataSource,
- EventHubV2OutputDataSource,
- EventHubV2StreamInputDataSource,
- External,
- FunctionBinding,
- FunctionInput,
- FunctionModel,
- FunctionOutput,
- FunctionProperties,
- Identity,
- Input,
- InputProperties,
- IoTHubStreamInputDataSource,
- JavaScriptFunctionBinding,
- JobStorageAccount,
- JsonSerialization,
- Output,
- OutputDataSource,
- ParquetSerialization,
- PowerBIOutputDataSource,
- PrivateEndpoint,
- PrivateEndpointProperties,
- PrivateLinkConnectionState,
- PrivateLinkServiceConnection,
- ProxyResource,
- ReferenceInputDataSource,
- ReferenceInputProperties,
- Resource,
- ScalarFunctionProperties,
- Serialization,
- ServiceBusQueueOutputDataSource,
- ServiceBusTopicOutputDataSource,
- StartStreamingJobParameters,
- StorageAccount,
- StreamingJob,
- StreamingJobListResult,
- StreamingJobsCreateOrReplaceHeaders,
- StreamingJobsGetHeaders,
- StreamingJobSku,
- StreamingJobsUpdateHeaders,
- StreamInputDataSource,
- StreamInputProperties,
- SubResource,
- SubscriptionQuota,
- TrackedResource,
- Transformation
-} from "../models/mappers";
diff --git a/sdk/streamanalytics/arm-streamanalytics/src/models/subscriptionsMappers.ts b/sdk/streamanalytics/arm-streamanalytics/src/models/subscriptionsMappers.ts
deleted file mode 100644
index fa584c6bd5fd..000000000000
--- a/sdk/streamanalytics/arm-streamanalytics/src/models/subscriptionsMappers.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,
- AggregateFunctionProperties,
- AvroSerialization,
- AzureDataLakeStoreOutputDataSource,
- AzureFunctionOutputDataSource,
- AzureMachineLearningServiceFunctionBinding,
- AzureMachineLearningServiceInputColumn,
- AzureMachineLearningServiceOutputColumn,
- AzureMachineLearningStudioFunctionBinding,
- AzureMachineLearningStudioInputColumn,
- AzureMachineLearningStudioInputs,
- AzureMachineLearningStudioOutputColumn,
- AzureSqlDatabaseOutputDataSource,
- AzureSqlReferenceInputDataSource,
- AzureSqlReferenceInputDataSourceProperties,
- AzureSynapseOutputDataSource,
- AzureTableOutputDataSource,
- BaseResource,
- BlobOutputDataSource,
- BlobReferenceInputDataSource,
- BlobStreamInputDataSource,
- CloudError,
- Cluster,
- ClusterInfo,
- ClusterProperties,
- ClusterSku,
- Compression,
- CSharpFunctionBinding,
- CsvSerialization,
- CustomClrSerialization,
- DiagnosticCondition,
- Diagnostics,
- DocumentDbOutputDataSource,
- EventHubOutputDataSource,
- EventHubStreamInputDataSource,
- EventHubV2OutputDataSource,
- EventHubV2StreamInputDataSource,
- External,
- FunctionBinding,
- FunctionInput,
- FunctionModel,
- FunctionOutput,
- FunctionProperties,
- Identity,
- Input,
- InputProperties,
- IoTHubStreamInputDataSource,
- JavaScriptFunctionBinding,
- JobStorageAccount,
- JsonSerialization,
- Output,
- OutputDataSource,
- ParquetSerialization,
- PowerBIOutputDataSource,
- PrivateEndpoint,
- PrivateEndpointProperties,
- PrivateLinkConnectionState,
- PrivateLinkServiceConnection,
- ProxyResource,
- ReferenceInputDataSource,
- ReferenceInputProperties,
- Resource,
- ScalarFunctionProperties,
- Serialization,
- ServiceBusQueueOutputDataSource,
- ServiceBusTopicOutputDataSource,
- StorageAccount,
- StreamingJob,
- StreamingJobSku,
- StreamInputDataSource,
- StreamInputProperties,
- SubResource,
- SubscriptionQuota,
- SubscriptionQuotasListResult,
- TrackedResource,
- Transformation
-} from "../models/mappers";
diff --git a/sdk/streamanalytics/arm-streamanalytics/src/models/transformationsMappers.ts b/sdk/streamanalytics/arm-streamanalytics/src/models/transformationsMappers.ts
deleted file mode 100644
index b985cb821ba5..000000000000
--- a/sdk/streamanalytics/arm-streamanalytics/src/models/transformationsMappers.ts
+++ /dev/null
@@ -1,88 +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,
- AggregateFunctionProperties,
- AvroSerialization,
- AzureDataLakeStoreOutputDataSource,
- AzureFunctionOutputDataSource,
- AzureMachineLearningServiceFunctionBinding,
- AzureMachineLearningServiceInputColumn,
- AzureMachineLearningServiceOutputColumn,
- AzureMachineLearningStudioFunctionBinding,
- AzureMachineLearningStudioInputColumn,
- AzureMachineLearningStudioInputs,
- AzureMachineLearningStudioOutputColumn,
- AzureSqlDatabaseOutputDataSource,
- AzureSqlReferenceInputDataSource,
- AzureSqlReferenceInputDataSourceProperties,
- AzureSynapseOutputDataSource,
- AzureTableOutputDataSource,
- BaseResource,
- BlobOutputDataSource,
- BlobReferenceInputDataSource,
- BlobStreamInputDataSource,
- CloudError,
- Cluster,
- ClusterInfo,
- ClusterProperties,
- ClusterSku,
- Compression,
- CSharpFunctionBinding,
- CsvSerialization,
- CustomClrSerialization,
- DiagnosticCondition,
- Diagnostics,
- DocumentDbOutputDataSource,
- EventHubOutputDataSource,
- EventHubStreamInputDataSource,
- EventHubV2OutputDataSource,
- EventHubV2StreamInputDataSource,
- External,
- FunctionBinding,
- FunctionInput,
- FunctionModel,
- FunctionOutput,
- FunctionProperties,
- Identity,
- Input,
- InputProperties,
- IoTHubStreamInputDataSource,
- JavaScriptFunctionBinding,
- JobStorageAccount,
- JsonSerialization,
- Output,
- OutputDataSource,
- ParquetSerialization,
- PowerBIOutputDataSource,
- PrivateEndpoint,
- PrivateEndpointProperties,
- PrivateLinkConnectionState,
- PrivateLinkServiceConnection,
- ProxyResource,
- ReferenceInputDataSource,
- ReferenceInputProperties,
- Resource,
- ScalarFunctionProperties,
- Serialization,
- ServiceBusQueueOutputDataSource,
- ServiceBusTopicOutputDataSource,
- StorageAccount,
- StreamingJob,
- StreamingJobSku,
- StreamInputDataSource,
- StreamInputProperties,
- SubResource,
- SubscriptionQuota,
- TrackedResource,
- Transformation,
- TransformationsCreateOrReplaceHeaders,
- TransformationsGetHeaders,
- TransformationsUpdateHeaders
-} from "../models/mappers";
diff --git a/sdk/streamanalytics/arm-streamanalytics/src/operations/clusters.ts b/sdk/streamanalytics/arm-streamanalytics/src/operations/clusters.ts
index f850e9fd9371..aee17d7d6cb8 100644
--- a/sdk/streamanalytics/arm-streamanalytics/src/operations/clusters.ts
+++ b/sdk/streamanalytics/arm-streamanalytics/src/operations/clusters.ts
@@ -3,540 +3,785 @@
* 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/clustersMappers";
+import { PagedAsyncIterableIterator } from "@azure/core-paging";
+import { Clusters } from "../operationsInterfaces";
+import * as coreClient from "@azure/core-client";
+import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { StreamAnalyticsManagementClientContext } from "../streamAnalyticsManagementClientContext";
+import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
+import { LroImpl } from "../lroImpl";
+import {
+ Cluster,
+ ClustersListBySubscriptionNextOptionalParams,
+ ClustersListBySubscriptionOptionalParams,
+ ClustersListByResourceGroupNextOptionalParams,
+ ClustersListByResourceGroupOptionalParams,
+ ClusterJob,
+ ClustersListStreamingJobsNextOptionalParams,
+ ClustersListStreamingJobsOptionalParams,
+ ClustersCreateOrUpdateOptionalParams,
+ ClustersCreateOrUpdateResponse,
+ ClustersUpdateOptionalParams,
+ ClustersUpdateResponse,
+ ClustersGetOptionalParams,
+ ClustersGetResponse,
+ ClustersDeleteOptionalParams,
+ ClustersListBySubscriptionResponse,
+ ClustersListByResourceGroupResponse,
+ ClustersListStreamingJobsResponse,
+ ClustersListBySubscriptionNextResponse,
+ ClustersListByResourceGroupNextResponse,
+ ClustersListStreamingJobsNextResponse
+} from "../models";
-/** Class representing a Clusters. */
-export class Clusters {
+///
+/** Class containing Clusters operations. */
+export class ClustersImpl implements Clusters {
private readonly client: StreamAnalyticsManagementClientContext;
/**
- * Create a Clusters.
- * @param {StreamAnalyticsManagementClientContext} client Reference to the service client.
+ * Initialize a new instance of the class Clusters class.
+ * @param client Reference to the service client
*/
constructor(client: StreamAnalyticsManagementClientContext) {
this.client = client;
}
/**
- * Creates a Stream Analytics Cluster or replaces an already existing cluster.
- * @param cluster The definition of the cluster that will be used to create a new cluster or
- * replace the existing one.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName The name of the cluster.
- * @param [options] The optional parameters
- * @returns Promise
+ * Lists all of the clusters in the given subscription.
+ * @param options The options parameters.
*/
- createOrUpdate(cluster: Models.Cluster, resourceGroupName: string, clusterName: string, options?: Models.ClustersCreateOrUpdateOptionalParams): Promise {
- return this.beginCreateOrUpdate(cluster,resourceGroupName,clusterName,options)
- .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ public listBySubscription(
+ options?: ClustersListBySubscriptionOptionalParams
+ ): PagedAsyncIterableIterator {
+ const iter = this.listBySubscriptionPagingAll(options);
+ return {
+ next() {
+ return iter.next();
+ },
+ [Symbol.asyncIterator]() {
+ return this;
+ },
+ byPage: () => {
+ return this.listBySubscriptionPagingPage(options);
+ }
+ };
}
- /**
- * Updates an existing cluster. This can be used to partially update (ie. update one or two
- * properties) a cluster without affecting the rest of the cluster definition.
- * @param cluster The properties specified here will overwrite the corresponding properties in the
- * existing cluster (ie. Those properties will be updated).
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName The name of the cluster.
- * @param [options] The optional parameters
- * @returns Promise
- */
- update(cluster: Models.Cluster, resourceGroupName: string, clusterName: string, options?: Models.ClustersUpdateOptionalParams): Promise {
- return this.beginUpdate(cluster,resourceGroupName,clusterName,options)
- .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ private async *listBySubscriptionPagingPage(
+ options?: ClustersListBySubscriptionOptionalParams
+ ): 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?: ClustersListBySubscriptionOptionalParams
+ ): AsyncIterableIterator {
+ for await (const page of this.listBySubscriptionPagingPage(options)) {
+ yield* page;
+ }
}
/**
- * Gets information about the specified cluster.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName The name of the cluster.
- * @param [options] The optional parameters
- * @returns Promise
- */
- get(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase): Promise;
- /**
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName The name of the cluster.
- * @param callback The callback
- */
- get(resourceGroupName: string, clusterName: string, callback: msRest.ServiceCallback): void;
- /**
+ * Lists all of the clusters in the given resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName The name of the cluster.
- * @param options The optional parameters
- * @param callback The callback
+ * @param options The options parameters.
*/
- get(resourceGroupName: string, clusterName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- get(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
- return this.client.sendOperationRequest(
- {
+ public listByResourceGroup(
+ resourceGroupName: string,
+ options?: ClustersListByResourceGroupOptionalParams
+ ): 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?: ClustersListByResourceGroupOptionalParams
+ ): AsyncIterableIterator {
+ let result = await this._listByResourceGroup(resourceGroupName, options);
+ yield result.value || [];
+ let continuationToken = result.nextLink;
+ while (continuationToken) {
+ result = await this._listByResourceGroupNext(
resourceGroupName,
- clusterName,
+ continuationToken,
options
- },
- getOperationSpec,
- callback) as Promise;
+ );
+ continuationToken = result.nextLink;
+ yield result.value || [];
+ }
+ }
+
+ private async *listByResourceGroupPagingAll(
+ resourceGroupName: string,
+ options?: ClustersListByResourceGroupOptionalParams
+ ): AsyncIterableIterator {
+ for await (const page of this.listByResourceGroupPagingPage(
+ resourceGroupName,
+ options
+ )) {
+ yield* page;
+ }
}
/**
- * Deletes the specified cluster.
+ * Lists all of the streaming jobs in the given cluster.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the cluster.
- * @param [options] The optional parameters
- * @returns Promise
+ * @param options The options parameters.
*/
- deleteMethod(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase): Promise {
- return this.beginDeleteMethod(resourceGroupName,clusterName,options)
- .then(lroPoller => lroPoller.pollUntilFinished());
+ public listStreamingJobs(
+ resourceGroupName: string,
+ clusterName: string,
+ options?: ClustersListStreamingJobsOptionalParams
+ ): PagedAsyncIterableIterator {
+ const iter = this.listStreamingJobsPagingAll(
+ resourceGroupName,
+ clusterName,
+ options
+ );
+ return {
+ next() {
+ return iter.next();
+ },
+ [Symbol.asyncIterator]() {
+ return this;
+ },
+ byPage: () => {
+ return this.listStreamingJobsPagingPage(
+ resourceGroupName,
+ clusterName,
+ options
+ );
+ }
+ };
}
- /**
- * Lists all of the clusters in the given subscription.
- * @param [options] The optional parameters
- * @returns Promise
- */
- listBySubscription(options?: msRest.RequestOptionsBase): Promise;
- /**
- * @param callback The callback
- */
- listBySubscription(callback: msRest.ServiceCallback): void;
- /**
- * @param options The optional parameters
- * @param callback The callback
- */
- listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
- return this.client.sendOperationRequest(
- {
+ private async *listStreamingJobsPagingPage(
+ resourceGroupName: string,
+ clusterName: string,
+ options?: ClustersListStreamingJobsOptionalParams
+ ): AsyncIterableIterator {
+ let result = await this._listStreamingJobs(
+ resourceGroupName,
+ clusterName,
+ options
+ );
+ yield result.value || [];
+ let continuationToken = result.nextLink;
+ while (continuationToken) {
+ result = await this._listStreamingJobsNext(
+ resourceGroupName,
+ clusterName,
+ continuationToken,
options
- },
- listBySubscriptionOperationSpec,
- callback) as Promise;
+ );
+ continuationToken = result.nextLink;
+ yield result.value || [];
+ }
+ }
+
+ private async *listStreamingJobsPagingAll(
+ resourceGroupName: string,
+ clusterName: string,
+ options?: ClustersListStreamingJobsOptionalParams
+ ): AsyncIterableIterator {
+ for await (const page of this.listStreamingJobsPagingPage(
+ resourceGroupName,
+ clusterName,
+ options
+ )) {
+ yield* page;
+ }
}
/**
- * Lists all of the clusters in the given resource group.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param [options] The optional parameters
- * @returns Promise
- */
- listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise;
- /**
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param callback The callback
- */
- listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void;
- /**
+ * Creates a Stream Analytics Cluster or replaces an already existing cluster.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param options The optional parameters
- * @param callback The callback
+ * @param clusterName The name of the cluster.
+ * @param cluster The definition of the cluster that will be used to create a new cluster or replace
+ * the existing one.
+ * @param options The options parameters.
*/
- listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
- return this.client.sendOperationRequest(
- {
- resourceGroupName,
- options
- },
- listByResourceGroupOperationSpec,
- callback) as Promise;
+ async beginCreateOrUpdate(
+ resourceGroupName: string,
+ clusterName: string,
+ cluster: Cluster,
+ options?: ClustersCreateOrUpdateOptionalParams
+ ): Promise<
+ PollerLike<
+ PollOperationState,
+ ClustersCreateOrUpdateResponse
+ >
+ > {
+ 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, clusterName, cluster, options },
+ createOrUpdateOperationSpec
+ );
+ return new LroEngine(lro, {
+ resumeFrom: options?.resumeFrom,
+ intervalInMs: options?.updateIntervalInMs
+ });
}
/**
- * Lists all of the streaming jobs in the given cluster.
+ * Creates a Stream Analytics Cluster or replaces an already existing cluster.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the cluster.
- * @param [options] The optional parameters
- * @returns Promise
+ * @param cluster The definition of the cluster that will be used to create a new cluster or replace
+ * the existing one.
+ * @param options The options parameters.
*/
- listStreamingJobs(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase): Promise;
+ async beginCreateOrUpdateAndWait(
+ resourceGroupName: string,
+ clusterName: string,
+ cluster: Cluster,
+ options?: ClustersCreateOrUpdateOptionalParams
+ ): Promise {
+ const poller = await this.beginCreateOrUpdate(
+ resourceGroupName,
+ clusterName,
+ cluster,
+ options
+ );
+ return poller.pollUntilDone();
+ }
+
/**
+ * Updates an existing cluster. This can be used to partially update (ie. update one or two properties)
+ * a cluster without affecting the rest of the cluster definition.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the cluster.
- * @param callback The callback
+ * @param cluster The properties specified here will overwrite the corresponding properties in the
+ * existing cluster (ie. Those properties will be updated).
+ * @param options The options parameters.
*/
- listStreamingJobs(resourceGroupName: string, clusterName: string, callback: msRest.ServiceCallback): void;
+ async beginUpdate(
+ resourceGroupName: string,
+ clusterName: string,
+ cluster: Cluster,
+ options?: ClustersUpdateOptionalParams
+ ): Promise<
+ PollerLike<
+ PollOperationState,
+ ClustersUpdateResponse
+ >
+ > {
+ 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, clusterName, cluster, options },
+ updateOperationSpec
+ );
+ return new LroEngine(lro, {
+ resumeFrom: options?.resumeFrom,
+ intervalInMs: options?.updateIntervalInMs
+ });
+ }
+
/**
+ * Updates an existing cluster. This can be used to partially update (ie. update one or two properties)
+ * a cluster without affecting the rest of the cluster definition.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the cluster.
- * @param options The optional parameters
- * @param callback The callback
+ * @param cluster The properties specified here will overwrite the corresponding properties in the
+ * existing cluster (ie. Those properties will be updated).
+ * @param options The options parameters.
*/
- listStreamingJobs(resourceGroupName: string, clusterName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listStreamingJobs(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
- return this.client.sendOperationRequest(
- {
- resourceGroupName,
- clusterName,
- options
- },
- listStreamingJobsOperationSpec,
- callback) as Promise;
+ async beginUpdateAndWait(
+ resourceGroupName: string,
+ clusterName: string,
+ cluster: Cluster,
+ options?: ClustersUpdateOptionalParams
+ ): Promise {
+ const poller = await this.beginUpdate(
+ resourceGroupName,
+ clusterName,
+ cluster,
+ options
+ );
+ return poller.pollUntilDone();
}
/**
- * Creates a Stream Analytics Cluster or replaces an already existing cluster.
- * @param cluster The definition of the cluster that will be used to create a new cluster or
- * replace the existing one.
+ * Gets information about the specified cluster.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the cluster.
- * @param [options] The optional parameters
- * @returns Promise
+ * @param options The options parameters.
*/
- beginCreateOrUpdate(cluster: Models.Cluster, resourceGroupName: string, clusterName: string, options?: Models.ClustersBeginCreateOrUpdateOptionalParams): Promise {
- return this.client.sendLRORequest(
- {
- cluster,
- resourceGroupName,
- clusterName,
- options
- },
- beginCreateOrUpdateOperationSpec,
- options);
+ get(
+ resourceGroupName: string,
+ clusterName: string,
+ options?: ClustersGetOptionalParams
+ ): Promise {
+ return this.client.sendOperationRequest(
+ { resourceGroupName, clusterName, options },
+ getOperationSpec
+ );
}
/**
- * Updates an existing cluster. This can be used to partially update (ie. update one or two
- * properties) a cluster without affecting the rest of the cluster definition.
- * @param cluster The properties specified here will overwrite the corresponding properties in the
- * existing cluster (ie. Those properties will be updated).
+ * Deletes the specified cluster.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the cluster.
- * @param [options] The optional parameters
- * @returns Promise
+ * @param options The options parameters.
*/
- beginUpdate(cluster: Models.Cluster, resourceGroupName: string, clusterName: string, options?: Models.ClustersBeginUpdateOptionalParams): Promise {
- return this.client.sendLRORequest(
- {
- cluster,
- resourceGroupName,
- clusterName,
- options
- },
- beginUpdateOperationSpec,
- options);
+ async beginDelete(
+ resourceGroupName: string,
+ clusterName: string,
+ options?: ClustersDeleteOptionalParams
+ ): 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, clusterName, options },
+ deleteOperationSpec
+ );
+ return new LroEngine(lro, {
+ resumeFrom: options?.resumeFrom,
+ intervalInMs: options?.updateIntervalInMs
+ });
}
/**
* Deletes the specified cluster.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the cluster.
- * @param [options] The optional parameters
- * @returns Promise
+ * @param options The options parameters.
*/
- beginDeleteMethod(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase): Promise {
- return this.client.sendLRORequest(
- {
- resourceGroupName,
- clusterName,
- options
- },
- beginDeleteMethodOperationSpec,
- options);
+ async beginDeleteAndWait(
+ resourceGroupName: string,
+ clusterName: string,
+ options?: ClustersDeleteOptionalParams
+ ): Promise {
+ const poller = await this.beginDelete(
+ resourceGroupName,
+ clusterName,
+ options
+ );
+ return poller.pollUntilDone();
}
/**
* Lists all of the clusters in the given subscription.
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param [options] The optional parameters
- * @returns Promise
+ * @param options The options parameters.
*/
- listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise;
- /**
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param callback The callback
- */
- listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
- /**
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param options The optional parameters
- * @param callback The callback
- */
- listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ private _listBySubscription(
+ options?: ClustersListBySubscriptionOptionalParams
+ ): Promise {
return this.client.sendOperationRequest(
- {
- nextPageLink,
- options
- },
- listBySubscriptionNextOperationSpec,
- callback) as Promise;
+ { options },
+ listBySubscriptionOperationSpec
+ );
}
/**
* Lists all of the clusters in the given resource group.
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param [options] The optional parameters
- * @returns Promise
- */
- listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): 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. The name is case insensitive.
+ * @param options The options parameters.
*/
- listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
+ private _listByResourceGroup(
+ resourceGroupName: string,
+ options?: ClustersListByResourceGroupOptionalParams
+ ): Promise {
+ return this.client.sendOperationRequest(
+ { resourceGroupName, options },
+ listByResourceGroupOperationSpec
+ );
+ }
+
/**
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param options The optional parameters
- * @param callback The callback
+ * Lists all of the streaming jobs in the given cluster.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster.
+ * @param options The options parameters.
*/
- listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ private _listStreamingJobs(
+ resourceGroupName: string,
+ clusterName: string,
+ options?: ClustersListStreamingJobsOptionalParams
+ ): Promise {
return this.client.sendOperationRequest(
- {
- nextPageLink,
- options
- },
- listByResourceGroupNextOperationSpec,
- callback) as Promise;
+ { resourceGroupName, clusterName, options },
+ listStreamingJobsOperationSpec
+ );
}
/**
- * Lists all of the streaming jobs in the given cluster.
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param [options] The optional parameters
- * @returns Promise
+ * ListBySubscriptionNext
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
+ * @param options The options parameters.
*/
- listStreamingJobsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise;
+ private _listBySubscriptionNext(
+ nextLink: string,
+ options?: ClustersListBySubscriptionNextOptionalParams
+ ): Promise {
+ return this.client.sendOperationRequest(
+ { nextLink, options },
+ listBySubscriptionNextOperationSpec
+ );
+ }
+
/**
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param callback The callback
+ * ListByResourceGroupNext
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
+ * @param options The options parameters.
*/
- listStreamingJobsNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
+ private _listByResourceGroupNext(
+ resourceGroupName: string,
+ nextLink: string,
+ options?: ClustersListByResourceGroupNextOptionalParams
+ ): Promise {
+ return this.client.sendOperationRequest(
+ { resourceGroupName, nextLink, options },
+ listByResourceGroupNextOperationSpec
+ );
+ }
+
/**
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param options The optional parameters
- * @param callback The callback
+ * ListStreamingJobsNext
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param clusterName The name of the cluster.
+ * @param nextLink The nextLink from the previous successful call to the ListStreamingJobs method.
+ * @param options The options parameters.
*/
- listStreamingJobsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- listStreamingJobsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ private _listStreamingJobsNext(
+ resourceGroupName: string,
+ clusterName: string,
+ nextLink: string,
+ options?: ClustersListStreamingJobsNextOptionalParams
+ ): Promise {
return this.client.sendOperationRequest(
- {
- nextPageLink,
- options
- },
- listStreamingJobsNextOperationSpec,
- callback) as Promise;
+ { resourceGroupName, clusterName, nextLink, options },
+ listStreamingJobsNextOperationSpec
+ );
}
}
-
// Operation Specifications
-const serializer = new msRest.Serializer(Mappers);
-const getOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters/{clusterName}",
- urlParameters: [
- Parameters.subscriptionId,
- Parameters.resourceGroupName,
- Parameters.clusterName
- ],
- queryParameters: [
- Parameters.apiVersion1
- ],
- headerParameters: [
- Parameters.acceptLanguage
- ],
+const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
+
+const createOrUpdateOperationSpec: coreClient.OperationSpec = {
+ path:
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters/{clusterName}",
+ httpMethod: "PUT",
responses: {
200: {
bodyMapper: Mappers.Cluster
},
+ 201: {
+ bodyMapper: Mappers.Cluster
+ },
+ 202: {
+ bodyMapper: Mappers.Cluster
+ },
+ 204: {
+ bodyMapper: Mappers.Cluster
+ },
default: {
bodyMapper: Mappers.ErrorModel
}
},
- serializer
-};
-
-const listBySubscriptionOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
- path: "subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/clusters",
+ requestBody: Parameters.cluster,
+ queryParameters: [Parameters.apiVersion1],
urlParameters: [
- Parameters.subscriptionId
- ],
- queryParameters: [
- Parameters.apiVersion1
+ Parameters.$host,
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.clusterName
],
headerParameters: [
- Parameters.acceptLanguage
+ Parameters.contentType,
+ Parameters.accept,
+ Parameters.ifMatch,
+ Parameters.ifNoneMatch
],
+ mediaType: "json",
+ serializer
+};
+const updateOperationSpec: coreClient.OperationSpec = {
+ path:
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters/{clusterName}",
+ httpMethod: "PATCH",
responses: {
200: {
- bodyMapper: Mappers.ClusterListResult
+ bodyMapper: Mappers.Cluster
+ },
+ 201: {
+ bodyMapper: Mappers.Cluster
+ },
+ 202: {
+ bodyMapper: Mappers.Cluster
+ },
+ 204: {
+ bodyMapper: Mappers.Cluster
},
default: {
bodyMapper: Mappers.ErrorModel
}
},
- serializer
-};
-
-const listByResourceGroupOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters",
+ requestBody: Parameters.cluster,
+ queryParameters: [Parameters.apiVersion1],
urlParameters: [
+ Parameters.$host,
Parameters.subscriptionId,
- Parameters.resourceGroupName
- ],
- queryParameters: [
- Parameters.apiVersion1
+ Parameters.resourceGroupName,
+ Parameters.clusterName
],
headerParameters: [
- Parameters.acceptLanguage
+ Parameters.contentType,
+ Parameters.accept,
+ Parameters.ifMatch
],
+ mediaType: "json",
+ serializer
+};
+const getOperationSpec: coreClient.OperationSpec = {
+ path:
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters/{clusterName}",
+ httpMethod: "GET",
responses: {
200: {
- bodyMapper: Mappers.ClusterListResult
+ bodyMapper: Mappers.Cluster
},
default: {
bodyMapper: Mappers.ErrorModel
}
},
- serializer
-};
-
-const listStreamingJobsOperationSpec: msRest.OperationSpec = {
- httpMethod: "POST",
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters/{clusterName}/listStreamingJobs",
+ queryParameters: [Parameters.apiVersion1],
urlParameters: [
+ Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.clusterName
],
- queryParameters: [
- Parameters.apiVersion1
- ],
- headerParameters: [
- Parameters.acceptLanguage
- ],
+ headerParameters: [Parameters.accept],
+ serializer
+};
+const deleteOperationSpec: coreClient.OperationSpec = {
+ path:
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters/{clusterName}",
+ httpMethod: "DELETE",
responses: {
- 200: {
- bodyMapper: Mappers.ClusterJobListResult
- },
+ 200: {},
+ 201: {},
+ 202: {},
+ 204: {},
default: {
bodyMapper: Mappers.ErrorModel
}
},
- serializer
-};
-
-const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
- httpMethod: "PUT",
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters/{clusterName}",
+ queryParameters: [Parameters.apiVersion1],
urlParameters: [
+ Parameters.$host,
Parameters.subscriptionId,
Parameters.resourceGroupName,
Parameters.clusterName
],
- queryParameters: [
- Parameters.apiVersion1
- ],
- headerParameters: [
- Parameters.ifMatch,
- Parameters.ifNoneMatch,
- Parameters.acceptLanguage
- ],
- requestBody: {
- parameterPath: "cluster",
- mapper: {
- ...Mappers.Cluster,
- required: true
- }
- },
+ headerParameters: [Parameters.accept],
+ serializer
+};
+const listBySubscriptionOperationSpec: coreClient.OperationSpec = {
+ path:
+ "/subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/clusters",
+ httpMethod: "GET",
responses: {
200: {
- bodyMapper: Mappers.Cluster
- },
- 201: {
- bodyMapper: Mappers.Cluster
+ bodyMapper: Mappers.ClusterListResult
},
default: {
bodyMapper: Mappers.ErrorModel
}
},
+ queryParameters: [Parameters.apiVersion1],
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
+ headerParameters: [Parameters.accept],
serializer
};
-
-const beginUpdateOperationSpec: msRest.OperationSpec = {
- httpMethod: "PATCH",
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters/{clusterName}",
- urlParameters: [
- Parameters.subscriptionId,
- Parameters.resourceGroupName,
- Parameters.clusterName
- ],
- queryParameters: [
- Parameters.apiVersion1
- ],
- headerParameters: [
- Parameters.ifMatch,
- Parameters.acceptLanguage
- ],
- requestBody: {
- parameterPath: "cluster",
- mapper: {
- ...Mappers.Cluster,
- required: true
- }
- },
+const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
+ path:
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters",
+ httpMethod: "GET",
responses: {
200: {
- bodyMapper: Mappers.Cluster
+ bodyMapper: Mappers.ClusterListResult
},
- 202: {},
default: {
bodyMapper: Mappers.ErrorModel
}
},
- serializer
-};
-
-const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
- httpMethod: "DELETE",
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters/{clusterName}",
+ queryParameters: [Parameters.apiVersion1],
urlParameters: [
+ Parameters.$host,
Parameters.subscriptionId,
- Parameters.resourceGroupName,
- Parameters.clusterName
- ],
- queryParameters: [
- Parameters.apiVersion1
- ],
- headerParameters: [
- Parameters.acceptLanguage
+ Parameters.resourceGroupName
],
+ headerParameters: [Parameters.accept],
+ serializer
+};
+const listStreamingJobsOperationSpec: coreClient.OperationSpec = {
+ path:
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters/{clusterName}/listStreamingJobs",
+ httpMethod: "POST",
responses: {
- 200: {},
- 202: {},
- 204: {},
+ 200: {
+ bodyMapper: Mappers.ClusterJobListResult
+ },
default: {
bodyMapper: Mappers.ErrorModel
}
},
+ queryParameters: [Parameters.apiVersion1],
+ urlParameters: [
+ Parameters.$host,
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.clusterName
+ ],
+ headerParameters: [Parameters.accept],
serializer
};
-
-const listBySubscriptionNextOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
- baseUrl: "https://management.azure.com",
+const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {
path: "{nextLink}",
- urlParameters: [
- Parameters.nextPageLink
- ],
- queryParameters: [
- Parameters.apiVersion1
- ],
- headerParameters: [
- Parameters.acceptLanguage
- ],
+ httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ClusterListResult
@@ -545,22 +790,18 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.ErrorModel
}
},
+ queryParameters: [Parameters.apiVersion1],
+ urlParameters: [
+ Parameters.$host,
+ Parameters.subscriptionId,
+ Parameters.nextLink
+ ],
+ headerParameters: [Parameters.accept],
serializer
};
-
-const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
- baseUrl: "https://management.azure.com",
+const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
path: "{nextLink}",
- urlParameters: [
- Parameters.nextPageLink
- ],
- queryParameters: [
- Parameters.apiVersion1
- ],
- headerParameters: [
- Parameters.acceptLanguage
- ],
+ httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ClusterListResult
@@ -569,22 +810,19 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.ErrorModel
}
},
+ queryParameters: [Parameters.apiVersion1],
+ urlParameters: [
+ Parameters.$host,
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.nextLink
+ ],
+ headerParameters: [Parameters.accept],
serializer
};
-
-const listStreamingJobsNextOperationSpec: msRest.OperationSpec = {
- httpMethod: "POST",
- baseUrl: "https://management.azure.com",
+const listStreamingJobsNextOperationSpec: coreClient.OperationSpec = {
path: "{nextLink}",
- urlParameters: [
- Parameters.nextPageLink
- ],
- queryParameters: [
- Parameters.apiVersion1
- ],
- headerParameters: [
- Parameters.acceptLanguage
- ],
+ httpMethod: "GET",
responses: {
200: {
bodyMapper: Mappers.ClusterJobListResult
@@ -593,5 +831,14 @@ const listStreamingJobsNextOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.ErrorModel
}
},
+ queryParameters: [Parameters.apiVersion1],
+ urlParameters: [
+ Parameters.$host,
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.nextLink,
+ Parameters.clusterName
+ ],
+ headerParameters: [Parameters.accept],
serializer
};
diff --git a/sdk/streamanalytics/arm-streamanalytics/src/operations/functions.ts b/sdk/streamanalytics/arm-streamanalytics/src/operations/functions.ts
index 98b7a81f248b..77b33c466d42 100644
--- a/sdk/streamanalytics/arm-streamanalytics/src/operations/functions.ts
+++ b/sdk/streamanalytics/arm-streamanalytics/src/operations/functions.ts
@@ -3,121 +3,166 @@
* 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/functionsMappers";
+import { PagedAsyncIterableIterator } from "@azure/core-paging";
+import { Functions } from "../operationsInterfaces";
+import * as coreClient from "@azure/core-client";
+import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { StreamAnalyticsManagementClientContext } from "../streamAnalyticsManagementClientContext";
+import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
+import { LroImpl } from "../lroImpl";
+import {
+ FunctionModel,
+ FunctionsListByStreamingJobNextOptionalParams,
+ FunctionsListByStreamingJobOptionalParams,
+ FunctionsCreateOrReplaceOptionalParams,
+ FunctionsCreateOrReplaceResponse,
+ FunctionsUpdateOptionalParams,
+ FunctionsUpdateResponse,
+ FunctionsDeleteOptionalParams,
+ FunctionsGetOptionalParams,
+ FunctionsGetResponse,
+ FunctionsListByStreamingJobResponse,
+ FunctionsTestOptionalParams,
+ FunctionsTestResponse,
+ FunctionsRetrieveDefaultDefinitionOptionalParams,
+ FunctionsRetrieveDefaultDefinitionResponse,
+ FunctionsListByStreamingJobNextResponse
+} from "../models";
-/** Class representing a Functions. */
-export class Functions {
+///
+/** Class containing Functions operations. */
+export class FunctionsImpl implements Functions {
private readonly client: StreamAnalyticsManagementClientContext;
/**
- * Create a Functions.
- * @param {StreamAnalyticsManagementClientContext} client Reference to the service client.
+ * Initialize a new instance of the class Functions class.
+ * @param client Reference to the service client
*/
constructor(client: StreamAnalyticsManagementClientContext) {
this.client = client;
}
/**
- * Creates a function or replaces an already existing function under an existing streaming job.
- * @param functionParameter The definition of the function that will be used to create a new
- * function or replace the existing one under the streaming job.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName The name of the streaming job.
- * @param functionName The name of the function.
- * @param [options] The optional parameters
- * @returns Promise
- */
- createOrReplace(functionParameter: Models.FunctionModel, resourceGroupName: string, jobName: string, functionName: string, options?: Models.FunctionsCreateOrReplaceOptionalParams): Promise;
- /**
- * @param functionParameter The definition of the function that will be used to create a new
- * function or replace the existing one under the streaming job.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName The name of the streaming job.
- * @param functionName The name of the function.
- * @param callback The callback
- */
- createOrReplace(functionParameter: Models.FunctionModel, resourceGroupName: string, jobName: string, functionName: string, callback: msRest.ServiceCallback): void;
- /**
- * @param functionParameter The definition of the function that will be used to create a new
- * function or replace the existing one under the streaming job.
+ * Lists all of the functions under the specified streaming job.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName The name of the streaming job.
- * @param functionName The name of the function.
- * @param options The optional parameters
- * @param callback The callback
+ * @param options The options parameters.
*/
- createOrReplace(functionParameter: Models.FunctionModel, resourceGroupName: string, jobName: string, functionName: string, options: Models.FunctionsCreateOrReplaceOptionalParams, callback: msRest.ServiceCallback): void;
- createOrReplace(functionParameter: Models.FunctionModel, resourceGroupName: string, jobName: string, functionName: string, options?: Models.FunctionsCreateOrReplaceOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
- return this.client.sendOperationRequest(
- {
- functionParameter,
+ public listByStreamingJob(
+ resourceGroupName: string,
+ jobName: string,
+ options?: FunctionsListByStreamingJobOptionalParams
+ ): PagedAsyncIterableIterator {
+ const iter = this.listByStreamingJobPagingAll(
+ resourceGroupName,
+ jobName,
+ options
+ );
+ return {
+ next() {
+ return iter.next();
+ },
+ [Symbol.asyncIterator]() {
+ return this;
+ },
+ byPage: () => {
+ return this.listByStreamingJobPagingPage(
+ resourceGroupName,
+ jobName,
+ options
+ );
+ }
+ };
+ }
+
+ private async *listByStreamingJobPagingPage(
+ resourceGroupName: string,
+ jobName: string,
+ options?: FunctionsListByStreamingJobOptionalParams
+ ): AsyncIterableIterator {
+ let result = await this._listByStreamingJob(
+ resourceGroupName,
+ jobName,
+ options
+ );
+ yield result.value || [];
+ let continuationToken = result.nextLink;
+ while (continuationToken) {
+ result = await this._listByStreamingJobNext(
resourceGroupName,
jobName,
- functionName,
+ continuationToken,
options
- },
- createOrReplaceOperationSpec,
- callback) as Promise;
+ );
+ continuationToken = result.nextLink;
+ yield result.value || [];
+ }
+ }
+
+ private async *listByStreamingJobPagingAll(
+ resourceGroupName: string,
+ jobName: string,
+ options?: FunctionsListByStreamingJobOptionalParams
+ ): AsyncIterableIterator {
+ for await (const page of this.listByStreamingJobPagingPage(
+ resourceGroupName,
+ jobName,
+ options
+ )) {
+ yield* page;
+ }
}
/**
- * Updates an existing function under an existing streaming job. This can be used to partially
- * update (ie. update one or two properties) a function without affecting the rest the job or
- * function definition.
- * @param functionParameter A function object. The properties specified here will overwrite the
- * corresponding properties in the existing function (ie. Those properties will be updated). Any
- * properties that are set to null here will mean that the corresponding property in the existing
- * function will remain the same and not change as a result of this PATCH operation.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName The name of the streaming job.
- * @param functionName The name of the function.
- * @param [options] The optional parameters
- * @returns Promise
- */
- update(functionParameter: Models.FunctionModel, resourceGroupName: string, jobName: string, functionName: string, options?: Models.FunctionsUpdateOptionalParams): Promise;
- /**
- * @param functionParameter A function object. The properties specified here will overwrite the
- * corresponding properties in the existing function (ie. Those properties will be updated). Any
- * properties that are set to null here will mean that the corresponding property in the existing
- * function will remain the same and not change as a result of this PATCH operation.
+ * Creates a function or replaces an already existing function under an existing streaming job.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName The name of the streaming job.
* @param functionName The name of the function.
- * @param callback The callback
+ * @param functionParam The definition of the function that will be used to create a new function or
+ * replace the existing one under the streaming job.
+ * @param options The options parameters.
*/
- update(functionParameter: Models.FunctionModel, resourceGroupName: string, jobName: string, functionName: string, callback: msRest.ServiceCallback): void;
+ createOrReplace(
+ resourceGroupName: string,
+ jobName: string,
+ functionName: string,
+ functionParam: FunctionModel,
+ options?: FunctionsCreateOrReplaceOptionalParams
+ ): Promise {
+ return this.client.sendOperationRequest(
+ { resourceGroupName, jobName, functionName, functionParam, options },
+ createOrReplaceOperationSpec
+ );
+ }
+
/**
- * @param functionParameter A function object. The properties specified here will overwrite the
- * corresponding properties in the existing function (ie. Those properties will be updated). Any
- * properties that are set to null here will mean that the corresponding property in the existing
- * function will remain the same and not change as a result of this PATCH operation.
+ * Updates an existing function under an existing streaming job. This can be used to partially update
+ * (ie. update one or two properties) a function without affecting the rest the job or function
+ * definition.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName The name of the streaming job.
* @param functionName The name of the function.
- * @param options The optional parameters
- * @param callback The callback
+ * @param functionParam A function object. The properties specified here will overwrite the
+ * corresponding properties in the existing function (ie. Those properties will be updated). Any
+ * properties that are set to null here will mean that the corresponding property in the existing
+ * function will remain the same and not change as a result of this PATCH operation.
+ * @param options The options parameters.
*/
- update(functionParameter: Models.FunctionModel, resourceGroupName: string, jobName: string, functionName: string, options: Models.FunctionsUpdateOptionalParams, callback: msRest.ServiceCallback): void;
- update(functionParameter: Models.FunctionModel, resourceGroupName: string, jobName: string, functionName: string, options?: Models.FunctionsUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ update(
+ resourceGroupName: string,
+ jobName: string,
+ functionName: string,
+ functionParam: FunctionModel,
+ options?: FunctionsUpdateOptionalParams
+ ): Promise {
return this.client.sendOperationRequest(
- {
- functionParameter,
- resourceGroupName,
- jobName,
- functionName,
- options
- },
- updateOperationSpec,
- callback) as Promise;
+ { resourceGroupName, jobName, functionName, functionParam, options },
+ updateOperationSpec
+ );
}
/**
@@ -125,35 +170,18 @@ export class Functions {
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName The name of the streaming job.
* @param functionName The name of the function.
- * @param [options] The optional parameters
- * @returns Promise
- */
- deleteMethod(resourceGroupName: string, jobName: string, functionName: string, options?: msRest.RequestOptionsBase): Promise;
- /**
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName The name of the streaming job.
- * @param functionName The name of the function.
- * @param callback The callback
- */
- deleteMethod(resourceGroupName: string, jobName: string, functionName: string, callback: msRest.ServiceCallback): void;
- /**
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName The name of the streaming job.
- * @param functionName The name of the function.
- * @param options The optional parameters
- * @param callback The callback
+ * @param options The options parameters.
*/
- deleteMethod(resourceGroupName: string, jobName: string, functionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- deleteMethod(resourceGroupName: string, jobName: string, functionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ delete(
+ resourceGroupName: string,
+ jobName: string,
+ functionName: string,
+ options?: FunctionsDeleteOptionalParams
+ ): Promise {
return this.client.sendOperationRequest(
- {
- resourceGroupName,
- jobName,
- functionName,
- options
- },
- deleteMethodOperationSpec,
- callback);
+ { resourceGroupName, jobName, functionName, options },
+ deleteOperationSpec
+ );
}
/**
@@ -161,67 +189,35 @@ export class Functions {
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName The name of the streaming job.
* @param functionName The name of the function.
- * @param [options] The optional parameters
- * @returns Promise
+ * @param options The options parameters.
*/
- get(resourceGroupName: string, jobName: string, functionName: string, options?: msRest.RequestOptionsBase): Promise;
- /**
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName The name of the streaming job.
- * @param functionName The name of the function.
- * @param callback The callback
- */
- get(resourceGroupName: string, jobName: string, functionName: string, callback: msRest.ServiceCallback): void;
- /**
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName The name of the streaming job.
- * @param functionName The name of the function.
- * @param options The optional parameters
- * @param callback The callback
- */
- get(resourceGroupName: string, jobName: string, functionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- get(resourceGroupName: string, jobName: string, functionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ get(
+ resourceGroupName: string,
+ jobName: string,
+ functionName: string,
+ options?: FunctionsGetOptionalParams
+ ): Promise {
return this.client.sendOperationRequest(
- {
- resourceGroupName,
- jobName,
- functionName,
- options
- },
- getOperationSpec,
- callback) as Promise;
+ { resourceGroupName, jobName, functionName, options },
+ getOperationSpec
+ );
}
/**
* Lists all of the functions under the specified streaming job.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName The name of the streaming job.
- * @param [options] The optional parameters
- * @returns Promise
- */
- listByStreamingJob(resourceGroupName: string, jobName: string, options?: Models.FunctionsListByStreamingJobOptionalParams): Promise;
- /**
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName The name of the streaming job.
- * @param callback The callback
- */
- listByStreamingJob(resourceGroupName: string, jobName: string, callback: msRest.ServiceCallback): void;
- /**
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName The name of the streaming job.
- * @param options The optional parameters
- * @param callback The callback
+ * @param options The options parameters.
*/
- listByStreamingJob(resourceGroupName: string, jobName: string, options: Models.FunctionsListByStreamingJobOptionalParams, callback: msRest.ServiceCallback): void;
- listByStreamingJob(resourceGroupName: string, jobName: string, options?: Models.FunctionsListByStreamingJobOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ private _listByStreamingJob(
+ resourceGroupName: string,
+ jobName: string,
+ options?: FunctionsListByStreamingJobOptionalParams
+ ): Promise {
return this.client.sendOperationRequest(
- {
- resourceGroupName,
- jobName,
- options
- },
- listByStreamingJobOperationSpec,
- callback) as Promise;
+ { resourceGroupName, jobName, options },
+ listByStreamingJobOperationSpec
+ );
}
/**
@@ -231,127 +227,135 @@ export class Functions {
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName The name of the streaming job.
* @param functionName The name of the function.
- * @param [options] The optional parameters
- * @returns Promise
+ * @param options The options parameters.
*/
- test(resourceGroupName: string, jobName: string, functionName: string, options?: Models.FunctionsTestOptionalParams): Promise {
- return this.beginTest(resourceGroupName,jobName,functionName,options)
- .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ async beginTest(
+ resourceGroupName: string,
+ jobName: string,
+ functionName: string,
+ options?: FunctionsTestOptionalParams
+ ): Promise<
+ PollerLike, FunctionsTestResponse>
+ > {
+ 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, jobName, functionName, options },
+ testOperationSpec
+ );
+ return new LroEngine(lro, {
+ resumeFrom: options?.resumeFrom,
+ intervalInMs: options?.updateIntervalInMs
+ });
}
/**
- * Retrieves the default definition of a function based on the parameters specified.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param jobName The name of the streaming job.
- * @param functionName The name of the function.
- * @param [options] The optional parameters
- * @returns Promise
- */
- retrieveDefaultDefinition(resourceGroupName: string, jobName: string, functionName: string, options?: Models.FunctionsRetrieveDefaultDefinitionOptionalParams): Promise;
- /**
+ * Tests if the information provided for a function is valid. This can range from testing the
+ * connection to the underlying web service behind the function or making sure the function code
+ * provided is syntactically correct.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName The name of the streaming job.
* @param functionName The name of the function.
- * @param callback The callback
+ * @param options The options parameters.
*/
- retrieveDefaultDefinition(resourceGroupName: string, jobName: string, functionName: string, callback: msRest.ServiceCallback): void;
+ async beginTestAndWait(
+ resourceGroupName: string,
+ jobName: string,
+ functionName: string,
+ options?: FunctionsTestOptionalParams
+ ): Promise {
+ const poller = await this.beginTest(
+ resourceGroupName,
+ jobName,
+ functionName,
+ options
+ );
+ return poller.pollUntilDone();
+ }
+
/**
+ * Retrieves the default definition of a function based on the parameters specified.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName The name of the streaming job.
* @param functionName The name of the function.
- * @param options The optional parameters
- * @param callback The callback
+ * @param options The options parameters.
*/
- retrieveDefaultDefinition(resourceGroupName: string, jobName: string, functionName: string, options: Models.FunctionsRetrieveDefaultDefinitionOptionalParams, callback: msRest.ServiceCallback): void;
- retrieveDefaultDefinition(resourceGroupName: string, jobName: string, functionName: string, options?: Models.FunctionsRetrieveDefaultDefinitionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ retrieveDefaultDefinition(
+ resourceGroupName: string,
+ jobName: string,
+ functionName: string,
+ options?: FunctionsRetrieveDefaultDefinitionOptionalParams
+ ): Promise {
return this.client.sendOperationRequest(
- {
- resourceGroupName,
- jobName,
- functionName,
- options
- },
- retrieveDefaultDefinitionOperationSpec,
- callback) as Promise;
+ { resourceGroupName, jobName, functionName, options },
+ retrieveDefaultDefinitionOperationSpec
+ );
}
/**
- * Tests if the information provided for a function is valid. This can range from testing the
- * connection to the underlying web service behind the function or making sure the function code
- * provided is syntactically correct.
+ * ListByStreamingJobNext
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName The name of the streaming job.
- * @param functionName The name of the function.
- * @param [options] The optional parameters
- * @returns Promise
- */
- beginTest(resourceGroupName: string, jobName: string, functionName: string, options?: Models.FunctionsBeginTestOptionalParams): Promise {
- return this.client.sendLRORequest(
- {
- resourceGroupName,
- jobName,
- functionName,
- options
- },
- beginTestOperationSpec,
- options);
- }
-
- /**
- * Lists all of the functions under the specified streaming job.
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param [options] The optional parameters
- * @returns Promise
+ * @param nextLink The nextLink from the previous successful call to the ListByStreamingJob method.
+ * @param options The options parameters.
*/
- listByStreamingJobNext(nextPageLink: string, options?: Models.FunctionsListByStreamingJobNextOptionalParams): Promise;
- /**
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param callback The callback
- */
- listByStreamingJobNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
- /**
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param options The optional parameters
- * @param callback The callback
- */
- listByStreamingJobNext(nextPageLink: string, options: Models.FunctionsListByStreamingJobNextOptionalParams, callback: msRest.ServiceCallback