Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
1e2ff68
convert
mcgallan Oct 28, 2025
527cb8b
update examples
mcgallan Oct 28, 2025
1e90552
update
mcgallan Oct 30, 2025
07dc93a
update
mcgallan Oct 31, 2025
a2021c7
delete
mcgallan Oct 31, 2025
73cf3d2
update finalresult
mcgallan Nov 3, 2025
52883d5
update finalresult
mcgallan Nov 3, 2025
7ccbc14
remove operationId and related suppression
mcgallan Nov 3, 2025
1b791f8
update tspcofig
mcgallan Nov 3, 2025
c41a986
fix
mcgallan Nov 3, 2025
6f5737d
rename folder
mcgallan Nov 4, 2025
bb81361
delete
mcgallan Nov 5, 2025
d63a30a
remove private
mcgallan Nov 5, 2025
62f972a
remove csharp in tspconfig
mcgallan Nov 13, 2025
c99f542
fix update
mcgallan Nov 28, 2025
7fa62b7
Add Secret on model properties and Fix ComputeResource
mcgallan Nov 28, 2025
6837100
fix ts validation error
mcgallan Dec 19, 2025
7458186
regen
mcgallan Jan 6, 2026
e12c190
remove hierarchyBuilding
mcgallan Jan 6, 2026
fccc10e
fix void finalresult
mcgallan Jan 13, 2026
982e52d
fix deleteBulk
mcgallan Jan 13, 2026
7e16505
Update tspconfig.yaml
weidongxu-microsoft Jan 13, 2026
801d3ca
Update specification/machinelearningservices/MachineLearningServices.…
msyyc Jan 13, 2026
2f3820c
Update tspconfig.yaml for Machine Learning services
v-jiaodi Jan 13, 2026
ae78cf2
add void finalresult for addBulk
mcgallan Jan 14, 2026
d770680
refactor(spec): update Java client naming for blob reference SAS oper…
v-huizhu2 Jan 14, 2026
56c4e74
Remove legacy client name annotations
v-huizhu2 Jan 14, 2026
555875f
Fix Java casing for SAS-related types
v-huizhu2 Jan 14, 2026
7150daf
2025-12-01 typespec api version creation
fmabroukmsft Jan 15, 2026
f4caa69
Models.tsp update
fmabroukmsft Jan 15, 2026
572858a
patch reigstry spec
chaoyu-msft Jan 18, 2026
2f04259
Reflect new SDK fixes from typespec conversion PR
fmabroukmsft Jan 26, 2026
c023b3e
Fix Registry.tsp duplicate symbols causing SDK generation failure
fmabroukmsft Jan 26, 2026
72d0dc2
Disable Go generate-samples due to emitter bug with example file matc…
fmabroukmsft Jan 26, 2026
2a3fbd0
Add package-2025-12-01 tag to readme.md for lint-diff validation
fmabroukmsft Jan 26, 2026
b0d8782
Format 2025-12-01 JSON files with prettier
fmabroukmsft Jan 26, 2026
342b792
fix: format TypeSpec source examples for 2025-12-01 with prettier
fmabroukmsft Jan 26, 2026
8958751
patch reigstry spec
chaoyu-msft Jan 18, 2026
09284ab
remove duplicated model definitions
chaoyu-msft Jan 26, 2026
a9dca18
fix: format RegistryPrivateEndpointConnection.tsp for TypeSpec valida…
fmabroukmsft Jan 26, 2026
933b918
fix: remove duplicate managedResourceGroup properties from Registry e…
fmabroukmsft Jan 26, 2026
4986791
chore: regenerate swagger files to sync with TypeSpec source
fmabroukmsft Jan 27, 2026
9280a38
fix: set generate-samples to true for Go emitter to pass SDK config v…
fmabroukmsft Jan 27, 2026
7602415
Merge branch 'main' into machinelearningservices-Microsoft.MachineLea…
mikeharder Jan 27, 2026
a9e1937
Update to allow lintdiff to succeed
fmabroukmsft Jan 27, 2026
8167d68
Fix breaking changes in 2025-10-01-preview: Remove global use-read-on…
fmabroukmsft Jan 27, 2026
d6a95aa
Fix DataContainer FinalResult typo: CodeContainer -> DataContainer
fmabroukmsft Jan 28, 2026
c515256
Update FIXME suppressions with proper justifications
fmabroukmsft Jan 28, 2026
075f367
Add secret decorators to remove XMSSecretInResponse suppressions
fmabroukmsft Jan 28, 2026
3db3671
Remove preview comments from property descriptions
fmabroukmsft Jan 29, 2026
abeac0f
Fix model validation errors by removing preview-only features from st…
fmabroukmsft Jan 29, 2026
89e61e9
Remove FineTuningJob and DistillationJob examples from TypeSpec sourc…
fmabroukmsft Jan 29, 2026
32bc76b
fix: remove preview-only properties from 2025-12-01 stable examples
fmabroukmsft Jan 29, 2026
72e9d89
style: fix tsp format for models.tsp
fmabroukmsft Jan 29, 2026
79ffa56
Merge branch 'main' into machinelearningservices-Microsoft.MachineLea…
mikeharder Jan 30, 2026
4ca0180
Lintdiff updates
fmabroukmsft Feb 2, 2026
97dbc20
Lintdiff fix
fmabroukmsft Feb 2, 2026
a0b940c
chore: retrigger CI pipelines
fmabroukmsft Feb 2, 2026
333297d
Update suppressions to remove old generic justification
fmabroukmsft Feb 3, 2026
8350d8e
Fix cspell failure
fmabroukmsft Feb 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ model BatchDeployment
/**
* Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.
*/
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "Existing API includes additional envelope properties"
kind?: string;

