Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ using Microsoft.AVS;
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(ScriptCmdlet.properties,
"autorest"
);
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(ScriptExecution.properties,
"autorest"
);
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(ScriptPackage.properties,
"autorest"
);
Expand Down Expand Up @@ -229,8 +232,3 @@ using Microsoft.AVS;
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(WorkloadNetworkVirtualMachine.properties,
"autorest"
);

// Discriminated type
// @@Azure.ClientGenerator.Core.Legacy.flattenProperty(Addon.properties,
// "autorest"
// );
Original file line number Diff line number Diff line change
Expand Up @@ -450,3 +450,8 @@ using Microsoft.AVS;
Record<unknown>,
"java,go"
);

// We do not wish for ServiceComponents operations to be in the SDKs.
@@scope(ServiceComponents.checkAvailability,
"!(python,javascript,go,java,csharp)"
);
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ using TypeSpec.Versioning;
},
"csharp"
)
@useDependency(Microsoft.AVS.Versions.v2024_09_01)
@useDependency(Microsoft.AVS.Versions.v2025_09_01)
namespace Customization;

#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "operationGroup"
Expand Down Expand Up @@ -180,3 +180,11 @@ interface Skus extends Microsoft.AVS.Skus {}
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "operationGroup"
@operationGroup("csharp")
interface PureStoragePolicies extends Microsoft.AVS.PureStoragePolicies {}

#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "operationGroup"
@operationGroup("csharp")
interface Maintenances extends Microsoft.AVS.Maintenances {}

#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "operationGroup"
@operationGroup("csharp")
interface Licenses extends Microsoft.AVS.Licenses {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"title": "Addons_CreateOrUpdate_ArcReg",
"operationId": "Addons_CreateOrUpdate",
"parameters": {
"api-version": "2025-09-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "group1",
"privateCloudName": "cloud1",
"addonName": "arc",
"addon": {
"properties": {
"addonType": "Arc",
"vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc",
"name": "arc",
"properties": {
"addonType": "Arc",
"vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter",
"provisioningState": "Succeeded"
},
"type": "Microsoft.AVS/privateClouds/addons"
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc",
"name": "arc",
"properties": {
"addonType": "Arc",
"vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter",
"provisioningState": "Succeeded"
},
"type": "Microsoft.AVS/privateClouds/addons"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"title": "Addons_CreateOrUpdate_HCX",
"operationId": "Addons_CreateOrUpdate",
"parameters": {
"api-version": "2025-09-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "group1",
"privateCloudName": "cloud1",
"addonName": "hcx",
"addon": {
"properties": {
"addonType": "HCX",
"offer": "VMware MaaS Cloud Provider (Enterprise)"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx",
"name": "hcx",
"properties": {
"addonType": "HCX",
"offer": "VMware MaaS Cloud Provider (Enterprise)",
"provisioningState": "Succeeded"
},
"type": "Microsoft.AVS/privateClouds/addons"
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx",
"name": "hcx",
"properties": {
"addonType": "HCX",
"offer": "VMware MaaS Cloud Provider (Enterprise)",
"provisioningState": "Updating"
},
"type": "Microsoft.AVS/privateClouds/addons"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"title": "Addons_CreateOrUpdate_HCX_With_Networks",
"operationId": "Addons_CreateOrUpdate",
"parameters": {
"api-version": "2025-09-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "group1",
"privateCloudName": "cloud1",
"addonName": "hcx",
"addon": {
"properties": {
"addonType": "HCX",
"offer": "VMware MaaS Cloud Provider (Enterprise)",
"managementNetwork": "10.3.1.0/24",
"uplinkNetwork": "10.3.2.0/24"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx",
"name": "hcx",
"properties": {
"addonType": "HCX",
"offer": "VMware MaaS Cloud Provider (Enterprise)",
"managementNetwork": "10.3.1.0/24",
"uplinkNetwork": "10.3.2.0/24",
"provisioningState": "Succeeded"
},
"type": "Microsoft.AVS/privateClouds/addons"
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx",
"name": "hcx",
"properties": {
"addonType": "HCX",
"offer": "VMware MaaS Cloud Provider (Enterprise)",
"managementNetwork": "10.3.1.0/24",
"uplinkNetwork": "10.3.2.0/24",
"provisioningState": "Updating"
},
"type": "Microsoft.AVS/privateClouds/addons"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"title": "Addons_CreateOrUpdate_SRM",
"operationId": "Addons_CreateOrUpdate",
"parameters": {
"api-version": "2025-09-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "group1",
"privateCloudName": "cloud1",
"addonName": "srm",
"addon": {
"properties": {
"addonType": "SRM",
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm",
"name": "srm",
"properties": {
"addonType": "SRM",
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5",
"provisioningState": "Succeeded"
},
"type": "Microsoft.AVS/privateClouds/addons"
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm",
"name": "srm",
"properties": {
"addonType": "SRM",
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5",
"provisioningState": "Updating"
},
"type": "Microsoft.AVS/privateClouds/addons"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"title": "Addons_CreateOrUpdate_VR",
"operationId": "Addons_CreateOrUpdate",
"parameters": {
"api-version": "2025-09-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "group1",
"privateCloudName": "cloud1",
"addonName": "vr",
"addon": {
"properties": {
"addonType": "VR",
"vrsCount": 1
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr",
"name": "vr",
"properties": {
"addonType": "VR",
"vrsCount": 1,
"provisioningState": "Succeeded"
},
"type": "Microsoft.AVS/privateClouds/addons"
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr",
"name": "vr",
"properties": {
"addonType": "VR",
"vrsCount": 1,
"provisioningState": "Updating"
},
"type": "Microsoft.AVS/privateClouds/addons"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"title": "Addons_Delete",
"operationId": "Addons_Delete",
"parameters": {
"api-version": "2025-09-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "group1",
"privateCloudName": "cloud1",
"addonName": "srm"
},
"responses": {
"200": {},
"202": {
"headers": {
"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"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"title": "Addons_Get_ArcReg",
"operationId": "Addons_Get",
"parameters": {
"api-version": "2025-09-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "group1",
"privateCloudName": "cloud1",
"addonName": "arc"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc",
"name": "arc",
"properties": {
"addonType": "Arc",
"vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter",
"provisioningState": "Succeeded"
},
"type": "Microsoft.AVS/privateClouds/addons"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"title": "Addons_Get_HCX",
"operationId": "Addons_Get",
"parameters": {
"api-version": "2025-09-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "group1",
"privateCloudName": "cloud1",
"addonName": "hcx"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx",
"name": "hcx",
"properties": {
"addonType": "HCX",
"offer": "VMware MaaS Cloud Provider (Enterprise)",
"provisioningState": "Succeeded"
},
"type": "Microsoft.AVS/privateClouds/addons"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"title": "Addons_Get_HCX_With_Networks",
"operationId": "Addons_Get",
"parameters": {
"api-version": "2025-09-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "group1",
"privateCloudName": "cloud1",
"addonName": "hcx"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx",
"name": "hcx",
"properties": {
"addonType": "HCX",
"offer": "VMware MaaS Cloud Provider (Enterprise)",
"provisioningState": "Succeeded",
"managementNetwork": "10.3.1.0/24",
"uplinkNetwork": "10.3.2.0/24"
},
"type": "Microsoft.AVS/privateClouds/addons"
}
}
}
}
Loading
Loading