-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PlayFab] Swagger File containing Segment Resource (#5462)
* base version * PlayerAccountPool and Title * api-version * debug examples * changes for Segments Swagger added * changes to swagger * Update readme.md * changes to swagger * swagger changes as per cadl generated * changes to swagger * changes * Prettier formatting * changes * changes * changes * changes * example model validation check * example model validation check * example model validation check * example model validation check * example model validation check * changes to swagger * trying prettier fix * changes * fixing Prettier problems * Update readme.md * changes to fix problems reported by Prettier * Update readme.md * removed unused ref files in examples folder * add title MSI and fix patch contract (#5729) * add title MSI and fix patch contract * spell check & prettier fix * fix lint error * fix prettier issue * changes as per feedback in review * Added Swagger changes * changes as per feedback in review * changes as per feedback in review * prettier fix * changes as per feedback in review * prettier error fix * some small testing for resource comment in PR * changing resource to parameters * changes to fix x-ms-identifier-failure * Updates for title settings support (#5792) * Updates for title settings support * Run PrettierCheck * Address minor review comment. * Update RG name maintain consistency. * Remove extra new line * Minor change. * Revert "Updates for title settings support (#5792)" (#5811) This reverts commit 9697c9592607817fefb01e962ac1cdb92dd23990. * Add support for Title Settings (#5812) * Update Swagger * Update example files. * few chhnages as per feedback in PR * fix examples, remove user assigned identities as it is not supported (#5835) * fix examples, remove user assigned identities as it is not supported * remove user assigned identity support from swagger * change which was missed in my previous commit * changes as per review in PR * changing playfabAccountPoolId to playfabPlayerAccountPoolId * changing playfabAccountPoolId to playFabPlayerAccountPoolId * changes because of typo in examples in renaming Co-authored-by: Zainudeen V K <zainu.vk@hotmail.com> Co-authored-by: Zainudeen V K <zainuvk@github.com> Co-authored-by: shubgup3 <67748348+shubgup3@users.noreply.github.com> Co-authored-by: Anshul Verma <88476874+AnshulVermaa@users.noreply.github.com>
- Loading branch information
1 parent
d4840b8
commit e700871
Showing
37 changed files
with
2,670 additions
and
2,277 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
...Microsoft.PlayFab/preview/2021-12-08-preview/examples/Operations_List_MaximumSet_Gen.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": { | ||
"api-version": "2021-12-08-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.PlayFab/write", | ||
"isDataAction": true, | ||
"display": { | ||
"provider": "Microsoft PlayFab", | ||
"resource": "Title", | ||
"operation": "Update Title", | ||
"description": "Update Title" | ||
}, | ||
"origin": "user", | ||
"actionType": "Internal" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
...Microsoft.PlayFab/preview/2021-12-08-preview/examples/Operations_List_MinimumSet_Gen.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,10 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-08-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": {} | ||
} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...preview/2021-12-08-preview/examples/PlayerAccountPools_CreateOrUpdate_MaximumSet_Gen.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,42 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-08-preview", | ||
"subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", | ||
"resourceGroupName": "aaga-df-demo", | ||
"playerAccountPoolName": "DevAccountPool", | ||
"parameters": { | ||
"properties": { | ||
"provisioningState": "NotSpecified" | ||
}, | ||
"tags": { | ||
"company": "Microsoft" | ||
}, | ||
"location": "West US2" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"playFabPlayerAccountPoolId": "E19877A68438546F", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"systemData": { | ||
"createdBy": "zainudv@microsoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2022-01-04T11:05:51.4940669Z", | ||
"lastModifiedBy": "zainudv@microsoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2022-01-04T11:05:51.4940669Z" | ||
}, | ||
"tags": { | ||
"company": "Microsoft" | ||
}, | ||
"location": "West US", | ||
"id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/aaga-df-demo/providers/Microsoft.PlayFab/playerAccountPools/DevAccountPool", | ||
"name": "DevAccountPool", | ||
"type": "microsoft.playfab/playeraccountpools" | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...preview/2021-12-08-preview/examples/PlayerAccountPools_CreateOrUpdate_MinimumSet_Gen.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": { | ||
"api-version": "2021-12-08-preview", | ||
"subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", | ||
"resourceGroupName": "aaga-df-demo", | ||
"playerAccountPoolName": "DevAccountPool", | ||
"parameters": { | ||
"properties": { | ||
"provisioningState": "NotSpecified" | ||
}, | ||
"location": "West US2" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"playFabPlayerAccountPoolId": "E19877A68438546F", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"systemData": { | ||
"createdBy": "zainudv@microsoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2022-01-04T11:05:51.4940669Z", | ||
"lastModifiedBy": "zainudv@microsoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2022-01-04T11:05:51.4940669Z" | ||
}, | ||
"location": "West US", | ||
"id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/aaga-df-demo/providers/Microsoft.PlayFab/playerAccountPools/DevAccountPool", | ||
"name": "DevAccountPool", | ||
"type": "microsoft.playfab/playeraccountpools" | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...PlayFab/preview/2021-12-08-preview/examples/PlayerAccountPools_Delete_MaximumSet_Gen.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,17 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-08-preview", | ||
"subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", | ||
"resourceGroupName": "rgplayfab", | ||
"playerAccountPoolName": "DevAccountPool" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://foo.com/operationstatus" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...PlayFab/preview/2021-12-08-preview/examples/PlayerAccountPools_Delete_MinimumSet_Gen.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,17 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-08-preview", | ||
"subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", | ||
"resourceGroupName": "rgplayfab", | ||
"playerAccountPoolName": "DevAccountPool" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://foo.com/operationstatus" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...ft.PlayFab/preview/2021-12-08-preview/examples/PlayerAccountPools_Get_MaximumSet_Gen.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": { | ||
"api-version": "2021-12-08-preview", | ||
"subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", | ||
"resourceGroupName": "aaga-df-demo", | ||
"playerAccountPoolName": "DevAccountPool" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"playFabPlayerAccountPoolId": "E19877A68438546F", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"systemData": { | ||
"createdBy": "zainudv@microsoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2022-01-04T11:05:51.4940669Z", | ||
"lastModifiedBy": "zainudv@microsoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2022-01-04T11:05:51.4940669Z" | ||
}, | ||
"tags": { | ||
"company": "Microsoft" | ||
}, | ||
"location": "West US", | ||
"id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/aaga-df-demo/providers/Microsoft.PlayFab/playerAccountPools/DevAccountPool", | ||
"name": "DevAccountPool", | ||
"type": "microsoft.playfab/playeraccountpools" | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...ft.PlayFab/preview/2021-12-08-preview/examples/PlayerAccountPools_Get_MinimumSet_Gen.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": { | ||
"api-version": "2021-12-08-preview", | ||
"subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", | ||
"resourceGroupName": "aaga-df-demo", | ||
"playerAccountPoolName": "DevAccountPool" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"playFabPlayerAccountPoolId": "E19877A68438546F", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"systemData": { | ||
"createdBy": "zainudv@microsoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2022-01-04T11:05:51.4940669Z", | ||
"lastModifiedBy": "zainudv@microsoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2022-01-04T11:05:51.4940669Z" | ||
}, | ||
"tags": { | ||
"company": "Microsoft" | ||
}, | ||
"location": "West US", | ||
"id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/aaga-df-demo/providers/Microsoft.PlayFab/playerAccountPools/DevAccountPool", | ||
"name": "DevAccountPool", | ||
"type": "microsoft.playfab/playeraccountpools" | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...ew/2021-12-08-preview/examples/PlayerAccountPools_ListByResourceGroup_MaximumSet_Gen.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,34 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-08-preview", | ||
"subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", | ||
"resourceGroupName": "aaga-df-demo" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/aaga-df-demo/providers/Microsoft.PlayFab/playerAccountPools/aagaSept23b", | ||
"name": "aagaSept23b", | ||
"type": "microsoft.playfab/playeraccountpools", | ||
"location": "West US 2", | ||
"systemData": { | ||
"createdBy": "aaga@microsoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-09-23T06:32:29.1703036Z", | ||
"lastModifiedBy": "aaga@microsoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-09-23T06:32:29.1703036Z" | ||
}, | ||
"properties": { | ||
"playFabPlayerAccountPoolId": "7CC23E30076C4012", | ||
"provisioningState": "Failed" | ||
} | ||
} | ||
], | ||
"nextLink": "https://localhost:50194/subscriptions/030efb7e-a7b1-41da-99e8-aa25e7d3c800/resourcegroups/aaga-df-demo/providers/Microsoft.PlayFab/playerAccountPools?api-version=2021-12-08-preview&$skipToken=342r89" | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...ew/2021-12-08-preview/examples/PlayerAccountPools_ListByResourceGroup_MinimumSet_Gen.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,34 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-08-preview", | ||
"subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", | ||
"resourceGroupName": "aaga-df-demo" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/aaga-df-demo/providers/Microsoft.PlayFab/playerAccountPools/aagaSept23b", | ||
"name": "aagaSept23b", | ||
"type": "microsoft.playfab/playeraccountpools", | ||
"location": "West US 2", | ||
"systemData": { | ||
"createdBy": "aaga@microsoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-09-23T06:32:29.1703036Z", | ||
"lastModifiedBy": "aaga@microsoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-09-23T06:32:29.1703036Z" | ||
}, | ||
"properties": { | ||
"playFabPlayerAccountPoolId": "7CC23E30076C4012", | ||
"provisioningState": "Failed" | ||
} | ||
} | ||
], | ||
"nextLink": "https://localhost:50194/subscriptions/030efb7e-a7b1-41da-99e8-aa25e7d3c800/resourcegroups/testrg/providers/Microsoft.PlayFab/playerAccountPools?api-version=2021-12-08-preview&$skipToken=342r89" | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...iew/2021-12-08-preview/examples/PlayerAccountPools_ListBySubscription_MaximumSet_Gen.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": { | ||
"api-version": "2021-12-08-preview", | ||
"subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"playFabPlayerAccountPoolId": "8085509B620AFCC5", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"systemData": { | ||
"createdBy": "zainudv@microsoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-12-16T06:19:32.111Z", | ||
"lastModifiedBy": "zainudv@microsoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-12-16T06:19:32.111Z" | ||
}, | ||
"tags": { | ||
"company": "Microsoft" | ||
}, | ||
"location": "West US", | ||
"id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/rgplayfab/providers/Microsoft.PlayFab/playerAccountPools/DevAccountPool", | ||
"name": "DevAccountPool", | ||
"type": "microsoft.PlayFab/playerAccountPools" | ||
} | ||
], | ||
"nextLink": "https://localhost:50194/subscriptions/030efb7e-a7b1-41da-99e8-aa25e7d3c800/resourcegroups/testrg/providers/Microsoft.PlayFab/playerAccountPools?api-version=2021-12-08-preview&$skipToken=342r89" | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...iew/2021-12-08-preview/examples/PlayerAccountPools_ListBySubscription_MinimumSet_Gen.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,18 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-08-preview", | ||
"subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": {}, | ||
"location": "West US" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...PlayFab/preview/2021-12-08-preview/examples/PlayerAccountPools_Update_MaximumSet_Gen.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,38 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-08-preview", | ||
"subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", | ||
"resourceGroupName": "aaga-df-demo", | ||
"playerAccountPoolName": "DevAccountPool", | ||
"parameters": { | ||
"tags": { | ||
"company": "Microsoft-HYD" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"playFabPlayerAccountPoolId": "E19877A68438546F", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"systemData": { | ||
"createdBy": "zainudv@microsoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2022-01-04T11:05:51.4940669Z", | ||
"lastModifiedBy": "zainudv@microsoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2022-01-04T11:05:51.4940669Z" | ||
}, | ||
"tags": { | ||
"company": "Microsoft-HYD" | ||
}, | ||
"location": "West US", | ||
"id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/aaga-df-demo/providers/Microsoft.PlayFab/playerAccountPools/DevAccountPool", | ||
"name": "DevAccountPool", | ||
"type": "microsoft.playfab/playeraccountpools" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.