-
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
Adding the TSI GA api-version (2020-05-15) #9974
Merged
ChenTanyi
merged 7 commits into
Azure:master
from
TimeSeriesInsights:user/riserrad/master/tsi-ga-2020
Jul 15, 2020
Merged
Changes from 1 commit
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
fbf2ab1
First draft of the changes
riserrad 7020cb4
Minor fixes before publishing the PR
riserrad 99c385d
Adding 2020-05-15 to readme
riserrad d90fc77
Removing examples that are not referenced anywhere
riserrad 8c4747d
Adding the suppressions
riserrad 66e9aba
Removing EnvironmentsGetExpandStatus.json
riserrad 631eb6a
Adding 2020-05-15 in places it was missing in readme.md
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
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
66 changes: 66 additions & 0 deletions
66
...e-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EnvironmentsCreate.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,66 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"environmentName": "env1", | ||
"parameters": { | ||
"location": "West US", | ||
"kind": "Gen1", | ||
"sku": { | ||
"name": "S1", | ||
"capacity": 1 | ||
}, | ||
"properties": { | ||
"dataRetentionTime": "P31D", | ||
"partitionKeyProperties": [ | ||
{ | ||
"name": "DeviceId1", | ||
"type": "String" | ||
} | ||
] | ||
} | ||
}, | ||
"api-version": "2020-05-15" | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1", | ||
"location": "West US", | ||
"name": "env1", | ||
"type": "Microsoft.TimeSeriesInsights/Environments", | ||
"kind": "Gen1", | ||
"tags": {}, | ||
"properties": { | ||
"dataRetentionTime": "P31D", | ||
"provisioningState": "Creating", | ||
"creationTime": "2017-04-18T19:20:33.2288820Z" | ||
}, | ||
"sku": { | ||
"name": "S1", | ||
"capacity": 1 | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1", | ||
"location": "West US", | ||
"name": "env1", | ||
"type": "Microsoft.TimeSeriesInsights/Environments", | ||
"kind": "Gen1", | ||
"tags": {}, | ||
"properties": { | ||
"dataRetentionTime": "P31D", | ||
"provisioningState": "Succeeded", | ||
"creationTime": "2017-04-18T19:20:33.2288820Z" | ||
}, | ||
"sku": { | ||
"name": "S1", | ||
"capacity": 1 | ||
} | ||
} | ||
}, | ||
"404": {} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...e-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EnvironmentsDelete.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,12 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"environmentName": "env1", | ||
"api-version": "2020-05-15" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...urce-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EnvironmentsGet.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,35 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"environmentName": "env1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2020-05-15" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1", | ||
"location": "West US", | ||
"name": "env1", | ||
"type": "Microsoft.TimeSeriesInsights/Environments", | ||
"kind": "Gen1", | ||
"tags": {}, | ||
"properties": { | ||
"dataRetentionTime": "P31D", | ||
"provisioningState": "Succeeded", | ||
"creationTime": "2017-04-18T19:20:33.2288820Z", | ||
"partitionKeyProperties": [ | ||
{ | ||
"name": "DeviceId1", | ||
"type": "String" | ||
} | ||
] | ||
}, | ||
"sku": { | ||
"name": "S1", | ||
"capacity": 1 | ||
} | ||
} | ||
} | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
.../Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EnvironmentsGetExpandStatus.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,44 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"environmentName": "env1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2020-05-155", | ||
"$expand": "status" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1", | ||
"location": "West US", | ||
"name": "env1", | ||
"type": "Microsoft.TimeSeriesInsights/Environments", | ||
"kind": "Gen1", | ||
"tags": {}, | ||
"properties": { | ||
"dataRetentionTime": "P31D", | ||
"provisioningState": "Succeeded", | ||
"creationTime": "2017-04-18T19:20:33.2288820Z", | ||
"storageLimitExceededBehavior": "PurgeOldData", | ||
"partitionKeyProperties": [ | ||
{ | ||
"name": "DeviceId1", | ||
"type": "String" | ||
} | ||
], | ||
"dataAccessId": "<dataAccessId>", | ||
"dataAccessFqdn": "<dataAccessIdFqdn>", | ||
"status": { | ||
"ingress": { | ||
"state": "Running" | ||
} | ||
} | ||
}, | ||
"sku": { | ||
"name": "S1", | ||
"capacity": 1 | ||
} | ||
} | ||
} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...rosoft.TimeSeriesInsights/stable/2020-05-15/examples/EnvironmentsListByResourceGroup.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,32 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2020-05-15" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1", | ||
"location": "West US", | ||
"name": "env1", | ||
"type": "Microsoft.TimeSeriesInsights/Environments", | ||
"kind": "Gen1", | ||
"tags": {}, | ||
"properties": { | ||
"dataRetentionTime": "P31D", | ||
"provisioningState": "Succeeded", | ||
"creationTime": "2017-04-18T19:20:33.2288820Z" | ||
}, | ||
"sku": { | ||
"name": "S1", | ||
"capacity": 1 | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...crosoft.TimeSeriesInsights/stable/2020-05-15/examples/EnvironmentsListBySubscription.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,31 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"api-version": "2020-05-15" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1", | ||
"location": "West US", | ||
"name": "env1", | ||
"type": "Microsoft.TimeSeriesInsights/Environments", | ||
"kind": "Gen1", | ||
"tags": {}, | ||
"properties": { | ||
"dataRetentionTime": "P31D", | ||
"provisioningState": "Succeeded", | ||
"creationTime": "2017-04-18T19:20:33.2288820Z" | ||
}, | ||
"sku": { | ||
"name": "S1", | ||
"capacity": 1 | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
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.
@sandshadow I think this would require some code changes, like adding "Gen1" and "Gen2" to the EnvironmentKind enum.
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.
Yes, you're right. We also need to discuss with Blair for his switch to GA api-version in Ibiza.