Skip to content

Commit 545f0b1

Browse files
fmabroukmsftmcgallanweidongxu-microsoftmsyycv-jiaodi
authored
Machinelearningservices microsoft.machine learning services 2025 12 01 typespec (#39683)
* convert * update examples * update * update * delete * update finalresult * update finalresult * remove operationId and related suppression * update tspcofig * fix * rename folder * delete * remove private * remove csharp in tspconfig * fix update * Add Secret on model properties and Fix ComputeResource * fix ts validation error * regen * remove hierarchyBuilding * fix void finalresult * fix deleteBulk * Update tspconfig.yaml * Update specification/machinelearningservices/MachineLearningServices.Management/tspconfig.yaml * Update tspconfig.yaml for Machine Learning services * add void finalresult for addBulk * refactor(spec): update Java client naming for blob reference SAS operations - Rename GetBlobReferenceSASRequestDto to GetBlobReferenceSasRequestDto for Java - Rename GetBlobReferenceSASResponseDto to GetBlobReferenceSasResponseDto for Java - Rename SASCredential to SasCredential for Java - Rename SASCredentialDto to SasCredentialDto for Java - Rename SASAuthTypeWorkspaceConnectionProperties to SasAuthTypeWorkspaceConnectionProperties for Java - Rename Registries.getBlobReferenceSAS to getBlobReferenceSas for Java client * Remove legacy client name annotations Removed legacy client name annotations for BlobReferenceSAS and SASCredential. * Fix Java casing for SAS-related types Added Java casing fixes for SAS-related types and operations in client.tsp. * 2025-12-01 typespec api version creation * Models.tsp update * patch reigstry spec * Reflect new SDK fixes from typespec conversion PR * Fix Registry.tsp duplicate symbols causing SDK generation failure Remove duplicate model definitions (ManagedResourceGroupSettings, RegistryPrivateEndpointConnection, etc.) that were already defined in models.tsp and causing 'duplicate-symbol' compilation errors. Also remove RegistryPrivateEndpointConnections interface using non-existent ARM operation templates. * Disable Go generate-samples due to emitter bug with example file matching The Go emitter incorrectly matches DataContainer examples to CodeContainerProperties model, causing 'field with serializedName dataType not found' error. This appears to be a bug in how the emitter processes examples with client location reorganization. * Add package-2025-12-01 tag to readme.md for lint-diff validation * Format 2025-12-01 JSON files with prettier * fix: format TypeSpec source examples for 2025-12-01 with prettier * patch reigstry spec * remove duplicated model definitions * fix: format RegistryPrivateEndpointConnection.tsp for TypeSpec validation * fix: remove duplicate managedResourceGroup properties from Registry envelope * chore: regenerate swagger files to sync with TypeSpec source * fix: set generate-samples to true for Go emitter to pass SDK config validation * Update to allow lintdiff to succeed * Fix breaking changes in 2025-10-01-preview: Remove global use-read-only-status-schema setting - Removed use-read-only-status-schema: true from tspconfig.yaml to prevent global readOnly changes - Added ProvisioningStateMustBeReadOnly suppression for package-2025-12-01 tag in readme.md - Regenerated swagger files to remove erroneous readOnly: true from provisioningState enums This fixes the 63 ReadonlyPropertyChanged breaking change errors in the preview version. * Fix DataContainer FinalResult typo: CodeContainer -> DataContainer The LroHeaders for DataContainers_CreateOrUpdate and RegistryDataContainers_CreateOrUpdate incorrectly referenced CodeContainer as the FinalResult type. This was a copy-paste error from the swagger-to-typespec conversion. * Update FIXME suppressions with proper justifications * Add secret decorators to remove XMSSecretInResponse suppressions * Remove preview comments from property descriptions * Fix model validation errors by removing preview-only features from stable examples * Remove FineTuningJob and DistillationJob examples from TypeSpec source and regenerate openapi.json * fix: remove preview-only properties from 2025-12-01 stable examples Remove properties that are marked as @removed(Versions.v2025_12_01) from source example files to fix model validation errors: - Compute/ComputeInstance: autologgerSettings, enableOSPatching, enableRootAccess, releaseQuotaOnStop - Job/CommandJob: parentJobName - ServerlessEndpoint: contentSafetyLevel * style: fix tsp format for models.tsp * Lintdiff updates * Lintdiff fix * chore: retrigger CI pipelines * Update suppressions to remove old generic justification * Fix cspell failure --------- Co-authored-by: mcgallan <1186003288@qq.com> Co-authored-by: Zihe Wang (WICRESOFT NORTH AMERICA LTD) <v-zihewang@microsoft.com> Co-authored-by: Weidong Xu <weidxu@microsoft.com> Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com> Co-authored-by: Jiao Di (MSFT) <80496810+v-jiaodi@users.noreply.github.com> Co-authored-by: v-huizhu2 <v-huizhu2@microsoft.com> Co-authored-by: Chao Yu <chaoyu@microsoft.com> Co-authored-by: Mike Harder <mharder@microsoft.com>
1 parent aa9e825 commit 545f0b1

679 files changed

Lines changed: 78987 additions & 2090 deletions

File tree

Some content is hidden

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

specification/machinelearningservices/MachineLearningServices.Management/BatchDeployment.tsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ model BatchDeployment
2626
/**
2727
* Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.
2828
*/
29-
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
29+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "Existing API includes additional envelope properties"
3030
kind?: string;
3131

3232
...Azure.ResourceManager.ResourceSkuProperty;
@@ -81,7 +81,7 @@ interface BatchDeployments {
8181
/**
8282
* Delete Batch Inference deployment (asynchronous).
8383
*/
84-
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
84+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "Existing API returns additional response codes for LRO delete"
8585
@summary("Delete Batch Inference deployment (asynchronous).")
8686
delete is ArmResourceDeleteWithoutOkAsync<
8787
BatchDeployment,

specification/machinelearningservices/MachineLearningServices.Management/BatchEndpoint.tsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ model BatchEndpoint
2626
/**
2727
* Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.
2828
*/
29-
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
29+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "Existing API includes additional envelope properties"
3030
kind?: string;
3131

3232
...Azure.ResourceManager.ResourceSkuProperty;
@@ -81,7 +81,7 @@ interface BatchEndpoints {
8181
/**
8282
* Delete Batch Inference Endpoint (asynchronous).
8383
*/
84-
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
84+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "Existing API returns additional response codes for LRO delete"
8585
@summary("Delete Batch Inference Endpoint (asynchronous).")
8686
delete is ArmResourceDeleteWithoutOkAsync<
8787
BatchEndpoint,

specification/machinelearningservices/MachineLearningServices.Management/CodeContainer.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ interface CodeContainers {
8181
/**
8282
* Delete Code container.
8383
*/
84-
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
84+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "Existing API returns additional response codes for LRO delete"
8585
@summary("Delete Code container.")
8686
delete is CodeContainerOps.DeleteWithoutOkAsync<
8787
CodeContainer,

specification/machinelearningservices/MachineLearningServices.Management/CodeVersion.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ interface CodeVersions {
8787
/**
8888
* Delete version.
8989
*/
90-
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
90+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "Existing API returns additional response codes for LRO delete"
9191
@summary("Delete version.")
9292
delete is CodeVersionOps.DeleteWithoutOkAsync<
9393
CodeVersion,

specification/machinelearningservices/MachineLearningServices.Management/ComponentContainer.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ interface ComponentContainers {
8181
/**
8282
* Delete container.
8383
*/
84-
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
84+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "Existing API returns additional response codes for LRO delete"
8585
@summary("Delete container.")
8686
delete is ComponentContainerOps.DeleteWithoutOkAsync<
8787
ComponentContainer,

specification/machinelearningservices/MachineLearningServices.Management/ComponentVersion.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ interface ComponentVersions {
8787
/**
8888
* Delete version.
8989
*/
90-
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
90+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "Existing API returns additional response codes for LRO delete"
9191
@summary("Delete version.")
9292
delete is ComponentVersionOps.DeleteWithoutOkAsync<
9393
ComponentVersion,

specification/machinelearningservices/MachineLearningServices.Management/ComputeResource.tsp

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import "@azure-tools/typespec-azure-core";
22
import "@azure-tools/typespec-azure-resource-manager";
33
import "@typespec/openapi";
44
import "@typespec/rest";
5+
import "@typespec/versioning";
56
import "./models.tsp";
67
import "./Workspace.tsp";
78

@@ -10,14 +11,15 @@ using Azure.ResourceManager;
1011
using TypeSpec.Http;
1112
using TypeSpec.OpenAPI;
1213
using Azure.Core;
14+
using TypeSpec.Versioning;
1315

1416
namespace Microsoft.MachineLearningServices;
1517
// FIXME: ComputeResource has no properties property
1618
/**
1719
* Machine Learning compute object wrapped into ARM resource envelope.
1820
*/
19-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
20-
#suppress "@azure-tools/typespec-client-generator-core/legacy-hierarchy-building-conflict" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
21+
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Required for backward compatibility"
22+
#suppress "@azure-tools/typespec-client-generator-core/legacy-hierarchy-building-conflict" "Required for SDK backward compatibility"
2123
@parentResource(Workspace)
2224
model ComputeResource is Azure.ResourceManager.ProxyResource<Compute> {
2325
...ResourceNameParameter<
@@ -30,22 +32,22 @@ model ComputeResource is Azure.ResourceManager.ProxyResource<Compute> {
3032
/**
3133
* Specifies the location of the resource.
3234
*/
33-
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
34-
#suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
35+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "Existing API includes additional envelope properties"
36+
#suppress "@azure-tools/typespec-azure-core/no-nullable" "Existing API contract allows null values"
3537
location?: string;
3638

3739
/**
3840
* Contains resource tags defined as key/value pairs.
3941
*/
40-
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
41-
#suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
42+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "Existing API includes additional envelope properties"
43+
#suppress "@azure-tools/typespec-azure-core/no-nullable" "Existing API contract allows null values"
4244
tags?: Record<string> | null;
4345

4446
/**
4547
* The sku of the workspace.
4648
*/
47-
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
48-
#suppress "@azure-tools/typespec-azure-core/no-nullable" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
49+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "Existing API includes additional envelope properties"
50+
#suppress "@azure-tools/typespec-azure-core/no-nullable" "Existing API contract allows null values"
4951
sku?: Azure.ResourceManager.Foundations.Sku | null;
5052

5153
...Azure.ResourceManager.ManagedServiceIdentityProperty;
@@ -61,7 +63,7 @@ interface ComputeResources {
6163
/**
6264
* Creates or updates compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation. If your intent is to create a new compute, do a GET first to verify that it does not exist yet.
6365
*/
64-
#suppress "@azure-tools/typespec-azure-core/invalid-final-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
66+
#suppress "@azure-tools/typespec-azure-core/invalid-final-state" "LRO final state pattern matches existing API behavior"
6567
@Azure.Core.useFinalStateVia("location")
6668
createOrUpdate is ArmResourceCreateOrReplaceAsync<
6769
ComputeResource,
@@ -72,7 +74,7 @@ interface ComputeResources {
7274
/**
7375
* Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.
7476
*/
75-
#suppress "@azure-tools/typespec-azure-core/invalid-final-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
77+
#suppress "@azure-tools/typespec-azure-core/invalid-final-state" "LRO final state pattern matches existing API behavior"
7678
@Azure.Core.useFinalStateVia("location")
7779
@patch(#{ implicitOptionality: false })
7880
update is ArmCustomPatchAsync<
@@ -85,7 +87,7 @@ interface ComputeResources {
8587
/**
8688
* Deletes specified Machine Learning compute.
8789
*/
88-
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
90+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "Existing API returns additional response codes for LRO delete"
8991
delete is ArmResourceDeleteWithoutOkAsync<
9092
ComputeResource,
9193
Parameters = {
@@ -114,8 +116,9 @@ interface ComputeResources {
114116
>;
115117

116118
/**
117-
* Updates the custom services list. The list of custom services provided shall be overwritten
119+
* Updates the custom services list. The list of custom services provided shall be overwritten.
118120
*/
121+
@removed(Versions.v2025_12_01)
119122
@action("customServices")
120123
updateCustomServices is ArmResourceActionSync<
121124
ComputeResource,
@@ -147,6 +150,7 @@ interface ComputeResources {
147150
/**
148151
* Update Data Mounts of a Machine Learning compute.
149152
*/
153+
@removed(Versions.v2025_12_01)
150154
@summary("Update Data Mounts of a Machine Learning compute.")
151155
updateDataMounts is ArmResourceActionSync<
152156
ComputeResource,
@@ -189,6 +193,7 @@ interface ComputeResources {
189193
/**
190194
* Updates the idle shutdown setting of a compute instance.
191195
*/
196+
@removed(Versions.v2025_12_01)
192197
updateIdleShutdownSetting is ArmResourceActionSync<
193198
ComputeResource,
194199
IdleShutdownSetting,
@@ -198,9 +203,10 @@ interface ComputeResources {
198203
>;
199204

200205
/**
201-
* Returns supported virtual machine sizes for resize
206+
* Returns supported virtual machine sizes for resize.
202207
*/
203-
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
208+
#suppress "@azure-tools/typespec-azure-core/no-openapi" "Required for swagger compatibility"
209+
@removed(Versions.v2025_12_01)
204210
@operationId("Compute_getAllowedResizeSizes")
205211
@action("getAllowedVmSizesForResize")
206212
getAllowedResizeSizes is ArmResourceActionSync<
@@ -212,6 +218,7 @@ interface ComputeResources {
212218
/**
213219
* Updates the size of a Compute Instance.
214220
*/
221+
@removed(Versions.v2025_12_01)
215222
resize is ArmResourceActionAsyncBase<
216223
ComputeResource,
217224
ResizeSchema,

specification/machinelearningservices/MachineLearningServices.Management/DataContainer.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ interface DataContainers {
108108
/**
109109
* Delete container.
110110
*/
111-
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
111+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "Existing API returns additional response codes for LRO delete"
112112
@summary("Delete container.")
113113
delete is DataContainerOps.DeleteWithoutOkAsync<
114114
DataContainer,

specification/machinelearningservices/MachineLearningServices.Management/DataVersionBase.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ interface DataVersionBases {
120120
/**
121121
* Delete version.
122122
*/
123-
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
123+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "Existing API returns additional response codes for LRO delete"
124124
@summary("Delete version.")
125125
delete is DataVersionBaseOps.DeleteWithoutOkAsync<
126126
DataVersionBase,

specification/machinelearningservices/MachineLearningServices.Management/EndpointDeploymentResourcePropertiesBasicResource.tsp

Lines changed: 48 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,22 @@ import "@azure-tools/typespec-azure-core";
22
import "@azure-tools/typespec-azure-resource-manager";
33
import "@typespec/openapi";
44
import "@typespec/rest";
5+
import "@typespec/versioning";
56
import "./models.tsp";
67
import "./WorkspaceConnectionPropertiesV2BasicResource.tsp";
78

89
using TypeSpec.Rest;
910
using Azure.ResourceManager;
1011
using TypeSpec.Http;
1112
using TypeSpec.OpenAPI;
13+
using TypeSpec.Versioning;
1214

1315
namespace Microsoft.MachineLearningServices;
1416

17+
/**
18+
* EndpointDeploymentResourcePropertiesBasicResource is preview-only.
19+
*/
20+
@removed(Versions.v2025_12_01)
1521
@parentResource(WorkspaceConnectionPropertiesV2BasicResource)
1622
model EndpointDeploymentResourcePropertiesBasicResource
1723
is Azure.ResourceManager.ProxyResource<
@@ -26,6 +32,10 @@ model EndpointDeploymentResourcePropertiesBasicResource
2632
>;
2733
}
2834

35+
/**
36+
* EndpointDeploymentResourcePropertiesBasicResourceOps is preview-only.
37+
*/
38+
@removed(Versions.v2025_12_01)
2939
@armResourceOperations
3040
interface EndpointDeploymentResourcePropertiesBasicResourceOps
3141
extends Azure.ResourceManager.Legacy.LegacyOperations<
@@ -59,6 +69,10 @@ interface EndpointDeploymentResourcePropertiesBasicResourceOps
5969
}
6070
> {}
6171

72+
/**
73+
* EndpointDeploymentResourcePropertiesBasicResources is preview-only.
74+
*/
75+
@removed(Versions.v2025_12_01)
6276
@armResourceOperations
6377
interface EndpointDeploymentResourcePropertiesBasicResources {
6478
/**
@@ -74,7 +88,12 @@ interface EndpointDeploymentResourcePropertiesBasicResources {
7488
createOrUpdateDeployment is EndpointDeploymentResourcePropertiesBasicResourceOps.CreateOrUpdateAsync<
7589
EndpointDeploymentResourcePropertiesBasicResource,
7690
Parameters = {
77-
...ProxyApiVersion;
91+
/**
92+
* Api version used by proxy call
93+
*/
94+
#suppress "@azure-tools/typespec-azure-core/casing-style" "Existing API contract uses this naming convention"
95+
@query("proxy-api-version")
96+
`proxy-api-version`?: string;
7897
},
7998
LroHeaders = ArmLroLocationHeader<FinalResult = EndpointDeploymentResourcePropertiesBasicResource> &
8099
Azure.Core.Foundations.RetryAfterHeader
@@ -87,7 +106,12 @@ interface EndpointDeploymentResourcePropertiesBasicResources {
87106
deleteDeployment is EndpointDeploymentResourcePropertiesBasicResourceOps.DeleteWithoutOkAsync<
88107
EndpointDeploymentResourcePropertiesBasicResource,
89108
Parameters = {
90-
...ProxyApiVersion;
109+
/**
110+
* Api version used by proxy call
111+
*/
112+
#suppress "@azure-tools/typespec-azure-core/casing-style" "Existing API contract uses this naming convention"
113+
@query("proxy-api-version")
114+
`proxy-api-version`?: string;
91115
}
92116
>;
93117

@@ -98,11 +122,21 @@ interface EndpointDeploymentResourcePropertiesBasicResources {
98122
listDeployments is EndpointDeploymentResourcePropertiesBasicResourceOps.List<
99123
EndpointDeploymentResourcePropertiesBasicResource,
100124
Parameters = {
101-
...ProxyApiVersion;
125+
/**
126+
* Api version used by proxy call
127+
*/
128+
#suppress "@azure-tools/typespec-azure-core/casing-style" "Existing API contract uses this naming convention"
129+
@query("proxy-api-version")
130+
`proxy-api-version`?: string;
102131
},
103132
Response = ArmResponse<EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult>
104133
>;
105134
}
135+
136+
/**
137+
* EndpointDeploymentOps is preview-only.
138+
*/
139+
@removed(Versions.v2025_12_01)
106140
@armResourceOperations
107141
interface EndpointDeploymentOps
108142
extends Azure.ResourceManager.Legacy.LegacyOperations<
@@ -136,6 +170,10 @@ interface EndpointDeploymentOps
136170
}
137171
> {}
138172

173+
/**
174+
* EndpointDeployment is preview-only.
175+
*/
176+
@removed(Versions.v2025_12_01)
139177
@armResourceOperations
140178
interface EndpointDeployment {
141179
/**
@@ -147,7 +185,7 @@ interface EndpointDeployment {
147185
/**
148186
* Create or update endpoint deployment resource with the specified parameters
149187
*/
150-
#suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
188+
#suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "Existing API returns additional response codes"
151189
@summary("Create or update endpoint deployment resource with the specified parameters")
152190
createOrUpdate is EndpointDeploymentOps.CreateOrUpdateAsync<
153191
EndpointDeploymentResourcePropertiesBasicResource,
@@ -162,7 +200,12 @@ interface EndpointDeployment {
162200
delete is EndpointDeploymentOps.DeleteWithoutOkAsync<
163201
EndpointDeploymentResourcePropertiesBasicResource,
164202
Parameters = {
165-
...ProxyApiVersion;
203+
/**
204+
* Api version used by proxy call
205+
*/
206+
#suppress "@azure-tools/typespec-azure-core/casing-style" "Existing API contract uses this naming convention"
207+
@query("proxy-api-version")
208+
`proxy-api-version`?: string;
166209
}
167210
>;
168211

0 commit comments

Comments
 (0)