Skip to content

Commit

Permalink
Alec baird desktopvirtualization microsoft.desktop virtualization 202…
Browse files Browse the repository at this point in the history
…4 03 06 preview (#28157)

* Adds base for updating Microsoft.DesktopVirtualization from version preview/2024-01-16-preview to version 2024-03-06-preview

* Updates readme

* Updates API version in new specs and examples

* Added appAttach Swagger changes to public preview

* Added MultiPD swagger changes

* Added examples and camelcased AppAttach Properties

* Added pattern name restriction exception as defined until next stable

* captialized APPV to pass spell check

* Another APP-V spelling to try and pass spellcheck
  • Loading branch information
alec-baird authored Mar 13, 2024
1 parent 4d9ed44 commit 98df358
Show file tree
Hide file tree
Showing 98 changed files with 17,462 additions and 2 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"parameters": {
"subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
"resourceGroupName": "resourceGroup1",
"hostPoolName": "hostPool1",
"api-version": "2024-03-06-preview"
},
"responses": {
"200": {
"body": {
"name": "default",
"id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/activeSessionHostConfigurations/default",
"type": "Microsoft.DesktopVirtualization/hostPools/activeSessionHostConfigurations",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"properties": {
"version": "2022-10-21T17:18:19.1234567Z",
"friendlyName": "InitialConfiguration",
"vmTags": {
"Department": "myDepartment",
"Team": "myTeam"
},
"vmLocation": "eastus2",
"vmResourceGroup": "myResourceGroup",
"vmNamePrefix": "westus2-vm",
"availabilityZones": [
1,
3
],
"networkInfo": {
"subnetId": "/subscriptions/.../resourceGroups/.../providers/Microsoft.Network/virtualNetworks/.../subnets/subnet1",
"securityGroupId": "/subscriptions/.../resourceGroups/.../provider s/Microsoft.Network/networkSecurityGroups/nsg1"
},
"vmSizeId": "Standard_D2s_v3",
"diskInfo": {
"type": "Standard_LRS"
},
"customConfigurationScriptUrl": "https://storageaccountname.blob.core.windows.net/blobcontainer/file",
"imageInfo": {
"type": "Marketplace",
"marketplaceInfo": {
"offer": "Windows-10",
"publisher": "MicrosoftWindowsDesktop",
"sku": "19h2-ent",
"exactVersion": "2019.0.20190115"
},
"customInfo": {
"resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/images/imageName"
}
},
"domainInfo": {
"joinType": "ActiveDirectory",
"activeDirectoryInfo": {
"domainCredentials": {
"usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
"passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
},
"ouPath": "OU=testOU,DC=domain,DC=Domain,DC=com",
"domainName": "wvdarmtest1.net"
},
"azureActiveDirectoryInfo": {
"mdmProviderGuid": "bdefabc0-95b4-48b3-b645-8a753a63c4fa"
}
},
"securityInfo": {
"type": "TrustedLaunch",
"secureBootEnabled": true,
"vTpmEnabled": true
},
"vmAdminCredentials": {
"usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
"passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
},
"bootDiagnosticsInfo": {
"enabled": true,
"storageUri": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageAccountName"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
{
"parameters": {
"subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
"resourceGroupName": "resourceGroup1",
"hostPoolName": "hostPool1",
"api-version": "2024-03-06-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "default",
"id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/activeSessionHostConfigurations/default",
"type": "Microsoft.DesktopVirtualization/hostPools/activeSessionHostConfigurations",
"systemData": {
"createdBy": "user2",
"createdByType": "User",
"createdAt": "2020-02-01T17:18:19.1234567Z",
"lastModifiedBy": "user3",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-02-02T17:18:19.1234567Z"
},
"properties": {
"version": "2022-10-21T17:18:19.1234567Z",
"friendlyName": "InitialConfiguration",
"vmTags": {
"Department": "myDepartment",
"Team": "myTeam"
},
"vmLocation": "westus2",
"vmResourceGroup": "myResourceGroup",
"vmNamePrefix": "westus2-vm",
"availabilityZones": [
1,
3
],
"networkInfo": {
"subnetId": "/subscriptions/.../resourceGroups/.../providers/Microsoft.Network/virtualNetworks/.../subnets/subnet1",
"securityGroupId": "/subscriptions/.../resourceGroups/.../provider s/Microsoft.Network/networkSecurityGroups/nsg1"
},
"vmSizeId": "Standard_D2s_v3",
"diskInfo": {
"type": "Standard_LRS"
},
"customConfigurationScriptUrl": "https://storageaccountname.blob.core.windows.net/blobcontainer/file",
"imageInfo": {
"type": "Marketplace",
"marketplaceInfo": {
"offer": "Windows-10",
"publisher": "MicrosoftWindowsDesktop",
"sku": "19h2-ent",
"exactVersion": "2019.0.20190115"
},
"customInfo": {
"resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/images/imageName"
}
},
"domainInfo": {
"joinType": "ActiveDirectory",
"activeDirectoryInfo": {
"domainCredentials": {
"usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
"passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
},
"ouPath": "OU=testOU,DC=domain,DC=Domain,DC=com",
"domainName": "wvdarmtest1.net"
},
"azureActiveDirectoryInfo": {
"mdmProviderGuid": "bdefabc0-95b4-48b3-b645-8a753a63c4fa"
}
},
"securityInfo": {
"type": "TrustedLaunch",
"secureBootEnabled": true,
"vTpmEnabled": true
},
"vmAdminCredentials": {
"usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
"passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
},
"bootDiagnosticsInfo": {
"enabled": true,
"storageUri": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageAccountName"
}
}
}
]
}
}
}
}
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-03-06-preview",
"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": ""
}
}
]
}
}
}
}
Loading

0 comments on commit 98df358

Please sign in to comment.