-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding the TSI GA api-version (2020-05-15) (#9974)
* 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
Showing
25 changed files
with
3,447 additions
and
1 deletion.
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 | ||
} | ||
} | ||
} | ||
} | ||
} |
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 | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...anager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EnvironmentsPatchTags.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,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 | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.