Skip to content

Commit c21daf2

Browse files
add Microsoft.AVS 2025-09-01 API version (#38791)
* add Microsoft.AVS 2025-09-01 API version * do not generate ServiceComponents (#38284) * x-ms-client-flatten adjustments related to #38581 * flatten ScriptExecution properties (#38786) * fixes for typespec 1.6.0 * Update sdk-suppressions.yaml (#38802) * Update sdk-suppressions.yaml for model changes Removed or renamed several instance variables across multiple models in sdk-suppressions.yaml. * Add suppression for deleted model 'PagedResourceSku' --------- Co-authored-by: ChenxiJiang333 <119990644+ChenxiJiang333@users.noreply.github.com>
1 parent 60bcde3 commit c21daf2

File tree

295 files changed

+29300
-19
lines changed

Some content is hidden

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

295 files changed

+29300
-19
lines changed

specification/vmware/resource-manager/Microsoft.AVS/AVS/back-compatible.tsp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,9 @@ using Microsoft.AVS;
196196
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(ScriptCmdlet.properties,
197197
"autorest"
198198
);
199+
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(ScriptExecution.properties,
200+
"autorest"
201+
);
199202
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(ScriptPackage.properties,
200203
"autorest"
201204
);
@@ -229,8 +232,3 @@ using Microsoft.AVS;
229232
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(WorkloadNetworkVirtualMachine.properties,
230233
"autorest"
231234
);
232-
233-
// Discriminated type
234-
// @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Addon.properties,
235-
// "autorest"
236-
// );

specification/vmware/resource-manager/Microsoft.AVS/AVS/client.tsp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,3 +450,8 @@ using Microsoft.AVS;
450450
Record<unknown>,
451451
"java,go"
452452
);
453+
454+
// We do not wish for ServiceComponents operations to be in the SDKs.
455+
@@scope(ServiceComponents.checkAvailability,
456+
"!(python,javascript,go,java,csharp)"
457+
);

specification/vmware/resource-manager/Microsoft.AVS/AVS/csharp-client.tsp

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ using TypeSpec.Versioning;
1313
},
1414
"csharp"
1515
)
16-
@useDependency(Microsoft.AVS.Versions.v2024_09_01)
16+
@useDependency(Microsoft.AVS.Versions.v2025_09_01)
1717
namespace Customization;
1818

