Skip to content

Commit

Permalink
Fix SystemData value in User Session examples (#31818)
Browse files Browse the repository at this point in the history
* Fix SystemData value in User Session examples

* fix Swagger ModelValidation failure

---------

Co-authored-by: Yu Zhang <[email protected]>
Co-authored-by: ryanosh <[email protected]>
  • Loading branch information
3 people authored Jan 7, 2025
1 parent d6d0798 commit 51238f4
Show file tree
Hide file tree
Showing 69 changed files with 401 additions and 401 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"iconPath": "icon",
"iconIndex": 1,
"iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
"iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...",
"iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
"applicationType": "InBuilt",
"msixPackageFamilyName": null,
"msixPackageApplicationId": null
Expand Down Expand Up @@ -74,7 +74,7 @@
"iconPath": "icon",
"iconIndex": 1,
"iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
"iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...",
"iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
"applicationType": "InBuilt",
"msixPackageFamilyName": null,
"msixPackageApplicationId": null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"iconPath": "icon",
"iconIndex": 1,
"iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
"iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...",
"iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
"applicationType": "InBuilt",
"msixPackageFamilyName": null,
"msixPackageApplicationId": null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"iconPath": "icon",
"iconIndex": 1,
"iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
"iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...",
"iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
"applicationType": "InBuilt",
"msixPackageFamilyName": null,
"msixPackageApplicationId": null
Expand Down Expand Up @@ -61,7 +61,7 @@
"iconPath": "icon",
"iconIndex": 1,
"iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
"iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...",
"iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
"applicationType": "InBuilt",
"msixPackageFamilyName": null,
"msixPackageApplicationId": null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"iconPath": "icon",
"iconIndex": 1,
"iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
"iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...",
"iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
"applicationType": "InBuilt",
"msixPackageFamilyName": null,
"msixPackageApplicationId": null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"description": "des1",
"friendlyName": "friendly",
"iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
"iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..."
"iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"description": "des1",
"friendlyName": "friendly",
"iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
"iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..."
"iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"description": "des1",
"friendlyName": "friendly",
"iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
"iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..."
"iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"appUserModelID": "AppUserModelId",
"friendlyName": "FriendlyName",
"iconImageName": "Iconimagename",
"rawIcon": "RawIcon",
"rawPng": "RawPng"
"rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
"rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
}
]
}
Expand Down Expand Up @@ -77,17 +77,17 @@
"appUserModelID": "AppUserModelId1",
"friendlyName": "FriendlyName1",
"iconImageName": "Iconimagename1",
"rawIcon": "RawIcon1",
"rawPng": "RawPng1"
"rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
"rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
},
{
"appId": "AppId2",
"description": "PackageApplicationDescription2",
"appUserModelID": "AppUserModelId2",
"friendlyName": "FriendlyName2",
"iconImageName": "Iconimagename2",
"rawIcon": "RawIcon2",
"rawPng": "RawPng2"
"rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
"rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@
"appUserModelID": "Application_ModelID2",
"friendlyName": "fri2",
"iconImageName": "Apptile2",
"rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo2",
"rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo2"
"rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
"rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
"id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1",
"type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdBy": null,
"createdByType": null,
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
"lastModifiedBy": null,
"lastModifiedByType": null,
"lastModifiedAt": null
},
"properties": {
"objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
"id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1",
"type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdBy": null,
"createdByType": null,
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
"lastModifiedBy": null,
"lastModifiedByType": null,
"lastModifiedAt": null
},
"properties": {
"objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
Expand All @@ -36,12 +36,12 @@
"id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2",
"type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdBy": null,
"createdByType": null,
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
"lastModifiedBy": null,
"lastModifiedByType": null,
"lastModifiedAt": null
},
"properties": {
"objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
"id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1",
"type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdBy": null,
"createdByType": null,
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
"lastModifiedBy": null,
"lastModifiedByType": null,
"lastModifiedAt": null
},
"properties": {
"objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
Expand All @@ -36,12 +36,12 @@
"id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2",
"type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdBy": null,
"createdByType": null,
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
"lastModifiedBy": null,
"lastModifiedByType": null,
"lastModifiedAt": null
},
"properties": {
"objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"iconPath": "icon",
"iconIndex": 1,
"iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
"iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...",
"iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
"applicationType": "InBuilt",
"msixPackageFamilyName": null,
"msixPackageApplicationId": null
Expand Down Expand Up @@ -74,7 +74,7 @@
"iconPath": "icon",
"iconIndex": 1,
"iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
"iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...",
"iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
"applicationType": "InBuilt",
"msixPackageFamilyName": null,
"msixPackageApplicationId": null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"iconPath": "icon",
"iconIndex": 1,
"iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
"iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...",
"iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
"applicationType": "InBuilt",
"msixPackageFamilyName": null,
"msixPackageApplicationId": null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"iconPath": "icon",
"iconIndex": 1,
"iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
"iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...",
"iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
"applicationType": "InBuilt",
"msixPackageFamilyName": null,
"msixPackageApplicationId": null
Expand Down Expand Up @@ -61,7 +61,7 @@
"iconPath": "icon",
"iconIndex": 1,
"iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
"iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...",
"iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
"applicationType": "InBuilt",
"msixPackageFamilyName": null,
"msixPackageApplicationId": null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"iconPath": "icon",
"iconIndex": 1,
"iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
"iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA...",
"iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
"applicationType": "InBuilt",
"msixPackageFamilyName": null,
"msixPackageApplicationId": null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"description": "des1",
"friendlyName": "friendly",
"iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
"iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..."
"iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"description": "des1",
"friendlyName": "friendly",
"iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
"iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..."
"iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"description": "des1",
"friendlyName": "friendly",
"iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
"iconContent": "AAABAAgAAAAAAAEAIAA7MwAAhgAAAEBAAAABACAAKEIAAMEzAAAwMAAAAQAgAKglAADpdQAAKCgAAAEA..."
"iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"appUserModelID": "AppUserModelId",
"friendlyName": "FriendlyName",
"iconImageName": "Iconimagename",
"rawIcon": "RawIcon",
"rawPng": "RawPng"
"rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
"rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
}
]
}
Expand Down Expand Up @@ -77,17 +77,17 @@
"appUserModelID": "AppUserModelId1",
"friendlyName": "FriendlyName1",
"iconImageName": "Iconimagename1",
"rawIcon": "RawIcon1",
"rawPng": "RawPng1"
"rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
"rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
},
{
"appId": "AppId2",
"description": "PackageApplicationDescription2",
"appUserModelID": "AppUserModelId2",
"friendlyName": "FriendlyName2",
"iconImageName": "Iconimagename2",
"rawIcon": "RawIcon2",
"rawPng": "RawPng2"
"rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
"rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@
"appUserModelID": "Application_ModelID2",
"friendlyName": "fri2",
"iconImageName": "Apptile2",
"rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo2",
"rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo2"
"rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
"rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
"id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1",
"type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdBy": null,
"createdByType": null,
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
"lastModifiedBy": null,
"lastModifiedByType": null,
"lastModifiedAt": null
},
"properties": {
"objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
"id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1",
"type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdBy": null,
"createdByType": null,
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
"lastModifiedBy": null,
"lastModifiedByType": null,
"lastModifiedAt": null
},
"properties": {
"objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
Expand All @@ -36,12 +36,12 @@
"id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2",
"type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdBy": null,
"createdByType": null,
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
"lastModifiedBy": null,
"lastModifiedByType": null,
"lastModifiedAt": null
},
"properties": {
"objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
Expand Down
Loading

0 comments on commit 51238f4

Please sign in to comment.