From 35af28a0cb6ed622ee20dcfd0653056a73131962 Mon Sep 17 00:00:00 2001 From: Zainudeen V K Date: Mon, 7 Mar 2022 13:25:46 +0530 Subject: [PATCH] Segment swagger definition updated to support polymorphism (#6401) * First Commit with previous version * changes to support Polymorphism * changes to swagger to update version and fix avarcardo error * updating version in examples * refactoring swagger model * correcting statistics swagger value * correcting typo in Statistic Filter * prettier fix * changes as per feedback in review to remove filterName in child model * prettier fix * changes to enable enum check in FilterName --- .../Operations_List_MaximumSet_Gen.json | 25 + .../Operations_List_MinimumSet_Gen.json | 10 + ...ntPools_CreateOrUpdate_MaximumSet_Gen.json | 42 + ...ntPools_CreateOrUpdate_MinimumSet_Gen.json | 36 + ...yerAccountPools_Delete_MaximumSet_Gen.json | 17 + ...yerAccountPools_Delete_MinimumSet_Gen.json | 17 + ...PlayerAccountPools_Get_MaximumSet_Gen.json | 33 + ...PlayerAccountPools_Get_MinimumSet_Gen.json | 33 + ...ls_ListByResourceGroup_MaximumSet_Gen.json | 34 + ...ls_ListByResourceGroup_MinimumSet_Gen.json | 34 + ...ols_ListBySubscription_MaximumSet_Gen.json | 36 + ...ols_ListBySubscription_MinimumSet_Gen.json | 18 + ...yerAccountPools_Update_MaximumSet_Gen.json | 38 + ...yerAccountPools_Update_MinimumSet_Gen.json | 38 + ...egments_CreateOrUpdate_MaximumSet_Gen.json | 89 + ...egments_CreateOrUpdate_MinimumSet_Gen.json | 60 + .../Segments_Delete_MaximumSet_Gen.json | 13 + .../Segments_Delete_MinimumSet_Gen.json | 13 + .../examples/Segments_Get_MaximumSet_Gen.json | 50 + .../examples/Segments_Get_MinimumSet_Gen.json | 43 + .../Segments_List_MaximumSet_Gen.json | 54 + .../Segments_List_MinimumSet_Gen.json | 46 + ...yValues_CreateOrUpdate_MaximumSet_Gen.json | 36 + ...yValues_CreateOrUpdate_MinimumSet_Gen.json | 24 + ...leDataKeyValues_Delete_MaximumSet_Gen.json | 13 + ...leDataKeyValues_Delete_MinimumSet_Gen.json | 13 + ...TitleDataKeyValues_Get_MaximumSet_Gen.json | 30 + ...TitleDataKeyValues_Get_MinimumSet_Gen.json | 19 + ...itleDataKeyValues_List_MaximumSet_Gen.json | 34 + ...itleDataKeyValues_List_MinimumSet_Gen.json | 22 + ...yValues_CreateOrUpdate_MaximumSet_Gen.json | 36 + ...yValues_CreateOrUpdate_MinimumSet_Gen.json | 24 + ...alDataKeyValues_Delete_MaximumSet_Gen.json | 13 + ...alDataKeyValues_Delete_MinimumSet_Gen.json | 13 + ...ernalDataKeyValues_Get_MaximumSet_Gen.json | 30 + ...ernalDataKeyValues_Get_MinimumSet_Gen.json | 19 + ...rnalDataKeyValues_List_MaximumSet_Gen.json | 34 + ...rnalDataKeyValues_List_MinimumSet_Gen.json | 22 + .../Titles_CreateOrUpdate_MaximumSet_Gen.json | 70 + .../Titles_CreateOrUpdate_MinimumSet_Gen.json | 36 + .../Titles_Delete_MaximumSet_Gen.json | 17 + .../Titles_Delete_MinimumSet_Gen.json | 17 + .../examples/Titles_Get_MaximumSet_Gen.json | 48 + .../examples/Titles_Get_MinimumSet_Gen.json | 37 + ...es_ListByResourceGroup_MaximumSet_Gen.json | 52 + ...es_ListByResourceGroup_MinimumSet_Gen.json | 41 + ...les_ListBySubscription_MaximumSet_Gen.json | 51 + ...les_ListBySubscription_MinimumSet_Gen.json | 40 + .../Titles_Update_MaximumSet_Gen.json | 68 + .../Titles_Update_MinimumSet_Gen.json | 48 + .../preview/2022-03-02-preview/playfab.json | 2102 +++++++++++++++++ .../playfab/resource-manager/readme.md | 10 +- 52 files changed, 3797 insertions(+), 1 deletion(-) create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Operations_List_MaximumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Operations_List_MinimumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_Delete_MaximumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_Delete_MinimumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_Get_MaximumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_Get_MinimumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_ListByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_ListBySubscription_MinimumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_Update_MaximumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_Update_MinimumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_Delete_MaximumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_Delete_MinimumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_Get_MaximumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_Get_MinimumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_List_MaximumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_List_MinimumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_Delete_MaximumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_Delete_MinimumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_Get_MaximumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_Get_MinimumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_List_MaximumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_List_MinimumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_Delete_MaximumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_Delete_MinimumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_Get_MaximumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_Get_MinimumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_List_MaximumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_List_MinimumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_Delete_MaximumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_Delete_MinimumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_Get_MaximumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_Get_MinimumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_ListByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_ListBySubscription_MinimumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_Update_MaximumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_Update_MinimumSet_Gen.json create mode 100644 specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/playfab.json diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..23e90de5b090 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2022-03-02-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" + } + ] + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Operations_List_MinimumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..1b19aa918e0f --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,10 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_CreateOrUpdate_MaximumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..b3594d14fd24 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2022-03-02-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" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_CreateOrUpdate_MinimumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..5f7afe53768c --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2022-03-02-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" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_Delete_MaximumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..c45564804702 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_Delete_MaximumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "playerAccountPoolName": "DevAccountPool" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_Delete_MinimumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..c45564804702 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_Delete_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "playerAccountPoolName": "DevAccountPool" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_Get_MaximumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..b7d1b086f23c --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_Get_MaximumSet_Gen.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2022-03-02-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" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_Get_MinimumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..b7d1b086f23c --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_Get_MinimumSet_Gen.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2022-03-02-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" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_ListByResourceGroup_MaximumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..0f0589825f0d --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2022-03-02-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=2022-01-26-preview&$skipToken=342r89" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_ListByResourceGroup_MinimumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..40bb85d90071 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2022-03-02-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=2022-01-26-preview&$skipToken=342r89" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_ListBySubscription_MaximumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..421fb8336c0f --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2022-03-02-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=2022-01-26-preview&$skipToken=342r89" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_ListBySubscription_MinimumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..144174254d30 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": {}, + "location": "West US" + } + ] + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_Update_MaximumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..668885e6f250 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_Update_MaximumSet_Gen.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2022-03-02-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" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_Update_MinimumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..668885e6f250 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/PlayerAccountPools_Update_MinimumSet_Gen.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2022-03-02-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" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_CreateOrUpdate_MaximumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..f17872b70b59 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,89 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers", + "segmentName": "WandererDemo", + "parameters": { + "properties": { + "query": { + "groups": [ + { + "filters": [ + { + "filterName": "UserOrigination", + "comparison": "Equals", + "value": "WindowsHello" + }, + { + "filterName": "Statistic", + "statisticName": "kills", + "comparison": "Equals", + "value": "40", + "version": 1 + }, + { + "filterName": "Statistic", + "statisticName": "score", + "comparison": "Equals", + "value": "100", + "useCurrentVersion": true + } + ] + } + ] + }, + "provisioningState": "NotSpecified" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "playFabSegmentId": "355EEB91B04290B9", + "query": { + "groups": [ + { + "filters": [ + { + "filterName": "UserOrigination", + "comparison": "Equals", + "value": "WindowsHello" + }, + { + "filterName": "Statistic", + "statisticName": "kills", + "comparison": "Equals", + "value": "40", + "version": 1 + }, + { + "filterName": "Statistic", + "statisticName": "score", + "comparison": "Equals", + "value": "100", + "useCurrentVersion": true + } + ] + } + ] + }, + "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" + }, + "id": "/subscriptions/030efb7e-a7b1-41da-99e8-aa25e7d3c800/resourceGroups/rgplayfab/providers/Microsoft.PlayFab/titles/DevPlayers/segments/WandererDemo", + "name": "WandererDemo", + "type": "Microsoft.PlayFab/titles/segments" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_CreateOrUpdate_MinimumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..44e6a52d491a --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers", + "segmentName": "WandererDemo", + "parameters": { + "properties": { + "query": { + "groups": [ + { + "filters": [ + { + "filterName": "UserOrigination", + "comparison": "Equals", + "value": "WindowsHello" + } + ] + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "playFabSegmentId": "355EEB91B04290B9", + "query": { + "groups": [ + { + "filters": [ + { + "filterName": "UserOrigination", + "comparison": "Equals", + "value": "WindowsHello" + } + ] + } + ] + }, + "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" + }, + "id": "/subscriptions/030efb7e-a7b1-41da-99e8-aa25e7d3c800/resourceGroups/rgplayfab/providers/Microsoft.PlayFab/titles/DevPlayers/segments/WandererDemo", + "name": "WandererDemo", + "type": "Microsoft.PlayFab/titles/segments" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_Delete_MaximumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..b7cc506f65e9 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_Delete_MaximumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers", + "segmentName": "WandererDemo" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_Delete_MinimumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..b7cc506f65e9 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_Delete_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers", + "segmentName": "WandererDemo" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_Get_MaximumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..3506518512fb --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_Get_MaximumSet_Gen.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers", + "segmentName": "WandererDemo" + }, + "responses": { + "200": { + "body": { + "properties": { + "playFabSegmentId": "355EEB91B04290B9", + "query": { + "groups": [ + { + "filters": [ + { + "filterName": "UserOrigination", + "comparison": "Equals", + "value": "WindowsHello" + }, + { + "filterName": "Statistic", + "statisticName": "kills", + "comparison": "Equals", + "value": "40", + "version": 1 + } + ] + } + ] + }, + "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" + }, + "id": "/subscriptions/030efb7e-a7b1-41da-99e8-aa25e7d3c800/resourceGroups/rgplayfab/providers/Microsoft.PlayFab/titles/DevPlayers/segments/WandererDemo", + "name": "WandererDemo", + "type": "Microsoft.PlayFab/titles/segments" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_Get_MinimumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..a74da1503670 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_Get_MinimumSet_Gen.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers", + "segmentName": "WandererDemo" + }, + "responses": { + "200": { + "body": { + "properties": { + "playFabSegmentId": "355EEB91B04290B9", + "query": { + "groups": [ + { + "filters": [ + { + "filterName": "UserOrigination", + "comparison": "Equals", + "value": "WindowsHello" + } + ] + } + ] + }, + "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" + }, + "id": "/subscriptions/030efb7e-a7b1-41da-99e8-aa25e7d3c800/resourceGroups/rgplayfab/providers/Microsoft.PlayFab/titles/DevPlayers/segments/WandererDemo", + "name": "WandererDemo", + "type": "Microsoft.PlayFab/titles/segments" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_List_MaximumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..2afc9e6ca8e2 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_List_MaximumSet_Gen.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "playFabSegmentId": "355EEB91B04290B9", + "query": { + "groups": [ + { + "filters": [ + { + "filterName": "UserOrigination", + "comparison": "Equals", + "value": "WindowsHello" + }, + { + "filterName": "Statistic", + "statisticName": "kills", + "comparison": "Equals", + "value": "40", + "version": 1 + } + ] + } + ] + }, + "provisioningState": "NotSpecified" + }, + "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" + }, + "id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/rgplayfab/providers/Microsoft.PlayFab/titles/DevPlayers", + "name": "DevPlayers", + "type": "Microsoft.PlayFab/titles/segments" + } + ], + "nextLink": "https://localhost:50194/subscriptions/030efb7e-a7b1-41da-99e8-aa25e7d3c800/resourcegroups/rgplayfab/providers/Microsoft.PlayFab/titles/DevPlayers/segments?api-version=2022-01-26-preview&$skipToken=342r89" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_List_MinimumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..0fc3970caf39 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Segments_List_MinimumSet_Gen.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "playFabSegmentId": "355EEB91B04290B9", + "query": { + "groups": [ + { + "filters": [ + { + "filterName": "UserOrigination", + "comparison": "Equals", + "value": "WindowsHello" + } + ] + } + ] + }, + "provisioningState": "NotSpecified" + }, + "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" + }, + "id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/rgplayfab/providers/Microsoft.PlayFab/titles/DevPlayers", + "name": "DevPlayers", + "type": "Microsoft.PlayFab/titles/segments" + } + ] + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_CreateOrUpdate_MaximumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..618fa3ec9307 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers", + "titleDataKeyValueName": "testKey", + "parameters": { + "properties": { + "value": "testValue", + "provisioningState": "NotSpecified" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "value": "testValue", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdBy": "harsharora@microsoft.com", + "createdByType": "User", + "createdAt": "2022-01-14T07:15:50.411Z", + "lastModifiedBy": "harsharora@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-01-14T07:15:50.411Z" + }, + "id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/rgplayfab/providers/Microsoft.PlayFab/titles/DevPlayers/titleDataKeyValues/testKey", + "name": "testKey", + "type": "Microsoft.PlayFab/titles/titleDataKeyValues" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_CreateOrUpdate_MinimumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..cc9095ddd85a --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers", + "titleDataKeyValueName": "testKey", + "parameters": { + "properties": { + "value": "testValue" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "value": "testValue", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_Delete_MaximumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..ed3fc48713c5 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_Delete_MaximumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers", + "titleDataKeyValueName": "testKey" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_Delete_MinimumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..ed3fc48713c5 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_Delete_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers", + "titleDataKeyValueName": "testKey" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_Get_MaximumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..2a091da95195 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_Get_MaximumSet_Gen.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers", + "titleDataKeyValueName": "testKey" + }, + "responses": { + "200": { + "body": { + "properties": { + "value": "testValue", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdBy": "harsharora@microsoft.com", + "createdByType": "User", + "createdAt": "2022-01-14T07:15:50.411Z", + "lastModifiedBy": "harsharora@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-01-14T07:15:50.411Z" + }, + "id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/rgplayfab/providers/Microsoft.PlayFab/titles/DevPlayers/titleDataKeyValues/testKey", + "name": "testKey", + "type": "Microsoft.PlayFab/titles/titleDataKeyValues" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_Get_MinimumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..d5d7d9d53093 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_Get_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers", + "titleDataKeyValueName": "testKey" + }, + "responses": { + "200": { + "body": { + "properties": { + "value": "testValue", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_List_MaximumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..ef1856b3ddc2 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_List_MaximumSet_Gen.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "value": "testValue", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdBy": "harsharora@microsoft.com", + "createdByType": "User", + "createdAt": "2022-01-14T07:15:50.411Z", + "lastModifiedBy": "harsharora@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-01-14T07:15:50.411Z" + }, + "id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/rgplayfab/providers/Microsoft.PlayFab/titles/DevPlayers/titleDataKeyValues/testKey", + "name": "testKey", + "type": "Microsoft.PlayFab/titles/titleDataKeyValues" + } + ], + "nextLink": "https://localhost:50194/subscriptions/030efb7e-a7b1-41da-99e8-aa25e7d3c800/resourcegroups/rgplayfab/providers/Microsoft.PlayFab/titles/DevPlayers/titleDataKeyValues?api-version=2022-01-26-preview&$skipToken=342r88" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_List_MinimumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..287cffa4bc09 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleDataKeyValues_List_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "value": "testValue", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_CreateOrUpdate_MaximumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..4f0c2882dff0 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers", + "titleInternalDataKeyValueName": "testKey", + "parameters": { + "properties": { + "value": "testValue", + "provisioningState": "NotSpecified" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "value": "testValue", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdBy": "harsharora@microsoft.com", + "createdByType": "User", + "createdAt": "2022-01-14T07:15:50.411Z", + "lastModifiedBy": "harsharora@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-01-14T07:15:50.411Z" + }, + "id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/rgplayfab/providers/Microsoft.PlayFab/titles/DevPlayers/titleInternalDataKeyValues/testKey", + "name": "testKey", + "type": "Microsoft.PlayFab/titles/titleInternalDataKeyValues" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_CreateOrUpdate_MinimumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..cf800c99047e --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers", + "titleInternalDataKeyValueName": "testKey", + "parameters": { + "properties": { + "value": "testValue" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "value": "testValue", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_Delete_MaximumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..0981de49b4bd --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_Delete_MaximumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers", + "titleInternalDataKeyValueName": "testKey" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_Delete_MinimumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..0981de49b4bd --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_Delete_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers", + "titleInternalDataKeyValueName": "testKey" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_Get_MaximumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..394923bd1f35 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_Get_MaximumSet_Gen.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers", + "titleInternalDataKeyValueName": "testKey" + }, + "responses": { + "200": { + "body": { + "properties": { + "value": "testValue", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdBy": "harsharora@microsoft.com", + "createdByType": "User", + "createdAt": "2022-01-14T07:15:50.411Z", + "lastModifiedBy": "harsharora@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-01-14T07:15:50.411Z" + }, + "id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/rgplayfab/providers/Microsoft.PlayFab/titles/DevPlayers/titleInternalDataKeyValues/testKey", + "name": "testKey", + "type": "Microsoft.PlayFab/titles/titleInternalDataKeyValues" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_Get_MinimumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..eda1a0b1e32d --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_Get_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers", + "titleInternalDataKeyValueName": "testKey" + }, + "responses": { + "200": { + "body": { + "properties": { + "value": "testValue", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_List_MaximumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..ce72e072e9a2 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_List_MaximumSet_Gen.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "value": "testValue", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdBy": "harsharora@microsoft.com", + "createdByType": "User", + "createdAt": "2022-01-14T07:15:50.411Z", + "lastModifiedBy": "harsharora@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-01-14T07:15:50.411Z" + }, + "id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/rgplayfab/providers/Microsoft.PlayFab/titles/DevPlayers/titleInternalDataKeyValues/testKey", + "name": "testKey", + "type": "Microsoft.PlayFab/titles/titleInternalDataKeyValues" + } + ], + "nextLink": "https://localhost:50194/subscriptions/030efb7e-a7b1-41da-99e8-aa25e7d3c800/resourcegroups/rgplayfab/providers/Microsoft.PlayFab/titles/DevPlayers/titleInternalDataKeyValues?api-version=2022-01-26-preview&$skipToken=342r88" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_List_MinimumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..287cffa4bc09 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/TitleInternalDataKeyValues_List_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "value": "testValue", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_CreateOrUpdate_MaximumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..0f5ef57618c1 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers", + "parameters": { + "properties": { + "playerAccountPoolId": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/testrg/providers/Microsoft.PlayFab/playerAccountPools/playerAccountName", + "settings": { + "general": { + "allowNonUniquePlayerDisplayNames": true, + "displayNameRandomSuffixLength": 4 + }, + "api": { + "allowClientsToUpdatePlayerStatistics": true + } + }, + "provisioningState": "NotSpecified" + }, + "identity": { + "type": "SystemAssigned" + }, + "tags": { + "company": "Microsoft" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "playFabTitleId": "8FFBFA78", + "playerAccountPoolId": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/testrg/providers/Microsoft.PlayFab/playerAccountPools/playerAccountName", + "settings": { + "general": { + "allowNonUniquePlayerDisplayNames": true, + "displayNameRandomSuffixLength": 4 + }, + "api": { + "allowClientsToUpdatePlayerStatistics": true + } + }, + "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" + }, + "identity": { + "type": "SystemAssigned", + "tenantId": "87654321-4321-AS45R-ER4F4-267898567FGT", + "principalId": "12345678-1234-1234-1234-123456789abc" + }, + "tags": { + "company": "Microsoft" + }, + "location": "West US", + "id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/rgplayfab/providers/Microsoft.PlayFab/titles/DevPlayers", + "name": "DevPlayers", + "type": "microsoft.PlayFab/titles" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_CreateOrUpdate_MinimumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..4c05c0a40d78 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers", + "parameters": { + "properties": { + "playerAccountPoolId": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/testrg/providers/Microsoft.PlayFab/playerAccountPools/playerAccountName" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "playerAccountPoolId": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/testrg/providers/Microsoft.PlayFab/playerAccountPools/playerAccountName", + "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" + }, + "location": "West US", + "id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/rgplayfab/providers/Microsoft.PlayFab/titles/DevPlayers", + "name": "DevPlayers", + "type": "microsoft.PlayFab/titles" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_Delete_MaximumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..aa60d110b399 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_Delete_MaximumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_Delete_MinimumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..aa60d110b399 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_Delete_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_Get_MaximumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..731351dea1ac --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_Get_MaximumSet_Gen.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers" + }, + "responses": { + "200": { + "body": { + "properties": { + "playFabTitleId": "8FFBFA78", + "playerAccountPoolId": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/testrg/providers/Microsoft.PlayFab/playerAccountPools/playerAccountName", + "settings": { + "general": { + "allowNonUniquePlayerDisplayNames": true, + "displayNameRandomSuffixLength": 4 + }, + "api": { + "allowClientsToUpdatePlayerStatistics": true + } + }, + "provisioningState": "NotSpecified" + }, + "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" + }, + "identity": { + "tenantId": "76A345678-1784-2ER4-1234-123456789abc", + "principalId": "12345678-1234-1234-1234-123456789abc", + "type": "SystemAssigned" + }, + "tags": { + "company": "Microsoft" + }, + "location": "West US", + "id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/rgplayfab/providers/Microsoft.PlayFab/titles/DevPlayers", + "name": "DevPlayers", + "type": "microsoft.PlayFab/titles" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_Get_MinimumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..08eb9ec7f8db --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_Get_MinimumSet_Gen.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers" + }, + "responses": { + "200": { + "body": { + "properties": { + "playFabTitleId": "8FFBFA78", + "playerAccountPoolId": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/testrg/providers/Microsoft.PlayFab/playerAccountPools/playerAccountName", + "provisioningState": "NotSpecified" + }, + "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" + }, + "identity": { + "type": "None" + }, + "tags": { + "company": "Microsoft" + }, + "location": "West US", + "id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/rgplayfab/providers/Microsoft.PlayFab/titles/DevPlayers", + "name": "DevPlayers", + "type": "microsoft.PlayFab/titles" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_ListByResourceGroup_MaximumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..ea33c251a945 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "playFabTitleId": "8FFBFA78", + "playerAccountPoolId": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/testrg/providers/Microsoft.PlayFab/playerAccountPools/playerAccountName", + "settings": { + "general": { + "allowNonUniquePlayerDisplayNames": true, + "displayNameRandomSuffixLength": 4 + }, + "api": { + "allowClientsToUpdatePlayerStatistics": true + } + }, + "provisioningState": "NotSpecified" + }, + "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" + }, + "identity": { + "tenantId": "76A345678-1784-2ER4-1234-123456789abc", + "principalId": "12345678-1234-1234-1234-123456789abc", + "type": "SystemAssigned" + }, + "tags": { + "company": "Microsoft" + }, + "location": "West US", + "id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/rgplayfab/providers/Microsoft.PlayFab/titles/DevPlayers", + "name": "DevPlayers", + "type": "microsoft.PlayFab/titles" + } + ], + "nextLink": "https://localhost:50194/subscriptions/030efb7e-a7b1-41da-99e8-aa25e7d3c800/resourcegroups/rgplayfab/providers/Microsoft.PlayFab/titles?api-version=2022-01-26-preview&$skipToken=342r89" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_ListByResourceGroup_MinimumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..67f05621bc4b --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "playFabTitleId": "8FFBFA78", + "playerAccountPoolId": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/testrg/providers/Microsoft.PlayFab/playerAccountPools/playerAccountName", + "provisioningState": "NotSpecified" + }, + "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" + }, + "identity": { + "type": "None" + }, + "tags": { + "company": "Microsoft" + }, + "location": "West US", + "id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/rgplayfab/providers/Microsoft.PlayFab/titles/DevPlayers", + "name": "DevPlayers", + "type": "microsoft.PlayFab/titles" + } + ], + "nextLink": "https://localhost:50194/subscriptions/030efb7e-a7b1-41da-99e8-aa25e7d3c800/resourcegroups/rgplayfab/providers/Microsoft.PlayFab/titles?api-version=2022-01-26-preview&$skipToken=342r89" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_ListBySubscription_MaximumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..159fd49374b5 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "playFabTitleId": "8FFBFA78", + "playerAccountPoolId": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/testrg/providers/Microsoft.PlayFab/playerAccountPools/playerAccountName", + "settings": { + "general": { + "allowNonUniquePlayerDisplayNames": true, + "displayNameRandomSuffixLength": 4 + }, + "api": { + "allowClientsToUpdatePlayerStatistics": true + } + }, + "provisioningState": "NotSpecified" + }, + "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" + }, + "identity": { + "tenantId": "76A345678-1784-2ER4-1234-123456789abc", + "principalId": "12345678-1234-1234-1234-123456789abc", + "type": "SystemAssigned" + }, + "tags": { + "company": "Microsoft" + }, + "location": "West US", + "id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/rgplayfab/providers/Microsoft.PlayFab/titles/DevPlayers", + "name": "DevPlayers", + "type": "microsoft.PlayFab/titles" + } + ], + "nextLink": "https://localhost:50194/subscriptions/030efb7e-a7b1-41da-99e8-aa25e7d3c800/resourcegroups/rgplayfab/providers/Microsoft.PlayFab/titles?api-version=2022-01-26-preview&$skipToken=342r89" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_ListBySubscription_MinimumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..0784cbc435b9 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "playFabTitleId": "8FFBFA78", + "playerAccountPoolId": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/testrg/providers/Microsoft.PlayFab/playerAccountPools/playerAccountName", + "provisioningState": "NotSpecified" + }, + "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" + }, + "identity": { + "type": "None" + }, + "tags": { + "company": "Microsoft" + }, + "location": "West US", + "id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/rgplayfab/providers/Microsoft.PlayFab/titles/DevPlayers", + "name": "DevPlayers", + "type": "microsoft.PlayFab/titles" + } + ], + "nextLink": "https://localhost:50194/subscriptions/030efb7e-a7b1-41da-99e8-aa25e7d3c800/resourcegroups/rgplayfab/providers/Microsoft.PlayFab/titles?api-version=2022-01-26-preview&$skipToken=342r89" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_Update_MaximumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..04eef68afc04 --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_Update_MaximumSet_Gen.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers", + "parameters": { + "identity": { + "type": "SystemAssigned" + }, + "tags": { + "company": "Microsoft" + }, + "properties": { + "playerAccountPoolId": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/testrg/providers/Microsoft.PlayFab/playerAccountPools/playerAccountName", + "settings": { + "general": { + "allowNonUniquePlayerDisplayNames": true, + "displayNameRandomSuffixLength": 4 + }, + "api": { + "allowClientsToUpdatePlayerStatistics": true + } + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "playFabTitleId": "8FFBFA78", + "playerAccountPoolId": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/testrg/providers/Microsoft.PlayFab/playerAccountPools/playerAccountName", + "settings": { + "general": { + "allowNonUniquePlayerDisplayNames": true, + "displayNameRandomSuffixLength": 4 + }, + "api": { + "allowClientsToUpdatePlayerStatistics": true + } + }, + "provisioningState": "NotSpecified" + }, + "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" + }, + "identity": { + "tenantId": "76A345678-1784-2ER4-1234-123456789abc", + "principalId": "12345678-1234-1234-1234-123456789abc", + "type": "SystemAssigned" + }, + "tags": { + "company": "Microsoft" + }, + "location": "West US", + "id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/rgplayfab/providers/Microsoft.PlayFab/titles/DevPlayers", + "name": "DevPlayers", + "type": "microsoft.PlayFab/titles" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_Update_MinimumSet_Gen.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..6a11c2aa82ed --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/examples/Titles_Update_MinimumSet_Gen.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2022-03-02-preview", + "subscriptionId": "3f753bd1-b08e-4473-965c-0397c16d9789", + "resourceGroupName": "rgplayfab", + "titleName": "DevPlayers", + "parameters": { + "identity": { + "type": "None" + }, + "tags": { + "company": "Microsoft" + }, + "properties": { + "playerAccountPoolId": "aa" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "playFabTitleId": "8FFBFA78", + "playerAccountPoolId": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/testrg/providers/Microsoft.PlayFab/playerAccountPools/playerAccountName", + "provisioningState": "NotSpecified" + }, + "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" + }, + "identity": { + "type": "None" + }, + "tags": { + "company": "Microsoft" + }, + "location": "West US", + "id": "/subscriptions/3f753bd1-b08e-4473-965c-0397c16d9789/resourceGroups/rgplayfab/providers/Microsoft.PlayFab/titles/DevPlayers", + "name": "DevPlayers", + "type": "microsoft.PlayFab/titles" + } + } + } +} diff --git a/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/playfab.json b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/playfab.json new file mode 100644 index 000000000000..bc55d6d4ca4f --- /dev/null +++ b/specification/playfab/resource-manager/Microsoft.PlayFab/preview/2022-03-02-preview/playfab.json @@ -0,0 +1,2102 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft.PlayFab", + "version": "2022-03-02-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "PlayerAccountPools" + }, + { + "name": "Titles" + }, + { + "name": "Segments" + }, + { + "name": "TitleDataKeyValues" + }, + { + "name": "TitleInternalDataKeyValues" + }, + { + "name": "Operations" + } + ], + "paths": { + "/providers/Microsoft.PlayFab/operations": { + "get": { + "operationId": "Operations_List", + "summary": "List the operations for Microsoft.PlayFab", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Operations" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Operations_List_MaximumSet_Gen": { + "$ref": "./examples/Operations_List_MaximumSet_Gen.json" + }, + "Operations_List_MinimumSet_Gen": { + "$ref": "./examples/Operations_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.PlayFab/playerAccountPools": { + "get": { + "operationId": "PlayerAccountPools_ListBySubscription", + "summary": "List PlayerAccountPool resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/PlayerAccountPoolListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "PlayerAccountPools" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "PlayerAccountPools_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/PlayerAccountPools_ListBySubscription_MaximumSet_Gen.json" + }, + "PlayerAccountPools_ListBySubscription_MinimumSet_Gen": { + "$ref": "./examples/PlayerAccountPools_ListBySubscription_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.PlayFab/titles": { + "get": { + "operationId": "Titles_ListBySubscription", + "summary": "List Title resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TitleListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Titles" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Titles_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/Titles_ListBySubscription_MaximumSet_Gen.json" + }, + "Titles_ListBySubscription_MinimumSet_Gen": { + "$ref": "./examples/Titles_ListBySubscription_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PlayFab/playerAccountPools": { + "get": { + "operationId": "PlayerAccountPools_ListByResourceGroup", + "summary": "List PlayerAccountPool resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/PlayerAccountPoolListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "PlayerAccountPools" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "PlayerAccountPools_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/PlayerAccountPools_ListByResourceGroup_MaximumSet_Gen.json" + }, + "PlayerAccountPools_ListByResourceGroup_MinimumSet_Gen": { + "$ref": "./examples/PlayerAccountPools_ListByResourceGroup_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PlayFab/playerAccountPools/{playerAccountPoolName}": { + "put": { + "operationId": "PlayerAccountPools_CreateOrUpdate", + "summary": "Create or update a Player Account Pool.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/PlayerAccountPoolNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "description": "Create or update resource parameters.", + "schema": { + "$ref": "#/definitions/PlayerAccountPool" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/PlayerAccountPool" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "PlayerAccountPools" + ], + "x-ms-examples": { + "PlayerAccountPools_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/PlayerAccountPools_CreateOrUpdate_MaximumSet_Gen.json" + }, + "PlayerAccountPools_CreateOrUpdate_MinimumSet_Gen": { + "$ref": "./examples/PlayerAccountPools_CreateOrUpdate_MinimumSet_Gen.json" + } + } + }, + "get": { + "operationId": "PlayerAccountPools_Get", + "summary": "Get a PlayerAccountPool", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/PlayerAccountPoolNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/PlayerAccountPool" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "PlayerAccountPools" + ], + "x-ms-examples": { + "PlayerAccountPools_Get_MaximumSet_Gen": { + "$ref": "./examples/PlayerAccountPools_Get_MaximumSet_Gen.json" + }, + "PlayerAccountPools_Get_MinimumSet_Gen": { + "$ref": "./examples/PlayerAccountPools_Get_MinimumSet_Gen.json" + } + } + }, + "patch": { + "operationId": "PlayerAccountPools_Update", + "summary": "Update a PlayerAccountPool", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/PlayerAccountPoolNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "description": "The resource properties to be updated.", + "schema": { + "$ref": "#/definitions/PlayerAccountPoolUpdate" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/PlayerAccountPool" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "PlayerAccountPools" + ], + "x-ms-examples": { + "PlayerAccountPools_Update_MaximumSet_Gen": { + "$ref": "./examples/PlayerAccountPools_Update_MaximumSet_Gen.json" + }, + "PlayerAccountPools_Update_MinimumSet_Gen": { + "$ref": "./examples/PlayerAccountPools_Update_MinimumSet_Gen.json" + } + } + }, + "delete": { + "operationId": "PlayerAccountPools_Delete", + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true, + "summary": "Delete a PlayerAccountPool", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/PlayerAccountPoolNameParameter" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted." + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "PlayerAccountPools" + ], + "x-ms-examples": { + "PlayerAccountPools_Delete_MaximumSet_Gen": { + "$ref": "./examples/PlayerAccountPools_Delete_MaximumSet_Gen.json" + }, + "PlayerAccountPools_Delete_MinimumSet_Gen": { + "$ref": "./examples/PlayerAccountPools_Delete_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PlayFab/titles": { + "get": { + "operationId": "Titles_ListByResourceGroup", + "summary": "List Title resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TitleListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Titles" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Titles_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/Titles_ListByResourceGroup_MaximumSet_Gen.json" + }, + "Titles_ListByResourceGroup_MinimumSet_Gen": { + "$ref": "./examples/Titles_ListByResourceGroup_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PlayFab/titles/{titleName}": { + "put": { + "operationId": "Titles_CreateOrUpdate", + "summary": "Create or update a Title Resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/TitleNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "description": "Create or update resource parameters.", + "schema": { + "$ref": "#/definitions/Title" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/Title" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Titles" + ], + "x-ms-examples": { + "Titles_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/Titles_CreateOrUpdate_MaximumSet_Gen.json" + }, + "Titles_CreateOrUpdate_MinimumSet_Gen": { + "$ref": "./examples/Titles_CreateOrUpdate_MinimumSet_Gen.json" + } + } + }, + "patch": { + "operationId": "Titles_Update", + "summary": "Update a Title Resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/TitleNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/TitleResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/Title" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Titles" + ], + "x-ms-examples": { + "Titles_Update_MaximumSet_Gen": { + "$ref": "./examples/Titles_Update_MaximumSet_Gen.json" + }, + "Titles_Update_MinimumSet_Gen": { + "$ref": "./examples/Titles_Update_MinimumSet_Gen.json" + } + } + }, + "get": { + "operationId": "Titles_Get", + "summary": "Get a Title", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/TitleNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/Title" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Titles" + ], + "x-ms-examples": { + "Titles_Get_MaximumSet_Gen": { + "$ref": "./examples/Titles_Get_MaximumSet_Gen.json" + }, + "Titles_Get_MinimumSet_Gen": { + "$ref": "./examples/Titles_Get_MinimumSet_Gen.json" + } + } + }, + "delete": { + "operationId": "Titles_Delete", + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true, + "summary": "Delete a Title", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/TitleNameParameter" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted." + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Titles" + ], + "x-ms-examples": { + "Titles_Delete_MaximumSet_Gen": { + "$ref": "./examples/Titles_Delete_MaximumSet_Gen.json" + }, + "Titles_Delete_MinimumSet_Gen": { + "$ref": "./examples/Titles_Delete_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PlayFab/titles/{titleName}/segments": { + "get": { + "operationId": "Segments_List", + "summary": "List all Segment by titleName", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/TitleNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/SegmentListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Segments" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Segments_List_MaximumSet_Gen": { + "$ref": "./examples/Segments_List_MaximumSet_Gen.json" + }, + "Segments_List_MinimumSet_Gen": { + "$ref": "./examples/Segments_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PlayFab/titles/{titleName}/segments/{segmentName}": { + "put": { + "operationId": "Segments_CreateOrUpdate", + "summary": "Create or update a Title Segment.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/TitleNameParameter" + }, + { + "$ref": "#/parameters/SegmentNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "description": "Create or update resource parameters.", + "schema": { + "$ref": "#/definitions/Segment" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/Segment" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Segments" + ], + "x-ms-examples": { + "Segments_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/Segments_CreateOrUpdate_MaximumSet_Gen.json" + }, + "Segments_CreateOrUpdate_MinimumSet_Gen": { + "$ref": "./examples/Segments_CreateOrUpdate_MinimumSet_Gen.json" + } + } + }, + "delete": { + "operationId": "Segments_Delete", + "summary": "Delete a Title Segment.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/TitleNameParameter" + }, + { + "$ref": "#/parameters/SegmentNameParameter" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Segments" + ], + "x-ms-examples": { + "Segments_Delete_MaximumSet_Gen": { + "$ref": "./examples/Segments_Delete_MaximumSet_Gen.json" + }, + "Segments_Delete_MinimumSet_Gen": { + "$ref": "./examples/Segments_Delete_MinimumSet_Gen.json" + } + } + }, + "get": { + "operationId": "Segments_Get", + "summary": "Get a Segment", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/TitleNameParameter" + }, + { + "$ref": "#/parameters/SegmentNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/Segment" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Segments" + ], + "x-ms-examples": { + "Segments_Get_MaximumSet_Gen": { + "$ref": "./examples/Segments_Get_MaximumSet_Gen.json" + }, + "Segments_Get_MinimumSet_Gen": { + "$ref": "./examples/Segments_Get_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PlayFab/titles/{titleName}/titledatakeyvalues": { + "get": { + "operationId": "TitleDataKeyValues_List", + "summary": "List all TitleDataKeyValue by titleName", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/TitleNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TitleDataKeyValueListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "TitleDataKeyValues" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "TitleDataKeyValues_List_MaximumSet_Gen": { + "$ref": "./examples/TitleDataKeyValues_List_MaximumSet_Gen.json" + }, + "TitleDataKeyValues_List_MinimumSet_Gen": { + "$ref": "./examples/TitleDataKeyValues_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PlayFab/titles/{titleName}/titledatakeyvalues/{titleDataKeyValueName}": { + "put": { + "operationId": "TitleDataKeyValues_CreateOrUpdate", + "summary": "Create or update a TitleDataKeyValue.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/TitleNameParameter" + }, + { + "$ref": "#/parameters/TitleDataKeyValueNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "description": "Create or update resource parameters.", + "schema": { + "$ref": "#/definitions/TitleDataKeyValue" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TitleDataKeyValue" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "TitleDataKeyValues" + ], + "x-ms-examples": { + "TitleDataKeyValues_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/TitleDataKeyValues_CreateOrUpdate_MaximumSet_Gen.json" + }, + "TitleDataKeyValues_CreateOrUpdate_MinimumSet_Gen": { + "$ref": "./examples/TitleDataKeyValues_CreateOrUpdate_MinimumSet_Gen.json" + } + } + }, + "delete": { + "operationId": "TitleDataKeyValues_Delete", + "summary": "Delete a TitleDataKeyValue.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/TitleNameParameter" + }, + { + "$ref": "#/parameters/TitleDataKeyValueNameParameter" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "TitleDataKeyValues" + ], + "x-ms-examples": { + "TitleDataKeyValues_Delete_MaximumSet_Gen": { + "$ref": "./examples/TitleDataKeyValues_Delete_MaximumSet_Gen.json" + }, + "TitleDataKeyValues_Delete_MinimumSet_Gen": { + "$ref": "./examples/TitleDataKeyValues_Delete_MinimumSet_Gen.json" + } + } + }, + "get": { + "operationId": "TitleDataKeyValues_Get", + "summary": "Get a TitleDataKeyValue", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/TitleNameParameter" + }, + { + "$ref": "#/parameters/TitleDataKeyValueNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TitleDataKeyValue" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "TitleDataKeyValues" + ], + "x-ms-examples": { + "TitleDataKeyValues_Get_MaximumSet_Gen": { + "$ref": "./examples/TitleDataKeyValues_Get_MaximumSet_Gen.json" + }, + "TitleDataKeyValues_Get_MinimumSet_Gen": { + "$ref": "./examples/TitleDataKeyValues_Get_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PlayFab/titles/{titleName}/titleinternaldatakeyvalues": { + "get": { + "operationId": "TitleInternalDataKeyValues_List", + "summary": "List all TitleInternalDataKeyValue by titleName", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/TitleNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TitleInternalDataKeyValueListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "TitleInternalDataKeyValues" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "TitleInternalDataKeyValues_List_MaximumSet_Gen": { + "$ref": "./examples/TitleInternalDataKeyValues_List_MaximumSet_Gen.json" + }, + "TitleInternalDataKeyValues_List_MinimumSet_Gen": { + "$ref": "./examples/TitleInternalDataKeyValues_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PlayFab/titles/{titleName}/titleinternaldatakeyvalues/{titleInternalDataKeyValueName}": { + "put": { + "operationId": "TitleInternalDataKeyValues_CreateOrUpdate", + "summary": "Create or update a TitleInternalDataKeyValue.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/TitleNameParameter" + }, + { + "$ref": "#/parameters/TitleInternalDataKeyValueNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "description": "Create or update resource parameters.", + "schema": { + "$ref": "#/definitions/TitleInternalDataKeyValue" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TitleInternalDataKeyValue" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "TitleInternalDataKeyValues" + ], + "x-ms-examples": { + "TitleInternalDataKeyValues_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/TitleInternalDataKeyValues_CreateOrUpdate_MaximumSet_Gen.json" + }, + "TitleInternalDataKeyValues_CreateOrUpdate_MinimumSet_Gen": { + "$ref": "./examples/TitleInternalDataKeyValues_CreateOrUpdate_MinimumSet_Gen.json" + } + } + }, + "delete": { + "operationId": "TitleInternalDataKeyValues_Delete", + "summary": "Delete a TitleInternalDataKeyValue.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/TitleNameParameter" + }, + { + "$ref": "#/parameters/TitleInternalDataKeyValueNameParameter" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "TitleInternalDataKeyValues" + ], + "x-ms-examples": { + "TitleInternalDataKeyValues_Delete_MaximumSet_Gen": { + "$ref": "./examples/TitleInternalDataKeyValues_Delete_MaximumSet_Gen.json" + }, + "TitleInternalDataKeyValues_Delete_MinimumSet_Gen": { + "$ref": "./examples/TitleInternalDataKeyValues_Delete_MinimumSet_Gen.json" + } + } + }, + "get": { + "operationId": "TitleInternalDataKeyValues_Get", + "summary": "Get a TitleInternalDataKeyValue", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/TitleNameParameter" + }, + { + "$ref": "#/parameters/TitleInternalDataKeyValueNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TitleInternalDataKeyValue" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "TitleInternalDataKeyValues" + ], + "x-ms-examples": { + "TitleInternalDataKeyValues_Get_MaximumSet_Gen": { + "$ref": "./examples/TitleInternalDataKeyValues_Get_MaximumSet_Gen.json" + }, + "TitleInternalDataKeyValues_Get_MinimumSet_Gen": { + "$ref": "./examples/TitleInternalDataKeyValues_Get_MinimumSet_Gen.json" + } + } + } + } + }, + "definitions": { + "ApiSettings": { + "type": "object", + "properties": { + "allowClientsToUpdatePlayerStatistics": { + "type": "boolean", + "description": "Setting to enable API allowing client to update user statistics." + } + }, + "description": "Title API Settings" + }, + "Azure.ARM.ManagedSystemIdentityProperties": { + "type": "object", + "properties": { + "tenantId": { + "type": "string", + "description": "The Active Directory tenant id of the principal.", + "readOnly": true + }, + "principalId": { + "type": "string", + "description": "The active directory identifier of this principal.", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/Azure.ARM.ManagedSystemIdentityType", + "description": "The type of managed identity assigned to this resource." + } + }, + "description": "The properties of the service-assigned identity associated with this resource/", + "required": [ + "type" + ] + }, + "Azure.ARM.ManagedSystemIdentityType": { + "type": "string", + "description": "The kind of managed identity assigned to this resource.", + "enum": [ + "None", + "SystemAssigned" + ], + "x-ms-enum": { + "name": "ManagedSystemIdentityType", + "modelAsString": true + } + }, + "Comparison": { + "type": "string", + "enum": [ + "Greater", + "Less", + "Equals", + "NotEquals", + "GreaterOrEquals", + "LessOrEquals", + "Contains", + "NotContains", + "Ignore", + "Exists" + ], + "x-ms-enum": { + "name": "Comparison", + "modelAsString": true + } + }, + "GeneralSettings": { + "type": "object", + "properties": { + "allowNonUniquePlayerDisplayNames": { + "type": "boolean", + "description": "Setting to allow non unique player display name." + }, + "displayNameRandomSuffixLength": { + "type": "integer", + "format": "int32", + "description": "Setting to enable addition of random suffix to player display name and specify it's length" + } + }, + "description": "General Title Settings" + }, + "PlayerAccountPool": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/PlayerAccountPoolProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "description": "System metadata for this resource.", + "readOnly": true + } + }, + "description": "A PlayerAccountPool", + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + } + ] + }, + "PlayerAccountPoolListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PlayerAccountPool" + }, + "x-cadl-name": "Microsoft.PlayFab.PlayerAccountPool[]", + "description": "The items on this page" + }, + "nextLink": { + "type": "string", + "description": "The link to the next page of items" + } + }, + "description": "The response of a PlayerAccountPool list operation.", + "required": [ + "value" + ] + }, + "PlayerAccountPoolProperties": { + "type": "object", + "properties": { + "playFabPlayerAccountPoolId": { + "type": "string", + "description": "Id of publisher object in PlayFab backend associated to the PlayerAccountPool resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + } + }, + "description": "Properties of PlayAccountPool" + }, + "PlayerAccountPoolUpdate": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags.", + "x-ms-mutability": [ + "read", + "update", + "create" + ] + } + }, + "description": "The updatable properties of the PlayerAccountPool." + }, + "ProvisioningState": { + "type": "string", + "enum": [ + "NotSpecified", + "Accepted", + "Creating", + "Deleting", + "Canceled", + "Failed", + "Succeeded" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "Segment": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/SegmentProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "description": "System metadata for this resource.", + "readOnly": true + } + }, + "description": "The details about Segment.", + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" + } + ] + }, + "SegmentFilter": { + "type": "object", + "properties": { + "filterName": { + "type": "string", + "description": "Name of the Segment filter.", + "enum": [ + "AllPlayers", + "FirstLoginDate", + "FirstLogin", + "LastLoginDate", + "LastLogin", + "Location", + "Tag", + "UserOrigination", + "Statistic" + ], + "x-ms-enum": { + "name": "filterName", + "modelAsString": true + } + } + }, + "description": "Details about Segment Filter", + "discriminator": "filterName", + "required": [ + "filterName" + ] + }, + "SegmentAllPlayersFilter": { + "type": "object", + "properties": {}, + "description": "Details about Segment AllPlayers Filter", + "allOf": [ + { + "$ref": "#/definitions/SegmentFilter" + } + ], + "x-ms-discriminator-value": "AllPlayers" + }, + "SegmentFirstLoginDateFilter": { + "type": "object", + "properties": { + "comparison": { + "$ref": "#/definitions/Comparison", + "description": "Comparator used for the filter." + }, + "value": { + "type": "string", + "description": "Value to be compared" + } + }, + "description": "Details about Segment FirstLoginDate Filter", + "required": [ + "comparison", + "value" + ], + "allOf": [ + { + "$ref": "#/definitions/SegmentFilter" + } + ], + "x-ms-discriminator-value": "FirstLoginDate" + }, + "SegmentFirstLoginFilter": { + "type": "object", + "properties": { + "comparison": { + "$ref": "#/definitions/Comparison", + "description": "Comparator used for the filter." + }, + "value": { + "type": "string", + "description": "Value to be compared" + } + }, + "description": "Details about Segment FirstLogin Filter", + "required": [ + "comparison", + "value" + ], + "allOf": [ + { + "$ref": "#/definitions/SegmentFilter" + } + ], + "x-ms-discriminator-value": "FirstLogin" + }, + "SegmentGroup": { + "type": "object", + "properties": { + "filters": { + "type": "array", + "items": { + "$ref": "#/definitions/SegmentFilter" + }, + "x-cadl-name": "Microsoft.PlayFab.SegmentFilter[]", + "description": "List of Filters for defining groups", + "x-ms-identifiers": [] + } + }, + "description": "Details about Segment Group", + "required": [ + "filters" + ] + }, + "SegmentLastLoginDateFilter": { + "type": "object", + "properties": { + "comparison": { + "$ref": "#/definitions/Comparison", + "description": "Comparator used for the filter." + }, + "value": { + "type": "string", + "description": "Value to be compared" + } + }, + "description": "Details about Segment LastLoginDate Filter", + "required": [ + "comparison", + "value" + ], + "allOf": [ + { + "$ref": "#/definitions/SegmentFilter" + } + ], + "x-ms-discriminator-value": "LastLoginDate" + }, + "SegmentLastLoginFilter": { + "type": "object", + "properties": { + "comparison": { + "$ref": "#/definitions/Comparison", + "description": "Comparator used for the filter." + }, + "value": { + "type": "string", + "description": "Value to be compared" + } + }, + "description": "Details about Segment LastLogin Filter", + "required": [ + "comparison", + "value" + ], + "allOf": [ + { + "$ref": "#/definitions/SegmentFilter" + } + ], + "x-ms-discriminator-value": "LastLogin" + }, + "SegmentListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Segment" + }, + "x-cadl-name": "Microsoft.PlayFab.Segment[]", + "description": "The items on this page" + }, + "nextLink": { + "type": "string", + "description": "The link to the next page of items" + } + }, + "description": "The response of a Segment list operation.", + "required": [ + "value" + ] + }, + "SegmentLocationFilter": { + "type": "object", + "properties": { + "comparison": { + "$ref": "#/definitions/Comparison", + "description": "Comparator used for the filter." + }, + "value": { + "type": "string", + "description": "Value to be compared" + } + }, + "description": "Details about Segment Location Filter", + "required": [ + "comparison", + "value" + ], + "allOf": [ + { + "$ref": "#/definitions/SegmentFilter" + } + ], + "x-ms-discriminator-value": "Location" + }, + "SegmentProperties": { + "type": "object", + "properties": { + "playFabSegmentId": { + "type": "string", + "description": "Id of Segment object in PlayFab backend.", + "readOnly": true + }, + "query": { + "$ref": "#/definitions/SegmentQuery", + "description": "Query for defining Segment." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + } + }, + "description": "Properties of Segment Resource", + "required": [ + "query" + ] + }, + "SegmentQuery": { + "type": "object", + "properties": { + "groups": { + "type": "array", + "items": { + "$ref": "#/definitions/SegmentGroup" + }, + "x-cadl-name": "Microsoft.PlayFab.SegmentGroup[]", + "description": "Groups in Query for Segment definition", + "x-ms-identifiers": [] + } + }, + "description": "Details about Segment Query", + "required": [ + "groups" + ] + }, + "SegmentStatisticFilter": { + "type": "object", + "properties": { + "comparison": { + "$ref": "#/definitions/Comparison", + "description": "Comparator used for the filter." + }, + "value": { + "type": "string", + "description": "Value to be compared" + }, + "statisticName": { + "type": "string", + "description": "Statistic Filter name" + }, + "version": { + "type": "integer", + "format": "int32", + "description": "Version of Statistic to be used" + }, + "useCurrentVersion": { + "type": "boolean", + "description": "Use current version of Statistic filter" + } + }, + "description": "Details about Segment Statistics Filter", + "required": [ + "comparison", + "value", + "statisticName" + ], + "allOf": [ + { + "$ref": "#/definitions/SegmentFilter" + } + ], + "x-ms-discriminator-value": "Statistic" + }, + "SegmentTagFilter": { + "type": "object", + "properties": { + "comparison": { + "$ref": "#/definitions/Comparison", + "description": "Comparator used for the filter." + }, + "value": { + "type": "string", + "description": "Value to be compared" + } + }, + "description": "Details about Segment TagFilter", + "required": [ + "comparison", + "value" + ], + "allOf": [ + { + "$ref": "#/definitions/SegmentFilter" + } + ], + "x-ms-discriminator-value": "Tag" + }, + "SegmentUserOriginationFilter": { + "type": "object", + "properties": { + "comparison": { + "$ref": "#/definitions/Comparison", + "description": "Comparator used for the filter." + }, + "value": { + "type": "string", + "description": "Value to be compared" + } + }, + "description": "Details about Segment UserOrigination Filter", + "required": [ + "comparison", + "value" + ], + "allOf": [ + { + "$ref": "#/definitions/SegmentFilter" + } + ], + "x-ms-discriminator-value": "UserOrigination" + }, + "Title": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/TitleProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "description": "System metadata for this resource.", + "readOnly": true + }, + "identity": { + "$ref": "#/definitions/Azure.ARM.ManagedSystemIdentityProperties", + "description": "The managed service identities assigned to this resource." + } + }, + "description": "Details about Title.", + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + } + ] + }, + "TitleDataKeyValue": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/TitleDataKeyValueProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "description": "System metadata for this resource.", + "readOnly": true + } + }, + "description": "The details about TitleDataKeyValue.", + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" + } + ] + }, + "TitleDataKeyValueListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/TitleDataKeyValue" + }, + "x-cadl-name": "Microsoft.PlayFab.TitleDataKeyValue[]", + "description": "The items on this page" + }, + "nextLink": { + "type": "string", + "description": "The link to the next page of items" + } + }, + "description": "The response of a TitleDataKeyValue list operation.", + "required": [ + "value" + ] + }, + "TitleDataKeyValueProperties": { + "type": "object", + "properties": { + "value": { + "type": "string", + "description": "Value of TitleDataKeyValue." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + } + }, + "description": "Properties of TitleDataKeyValue Resource", + "required": [ + "value" + ] + }, + "TitleInternalDataKeyValue": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/TitleInternalDataKeyValueProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "description": "System metadata for this resource.", + "readOnly": true + } + }, + "description": "The details about TitleInternalDataKeyValue.", + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" + } + ] + }, + "TitleInternalDataKeyValueListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/TitleInternalDataKeyValue" + }, + "x-cadl-name": "Microsoft.PlayFab.TitleInternalDataKeyValue[]", + "description": "The items on this page" + }, + "nextLink": { + "type": "string", + "description": "The link to the next page of items" + } + }, + "description": "The response of a TitleInternalDataKeyValue list operation.", + "required": [ + "value" + ] + }, + "TitleInternalDataKeyValueProperties": { + "type": "object", + "properties": { + "value": { + "type": "string", + "description": "Value of TitleInternalDataKeyValue." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + } + }, + "description": "Properties of TitleInternalDataKeyValue Resource", + "required": [ + "value" + ] + }, + "TitleListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Title" + }, + "x-cadl-name": "Microsoft.PlayFab.Title[]", + "description": "The items on this page" + }, + "nextLink": { + "type": "string", + "description": "The link to the next page of items" + } + }, + "description": "The response of a Title list operation.", + "required": [ + "value" + ] + }, + "TitleProperties": { + "type": "object", + "properties": { + "playFabTitleId": { + "type": "string", + "description": "Id of title object in PlayFab backend.", + "readOnly": true + }, + "playerAccountPoolId": { + "type": "string", + "description": "Azure resource Id of the PlayerAccountPool resource." + }, + "settings": { + "$ref": "#/definitions/TitleSettings", + "description": "Setting pertaining to a Title" + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + } + }, + "description": "Properties of Title Resource", + "required": [ + "playerAccountPoolId" + ] + }, + "TitleResourceUpdate": { + "type": "object", + "properties": { + "identity": { + "$ref": "#/definitions/Azure.ARM.ManagedSystemIdentityProperties", + "description": "The managed service identities assigned to this resource." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags.", + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "properties": { + "$ref": "#/definitions/TitleUpdateProperties", + "description": "The updatable resource-specific properties for a Title." + } + }, + "description": "The Update model for a Title Resource" + }, + "TitleSettings": { + "type": "object", + "properties": { + "general": { + "$ref": "#/definitions/GeneralSettings", + "description": "General Title Settings" + }, + "api": { + "$ref": "#/definitions/ApiSettings", + "description": "Title Api Settings" + } + }, + "description": "Title Settings model" + }, + "TitleUpdateProperties": { + "type": "object", + "properties": { + "playerAccountPoolId": { + "type": "string", + "description": "Azure resource Id of the PlayerAccountPool resource." + }, + "settings": { + "$ref": "#/definitions/TitleSettings", + "description": "Setting pertaining to a Title" + } + }, + "description": "The updatable resource-specific properties for a title" + } + }, + "parameters": { + "PlayerAccountPoolNameParameter": { + "x-ms-parameter-location": "method", + "name": "playerAccountPoolName", + "in": "path", + "required": true, + "description": "PlayerAccountPool resource name", + "type": "string" + }, + "SegmentNameParameter": { + "x-ms-parameter-location": "method", + "name": "segmentName", + "in": "path", + "required": true, + "description": "Name of the Segment Parameter.", + "type": "string" + }, + "TitleDataKeyValueNameParameter": { + "x-ms-parameter-location": "method", + "name": "titleDataKeyValueName", + "in": "path", + "required": true, + "description": "Name of the TitleDataKeyValue Parameter.", + "type": "string" + }, + "TitleInternalDataKeyValueNameParameter": { + "x-ms-parameter-location": "method", + "name": "titleInternalDataKeyValueName", + "in": "path", + "required": true, + "description": "Name of the TitleInternalDataKeyValue Parameter.", + "type": "string" + }, + "TitleNameParameter": { + "x-ms-parameter-location": "method", + "name": "titleName", + "in": "path", + "required": true, + "description": "Name of the Title Parameter.", + "type": "string" + } + } +} diff --git a/specification/playfab/resource-manager/readme.md b/specification/playfab/resource-manager/readme.md index 8a45af244f86..861cd730df7b 100644 --- a/specification/playfab/resource-manager/readme.md +++ b/specification/playfab/resource-manager/readme.md @@ -27,7 +27,15 @@ These are the global settings for the playfab. ```yaml openapi-type: arm openapi-subtype: rpaas -tag: package-2022-01-26-preview +tag: package-2022-03-02-preview +``` +### Tag: package-2022-03-02-preview + +These settings apply only when `--tag=package-2022-03-02-preview` is specified on the command line. + +```yaml $(tag) == 'package-2022-03-02-preview' +input-file: + - Microsoft.PlayFab/preview/2022-03-02-preview/playfab.json ``` ### Tag: package-2022-01-26-preview