1919
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "operationGroup"
@@ -180,3 +180,11 @@ interface Skus extends Microsoft.AVS.Skus {}
180180
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "operationGroup"
181181
@operationGroup("csharp")
182182
interface PureStoragePolicies extends Microsoft.AVS.PureStoragePolicies {}
183+
184+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "operationGroup"
185+
@operationGroup("csharp")
186+
interface Maintenances extends Microsoft.AVS.Maintenances {}
187+
188+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "operationGroup"
189+
@operationGroup("csharp")
190+
interface Licenses extends Microsoft.AVS.Licenses {}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"title": "Addons_CreateOrUpdate_ArcReg",
3+
"operationId": "Addons_CreateOrUpdate",
4+
"parameters": {
5+
"api-version": "2025-09-01",
6+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
7+
"resourceGroupName": "group1",
8+
"privateCloudName": "cloud1",
9+
"addonName": "arc",
10+
"addon": {
11+
"properties": {
12+
"addonType": "Arc",
13+
"vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"
14+
}
15+
}
16+
},
17+
"responses": {
18+
"200": {
19+
"body": {
20+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc",
21+
"name": "arc",
22+
"properties": {
23+
"addonType": "Arc",
24+
"vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter",
25+
"provisioningState": "Succeeded"
26+
},
27+
"type": "Microsoft.AVS/privateClouds/addons"
28+
}
29+
},
30+
"201": {
31+
"body": {
32+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc",
33+
"name": "arc",
34+
"properties": {
35+
"addonType": "Arc",
36+
"vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter",
37+
"provisioningState": "Succeeded"
38+
},
39+
"type": "Microsoft.AVS/privateClouds/addons"
40+
}
41+
}
42+
}
43+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"title": "Addons_CreateOrUpdate_HCX",
3+
"operationId": "Addons_CreateOrUpdate",
4+
"parameters": {
5+
"api-version": "2025-09-01",
6+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
7+
"resourceGroupName": "group1",
8+
"privateCloudName": "cloud1",
9+
"addonName": "hcx",
10+
"addon": {
11+
"properties": {
12+
"addonType": "HCX",
13+
"offer": "VMware MaaS Cloud Provider (Enterprise)"
14+
}
15+
}
16+
},
17+
"responses": {
18+
"200": {
19+
"body": {
20+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx",
21+
"name": "hcx",
22+
"properties": {
23+
"addonType": "HCX",
24+
"offer": "VMware MaaS Cloud Provider (Enterprise)",
25+
"provisioningState": "Succeeded"
26+
},
27+
"type": "Microsoft.AVS/privateClouds/addons"
28+
}
29+
},
30+
"201": {
31+
"body": {
32+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx",
33+
"name": "hcx",
34+
"properties": {
35+
"addonType": "HCX",
36+
"offer": "VMware MaaS Cloud Provider (Enterprise)",
37+
"provisioningState": "Updating"
38+
},
39+
"type": "Microsoft.AVS/privateClouds/addons"
40+
}
41+
}
42+
}
43+
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"title": "Addons_CreateOrUpdate_HCX_With_Networks",
3+
"operationId": "Addons_CreateOrUpdate",
4+
"parameters": {
5+
"api-version": "2025-09-01",
6+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
7+
"resourceGroupName": "group1",
8+
"privateCloudName": "cloud1",
9+
"addonName": "hcx",
10+
"addon": {
11+
"properties": {
12+
"addonType": "HCX",
13+
"offer": "VMware MaaS Cloud Provider (Enterprise)",
14+
"managementNetwork": "10.3.1.0/24",
15+
"uplinkNetwork": "10.3.2.0/24"
16+
}
17+
}
18+
},
19+
"responses": {
20+
"200": {
21+
"body": {
22+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx",
23+
"name": "hcx",
24+
"properties": {
25+
"addonType": "HCX",
26+
"offer": "VMware MaaS Cloud Provider (Enterprise)",
27+
"managementNetwork": "10.3.1.0/24",
28+
"uplinkNetwork": "10.3.2.0/24",
29+
"provisioningState": "Succeeded"
30+
},
31+
"type": "Microsoft.AVS/privateClouds/addons"
32+
}
33+
},
34+
"201": {
35+
"body": {
36+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx",
37+
"name": "hcx",
38+
"properties": {
39+
"addonType": "HCX",
40+
"offer": "VMware MaaS Cloud Provider (Enterprise)",
41+
"managementNetwork": "10.3.1.0/24",
42+
"uplinkNetwork": "10.3.2.0/24",
43+
"provisioningState": "Updating"
44+
},
45+
"type": "Microsoft.AVS/privateClouds/addons"
46+
}
47+
}
48+
}
49+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"title": "Addons_CreateOrUpdate_SRM",
3+
"operationId": "Addons_CreateOrUpdate",
4+
"parameters": {
5+
"api-version": "2025-09-01",
6+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
7+
"resourceGroupName": "group1",
8+
"privateCloudName": "cloud1",
9+
"addonName": "srm",
10+
"addon": {
11+
"properties": {
12+
"addonType": "SRM",
13+
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5"
14+
}
15+
}
16+
},
17+
"responses": {
18+
"200": {
19+
"body": {
20+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm",
21+
"name": "srm",
22+
"properties": {
23+
"addonType": "SRM",
24+
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5",
25+
"provisioningState": "Succeeded"
26+
},
27+
"type": "Microsoft.AVS/privateClouds/addons"
28+
}
29+
},
30+
"201": {
31+
"body": {
32+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm",
33+
"name": "srm",
34+
"properties": {
35+
"addonType": "SRM",
36+
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5",
37+
"provisioningState": "Updating"
38+
},
39+
"type": "Microsoft.AVS/privateClouds/addons"
40+
}
41+
}
42+
}
43+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"title": "Addons_CreateOrUpdate_VR",
3+
"operationId": "Addons_CreateOrUpdate",
4+
"parameters": {
5+
"api-version": "2025-09-01",
6+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
7+
"resourceGroupName": "group1",
8+
"privateCloudName": "cloud1",
9+
"addonName": "vr",
10+
"addon": {
11+
"properties": {
12+
"addonType": "VR",
13+
"vrsCount": 1
14+
}
15+
}
16+
},
17+
"responses": {
18+
"200": {
19+
"body": {
20+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr",
21+
"name": "vr",
22+
"properties": {
23+
"addonType": "VR",
24+
"vrsCount": 1,
25+
"provisioningState": "Succeeded"
26+
},
27+
"type": "Microsoft.AVS/privateClouds/addons"
28+
}
29+
},
30+
"201": {
31+
"body": {
32+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr",
33+
"name": "vr",
34+
"properties": {
35+
"addonType": "VR",
36+
"vrsCount": 1,
37+
"provisioningState": "Updating"
38+
},
39+
"type": "Microsoft.AVS/privateClouds/addons"
40+
}
41+
}
42+
}
43+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"title": "Addons_Delete",
3+
"operationId": "Addons_Delete",
4+
"parameters": {
5+
"api-version": "2025-09-01",
6+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
7+
"resourceGroupName": "group1",
8+
"privateCloudName": "cloud1",
9+
"addonName": "srm"
10+
},
11+
"responses": {
12+
"200": {},
13+
"202": {
14+
"headers": {
15+
"azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-09-01"
16+
}
17+
},
18+
"204": {}
19+
}
20+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"title": "Addons_Get_ArcReg",
3+
"operationId": "Addons_Get",
4+
"parameters": {
5+
"api-version": "2025-09-01",
6+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
7+
"resourceGroupName": "group1",
8+
"privateCloudName": "cloud1",
9+
"addonName": "arc"
10+
},
11+
"responses": {
12+
"200": {
13+
"body": {
14+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc",
15+
"name": "arc",
16+
"properties": {
17+
"addonType": "Arc",
18+
"vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter",
19+
"provisioningState": "Succeeded"
20+
},
21+
"type": "Microsoft.AVS/privateClouds/addons"
22+
}
23+
}
24+
}
25+
}

0 commit comments

Comments
 (0)