-
Notifications
You must be signed in to change notification settings - Fork 957
[Migrate-Check] sdk/resourcemanager/machinelearningservices/armmachinelearningservice Mgmt #25918
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request migrates the Azure Machine Learning Services SDK from v4 to v5, updating the API version from 2024-04-01 to 2025-10-01-preview and changing the code generator from AutoRest to the Go Code Generator.
Changes:
- Updated API version from 2024-04-01 to 2025-10-01-preview across all clients
- Migrated code generation from AutoRest to Go Code Generator
- Bumped module version from v4 to v5 and azcore dependency from v1.20.0 to v1.21.0
- Added tsp-location.yaml for TypeSpec-based generation metadata
- Updated client methods with improved documentation and parameter naming
- Reorganized example tests with corrected response structures
Reviewed changes
Copilot reviewed 74 out of 223 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| version.go | Added new file defining module version v5.0.0-beta.1 |
| go.mod | Updated module path to v5 and dependencies |
| tsp-location.yaml | Added TypeSpec generation metadata |
| workspaces_client.go | Updated API version, improved docs, added Content-Type headers |
| workspaces_client_example_test.go | Updated examples with new API patterns and response structures |
| workspacefeatures_client.go | Updated API version and improved parameter documentation |
| workspaceconnections_client.go | Added new methods (TestConnection, Update), updated API version |
| virtualmachinesizes_client.go | Updated API version and documentation |
| usages_client.go | Updated API version and improved documentation |
| schedules_client.go | Updated API version, improved documentation |
| serverlessendpoints_client_example_test.go | Reorganized examples, added ContentSafetyLevel field |
| responses_serde.go | Added custom unmarshalling for specific response types |
| time_rfc3339.go | Removed custom time handling (likely moved to azcore) |
| testdata/_metadata.json | Added metadata for API version and emitter version |
| - Field `Value`, `ValueFormat` of struct `UsernamePasswordAuthTypeWorkspaceConnectionProperties` has been removed | ||
| - Field `Value`, `ValueFormat` of struct `WorkspaceConnectionPropertiesV2` has been removed | ||
| - Field `Parameters` of struct `WorkspacesClientBeginDiagnoseOptions` has been removed | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added Breaking Changes:
-
Type of
ComputeInstanceContainer.Serviceshas been changed from[]anyto[]map[string]any(fixed and disappeared) -
Type of
ComputeInstanceContainer.Serviceshas been changed from[]anyto[]map[string]anyfixed and disappeared) -
Type of
PipelineJob.Settingshas been changed fromanytomap[string]anyfixed and disappeared) -
Type of
SweepJob.SearchSpacehas been changed fromanytomap[string]anyfixed and disappeared) -
Struct
AKSSchemahas been removed -
Struct
AksComputeSecretsPropertieshas been removed -
Struct
AmlComputeSchemahas been removed -
Struct
AssetBasehas been removed -
Struct
AssetContainerhas been removed -
Struct
AssetJobInputhas been removed -
Struct
AssetJobOutputhas been removed -
Struct
DataLakeAnalyticsSchemahas been removed -
Struct
DatabricksSchemahas been removed -
Struct
EndpointDeploymentPropertiesBasehas been removed -
Struct
EndpointPropertiesBasehas been removed -
Struct
FeaturizationSettingshas been removed -
Struct
HDInsightSchemahas been removed -
Struct
ImageClassificationBasehas been removed -
Struct
ImageModelDistributionSettingshas been removed -
Struct
ImageModelSettingshas been removed -
Struct
ImageObjectDetectionBasehas been removed -
Struct
ImageVerticalhas been removed -
Struct
KubernetesSchemahas been removed -
Struct
NlpVerticalhas been removed -
Struct
PartialMinimalTrackedResourcehas been removed -
Struct
PrivateEndpointhas been removed -
Struct
ProxyResourcehas been removed -
Struct
Resourcehas been removed -
Struct
ResourceBasehas been removed -
Struct
ResourceConfigurationhas been removed -
Struct
TableVerticalhas been removed -
Struct
TrackedResourcehas been removed -
Struct
TrainingSettingshas been removed -
Struct
VirtualMachineSchemahas been removed -
Struct
VirtualMachineSecretsSchemahas been removed -
Function
*WorkspaceConnectionsClient.Createparameter(s) have been changed from(ctx context.Context, resourceGroupName string, workspaceName string, connectionName string, parameters WorkspaceConnectionPropertiesV2BasicResource, options *WorkspaceConnectionsClientCreateOptions)to(ctx context.Context, resourceGroupName string, workspaceName string, connectionName string, options *WorkspaceConnectionsClientCreateOptions)
changed to -
Function
*WorkspaceConnectionsClient.Createparameter(s) have been changed from(ctx context.Context, resourceGroupName string, workspaceName string, connectionName string, parameters WorkspaceConnectionPropertiesV2BasicResource, options *WorkspaceConnectionsClientCreateOptions)to(ctx context.Context, resourceGroupName string, workspaceName string, connectionName string, body WorkspaceConnectionPropertiesV2BasicResource, options *WorkspaceConnectionsClientCreateOptions)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Features Added updated:
functions changed:
1、- New function *ConnectionRaiBlocklistItemClient.BeginDeleteBulk(ctx context.Context, resourceGroupName string, workspaceName string, connectionName string, raiBlocklistName string, body any, options *ConnectionRaiBlocklistItemClientBeginDeleteBulkOptions) (*runtime.Poller[ConnectionRaiBlocklistItemClientDeleteBulkResponse], error)
changed to
- New function
*ConnectionRaiBlocklistItemClient.BeginDeleteBulk(ctx context.Context, resourceGroupName string, workspaceName string, connectionName string, raiBlocklistName string, body []*string, options *ConnectionRaiBlocklistItemClientBeginDeleteBulkOptions) (*runtime.Poller[ConnectionRaiBlocklistItemClientDeleteBulkResponse], error)(caused by definition error in swagger)
2、- New function *InferenceEndpointsClient.BeginUpdate(ctx context.Context, resourceGroupName string, workspaceName string, poolName string, endpointName string, body any, options *InferenceEndpointsClientBeginUpdateOptions) (*runtime.Poller[InferenceEndpointsClientUpdateResponse], error)
changed to
- New function
*InferenceEndpointsClient.BeginUpdate(ctx context.Context, resourceGroupName string, workspaceName string, poolName string, endpointName string, options *InferenceEndpointsClientBeginUpdateOptions) (*runtime.Poller[InferenceEndpointsClientUpdateResponse], error)(caused by definition error in swagger)
3、- New function *ManagedNetworkSettingsClient.BeginPatch(ctx context.Context, resourceGroupName string, workspaceName string, managedNetworkName string, options *ManagedNetworkSettingsClientBeginPatchOptions) (*runtime.Poller[ManagedNetworkSettingsClientPatchResponse], error)
changed to
- New function
*ManagedNetworkSettingsClient.BeginPatch(ctx context.Context, resourceGroupName string, workspaceName string, managedNetworkName string, body ManagedNetworkSettingsPropertiesBasicResource, options *ManagedNetworkSettingsClientBeginPatchOptions) (*runtime.Poller[ManagedNetworkSettingsClientPatchResponse], error)
4、- New function *WorkspaceConnectionsClient.Update(ctx context.Context, resourceGroupName string, workspaceName string, connectionName string, options *WorkspaceConnectionsClientUpdateOptions) (WorkspaceConnectionsClientUpdateResponse, error)
changed to
- New function
*WorkspaceConnectionsClient.Update(ctx context.Context, resourceGroupName string, workspaceName string, connectionName string, body WorkspaceConnectionUpdateParameter, options *WorkspaceConnectionsClientUpdateOptions) (WorkspaceConnectionsClientUpdateResponse, error)
Added:
- New struct
StringStringKeyValuePair - New field
XMSAsyncOperationTimeoutin structBatchDeploymentsClientCreateOrUpdateResponse - New field
XMSAsyncOperationTimeoutin structBatchDeploymentsClientDeleteResponse - New field
XMSAsyncOperationTimeoutin structBatchDeploymentsClientUpdateResponse - New field
XMSAsyncOperationTimeoutin structBatchEndpointsClientCreateOrUpdateResponse - New field
XMSAsyncOperationTimeoutin structBatchEndpointsClientDeleteResponse - New field
XMSAsyncOperationTimeoutin structBatchEndpointsClientUpdateResponse - New field
XMSAsyncOperationTimeoutin structFeaturesetContainersClientCreateOrUpdateResponse - New field
XMSAsyncOperationTimeoutin structFeaturesetContainersClientDeleteResponse - New field
XMSAsyncOperationTimeoutin structFeaturesetVersionsClientCreateOrUpdateResponse - New field
XMSAsyncOperationTimeoutin structFeaturesetVersionsClientDeleteResponse - New field
XMSAsyncOperationTimeoutin structFeaturestoreEntityContainersClientCreateOrUpdateResponse - New field
XMSAsyncOperationTimeoutin structFeaturestoreEntityContainersClientDeleteResponse - New field
XMSAsyncOperationTimeoutin structFeaturestoreEntityVersionsClientCreateOrUpdateResponse - New field
XMSAsyncOperationTimeoutin structFeaturestoreEntityVersionsClientDeleteResponse - New field
XMSAsyncOperationTimeoutin structJobsClientDeleteResponse - New field
XMSAsyncOperationTimeoutin structMarketplaceSubscriptionsClientCreateOrUpdateResponse - New field
XMSAsyncOperationTimeoutin structMarketplaceSubscriptionsClientDeleteResponse - New field
XMSAsyncOperationTimeoutin structOnlineDeploymentsClientCreateOrUpdateResponse - New field
XMSAsyncOperationTimeoutin structOnlineDeploymentsClientDeleteResponse - New field
XMSAsyncOperationTimeoutin structOnlineDeploymentsClientUpdateResponse - New field
XMSAsyncOperationTimeoutin structOnlineEndpointsClientCreateOrUpdateResponse - New field
XMSAsyncOperationTimeoutin structOnlineEndpointsClientDeleteResponse - New field
XMSAsyncOperationTimeoutin structOnlineEndpointsClientUpdateResponse - New field
NextLinkin structPrivateEndpointConnectionListResult - New field
NextLinkin structPrivateLinkResourceListResult - New field
XMSAsyncOperationTimeoutin structRegistriesClientDeleteResponse - New field
XMSAsyncOperationTimeoutin structRegistriesClientRemoveRegionsResponse - New field
XMSAsyncOperationTimeoutin structRegistryCodeContainersClientCreateOrUpdateResponse - New field
XMSAsyncOperationTimeoutin structRegistryCodeContainersClientDeleteResponse - New field
XMSAsyncOperationTimeoutin structRegistryCodeVersionsClientCreateOrUpdateResponse - New field
XMSAsyncOperationTimeoutin structRegistryCodeVersionsClientDeleteResponse - New field
XMSAsyncOperationTimeoutin structRegistryComponentContainersClientCreateOrUpdateResponse - New field
XMSAsyncOperationTimeoutin structRegistryComponentContainersClientDeleteResponse - New field
XMSAsyncOperationTimeoutin structRegistryComponentVersionsClientCreateOrUpdateResponse - New field
XMSAsyncOperationTimeoutin structRegistryComponentVersionsClientDeleteResponse - New field
XMSAsyncOperationTimeoutin structRegistryDataContainersClientCreateOrUpdateResponse - New field
XMSAsyncOperationTimeoutin structRegistryDataContainersClientDeleteResponse - New field
XMSAsyncOperationTimeoutin structRegistryDataVersionsClientCreateOrUpdateResponse - New field
XMSAsyncOperationTimeoutin structRegistryDataVersionsClientDeleteResponse - New field
XMSAsyncOperationTimeoutin structRegistryEnvironmentContainersClientCreateOrUpdateResponse - New field
XMSAsyncOperationTimeoutin structRegistryEnvironmentContainersClientDeleteResponse - New field
XMSAsyncOperationTimeoutin structRegistryEnvironmentVersionsClientCreateOrUpdateResponse - New field
XMSAsyncOperationTimeoutin structRegistryEnvironmentVersionsClientDeleteResponse - New field
XMSAsyncOperationTimeoutin structRegistryModelContainersClientCreateOrUpdateResponse - New field
XMSAsyncOperationTimeoutin structRegistryModelContainersClientDeleteResponse - New field
XMSAsyncOperationTimeoutin structRegistryModelVersionsClientCreateOrUpdateResponse - New field
XMSAsyncOperationTimeoutin structRegistryModelVersionsClientDeleteResponse - New field
XMSAsyncOperationTimeoutin structSchedulesClientCreateOrUpdateResponse - New field
XMSAsyncOperationTimeoutin structSchedulesClientDeleteResponse - New field
XMSAsyncOperationTimeoutin structServerlessEndpointsClientCreateOrUpdateResponse - New field
XMSAsyncOperationTimeoutin structServerlessEndpointsClientDeleteResponse - New field
XMSAsyncOperationTimeoutin structServerlessEndpointsClientUpdateResponse
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feature Added removed:
- New struct
CapacityConfig - New struct
CognitiveServiceEndpointDeploymentResourceProperties - New struct
PropertiesBase - New struct
StringKeyValuePair - New field
AssetNamein structAssetJobOutput(- Struct AssetJobOutput has been removed) - New field
Bodyin structWorkspaceConnectionsClientCreateOptions
generation based on spec branch mcgallan:Convert-MachineLearningServices-preview-10-01