Skip to content

Commit

Permalink
CodeGen from PR 18305 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 61c845101521c651ed892fb7e33aea71ee0c0db5 into 4bd83868c6ae7f731874b6673f400ca97914ee97
  • Loading branch information
SDKAuto committed Mar 25, 2022
1 parent d7fe99a commit c854aae
Show file tree
Hide file tree
Showing 12 changed files with 410 additions and 269 deletions.
28 changes: 14 additions & 14 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 15 additions & 11 deletions sdk/streamanalytics/arm-streamanalytics/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
# Release History

## 4.0.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes


## 4.1.0 (2022-03-25)

**Features**

- Added Type Alias AggregateFunctionProperties
- Added Type Alias AzureFunctionOutputDataSource
- Interface BlobDataSourceProperties has a new optional parameter authenticationMode
- Interface FunctionProperties has a new optional parameter binding
- Interface FunctionProperties has a new optional parameter inputs
- Interface FunctionProperties has a new optional parameter output
- Type Alias BlobReferenceInputDataSource has a new parameter authenticationMode
- Type Alias BlobStreamInputDataSource has a new parameter authenticationMode


## 4.0.0 (2021-12-10)

The package of @azure/arm-streamanalytics is using our next generation design principles since version 4.0.0, which contains breaking changes.
Expand Down
2 changes: 1 addition & 1 deletion sdk/streamanalytics/arm-streamanalytics/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2021 Microsoft
Copyright (c) 2022 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
7 changes: 4 additions & 3 deletions sdk/streamanalytics/arm-streamanalytics/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"commit": "76f8e0c50629ef12aa338d55782278ceca46212a",
"commit": "80adcdcee4ebf4c120333e0f82b25ac84a940267",
"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-alpha.16.20211130.1",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/streamanalytics/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220105.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/typescript@6.0.0-alpha.16.20211130.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.2.1",
"use": "@autorest/typescript@6.0.0-alpha.16.20220105.1"
}
25 changes: 19 additions & 6 deletions sdk/streamanalytics/arm-streamanalytics/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
{
"$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" },
"docModel": {
"enabled": true
},
"apiReport": {
"enabled": true,
"reportFolder": "./review"
},
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "./types/arm-streamanalytics.d.ts"
},
"messages": {
"tsdocMessageReporting": { "default": { "logLevel": "none" } },
"tsdocMessageReporting": {
"default": {
"logLevel": "none"
}
},
"extractorMessageReporting": {
"ae-missing-release-tag": { "logLevel": "none" },
"ae-unresolved-link": { "logLevel": "none" }
"ae-missing-release-tag": {
"logLevel": "none"
},
"ae-unresolved-link": {
"logLevel": "none"
}
}
}
}
}
8 changes: 4 additions & 4 deletions sdk/streamanalytics/arm-streamanalytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for StreamAnalyticsManagementClient.",
"version": "4.0.1",
"version": "4.1.0",
"engines": {
"node": ">=12.0.0"
},
Expand All @@ -29,12 +29,12 @@
"types": "./types/arm-streamanalytics.d.ts",
"devDependencies": {
"@microsoft/api-extractor": "^7.18.11",
"@rollup/plugin-commonjs": "^21.0.1",
"@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": "^2.0.0",
"rollup": "^1.16.3",
"rollup-plugin-sourcemaps": "^0.4.2",
"typescript": "~4.2.0",
"uglify-js": "^3.4.9",
Expand Down Expand Up @@ -99,4 +99,4 @@
},
"sideEffects": false,
"autoPublish": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ 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;

Expand Down Expand Up @@ -43,6 +48,16 @@ export type AzureDataLakeStoreOutputDataSourceProperties = OAuthBasedDataSourceP
authenticationMode?: AuthenticationMode;
};

// @public
export type AzureFunctionOutputDataSource = OutputDataSource & {
type: "Microsoft.AzureFunction";
functionAppName?: string;
functionName?: string;
apiKey?: string;
maxBatchSize?: number;
maxBatchCount?: number;
};

