-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Updating Swagger spec and samples for GA #8727
Closed
riserrad
wants to merge
56
commits into
Azure:master
from
TimeSeriesInsights:user/riserrad/tsi-2020-ga-spec
Closed
Changes from all commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
08a54da
Fix or suppress spec violations
sandshadow 58142ef
Try removing 2nd top-level heading, which _may_ have been causing a l…
sandshadow b3536fb
Fix extra indention which prevented linter from running.
sandshadow a268824
Added dataStringComparisonBehavior parameter to reference data put/up…
yeskarthik d515933
Fixed grammar.
yeskarthik 06794ac
Merge pull request #4 from TimeSeriesInsights/add-spec-RefDataSet-New…
yeskarthik 6098a47
Merge remote-tracking branch 'upstream/master'
78f6408
adding partitionkeyProperty to environmentInfo
2123814
changing property name
6afef06
Merge pull request #5 from TimeSeriesInsights/EnvironmentInfo-Partiti…
yeskarthik 4639ecd
changing modelAsString
60a9c05
Merge pull request #6 from TimeSeriesInsights/partionKeyProperty-Mode…
ravikumarsureshbabu 58cedb8
Merge remote-tracking branch 'upstream/master'
sandshadow d81181f
Initial checkin of spec. Unchanged from GA release other than version.
sandshadow 726ac9e
Merge remote-tracking branch 'upstream/master'
sandshadow 345a65a
Remove .orig files
sandshadow 422b05c
Fix validation error by removing IoTHub ES from List ES example response
sandshadow 55d47fe
Add extra example that was missing from preview spec.
sandshadow 97ff060
Add long-term environment to resource hierarchy, and update examples.
sandshadow e99ad0b
Switch to model-as-string for enums. Restore EnvironmentResource's in…
sandshadow 32ffd48
Upsate sku description
sandshadow 2a64ead
Merge pull request #7 from sandshadow/master
sandshadow cff8d73
Merge remote-tracking branch 'upstream/master'
sandshadow 22ec422
Add new TSI preview api-version to readme.md.
sandshadow caad40d
Add suppressions for false-positive linter failures.
sandshadow 1886cea
Test suppression failures
sandshadow d3516c6
Adding preview package tag to several other places in readme.md
sandshadow d3e40d6
Add preview package to the readme.go.md file
sandshadow 3f293e0
Remove invalid required property from EnvironmentCreateOrUpdateParame…
sandshadow acbfe92
Merge from upstream/master
dmdenmsft 6b96d95
Initial version of data plane swagger spec for PAYG (Preview) SKU.
dmdenmsft b69711c
Merge pull request #9 from TimeSeriesInsights/feat-tsi-data-plane
dmdenmsft e33e334
Added missing Readme.md
dmdenmsft 49adf6a
Merge pull request #10 from TimeSeriesInsights/feat-tsi-data-plane
dmdenmsft 7363e85
Fixed name of readme
dmdenmsft eaafd61
Merge pull request #11 from TimeSeriesInsights/feat-tsi-data-plane
dmdenmsft 0b5c4e4
Fixed path to swagger json
dmdenmsft 2ea96c4
Merge pull request #12 from TimeSeriesInsights/feat-tsi-data-plane
dmdenmsft 4e4d2f1
Attempt to fix readme
dmdenmsft d9dfc3d
Merge pull request #13 from TimeSeriesInsights/feat-tsi-data-plane
dmdenmsft a9279f9
Apply suggestions from code review
nschonni 5796016
Update timeseriesinsights.json
yeskarthik 9075f64
Update timeseriesinsights.json
yeskarthik cc0eef5
Removed id as required field from TimeSeriesHierarchy and TimeSeriesT…
yeskarthik b6d5037
Added link to oav issue
dmdenmsft 2980515
Fixed merge conflicts.
yeskarthik d766f8e
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
yeskarthik ffc75f0
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
yeskarthik 5638bb4
Merge remote-tracking branch 'upstream/master'
riserrad 5d8330a
Adding new GA Api Version 2020-05-15
riserrad 9f82b25
Changing 2018-08-15-preview to show samples of L1 Environments instea…
riserrad 9757c70
Fixing environmentsList to have proper body
riserrad def4ad1
Adding 2020-05-15 to the readme
riserrad 1e08116
Renaming $expand to expand
riserrad 9b5cfe5
Renaming $expand to expand
riserrad 423bd8b
Merge branch 'user/riserrad/tsi-2020-ga-spec' of https://github.com/T…
riserrad 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 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
This file contains 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
This file contains 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
This file contains 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
47 changes: 47 additions & 0 deletions
47
...Insights/preview/2018-08-15-preview/examples/EnvironmentsPatchWarmStoreDataRetention.json
This file contains 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,47 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"environmentName": "env1", | ||
"longTermEnvironmentUpdateParameters": { | ||
"properties": { | ||
"warmStoreConfiguration": { | ||
"dataRetention": "P14D" | ||
} | ||
} | ||
}, | ||
"api-version": "2018-08-15-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1", | ||
"location": "West US", | ||
"name": "env1", | ||
"type": "Microsoft.TimeSeriesInsights/Environments", | ||
"kind": "LongTerm", | ||
"tags": {}, | ||
"properties": { | ||
"storageConfiguration": { | ||
"accountName": "<storageAccountName>" | ||
}, | ||
"timeSeriesIdProperties": [ | ||
{ | ||
"name": "DeviceId1", | ||
"type": "string" | ||
} | ||
], | ||
"warmStoreConfiguration": { | ||
"dataRetention": "P14D" | ||
}, | ||
"creationTime": "Fri, 15 May 2020 22:55:58 GMT", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"sku": { | ||
"name": "L1", | ||
"capacity": 1 | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains 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
48 changes: 48 additions & 0 deletions
48
...manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/AccessPoliciesCreate.json
This file contains 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,48 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"environmentName": "env1", | ||
"accessPolicyName": "ap1", | ||
"parameters": { | ||
"properties": { | ||
"principalObjectId": "aGuid", | ||
"roles": [ | ||
"Reader" | ||
], | ||
"description": "some description" | ||
} | ||
}, | ||
"api-version": "2020-05-15" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1/accessPolicies/ap1", | ||
"name": "ap1", | ||
"type": "Microsoft.TimeSeriesInsights/Environments/AccessPolicies", | ||
"properties": { | ||
"principalObjectId": "aGuid", | ||
"roles": [ | ||
"Reader" | ||
], | ||
"description": "some description" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1/accessPolicies/ap1", | ||
"name": "ap1", | ||
"type": "Microsoft.TimeSeriesInsights/Environments/AccessPolicies", | ||
"properties": { | ||
"principalObjectId": "aGuid", | ||
"roles": [ | ||
"Reader" | ||
], | ||
"description": "some description" | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/AccessPoliciesDelete.json
This file contains 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,13 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"environmentName": "env1", | ||
"accessPolicyName": "ap1", | ||
"api-version": "2020-05-15" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...ce-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/AccessPoliciesGet.json
This file contains 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,25 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"environmentName": "env1", | ||
"accessPolicyName": "ap1", | ||
"api-version": "2020-05-15" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1/accessPolicies/ap1", | ||
"name": "ap1", | ||
"type": "Microsoft.TimeSeriesInsights/Environments/AccessPolicies", | ||
"properties": { | ||
"principalObjectId": "aGuid", | ||
"roles": [ | ||
"Reader" | ||
], | ||
"description": "some description" | ||
} | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...rosoft.TimeSeriesInsights/stable/2020-05-15/examples/AccessPoliciesListByEnvironment.json
This file contains 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,28 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"environmentName": "env1", | ||
"api-version": "2020-05-15" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1/accessPolicies/ap1", | ||
"name": "ap1", | ||
"type": "Microsoft.TimeSeriesInsights/Environments/AccessPolicies", | ||
"properties": { | ||
"principalObjectId": "aGuid", | ||
"roles": [ | ||
"Reader" | ||
], | ||
"description": "some description" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...ger/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/AccessPoliciesPatchRoles.json
This file contains 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,33 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"environmentName": "env1", | ||
"accessPolicyName": "ap1", | ||
"accessPolicyUpdateParameters": { | ||
"properties": { | ||
"roles": [ | ||
"Reader", | ||
"Contributor" | ||
] | ||
} | ||
}, | ||
"api-version": "2020-05-15" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1/accessPolicies/ap1", | ||
"name": "ap1", | ||
"type": "Microsoft.TimeSeriesInsights/Environments/AccessPolicies", | ||
"properties": { | ||
"principalObjectId": "aGuid", | ||
"roles": [ | ||
"Reader" | ||
], | ||
"description": "some description" | ||
} | ||
} | ||
} | ||
} | ||
} |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if this fixing a Swagger bug? Otherwise it will be a breaking change