-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DesktopVirtualization] Stable 2024 04 03 Release (#28637)
* Adds base for updating Microsoft.DesktopVirtualization from version stable/2023-09-05 to version 2024-04-03 * Updates readme * Updates API version in new specs and examples * Added AppAttachPackage to latest stable * BREAKING CHANGE: added pattern to name parameters for objects. * added from in readme * Added nullable true to properties to match actual service implementation * Replaced all v* instances to v5 * Updated examples * Changed app attach to be TrackedResource * anyOf * Resource all of and tags explicitly defined * Removed force delete from AppAttach * Few code review fixes * Rest of code review fixes * Create sdk-suppressions.yaml * Update sdk-suppressions.yaml --------- Co-authored-by: Yuchao Yan <[email protected]> Co-authored-by: kazrael2119 <[email protected]> Co-authored-by: madhura <[email protected]>
- Loading branch information
1 parent
f9fb4b1
commit ec07fc7
Showing
82 changed files
with
13,697 additions
and
2 deletions.
There are no files selected for viewing
7,810 changes: 7,810 additions & 0 deletions
7,810
...urce-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/desktopvirtualization.json
Large diffs are not rendered by default.
Oops, something went wrong.
126 changes: 126 additions & 0 deletions
126
...ft.DesktopVirtualization/stable/2024-04-03/examples/AppAttachPackageInfo_Import_Post.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", | ||
"resourceGroupName": "resourceGroup1", | ||
"hostPoolName": "hostpool1", | ||
"api-version": "2024-04-03", | ||
"importPackageInfoRequest": { | ||
"path": "imagepath", | ||
"packageArchitecture": "x64" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "packageName", | ||
"id": "/subscriptions/d15725f7-6577-4a8c-95f1-3da903b42364/resourcegroups/charlesk-southcentralus/providers/Microsoft.DesktopVirtualization/appattachpackages/ModifierPackage", | ||
"type": "Microsoft.DesktopVirtualization/appattachpackages", | ||
"location": "southcentralus", | ||
"tags": {}, | ||
"systemData": { | ||
"createdBy": "user1", | ||
"createdByType": "User", | ||
"createdAt": "2023-09-28T23:44:56.13Z", | ||
"lastModifiedBy": "user1", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2023-10-09T01:43:31.07Z" | ||
}, | ||
"properties": { | ||
"image": { | ||
"packageAlias": "msixpackagealias", | ||
"imagePath": "imagepath", | ||
"packageName": "MsixPackageName", | ||
"packageFamilyName": "MsixPackage_FamilyName", | ||
"packageFullName": "MsixPackage_FullName", | ||
"displayName": "displayname", | ||
"packageRelativePath": "packagerelativepath", | ||
"isRegularRegistration": false, | ||
"isActive": false, | ||
"packageDependencies": [ | ||
{ | ||
"dependencyName": "MsixPackage_Dependency_Name", | ||
"publisher": "MsixPackage_Dependency_Publisher", | ||
"minVersion": "packageDep_version" | ||
} | ||
], | ||
"version": "packageversion", | ||
"lastUpdated": "2008-09-22T14:01:54.9571247Z", | ||
"packageApplications": [ | ||
{ | ||
"appId": "AppId", | ||
"description": "PackageApplicationDescription", | ||
"appUserModelID": "AppUserModelId", | ||
"friendlyName": "FriendlyName", | ||
"iconImageName": "Iconimagename", | ||
"rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo", | ||
"rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo" | ||
} | ||
], | ||
"certificateName": "certName", | ||
"certificateExpiry": "2023-01-02T17:18:19.1234567Z" | ||
}, | ||
"hostPoolReferences": [], | ||
"failHealthCheckOnStagingFailure": "NeedsAssistance", | ||
"keyVaultURL": "" | ||
} | ||
}, | ||
{ | ||
"name": "packageName", | ||
"id": "/subscriptions/d15725f7-6577-4a8c-95f1-3da903b42364/resourcegroups/charlesk-southcentralus/providers/Microsoft.DesktopVirtualization/appattachpackages/ModifierPackage", | ||
"type": "Microsoft.DesktopVirtualization/appattachpackages", | ||
"location": "southcentralus", | ||
"tags": {}, | ||
"systemData": { | ||
"createdBy": "user1", | ||
"createdByType": "User", | ||
"createdAt": "2023-09-28T23:44:56.13Z", | ||
"lastModifiedBy": "user1", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2023-10-09T01:43:31.07Z" | ||
}, | ||
"properties": { | ||
"image": { | ||
"packageAlias": "msixpackagealias", | ||
"imagePath": "imagepath", | ||
"packageName": "MsixPackageName", | ||
"packageFamilyName": "MsixPackage_FamilyName", | ||
"packageFullName": "MsixPackage_FullName", | ||
"displayName": "displayname", | ||
"packageRelativePath": "packagerelativepath", | ||
"isRegularRegistration": false, | ||
"isActive": false, | ||
"packageDependencies": [ | ||
{ | ||
"dependencyName": "MsixPackage_Dependency_Name", | ||
"publisher": "MsixPackage_Dependency_Publisher", | ||
"minVersion": "packageDep_version" | ||
} | ||
], | ||
"version": "packageversion", | ||
"lastUpdated": "2008-09-22T14:01:54.9571247Z", | ||
"packageApplications": [ | ||
{ | ||
"appId": "AppId", | ||
"description": "PackageApplicationDescription", | ||
"appUserModelID": "AppUserModelId", | ||
"friendlyName": "FriendlyName", | ||
"iconImageName": "Iconimagename", | ||
"rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo", | ||
"rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo" | ||
} | ||
], | ||
"certificateName": "certName", | ||
"certificateExpiry": "2023-01-02T17:18:19.1234567Z" | ||
}, | ||
"hostPoolReferences": [], | ||
"failHealthCheckOnStagingFailure": "NeedsAssistance", | ||
"keyVaultURL": "" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
161 changes: 161 additions & 0 deletions
161
...r/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/AppAttachPackage_Create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", | ||
"resourceGroupName": "resourceGroup1", | ||
"api-version": "2024-04-03", | ||
"appAttachPackageName": "msixpackagefullname", | ||
"appAttachPackage": { | ||
"location": "southcentralus", | ||
"properties": { | ||
"image": { | ||
"packageAlias": "msixpackagealias", | ||
"imagePath": "imagepath", | ||
"packageName": "MsixPackageName", | ||
"packageFamilyName": "MsixPackage_FamilyName", | ||
"packageFullName": "MsixPackage_FullName", | ||
"displayName": "displayname", | ||
"packageRelativePath": "packagerelativepath", | ||
"isRegularRegistration": false, | ||
"isActive": false, | ||
"packageDependencies": [ | ||
{ | ||
"dependencyName": "MsixPackage_Dependency_Name", | ||
"publisher": "MsixPackage_Dependency_Publisher", | ||
"minVersion": "packageDep_version" | ||
} | ||
], | ||
"version": "packageversion", | ||
"lastUpdated": "2008-09-22T14:01:54.9571247Z", | ||
"packageApplications": [ | ||
{ | ||
"appId": "AppId", | ||
"description": "PackageApplicationDescription", | ||
"appUserModelID": "AppUserModelId", | ||
"friendlyName": "FriendlyName", | ||
"iconImageName": "Iconimagename", | ||
"rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo", | ||
"rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo" | ||
} | ||
], | ||
"certificateName": "certName", | ||
"certificateExpiry": "2023-01-02T17:18:19.1234567Z" | ||
}, | ||
"hostPoolReferences": [], | ||
"failHealthCheckOnStagingFailure": "NeedsAssistance", | ||
"keyVaultURL": "" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "packageName", | ||
"id": "/subscriptions/d15725f7-6577-4a8c-95f1-3da903b42364/resourcegroups/charlesk-southcentralus/providers/Microsoft.DesktopVirtualization/appattachpackages/ModifierPackage", | ||
"type": "Microsoft.DesktopVirtualization/appattachpackages", | ||
"location": "southcentralus", | ||
"tags": {}, | ||
"systemData": { | ||
"createdBy": "user1", | ||
"createdByType": "User", | ||
"createdAt": "2023-09-28T23:44:56.13Z", | ||
"lastModifiedBy": "user1", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2023-10-09T01:43:31.07Z" | ||
}, | ||
"properties": { | ||
"image": { | ||
"packageAlias": "msixpackagealias", | ||
"imagePath": "imagepath", | ||
"packageName": "MsixPackageName", | ||
"packageFamilyName": "MsixPackage_FamilyName", | ||
"packageFullName": "MsixPackage_FullName", | ||
"displayName": "displayname", | ||
"packageRelativePath": "packagerelativepath", | ||
"isRegularRegistration": false, | ||
"isActive": false, | ||
"packageDependencies": [ | ||
{ | ||
"dependencyName": "MsixPackage_Dependency_Name", | ||
"publisher": "MsixPackage_Dependency_Publisher", | ||
"minVersion": "packageDep_version" | ||
} | ||
], | ||
"version": "packageversion", | ||
"lastUpdated": "2008-09-22T14:01:54.9571247Z", | ||
"packageApplications": [ | ||
{ | ||
"appId": "AppId", | ||
"description": "PackageApplicationDescription", | ||
"appUserModelID": "AppUserModelId", | ||
"friendlyName": "FriendlyName", | ||
"iconImageName": "Iconimagename", | ||
"rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo", | ||
"rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo" | ||
} | ||
], | ||
"certificateName": "certName", | ||
"certificateExpiry": "2023-01-02T17:18:19.1234567Z" | ||
}, | ||
"hostPoolReferences": [], | ||
"failHealthCheckOnStagingFailure": "NeedsAssistance", | ||
"keyVaultURL": "" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"name": "packageName", | ||
"id": "/subscriptions/d15725f7-6577-4a8c-95f1-3da903b42364/resourcegroups/charlesk-southcentralus/providers/Microsoft.DesktopVirtualization/appattachpackages/ModifierPackage", | ||
"type": "Microsoft.DesktopVirtualization/appattachpackages", | ||
"location": "southcentralus", | ||
"tags": {}, | ||
"systemData": { | ||
"createdBy": "user1", | ||
"createdByType": "User", | ||
"createdAt": "2023-09-28T23:44:56.13Z", | ||
"lastModifiedBy": "user1", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2023-10-09T01:43:31.07Z" | ||
}, | ||
"properties": { | ||
"image": { | ||
"packageAlias": "msixpackagealias", | ||
"imagePath": "imagepath", | ||
"packageName": "MsixPackageName", | ||
"packageFamilyName": "MsixPackage_FamilyName", | ||
"packageFullName": "MsixPackage_FullName", | ||
"displayName": "displayname", | ||
"packageRelativePath": "packagerelativepath", | ||
"isRegularRegistration": false, | ||
"isActive": false, | ||
"packageDependencies": [ | ||
{ | ||
"dependencyName": "MsixPackage_Dependency_Name", | ||
"publisher": "MsixPackage_Dependency_Publisher", | ||
"minVersion": "packageDep_version" | ||
} | ||
], | ||
"version": "packageversion", | ||
"lastUpdated": "2008-09-22T14:01:54.9571247Z", | ||
"packageApplications": [ | ||
{ | ||
"appId": "AppId", | ||
"description": "PackageApplicationDescription", | ||
"appUserModelID": "AppUserModelId", | ||
"friendlyName": "FriendlyName", | ||
"iconImageName": "Iconimagename", | ||
"rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo", | ||
"rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo" | ||
} | ||
], | ||
"certificateName": "certName", | ||
"certificateExpiry": "2023-01-02T17:18:19.1234567Z" | ||
}, | ||
"hostPoolReferences": [], | ||
"failHealthCheckOnStagingFailure": "NeedsAssistance", | ||
"keyVaultURL": "" | ||
} | ||
} | ||
} | ||
} | ||
} |
64 changes: 64 additions & 0 deletions
64
...r/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/AppAttachPackage_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", | ||
"resourceGroupName": "resourceGroup1", | ||
"api-version": "2024-04-03", | ||
"appAttachPackageName": "packagefullname" | ||
}, | ||
"responses": { | ||
"200": { | ||
"name": "packageName", | ||
"id": "/subscriptions/d15725f7-6577-4a8c-95f1-3da903b42364/resourcegroups/charlesk-southcentralus/providers/Microsoft.DesktopVirtualization/appattachpackages/ModifierPackage", | ||
"type": "Microsoft.DesktopVirtualization/appattachpackages", | ||
"location": "southcentralus", | ||
"tags": {}, | ||
"systemData": { | ||
"createdBy": "user1", | ||
"createdByType": "User", | ||
"createdAt": "2023-09-28T23:44:56.13Z", | ||
"lastModifiedBy": "user1", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2023-10-09T01:43:31.07Z" | ||
}, | ||
"properties": { | ||
"image": { | ||
"packageAlias": "msixpackagealias", | ||
"imagePath": "imagepath", | ||
"packageName": "MsixPackageName", | ||
"packageFamilyName": "MsixPackage_FamilyName", | ||
"packageFullName": "MsixPackage_FullName", | ||
"displayName": "displayname", | ||
"packageRelativePath": "packagerelativepath", | ||
"isRegularRegistration": false, | ||
"isActive": false, | ||
"packageDependencies": [ | ||
{ | ||
"dependencyName": "MsixPackage_Dependency_Name", | ||
"publisher": "MsixPackage_Dependency_Publisher", | ||
"minVersion": "packageDep_version" | ||
} | ||
], | ||
"version": "packageversion", | ||
"lastUpdated": "2008-09-22T14:01:54.9571247Z", | ||
"packageApplications": [ | ||
{ | ||
"appId": "AppId", | ||
"description": "PackageApplicationDescription", | ||
"appUserModelID": "AppUserModelId", | ||
"friendlyName": "FriendlyName", | ||
"iconImageName": "Iconimagename", | ||
"rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo", | ||
"rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo" | ||
} | ||
], | ||
"certificateName": "certName", | ||
"certificateExpiry": "2023-01-02T17:18:19.1234567Z" | ||
}, | ||
"hostPoolReferences": [], | ||
"failHealthCheckOnStagingFailure": "NeedsAssistance", | ||
"keyVaultURL": "" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
Oops, something went wrong.