// @public
export type AzureMachineLearningWebServiceFunctionBinding = FunctionBinding & {
type: "Microsoft.MachineLearning/WebService";
Expand Down Expand Up @@ -157,6 +172,7 @@ export type AzureTableOutputDataSource = OutputDataSource & {

// @public
export interface BlobDataSourceProperties {
authenticationMode?: AuthenticationMode;
container?: string;
dateFormat?: string;
pathPattern?: string;
Expand All @@ -176,9 +192,7 @@ export type BlobOutputDataSource = OutputDataSource & {
};

// @public
export type BlobOutputDataSourceProperties = BlobDataSourceProperties & {
authenticationMode?: AuthenticationMode;
};
export type BlobOutputDataSourceProperties = BlobDataSourceProperties & {};

// @public
export type BlobReferenceInputDataSource = ReferenceInputDataSource & {
Expand All @@ -188,6 +202,7 @@ export type BlobReferenceInputDataSource = ReferenceInputDataSource & {
pathPattern?: string;
dateFormat?: string;
timeFormat?: string;
authenticationMode?: AuthenticationMode;
};

// @public
Expand All @@ -201,6 +216,7 @@ export type BlobStreamInputDataSource = StreamInputDataSource & {
pathPattern?: string;
dateFormat?: string;
timeFormat?: string;
authenticationMode?: AuthenticationMode;
sourcePartitionCount?: number;
};

Expand Down Expand Up @@ -519,12 +535,16 @@ export interface FunctionOutput {

// @public
export interface FunctionProperties {
binding?: FunctionBindingUnion;
readonly etag?: string;
type: "Scalar";
// (undocumented)
inputs?: FunctionInput[];
output?: FunctionOutput;
type: "Scalar" | "Aggregate";
}

// @public (undocumented)
export type FunctionPropertiesUnion = FunctionProperties | ScalarFunctionProperties;
export type FunctionPropertiesUnion = FunctionProperties | ScalarFunctionProperties | AggregateFunctionProperties;

// @public
export interface FunctionRetrieveDefaultDefinitionParameters {
Expand Down Expand Up @@ -976,11 +996,11 @@ export type Output = SubResource & {

// @public
export interface OutputDataSource {
type: "Microsoft.Storage/Blob" | "Microsoft.Storage/Table" | "Microsoft.ServiceBus/EventHub" | "Microsoft.EventHub/EventHub" | "Microsoft.Sql/Server/Database" | "Microsoft.Sql/Server/DataWarehouse" | "Microsoft.Storage/DocumentDB" | "Microsoft.ServiceBus/Queue" | "Microsoft.ServiceBus/Topic" | "PowerBI" | "Microsoft.DataLake/Accounts";
type: "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 | BlobOutputDataSource | AzureTableOutputDataSource | EventHubOutputDataSource | EventHubV2OutputDataSource | AzureSqlDatabaseOutputDataSource | AzureSynapseOutputDataSource | DocumentDbOutputDataSource | ServiceBusQueueOutputDataSource | ServiceBusTopicOutputDataSource | PowerBIOutputDataSource | AzureDataLakeStoreOutputDataSource;
export type OutputDataSourceUnion = OutputDataSource | BlobOutputDataSource | AzureTableOutputDataSource | EventHubOutputDataSource | EventHubV2OutputDataSource | AzureSqlDatabaseOutputDataSource | AzureSynapseOutputDataSource | DocumentDbOutputDataSource | AzureFunctionOutputDataSource | ServiceBusQueueOutputDataSource | ServiceBusTopicOutputDataSource | PowerBIOutputDataSource | AzureDataLakeStoreOutputDataSource;

// @public
export type OutputErrorPolicy = string;
Expand Down Expand Up @@ -1211,9 +1231,6 @@ export interface ResourceTestStatus {
// @public
export type ScalarFunctionProperties = FunctionProperties & {
type: "Scalar";
inputs?: FunctionInput[];
output?: FunctionOutput;
binding?: FunctionBindingUnion;
};

// @public
Expand Down
Loading

0 comments on commit c854aae

Please sign in to comment.