Skip to content

Commit 329a425

Browse files
Zoe1808Yu Zhang
andauthored
DesktopVirtualization: Add Public Preview 2025-03-01-preview (#33822)
* Copy files from preview/2024-11-01-preview Copied the files in a separate commit. This allows reviewers to easily diff subsequent changes against the previous spec. * Update version to preview/2025-03-01-preview Updated the API version from preview/2024-11-01-preview to preview/2025-03-01-preview. * Added tag for 2025-03-01-preview in readme file * 2025-03-01-preview * fix swagger * fix example * update property description * add suppressions * update suppressions * resolve comments * update --------- Co-authored-by: Yu Zhang <[email protected]>
1 parent 802ded7 commit 329a425

File tree

99 files changed

+18245
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+18245
-1
lines changed

specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2025-03-01-preview/desktopvirtualization.json

Lines changed: 10899 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
4+
"resourceGroupName": "resourceGroup1",
5+
"hostPoolName": "hostPool1",
6+
"api-version": "2025-03-01-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"name": "default",
12+
"id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/activeSessionHostConfigurations/default",
13+
"type": "Microsoft.DesktopVirtualization/hostPools/activeSessionHostConfigurations",
14+
"systemData": {
15+
"createdBy": "user1",
16+
"createdByType": "User",
17+
"createdAt": "2020-01-01T17:18:19.1234567Z",
18+
"lastModifiedBy": "user2",
19+
"lastModifiedByType": "User",
20+
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
21+
},
22+
"properties": {
23+
"version": "2022-10-21T17:18:19.1234567Z",
24+
"friendlyName": "InitialConfiguration",
25+
"vmTags": {
26+
"Department": "myDepartment",
27+
"Team": "myTeam"
28+
},
29+
"vmLocation": "eastus2",
30+
"vmResourceGroup": "myResourceGroup",
31+
"vmNamePrefix": "westus2-vm",
32+
"availabilityZones": [
33+
1,
34+
3
35+
],
36+
"networkInfo": {
37+
"subnetId": "/subscriptions/.../resourceGroups/.../providers/Microsoft.Network/virtualNetworks/.../subnets/subnet1",
38+
"securityGroupId": "/subscriptions/.../resourceGroups/.../provider s/Microsoft.Network/networkSecurityGroups/nsg1"
39+
},
40+
"vmSizeId": "Standard_D2s_v3",
41+
"diskInfo": {
42+
"managedDisk": {
43+
"type": "Standard_LRS"
44+
}
45+
},
46+
"customConfigurationScriptUrl": "https://storageaccountname.blob.core.windows.net/blobcontainer/file",
47+
"imageInfo": {
48+
"type": "Marketplace",
49+
"marketplaceInfo": {
50+
"offer": "Windows-10",
51+
"publisher": "MicrosoftWindowsDesktop",
52+
"sku": "19h2-ent",
53+
"exactVersion": "2019.0.20190115"
54+
},
55+
"customInfo": {
56+
"resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/images/imageName"
57+
}
58+
},
59+
"domainInfo": {
60+
"joinType": "ActiveDirectory",
61+
"activeDirectoryInfo": {
62+
"domainCredentials": {
63+
"usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
64+
"passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
65+
},
66+
"ouPath": "OU=testOU,DC=domain,DC=Domain,DC=com",
67+
"domainName": "wvdarmtest1.net"
68+
},
69+
"azureActiveDirectoryInfo": {
70+
"mdmProviderGuid": "bdefabc0-95b4-48b3-b645-8a753a63c4fa"
71+
}
72+
},
73+
"securityInfo": {
74+
"type": "TrustedLaunch",
75+
"secureBootEnabled": true,
76+
"vTpmEnabled": true
77+
},
78+
"vmAdminCredentials": {
79+
"usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
80+
"passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
81+
},
82+
"bootDiagnosticsInfo": {
83+
"enabled": true,
84+
"storageUri": "https://myStorageAccountName.blob.core.windows.net"
85+
}
86+
}
87+
}
88+
}
89+
}
90+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
4+
"resourceGroupName": "resourceGroup1",
5+
"hostPoolName": "hostPool1",
6+
"api-version": "2025-03-01-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"name": "default",
14+
"id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/activeSessionHostConfigurations/default",
15+
"type": "Microsoft.DesktopVirtualization/hostPools/activeSessionHostConfigurations",
16+
"systemData": {
17+
"createdBy": "user2",
18+
"createdByType": "User",
19+
"createdAt": "2020-02-01T17:18:19.1234567Z",
20+
"lastModifiedBy": "user3",
21+
"lastModifiedByType": "User",
22+
"lastModifiedAt": "2020-02-02T17:18:19.1234567Z"
23+
},
24+
"properties": {
25+
"version": "2022-10-21T17:18:19.1234567Z",
26+
"friendlyName": "InitialConfiguration",
27+
"vmTags": {
28+
"Department": "myDepartment",
29+
"Team": "myTeam"
30+
},
31+
"vmLocation": "westus2",
32+
"vmResourceGroup": "myResourceGroup",
33+
"vmNamePrefix": "westus2-vm",
34+
"availabilityZones": [
35+
1,
36+
3
37+
],
38+
"networkInfo": {
39+
"subnetId": "/subscriptions/.../resourceGroups/.../providers/Microsoft.Network/virtualNetworks/.../subnets/subnet1",
40+
"securityGroupId": "/subscriptions/.../resourceGroups/.../provider s/Microsoft.Network/networkSecurityGroups/nsg1"
41+
},
42+
"vmSizeId": "Standard_D2s_v3",
43+
"diskInfo": {
44+
"managedDisk": {
45+
"type": "Standard_LRS"
46+
}
47+
},
48+
"customConfigurationScriptUrl": "https://storageaccountname.blob.core.windows.net/blobcontainer/file",
49+
"imageInfo": {
50+
"type": "Marketplace",
51+
"marketplaceInfo": {
52+
"offer": "Windows-10",
53+
"publisher": "MicrosoftWindowsDesktop",
54+
"sku": "19h2-ent",
55+
"exactVersion": "2019.0.20190115"
56+
},
57+
"customInfo": {
58+
"resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/images/imageName"
59+
}
60+
},
61+
"domainInfo": {
62+
"joinType": "ActiveDirectory",
63+
"activeDirectoryInfo": {
64+
"domainCredentials": {
65+
"usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
66+
"passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
67+
},
68+
"ouPath": "OU=testOU,DC=domain,DC=Domain,DC=com",
69+
"domainName": "wvdarmtest1.net"
70+
},
71+
"azureActiveDirectoryInfo": {
72+
"mdmProviderGuid": "bdefabc0-95b4-48b3-b645-8a753a63c4fa"
73+
}
74+
},
75+
"securityInfo": {
76+
"type": "TrustedLaunch",
77+
"secureBootEnabled": true,
78+
"vTpmEnabled": true
79+
},
80+
"vmAdminCredentials": {
81+
"usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
82+
"passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
83+
},
84+
"bootDiagnosticsInfo": {
85+
"enabled": true,
86+
"storageUri": "https://myStorageAccountName.blob.core.windows.net"
87+
}
88+
}
89+
}
90+
]
91+
}
92+
}
93+
}
94+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
4+
"resourceGroupName": "resourceGroup1",
5+
"hostPoolName": "hostpool1",
6+
"api-version": "2025-03-01-preview",
7+
"importPackageInfoRequest": {
8+
"path": "imagepath",
9+
"packageArchitecture": "x64"
10+
}
11+
},
12+
"responses": {
13+
"200": {
14+
"body": {
15+
"value": [
16+
{
17+
"name": "packageName",
18+
"id": "/subscriptions/d15725f7-6577-4a8c-95f1-3da903b42364/resourcegroups/charlesk-southcentralus/providers/Microsoft.DesktopVirtualization/appattachpackages/ModifierPackage",
19+
"type": "Microsoft.DesktopVirtualization/appattachpackages",
20+
"location": "southcentralus",
21+
"tags": {},
22+
"systemData": {
23+
"createdBy": "user1",
24+
"createdByType": "User",
25+
"createdAt": "2023-09-28T23:44:56.13Z",
26+
"lastModifiedBy": "user1",
27+
"lastModifiedByType": "User",
28+
"lastModifiedAt": "2023-10-09T01:43:31.07Z"
29+
},
30+
"properties": {
31+
"image": {
32+
"packageAlias": "msixpackagealias",
33+
"imagePath": "imagepath",
34+
"packageName": "MsixPackageName",
35+
"packageFamilyName": "MsixPackage_FamilyName",
36+
"packageFullName": "MsixPackage_FullName",
37+
"displayName": "displayname",
38+
"packageRelativePath": "packagerelativepath",
39+
"isRegularRegistration": false,
40+
"isActive": false,
41+
"packageDependencies": [
42+
{
43+
"dependencyName": "MsixPackage_Dependency_Name",
44+
"publisher": "MsixPackage_Dependency_Publisher",
45+
"minVersion": "packageDep_version"
46+
}
47+
],
48+
"version": "packageversion",
49+
"lastUpdated": "2008-09-22T14:01:54.9571247Z",
50+
"packageApplications": [
51+
{
52+
"appId": "AppId",
53+
"description": "PackageApplicationDescription",
54+
"appUserModelID": "AppUserModelId",
55+
"friendlyName": "FriendlyName",
56+
"iconImageName": "Iconimagename",
57+
"rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
58+
"rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
59+
}
60+
],
61+
"certificateName": "certName",
62+
"certificateExpiry": "2023-01-02T17:18:19.1234567Z"
63+
},
64+
"hostPoolReferences": [],
65+
"failHealthCheckOnStagingFailure": "NeedsAssistance",
66+
"keyVaultURL": ""
67+
}
68+
},
69+
{
70+
"name": "packageName",
71+
"id": "/subscriptions/d15725f7-6577-4a8c-95f1-3da903b42364/resourcegroups/charlesk-southcentralus/providers/Microsoft.DesktopVirtualization/appattachpackages/ModifierPackage",
72+
"type": "Microsoft.DesktopVirtualization/appattachpackages",
73+
"location": "southcentralus",
74+
"tags": {},
75+
"systemData": {
76+
"createdBy": "user1",
77+
"createdByType": "User",
78+
"createdAt": "2023-09-28T23:44:56.13Z",
79+
"lastModifiedBy": "user1",
80+
"lastModifiedByType": "User",
81+
"lastModifiedAt": "2023-10-09T01:43:31.07Z"
82+
},
83+
"properties": {
84+
"image": {
85+
"packageAlias": "msixpackagealias",
86+
"imagePath": "imagepath",
87+
"packageName": "MsixPackageName",
88+
"packageFamilyName": "MsixPackage_FamilyName",
89+
"packageFullName": "MsixPackage_FullName",
90+
"displayName": "displayname",
91+
"packageRelativePath": "packagerelativepath",
92+
"isRegularRegistration": false,
93+
"isActive": false,
94+
"packageDependencies": [
95+
{
96+
"dependencyName": "MsixPackage_Dependency_Name",
97+
"publisher": "MsixPackage_Dependency_Publisher",
98+
"minVersion": "packageDep_version"
99+
}
100+
],
101+
"version": "packageversion",
102+
"lastUpdated": "2008-09-22T14:01:54.9571247Z",
103+
"packageApplications": [
104+
{
105+
"appId": "AppId",
106+
"description": "PackageApplicationDescription",
107+
"appUserModelID": "AppUserModelId",
108+
"friendlyName": "FriendlyName",
109+
"iconImageName": "Iconimagename",
110+
"rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
111+
"rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
112+
}
113+
],
114+
"certificateName": "certName",
115+
"certificateExpiry": "2023-01-02T17:18:19.1234567Z"
116+
},
117+
"hostPoolReferences": [],
118+
"failHealthCheckOnStagingFailure": "NeedsAssistance",
119+
"keyVaultURL": ""
120+
}
121+
}
122+
]
123+
}
124+
}
125+
}
126+
}

0 commit comments

Comments
 (0)