...Azure.ResourceManager.ResourceSkuProperty;
Expand Down Expand Up @@ -81,7 +81,7 @@ interface BatchDeployments {
/**
* Delete Batch Inference deployment (asynchronous).
*/
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "Existing API returns additional response codes for LRO delete"
@summary("Delete Batch Inference deployment (asynchronous).")
delete is ArmResourceDeleteWithoutOkAsync<
BatchDeployment,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ model BatchEndpoint
/**
* Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.
*/
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "Existing API includes additional envelope properties"
kind?: string;

...Azure.ResourceManager.ResourceSkuProperty;
Expand Down Expand Up @@ -81,7 +81,7 @@ interface BatchEndpoints {
/**
* Delete Batch Inference Endpoint (asynchronous).
*/
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "Existing API returns additional response codes for LRO delete"
@summary("Delete Batch Inference Endpoint (asynchronous).")
delete is ArmResourceDeleteWithoutOkAsync<
BatchEndpoint,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ interface CodeContainers {
/**
* Delete Code container.
*/
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "Existing API returns additional response codes for LRO delete"
@summary("Delete Code container.")
delete is CodeContainerOps.DeleteWithoutOkAsync<
CodeContainer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ interface CodeVersions {
/**
* Delete version.
*/
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "Existing API returns additional response codes for LRO delete"
@summary("Delete version.")
delete is CodeVersionOps.DeleteWithoutOkAsync<
CodeVersion,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ interface ComponentContainers {
/**
* Delete container.
*/
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "Existing API returns additional response codes for LRO delete"
@summary("Delete container.")
delete is ComponentContainerOps.DeleteWithoutOkAsync<
ComponentContainer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ interface ComponentVersions {
/**
* Delete version.
*/
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "Existing API returns additional response codes for LRO delete"
@summary("Delete version.")
delete is ComponentVersionOps.DeleteWithoutOkAsync<
ComponentVersion,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import "@azure-tools/typespec-azure-core";
import "@azure-tools/typespec-azure-resource-manager";
import "@typespec/openapi";
import "@typespec/rest";
import "@typespec/versioning";
import "./models.tsp";
import "./Workspace.tsp";

Expand All @@ -10,14 +11,15 @@ using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using Azure.Core;
using TypeSpec.Versioning;

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

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

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

...Azure.ResourceManager.ManagedServiceIdentityProperty;
Expand All @@ -61,7 +63,7 @@ interface ComputeResources {
/**
* 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.
*/
#suppress "@azure-tools/typespec-azure-core/invalid-final-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
#suppress "@azure-tools/typespec-azure-core/invalid-final-state" "LRO final state pattern matches existing API behavior"
@Azure.Core.useFinalStateVia("location")
createOrUpdate is ArmResourceCreateOrReplaceAsync<
ComputeResource,
Expand All @@ -72,7 +74,7 @@ interface ComputeResources {
/**
* Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.
*/
#suppress "@azure-tools/typespec-azure-core/invalid-final-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
#suppress "@azure-tools/typespec-azure-core/invalid-final-state" "LRO final state pattern matches existing API behavior"
@Azure.Core.useFinalStateVia("location")
@patch(#{ implicitOptionality: false })
update is ArmCustomPatchAsync<
Expand All @@ -85,7 +87,7 @@ interface ComputeResources {
/**
* Deletes specified Machine Learning compute.
*/
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "Existing API returns additional response codes for LRO delete"
delete is ArmResourceDeleteWithoutOkAsync<
ComputeResource,
Parameters = {
Expand Down Expand Up @@ -114,8 +116,9 @@ interface ComputeResources {
>;

/**
* Updates the custom services list. The list of custom services provided shall be overwritten
* Updates the custom services list. The list of custom services provided shall be overwritten.
*/
@removed(Versions.v2025_12_01)
@action("customServices")
updateCustomServices is ArmResourceActionSync<
ComputeResource,
Expand Down Expand Up @@ -147,6 +150,7 @@ interface ComputeResources {
/**
* Update Data Mounts of a Machine Learning compute.
*/
@removed(Versions.v2025_12_01)
@summary("Update Data Mounts of a Machine Learning compute.")
updateDataMounts is ArmResourceActionSync<
ComputeResource,
Expand Down Expand Up @@ -189,6 +193,7 @@ interface ComputeResources {
/**
* Updates the idle shutdown setting of a compute instance.
*/
@removed(Versions.v2025_12_01)
updateIdleShutdownSetting is ArmResourceActionSync<
ComputeResource,
IdleShutdownSetting,
Expand All @@ -198,9 +203,10 @@ interface ComputeResources {
>;

/**
* Returns supported virtual machine sizes for resize
* Returns supported virtual machine sizes for resize.
*/
#suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
#suppress "@azure-tools/typespec-azure-core/no-openapi" "Required for swagger compatibility"
@removed(Versions.v2025_12_01)
@operationId("Compute_getAllowedResizeSizes")
@action("getAllowedVmSizesForResize")
getAllowedResizeSizes is ArmResourceActionSync<
Expand All @@ -212,6 +218,7 @@ interface ComputeResources {
/**
* Updates the size of a Compute Instance.
*/
@removed(Versions.v2025_12_01)
resize is ArmResourceActionAsyncBase<
ComputeResource,
ResizeSchema,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ interface DataContainers {
/**
* Delete container.
*/
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "Existing API returns additional response codes for LRO delete"
@summary("Delete container.")
delete is DataContainerOps.DeleteWithoutOkAsync<
DataContainer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ interface DataVersionBases {
/**
* Delete version.
*/
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "Existing API returns additional response codes for LRO delete"
@summary("Delete version.")
delete is DataVersionBaseOps.DeleteWithoutOkAsync<
DataVersionBase,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,22 @@ import "@azure-tools/typespec-azure-core";
import "@azure-tools/typespec-azure-resource-manager";
import "@typespec/openapi";
import "@typespec/rest";
import "@typespec/versioning";
import "./models.tsp";
import "./WorkspaceConnectionPropertiesV2BasicResource.tsp";

using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using TypeSpec.Versioning;

namespace Microsoft.MachineLearningServices;

/**
* EndpointDeploymentResourcePropertiesBasicResource is preview-only.
*/
@removed(Versions.v2025_12_01)
@parentResource(WorkspaceConnectionPropertiesV2BasicResource)
model EndpointDeploymentResourcePropertiesBasicResource
is Azure.ResourceManager.ProxyResource<
Expand All @@ -26,6 +32,10 @@ model EndpointDeploymentResourcePropertiesBasicResource
>;
}

/**
* EndpointDeploymentResourcePropertiesBasicResourceOps is preview-only.
*/
@removed(Versions.v2025_12_01)
@armResourceOperations
interface EndpointDeploymentResourcePropertiesBasicResourceOps
extends Azure.ResourceManager.Legacy.LegacyOperations<
Expand Down Expand Up @@ -59,6 +69,10 @@ interface EndpointDeploymentResourcePropertiesBasicResourceOps
}
> {}

/**
* EndpointDeploymentResourcePropertiesBasicResources is preview-only.
*/
@removed(Versions.v2025_12_01)
@armResourceOperations
interface EndpointDeploymentResourcePropertiesBasicResources {
/**
Expand All @@ -74,7 +88,12 @@ interface EndpointDeploymentResourcePropertiesBasicResources {
createOrUpdateDeployment is EndpointDeploymentResourcePropertiesBasicResourceOps.CreateOrUpdateAsync<
EndpointDeploymentResourcePropertiesBasicResource,
Parameters = {
...ProxyApiVersion;
/**
* Api version used by proxy call
*/
#suppress "@azure-tools/typespec-azure-core/casing-style" "Existing API contract uses this naming convention"
@query("proxy-api-version")
`proxy-api-version`?: string;
},
LroHeaders = ArmLroLocationHeader<FinalResult = EndpointDeploymentResourcePropertiesBasicResource> &
Azure.Core.Foundations.RetryAfterHeader
Expand All @@ -87,7 +106,12 @@ interface EndpointDeploymentResourcePropertiesBasicResources {
deleteDeployment is EndpointDeploymentResourcePropertiesBasicResourceOps.DeleteWithoutOkAsync<
EndpointDeploymentResourcePropertiesBasicResource,
Parameters = {
...ProxyApiVersion;
/**
* Api version used by proxy call
*/
#suppress "@azure-tools/typespec-azure-core/casing-style" "Existing API contract uses this naming convention"
@query("proxy-api-version")
`proxy-api-version`?: string;
}
>;

Expand All @@ -98,11 +122,21 @@ interface EndpointDeploymentResourcePropertiesBasicResources {
listDeployments is EndpointDeploymentResourcePropertiesBasicResourceOps.List<
EndpointDeploymentResourcePropertiesBasicResource,
Parameters = {
...ProxyApiVersion;
/**
* Api version used by proxy call
*/
#suppress "@azure-tools/typespec-azure-core/casing-style" "Existing API contract uses this naming convention"
@query("proxy-api-version")
`proxy-api-version`?: string;
},
Response = ArmResponse<EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult>
>;
}

/**
* EndpointDeploymentOps is preview-only.
*/
@removed(Versions.v2025_12_01)
@armResourceOperations
interface EndpointDeploymentOps
extends Azure.ResourceManager.Legacy.LegacyOperations<
Expand Down Expand Up @@ -136,6 +170,10 @@ interface EndpointDeploymentOps
}
> {}

/**
* EndpointDeployment is preview-only.
*/
@removed(Versions.v2025_12_01)
@armResourceOperations
interface EndpointDeployment {
/**
Expand All @@ -147,7 +185,7 @@ interface EndpointDeployment {
/**
* Create or update endpoint deployment resource with the specified parameters
*/
#suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
#suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "Existing API returns additional response codes"
@summary("Create or update endpoint deployment resource with the specified parameters")
createOrUpdate is EndpointDeploymentOps.CreateOrUpdateAsync<
EndpointDeploymentResourcePropertiesBasicResource,
Expand All @@ -162,7 +200,12 @@ interface EndpointDeployment {
delete is EndpointDeploymentOps.DeleteWithoutOkAsync<
EndpointDeploymentResourcePropertiesBasicResource,
Parameters = {
...ProxyApiVersion;
/**
* Api version used by proxy call
*/
#suppress "@azure-tools/typespec-azure-core/casing-style" "Existing API contract uses this naming convention"
@query("proxy-api-version")
`proxy-api-version`?: string;
}
>;

Expand Down
Loading
Loading