Skip to content

Commit

Permalink
[DesktopVirtualization] Stable 2024 04 03 Release (#28637)
Browse files Browse the repository at this point in the history
* 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 <yuchaoyan@microsoft.com>
Co-authored-by: kazrael2119 <98569699+kazrael2119@users.noreply.github.com>
Co-authored-by: madhura <56606095+madhura-np@users.noreply.github.com>
  • Loading branch information
4 people committed May 14, 2024
1 parent f9fb4b1 commit ec07fc7
Show file tree
Hide file tree
Showing 82 changed files with 13,697 additions and 2 deletions.

Large diffs are not rendered by default.

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": ""
}
}
]
}
}
}
}
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": ""
}
}
}
}
}
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": {}
}
}

0 comments on commit ec07fc7

Please sign in to comment.