Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
86ac2ad
Add C# client customizations for Compute TypeSpec migration
ArcturusZhang Mar 13, 2026
a57f658
Add C# clientName decorators for operation group collision resolution
ArcturusZhang Mar 13, 2026
7db9cbb
Add RollingUpgrade @@clientName and additional C# client customizations
ArcturusZhang Mar 14, 2026
a25b3c7
Add @@alternateType for CommonTypes v3 Resource.id → armResourceIdent…
ArcturusZhang Mar 31, 2026
ba0a192
Add StorageAccountType -> ImageStorageAccountType csharp rename
ArcturusZhang Mar 31, 2026
6f383cd
Add ImageIdentifier rename and ImageStorageAccountType for C# compute…
ArcturusZhang Mar 31, 2026
59bb5eb
Add ARM resource @@clientName renames for C# compute migration
ArcturusZhang Apr 3, 2026
9f45fc6
Merge origin/main into compute/add-csharp-client-customizations
ArcturusZhang Apr 3, 2026
d66bedc
Fix SshPublicKey name collision and add RestorePointGroupSource rename
ArcturusZhang Apr 7, 2026
12a3dfc
Add markAsPageable for VM extension list operations
ArcturusZhang Apr 8, 2026
3480fba
Convert SharedGallery/CommunityGallery from ARM resources to raw oper…
ArcturusZhang Apr 8, 2026
ee09126
Rename SshPublicKey model to SshPublicKeyConfiguration, resource to S…
ArcturusZhang Apr 8, 2026
e868f06
Add 42 @@clientName renames for C# backward compatibility
ArcturusZhang Apr 9, 2026
b1188d9
Add Pir*Resource → Pir*ResourceData renames for C# backward compat
ArcturusZhang Apr 9, 2026
cd24e3d
Rename gallery models to *Data suffix for C# backward compat
ArcturusZhang Apr 9, 2026
ab4ae02
Add 53 @@clientName type renames for C# backward compatibility (batch 2)
ArcturusZhang Apr 10, 2026
2aa1355
Disable flattenProperty for VMSS in C#, make AllInstancesDown/UserIni…
ArcturusZhang Apr 10, 2026
7bf6ce0
Revert @@access for safe-flattened types, pending generator fix (#58066)
ArcturusZhang Apr 10, 2026
00e62c5
Add 4 more type renames: PatchProperties, expand types, HostEndpointS…
ArcturusZhang Apr 10, 2026
e16134b
Add 28 @@alternateType decorators for ResourceIdentifier properties
ArcturusZhang Apr 14, 2026
2dbfdfd
Add alternateType for SubResource[], Identity, ExtendedLocation prope…
ArcturusZhang Apr 15, 2026
53aad59
Fix alternateType model names to use Properties sub-models
ArcturusZhang Apr 15, 2026
05ca752
Remove duplicate ExtendedLocation alternateType decorators from child…
ArcturusZhang Apr 15, 2026
15c0034
Add alternateType stubs for SubResource/WritableSubResource/Identity
ArcturusZhang Apr 15, 2026
a1138fd
Add OS→OS casing renames, ArchitectureType rename, Uri alternateTypes
ArcturusZhang Apr 15, 2026
4dc73d3
Remove duplicate ArchitectureType rename (auto-handled by generator)
ArcturusZhang Apr 15, 2026
371d7c8
Add extensible enum wrappers for ComponentName, PassName, OperatingSy…
ArcturusZhang Apr 15, 2026
ce15e79
Fix WritableSubResource[] alternateType, add 17 Uri alternateType dec…
ArcturusZhang Apr 16, 2026
c74ff83
Add 110 property @@clientName renames for C# backward compat
ArcturusZhang Apr 16, 2026
023b4fc
Fix remaining Uri, SubResource, ResourceIdentifier type changes
ArcturusZhang Apr 16, 2026
9d5bc88
Revert RestorePointSource alternateType that deleted DiskRestorePoint…
ArcturusZhang Apr 16, 2026
8986759
Add alternateType for ExtendedLocation to ARM common type
ArcturusZhang Apr 16, 2026
c8ed275
Add ExtendedLocation alternateType to ARM common type, rename Compute…
ArcturusZhang Apr 16, 2026
5a5b12c
fix: map ComputeSku ExtendedLocationType to ARM common type via alter…
ArcturusZhang Apr 16, 2026
43c0315
Add VmSizeType casing clientName + markAsPageable for PrivateLinkReso…
ArcturusZhang Apr 17, 2026
fdae810
Merge remote-tracking branch 'origin/main' into compute/add-csharp-cl…
ArcturusZhang Apr 17, 2026
0db7e07
update
ArcturusZhang Apr 17, 2026
b8d13ed
revert some undesired changes
ArcturusZhang Apr 17, 2026
28e16ca
Remove stale alternateType for GalleryArtifactVersionSource.uri
ArcturusZhang Apr 24, 2026
4ce5d30
Merge remote-tracking branch 'origin/main' into compute/add-csharp-cl…
ArcturusZhang Apr 24, 2026
2d6ac45
Add SubResource/ApiEntityReference armResourceIdentifier + VirtualMac…
Apr 24, 2026
0d844ec
Remove scalar SubResource alternateType decorators (3 networkSecurity…
Apr 24, 2026
83f0866
Swap ComputeSubResourceData / ComputeWriteableSubResourceData csharp …
ArcturusZhang Apr 24, 2026
a20c1a2
Add @@clientName operation renames for C# backward compat
ArcturusZhang Apr 28, 2026
b480404
Compute: defeat safe-flatten on AllInstancesDown / UserInitiatedRedep…
Copilot May 3, 2026
6b53e5d
Revert "Compute: defeat safe-flatten on AllInstancesDown / UserInitia…
ArcturusZhang May 3, 2026
7336796
Compute: opt out of safe-flatten on AllInstancesDown / UserInitiatedR…
ArcturusZhang May 3, 2026
718d48b
Compute: rename Get{Shared,Community}Gallery -> Get{Shared,Community}…
ArcturusZhang May 3, 2026
511a846
Compute: replace deprecated LocationParameter with LocationResourcePa…
ArcturusZhang May 4, 2026
d0d1903
Compute: retype Usage.unit via @@alternateType for csharp ApiCompat
ArcturusZhang May 4, 2026
ccfeb43
Compute: rename ComputeGalleryEndpointType.IMDS to Imds for csharp
ArcturusZhang May 4, 2026
03022f2
Compute: restore previously shipped acronym/casing for extensible-enu…
ArcturusZhang May 4, 2026
34a840f
Add @@clientName for NetworkApiVersion members for csharp
ArcturusZhang May 4, 2026
7569651
Compute: consolidate Architecture/HyperVGeneration/IPVersion duplicat…
ArcturusZhang May 4, 2026
dd7c9c9
Compute G2: alternateType location/resourceType narrowed-to-string pr…
ArcturusZhang May 4, 2026
fd8de6c
Compute G5: clientName protectedSettingsFromKeyVault -> keyVaultProte…
ArcturusZhang May 4, 2026
3f11e24
Compute G8: alternateType for Disk.managedByExtended -> armResourceId…
ArcturusZhang May 4, 2026
defe3a9
G7: rename source -> gallerySource on GalleryDiskImage / GalleryImage…
ArcturusZhang May 5, 2026
26a266b
Compute L3: clientName decorators for v1.14.0 baseline property names
ArcturusZhang May 5, 2026
5a34ea8
Compute L3 batch 2: clientName Placement.zonePlacementPolicy to ZoneP…
ArcturusZhang May 5, 2026
3f0192e
Compute L3 batch 3: clientName diskControllerType to DiskControllerKi…
ArcturusZhang May 5, 2026
aa63655
Compute L3 batch 4: clientName GalleryTargetExtendedLocation.storageA…
ArcturusZhang May 5, 2026
e911aa1
Compute L3 batch 5: AdditionalProperties bag for 4 models via alterna…
ArcturusZhang May 5, 2026
7061885
Compute L3 batch 6: GallerySoftDeletedResourceProperties.softDeletedT…
ArcturusZhang May 5, 2026
605d89a
Compute: @@usage(Usage.input, csharp) on 10 output-only models
ArcturusZhang May 5, 2026
de8abfd
Compute: add @@usage(Usage.input) on RollingUpgradeStatusInfo for csharp
ArcturusZhang May 5, 2026
7bb2c4c
Compute: rename PirCommunityGalleryResource.type → ResourceType (csha…
ArcturusZhang May 5, 2026
2fa0812
Rename PirCommunityGalleryResource.identifier and PirSharedGalleryRes…
ArcturusZhang May 6, 2026
b4c188d
Merge remote-tracking branch 'origin/main' into compute/add-csharp-cl…
ArcturusZhang May 6, 2026
ca80b38
Consolidate per-service client.tsp customizations into root client.tsp
ArcturusZhang May 6, 2026
ad691bb
Restore alternate-type-stubs.tsp as separate file
ArcturusZhang May 6, 2026
113cdc8
Rename alternate-type-stubs.tsp -> csharp-alternate-type-stubs.tsp
ArcturusZhang May 6, 2026
ab65663
Merge remote-tracking branch 'origin/main' into compute/add-csharp-cl…
ArcturusZhang May 6, 2026
1295e43
Add C# clientName for VMScaleSetLifecycleHookEvent* (VM->Vm) and vmIn…
ArcturusZhang May 6, 2026
1665dc1
Revert path-param .name @@clientName attempt
ArcturusZhang May 6, 2026
e2451d1
client.tsp: rename VmScaleSetLifecycleHookEventTargetResource to drop…
ArcturusZhang May 7, 2026
27110b2
client.tsp: drop alternateType(url) on CommunityGalleryInfo.publisher…
ArcturusZhang May 7, 2026
997d06d
client.tsp: pin VmScaleSetLifecycleHookEventPatch C# name
ArcturusZhang May 15, 2026
0d4b647
Add hierarchyBuilding for VMSS extensions and test GalleryUpdate
ArcturusZhang May 27, 2026
ee740e7
Use ProxyResource for GalleryUpdate hierarchyBuilding test
ArcturusZhang May 27, 2026
bf19852
Add hierarchyBuilding for all Gallery patch models
ArcturusZhang May 27, 2026
2fe0e57
Test alternateType approach for GalleryUpdate
ArcturusZhang May 27, 2026
3b51f4d
Apply alternateType pattern to all Gallery patches and VMSS extensions
ArcturusZhang May 27, 2026
67efcaf
Revert hierarchyBuilding and alternateType experiments
ArcturusZhang May 27, 2026
9f46f30
Merge remote-tracking branch 'origin/main' into compute/add-csharp-cl…
ArcturusZhang Jun 3, 2026
60abc3b
Clean up Compute C# SubResource customizations
ArcturusZhang Jun 10, 2026
18235b0
Merge main into Compute C# customizations
ArcturusZhang Jun 10, 2026
2edb9b8
Hide Compute provider operations for C#
ArcturusZhang Jun 10, 2026
76be8b3
Scope Compute provider operations out of C#
ArcturusZhang Jun 10, 2026
0f89509
Restore Compute lifecycle hook C# names
ArcturusZhang Jun 10, 2026
7372250
Restore lifecycle hook event data name
ArcturusZhang Jun 10, 2026
76d6f36
Rename gallery update base model for C#
ArcturusZhang Jun 10, 2026
c5fdca0
Restore Compute gallery patch base types
ArcturusZhang Jun 10, 2026
62035f1
Add Compute C# compatibility customizations
ArcturusZhang Jun 11, 2026
eaf87b6
Restore Compute C# gallery property names
ArcturusZhang Jun 16, 2026
87e2d59
Merge branch 'main' into compute/add-csharp-client-customizations
ArcturusZhang Jun 16, 2026
f8c615b
format
ArcturusZhang Jun 16, 2026
5035d0c
Revert Compute gallery proxy resource customization
ArcturusZhang Jun 16, 2026
f3ae288
Refine Compute gallery proxy TypeSpec customization
ArcturusZhang Jun 16, 2026
1427451
Remove Compute gallery Swagger changes
ArcturusZhang Jun 16, 2026
495bea2
Fix Compute spec validation checks
ArcturusZhang Jun 16, 2026
4597605
Fix Compute TypeSpec validation warnings
ArcturusZhang Jun 16, 2026
edec096
Suppress Compute multi-version default tag warning
ArcturusZhang Jun 16, 2026
68094e6
Move Compute Avocado suppression block
ArcturusZhang Jun 16, 2026
f15d189
Move Compute Avocado suppression block
ArcturusZhang Jun 16, 2026
e16d992
Match Compute Avocado suppression formatting
ArcturusZhang Jun 16, 2026
5f86e8b
Rename Compute recovery policy booleans
ArcturusZhang Jun 17, 2026
2d48a7f
Remove Compute README suppressions
ArcturusZhang Jun 17, 2026
1054bbb
Merge remote-tracking branch 'origin/main' into compute/add-csharp-cl…
ArcturusZhang Jun 17, 2026
548101c
Restore Compute README from main
ArcturusZhang Jun 17, 2026
6c74b74
Address Compute client customizations review
ArcturusZhang Jun 17, 2026
1b96c44
Merge remote-tracking branch 'origin/main' into compute/add-csharp-cl…
ArcturusZhang Jun 18, 2026
e990bfc
Format Compute TypeSpec customizations
ArcturusZhang Jun 18, 2026
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 @@ -27,7 +27,7 @@ model VirtualMachineExtensionImage
alias ImageTypePath = {
...ApiVersionParameter;
...SubscriptionIdParameter;
...LocationParameter;
...LocationResourceParameter;
#suppress "@azure-tools/typespec-azure-core/documentation-required"
@path @segment("publishers") publisherName: string;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ using Common;
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use."
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
VirtualMachineScaleSetUpdate.properties
VirtualMachineScaleSetUpdate.properties,
"!csharp"
);

#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use."
Expand Down Expand Up @@ -206,7 +207,8 @@ using Common;
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use."
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
VirtualMachineScaleSet.properties
VirtualMachineScaleSet.properties,
"!csharp"
);

@@clientName(
Expand Down Expand Up @@ -240,7 +242,8 @@ using Common;
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use."
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
VirtualMachineScaleSetVM.properties
VirtualMachineScaleSetVM.properties,
"!csharp"
);

@@clientName(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ interface UsageOperationGroup {
list is ComputeProviderActionSync<
Response = ListUsagesResult,
Scope = SubscriptionActionScope,
Parameters = LocationParameter
Parameters = LocationResourceParameter
>;
}

Expand All @@ -48,7 +48,7 @@ interface VirtualMachineSizesOperationGroup {
list is ComputeProviderActionSync<
Response = VirtualMachineSizeListResult,
Scope = SubscriptionActionScope,
Parameters = LocationParameter
Parameters = LocationResourceParameter
>;
}

Expand All @@ -67,7 +67,7 @@ interface VirtualMachineScaleSetsOperationGroup {
listByLocation is ComputeProviderActionSync<
Response = VirtualMachineScaleSetListResult,
Scope = SubscriptionActionScope,
Parameters = LocationParameter
Parameters = LocationResourceParameter
>;
}

Expand All @@ -86,7 +86,7 @@ interface VirtualMachinesOperationGroup {
listByLocation is ComputeProviderActionSync<
Response = VirtualMachineListResult,
Scope = SubscriptionActionScope,
Parameters = LocationParameter
Parameters = LocationResourceParameter
>;
}

Expand All @@ -105,7 +105,7 @@ interface VirtualMachineImagesEdgeZoneOperationGroup {
Response = ArmResponse<VirtualMachineImageResource[]>,
Scope = SubscriptionActionScope,
Parameters = {
...LocationParameter;
...LocationResourceParameter;

/**
* The name of the edge zone.
Expand All @@ -127,7 +127,7 @@ interface VirtualMachineImagesEdgeZoneOperationGroup {
Response = ArmResponse<VirtualMachineImageResource[]>,
Scope = SubscriptionActionScope,
Parameters = {
...LocationParameter;
...LocationResourceParameter;

/**
* The name of the edge zone.
Expand Down Expand Up @@ -156,7 +156,7 @@ interface VirtualMachineImagesEdgeZoneOperationGroup {
Response = ArmResponse<VirtualMachineImageResource[]>,
Scope = SubscriptionActionScope,
Parameters = {
...LocationParameter;
...LocationResourceParameter;

/**
* The name of the edge zone.
Expand Down Expand Up @@ -199,7 +199,7 @@ interface VirtualMachineImagesEdgeZoneOperationGroup {
Response = ArmResponse<VirtualMachineImageResource[]>,
Scope = SubscriptionActionScope,
Parameters = {
...LocationParameter;
...LocationResourceParameter;

/**
* The name of the edge zone.
Expand Down Expand Up @@ -315,7 +315,7 @@ interface VirtualMachineImagesOperationGroup {
Response = VmImagesInEdgeZoneListResult,
Scope = SubscriptionActionScope,
Parameters = {
...LocationParameter;
...LocationResourceParameter;

/**
* The name of the edge zone.
Expand All @@ -336,7 +336,7 @@ interface VirtualMachineImagesOperationGroup {
listPublishers is ComputeProviderActionSync<
Response = ArmResponse<VirtualMachineImageResource[]>,
Scope = SubscriptionActionScope,
Parameters = LocationParameter
Parameters = LocationResourceParameter
>;
/**
* Gets a list of virtual machine image offers for the specified location and publisher.
Expand All @@ -350,7 +350,7 @@ interface VirtualMachineImagesOperationGroup {
Response = ArmResponse<VirtualMachineImageResource[]>,
Scope = SubscriptionActionScope,
Parameters = {
...LocationParameter;
...LocationResourceParameter;

/**
* A valid image publisher.
Expand All @@ -372,7 +372,7 @@ interface VirtualMachineImagesOperationGroup {
Response = ArmResponse<VirtualMachineImageResource[]>,
Scope = SubscriptionActionScope,
Parameters = {
...LocationParameter;
...LocationResourceParameter;

/**
* A valid image publisher.
Expand Down Expand Up @@ -408,7 +408,7 @@ interface VirtualMachineImagesOperationGroup {
Response = ArmResponse<VirtualMachineImageResource[]>,
Scope = SubscriptionActionScope,
Parameters = {
...LocationParameter;
...LocationResourceParameter;

/**
* A valid image publisher.
Expand Down Expand Up @@ -461,7 +461,7 @@ interface VirtualMachineImagesOperationGroup {
@get
listWithProperties(
...Azure.ResourceManager.Foundations.DefaultBaseParameters<SubscriptionActionScope>,
...LocationParameter,
...LocationResourceParameter,

/**
* A valid image publisher.
Expand Down Expand Up @@ -555,7 +555,7 @@ interface LogAnalyticsOperationGroup {
LroHeaders = ArmAsyncOperationHeader<FinalResult = LogAnalyticsOperationResult> &
Azure.Core.Foundations.RetryAfterHeader,
Scope = SubscriptionActionScope,
Parameters = LocationParameter,
Parameters = LocationResourceParameter,
Request = RequestRateByIntervalInput
>;
/**
Expand All @@ -571,7 +571,7 @@ interface LogAnalyticsOperationGroup {
LroHeaders = ArmAsyncOperationHeader<FinalResult = LogAnalyticsOperationResult> &
Azure.Core.Foundations.RetryAfterHeader,
Scope = SubscriptionActionScope,
Parameters = LocationParameter,
Parameters = LocationResourceParameter,
Request = ThrottledRequestsInput
>;
}
Expand All @@ -591,7 +591,7 @@ interface VirtualMachineRunCommandsOperationGroup {
list is ComputeProviderActionSync<
Response = RunCommandListResult,
Scope = SubscriptionActionScope,
Parameters = LocationParameter
Parameters = LocationResourceParameter
>;
/**
* Gets specific run command for a subscription in a location.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2740,17 +2740,12 @@ model LatestGalleryImageVersion {
*
* See more details on [different Azure Resource Manager resource type here.](https://azure.github.io/typespec-azure/docs/howtos/ARM/resource-type)
* @template Properties A model containing the provider-specific properties for this resource
* @template PropertiesOptional A boolean flag indicating whether the resource `Properties` field is marked as optional or required. Default true is optional and recommended.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage"
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage"
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Required to keep parentName out of the payload while preserving C# resource-key shape."
@doc("Concrete proxy resource types can be created by aliasing this type using a specific property type.")
@Http.Private.includeInapplicableMetadataInPayload(false)
@Azure.ResourceManager.Legacy.customAzureResource
model ProxyResourceCommunity<
Properties extends {},
PropertiesOptional extends valueof boolean = true
> extends PirCommunityGalleryResource {
model ProxyResourceCommunity<Properties extends {}>
extends PirCommunityGalleryResource {
@doc("The resource-specific properties for this resource.")
properties?: Properties;

Expand All @@ -2768,17 +2763,12 @@ model ProxyResourceCommunity<
*
* See more details on [different Azure Resource Manager resource type here.](https://azure.github.io/typespec-azure/docs/howtos/ARM/resource-type)
* @template Properties A model containing the provider-specific properties for this resource
* @template PropertiesOptional A boolean flag indicating whether the resource `Properties` field is marked as optional or required. Default true is optional and recommended.
*/
#suppress "@azure-tools/typespec-azure-core/no-private-usage"
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage"
#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Required to keep parentName out of the payload while preserving C# resource-key shape."
@doc("Concrete proxy resource types can be created by aliasing this type using a specific property type.")
@Http.Private.includeInapplicableMetadataInPayload(false)
@Azure.ResourceManager.Legacy.customAzureResource
model ProxyResourceShared<
Properties extends {},
PropertiesOptional extends valueof boolean = true
> extends PirSharedGalleryResource {
model ProxyResourceShared<Properties extends {}>
extends PirSharedGalleryResource {
@doc("The resource-specific properties for this resource.")
properties?: Properties;

Expand Down
Loading
Loading