Skip to content

Commit

Permalink
Adding the TSI GA api-version (2020-05-15) (#9974)
Browse files Browse the repository at this point in the history
* First draft of the changes

* Minor fixes before publishing the PR

* Adding 2020-05-15 to readme

* Removing examples that are not referenced anywhere

* Adding the suppressions

* Removing EnvironmentsGetExpandStatus.json

* Adding 2020-05-15 in places it was missing in readme.md
  • Loading branch information
riserrad authored Jul 15, 2020
1 parent 00ac1cb commit 4d7a442
Show file tree
Hide file tree
Showing 25 changed files with 3,447 additions and 1 deletion.
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"
}
}
}
}
}
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": {}
}
}
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"
}
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
}
}
}
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": {}
}
}
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": {}
}
}
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
}
}
}
}
}
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
}
}
]
}
}
}
}
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
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"environmentName": "env1",
"environmentUpdateParameters": {
"tags": {
"someTag": "someTagValue"
}
},
"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": {
"someTag": "someTagValue"
},
"properties": {
"dataRetentionTime": "P31D",
"provisioningState": "Succeeded",
"creationTime": "2017-04-18T19:20:33.2288820Z"
},
"sku": {
"name": "S1",
"capacity": 10
}
}
}
}
}
Loading

0 comments on commit 4d7a442

Please sign in to comment.