-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Dev StreamAnalytics 2017-04-01-preview version for streaming job and 2020-03-01-preview version for dedicated cluster #10673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
weidongxu-microsoft
merged 12 commits into
Azure:master
from
sunsw1994:dev-streamanalytics-Microsoft.StreamAnalytics-2017-04-01-preview
Sep 11, 2020
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
e411fdd
Adds base for updating Microsoft.StreamAnalytics from version stable/…
sunsw1994 a535f01
Updates readme
sunsw1994 d1d0644
Updates API version in new specs and examples
sunsw1994 4ec4484
1.add missing features for 2017-04-01-preview based on 2016-03-01 2.f…
sunsw1994 2fb7c1d
add 2020-03-01-preview version for asa cluster and private endpoint
sunsw1994 02c01a9
address comments 1.resourceGroupName use one unique value in example …
sunsw1994 5639f35
Merge branch 'master' into dev-streamanalytics-Microsoft.StreamAnalyt…
sunsw1994 2de345e
Merge branch 'master' into dev-streamanalytics-Microsoft.StreamAnalyt…
sunsw1994 e858880
address comments:
sunsw1994 58c3e81
update example json files
sunsw1994 c3ea691
add readme for python
sunsw1994 90b28d0
update readme for go
sunsw1994 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1882,4 +1882,5 @@ ntfs | |
| networkrulesets | ||
| Setget | ||
| Ruleproperties | ||
| shamir_share | ||
| shamir_share | ||
| dllpath | ||
198 changes: 198 additions & 0 deletions
198
...ion/streamanalytics/resource-manager/Microsoft.StreamAnalytics/common/v1/definitions.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,198 @@ | ||
| { | ||
| "swagger": "2.0", | ||
| "security": [ | ||
| { | ||
| "azure_auth": [ | ||
| "user_impersonation" | ||
| ] | ||
| } | ||
| ], | ||
| "securityDefinitions": { | ||
| "azure_auth": { | ||
| "type": "oauth2", | ||
| "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", | ||
| "flow": "implicit", | ||
| "description": "Azure Active Directory OAuth2 Flow", | ||
| "scopes": { | ||
| "user_impersonation": "impersonate your user account" | ||
| } | ||
| } | ||
| }, | ||
| "info": { | ||
| "version": "v1", | ||
| "title": "Common types" | ||
| }, | ||
| "paths": {}, | ||
| "definitions": { | ||
| "AuthenticationMode": { | ||
| "type": "string", | ||
| "description": "Authentication Mode. Valid modes are `ConnectionString`, `Msi` and 'UserToken'.", | ||
| "enum": [ | ||
| "Msi", | ||
| "UserToken", | ||
| "ConnectionString" | ||
| ], | ||
| "x-ms-enum": { | ||
| "name": "AuthenticationMode", | ||
| "modelAsString": true | ||
| } | ||
| }, | ||
| "Resource": { | ||
| "properties": { | ||
| "id": { | ||
| "readOnly": true, | ||
| "type": "string", | ||
| "description": "Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" | ||
| }, | ||
| "name": { | ||
| "readOnly": true, | ||
| "type": "string", | ||
| "description": "The name of the resource" | ||
| }, | ||
| "type": { | ||
| "readOnly": true, | ||
| "type": "string", | ||
| "description": "The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts." | ||
| } | ||
| }, | ||
| "x-ms-azure-resource": true | ||
| }, | ||
| "TrackedResource": { | ||
| "description": "The resource model definition for a ARM tracked top level resource", | ||
| "properties": { | ||
| "tags": { | ||
| "type": "object", | ||
| "additionalProperties": { | ||
| "type": "string" | ||
| }, | ||
| "x-ms-mutability": [ | ||
| "read", | ||
| "create", | ||
| "update" | ||
| ], | ||
| "description": "Resource tags." | ||
| }, | ||
| "location": { | ||
| "type": "string", | ||
| "x-ms-mutability": [ | ||
| "read", | ||
| "create" | ||
| ], | ||
| "description": "The geo-location where the resource lives" | ||
| } | ||
| }, | ||
| "allOf": [ | ||
| { | ||
| "$ref": "#/definitions/Resource" | ||
| } | ||
| ] | ||
| }, | ||
| "ProxyResource": { | ||
| "description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags", | ||
| "allOf": [ | ||
| { | ||
| "$ref": "#/definitions/Resource" | ||
| } | ||
| ] | ||
| }, | ||
| "Error": { | ||
| "properties": { | ||
| "error": { | ||
| "properties": { | ||
| "code": { | ||
| "type": "string", | ||
| "description": "Error code." | ||
| }, | ||
| "message": { | ||
| "type": "string", | ||
| "description": "Error message." | ||
| }, | ||
| "target": { | ||
| "type": "string", | ||
| "description": "Error target." | ||
| }, | ||
| "details": { | ||
| "type": "array", | ||
| "items": { | ||
| "$ref": "#/definitions/ErrorDetails" | ||
| }, | ||
| "description": "Error details." | ||
| } | ||
| }, | ||
| "description": "Error definition properties." | ||
| } | ||
| }, | ||
| "description": "Common error representation." | ||
| }, | ||
| "ErrorDetails": { | ||
| "properties": { | ||
| "code": { | ||
| "type": "string", | ||
| "description": "Error code." | ||
| }, | ||
| "target": { | ||
| "type": "string", | ||
| "description": "Error target." | ||
| }, | ||
| "message": { | ||
| "type": "string", | ||
| "description": "Error message." | ||
| } | ||
| }, | ||
| "description": "Common error details representation." | ||
| } | ||
| }, | ||
| "parameters": { | ||
| "IfMatchHeader": { | ||
| "name": "If-Match", | ||
| "in": "header", | ||
| "required": false, | ||
| "type": "string", | ||
| "description": "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.", | ||
| "x-ms-parameter-location": "method" | ||
| }, | ||
| "IfNoneMatchHeader": { | ||
| "name": "If-None-Match", | ||
| "in": "header", | ||
| "required": false, | ||
| "type": "string", | ||
| "description": "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.", | ||
| "x-ms-parameter-location": "method" | ||
| }, | ||
| "StreamingJobNameParameter": { | ||
| "name": "jobName", | ||
| "in": "path", | ||
| "required": true, | ||
| "type": "string", | ||
| "description": "The name of the streaming job.", | ||
| "x-ms-parameter-location": "method" | ||
| }, | ||
| "SubscriptionIdParameter": { | ||
| "name": "subscriptionId", | ||
| "in": "path", | ||
| "required": true, | ||
| "type": "string", | ||
| "description": "The ID of the target subscription.", | ||
| "minLength": 1 | ||
| }, | ||
| "ApiVersionParameter": { | ||
| "name": "api-version", | ||
| "in": "query", | ||
| "required": true, | ||
| "type": "string", | ||
| "description": "The API version to use for this operation.", | ||
| "minLength": 1 | ||
| }, | ||
| "ResourceGroupNameParameter": { | ||
| "name": "resourceGroupName", | ||
| "in": "path", | ||
| "required": true, | ||
| "type": "string", | ||
| "description": "The name of the resource group. The name is case insensitive.", | ||
| "pattern": "^[-\\w\\._\\(\\)]+$", | ||
| "minLength": 1, | ||
| "maxLength": 90, | ||
| "x-ms-parameter-location": "method" | ||
| } | ||
| } | ||
| } | ||
142 changes: 142 additions & 0 deletions
142
...icrosoft.StreamAnalytics/preview/2017-04-01-preview/examples/Function_Create_AzureML.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,142 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2017-04-01-preview", | ||
| "subscriptionId": "56b5e0a9-b645-407d-99b0-c64f86013e3d", | ||
| "resourceGroupName": "sjrg", | ||
| "jobName": "sj9093", | ||
| "functionName": "function588", | ||
| "function": { | ||
| "properties": { | ||
| "type": "Scalar", | ||
| "properties": { | ||
| "inputs": [ | ||
| { | ||
| "dataType": "nvarchar(max)" | ||
| } | ||
| ], | ||
| "output": { | ||
| "dataType": "nvarchar(max)" | ||
| }, | ||
| "binding": { | ||
| "type": "Microsoft.MachineLearning/WebService", | ||
| "properties": { | ||
| "endpoint": "someAzureMLEndpointURL", | ||
| "apiKey": "someApiKey==", | ||
| "inputs": { | ||
| "name": "input1", | ||
| "columnNames": [ | ||
| { | ||
| "name": "tweet", | ||
| "dataType": "string", | ||
| "mapTo": 0 | ||
| } | ||
| ] | ||
| }, | ||
| "outputs": [ | ||
| { | ||
| "name": "Sentiment", | ||
| "dataType": "string" | ||
| } | ||
| ], | ||
| "batchSize": 1000 | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "responses": { | ||
| "201": { | ||
| "headers": { | ||
| "ETag": "dac52a15-66be-4aa7-8a18-20c5409983df" | ||
| }, | ||
| "body": { | ||
| "id": "/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sj9093/functions/function588", | ||
| "name": "function588", | ||
| "type": "Microsoft.StreamAnalytics/streamingjobs/functions", | ||
| "properties": { | ||
| "type": "Scalar", | ||
| "properties": { | ||
| "inputs": [ | ||
| { | ||
| "dataType": "nvarchar(max)" | ||
| } | ||
| ], | ||
| "output": { | ||
| "dataType": "nvarchar(max)" | ||
| }, | ||
| "binding": { | ||
| "type": "Microsoft.MachineLearning/WebService", | ||
| "properties": { | ||
| "endpoint": "someAzureMLEndpointURL", | ||
| "inputs": { | ||
| "name": "input1", | ||
| "columnNames": [ | ||
| { | ||
| "name": "tweet", | ||
| "dataType": "string", | ||
| "mapTo": 0 | ||
| } | ||
| ] | ||
| }, | ||
| "outputs": [ | ||
| { | ||
| "name": "Sentiment", | ||
| "dataType": "string" | ||
| } | ||
| ], | ||
| "batchSize": 1000 | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "200": { | ||
| "headers": { | ||
| "ETag": "dac52a15-66be-4aa7-8a18-20c5409983df" | ||
| }, | ||
| "body": { | ||
| "id": "/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sj9093/functions/function588", | ||
| "name": "function588", | ||
| "type": "Microsoft.StreamAnalytics/streamingjobs/functions", | ||
| "properties": { | ||
| "type": "Scalar", | ||
| "properties": { | ||
| "inputs": [ | ||
| { | ||
| "dataType": "nvarchar(max)" | ||
| } | ||
| ], | ||
| "output": { | ||
| "dataType": "nvarchar(max)" | ||
| }, | ||
| "binding": { | ||
| "type": "Microsoft.MachineLearning/WebService", | ||
| "properties": { | ||
| "endpoint": "someAzureMLEndpointURL", | ||
| "inputs": { | ||
| "name": "input1", | ||
| "columnNames": [ | ||
| { | ||
| "name": "tweet", | ||
| "dataType": "string", | ||
| "mapTo": 0 | ||
| } | ||
| ] | ||
| }, | ||
| "outputs": [ | ||
| { | ||
| "name": "Sentiment", | ||
| "dataType": "string" | ||
| } | ||
| ], | ||
| "batchSize": 1000 | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.