diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt
index a9f76fcd9e6b..3b08ec0c0857 100644
--- a/eng/versioning/version_client.txt
+++ b/eng/versioning/version_client.txt
@@ -416,7 +416,7 @@ com.azure.resourcemanager:azure-resourcemanager-workloads;1.1.0;1.2.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-confidentialledger;1.0.0;1.1.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-dynatrace;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-deviceupdate;1.1.0;1.2.0-beta.1
-com.azure.resourcemanager:azure-resourcemanager-machinelearning;1.1.0;1.2.0-beta.1
+com.azure.resourcemanager:azure-resourcemanager-machinelearning;1.1.0;2.0.0
com.azure.resourcemanager:azure-resourcemanager-education;1.0.0-beta.4;1.0.0-beta.5
com.azure.resourcemanager:azure-resourcemanager-orbital;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-networkfunction;1.0.0;1.1.0-beta.1
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/CHANGELOG.md b/sdk/machinelearning/azure-resourcemanager-machinelearning/CHANGELOG.md
index 66d924503f0c..b7addb955033 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/CHANGELOG.md
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/CHANGELOG.md
@@ -1,14 +1,2645 @@
# Release History
-## 1.2.0-beta.1 (Unreleased)
+## 2.0.0 (2026-08-19)
+
+- Azure Resource Manager Machine Learning client library for Java. This package contains Microsoft Azure SDK for Machine Learning Management SDK. These APIs allow end users to operate on Azure Machine Learning Workspace resources. Package api-version 2026-07-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
+
+### Breaking Changes
+
+#### `models.FqdnEndpointsProperties` was removed
+
+#### `models.OperationListResult` was removed
+
+#### `models.DatabricksComputeSecretsProperties` was removed
+
+#### `models.DatabricksSchema` was removed
+
+#### `models.ComputeInstanceSchema` was removed
+
+#### `models.WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult` was removed
+
+#### `models.DataVersionBaseResourceArmPaginatedResult` was removed
+
+#### `models.ServerlessEndpointTrackedResourceArmPaginatedResult` was removed
+
+#### `models.DataContainerResourceArmPaginatedResult` was removed
+
+#### `models.FeaturestoreEntityContainerResourceArmPaginatedResult` was removed
+
+#### `models.ImageClassificationBase` was removed
+
+#### `models.FeatureResourceArmPaginatedResult` was removed
+
+#### `models.MarketplaceSubscriptionResourceArmPaginatedResult` was removed
+
+#### `models.DataLakeAnalyticsSchema` was removed
+
+#### `models.ModelVersionResourceArmPaginatedResult` was removed
+
+#### `models.AssetJobOutput` was removed
+
+#### `models.PrivateEndpointConnectionListResult` was removed
+
+#### `models.AmlComputeNodesInformation` was removed
+
+#### `models.ListWorkspaceQuotas` was removed
+
+#### `models.PaginatedComputeResourcesList` was removed
+
+#### `models.ScheduleResourceArmPaginatedResult` was removed
+
+#### `models.UserCreatedAcrAccount` was removed
+
+#### `models.FeaturestoreEntityVersionResourceArmPaginatedResult` was removed
+
+#### `models.DatastoreResourceArmPaginatedResult` was removed
+
+#### `models.ListAmlUserFeatureResult` was removed
+
+#### `models.ComponentContainerResourceArmPaginatedResult` was removed
+
+#### `models.ComputeResourceSchema` was removed
+
+#### `models.EncryptionKeyVaultProperties` was removed
+
+#### `models.NlpVertical` was removed
+
+#### `models.ValueFormat` was removed
+
+#### `models.OutboundRuleListResult` was removed
+
+#### `models.SkuResourceArmPaginatedResult` was removed
+
+#### `models.JobBaseResourceArmPaginatedResult` was removed
+
+#### `models.CodeContainerResourceArmPaginatedResult` was removed
+
+#### `models.ListUsagesResult` was removed
+
+#### `models.ComponentVersionResourceArmPaginatedResult` was removed
+
+#### `models.PublicNetworkAccessType` was removed
+
+#### `models.EnvironmentVersionResourceArmPaginatedResult` was removed
+
+#### `models.VirtualMachineSecretsSchema` was removed
+
+#### `models.BatchEndpointTrackedResourceArmPaginatedResult` was removed
+
+#### `models.OnlineDeploymentTrackedResourceArmPaginatedResult` was removed
+
+#### `models.ImageVertical` was removed
+
+#### `models.KubernetesSchema` was removed
+
+#### `models.AksSchema` was removed
+
+#### `models.AssetJobInput` was removed
+
+#### `models.TableVertical` was removed
+
+#### `models.ImageObjectDetectionBase` was removed
+
+#### `models.UserCreatedStorageAccount` was removed
+
+#### `models.WorkspaceListResult` was removed
+
+#### `models.RegistryTrackedResourceArmPaginatedResult` was removed
+
+#### `models.EndpointServiceConnectionStatus` was removed
+
+#### `models.ModelContainerResourceArmPaginatedResult` was removed
+
+#### `models.AmlComputeSchema` was removed
+
+#### `models.PrivateLinkResourceListResult` was removed
+
+#### `models.CodeVersionResourceArmPaginatedResult` was removed
+
+#### `models.HDInsightSchema` was removed
+
+#### `models.BatchDeploymentTrackedResourceArmPaginatedResult` was removed
+
+#### `models.AksComputeSecretsProperties` was removed
+
+#### `models.FeaturesetContainerResourceArmPaginatedResult` was removed
+
+#### `models.OnlineEndpointTrackedResourceArmPaginatedResult` was removed
+
+#### `models.FeaturesetVersionResourceArmPaginatedResult` was removed
+
+#### `models.VirtualMachineSchema` was removed
+
+#### `models.EnvironmentContainerResourceArmPaginatedResult` was removed
+
+#### `models.AzureDatastore` was removed
+
+#### `models.DataVersionBase$DefinitionStages` was modified
+
+* `withExistingData(java.lang.String,java.lang.String,java.lang.String)` was removed in stage 1
+
+#### `models.SystemCreatedStorageAccount` was modified
+
+* `validate()` was removed
+
+#### `models.DiagnoseRequestProperties` was modified
+
+* `validate()` was removed
+
+#### `models.NlpVerticalLimitSettings` was modified
+
+* `validate()` was removed
+
+#### `models.AutoScaleProperties` was modified
+
+* `validate()` was removed
+
+#### `models.NoneDatastoreCredentials` was modified
+
+* `validate()` was removed
+
+#### `models.EstimatedVMPrice` was modified
+
+* `EstimatedVMPrice()` was changed to private access
+* `withVmTier(models.VMTier)` was removed
+* `withRetailPrice(double)` was removed
+* `validate()` was removed
+* `withOsType(models.VMPriceOSType)` was removed
+
+#### `models.ScaleSettingsInformation` was modified
+
+* `validate()` was removed
+
+#### `models.WorkspaceConnectionPropertiesV2` was modified
+
+* `value()` was removed
+* `withValue(java.lang.String)` was removed
+* `valueFormat()` was removed
+* `withValueFormat(models.ValueFormat)` was removed
+* `validate()` was removed
+
+#### `models.BanditPolicy` was modified
+
+* `validate()` was removed
+* `withSlackAmount(java.lang.Float)` was removed
+* `java.lang.Float slackFactor()` -> `java.lang.Double slackFactor()`
+* `java.lang.Float slackAmount()` -> `java.lang.Double slackAmount()`
+* `withSlackFactor(java.lang.Float)` was removed
+
+#### `models.JobResourceConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.ImageClassificationMultilabel` was modified
+
+* `validate()` was removed
+
+#### `models.BuildContext` was modified
+
+* `validate()` was removed
+
+#### `models.CronTrigger` was modified
+
+* `validate()` was removed
+
+#### `models.LakeHouseArtifact` was modified
+
+* `validate()` was removed
+
+#### `models.MLFlowModelJobOutput` was modified
+
+* `validate()` was removed
+
+#### `models.AzureBlobDatastore` was modified
+
+* `isDefault()` was removed
+* `validate()` was removed
+
+#### `models.AssetContainer` was modified
+
+* `validate()` was removed
+
+#### `models.KubernetesProperties` was modified
+
+* `validate()` was removed
+
+#### `models.WorkspaceConnectionAccessKey` was modified
+
+* `validate()` was removed
+
+#### `models.DestinationAsset` was modified
+
+* `validate()` was removed
+
+#### `models.ImageModelSettingsObjectDetection` was modified
+
+* `java.lang.Float boxScoreThreshold()` -> `java.lang.Double boxScoreThreshold()`
+* `withTilePredictionsNmsThreshold(java.lang.Float)` was removed
+* `withWarmupCosineLRCycles(java.lang.Float)` was removed
+* `withLearningRate(java.lang.Float)` was removed
+* `validate()` was removed
+* `withWeightDecay(java.lang.Float)` was removed
+* `withBeta1(java.lang.Float)` was removed
+* `withTileOverlapRatio(java.lang.Float)` was removed
+* `withBeta2(java.lang.Float)` was removed
+* `withStepLRGamma(java.lang.Float)` was removed
+* `java.lang.Float nmsIouThreshold()` -> `java.lang.Double nmsIouThreshold()`
+* `java.lang.Float tileOverlapRatio()` -> `java.lang.Double tileOverlapRatio()`
+* `java.lang.Float tilePredictionsNmsThreshold()` -> `java.lang.Double tilePredictionsNmsThreshold()`
+* `withNmsIouThreshold(java.lang.Float)` was removed
+* `java.lang.Float validationIouThreshold()` -> `java.lang.Double validationIouThreshold()`
+* `withValidationIouThreshold(java.lang.Float)` was removed
+* `withBoxScoreThreshold(java.lang.Float)` was removed
+* `withMomentum(java.lang.Float)` was removed
+
+#### `models.ManagedIdentityCredential` was modified
+
+* `ManagedIdentityCredential()` was changed to private access
+* `withUserManagedIdentityPrincipalId(java.lang.String)` was removed
+* `withUserManagedIdentityResourceId(java.lang.String)` was removed
+* `withManagedIdentityType(java.lang.String)` was removed
+* `withUserManagedIdentityClientId(java.lang.String)` was removed
+* `withUserManagedIdentityTenantId(java.lang.String)` was removed
+* `validate()` was removed
+
+#### `models.AmlToken` was modified
+
+* `validate()` was removed
+
+#### `models.ServerlessComputeSettings` was modified
+
+* `validate()` was removed
+
+#### `models.MonitoringFeatureFilterBase` was modified
+
+* `validate()` was removed
+
+#### `models.SweepJobLimits` was modified
+
+* `validate()` was removed
+
+#### `models.DataDriftMonitoringSignal` was modified
+
+* `validate()` was removed
+
+#### `models.MonitorNotificationSettings` was modified
+
+* `validate()` was removed
+
+#### `models.WorkspaceHubConfig` was modified
+
+* `validate()` was removed
+
+#### `models.SynapseSpark` was modified
+
+* `provisioningState()` was removed
+* `isAttachedCompute()` was removed
+* `provisioningErrors()` was removed
+* `createdOn()` was removed
+* `validate()` was removed
+* `modifiedOn()` was removed
+
+#### `models.ScheduleProperties` was modified
+
+* `validate()` was removed
+
+#### `models.FqdnEndpoints` was modified
+
+* `FqdnEndpoints()` was changed to private access
+* `properties()` was removed
+* `withProperties(models.FqdnEndpointsProperties)` was removed
+* `validate()` was removed
+
+#### `models.DefaultScaleSettings` was modified
+
+* `validate()` was removed
+
+#### `models.FeaturesetVersionProperties` was modified
+
+* `validate()` was removed
+
+#### `models.ImageSweepSettings` was modified
+
+* `validate()` was removed
+
+#### `models.PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties` was modified
+
+* `validate()` was removed
+
+#### `models.SystemService` was modified
+
+* `SystemService()` was changed to private access
+* `validate()` was removed
+
+#### `models.OnlineRequestSettings` was modified
+
+* `validate()` was removed
+
+#### `models.DataVersionBaseProperties` was modified
+
+* `validate()` was removed
+
+#### `models.MaterializationComputeResource` was modified
+
+* `validate()` was removed
+
+#### `models.ManagedComputeIdentity` was modified
+
+* `validate()` was removed
+
+#### `models.AcrDetails` was modified
+
+* `validate()` was removed
+* `userCreatedAcrAccount()` was removed
+* `withUserCreatedAcrAccount(models.UserCreatedAcrAccount)` was removed
+
+#### `models.CodeConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.ImageInstanceSegmentation` was modified
+
+* `validate()` was removed
+
+#### `models.ForecastHorizon` was modified
+
+* `validate()` was removed
+
+#### `models.TmpfsOptions` was modified
+
+* `validate()` was removed
+
+#### `models.DockerCredential` was modified
+
+* `DockerCredential()` was changed to private access
+* `validate()` was removed
+* `withPassword(java.lang.String)` was removed
+* `withUsername(java.lang.String)` was removed
+
+#### `models.BatchDeploymentProperties` was modified
+
+* `validate()` was removed
+
+#### `models.CategoricalPredictionDriftMetricThreshold` was modified
+
+* `validate()` was removed
+
+#### `models.Aks` was modified
+
+* `createdOn()` was removed
+* `modifiedOn()` was removed
+* `validate()` was removed
+* `provisioningState()` was removed
+* `provisioningErrors()` was removed
+* `isAttachedCompute()` was removed
+
+#### `models.CustomMetricThreshold` was modified
+
+* `validate()` was removed
+
+#### `models.MarketplaceSubscriptionProperties` was modified
+
+* `validate()` was removed
+
+#### `models.SparkJobScalaEntry` was modified
+
+* `validate()` was removed
+
+#### `models.PartialMinimalTrackedResourceWithSku` was modified
+
+* `validate()` was removed
+
+#### `models.TargetRollingWindowSize` was modified
+
+* `validate()` was removed
+
+#### `models.DataLakeAnalytics` was modified
+
+* `modifiedOn()` was removed
+* `provisioningState()` was removed
+* `provisioningErrors()` was removed
+* `validate()` was removed
+* `isAttachedCompute()` was removed
+* `createdOn()` was removed
+
+#### `models.AutoTargetRollingWindowSize` was modified
+
+* `validate()` was removed
+
+#### `models.SparkJobEntry` was modified
+
+* `validate()` was removed
+
+#### `models.ClassificationTrainingSettings` was modified
+
+* `validate()` was removed
+
+#### `models.EncryptionUpdateProperties` was modified
+
+* `validate()` was removed
+
+#### `models.PartialBatchDeployment` was modified
+
+* `validate()` was removed
+
+#### `models.Image` was modified
+
+* `validate()` was removed
+
+#### `models.MonitorComputeConfigurationBase` was modified
+
+* `validate()` was removed
+
+#### `models.ComputeStartStopSchedule` was modified
+
+* `validate()` was removed
+
+#### `models.ResourceName` was modified
+
+* `ResourceName()` was changed to private access
+* `validate()` was removed
+
+#### `models.VirtualMachineSecrets` was modified
+
+* `VirtualMachineSecrets()` was changed to private access
+* `validate()` was removed
+* `withAdministratorAccount(models.VirtualMachineSshCredentials)` was removed
+
+#### `models.PrivateEndpointConnection$Definition` was modified
+
+* `withPrivateEndpoint(models.PrivateEndpoint)` was removed
+
+#### `models.AutoPauseProperties` was modified
+
+* `validate()` was removed
+
+#### `models.ComputeInstanceCreatedBy` was modified
+
+* `ComputeInstanceCreatedBy()` was changed to private access
+* `validate()` was removed
+
+#### `models.ModelVersionProperties` was modified
+
+* `validate()` was removed
+
+#### `models.BatchEndpointProperties` was modified
+
+* `validate()` was removed
+
+#### `models.WorkspaceConnectionApiKey` was modified
+
+* `validate()` was removed
+
+#### `models.Collection` was modified
+
+* `validate()` was removed
+
+#### `models.OnlineDeploymentProperties` was modified
+
+* `validate()` was removed
+
+#### `models.TruncationSelectionPolicy` was modified
+
+* `validate()` was removed
+
+#### `models.OperationDisplay` was modified
+
+* `OperationDisplay()` was changed to private access
+* `validate()` was removed
+
+#### `models.PrivateEndpointResource` was modified
+
+* `validate()` was removed
+
+#### `models.SystemCreatedAcrAccount` was modified
+
+* `validate()` was removed
+
+#### `models.BatchRetrySettings` was modified
+
+* `validate()` was removed
+
+#### `models.MonitorDefinition` was modified
+
+* `validate()` was removed
+
+#### `models.VirtualMachineSshCredentials` was modified
+
+* `validate()` was removed
+
+#### `models.WorkspaceConnectionUsernamePassword` was modified
+
+* `validate()` was removed
+
+#### `models.WorkspaceConnectionPersonalAccessToken` was modified
+
+* `validate()` was removed
+
+#### `models.QuotaBaseProperties` was modified
+
+* `validate()` was removed
+
+#### `models.MarketplacePlan` was modified
+
+* `MarketplacePlan()` was changed to private access
+* `validate()` was removed
+
+#### `models.CodeContainerProperties` was modified
+
+* `validate()` was removed
+
+#### `models.OneLakeDatastore` was modified
+
+* `isDefault()` was removed
+* `validate()` was removed
+
+#### `models.AmlComputeNodeInformation` was modified
+
+* `AmlComputeNodeInformation()` was changed to private access
+* `validate()` was removed
+
+#### `models.FeatureImportanceSettings` was modified
+
+* `validate()` was removed
+
+#### `models.FeaturesetSpecification` was modified
+
+* `validate()` was removed
+
+#### `models.ModelContainerProperties` was modified
+
+* `validate()` was removed
+
+#### `models.TableVerticalFeaturizationSettings` was modified
+
+* `validate()` was removed
+
+#### `models.AzureDevOpsWebhook` was modified
+
+* `validate()` was removed
+
+#### `models.DataDriftMetricThresholdBase` was modified
+
+* `validate()` was removed
+
+#### `models.MonitoringSignalBase` was modified
+
+* `validate()` was removed
+
+#### `models.EarlyTerminationPolicy` was modified
+
+* `validate()` was removed
+
+#### `models.AutoNCrossValidations` was modified
+
+* `validate()` was removed
+
+#### `models.InferenceContainerProperties` was modified
+
+* `validate()` was removed
+
+#### `models.Docker` was modified
+
+* `validate()` was removed
+
+#### `models.NumericalPredictionDriftMetricThreshold` was modified
+
+* `validate()` was removed
+
+#### `models.ClusterUpdateParameters` was modified
+
+* `validate()` was removed
+
+#### `models.JobLimits` was modified
+
+* `validate()` was removed
+
+#### `models.TargetLags` was modified
+
+* `validate()` was removed
+
+#### `models.ArmResourceId` was modified
+
+* `validate()` was removed
+
+#### `models.ServicePrincipalAuthTypeWorkspaceConnectionProperties` was modified
+
+* `validate()` was removed
+* `withValue(java.lang.String)` was removed
+* `createdByWorkspaceArmId()` was removed
+* `withValueFormat(models.ValueFormat)` was removed
+* `group()` was removed
+
+#### `models.BatchEndpointDefaults` was modified
+
+* `validate()` was removed
+
+#### `models.ImageModelDistributionSettingsClassification` was modified
+
+* `validate()` was removed
+
+#### `models.ScriptsToExecute` was modified
+
+* `validate()` was removed
+
+#### `models.PrivateEndpointOutboundRule` was modified
+
+* `validate()` was removed
+
+#### `models.Nodes` was modified
+
+* `validate()` was removed
+
+#### `models.AzureDataLakeGen1Datastore` was modified
+
+* `validate()` was removed
+* `isDefault()` was removed
+
+#### `models.BindOptions` was modified
+
+* `validate()` was removed
+
+#### `models.Workspaces` was modified
+
+* `list(java.lang.String,com.azure.core.util.Context)` was removed
+* `listByResourceGroup(java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed
+
+#### `models.Kubernetes` was modified
+
+* `modifiedOn()` was removed
+* `isAttachedCompute()` was removed
+* `provisioningErrors()` was removed
+* `createdOn()` was removed
+* `provisioningState()` was removed
+* `validate()` was removed
+
+#### `models.AllFeatures` was modified
+
+* `validate()` was removed
+
+#### `models.ManagedOnlineDeployment` was modified
+
+* `validate()` was removed
+* `provisioningState()` was removed
+
+#### `models.NodeStateCounts` was modified
+
+* `NodeStateCounts()` was changed to private access
+* `validate()` was removed
+
+#### `models.PrivateLinkServiceConnectionState` was modified
+
+* `validate()` was removed
+
+#### `models.EnvironmentVersionProperties` was modified
+
+* `validate()` was removed
+
+#### `models.DataReferenceCredential` was modified
+
+* `validate()` was removed
+
+#### `models.AssignedUser` was modified
+
+* `validate()` was removed
+
+#### `models.EnvironmentContainerProperties` was modified
+
+* `validate()` was removed
+
+#### `models.PredictionDriftMonitoringSignal` was modified
+
+* `validate()` was removed
+
+#### `models.AksSchemaProperties` was modified
+
+* `validate()` was removed
+
+#### `models.OAuth2AuthTypeWorkspaceConnectionProperties` was modified
+
+* `withValue(java.lang.String)` was removed
+* `validate()` was removed
+* `createdByWorkspaceArmId()` was removed
+* `withValueFormat(models.ValueFormat)` was removed
+* `group()` was removed
+
+#### `models.FeatureProperties` was modified
+
+* `FeatureProperties()` was changed to private access
+* `withTags(java.util.Map)` was removed
+* `withDescription(java.lang.String)` was removed
+* `withFeatureName(java.lang.String)` was removed
+* `withProperties(java.util.Map)` was removed
+* `withDataType(models.FeatureDataType)` was removed
+* `validate()` was removed
+
+#### `models.CustomModelJobInput` was modified
+
+* `validate()` was removed
+
+#### `models.CodeVersionProperties` was modified
+
+* `validate()` was removed
+
+#### `models.DataQualityMonitoringSignal` was modified
+
+* `validate()` was removed
+
+#### `models.Objective` was modified
+
+* `validate()` was removed
+
+#### `models.QuotaUpdateParameters` was modified
+
+* `validate()` was removed
+
+#### `models.RegistryPartialManagedServiceIdentity` was modified
+
+* `java.util.UUID principalId()` -> `java.lang.String principalId()`
+* `validate()` was removed
+* `java.util.UUID tenantId()` -> `java.lang.String tenantId()`
+
+#### `models.UriFolderDataVersion` was modified
+
+* `validate()` was removed
+
+#### `models.TopNFeaturesByAttribution` was modified
+
+* `validate()` was removed
+
+#### `models.DataPathAssetReference` was modified
+
+* `validate()` was removed
+
+#### `models.SynapseSparkProperties` was modified
+
+* `validate()` was removed
+
+#### `models.Datastores` was modified
+
+* `listSecretsWithResponse(java.lang.String,java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed
+
+#### `models.StackEnsembleSettings` was modified
+
+* `validate()` was removed
+
+#### `models.ComputeInstanceDataDisk` was modified
+
+* `ComputeInstanceDataDisk()` was changed to private access
+* `withStorageAccountType(models.StorageAccountType)` was removed
+* `withLun(java.lang.Integer)` was removed
+* `validate()` was removed
+* `withCaching(models.Caching)` was removed
+* `withDiskSizeGB(java.lang.Integer)` was removed
+
+#### `models.RegistryPrivateEndpointConnection` was modified
+
+* `validate()` was removed
+
+#### `models.GetBlobReferenceSasRequestDto` was modified
+
+* `validate()` was removed
+
+#### `models.TargetUtilizationScaleSettings` was modified
+
+* `validate()` was removed
+
+#### `models.ComputeInstanceApplication` was modified
+
+* `ComputeInstanceApplication()` was changed to private access
+* `validate()` was removed
+* `withDisplayName(java.lang.String)` was removed
+* `withEndpointUri(java.lang.String)` was removed
+
+#### `models.PrivateLinkResource` was modified
+
+* `PrivateLinkResource()` was removed
+* `java.lang.String type()` -> `java.lang.String type()`
+* `validate()` was removed
+* `java.util.Map tags()` -> `java.util.Map tags()`
+* `withIdentity(models.ManagedServiceIdentity)` was removed
+* `withSku(models.Sku)` was removed
+* `withTags(java.util.Map)` was removed
+* `java.util.List requiredMembers()` -> `java.util.List requiredMembers()`
+* `java.lang.String groupId()` -> `java.lang.String groupId()`
+* `java.lang.String location()` -> `java.lang.String location()`
+* `models.Sku sku()` -> `models.Sku sku()`
+* `com.azure.core.management.SystemData systemData()` -> `com.azure.core.management.SystemData systemData()`
+* `java.lang.String id()` -> `java.lang.String id()`
+* `java.lang.String name()` -> `java.lang.String name()`
+* `withLocation(java.lang.String)` was removed
+* `java.util.List requiredZoneNames()` -> `java.util.List requiredZoneNames()`
+* `models.ManagedServiceIdentity identity()` -> `models.ManagedServiceIdentity identity()`
+* `withRequiredZoneNames(java.util.List)` was removed
+* `toJson(com.azure.json.JsonWriter)` was removed
+* `fromJson(com.azure.json.JsonReader)` was removed
+
+#### `models.PipelineJob` was modified
+
+* `status()` was removed
+* `validate()` was removed
+
+#### `models.Password` was modified
+
+* `Password()` was changed to private access
+* `validate()` was removed
+
+#### `models.ColumnTransformer` was modified
+
+* `validate()` was removed
+
+#### `models.TrainingSettings` was modified
+
+* `validate()` was removed
+
+#### `models.RecurrenceSchedule` was modified
+
+* `validate()` was removed
+
+#### `models.StorageAccountDetails` was modified
+
+* `withUserCreatedStorageAccount(models.UserCreatedStorageAccount)` was removed
+* `userCreatedStorageAccount()` was removed
+* `validate()` was removed
+
+#### `models.PartialMinimalTrackedResource` was modified
+
+* `validate()` was removed
+
+#### `models.RegistryRegionArmDetails` was modified
+
+* `validate()` was removed
+
+#### `models.EncryptionKeyVaultUpdateProperties` was modified
+
+* `validate()` was removed
+
+#### `models.WorkspaceConnectionManagedIdentity` was modified
+
+* `validate()` was removed
+
+#### `models.CustomTargetLags` was modified
+
+* `validate()` was removed
+
+#### `models.DistributionConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.StaticInputData` was modified
+
+* `validate()` was removed
+
+#### `models.Seasonality` was modified
+
+* `validate()` was removed
+
+#### `models.HDInsightProperties` was modified
+
+* `validate()` was removed
+
+#### `models.Classification` was modified
+
+* `validate()` was removed
+
+#### `models.VirtualMachine` was modified
+
+* `modifiedOn()` was removed
+* `createdOn()` was removed
+* `isAttachedCompute()` was removed
+* `validate()` was removed
+* `provisioningState()` was removed
+* `provisioningErrors()` was removed
+
+#### `models.RegressionTrainingSettings` was modified
+
+* `validate()` was removed
+
+#### `models.VolumeOptions` was modified
+
+* `validate()` was removed
+
+#### `models.UpdateWorkspaceQuotas` was modified
+
+* `UpdateWorkspaceQuotas()` was changed to private access
+* `withStatus(models.Status)` was removed
+* `validate()` was removed
+* `withLimit(java.lang.Long)` was removed
+
+#### `models.AmlCompute` was modified
+
+* `provisioningErrors()` was removed
+* `modifiedOn()` was removed
+* `isAttachedCompute()` was removed
+* `provisioningState()` was removed
+* `createdOn()` was removed
+* `validate()` was removed
+
+#### `models.AzureDataLakeGen2Datastore` was modified
+
+* `validate()` was removed
+* `isDefault()` was removed
+
+#### `models.MonitoringTarget` was modified
+
+* `validate()` was removed
+
+#### `models.ImageModelSettingsClassification` was modified
+
+* `withWeightDecay(java.lang.Float)` was removed
+* `withBeta2(java.lang.Float)` was removed
+* `withMomentum(java.lang.Float)` was removed
+* `withBeta1(java.lang.Float)` was removed
+* `withLearningRate(java.lang.Float)` was removed
+* `withWarmupCosineLRCycles(java.lang.Float)` was removed
+* `withStepLRGamma(java.lang.Float)` was removed
+* `validate()` was removed
+
+#### `models.QueueSettings` was modified
+
+* `validate()` was removed
+
+#### `models.AccountKeyDatastoreCredentials` was modified
+
+* `validate()` was removed
+
+#### `models.ContainerResourceRequirements` was modified
+
+* `validate()` was removed
+
+#### `models.ComputeInstanceConnectivityEndpoints` was modified
+
+* `ComputeInstanceConnectivityEndpoints()` was changed to private access
+* `validate()` was removed
+
+#### `models.Databricks` was modified
+
+* `modifiedOn()` was removed
+* `validate()` was removed
+* `provisioningErrors()` was removed
+* `createdOn()` was removed
+* `isAttachedCompute()` was removed
+* `provisioningState()` was removed
+
+#### `models.PrivateEndpointConnection$Update` was modified
+
+* `withPrivateEndpoint(models.PrivateEndpoint)` was removed
+
+#### `models.FeatureAttributionMetricThreshold` was modified
+
+* `validate()` was removed
+
+#### `models.UriFileDataVersion` was modified
+
+* `validate()` was removed
+
+#### `models.ComputeRecurrenceSchedule` was modified
+
+* `validate()` was removed
+
+#### `models.MonitorServerlessSparkCompute` was modified
+
+* `validate()` was removed
+
+#### `models.ApiKeyAuthWorkspaceConnectionProperties` was modified
+
+* `withValueFormat(models.ValueFormat)` was removed
+* `validate()` was removed
+* `withValue(java.lang.String)` was removed
+* `group()` was removed
+* `createdByWorkspaceArmId()` was removed
+
+#### `models.UriFileJobInput` was modified
+
+* `validate()` was removed
+
+#### `models.ComputeInstance` was modified
+
+* `createdOn()` was removed
+* `isAttachedCompute()` was removed
+* `modifiedOn()` was removed
+* `provisioningErrors()` was removed
+* `provisioningState()` was removed
+* `validate()` was removed
+
+#### `models.AnonymousAccessCredential` was modified
+
+* `AnonymousAccessCredential()` was changed to private access
+* `validate()` was removed
+
+#### `models.SkuCapacity` was modified
+
+* `SkuCapacity()` was changed to private access
+* `withMaximum(java.lang.Integer)` was removed
+* `withDefaultProperty(java.lang.Integer)` was removed
+* `withMinimum(java.lang.Integer)` was removed
+* `validate()` was removed
+* `withScaleType(models.SkuScaleType)` was removed
+
+#### `models.WorkspaceConnections` was modified
+
+* `list(java.lang.String,java.lang.String,java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed
+
+#### `models.ComponentContainerProperties` was modified
+
+* `validate()` was removed
+
+#### `models.AmlComputeProperties` was modified
+
+* `validate()` was removed
+
+#### `models.Route` was modified
+
+* `validate()` was removed
+
+#### `models.ComputeInstanceContainer` was modified
+
+* `ComputeInstanceContainer()` was changed to private access
+* `withAutosave(models.Autosave)` was removed
+* `withName(java.lang.String)` was removed
+* `validate()` was removed
+* `withEnvironment(models.ComputeInstanceEnvironmentInfo)` was removed
+* `withGpu(java.lang.String)` was removed
+* `withNetwork(models.Network)` was removed
+
+#### `models.UriFileJobOutput` was modified
+
+* `validate()` was removed
+
+#### `models.MaterializationSettings` was modified
+
+* `validate()` was removed
+
+#### `models.Recurrence` was modified
+
+* `validate()` was removed
+
+#### `models.LiteralJobInput` was modified
+
+* `validate()` was removed
+
+#### `models.TableVerticalLimitSettings` was modified
+
+* `validate()` was removed
+
+#### `models.UriFolderJobInput` was modified
+
+* `validate()` was removed
+
+#### `models.TrialComponent` was modified
+
+* `validate()` was removed
+
+#### `models.WorkspaceConnectionServicePrincipal` was modified
+
+* `validate()` was removed
+
+#### `models.MedianStoppingPolicy` was modified
+
+* `validate()` was removed
+
+#### `models.Webhook` was modified
+
+* `validate()` was removed
+
+#### `models.Datastore` was modified
+
+* `listSecretsWithResponse(com.azure.core.util.Context)` was removed
+
+#### `models.NoneAuthTypeWorkspaceConnectionProperties` was modified
+
+* `withValue(java.lang.String)` was removed
+* `validate()` was removed
+* `withValueFormat(models.ValueFormat)` was removed
+* `group()` was removed
+* `createdByWorkspaceArmId()` was removed
+
+#### `models.NotebookPreparationError` was modified
+
+* `NotebookPreparationError()` was changed to private access
+* `validate()` was removed
+* `withStatusCode(java.lang.Integer)` was removed
+* `withErrorMessage(java.lang.String)` was removed
+
+#### `models.PrivateEndpointDestination` was modified
+
+* `validate()` was removed
+
+#### `models.ScaleSettings` was modified
+
+* `validate()` was removed
+
+#### `models.PartialManagedServiceIdentity` was modified
+
+* `validate()` was removed
+
+#### `models.Regression` was modified
+
+* `validate()` was removed
+
+#### `models.OneLakeArtifact` was modified
+
+* `validate()` was removed
+
+#### `models.PrivateEndpoint` was modified
+
+* `validate()` was removed
+
+#### `models.ServerlessEndpointProperties` was modified
+
+* `validate()` was removed
+
+#### `MachineLearningManager` was modified
+
+* `fluent.AzureMachineLearningWorkspaces serviceClient()` -> `fluent.MachineLearningManagementClient serviceClient()`
+
+#### `models.ImageMetadata` was modified
+
+* `ImageMetadata()` was changed to private access
+* `withLatestImageVersion(java.lang.String)` was removed
+* `withCurrentImageVersion(java.lang.String)` was removed
+* `withIsLatestOsImageVersion(java.lang.Boolean)` was removed
+* `validate()` was removed
+
+#### `models.ScheduleActionBase` was modified
+
+* `validate()` was removed
+
+#### `models.MLTableData` was modified
+
+* `validate()` was removed
+
+#### `models.Forecasting` was modified
+
+* `validate()` was removed
+
+#### `models.CertificateDatastoreSecrets` was modified
+
+* `validate()` was removed
+
+#### `models.CustomKeysWorkspaceConnectionProperties` was modified
+
+* `group()` was removed
+* `validate()` was removed
+* `createdByWorkspaceArmId()` was removed
+* `withValue(java.lang.String)` was removed
+* `withValueFormat(models.ValueFormat)` was removed
+
+#### `models.CertificateDatastoreCredentials` was modified
+
+* `withClientId(java.util.UUID)` was removed
+* `java.util.UUID tenantId()` -> `java.lang.String tenantId()`
+* `withTenantId(java.util.UUID)` was removed
+* `java.util.UUID clientId()` -> `java.lang.String clientId()`
+* `validate()` was removed
+
+#### `models.CustomKeys` was modified
+
+* `validate()` was removed
+
+#### `models.FeatureStoreSettings` was modified
+
+* `validate()` was removed
+
+#### `models.VirtualMachineSchemaProperties` was modified
+
+* `validate()` was removed
+
+#### `models.UsernamePasswordAuthTypeWorkspaceConnectionProperties` was modified
+
+* `validate()` was removed
+* `withValue(java.lang.String)` was removed
+* `withValueFormat(models.ValueFormat)` was removed
+* `createdByWorkspaceArmId()` was removed
+* `group()` was removed
+
+#### `models.AccountKeyAuthTypeWorkspaceConnectionProperties` was modified
+
+* `validate()` was removed
+* `withValue(java.lang.String)` was removed
+* `withValueFormat(models.ValueFormat)` was removed
+* `group()` was removed
+* `createdByWorkspaceArmId()` was removed
+
+#### `models.ServiceManagedResourcesSettings` was modified
+
+* `validate()` was removed
+
+#### `models.GridSamplingAlgorithm` was modified
+
+* `validate()` was removed
+
+#### `models.IdentityForCmk` was modified
+
+* `validate()` was removed
+
+#### `models.AzureFileDatastore` was modified
+
+* `validate()` was removed
+* `isDefault()` was removed
+
+#### `models.ManagedNetworkProvisionOptions` was modified
+
+* `validate()` was removed
+
+#### `models.SparkJob` was modified
+
+* `status()` was removed
+* `validate()` was removed
+
+#### `models.WorkspaceUpdateParameters` was modified
+
+* `WorkspaceUpdateParameters()` was removed
+* `java.lang.String description()` -> `java.lang.String description()`
+* `withDescription(java.lang.String)` was removed
+* `java.lang.String primaryUserAssignedIdentity()` -> `java.lang.String primaryUserAssignedIdentity()`
+* `withImageBuildCompute(java.lang.String)` was removed
+* `withPublicNetworkAccess(models.PublicNetworkAccess)` was removed
+* `withEnableDataIsolation(java.lang.Boolean)` was removed
+* `toJson(com.azure.json.JsonWriter)` was removed
+* `withApplicationInsights(java.lang.String)` was removed
+* `withManagedNetwork(fluent.models.ManagedNetworkSettingsInner)` was removed
+* `models.ManagedServiceIdentity identity()` -> `models.ManagedServiceIdentity identity()`
+* `models.EncryptionUpdateProperties encryption()` -> `models.EncryptionUpdateProperties encryption()`
+* `withContainerRegistry(java.lang.String)` was removed
+* `java.lang.String applicationInsights()` -> `java.lang.String applicationInsights()`
+* `validate()` was removed
+* `java.util.Map tags()` -> `java.util.Map tags()`
+* `models.ServiceManagedResourcesSettings serviceManagedResourcesSettings()` -> `models.ServiceManagedResourcesSettings serviceManagedResourcesSettings()`
+* `models.Sku sku()` -> `models.Sku sku()`
+* `withFeatureStoreSettings(models.FeatureStoreSettings)` was removed
+* `java.lang.String containerRegistry()` -> `java.lang.String containerRegistry()`
+* `withFriendlyName(java.lang.String)` was removed
+* `withServiceManagedResourcesSettings(models.ServiceManagedResourcesSettings)` was removed
+* `fluent.models.ManagedNetworkSettingsInner managedNetwork()` -> `models.ManagedNetworkSettings managedNetwork()`
+* `withV1LegacyMode(java.lang.Boolean)` was removed
+* `java.lang.Boolean enableDataIsolation()` -> `java.lang.Boolean enableDataIsolation()`
+* `withIdentity(models.ManagedServiceIdentity)` was removed
+* `java.lang.String friendlyName()` -> `java.lang.String friendlyName()`
+* `withPrimaryUserAssignedIdentity(java.lang.String)` was removed
+* `withServerlessComputeSettings(models.ServerlessComputeSettings)` was removed
+* `java.lang.Boolean v1LegacyMode()` -> `java.lang.Boolean v1LegacyMode()`
+* `models.ServerlessComputeSettings serverlessComputeSettings()` -> `models.ServerlessComputeSettings serverlessComputeSettings()`
+* `models.PublicNetworkAccess publicNetworkAccess()` -> `models.PublicNetworkAccess publicNetworkAccess()`
+* `fromJson(com.azure.json.JsonReader)` was removed
+* `java.lang.String imageBuildCompute()` -> `java.lang.String imageBuildCompute()`
+* `withEncryption(models.EncryptionUpdateProperties)` was removed
+* `withTags(java.util.Map)` was removed
+* `models.FeatureStoreSettings featureStoreSettings()` -> `models.FeatureStoreSettings featureStoreSettings()`
+* `withSku(models.Sku)` was removed
+
+#### `models.ComputeRuntimeDto` was modified
+
+* `validate()` was removed
+
+#### `models.FeatureWindow` was modified
+
+* `validate()` was removed
+
+#### `models.Cron` was modified
+
+* `validate()` was removed
+
+#### `models.NlpVerticalFeaturizationSettings` was modified
+
+* `validate()` was removed
+
+#### `models.VirtualMachineImage` was modified
+
+* `validate()` was removed
+
+#### `models.UriFolderJobOutput` was modified
+
+* `validate()` was removed
+
+#### `models.Compute` was modified
+
+* `validate()` was removed
+
+#### `models.FeatureSubset` was modified
+
+* `validate()` was removed
+
+#### `models.PendingUploadRequestDto` was modified
+
+* `validate()` was removed
+
+#### `models.OutputPathAssetReference` was modified
+
+* `validate()` was removed
+
+#### `models.DataCollector` was modified
+
+* `validate()` was removed
+
+#### `models.TriggerBase` was modified
+
+* `validate()` was removed
+
+#### `models.AssetBase` was modified
+
+* `validate()` was removed
+
+#### `models.InstanceTypeSchemaResources` was modified
+
+* `validate()` was removed
+
+#### `models.WorkspaceConnectionAccountKey` was modified
+
+* `validate()` was removed
+
+#### `models.MonitoringInputDataBase` was modified
+
+* `validate()` was removed
+
+#### `models.ScriptReference` was modified
+
+* `validate()` was removed
+
+#### `models.MLTableJobOutput` was modified
+
+* `validate()` was removed
+
+#### `models.AutoMLVertical` was modified
+
+* `validate()` was removed
+
+#### `models.Mpi` was modified
+
+* `validate()` was removed
+
+#### `models.DiagnoseResponseResultValue` was modified
+
+* `DiagnoseResponseResultValue()` was changed to private access
+* `withApplicationInsightsResults(java.util.List)` was removed
+* `withContainerRegistryResults(java.util.List)` was removed
+* `withDnsResolutionResults(java.util.List)` was removed
+* `withKeyVaultResults(java.util.List)` was removed
+* `validate()` was removed
+* `withResourceLockResults(java.util.List)` was removed
+* `withStorageAccountResults(java.util.List)` was removed
+* `withUserDefinedRouteResults(java.util.List)` was removed
+* `withOtherResults(java.util.List)` was removed
+* `withNetworkSecurityRuleResults(java.util.List)` was removed
+
+#### `models.SasDatastoreCredentials` was modified
+
+* `validate()` was removed
+
+#### `models.AccessKeyAuthTypeWorkspaceConnectionProperties` was modified
+
+* `group()` was removed
+* `withValue(java.lang.String)` was removed
+* `withValueFormat(models.ValueFormat)` was removed
+* `validate()` was removed
+* `createdByWorkspaceArmId()` was removed
+
+#### `models.AksNetworkingConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.CategoricalDataQualityMetricThreshold` was modified
+
+* `validate()` was removed
+
+#### `models.DatabricksComputeSecrets` was modified
+
+* `DatabricksComputeSecrets()` was changed to private access
+* `validate()` was removed
+* `withDatabricksAccessToken(java.lang.String)` was removed
+
+#### `models.ImageModelDistributionSettings` was modified
+
+* `validate()` was removed
+
+#### `models.CustomService` was modified
+
+* `validate()` was removed
+
+#### `models.AadAuthTypeWorkspaceConnectionProperties` was modified
+
+* `withValueFormat(models.ValueFormat)` was removed
+* `withValue(java.lang.String)` was removed
+* `validate()` was removed
+* `group()` was removed
+* `createdByWorkspaceArmId()` was removed
+
+#### `models.BlobReferenceForConsumptionDto` was modified
+
+* `BlobReferenceForConsumptionDto()` was changed to private access
+* `withBlobUri(java.lang.String)` was removed
+* `withStorageAccountArmId(java.lang.String)` was removed
+* `validate()` was removed
+* `withCredential(models.PendingUploadCredentialDto)` was removed
+
+#### `models.VolumeDefinition` was modified
+
+* `validate()` was removed
+
+#### `models.DiagnoseResult` was modified
+
+* `DiagnoseResult()` was changed to private access
+* `validate()` was removed
+
+#### `models.TritonModelJobOutput` was modified
+
+* `validate()` was removed
+
+#### `models.WorkspaceConnectionSharedAccessSignature` was modified
+
+* `validate()` was removed
+
+#### `models.DatastoreCredentials` was modified
+
+* `validate()` was removed
+
+#### `models.ProbeSettings` was modified
+
+* `validate()` was removed
+
+#### `models.ResourceBase` was modified
+
+* `validate()` was removed
+
+#### `models.ManagedServiceIdentity` was modified
+
+* `java.util.UUID principalId()` -> `java.lang.String principalId()`
+* `java.util.UUID tenantId()` -> `java.lang.String tenantId()`
+* `validate()` was removed
+
+#### `models.EstimatedVMPrices` was modified
+
+* `EstimatedVMPrices()` was changed to private access
+* `withUnitOfMeasure(models.UnitOfMeasure)` was removed
+* `validate()` was removed
+* `withValues(java.util.List)` was removed
+* `withBillingCurrency(models.BillingCurrency)` was removed
+
+#### `models.ServerlessInferenceEndpoint` was modified
+
+* `ServerlessInferenceEndpoint()` was changed to private access
+* `validate()` was removed
+* `withUri(java.lang.String)` was removed
+
+#### `models.TextClassificationMultilabel` was modified
+
+* `validate()` was removed
+
+#### `models.FeaturesetVersionBackfillRequest` was modified
+
+* `validate()` was removed
+
+#### `models.CosmosDbSettings` was modified
+
+* `validate()` was removed
+
+#### `models.IdAssetReference` was modified
+
+* `validate()` was removed
+
+#### `models.AksComputeSecrets` was modified
+
+* `AksComputeSecrets()` was changed to private access
+* `withImagePullSecretName(java.lang.String)` was removed
+* `withAdminKubeConfig(java.lang.String)` was removed
+* `validate()` was removed
+* `withUserKubeConfig(java.lang.String)` was removed
+
+#### `models.PersonalComputeInstanceSettings` was modified
+
+* `validate()` was removed
+
+#### `models.OutboundRule` was modified
+
+* `validate()` was removed
+
+#### `models.CommandJobLimits` was modified
+
+* `validate()` was removed
+
+#### `models.VirtualMachineSize` was modified
+
+* `VirtualMachineSize()` was changed to private access
+* `validate()` was removed
+* `withSupportedComputeTypes(java.util.List)` was removed
+* `withEstimatedVMPrices(models.EstimatedVMPrices)` was removed
+
+#### `models.ModelSettings` was modified
+
+* `validate()` was removed
+
+#### `models.Endpoint` was modified
+
+* `validate()` was removed
+
+#### `models.ImageClassification` was modified
+
+* `validate()` was removed
+
+#### `models.MonitoringThreshold` was modified
+
+* `validate()` was removed
+
+#### `models.DatabricksProperties` was modified
+
+* `validate()` was removed
+
+#### `models.RollingInputData` was modified
+
+* `validate()` was removed
+
+#### `models.SasDatastoreSecrets` was modified
+
+* `validate()` was removed
+
+#### `models.SharedPrivateLinkResource` was modified
+
+* `validate()` was removed
+
+#### `models.TritonModelJobInput` was modified
+
+* `validate()` was removed
+
+#### `models.ContainerResourceSettings` was modified
+
+* `validate()` was removed
+
+#### `models.CustomModelJobOutput` was modified
+
+* `validate()` was removed
+
+#### `models.FlavorData` was modified
+
+* `validate()` was removed
+
+#### `models.DatastoreProperties` was modified
+
+* `validate()` was removed
+
+#### `models.IndexColumn` was modified
+
+* `validate()` was removed
+
+#### `models.CategoricalDataDriftMetricThreshold` was modified
+
+* `validate()` was removed
+
+#### `models.BayesianSamplingAlgorithm` was modified
+
+* `validate()` was removed
+
+#### `models.NumericalDataQualityMetricThreshold` was modified
+
+* `validate()` was removed
+
+#### `models.DeploymentResourceConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.PredictionDriftMetricThresholdBase` was modified
+
+* `validate()` was removed
+
+#### `models.CustomNCrossValidations` was modified
+
+* `validate()` was removed
+
+#### `models.ComputeInstanceEnvironmentInfo` was modified
+
+* `ComputeInstanceEnvironmentInfo()` was changed to private access
+* `withName(java.lang.String)` was removed
+* `withVersion(java.lang.String)` was removed
+* `validate()` was removed
+
+#### `models.GetBlobReferenceForConsumptionDto` was modified
+
+* `GetBlobReferenceForConsumptionDto()` was changed to private access
+* `withStorageAccountArmId(java.lang.String)` was removed
+* `withBlobUri(java.lang.String)` was removed
+* `validate()` was removed
+* `withCredential(models.DataReferenceCredential)` was removed
+
+#### `models.SkuSetting` was modified
+
+* `SkuSetting()` was changed to private access
+* `withName(java.lang.String)` was removed
+* `withTier(models.SkuTier)` was removed
+* `validate()` was removed
+
+#### `models.MonitorEmailNotificationSettings` was modified
+
+* `validate()` was removed
+
+#### `models.ResourceConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.ComputeInstanceSshSettings` was modified
+
+* `validate()` was removed
+
+#### `models.RegenerateEndpointKeysRequest` was modified
+
+* `validate()` was removed
+
+#### `models.PrivateLinkResources` was modified
+
+* `listWithResponse(java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed
+* `models.PrivateLinkResourceListResult list(java.lang.String,java.lang.String)` -> `com.azure.core.http.rest.PagedIterable list(java.lang.String,java.lang.String)`
+
+#### `models.TensorFlow` was modified
+
+* `validate()` was removed
+
+#### `models.SasCredential` was modified
+
+* `SasCredential()` was changed to private access
+* `withSasUri(java.lang.String)` was removed
+* `validate()` was removed
+
+#### `models.NotificationSetting` was modified
+
+* `validate()` was removed
+
+#### `models.SasAuthTypeWorkspaceConnectionProperties` was modified
+
+* `validate()` was removed
+* `createdByWorkspaceArmId()` was removed
+* `group()` was removed
+* `withValueFormat(models.ValueFormat)` was removed
+* `withValue(java.lang.String)` was removed
+
+#### `models.BatchDeploymentConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.SasCredentialDto` was modified
+
+* `SasCredentialDto()` was changed to private access
+* `validate()` was removed
+* `withSasUri(java.lang.String)` was removed
+
+#### `models.ServiceTagOutboundRule` was modified
+
+* `validate()` was removed
+
+#### `models.DeploymentLogsRequest` was modified
+
+* `validate()` was removed
+
+#### `models.TextNer` was modified
+
+* `validate()` was removed
+
+#### `models.FqdnEndpoint` was modified
+
+* `FqdnEndpoint()` was changed to private access
+* `withDomainName(java.lang.String)` was removed
+* `validate()` was removed
+* `withEndpointDetails(java.util.List)` was removed
+
+#### `models.MLTableJobInput` was modified
+
+* `validate()` was removed
+
+#### `models.AutoForecastHorizon` was modified
+
+* `validate()` was removed
+
+#### `models.EnvironmentVariable` was modified
+
+* `validate()` was removed
+
+#### `models.WorkspaceConnectionOAuth2` was modified
+
+* `java.util.UUID clientId()` -> `java.lang.String clientId()`
+* `validate()` was removed
+* `withClientId(java.util.UUID)` was removed
+
+#### `models.PartialRegistryPartialTrackedResource` was modified
+
+* `validate()` was removed
+
+#### `models.PartialMinimalTrackedResourceWithSkuAndIdentity` was modified
+
+* `validate()` was removed
+
+#### `models.FeaturestoreEntityContainerProperties` was modified
+
+* `validate()` was removed
+
+#### `models.EncryptionProperty` was modified
+
+* `validate()` was removed
+* `withKeyVaultProperties(models.EncryptionKeyVaultProperties)` was removed
+* `models.EncryptionKeyVaultProperties keyVaultProperties()` -> `models.KeyVaultProperties keyVaultProperties()`
+
+#### `models.FeaturestoreEntityVersionProperties` was modified
+
+* `validate()` was removed
+
+#### `models.CommandJob` was modified
+
+* `validate()` was removed
+* `status()` was removed
+
+#### `models.NumericalDataDriftMetricThreshold` was modified
+
+* `validate()` was removed
+
+#### `models.ComputeInstanceVersion` was modified
+
+* `ComputeInstanceVersion()` was changed to private access
+* `validate()` was removed
+* `withRuntime(java.lang.String)` was removed
+
+#### `models.IdentityConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.ManagedIdentityAuthTypeWorkspaceConnectionProperties` was modified
+
+* `withValue(java.lang.String)` was removed
+* `validate()` was removed
+* `group()` was removed
+* `withValueFormat(models.ValueFormat)` was removed
+* `createdByWorkspaceArmId()` was removed
+
+#### `models.RegistryListCredentialsResult` was modified
+
+* `RegistryListCredentialsResult()` was changed to private access
+* `withPasswords(java.util.List)` was removed
+* `validate()` was removed
+
+#### `models.FeaturizationSettings` was modified
+
+* `validate()` was removed
+
+#### `models.ServicePrincipalDatastoreCredentials` was modified
+
+* `validate()` was removed
+* `java.util.UUID clientId()` -> `java.lang.String clientId()`
+* `java.util.UUID tenantId()` -> `java.lang.String tenantId()`
+* `withClientId(java.util.UUID)` was removed
+* `withTenantId(java.util.UUID)` was removed
+
+#### `models.ServiceTagDestination` was modified
+
+* `validate()` was removed
+
+#### `models.RequestLogging` was modified
+
+* `validate()` was removed
+
+#### `models.SslConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.DiagnoseWorkspaceParameters` was modified
+
+* `validate()` was removed
+
+#### `models.EndpointDeploymentPropertiesBase` was modified
+
+* `validate()` was removed
+
+#### `models.DataFactory` was modified
+
+* `validate()` was removed
+* `isAttachedCompute()` was removed
+* `provisioningErrors()` was removed
+* `createdOn()` was removed
+* `modifiedOn()` was removed
+* `provisioningState()` was removed
+
+#### `models.CustomTargetRollingWindowSize` was modified
+
+* `validate()` was removed
+
+#### `models.ImageObjectDetection` was modified
+
+* `validate()` was removed
+
+#### `models.FeaturesetContainerProperties` was modified
+
+* `validate()` was removed
+
+#### `models.Sku` was modified
+
+* `validate()` was removed
+
+#### `models.InstanceTypeSchema` was modified
+
+* `validate()` was removed
+
+#### `models.UserIdentity` was modified
+
+* `validate()` was removed
+
+#### `models.ImageModelSettings` was modified
+
+* `java.lang.Float warmupCosineLRCycles()` -> `java.lang.Double warmupCosineLRCycles()`
+* `withBeta1(java.lang.Float)` was removed
+* `withBeta2(java.lang.Float)` was removed
+* `java.lang.Float momentum()` -> `java.lang.Double momentum()`
+* `withMomentum(java.lang.Float)` was removed
+* `java.lang.Float stepLRGamma()` -> `java.lang.Double stepLRGamma()`
+* `withStepLRGamma(java.lang.Float)` was removed
+* `java.lang.Float learningRate()` -> `java.lang.Double learningRate()`
+* `java.lang.Float beta1()` -> `java.lang.Double beta1()`
+* `validate()` was removed
+* `withLearningRate(java.lang.Float)` was removed
+* `withWeightDecay(java.lang.Float)` was removed
+* `java.lang.Float beta2()` -> `java.lang.Double beta2()`
+* `java.lang.Float weightDecay()` -> `java.lang.Double weightDecay()`
+* `withWarmupCosineLRCycles(java.lang.Float)` was removed
+
+#### `models.CustomMonitoringSignal` was modified
+
+* `validate()` was removed
+
+#### `models.UserAccountCredentials` was modified
+
+* `validate()` was removed
+
+#### `models.JobOutput` was modified
+
+* `validate()` was removed
+
+#### `models.EndpointScheduleAction` was modified
+
+* `validate()` was removed
+
+#### `models.ManagedIdentity` was modified
+
+* `java.util.UUID objectId()` -> `java.lang.String objectId()`
+* `java.util.UUID clientId()` -> `java.lang.String clientId()`
+* `withObjectId(java.util.UUID)` was removed
+* `withClientId(java.util.UUID)` was removed
+* `validate()` was removed
+
+#### `models.CreateMonitorAction` was modified
+
+* `validate()` was removed
+
+#### `models.SetupScripts` was modified
+
+* `validate()` was removed
+
+#### `models.MLFlowModelJobInput` was modified
+
+* `validate()` was removed
+
+#### `models.CustomForecastHorizon` was modified
+
+* `validate()` was removed
+
+#### `models.AssetReferenceBase` was modified
+
+* `validate()` was removed
+
+#### `models.DataQualityMetricThresholdBase` was modified
+
+* `validate()` was removed
+
+#### `models.ComputeInstanceProperties` was modified
+
+* `validate()` was removed
+
+#### `models.SparkResourceConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.UsageName` was modified
+
+* `UsageName()` was changed to private access
+* `validate()` was removed
+
+#### `models.SparkJobPythonEntry` was modified
+
+* `validate()` was removed
+
+#### `models.SweepJob` was modified
+
+* `status()` was removed
+* `validate()` was removed
+
+#### `models.AutoSeasonality` was modified
+
+* `validate()` was removed
+
+#### `models.PrivateEndpointConnection` was modified
+
+* `models.PrivateEndpoint privateEndpoint()` -> `models.WorkspacePrivateEndpointResource privateEndpoint()`
+
+#### `models.NCrossValidations` was modified
+
+* `validate()` was removed
+
+#### `models.DataVersionBase$Definition` was modified
+
+* `withExistingData(java.lang.String,java.lang.String,java.lang.String)` was removed
+
+#### `models.ScheduleBase` was modified
+
+* `validate()` was removed
+
+#### `models.ImageModelDistributionSettingsObjectDetection` was modified
+
+* `validate()` was removed
+
+#### `models.ComputeInstanceDataMount` was modified
+
+* `ComputeInstanceDataMount()` was changed to private access
+* `withMountState(models.MountState)` was removed
+* `withSource(java.lang.String)` was removed
+* `withError(java.lang.String)` was removed
+* `withMountedOn(java.time.OffsetDateTime)` was removed
+* `withCreatedBy(java.lang.String)` was removed
+* `withSourceType(models.SourceType)` was removed
+* `withMountPath(java.lang.String)` was removed
+* `withMountName(java.lang.String)` was removed
+* `validate()` was removed
+* `withMountAction(models.MountAction)` was removed
+
+#### `models.ForecastingTrainingSettings` was modified
+
+* `validate()` was removed
+
+#### `models.TextClassification` was modified
+
+* `validate()` was removed
+
+#### `models.PartialSku` was modified
+
+* `validate()` was removed
+
+#### `models.AutoTargetLags` was modified
+
+* `validate()` was removed
+
+#### `models.ImageLimitSettings` was modified
+
+* `validate()` was removed
+
+#### `models.OnlineScaleSettings` was modified
+
+* `validate()` was removed
+
+#### `models.DataContainerProperties` was modified
+
+* `validate()` was removed
+
+#### `models.PartialMinimalTrackedResourceWithIdentity` was modified
+
+* `validate()` was removed
+
+#### `models.AutoMLJob` was modified
+
+* `validate()` was removed
+* `status()` was removed
+
+#### `models.AmlTokenComputeIdentity` was modified
+
+* `validate()` was removed
+
+#### `models.RandomSamplingAlgorithm` was modified
+
+* `validate()` was removed
+
+#### `models.JobInput` was modified
+
+* `validate()` was removed
+
+#### `models.FeatureAttributionDriftMonitoringSignal` was modified
+
+* `validate()` was removed
+
+#### `models.JobScheduleAction` was modified
+
+* `validate()` was removed
+
+#### `models.JobService` was modified
+
+* `validate()` was removed
+
+#### `models.HDInsight` was modified
+
+* `isAttachedCompute()` was removed
+* `validate()` was removed
+* `provisioningState()` was removed
+* `createdOn()` was removed
+* `provisioningErrors()` was removed
+* `modifiedOn()` was removed
+
+#### `models.KubernetesOnlineDeployment` was modified
+
+* `provisioningState()` was removed
+* `validate()` was removed
+
+#### `models.AccountKeyDatastoreSecrets` was modified
+
+* `validate()` was removed
+
+#### `models.ServicePrincipalDatastoreSecrets` was modified
+
+* `validate()` was removed
+
+#### `models.OnlineEndpointProperties` was modified
+
+* `validate()` was removed
+* `withPublicNetworkAccess(models.PublicNetworkAccessType)` was removed
+* `models.PublicNetworkAccessType publicNetworkAccess()` -> `models.PublicNetworkAccess publicNetworkAccess()`
+
+#### `models.CustomSeasonality` was modified
+
+* `validate()` was removed
+
+#### `models.ResourceId` was modified
+
+* `validate()` was removed
+
+#### `models.AllNodes` was modified
+
+* `validate()` was removed
+
+#### `models.RecurrenceTrigger` was modified
+
+* `validate()` was removed
+
+#### `models.FqdnEndpointDetail` was modified
+
+* `FqdnEndpointDetail()` was changed to private access
+* `validate()` was removed
+* `withPort(java.lang.Integer)` was removed
+
+#### `models.MonitorComputeIdentityBase` was modified
+
+* `validate()` was removed
+
+#### `models.ContentSafety` was modified
+
+* `validate()` was removed
+
+#### `models.ComputeInstanceLastOperation` was modified
+
+* `ComputeInstanceLastOperation()` was changed to private access
+* `validate()` was removed
+* `withOperationName(models.OperationName)` was removed
+* `withOperationStatus(models.OperationStatus)` was removed
+* `withOperationTrigger(models.OperationTrigger)` was removed
+* `withOperationTime(java.time.OffsetDateTime)` was removed
+
+#### `models.ForecastingSettings` was modified
+
+* `validate()` was removed
+
+#### `models.BatchPipelineComponentDeploymentConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.JobBaseProperties` was modified
+
+* `validate()` was removed
+
+#### `models.PyTorch` was modified
+
+* `validate()` was removed
+
+#### `models.PendingUploadCredentialDto` was modified
+
+* `validate()` was removed
+
+#### `models.RegistryPrivateLinkServiceConnectionState` was modified
+
+* `withStatus(models.EndpointServiceConnectionStatus)` was removed
+* `models.EndpointServiceConnectionStatus status()` -> `models.PrivateEndpointServiceConnectionStatus status()`
+* `validate()` was removed
+
+#### `models.FixedInputData` was modified
+
+* `validate()` was removed
+
+#### `models.UserAssignedIdentity` was modified
+
+* `validate()` was removed
+* `java.util.UUID principalId()` -> `java.lang.String principalId()`
+* `java.util.UUID clientId()` -> `java.lang.String clientId()`
+
+#### `models.DataLakeAnalyticsSchemaProperties` was modified
+
+* `validate()` was removed
+
+#### `models.ComponentVersionProperties` was modified
+
+* `validate()` was removed
+
+#### `models.FqdnOutboundRule` was modified
+
+* `validate()` was removed
+
+#### `models.SamplingAlgorithm` was modified
+
+* `validate()` was removed
+
+#### `models.PatAuthTypeWorkspaceConnectionProperties` was modified
+
+* `group()` was removed
+* `createdByWorkspaceArmId()` was removed
+* `withValue(java.lang.String)` was removed
+* `withValueFormat(models.ValueFormat)` was removed
+* `validate()` was removed
+
+#### `models.ComputeSchedules` was modified
+
+* `validate()` was removed
### Features Added
-### Breaking Changes
+* `models.ManagedPERequirement` was added
+
+* `models.ManagedNetworkKind` was added
+
+* `models.WorkspaceConnectionPropertiesV2BasicResource$Update` was added
+
+* `models.CapabilityHost$Update` was added
+
+* `models.CapabilityHosts` was added
+
+* `models.CapabilityHost$UpdateStages` was added
+
+* `models.ManagedResourceGroupSettings` was added
+
+* `models.CapabilityHost$DefinitionStages` was added
+
+* `models.ManagedResourceGroupAssignedIdentities` was added
+
+* `models.MountMode` was added
+
+* `models.CapabilityHost` was added
+
+* `models.FqdnEndpointsPropertyBag` was added
+
+* `models.CapabilityHostKind` was added
+
+* `models.WorkspaceConnectionUpdateParameter` was added
+
+* `models.SystemDatastoresAuthMode` was added
+
+* `models.FirewallSku` was added
+
+* `models.JupyterKernelConfig` was added
+
+* `models.CapabilityHost$Definition` was added
+
+* `models.KeyVaultProperties` was added
+
+* `models.OsPatchingStatus` was added
+
+* `models.PatchStatus` was added
+
+* `models.DatasetReference` was added
+
+* `models.CapabilityHostProperties` was added
+
+* `models.WorkspacePrivateEndpointResource` was added
+
+* `models.ManagedPEStatus` was added
+
+* `models.SecretExpiry` was added
+
+* `models.CapabilityHostProvisioningState` was added
+
+* `models.WorkspaceConnectionPropertiesV2BasicResource$UpdateStages` was added
+
+#### `models.Registry$Definition` was modified
+
+* `withManagedResourceGroupSettings(models.ManagedResourceGroupSettings)` was added
+
+#### `models.DiagnoseRequestProperties` was modified
+
+* `withRequiredResourceProviders(java.util.Map)` was added
+* `requiredResourceProviders()` was added
+
+#### `models.ConnectionCategory` was modified
+
+* `DATABRICKS` was added
+* `AZURE_STORAGE_ACCOUNT` was added
+* `POWER_PLATFORM_ENVIRONMENT` was added
+* `REMOTE_TOOL` was added
+* `SHAREPOINT` was added
+* `APP_INSIGHTS` was added
+* `MICROSOFT_FABRIC` was added
+* `PINECONE` was added
+* `GROUNDING_WITH_CUSTOM_SEARCH` was added
+* `API_MANAGEMENT` was added
+* `MODEL_GATEWAY` was added
+* `AZURE_CONTAINER_APP_ENVIRONMENT` was added
+* `MANAGED_ONLINE_ENDPOINT` was added
+* `REMOTE_A2A` was added
+* `APP_CONFIG` was added
+* `GROUNDING_WITH_BING_SEARCH` was added
+* `AZURE_KEY_VAULT` was added
+* `ELASTICSEARCH` was added
+
+#### `models.WorkspaceConnectionPropertiesV2` was modified
+
+* `withError(java.lang.String)` was added
+* `error()` was added
+* `withPeRequirement(models.ManagedPERequirement)` was added
+* `peStatus()` was added
+* `withPeStatus(models.ManagedPEStatus)` was added
+* `peRequirement()` was added
+* `withUseWorkspaceManagedIdentity(java.lang.Boolean)` was added
+* `useWorkspaceManagedIdentity()` was added
+
+#### `models.BanditPolicy` was modified
+
+* `withSlackFactor(java.lang.Double)` was added
+* `withSlackAmount(java.lang.Double)` was added
+
+#### `models.JobResourceConfiguration` was modified
+
+* `dockerArgsList()` was added
+* `withDockerArgsList(java.util.List)` was added
+
+#### `models.MLFlowModelJobOutput` was modified
+
+* `assetName()` was added
+* `withAssetName(java.lang.String)` was added
+
+#### `models.ImageModelSettingsObjectDetection` was modified
+
+* `withBeta1(java.lang.Double)` was added
+* `withBeta2(java.lang.Double)` was added
+* `withTileOverlapRatio(java.lang.Double)` was added
+* `withBoxScoreThreshold(java.lang.Double)` was added
+* `withStepLRGamma(java.lang.Double)` was added
+* `withWarmupCosineLRCycles(java.lang.Double)` was added
+* `withLearningRate(java.lang.Double)` was added
+* `withValidationIouThreshold(java.lang.Double)` was added
+* `withNmsIouThreshold(java.lang.Double)` was added
+* `withMomentum(java.lang.Double)` was added
+* `withWeightDecay(java.lang.Double)` was added
+* `withTilePredictionsNmsThreshold(java.lang.Double)` was added
+
+#### `models.ComputeInstanceState` was modified
+
+* `RESIZING` was added
+
+#### `models.FqdnEndpoints` was modified
+
+* `category()` was added
+* `endpoints()` was added
+
+#### `models.Registry` was modified
+
+* `managedResourceGroupSettings()` was added
+
+#### `models.Workspace$Update` was modified
+
+* `withSystemDatastoresAuthMode(models.SystemDatastoresAuthMode)` was added
+
+#### `models.Image` was modified
+
+* `withVersion(java.lang.String)` was added
+* `version()` was added
+
+#### `models.PrivateEndpointConnection$Definition` was modified
+
+* `withPrivateEndpoint(models.WorkspacePrivateEndpointResource)` was added
+
+#### `models.ModelVersionProperties` was modified
+
+* `withDatasets(java.util.List)` was added
+* `datasets()` was added
+
+#### `models.OnlineDeploymentProperties` was modified
+
+* `withStartupProbe(models.ProbeSettings)` was added
+* `startupProbe()` was added
+
+#### `models.InferenceContainerProperties` was modified
+
+* `startupRoute()` was added
+* `withStartupRoute(models.Route)` was added
+
+#### `models.OperationStatus` was modified
+
+* `RESIZE_FAILED` was added
+
+#### `models.OperationName` was modified
+
+* `RESIZE` was added
+
+#### `models.ServicePrincipalAuthTypeWorkspaceConnectionProperties` was modified
+
+* `withUseWorkspaceManagedIdentity(java.lang.Boolean)` was added
+* `withPeStatus(models.ManagedPEStatus)` was added
+* `withError(java.lang.String)` was added
+* `withPeRequirement(models.ManagedPERequirement)` was added
+
+#### `models.PrivateEndpointOutboundRule` was modified
+
+* `withFqdns(java.util.List)` was added
+* `fqdns()` was added
+
+#### `models.Workspaces` was modified
+
+* `listByResourceGroup(java.lang.String,java.lang.String,java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+* `list(java.lang.String,java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+
+#### `models.ManagedOnlineDeployment` was modified
+
+* `withStartupProbe(models.ProbeSettings)` was added
+
+#### `models.ConnectionAuthType` was modified
-### Bugs Fixed
+* `AGENTIC_IDENTITY_TOKEN` was added
+* `PROJECT_MANAGED_IDENTITY` was added
+* `AGENTIC_USER` was added
+* `AGENT_USER_IMPERSONATION` was added
+* `USER_ENTRA_TOKEN` was added
+* `ACCOUNT_MANAGED_IDENTITY` was added
+* `DELEGATED_SAS` was added
+
+#### `models.OAuth2AuthTypeWorkspaceConnectionProperties` was modified
+
+* `withPeStatus(models.ManagedPEStatus)` was added
+* `withPeRequirement(models.ManagedPERequirement)` was added
+* `withError(java.lang.String)` was added
+* `withUseWorkspaceManagedIdentity(java.lang.Boolean)` was added
+
+#### `models.Workspace$Definition` was modified
+
+* `withProvisionNetworkNow(java.lang.Boolean)` was added
+* `withEnableServiceSideCmkEncryption(java.lang.Boolean)` was added
+* `withSystemDatastoresAuthMode(models.SystemDatastoresAuthMode)` was added
+
+#### `models.Datastores` was modified
+
+* `listSecretsWithResponse(java.lang.String,java.lang.String,java.lang.String,models.SecretExpiry,com.azure.core.util.Context)` was added
+
+#### `models.PrivateLinkResource` was modified
+
+* `innerModel()` was added
+
+#### `models.ImageModelSettingsClassification` was modified
+
+* `withLearningRate(java.lang.Double)` was added
+* `withWeightDecay(java.lang.Double)` was added
+* `withMomentum(java.lang.Double)` was added
+* `withWarmupCosineLRCycles(java.lang.Double)` was added
+* `withStepLRGamma(java.lang.Double)` was added
+* `withBeta2(java.lang.Double)` was added
+* `withBeta1(java.lang.Double)` was added
+
+#### `models.PrivateEndpointConnection$Update` was modified
+
+* `withPrivateEndpoint(models.WorkspacePrivateEndpointResource)` was added
+
+#### `models.ApiKeyAuthWorkspaceConnectionProperties` was modified
+
+* `withPeRequirement(models.ManagedPERequirement)` was added
+* `withPeStatus(models.ManagedPEStatus)` was added
+* `withUseWorkspaceManagedIdentity(java.lang.Boolean)` was added
+* `withError(java.lang.String)` was added
+
+#### `models.WorkspaceConnections` was modified
+
+* `list(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.Boolean,com.azure.core.util.Context)` was added
+
+#### `models.ManagedNetworkSettings` was modified
+
+* `managedNetworkKind()` was added
+* `enableNetworkMonitor()` was added
+* `firewallPublicIpAddress()` was added
+* `firewallSku()` was added
+
+#### `models.Workspace` was modified
+
+* `systemDatastoresAuthMode()` was added
+* `enableServiceSideCmkEncryption()` was added
+* `provisionNetworkNow()` was added
+
+#### `models.UriFileJobOutput` was modified
+
+* `withAssetName(java.lang.String)` was added
+* `assetName()` was added
+
+#### `models.Datastore` was modified
+
+* `listSecretsWithResponse(models.SecretExpiry,com.azure.core.util.Context)` was added
+
+#### `models.NoneAuthTypeWorkspaceConnectionProperties` was modified
+
+* `withError(java.lang.String)` was added
+* `withPeRequirement(models.ManagedPERequirement)` was added
+* `withPeStatus(models.ManagedPEStatus)` was added
+* `withUseWorkspaceManagedIdentity(java.lang.Boolean)` was added
+
+#### `MachineLearningManager` was modified
+
+* `capabilityHosts()` was added
+
+#### `models.ImageMetadata` was modified
+
+* `osPatchingStatus()` was added
+
+#### `models.CustomKeysWorkspaceConnectionProperties` was modified
+
+* `withPeRequirement(models.ManagedPERequirement)` was added
+* `withUseWorkspaceManagedIdentity(java.lang.Boolean)` was added
+* `withPeStatus(models.ManagedPEStatus)` was added
+* `withError(java.lang.String)` was added
+
+#### `models.CertificateDatastoreCredentials` was modified
+
+* `withTenantId(java.lang.String)` was added
+* `withClientId(java.lang.String)` was added
+
+#### `models.UsernamePasswordAuthTypeWorkspaceConnectionProperties` was modified
+
+* `withPeRequirement(models.ManagedPERequirement)` was added
+* `withPeStatus(models.ManagedPEStatus)` was added
+* `withError(java.lang.String)` was added
+* `withUseWorkspaceManagedIdentity(java.lang.Boolean)` was added
+
+#### `models.AccountKeyAuthTypeWorkspaceConnectionProperties` was modified
+
+* `withPeStatus(models.ManagedPEStatus)` was added
+* `withError(java.lang.String)` was added
+* `withUseWorkspaceManagedIdentity(java.lang.Boolean)` was added
+* `withPeRequirement(models.ManagedPERequirement)` was added
+
+#### `models.WorkspacePropertiesUpdateParameters` was modified
+
+* `systemDatastoresAuthMode()` was added
+
+#### `models.WorkspaceUpdateParameters` was modified
+
+* `innerModel()` was added
+* `systemDatastoresAuthMode()` was added
+
+#### `models.UriFolderJobOutput` was modified
+
+* `withAssetName(java.lang.String)` was added
+* `assetName()` was added
+
+#### `models.RuleStatus` was modified
+
+* `FAILED` was added
+* `DELETING` was added
+* `PROVISIONING` was added
+
+#### `models.MLTableJobOutput` was modified
+
+* `assetName()` was added
+* `withAssetName(java.lang.String)` was added
+
+#### `models.AccessKeyAuthTypeWorkspaceConnectionProperties` was modified
+
+* `withUseWorkspaceManagedIdentity(java.lang.Boolean)` was added
+* `withError(java.lang.String)` was added
+* `withPeRequirement(models.ManagedPERequirement)` was added
+* `withPeStatus(models.ManagedPEStatus)` was added
+
+#### `models.CustomService` was modified
+
+* `kernel()` was added
+* `withKernel(models.JupyterKernelConfig)` was added
+
+#### `models.AadAuthTypeWorkspaceConnectionProperties` was modified
+
+* `withError(java.lang.String)` was added
+* `withPeStatus(models.ManagedPEStatus)` was added
+* `withUseWorkspaceManagedIdentity(java.lang.Boolean)` was added
+* `withPeRequirement(models.ManagedPERequirement)` was added
+
+#### `models.TritonModelJobOutput` was modified
+
+* `withAssetName(java.lang.String)` was added
+* `assetName()` was added
+
+#### `models.WorkspaceConnectionPropertiesV2BasicResource` was modified
+
+* `update()` was added
+* `resourceGroupName()` was added
+
+#### `models.WorkspaceProperties` was modified
+
+* `provisionNetworkNow()` was added
+* `systemDatastoresAuthMode()` was added
+* `enableServiceSideCmkEncryption()` was added
+
+#### `models.OutboundRule` was modified
+
+* `parentRuleNames()` was added
+* `errorInformation()` was added
+
+#### `models.CustomModelJobOutput` was modified
+
+* `assetName()` was added
+* `withAssetName(java.lang.String)` was added
+
+#### `models.PrivateLinkResources` was modified
+
+* `list(java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+
+#### `models.SasAuthTypeWorkspaceConnectionProperties` was modified
+
+* `withError(java.lang.String)` was added
+* `withPeStatus(models.ManagedPEStatus)` was added
+* `withUseWorkspaceManagedIdentity(java.lang.Boolean)` was added
+* `withPeRequirement(models.ManagedPERequirement)` was added
+
+#### `models.WorkspaceConnectionOAuth2` was modified
+
+* `withClientId(java.lang.String)` was added
+
+#### `models.EncryptionProperty` was modified
+
+* `withCosmosDbResourceId(java.lang.String)` was added
+* `withKeyVaultProperties(models.KeyVaultProperties)` was added
+* `storageAccountResourceId()` was added
+* `searchAccountResourceId()` was added
+* `withStorageAccountResourceId(java.lang.String)` was added
+* `cosmosDbResourceId()` was added
+* `withSearchAccountResourceId(java.lang.String)` was added
+
+#### `models.ManagedIdentityAuthTypeWorkspaceConnectionProperties` was modified
+
+* `withError(java.lang.String)` was added
+* `withUseWorkspaceManagedIdentity(java.lang.Boolean)` was added
+* `withPeRequirement(models.ManagedPERequirement)` was added
+* `withPeStatus(models.ManagedPEStatus)` was added
+
+#### `models.ServicePrincipalDatastoreCredentials` was modified
+
+* `withClientId(java.lang.String)` was added
+* `withTenantId(java.lang.String)` was added
+
+#### `models.ServiceTagDestination` was modified
+
+* `withAddressPrefixes(java.util.List)` was added
+
+#### `models.NotebookResourceInfo` was modified
+
+* `isPrivateLinkEnabled()` was added
+
+#### `models.ImageModelSettings` was modified
+
+* `withWeightDecay(java.lang.Double)` was added
+* `withBeta1(java.lang.Double)` was added
+* `withWarmupCosineLRCycles(java.lang.Double)` was added
+* `withMomentum(java.lang.Double)` was added
+* `withLearningRate(java.lang.Double)` was added
+* `withStepLRGamma(java.lang.Double)` was added
+* `withBeta2(java.lang.Double)` was added
+
+#### `models.ManagedIdentity` was modified
+
+* `withClientId(java.lang.String)` was added
+* `withObjectId(java.lang.String)` was added
+
+#### `models.ComputeInstanceProperties` was modified
+
+* `withIdleTimeBeforeShutdown(java.lang.String)` was added
+* `idleTimeBeforeShutdown()` was added
+* `withEnableSSO(java.lang.Boolean)` was added
+* `enableSSO()` was added
+
+#### `models.ServerlessInferenceEndpointAuthMode` was modified
+
+* `KEY_AND_AAD` was added
+* `AAD` was added
+
+#### `models.DataVersionBase$Definition` was modified
+
+* `withExistingDatum(java.lang.String,java.lang.String,java.lang.String)` was added
+
+#### `models.ComputeInstanceDataMount` was modified
+
+* `mountMode()` was added
+
+#### `models.KubernetesOnlineDeployment` was modified
+
+* `withStartupProbe(models.ProbeSettings)` was added
+
+#### `models.OnlineEndpointProperties` was modified
+
+* `withPublicNetworkAccess(models.PublicNetworkAccess)` was added
+
+#### `models.RegistryPrivateLinkServiceConnectionState` was modified
+
+* `withStatus(models.PrivateEndpointServiceConnectionStatus)` was added
+
+#### `models.PatAuthTypeWorkspaceConnectionProperties` was modified
-### Other Changes
+* `withError(java.lang.String)` was added
+* `withPeRequirement(models.ManagedPERequirement)` was added
+* `withPeStatus(models.ManagedPEStatus)` was added
+* `withUseWorkspaceManagedIdentity(java.lang.Boolean)` was added
## 1.1.0 (2024-08-22)
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/README.md b/sdk/machinelearning/azure-resourcemanager-machinelearning/README.md
index d6e0a036eb7a..1f672762bc60 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/README.md
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/README.md
@@ -2,7 +2,7 @@
Azure Resource Manager Machine Learning client library for Java.
-This package contains Microsoft Azure SDK for Machine Learning Management SDK. These APIs allow end users to operate on Azure Machine Learning Workspace resources. Package tag package-2024-04. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
+This package contains Microsoft Azure SDK for Machine Learning Management SDK. These APIs allow end users to operate on Azure Machine Learning Workspace resources. Package api-version 2026-07-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
## We'd love to hear your feedback
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
com.azure.resourcemanager
azure-resourcemanager-machinelearning
- 1.2.0-beta.1
+ 2.0.0
```
[//]: # ({x-version-update-end})
@@ -52,7 +52,7 @@ Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment
Assuming the use of the `DefaultAzureCredential` credential class, the client can be authenticated using the following code:
```java
-AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
+AzureProfile profile = new AzureProfile(AzureCloud.AZURE_PUBLIC_CLOUD);
TokenCredential credential = new DefaultAzureCredentialBuilder()
.authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
.build();
@@ -60,7 +60,7 @@ MachineLearningManager manager = MachineLearningManager
.authenticate(credential, profile);
```
-The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.
+The sample code assumes global Azure. Please change the `AzureCloud.AZURE_PUBLIC_CLOUD` variable if otherwise.
See [Authentication][authenticate] for more options.
@@ -78,39 +78,37 @@ workspace = machineLearningManager.workspaces()
.withSku(new Sku().withName("Basic").withTier(SkuTier.BASIC))
.withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED))
.withFriendlyName(workspaceName)
- .withStorageAccount(
- storageManager.storageAccounts()
- .define(storageName)
- .withRegion(REGION)
- .withExistingResourceGroup(resourceGroupName)
- .withSku(StorageAccountSkuType.STANDARD_LRS)
- .withMinimumTlsVersion(MinimumTlsVersion.TLS1_0)
- .withHnsEnabled(false)
- .withAccessFromAzureServices()
- .withOnlyHttpsTraffic()
- .withBlobStorageAccountKind().withAccessTier(AccessTier.HOT)
- .create()
- .id())
- .withKeyVault(
- keyVaultManager.vaults()
- .define(keyVaultName)
- .withRegion(REGION)
- .withExistingResourceGroup(resourceGroupName)
- .withEmptyAccessPolicy()
- .withSku(SkuName.STANDARD)
- .withDeploymentDisabled()
- .withAccessFromAllNetworks()
- .create()
- .id())
- .withApplicationInsights(
- applicationInsightsManager.components()
- .define(insightName)
- .withRegion(REGION)
- .withExistingResourceGroup(resourceGroupName)
- .withKind("web")
- .withApplicationType(ApplicationType.WEB)
- .create()
- .id())
+ .withStorageAccount(storageManager.storageAccounts()
+ .define(storageName)
+ .withRegion(REGION)
+ .withExistingResourceGroup(resourceGroupName)
+ .withSku(StorageAccountSkuType.STANDARD_LRS)
+ .withMinimumTlsVersion(MinimumTlsVersion.TLS1_0)
+ .withHnsEnabled(false)
+ .withAccessFromAzureServices()
+ .withOnlyHttpsTraffic()
+ .withBlobStorageAccountKind()
+ .withAccessTier(AccessTier.HOT)
+ .create()
+ .id())
+ .withKeyVault(keyVaultManager.vaults()
+ .define(keyVaultName)
+ .withRegion(REGION)
+ .withExistingResourceGroup(resourceGroupName)
+ .withEmptyAccessPolicy()
+ .withSku(SkuName.STANDARD)
+ .withDeploymentDisabled()
+ .withAccessFromAllNetworks()
+ .create()
+ .id())
+ .withApplicationInsights(applicationInsightsManager.components()
+ .define(insightName)
+ .withRegion(REGION)
+ .withExistingResourceGroup(resourceGroupName)
+ .withKind("web")
+ .withApplicationType(ApplicationType.WEB)
+ .create()
+ .id())
.create();
```
[Code snippets and samples](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/machinelearning/azure-resourcemanager-machinelearning/SAMPLE.md)
@@ -143,5 +141,3 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
[coc]: https://opensource.microsoft.com/codeofconduct/
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
-
-
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/SAMPLE.md b/sdk/machinelearning/azure-resourcemanager-machinelearning/SAMPLE.md
index 0ef21ec43a9a..4dd2a8b2b049 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/SAMPLE.md
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/SAMPLE.md
@@ -18,6 +18,12 @@
- [ListKeys](#batchendpoints_listkeys)
- [Update](#batchendpoints_update)
+## CapabilityHosts
+
+- [CreateOrUpdate](#capabilityhosts_createorupdate)
+- [Delete](#capabilityhosts_delete)
+- [Get](#capabilityhosts_get)
+
## CodeContainers
- [CreateOrUpdate](#codecontainers_createorupdate)
@@ -335,6 +341,7 @@
- [Get](#workspaceconnections_get)
- [List](#workspaceconnections_list)
- [ListSecrets](#workspaceconnections_listsecrets)
+- [Update](#workspaceconnections_update)
## WorkspaceFeatures
@@ -383,9 +390,7 @@ import java.util.Map;
*/
public final class BatchDeploymentsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/BatchDeployment/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Workspace/BatchDeployment/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Workspace Batch Deployment.
@@ -398,19 +403,19 @@ public final class BatchDeploymentsCreateOrUpdateSamples {
.define("testDeploymentName")
.withRegion("string")
.withExistingBatchEndpoint("test-rg", "my-aml-workspace", "testEndpointName")
- .withProperties(new BatchDeploymentProperties().withDescription("string")
- .withProperties(mapOf("string", "string"))
+ .withProperties(new BatchDeploymentProperties()
.withCodeConfiguration(
new CodeConfiguration().withCodeId("fakeTokenPlaceholder").withScoringScript("string"))
+ .withDescription("string")
.withEnvironmentId("string")
.withEnvironmentVariables(mapOf("string", "string"))
+ .withProperties(mapOf("string", "string"))
.withCompute("string")
.withErrorThreshold(1)
- .withRetrySettings(new BatchRetrySettings().withMaxRetries(1).withTimeout(Duration.parse("PT5M")))
- .withMiniBatchSize(1L)
.withLoggingLevel(BatchLoggingLevel.INFO)
- .withModel(new IdAssetReference().withAssetId("string"))
.withMaxConcurrencyPerInstance(1)
+ .withMiniBatchSize(1L)
+ .withModel(new IdAssetReference().withAssetId("string"))
.withOutputAction(BatchOutputAction.SUMMARY_ONLY)
.withOutputFileName("string")
.withResources(new DeploymentResourceConfiguration().withInstanceCount(1)
@@ -418,11 +423,12 @@ public final class BatchDeploymentsCreateOrUpdateSamples {
.withProperties(mapOf("string",
SerializerFactory.createDefaultManagementSerializerAdapter()
.deserialize("{\"cd3c37dc-2876-4ca4-8a54-21bd7619724a\":null}", Object.class,
- SerializerEncoding.JSON)))))
+ SerializerEncoding.JSON))))
+ .withRetrySettings(new BatchRetrySettings().withMaxRetries(1).withTimeout(Duration.parse("PT5M"))))
.withTags(mapOf())
- .withKind("string")
.withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED)
.withUserAssignedIdentities(mapOf("string", new UserAssignedIdentity())))
+ .withKind("string")
.withSku(new Sku().withName("string")
.withTier(SkuTier.FREE)
.withSize("string")
@@ -453,9 +459,7 @@ public final class BatchDeploymentsCreateOrUpdateSamples {
*/
public final class BatchDeploymentsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/BatchDeployment/delete.json
+ * x-ms-original-file: 2026-07-01/Workspace/BatchDeployment/delete.json
*/
/**
* Sample code: Delete Workspace Batch Deployment.
@@ -479,9 +483,7 @@ public final class BatchDeploymentsDeleteSamples {
*/
public final class BatchDeploymentsGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/BatchDeployment/get.json
+ * x-ms-original-file: 2026-07-01/Workspace/BatchDeployment/get.json
*/
/**
* Sample code: Get Workspace Batch Deployment.
@@ -505,9 +507,7 @@ public final class BatchDeploymentsGetSamples {
*/
public final class BatchDeploymentsListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/BatchDeployment/list.json
+ * x-ms-original-file: 2026-07-01/Workspace/BatchDeployment/list.json
*/
/**
* Sample code: List Workspace Batch Deployment.
@@ -536,9 +536,7 @@ import java.util.Map;
*/
public final class BatchDeploymentsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/BatchDeployment/update.json
+ * x-ms-original-file: 2026-07-01/Workspace/BatchDeployment/update.json
*/
/**
* Sample code: Update Workspace Batch Deployment.
@@ -590,9 +588,7 @@ import java.util.Map;
*/
public final class BatchEndpointsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/BatchEndpoint/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Workspace/BatchEndpoint/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Workspace Batch Endpoint.
@@ -605,14 +601,14 @@ public final class BatchEndpointsCreateOrUpdateSamples {
.define("testEndpointName")
.withRegion("string")
.withExistingWorkspace("test-rg", "my-aml-workspace")
- .withProperties(new BatchEndpointProperties().withDescription("string")
+ .withProperties(new BatchEndpointProperties().withAuthMode(EndpointAuthMode.AMLTOKEN)
+ .withDescription("string")
.withProperties(mapOf("string", "string"))
- .withAuthMode(EndpointAuthMode.AMLTOKEN)
.withDefaults(new BatchEndpointDefaults().withDeploymentName("string")))
.withTags(mapOf())
- .withKind("string")
.withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED)
.withUserAssignedIdentities(mapOf("string", new UserAssignedIdentity())))
+ .withKind("string")
.withSku(new Sku().withName("string")
.withTier(SkuTier.FREE)
.withSize("string")
@@ -643,9 +639,7 @@ public final class BatchEndpointsCreateOrUpdateSamples {
*/
public final class BatchEndpointsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/BatchEndpoint/delete.json
+ * x-ms-original-file: 2026-07-01/Workspace/BatchEndpoint/delete.json
*/
/**
* Sample code: Delete Workspace Batch Endpoint.
@@ -668,9 +662,7 @@ public final class BatchEndpointsDeleteSamples {
*/
public final class BatchEndpointsGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/BatchEndpoint/get.json
+ * x-ms-original-file: 2026-07-01/Workspace/BatchEndpoint/get.json
*/
/**
* Sample code: Get Workspace Batch Endpoint.
@@ -693,9 +685,7 @@ public final class BatchEndpointsGetSamples {
*/
public final class BatchEndpointsListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/BatchEndpoint/list.json
+ * x-ms-original-file: 2026-07-01/Workspace/BatchEndpoint/list.json
*/
/**
* Sample code: List Workspace Batch Endpoint.
@@ -717,9 +707,7 @@ public final class BatchEndpointsListSamples {
*/
public final class BatchEndpointsListKeysSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/BatchEndpoint/listKeys.json
+ * x-ms-original-file: 2026-07-01/Workspace/BatchEndpoint/listKeys.json
*/
/**
* Sample code: ListKeys Workspace Batch Endpoint.
@@ -751,9 +739,7 @@ import java.util.Map;
*/
public final class BatchEndpointsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/BatchEndpoint/update.json
+ * x-ms-original-file: 2026-07-01/Workspace/BatchEndpoint/update.json
*/
/**
* Sample code: Update Workspace Batch Endpoint.
@@ -788,6 +774,86 @@ public final class BatchEndpointsUpdateSamples {
}
```
+### CapabilityHosts_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.machinelearning.models.CapabilityHostProperties;
+import java.util.Arrays;
+
+/**
+ * Samples for CapabilityHosts CreateOrUpdate.
+ */
+public final class CapabilityHostsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/CapabilityHost/createOrUpdate.json
+ */
+ /**
+ * Sample code: CreateOrUpdate CapabilityHost.
+ *
+ * @param manager Entry point to MachineLearningManager.
+ */
+ public static void
+ createOrUpdateCapabilityHost(com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
+ manager.capabilityHosts()
+ .define("capabilityHostName")
+ .withExistingWorkspace("test-rg", "my-aml-workspace")
+ .withProperties(new CapabilityHostProperties()
+ .withAcaEnvironmentConnections(Arrays.asList("sampleAcaEnvironmentConnection"))
+ .withAiServicesConnections(Arrays.asList("sampleAIServiceConnection"))
+ .withCustomerSubnet(
+ "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet")
+ .withStorageConnections(Arrays.asList("sampleStorageConnection"))
+ .withThreadStorageConnections(Arrays.asList("sampleThreadStorageConnection"))
+ .withVectorStoreConnections(Arrays.asList("sampleVectorStoreConnection")))
+ .create();
+ }
+}
+```
+
+### CapabilityHosts_Delete
+
+```java
+/**
+ * Samples for CapabilityHosts Delete.
+ */
+public final class CapabilityHostsDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/CapabilityHost/delete.json
+ */
+ /**
+ * Sample code: Delete CapabilityHost.
+ *
+ * @param manager Entry point to MachineLearningManager.
+ */
+ public static void deleteCapabilityHost(com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
+ manager.capabilityHosts()
+ .delete("test-rg", "my-aml-workspace", "capabilityHostName", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### CapabilityHosts_Get
+
+```java
+/**
+ * Samples for CapabilityHosts Get.
+ */
+public final class CapabilityHostsGetSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/CapabilityHost/get.json
+ */
+ /**
+ * Sample code: Get CapabilityHost.
+ *
+ * @param manager Entry point to MachineLearningManager.
+ */
+ public static void getCapabilityHost(com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
+ manager.capabilityHosts()
+ .getWithResponse("test-rg", "my-aml-workspace", "capabilityHostName", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### CodeContainers_CreateOrUpdate
```java
@@ -800,9 +866,7 @@ import java.util.Map;
*/
public final class CodeContainersCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/CodeContainer/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Workspace/CodeContainer/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Workspace Code Container.
@@ -841,9 +905,7 @@ public final class CodeContainersCreateOrUpdateSamples {
*/
public final class CodeContainersDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/CodeContainer/delete.json
+ * x-ms-original-file: 2026-07-01/Workspace/CodeContainer/delete.json
*/
/**
* Sample code: Delete Workspace Code Container.
@@ -866,9 +928,7 @@ public final class CodeContainersDeleteSamples {
*/
public final class CodeContainersGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/CodeContainer/get.json
+ * x-ms-original-file: 2026-07-01/Workspace/CodeContainer/get.json
*/
/**
* Sample code: Get Workspace Code Container.
@@ -891,9 +951,7 @@ public final class CodeContainersGetSamples {
*/
public final class CodeContainersListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/CodeContainer/list.json
+ * x-ms-original-file: 2026-07-01/Workspace/CodeContainer/list.json
*/
/**
* Sample code: List Workspace Code Container.
@@ -918,9 +976,7 @@ import com.azure.resourcemanager.machinelearning.models.PendingUploadType;
*/
public final class CodeVersionsCreateOrGetStartPendingUploadSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/CodeVersion/createOrGetStartPendingUpload.json
+ * x-ms-original-file: 2026-07-01/Workspace/CodeVersion/createOrGetStartPendingUpload.json
*/
/**
* Sample code: CreateOrGetStartPendingUpload Workspace Code Version.
@@ -950,9 +1006,7 @@ import java.util.Map;
*/
public final class CodeVersionsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/CodeVersion/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Workspace/CodeVersion/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Workspace Code Version.
@@ -965,8 +1019,8 @@ public final class CodeVersionsCreateOrUpdateSamples {
.define("string")
.withExistingCode("test-rg", "my-aml-workspace", "string")
.withProperties(new CodeVersionProperties().withDescription("string")
- .withTags(mapOf("string", "string"))
.withProperties(mapOf("string", "string"))
+ .withTags(mapOf("string", "string"))
.withIsAnonymous(false)
.withCodeUri("fakeTokenPlaceholder"))
.create();
@@ -994,9 +1048,7 @@ public final class CodeVersionsCreateOrUpdateSamples {
*/
public final class CodeVersionsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/CodeVersion/delete.json
+ * x-ms-original-file: 2026-07-01/Workspace/CodeVersion/delete.json
*/
/**
* Sample code: Delete Workspace Code Version.
@@ -1019,9 +1071,7 @@ public final class CodeVersionsDeleteSamples {
*/
public final class CodeVersionsGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/CodeVersion/get.json
+ * x-ms-original-file: 2026-07-01/Workspace/CodeVersion/get.json
*/
/**
* Sample code: Get Workspace Code Version.
@@ -1044,9 +1094,7 @@ public final class CodeVersionsGetSamples {
*/
public final class CodeVersionsListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/CodeVersion/list.json
+ * x-ms-original-file: 2026-07-01/Workspace/CodeVersion/list.json
*/
/**
* Sample code: List Workspace Code Version.
@@ -1072,9 +1120,7 @@ import com.azure.resourcemanager.machinelearning.models.DestinationAsset;
*/
public final class CodeVersionsPublishSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/CodeVersion/publish.json
+ * x-ms-original-file: 2026-07-01/Workspace/CodeVersion/publish.json
*/
/**
* Sample code: Publish Workspace Code Version.
@@ -1085,9 +1131,9 @@ public final class CodeVersionsPublishSamples {
publishWorkspaceCodeVersion(com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
manager.codeVersions()
.publish("test-rg", "my-aml-workspace", "string", "string",
- new DestinationAsset().withRegistryName("string")
- .withDestinationName("string")
- .withDestinationVersion("string"),
+ new DestinationAsset().withDestinationName("string")
+ .withDestinationVersion("string")
+ .withRegistryName("string"),
com.azure.core.util.Context.NONE);
}
}
@@ -1105,9 +1151,7 @@ import java.util.Map;
*/
public final class ComponentContainersCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/ComponentContainer/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Workspace/ComponentContainer/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Workspace Component Container.
@@ -1120,8 +1164,8 @@ public final class ComponentContainersCreateOrUpdateSamples {
.define("string")
.withExistingWorkspace("test-rg", "my-aml-workspace")
.withProperties(new ComponentContainerProperties().withDescription("string")
- .withTags(mapOf("string", "string"))
- .withProperties(mapOf("string", "string")))
+ .withProperties(mapOf("string", "string"))
+ .withTags(mapOf("string", "string")))
.create();
}
@@ -1147,9 +1191,7 @@ public final class ComponentContainersCreateOrUpdateSamples {
*/
public final class ComponentContainersDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/ComponentContainer/delete.json
+ * x-ms-original-file: 2026-07-01/Workspace/ComponentContainer/delete.json
*/
/**
* Sample code: Delete Workspace Component Container.
@@ -1172,9 +1214,7 @@ public final class ComponentContainersDeleteSamples {
*/
public final class ComponentContainersGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/ComponentContainer/get.json
+ * x-ms-original-file: 2026-07-01/Workspace/ComponentContainer/get.json
*/
/**
* Sample code: Get Workspace Component Container.
@@ -1198,9 +1238,7 @@ public final class ComponentContainersGetSamples {
*/
public final class ComponentContainersListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/ComponentContainer/list.json
+ * x-ms-original-file: 2026-07-01/Workspace/ComponentContainer/list.json
*/
/**
* Sample code: List Workspace Component Container.
@@ -1229,9 +1267,7 @@ import java.util.Map;
*/
public final class ComponentVersionsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/ComponentVersion/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Workspace/ComponentVersion/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Workspace Component Version.
@@ -1244,8 +1280,8 @@ public final class ComponentVersionsCreateOrUpdateSamples {
.define("string")
.withExistingComponent("test-rg", "my-aml-workspace", "string")
.withProperties(new ComponentVersionProperties().withDescription("string")
- .withTags(mapOf("string", "string"))
.withProperties(mapOf("string", "string"))
+ .withTags(mapOf("string", "string"))
.withIsAnonymous(false)
.withComponentSpec(SerializerFactory.createDefaultManagementSerializerAdapter()
.deserialize("{\"8ced901b-d826-477d-bfef-329da9672513\":null}", Object.class,
@@ -1275,9 +1311,7 @@ public final class ComponentVersionsCreateOrUpdateSamples {
*/
public final class ComponentVersionsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/ComponentVersion/delete.json
+ * x-ms-original-file: 2026-07-01/Workspace/ComponentVersion/delete.json
*/
/**
* Sample code: Delete Workspace Component Version.
@@ -1300,9 +1334,7 @@ public final class ComponentVersionsDeleteSamples {
*/
public final class ComponentVersionsGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/ComponentVersion/get.json
+ * x-ms-original-file: 2026-07-01/Workspace/ComponentVersion/get.json
*/
/**
* Sample code: Get Workspace Component Version.
@@ -1326,9 +1358,7 @@ public final class ComponentVersionsGetSamples {
*/
public final class ComponentVersionsListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/ComponentVersion/list.json
+ * x-ms-original-file: 2026-07-01/Workspace/ComponentVersion/list.json
*/
/**
* Sample code: List Workspace Component Version.
@@ -1353,9 +1383,7 @@ import com.azure.resourcemanager.machinelearning.models.DestinationAsset;
*/
public final class ComponentVersionsPublishSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/ComponentVersion/publish.json
+ * x-ms-original-file: 2026-07-01/Workspace/ComponentVersion/publish.json
*/
/**
* Sample code: Publish Workspace Component Version.
@@ -1366,9 +1394,9 @@ public final class ComponentVersionsPublishSamples {
publishWorkspaceComponentVersion(com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
manager.componentVersions()
.publish("test-rg", "my-aml-workspace", "string", "string",
- new DestinationAsset().withRegistryName("string")
- .withDestinationName("string")
- .withDestinationVersion("string"),
+ new DestinationAsset().withDestinationName("string")
+ .withDestinationVersion("string")
+ .withRegistryName("string"),
com.azure.core.util.Context.NONE);
}
}
@@ -1402,6 +1430,7 @@ import com.azure.resourcemanager.machinelearning.models.Image;
import com.azure.resourcemanager.machinelearning.models.ImageType;
import com.azure.resourcemanager.machinelearning.models.InstanceTypeSchema;
import com.azure.resourcemanager.machinelearning.models.InstanceTypeSchemaResources;
+import com.azure.resourcemanager.machinelearning.models.JupyterKernelConfig;
import com.azure.resourcemanager.machinelearning.models.Kubernetes;
import com.azure.resourcemanager.machinelearning.models.KubernetesProperties;
import com.azure.resourcemanager.machinelearning.models.OsType;
@@ -1426,50 +1455,44 @@ import java.util.Map;
*/
public final class ComputeCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Compute/createOrUpdate/BasicAKSCompute.json
+ * x-ms-original-file: 2026-07-01/Compute/createOrUpdate/AKSCompute.json
*/
/**
- * Sample code: Create an AKS Compute.
+ * Sample code: Update an AKS Compute.
*
* @param manager Entry point to MachineLearningManager.
*/
- public static void createAnAKSCompute(com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
+ public static void updateAnAKSCompute(com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
manager.computes()
.define("compute123")
.withExistingWorkspace("testrg123", "workspaces123")
.withRegion("eastus")
- .withProperties(new Aks())
+ .withProperties(new Aks().withDescription("some compute")
+ .withResourceId(
+ "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2")
+ .withProperties(new AksSchemaProperties().withAgentCount(4)))
.create();
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Compute/createOrUpdate/AKSCompute.json
+ * x-ms-original-file: 2026-07-01/Compute/createOrUpdate/BasicAKSCompute.json
*/
/**
- * Sample code: Update an AKS Compute.
+ * Sample code: Create an AKS Compute.
*
* @param manager Entry point to MachineLearningManager.
*/
- public static void updateAnAKSCompute(com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
+ public static void createAnAKSCompute(com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
manager.computes()
.define("compute123")
.withExistingWorkspace("testrg123", "workspaces123")
.withRegion("eastus")
- .withProperties(new Aks().withDescription("some compute")
- .withResourceId(
- "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2")
- .withProperties(new AksSchemaProperties().withAgentCount(4)))
+ .withProperties(new Aks())
.create();
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Compute/createOrUpdate/KubernetesCompute.json
+ * x-ms-original-file: 2026-07-01/Compute/createOrUpdate/KubernetesCompute.json
*/
/**
* Sample code: Attach a Kubernetes Compute.
@@ -1495,9 +1518,7 @@ public final class ComputeCreateOrUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Compute/createOrUpdate/ComputeInstanceWithSchedules.json
+ * x-ms-original-file: 2026-07-01/Compute/createOrUpdate/ComputeInstanceWithSchedules.json
*/
/**
* Sample code: Create an ComputeInstance Compute with Schedules.
@@ -1529,9 +1550,7 @@ public final class ComputeCreateOrUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Compute/createOrUpdate/BasicAmlCompute.json
+ * x-ms-original-file: 2026-07-01/Compute/createOrUpdate/BasicAmlCompute.json
*/
/**
* Sample code: Create a AML Compute.
@@ -1558,9 +1577,7 @@ public final class ComputeCreateOrUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Compute/createOrUpdate/ComputeInstance.json
+ * x-ms-original-file: 2026-07-01/Compute/createOrUpdate/ComputeInstance.json
*/
/**
* Sample code: Create an ComputeInstance Compute.
@@ -1578,25 +1595,29 @@ public final class ComputeCreateOrUpdateSamples {
.withSubnet(new ResourceId().withId("test-subnet-resource-id"))
.withApplicationSharingPolicy(ApplicationSharingPolicy.PERSONAL)
.withSshSettings(new ComputeInstanceSshSettings().withSshPublicAccess(SshPublicAccess.DISABLED))
- .withCustomServices(Arrays.asList(new CustomService().withName("rstudio")
+ .withCustomServices(Arrays.asList(new CustomService().withName("rstudio-workbench")
.withImage(new Image().withType(ImageType.DOCKER)
- .withReference("ghcr.io/azure/rocker-rstudio-ml-verse:latest")
+ .withReference("ghcr.io/azure/rstudio-workbench:latest")
.withAdditionalProperties(mapOf()))
- .withEnvironmentVariables(mapOf("test_variable",
+ .withEnvironmentVariables(mapOf("RSP_LICENSE",
new EnvironmentVariable().withType(EnvironmentVariableType.LOCAL)
- .withValue("test_value")
+ .withValue("XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX")
.withAdditionalProperties(mapOf())))
.withDocker(new Docker().withPrivileged(true).withAdditionalProperties(mapOf()))
.withEndpoints(Arrays.asList(new Endpoint().withProtocol(Protocol.HTTP)
.withName("connect")
.withTarget(8787)
- .withPublished(8787)))
+ .withPublished(4444)))
.withVolumes(Arrays.asList(new VolumeDefinition().withType(VolumeDefinitionType.BIND)
- .withReadOnly(false)
- .withSource("/home/azureuser/cloudfiles")
- .withTarget("/home/azureuser/cloudfiles")))
+ .withReadOnly(true)
+ .withSource("/mnt/azureuser/")
+ .withTarget("/home/testuser/")))
+ .withKernel(new JupyterKernelConfig().withArgv(Arrays.asList("option1", "option2", "option3"))
+ .withDisplayName("TestKernel")
+ .withLanguage("python"))
.withAdditionalProperties(mapOf())))
.withComputeInstanceAuthorizationType(ComputeInstanceAuthorizationType.PERSONAL)
+ .withEnableSSO(true)
.withPersonalComputeInstanceSettings(new PersonalComputeInstanceSettings()
.withAssignedUser(new AssignedUser().withObjectId("00000000-0000-0000-0000-000000000000")
.withTenantId("00000000-0000-0000-0000-000000000000")))))
@@ -1604,9 +1625,7 @@ public final class ComputeCreateOrUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Compute/createOrUpdate/ComputeInstanceMinimal.json
+ * x-ms-original-file: 2026-07-01/Compute/createOrUpdate/ComputeInstanceMinimal.json
*/
/**
* Sample code: Create an ComputeInstance Compute with minimal inputs.
@@ -1625,9 +1644,7 @@ public final class ComputeCreateOrUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Compute/createOrUpdate/AmlCompute.json
+ * x-ms-original-file: 2026-07-01/Compute/createOrUpdate/AmlCompute.json
*/
/**
* Sample code: Update a AML Compute.
@@ -1647,9 +1664,7 @@ public final class ComputeCreateOrUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Compute/createOrUpdate/BasicDataFactoryCompute.json
+ * x-ms-original-file: 2026-07-01/Compute/createOrUpdate/BasicDataFactoryCompute.json
*/
/**
* Sample code: Create a DataFactory Compute.
@@ -1690,9 +1705,7 @@ import com.azure.resourcemanager.machinelearning.models.UnderlyingResourceAction
*/
public final class ComputeDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Compute/delete.json
+ * x-ms-original-file: 2026-07-01/Compute/delete.json
*/
/**
* Sample code: Delete Compute.
@@ -1715,9 +1728,7 @@ public final class ComputeDeleteSamples {
*/
public final class ComputeGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Compute/get/AKSCompute.json
+ * x-ms-original-file: 2026-07-01/Compute/get/AKSCompute.json
*/
/**
* Sample code: Get a AKS Compute.
@@ -1730,39 +1741,33 @@ public final class ComputeGetSamples {
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Compute/get/KubernetesCompute.json
+ * x-ms-original-file: 2026-07-01/Compute/get/ComputeInstance.json
*/
/**
- * Sample code: Get a Kubernetes Compute.
+ * Sample code: Get an ComputeInstance.
*
* @param manager Entry point to MachineLearningManager.
*/
- public static void getAKubernetesCompute(com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
+ public static void getAnComputeInstance(com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
manager.computes()
.getWithResponse("testrg123", "workspaces123", "compute123", com.azure.core.util.Context.NONE);
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Compute/get/ComputeInstance.json
+ * x-ms-original-file: 2026-07-01/Compute/get/KubernetesCompute.json
*/
/**
- * Sample code: Get an ComputeInstance.
+ * Sample code: Get a Kubernetes Compute.
*
* @param manager Entry point to MachineLearningManager.
*/
- public static void getAnComputeInstance(com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
+ public static void getAKubernetesCompute(com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
manager.computes()
.getWithResponse("testrg123", "workspaces123", "compute123", com.azure.core.util.Context.NONE);
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Compute/get/AmlCompute.json
+ * x-ms-original-file: 2026-07-01/Compute/get/AmlCompute.json
*/
/**
* Sample code: Get a AML Compute.
@@ -1784,9 +1789,7 @@ public final class ComputeGetSamples {
*/
public final class ComputeListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Compute/list.json
+ * x-ms-original-file: 2026-07-01/Compute/list.json
*/
/**
* Sample code: Get Computes.
@@ -1807,9 +1810,7 @@ public final class ComputeListSamples {
*/
public final class ComputeListKeysSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Compute/listKeys.json
+ * x-ms-original-file: 2026-07-01/Compute/listKeys.json
*/
/**
* Sample code: List AKS Compute Keys.
@@ -1831,9 +1832,7 @@ public final class ComputeListKeysSamples {
*/
public final class ComputeListNodesSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Compute/listNodes.json
+ * x-ms-original-file: 2026-07-01/Compute/listNodes.json
*/
/**
* Sample code: Get compute nodes information for a compute.
@@ -1855,9 +1854,7 @@ public final class ComputeListNodesSamples {
*/
public final class ComputeRestartSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Compute/restart.json
+ * x-ms-original-file: 2026-07-01/Compute/restart.json
*/
/**
* Sample code: Restart ComputeInstance Compute.
@@ -1879,9 +1876,7 @@ public final class ComputeRestartSamples {
*/
public final class ComputeStartSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Compute/start.json
+ * x-ms-original-file: 2026-07-01/Compute/start.json
*/
/**
* Sample code: Start ComputeInstance Compute.
@@ -1903,9 +1898,7 @@ public final class ComputeStartSamples {
*/
public final class ComputeStopSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Compute/stop.json
+ * x-ms-original-file: 2026-07-01/Compute/stop.json
*/
/**
* Sample code: Stop ComputeInstance Compute.
@@ -1932,9 +1925,7 @@ import java.time.Duration;
*/
public final class ComputeUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Compute/patch.json
+ * x-ms-original-file: 2026-07-01/Compute/patch.json
*/
/**
* Sample code: Update a AmlCompute Compute.
@@ -1968,9 +1959,7 @@ import java.util.Map;
*/
public final class DataContainersCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/DataContainer/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Workspace/DataContainer/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Workspace Data Container.
@@ -1983,8 +1972,8 @@ public final class DataContainersCreateOrUpdateSamples {
.define("datacontainer123")
.withExistingWorkspace("testrg123", "workspace123")
.withProperties(new DataContainerProperties().withDescription("string")
- .withTags(mapOf("tag1", "value1", "tag2", "value2"))
.withProperties(mapOf("properties1", "value1", "properties2", "value2"))
+ .withTags(mapOf("tag1", "value1", "tag2", "value2"))
.withDataType(DataType.fromString("UriFile")))
.create();
}
@@ -2011,9 +2000,7 @@ public final class DataContainersCreateOrUpdateSamples {
*/
public final class DataContainersDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/DataContainer/delete.json
+ * x-ms-original-file: 2026-07-01/Workspace/DataContainer/delete.json
*/
/**
* Sample code: Delete Workspace Data Container.
@@ -2036,9 +2023,7 @@ public final class DataContainersDeleteSamples {
*/
public final class DataContainersGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/DataContainer/get.json
+ * x-ms-original-file: 2026-07-01/Workspace/DataContainer/get.json
*/
/**
* Sample code: Get Workspace Data Container.
@@ -2062,9 +2047,7 @@ public final class DataContainersGetSamples {
*/
public final class DataContainersListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/DataContainer/list.json
+ * x-ms-original-file: 2026-07-01/Workspace/DataContainer/list.json
*/
/**
* Sample code: List Workspace Data Container.
@@ -2090,9 +2073,7 @@ import java.util.Map;
*/
public final class DataVersionsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/DataVersionBase/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Workspace/DataVersionBase/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Workspace Data Version Base.
@@ -2103,10 +2084,10 @@ public final class DataVersionsCreateOrUpdateSamples {
com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
manager.dataVersions()
.define("string")
- .withExistingData("test-rg", "my-aml-workspace", "string")
+ .withExistingDatum("test-rg", "my-aml-workspace", "string")
.withProperties(new UriFileDataVersion().withDescription("string")
- .withTags(mapOf("string", "string"))
.withProperties(mapOf("string", "string"))
+ .withTags(mapOf("string", "string"))
.withIsAnonymous(false)
.withDataUri("string"))
.create();
@@ -2134,9 +2115,7 @@ public final class DataVersionsCreateOrUpdateSamples {
*/
public final class DataVersionsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/DataVersionBase/delete.json
+ * x-ms-original-file: 2026-07-01/Workspace/DataVersionBase/delete.json
*/
/**
* Sample code: Delete Workspace Data Version Base.
@@ -2159,9 +2138,7 @@ public final class DataVersionsDeleteSamples {
*/
public final class DataVersionsGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/DataVersionBase/get.json
+ * x-ms-original-file: 2026-07-01/Workspace/DataVersionBase/get.json
*/
/**
* Sample code: Get Workspace Data Version Base.
@@ -2185,9 +2162,7 @@ public final class DataVersionsGetSamples {
*/
public final class DataVersionsListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/DataVersionBase/list.json
+ * x-ms-original-file: 2026-07-01/Workspace/DataVersionBase/list.json
*/
/**
* Sample code: List Workspace Data Version Base.
@@ -2213,9 +2188,7 @@ import com.azure.resourcemanager.machinelearning.models.DestinationAsset;
*/
public final class DataVersionsPublishSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/DataVersionBase/publish.json
+ * x-ms-original-file: 2026-07-01/Workspace/DataVersionBase/publish.json
*/
/**
* Sample code: Publish Workspace Data Version Base.
@@ -2226,9 +2199,9 @@ public final class DataVersionsPublishSamples {
publishWorkspaceDataVersionBase(com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
manager.dataVersions()
.publish("test-rg", "my-aml-workspace", "string", "string",
- new DestinationAsset().withRegistryName("string")
- .withDestinationName("string")
- .withDestinationVersion("string"),
+ new DestinationAsset().withDestinationName("string")
+ .withDestinationVersion("string")
+ .withRegistryName("string"),
com.azure.core.util.Context.NONE);
}
}
@@ -2247,16 +2220,13 @@ import com.azure.resourcemanager.machinelearning.models.ServicePrincipalDatastor
import com.azure.resourcemanager.machinelearning.models.ServicePrincipalDatastoreSecrets;
import java.util.HashMap;
import java.util.Map;
-import java.util.UUID;
/**
* Samples for Datastores CreateOrUpdate.
*/
public final class DatastoresCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate datastore (Azure Data Lake Gen1 w/ ServicePrincipal).
@@ -2271,19 +2241,17 @@ public final class DatastoresCreateOrUpdateSamples {
.withProperties(new AzureDataLakeGen1Datastore().withDescription("string")
.withTags(mapOf("string", "string"))
.withCredentials(new ServicePrincipalDatastoreCredentials().withAuthorityUrl("string")
+ .withClientId("00000000-1111-2222-3333-444444444444")
.withResourceUrl("string")
- .withTenantId(UUID.fromString("00000000-1111-2222-3333-444444444444"))
- .withClientId(UUID.fromString("00000000-1111-2222-3333-444444444444"))
- .withSecrets(new ServicePrincipalDatastoreSecrets().withClientSecret("fakeTokenPlaceholder")))
+ .withSecrets(new ServicePrincipalDatastoreSecrets().withClientSecret("fakeTokenPlaceholder"))
+ .withTenantId("00000000-1111-2222-3333-444444444444"))
.withStoreName("string"))
.withSkipValidation(false)
.create();
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate datastore (Azure Data Lake Gen2 w/ Service Principal).
@@ -2298,22 +2266,20 @@ public final class DatastoresCreateOrUpdateSamples {
.withProperties(new AzureDataLakeGen2Datastore().withDescription("string")
.withTags(mapOf("string", "string"))
.withCredentials(new ServicePrincipalDatastoreCredentials().withAuthorityUrl("string")
+ .withClientId("00000000-1111-2222-3333-444444444444")
.withResourceUrl("string")
- .withTenantId(UUID.fromString("00000000-1111-2222-3333-444444444444"))
- .withClientId(UUID.fromString("00000000-1111-2222-3333-444444444444"))
- .withSecrets(new ServicePrincipalDatastoreSecrets().withClientSecret("fakeTokenPlaceholder")))
- .withFilesystem("string")
+ .withSecrets(new ServicePrincipalDatastoreSecrets().withClientSecret("fakeTokenPlaceholder"))
+ .withTenantId("00000000-1111-2222-3333-444444444444"))
.withAccountName("string")
.withEndpoint("string")
+ .withFilesystem("string")
.withProtocol("string"))
.withSkipValidation(false)
.create();
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Datastore/AzureBlobWAccountKey/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate datastore (AzureBlob w/ AccountKey).
@@ -2338,9 +2304,7 @@ public final class DatastoresCreateOrUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Datastore/AzureFileWAccountKey/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Datastore/AzureFileWAccountKey/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate datastore (Azure File store w/ AccountKey).
@@ -2357,8 +2321,8 @@ public final class DatastoresCreateOrUpdateSamples {
.withCredentials(new AccountKeyDatastoreCredentials()
.withSecrets(new AccountKeyDatastoreSecrets().withKey("fakeTokenPlaceholder")))
.withAccountName("string")
- .withFileShareName("string")
.withEndpoint("string")
+ .withFileShareName("string")
.withProtocol("string"))
.withSkipValidation(false)
.create();
@@ -2386,9 +2350,7 @@ public final class DatastoresCreateOrUpdateSamples {
*/
public final class DatastoresDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Datastore/delete.json
+ * x-ms-original-file: 2026-07-01/Datastore/delete.json
*/
/**
* Sample code: Delete datastore.
@@ -2410,9 +2372,7 @@ public final class DatastoresDeleteSamples {
*/
public final class DatastoresGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Datastore/get.json
+ * x-ms-original-file: 2026-07-01/Datastore/get.json
*/
/**
* Sample code: Get datastore.
@@ -2435,9 +2395,7 @@ import java.util.Arrays;
*/
public final class DatastoresListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Datastore/list.json
+ * x-ms-original-file: 2026-07-01/Datastore/list.json
*/
/**
* Sample code: List datastores.
@@ -2455,14 +2413,14 @@ public final class DatastoresListSamples {
### Datastores_ListSecrets
```java
+import com.azure.resourcemanager.machinelearning.models.SecretExpiry;
+
/**
* Samples for Datastores ListSecrets.
*/
public final class DatastoresListSecretsSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Datastore/listSecrets.json
+ * x-ms-original-file: 2026-07-01/Datastore/listSecrets.json
*/
/**
* Sample code: Get datastore secrets.
@@ -2471,7 +2429,9 @@ public final class DatastoresListSecretsSamples {
*/
public static void getDatastoreSecrets(com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
manager.datastores()
- .listSecretsWithResponse("test-rg", "my-aml-workspace", "string", com.azure.core.util.Context.NONE);
+ .listSecretsWithResponse("test-rg", "my-aml-workspace", "string",
+ new SecretExpiry().withExpirableSecret(false).withExpireAfterHours(1),
+ com.azure.core.util.Context.NONE);
}
}
```
@@ -2488,9 +2448,7 @@ import java.util.Map;
*/
public final class EnvironmentContainersCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/EnvironmentContainer/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Workspace/EnvironmentContainer/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Workspace Environment Container.
@@ -2503,9 +2461,9 @@ public final class EnvironmentContainersCreateOrUpdateSamples {
.define("testEnvironment")
.withExistingWorkspace("testrg123", "testworkspace")
.withProperties(new EnvironmentContainerProperties().withDescription("string")
- .withTags(mapOf("additionalProp1", "string", "additionalProp2", "string", "additionalProp3", "string"))
.withProperties(
- mapOf("additionalProp1", "string", "additionalProp2", "string", "additionalProp3", "string")))
+ mapOf("additionalProp1", "string", "additionalProp2", "string", "additionalProp3", "string"))
+ .withTags(mapOf("additionalProp1", "string", "additionalProp2", "string", "additionalProp3", "string")))
.create();
}
@@ -2531,9 +2489,7 @@ public final class EnvironmentContainersCreateOrUpdateSamples {
*/
public final class EnvironmentContainersDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/EnvironmentContainer/delete.json
+ * x-ms-original-file: 2026-07-01/Workspace/EnvironmentContainer/delete.json
*/
/**
* Sample code: Delete Workspace Environment Container.
@@ -2556,9 +2512,7 @@ public final class EnvironmentContainersDeleteSamples {
*/
public final class EnvironmentContainersGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/EnvironmentContainer/get.json
+ * x-ms-original-file: 2026-07-01/Workspace/EnvironmentContainer/get.json
*/
/**
* Sample code: Get Workspace Environment Container.
@@ -2582,9 +2536,7 @@ public final class EnvironmentContainersGetSamples {
*/
public final class EnvironmentContainersListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/EnvironmentContainer/list.json
+ * x-ms-original-file: 2026-07-01/Workspace/EnvironmentContainer/list.json
*/
/**
* Sample code: List Workspace Environment Container.
@@ -2614,9 +2566,7 @@ import java.util.Map;
*/
public final class EnvironmentVersionsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/EnvironmentVersion/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Workspace/EnvironmentVersion/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Workspace Environment Version.
@@ -2629,14 +2579,14 @@ public final class EnvironmentVersionsCreateOrUpdateSamples {
.define("string")
.withExistingEnvironment("test-rg", "my-aml-workspace", "string")
.withProperties(new EnvironmentVersionProperties().withDescription("string")
- .withTags(mapOf("string", "string"))
.withProperties(mapOf("string", "string"))
+ .withTags(mapOf("string", "string"))
.withIsAnonymous(false)
- .withImage("docker.io/tensorflow/serving:latest")
- .withCondaFile("string")
.withBuild(new BuildContext().withContextUri(
"https://storage-account.blob.core.windows.net/azureml/DockerBuildContext/95ddede6b9b8c4e90472db3acd0a8d28/")
.withDockerfilePath("prod/Dockerfile"))
+ .withCondaFile("string")
+ .withImage("docker.io/tensorflow/serving:latest")
.withInferenceConfig(
new InferenceContainerProperties().withLivenessRoute(new Route().withPath("string").withPort(1))
.withReadinessRoute(new Route().withPath("string").withPort(1))
@@ -2666,9 +2616,7 @@ public final class EnvironmentVersionsCreateOrUpdateSamples {
*/
public final class EnvironmentVersionsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/EnvironmentVersion/delete.json
+ * x-ms-original-file: 2026-07-01/Workspace/EnvironmentVersion/delete.json
*/
/**
* Sample code: Delete Workspace Environment Version.
@@ -2691,9 +2639,7 @@ public final class EnvironmentVersionsDeleteSamples {
*/
public final class EnvironmentVersionsGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/EnvironmentVersion/get.json
+ * x-ms-original-file: 2026-07-01/Workspace/EnvironmentVersion/get.json
*/
/**
* Sample code: Get Workspace Environment Version.
@@ -2717,9 +2663,7 @@ public final class EnvironmentVersionsGetSamples {
*/
public final class EnvironmentVersionsListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/EnvironmentVersion/list.json
+ * x-ms-original-file: 2026-07-01/Workspace/EnvironmentVersion/list.json
*/
/**
* Sample code: List Workspace Environment Version.
@@ -2744,9 +2688,7 @@ import com.azure.resourcemanager.machinelearning.models.DestinationAsset;
*/
public final class EnvironmentVersionsPublishSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/EnvironmentVersion/publish.json
+ * x-ms-original-file: 2026-07-01/Workspace/EnvironmentVersion/publish.json
*/
/**
* Sample code: Publish Workspace Environment Version.
@@ -2757,9 +2699,9 @@ public final class EnvironmentVersionsPublishSamples {
publishWorkspaceEnvironmentVersion(com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
manager.environmentVersions()
.publish("test-rg", "my-aml-workspace", "string", "string",
- new DestinationAsset().withRegistryName("string")
- .withDestinationName("string")
- .withDestinationVersion("string"),
+ new DestinationAsset().withDestinationName("string")
+ .withDestinationVersion("string")
+ .withRegistryName("string"),
com.azure.core.util.Context.NONE);
}
}
@@ -2773,9 +2715,7 @@ public final class EnvironmentVersionsPublishSamples {
*/
public final class FeaturesGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Feature/get.json
+ * x-ms-original-file: 2026-07-01/Feature/get.json
*/
/**
* Sample code: Get Feature.
@@ -2799,9 +2739,7 @@ public final class FeaturesGetSamples {
*/
public final class FeaturesListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Feature/list.json
+ * x-ms-original-file: 2026-07-01/Feature/list.json
*/
/**
* Sample code: List Feature.
@@ -2828,9 +2766,7 @@ import java.util.Map;
*/
public final class FeaturesetContainersCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/FeaturesetContainer/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Workspace/FeaturesetContainer/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Workspace Featureset Container.
@@ -2843,8 +2779,8 @@ public final class FeaturesetContainersCreateOrUpdateSamples {
.define("string")
.withExistingWorkspace("test-rg", "my-aml-workspace")
.withProperties(new FeaturesetContainerProperties().withDescription("string")
- .withTags(mapOf("string", "string"))
.withProperties(mapOf("string", "string"))
+ .withTags(mapOf("string", "string"))
.withIsArchived(false))
.create();
}
@@ -2871,9 +2807,7 @@ public final class FeaturesetContainersCreateOrUpdateSamples {
*/
public final class FeaturesetContainersDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/FeaturesetContainer/delete.json
+ * x-ms-original-file: 2026-07-01/Workspace/FeaturesetContainer/delete.json
*/
/**
* Sample code: Delete Workspace Featureset Container.
@@ -2896,9 +2830,7 @@ public final class FeaturesetContainersDeleteSamples {
*/
public final class FeaturesetContainersGetEntitySamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/FeaturesetContainer/getEntity.json
+ * x-ms-original-file: 2026-07-01/Workspace/FeaturesetContainer/getEntity.json
*/
/**
* Sample code: GetEntity Workspace Featureset Container.
@@ -2923,9 +2855,7 @@ import com.azure.resourcemanager.machinelearning.models.ListViewType;
*/
public final class FeaturesetContainersListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/FeaturesetContainer/list.json
+ * x-ms-original-file: 2026-07-01/Workspace/FeaturesetContainer/list.json
*/
/**
* Sample code: List Workspace Featureset Container.
@@ -2945,8 +2875,8 @@ public final class FeaturesetContainersListSamples {
```java
import com.azure.resourcemanager.machinelearning.models.DataAvailabilityStatus;
-import com.azure.resourcemanager.machinelearning.models.FeaturesetVersionBackfillRequest;
import com.azure.resourcemanager.machinelearning.models.FeatureWindow;
+import com.azure.resourcemanager.machinelearning.models.FeaturesetVersionBackfillRequest;
import com.azure.resourcemanager.machinelearning.models.MaterializationComputeResource;
import java.time.OffsetDateTime;
import java.util.Arrays;
@@ -2958,9 +2888,7 @@ import java.util.Map;
*/
public final class FeaturesetVersionsBackfillSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/FeaturesetVersion/backfill.json
+ * x-ms-original-file: 2026-07-01/Workspace/FeaturesetVersion/backfill.json
*/
/**
* Sample code: Backfill Workspace Featureset Version.
@@ -2971,16 +2899,17 @@ public final class FeaturesetVersionsBackfillSamples {
backfillWorkspaceFeaturesetVersion(com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
manager.featuresetVersions()
.backfill("test-rg", "my-aml-workspace", "string", "string",
- new FeaturesetVersionBackfillRequest().withDisplayName("string")
- .withDescription("string")
- .withFeatureWindow(new FeatureWindow()
- .withFeatureWindowStart(OffsetDateTime.parse("2020-01-01T12:34:56.999+00:51"))
- .withFeatureWindowEnd(OffsetDateTime.parse("2020-01-01T12:34:56.999+00:51")))
+ new FeaturesetVersionBackfillRequest()
.withDataAvailabilityStatus(Arrays.asList(DataAvailabilityStatus.NONE))
+ .withDescription("string")
+ .withDisplayName("string")
+ .withFeatureWindow(
+ new FeatureWindow().withFeatureWindowEnd(OffsetDateTime.parse("2020-01-01T12:34:56.999+00:51"))
+ .withFeatureWindowStart(OffsetDateTime.parse("2020-01-01T12:34:56.999+00:51")))
.withJobId("string")
- .withTags(mapOf("string", "string"))
.withResource(new MaterializationComputeResource().withInstanceType("string"))
- .withSparkConfiguration(mapOf("string", "string")),
+ .withSparkConfiguration(mapOf("string", "string"))
+ .withTags(mapOf("string", "string")),
com.azure.core.util.Context.NONE);
}
@@ -3021,9 +2950,7 @@ import java.util.Map;
*/
public final class FeaturesetVersionsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/FeaturesetVersion/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Workspace/FeaturesetVersion/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Workspace Featureset Version.
@@ -3036,28 +2963,29 @@ public final class FeaturesetVersionsCreateOrUpdateSamples {
.define("string")
.withExistingFeatureset("test-rg", "my-aml-workspace", "string")
.withProperties(new FeaturesetVersionProperties().withDescription("string")
- .withTags(mapOf("string", "string"))
.withProperties(mapOf("string", "string"))
- .withIsArchived(false)
+ .withTags(mapOf("string", "string"))
.withIsAnonymous(false)
+ .withIsArchived(false)
+ .withEntities(Arrays.asList("string"))
+ .withMaterializationSettings(new MaterializationSettings()
+ .withNotification(
+ new NotificationSetting().withEmailOn(Arrays.asList(EmailNotificationEnableType.JOB_FAILED))
+ .withEmails(Arrays.asList("string")))
+ .withResource(new MaterializationComputeResource().withInstanceType("string"))
+ .withSchedule(new RecurrenceTrigger().withEndTime("string")
+ .withStartTime("string")
+ .withTimeZone("string")
+ .withFrequency(RecurrenceFrequency.DAY)
+ .withInterval(1)
+ .withSchedule(new RecurrenceSchedule().withHours(Arrays.asList(1))
+ .withMinutes(Arrays.asList(1))
+ .withMonthDays(Arrays.asList(1))
+ .withWeekDays(Arrays.asList(WeekDay.MONDAY))))
+ .withSparkConfiguration(mapOf("string", "string"))
+ .withStoreType(MaterializationStoreType.ONLINE))
.withSpecification(new FeaturesetSpecification().withPath("string"))
- .withMaterializationSettings(
- new MaterializationSettings().withStoreType(MaterializationStoreType.ONLINE)
- .withSchedule(new RecurrenceTrigger().withEndTime("string")
- .withStartTime("string")
- .withTimeZone("string")
- .withFrequency(RecurrenceFrequency.DAY)
- .withInterval(1)
- .withSchedule(new RecurrenceSchedule().withHours(Arrays.asList(1))
- .withMinutes(Arrays.asList(1))
- .withWeekDays(Arrays.asList(WeekDay.MONDAY))
- .withMonthDays(Arrays.asList(1))))
- .withNotification(new NotificationSetting().withEmails(Arrays.asList("string"))
- .withEmailOn(Arrays.asList(EmailNotificationEnableType.JOB_FAILED)))
- .withResource(new MaterializationComputeResource().withInstanceType("string"))
- .withSparkConfiguration(mapOf("string", "string")))
- .withStage("string")
- .withEntities(Arrays.asList("string")))
+ .withStage("string"))
.create();
}
@@ -3083,9 +3011,7 @@ public final class FeaturesetVersionsCreateOrUpdateSamples {
*/
public final class FeaturesetVersionsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/FeaturesetVersion/delete.json
+ * x-ms-original-file: 2026-07-01/Workspace/FeaturesetVersion/delete.json
*/
/**
* Sample code: Delete Workspace Featureset Version.
@@ -3108,9 +3034,7 @@ public final class FeaturesetVersionsDeleteSamples {
*/
public final class FeaturesetVersionsGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/FeaturesetVersion/get.json
+ * x-ms-original-file: 2026-07-01/Workspace/FeaturesetVersion/get.json
*/
/**
* Sample code: Get Workspace Featureset Version.
@@ -3135,9 +3059,7 @@ import com.azure.resourcemanager.machinelearning.models.ListViewType;
*/
public final class FeaturesetVersionsListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/FeaturesetVersion/list.json
+ * x-ms-original-file: 2026-07-01/Workspace/FeaturesetVersion/list.json
*/
/**
* Sample code: List Workspace Featureset Version.
@@ -3165,9 +3087,7 @@ import java.util.Map;
*/
public final class FeaturestoreEntityContainersCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/FeaturestoreEntityContainer/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Workspace/FeaturestoreEntityContainer/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Workspace Featurestore Entity Container.
@@ -3180,8 +3100,8 @@ public final class FeaturestoreEntityContainersCreateOrUpdateSamples {
.define("string")
.withExistingWorkspace("test-rg", "my-aml-workspace")
.withProperties(new FeaturestoreEntityContainerProperties().withDescription("string")
- .withTags(mapOf("string", "string"))
.withProperties(mapOf("string", "string"))
+ .withTags(mapOf("string", "string"))
.withIsArchived(false))
.create();
}
@@ -3208,9 +3128,7 @@ public final class FeaturestoreEntityContainersCreateOrUpdateSamples {
*/
public final class FeaturestoreEntityContainersDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/FeaturestoreEntityContainer/delete.json
+ * x-ms-original-file: 2026-07-01/Workspace/FeaturestoreEntityContainer/delete.json
*/
/**
* Sample code: Delete Workspace Featurestore Entity Container.
@@ -3233,9 +3151,7 @@ public final class FeaturestoreEntityContainersDeleteSamples {
*/
public final class FeaturestoreEntityContainersGetEntitySamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/FeaturestoreEntityContainer/getEntity.json
+ * x-ms-original-file: 2026-07-01/Workspace/FeaturestoreEntityContainer/getEntity.json
*/
/**
* Sample code: GetEntity Workspace Featurestore Entity Container.
@@ -3260,9 +3176,7 @@ import com.azure.resourcemanager.machinelearning.models.ListViewType;
*/
public final class FeaturestoreEntityContainersListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/FeaturestoreEntityContainer/list.json
+ * x-ms-original-file: 2026-07-01/Workspace/FeaturestoreEntityContainer/list.json
*/
/**
* Sample code: List Workspace Featurestore Entity Container.
@@ -3293,9 +3207,7 @@ import java.util.Map;
*/
public final class FeaturestoreEntityVersionsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/FeaturestoreEntityVersion/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Workspace/FeaturestoreEntityVersion/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Workspace Featurestore Entity Version.
@@ -3309,12 +3221,12 @@ public final class FeaturestoreEntityVersionsCreateOrUpdateSamples {
.withExistingFeaturestoreEntity("test-rg", "my-aml-workspace", "string")
.withProperties(
new FeaturestoreEntityVersionProperties().withDescription("string")
- .withTags(mapOf("string", "string"))
.withProperties(mapOf("string", "string"))
- .withIsArchived(false)
+ .withTags(mapOf("string", "string"))
.withIsAnonymous(false)
+ .withIsArchived(false)
.withIndexColumns(Arrays
- .asList(new IndexColumn().withDataType(FeatureDataType.DATETIME).withColumnName("string"))))
+ .asList(new IndexColumn().withColumnName("string").withDataType(FeatureDataType.DATETIME))))
.create();
}
@@ -3340,9 +3252,7 @@ public final class FeaturestoreEntityVersionsCreateOrUpdateSamples {
*/
public final class FeaturestoreEntityVersionsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/FeaturestoreEntityVersion/delete.json
+ * x-ms-original-file: 2026-07-01/Workspace/FeaturestoreEntityVersion/delete.json
*/
/**
* Sample code: Delete Workspace Featurestore Entity Version.
@@ -3365,9 +3275,7 @@ public final class FeaturestoreEntityVersionsDeleteSamples {
*/
public final class FeaturestoreEntityVersionsGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/FeaturestoreEntityVersion/get.json
+ * x-ms-original-file: 2026-07-01/Workspace/FeaturestoreEntityVersion/get.json
*/
/**
* Sample code: Get Workspace Featurestore Entity Version.
@@ -3392,9 +3300,7 @@ import com.azure.resourcemanager.machinelearning.models.ListViewType;
*/
public final class FeaturestoreEntityVersionsListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/FeaturestoreEntityVersion/list.json
+ * x-ms-original-file: 2026-07-01/Workspace/FeaturestoreEntityVersion/list.json
*/
/**
* Sample code: List Workspace Featurestore Entity Version.
@@ -3418,9 +3324,7 @@ public final class FeaturestoreEntityVersionsListSamples {
*/
public final class JobsCancelSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Job/cancel.json
+ * x-ms-original-file: 2026-07-01/Job/cancel.json
*/
/**
* Sample code: Cancel Job.
@@ -3451,8 +3355,8 @@ import com.azure.resourcemanager.machinelearning.models.ImageModelSettingsClassi
import com.azure.resourcemanager.machinelearning.models.JobResourceConfiguration;
import com.azure.resourcemanager.machinelearning.models.JobService;
import com.azure.resourcemanager.machinelearning.models.LiteralJobInput;
-import com.azure.resourcemanager.machinelearning.models.MedianStoppingPolicy;
import com.azure.resourcemanager.machinelearning.models.MLTableJobInput;
+import com.azure.resourcemanager.machinelearning.models.MedianStoppingPolicy;
import com.azure.resourcemanager.machinelearning.models.Mpi;
import com.azure.resourcemanager.machinelearning.models.Objective;
import com.azure.resourcemanager.machinelearning.models.OutputDeliveryMode;
@@ -3473,9 +3377,7 @@ import java.util.Map;
*/
public final class JobsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Job/AutoMLJob/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Job/AutoMLJob/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate AutoML Job.
@@ -3488,43 +3390,41 @@ public final class JobsCreateOrUpdateSamples {
.define("string")
.withExistingWorkspace("test-rg", "my-aml-workspace")
.withProperties(new AutoMLJob().withDescription("string")
- .withTags(mapOf("string", "string"))
.withProperties(mapOf("string", "string"))
+ .withTags(mapOf("string", "string"))
+ .withComputeId("string")
.withDisplayName("string")
.withExperimentName("string")
+ .withIdentity(new AmlToken())
+ .withIsArchived(false)
.withServices(mapOf("string",
- new JobService().withJobServiceType("string")
+ new JobService().withEndpoint("string")
+ .withJobServiceType("string")
.withPort(1)
- .withEndpoint("string")
.withProperties(mapOf("string", "string"))))
- .withComputeId("string")
- .withIsArchived(false)
- .withIdentity(new AmlToken())
+ .withEnvironmentId("string")
+ .withEnvironmentVariables(mapOf("string", "string"))
+ .withOutputs(mapOf("string",
+ new UriFileJobOutput().withDescription("string")
+ .withMode(OutputDeliveryMode.READ_WRITE_MOUNT)
+ .withUri("string")))
.withResources(new JobResourceConfiguration().withInstanceCount(1)
.withInstanceType("string")
.withProperties(mapOf("string",
SerializerFactory.createDefaultManagementSerializerAdapter()
.deserialize("{\"9bec0ab0-c62f-4fa9-a97c-7b24bbcc90ad\":null}", Object.class,
SerializerEncoding.JSON))))
- .withEnvironmentId("string")
- .withEnvironmentVariables(mapOf("string", "string"))
- .withTaskDetails(new ImageClassification().withTrainingData(new MLTableJobInput().withUri("string"))
- .withTargetColumnName("string")
+ .withTaskDetails(new ImageClassification().withTargetColumnName("string")
+ .withTrainingData(new MLTableJobInput().withUri("string"))
.withModelSettings(new ImageModelSettingsClassification().withValidationCropSize(2))
.withSearchSpace(Arrays.asList(
new ImageModelDistributionSettingsClassification().withValidationCropSize("choice(2, 360)")))
- .withLimitSettings(new ImageLimitSettings().withMaxTrials(2)))
- .withOutputs(mapOf("string",
- new UriFileJobOutput().withDescription("string")
- .withUri("string")
- .withMode(OutputDeliveryMode.READ_WRITE_MOUNT))))
+ .withLimitSettings(new ImageLimitSettings().withMaxTrials(2))))
.create();
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Job/SweepJob/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Job/SweepJob/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Sweep Job.
@@ -3537,29 +3437,29 @@ public final class JobsCreateOrUpdateSamples {
.define("string")
.withExistingWorkspace("test-rg", "my-aml-workspace")
.withProperties(new SweepJob().withDescription("string")
- .withTags(mapOf("string", "string"))
.withProperties(mapOf("string", "string"))
+ .withTags(mapOf("string", "string"))
+ .withComputeId("string")
.withDisplayName("string")
.withExperimentName("string")
.withServices(mapOf("string",
- new JobService().withJobServiceType("string")
+ new JobService().withEndpoint("string")
+ .withJobServiceType("string")
.withPort(1)
- .withEndpoint("string")
.withProperties(mapOf("string", "string"))))
- .withComputeId("string")
+ .withEarlyTermination(new MedianStoppingPolicy().withDelayEvaluation(1).withEvaluationInterval(1))
+ .withLimits(new SweepJobLimits().withMaxConcurrentTrials(1)
+ .withMaxTotalTrials(1)
+ .withTrialTimeout(Duration.parse("PT1S")))
+ .withObjective(new Objective().withGoal(Goal.MINIMIZE).withPrimaryMetric("string"))
+ .withSamplingAlgorithm(new GridSamplingAlgorithm())
.withSearchSpace(SerializerFactory.createDefaultManagementSerializerAdapter()
.deserialize("{\"string\":{}}", Object.class, SerializerEncoding.JSON))
- .withSamplingAlgorithm(new GridSamplingAlgorithm())
- .withLimits(new SweepJobLimits().withMaxTotalTrials(1)
- .withMaxConcurrentTrials(1)
- .withTrialTimeout(Duration.parse("PT1S")))
- .withEarlyTermination(new MedianStoppingPolicy().withEvaluationInterval(1).withDelayEvaluation(1))
- .withObjective(new Objective().withPrimaryMetric("string").withGoal(Goal.MINIMIZE))
.withTrial(new TrialComponent().withCodeId("fakeTokenPlaceholder")
.withCommand("string")
+ .withDistribution(new Mpi().withProcessCountPerInstance(1))
.withEnvironmentId("string")
.withEnvironmentVariables(mapOf("string", "string"))
- .withDistribution(new Mpi().withProcessCountPerInstance(1))
.withResources(new JobResourceConfiguration().withInstanceCount(1)
.withInstanceType("string")
.withProperties(mapOf("string",
@@ -3570,9 +3470,7 @@ public final class JobsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Job/PipelineJob/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Job/PipelineJob/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Pipeline Job.
@@ -3585,30 +3483,28 @@ public final class JobsCreateOrUpdateSamples {
.define("string")
.withExistingWorkspace("test-rg", "my-aml-workspace")
.withProperties(new PipelineJob().withDescription("string")
- .withTags(mapOf("string", "string"))
.withProperties(mapOf("string", "string"))
+ .withTags(mapOf("string", "string"))
+ .withComputeId("string")
.withDisplayName("string")
.withExperimentName("string")
.withServices(mapOf("string",
- new JobService().withJobServiceType("string")
+ new JobService().withEndpoint("string")
+ .withJobServiceType("string")
.withPort(1)
- .withEndpoint("string")
.withProperties(mapOf("string", "string"))))
- .withComputeId("string")
- .withSettings(SerializerFactory.createDefaultManagementSerializerAdapter()
- .deserialize("{}", Object.class, SerializerEncoding.JSON))
.withInputs(mapOf("string", new LiteralJobInput().withDescription("string").withValue("string")))
.withOutputs(mapOf("string",
new UriFileJobOutput().withDescription("string")
- .withUri("string")
- .withMode(OutputDeliveryMode.UPLOAD))))
+ .withMode(OutputDeliveryMode.UPLOAD)
+ .withUri("string")))
+ .withSettings(SerializerFactory.createDefaultManagementSerializerAdapter()
+ .deserialize("{}", Object.class, SerializerEncoding.JSON)))
.create();
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Job/CommandJob/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Job/CommandJob/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Command Job.
@@ -3621,34 +3517,34 @@ public final class JobsCreateOrUpdateSamples {
.define("string")
.withExistingWorkspace("test-rg", "my-aml-workspace")
.withProperties(new CommandJob().withDescription("string")
- .withTags(mapOf("string", "string"))
.withProperties(mapOf("string", "string"))
+ .withTags(mapOf("string", "string"))
+ .withComputeId("string")
.withDisplayName("string")
.withExperimentName("string")
+ .withIdentity(new AmlToken())
.withServices(mapOf("string",
- new JobService().withJobServiceType("string")
+ new JobService().withEndpoint("string")
+ .withJobServiceType("string")
.withPort(1)
- .withEndpoint("string")
.withProperties(mapOf("string", "string"))))
- .withComputeId("string")
- .withIdentity(new AmlToken())
- .withResources(new JobResourceConfiguration().withInstanceCount(1)
- .withInstanceType("string")
- .withProperties(mapOf("string",
- SerializerFactory.createDefaultManagementSerializerAdapter()
- .deserialize("{\"e6b6493e-7d5e-4db3-be1e-306ec641327e\":null}", Object.class,
- SerializerEncoding.JSON))))
.withCodeId("fakeTokenPlaceholder")
.withCommand("string")
+ .withDistribution(new TensorFlow().withParameterServerCount(1).withWorkerCount(1))
.withEnvironmentId("string")
+ .withEnvironmentVariables(mapOf("string", "string"))
.withInputs(mapOf("string", new LiteralJobInput().withDescription("string").withValue("string")))
+ .withLimits(new CommandJobLimits().withTimeout(Duration.parse("PT5M")))
.withOutputs(mapOf("string",
new UriFileJobOutput().withDescription("string")
- .withUri("string")
- .withMode(OutputDeliveryMode.READ_WRITE_MOUNT)))
- .withDistribution(new TensorFlow().withWorkerCount(1).withParameterServerCount(1))
- .withLimits(new CommandJobLimits().withTimeout(Duration.parse("PT5M")))
- .withEnvironmentVariables(mapOf("string", "string")))
+ .withMode(OutputDeliveryMode.READ_WRITE_MOUNT)
+ .withUri("string")))
+ .withResources(new JobResourceConfiguration().withInstanceCount(1)
+ .withInstanceType("string")
+ .withProperties(mapOf("string",
+ SerializerFactory.createDefaultManagementSerializerAdapter()
+ .deserialize("{\"e6b6493e-7d5e-4db3-be1e-306ec641327e\":null}", Object.class,
+ SerializerEncoding.JSON)))))
.create();
}
@@ -3674,9 +3570,7 @@ public final class JobsCreateOrUpdateSamples {
*/
public final class JobsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Job/delete.json
+ * x-ms-original-file: 2026-07-01/Job/delete.json
*/
/**
* Sample code: Delete Job.
@@ -3700,9 +3594,7 @@ public final class JobsDeleteSamples {
*/
public final class JobsGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Job/CommandJob/get.json
+ * x-ms-original-file: 2026-07-01/Job/CommandJob/get.json
*/
/**
* Sample code: Get Command Job.
@@ -3714,9 +3606,7 @@ public final class JobsGetSamples {
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Job/AutoMLJob/get.json
+ * x-ms-original-file: 2026-07-01/Job/AutoMLJob/get.json
*/
/**
* Sample code: Get AutoML Job.
@@ -3728,9 +3618,7 @@ public final class JobsGetSamples {
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Job/SweepJob/get.json
+ * x-ms-original-file: 2026-07-01/Job/SweepJob/get.json
*/
/**
* Sample code: Get Sweep Job.
@@ -3742,9 +3630,7 @@ public final class JobsGetSamples {
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Job/PipelineJob/get.json
+ * x-ms-original-file: 2026-07-01/Job/PipelineJob/get.json
*/
/**
* Sample code: Get Pipeline Job.
@@ -3766,9 +3652,7 @@ public final class JobsGetSamples {
*/
public final class JobsListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Job/CommandJob/list.json
+ * x-ms-original-file: 2026-07-01/Job/CommandJob/list.json
*/
/**
* Sample code: List Command Job.
@@ -3782,9 +3666,7 @@ public final class JobsListSamples {
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Job/PipelineJob/list.json
+ * x-ms-original-file: 2026-07-01/Job/PipelineJob/list.json
*/
/**
* Sample code: List Pipeline Job.
@@ -3798,9 +3680,7 @@ public final class JobsListSamples {
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Job/SweepJob/list.json
+ * x-ms-original-file: 2026-07-01/Job/SweepJob/list.json
*/
/**
* Sample code: List Sweep Job.
@@ -3814,9 +3694,7 @@ public final class JobsListSamples {
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Job/AutoMLJob/list.json
+ * x-ms-original-file: 2026-07-01/Job/AutoMLJob/list.json
*/
/**
* Sample code: List AutoML Job.
@@ -3840,9 +3718,7 @@ import com.azure.resourcemanager.machinelearning.models.ManagedNetworkProvisionO
*/
public final class ManagedNetworkProvisionsProvisionManagedNetworkSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/ManagedNetwork/provision.json
+ * x-ms-original-file: 2026-07-01/ManagedNetwork/provision.json
*/
/**
* Sample code: Provision ManagedNetwork.
@@ -3870,9 +3746,7 @@ import com.azure.resourcemanager.machinelearning.models.RuleStatus;
*/
public final class ManagedNetworkSettingsRuleCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/ManagedNetwork/createOrUpdateRule.json
+ * x-ms-original-file: 2026-07-01/ManagedNetwork/createOrUpdateRule.json
*/
/**
* Sample code: CreateOrUpdate ManagedNetworkSettingsRule.
@@ -3900,9 +3774,7 @@ public final class ManagedNetworkSettingsRuleCreateOrUpdateSamples {
*/
public final class ManagedNetworkSettingsRuleDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/ManagedNetwork/deleteRule.json
+ * x-ms-original-file: 2026-07-01/ManagedNetwork/deleteRule.json
*/
/**
* Sample code: Delete ManagedNetworkSettingsRule.
@@ -3925,9 +3797,7 @@ public final class ManagedNetworkSettingsRuleDeleteSamples {
*/
public final class ManagedNetworkSettingsRuleGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/ManagedNetwork/getRule.json
+ * x-ms-original-file: 2026-07-01/ManagedNetwork/getRule.json
*/
/**
* Sample code: Get ManagedNetworkSettingsRule.
@@ -3951,9 +3821,7 @@ public final class ManagedNetworkSettingsRuleGetSamples {
*/
public final class ManagedNetworkSettingsRuleListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/ManagedNetwork/listRule.json
+ * x-ms-original-file: 2026-07-01/ManagedNetwork/listRule.json
*/
/**
* Sample code: List ManagedNetworkSettingsRule.
@@ -3977,9 +3845,7 @@ import com.azure.resourcemanager.machinelearning.models.MarketplaceSubscriptionP
*/
public final class MarketplaceSubscriptionsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/MarketplaceSubscription/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Workspace/MarketplaceSubscription/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Workspace Marketplace Subscription.
@@ -4005,9 +3871,7 @@ public final class MarketplaceSubscriptionsCreateOrUpdateSamples {
*/
public final class MarketplaceSubscriptionsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/MarketplaceSubscription/delete.json
+ * x-ms-original-file: 2026-07-01/Workspace/MarketplaceSubscription/delete.json
*/
/**
* Sample code: Delete Workspace Marketplace Subscription.
@@ -4030,9 +3894,7 @@ public final class MarketplaceSubscriptionsDeleteSamples {
*/
public final class MarketplaceSubscriptionsGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/MarketplaceSubscription/get.json
+ * x-ms-original-file: 2026-07-01/Workspace/MarketplaceSubscription/get.json
*/
/**
* Sample code: Get Workspace Marketplace Subscription.
@@ -4055,9 +3917,7 @@ public final class MarketplaceSubscriptionsGetSamples {
*/
public final class MarketplaceSubscriptionsListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/MarketplaceSubscription/list.json
+ * x-ms-original-file: 2026-07-01/Workspace/MarketplaceSubscription/list.json
*/
/**
* Sample code: List Workspace Marketplace Subscription.
@@ -4083,9 +3943,7 @@ import java.util.Map;
*/
public final class ModelContainersCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/ModelContainer/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Workspace/ModelContainer/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Workspace Model Container.
@@ -4124,9 +3982,7 @@ public final class ModelContainersCreateOrUpdateSamples {
*/
public final class ModelContainersDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/ModelContainer/delete.json
+ * x-ms-original-file: 2026-07-01/Workspace/ModelContainer/delete.json
*/
/**
* Sample code: Delete Workspace Model Container.
@@ -4149,9 +4005,7 @@ public final class ModelContainersDeleteSamples {
*/
public final class ModelContainersGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/ModelContainer/get.json
+ * x-ms-original-file: 2026-07-01/Workspace/ModelContainer/get.json
*/
/**
* Sample code: Get Workspace Model Container.
@@ -4175,9 +4029,7 @@ public final class ModelContainersGetSamples {
*/
public final class ModelContainersListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/ModelContainer/list.json
+ * x-ms-original-file: 2026-07-01/Workspace/ModelContainer/list.json
*/
/**
* Sample code: List Workspace Model Container.
@@ -4204,9 +4056,7 @@ import java.util.Map;
*/
public final class ModelVersionsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/ModelVersion/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Workspace/ModelVersion/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Workspace Model Version.
@@ -4219,8 +4069,8 @@ public final class ModelVersionsCreateOrUpdateSamples {
.define("string")
.withExistingModel("test-rg", "my-aml-workspace", "string")
.withProperties(new ModelVersionProperties().withDescription("string")
- .withTags(mapOf("string", "string"))
.withProperties(mapOf("string", "string"))
+ .withTags(mapOf("string", "string"))
.withIsAnonymous(false)
.withFlavors(mapOf("string", new FlavorData().withData(mapOf("string", "string"))))
.withModelType("CustomModel")
@@ -4250,9 +4100,7 @@ public final class ModelVersionsCreateOrUpdateSamples {
*/
public final class ModelVersionsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/ModelVersion/delete.json
+ * x-ms-original-file: 2026-07-01/Workspace/ModelVersion/delete.json
*/
/**
* Sample code: Delete Workspace Model Version.
@@ -4275,9 +4123,7 @@ public final class ModelVersionsDeleteSamples {
*/
public final class ModelVersionsGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/ModelVersion/get.json
+ * x-ms-original-file: 2026-07-01/Workspace/ModelVersion/get.json
*/
/**
* Sample code: Get Workspace Model Version.
@@ -4301,9 +4147,7 @@ public final class ModelVersionsGetSamples {
*/
public final class ModelVersionsListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/ModelVersion/list.json
+ * x-ms-original-file: 2026-07-01/Workspace/ModelVersion/list.json
*/
/**
* Sample code: List Workspace Model Version.
@@ -4329,9 +4173,7 @@ import com.azure.resourcemanager.machinelearning.models.DestinationAsset;
*/
public final class ModelVersionsPublishSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/ModelVersion/publish.json
+ * x-ms-original-file: 2026-07-01/Workspace/ModelVersion/publish.json
*/
/**
* Sample code: Publish Workspace Model Version.
@@ -4342,9 +4184,9 @@ public final class ModelVersionsPublishSamples {
publishWorkspaceModelVersion(com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
manager.modelVersions()
.publish("test-rg", "my-aml-workspace", "string", "string",
- new DestinationAsset().withRegistryName("string")
- .withDestinationName("string")
- .withDestinationVersion("string"),
+ new DestinationAsset().withDestinationName("string")
+ .withDestinationVersion("string")
+ .withRegistryName("string"),
com.azure.core.util.Context.NONE);
}
}
@@ -4375,9 +4217,7 @@ import java.util.Map;
*/
public final class OnlineDeploymentsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/OnlineDeployment/KubernetesOnlineDeployment/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/OnlineDeployment/KubernetesOnlineDeployment/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Kubernetes Online Deployment.
@@ -4390,34 +4230,35 @@ public final class OnlineDeploymentsCreateOrUpdateSamples {
.define("testDeploymentName")
.withRegion("string")
.withExistingOnlineEndpoint("test-rg", "my-aml-workspace", "testEndpointName")
- .withProperties(new KubernetesOnlineDeployment().withDescription("string")
- .withProperties(mapOf("string", "string"))
+ .withProperties(new KubernetesOnlineDeployment()
.withCodeConfiguration(
new CodeConfiguration().withCodeId("fakeTokenPlaceholder").withScoringScript("string"))
+ .withDescription("string")
.withEnvironmentId("string")
.withEnvironmentVariables(mapOf("string", "string"))
- .withScaleSettings(new DefaultScaleSettings())
- .withRequestSettings(new OnlineRequestSettings().withMaxQueueWait(Duration.parse("PT5M"))
- .withRequestTimeout(Duration.parse("PT5M"))
- .withMaxConcurrentRequestsPerInstance(1))
- .withModelMountPath("string")
+ .withProperties(mapOf("string", "string"))
.withAppInsightsEnabled(false)
+ .withInstanceType("string")
.withLivenessProbe(new ProbeSettings().withFailureThreshold(1)
- .withSuccessThreshold(1)
- .withTimeout(Duration.parse("PT5M"))
+ .withInitialDelay(Duration.parse("PT5M"))
.withPeriod(Duration.parse("PT5M"))
- .withInitialDelay(Duration.parse("PT5M")))
- .withInstanceType("string")
+ .withSuccessThreshold(1)
+ .withTimeout(Duration.parse("PT5M")))
.withModel("string")
+ .withModelMountPath("string")
+ .withRequestSettings(new OnlineRequestSettings().withMaxConcurrentRequestsPerInstance(1)
+ .withMaxQueueWait(Duration.parse("PT5M"))
+ .withRequestTimeout(Duration.parse("PT5M")))
+ .withScaleSettings(new DefaultScaleSettings())
.withContainerResourceRequirements(new ContainerResourceRequirements()
- .withContainerResourceRequests(
- new ContainerResourceSettings().withCpu("\"1\"").withMemory("\"2Gi\"").withGpu("\"1\""))
.withContainerResourceLimits(
- new ContainerResourceSettings().withCpu("\"1\"").withMemory("\"2Gi\"").withGpu("\"1\""))))
+ new ContainerResourceSettings().withCpu("\"1\"").withGpu("\"1\"").withMemory("\"2Gi\""))
+ .withContainerResourceRequests(
+ new ContainerResourceSettings().withCpu("\"1\"").withGpu("\"1\"").withMemory("\"2Gi\""))))
.withTags(mapOf())
- .withKind("string")
.withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED)
.withUserAssignedIdentities(mapOf("string", new UserAssignedIdentity())))
+ .withKind("string")
.withSku(new Sku().withName("string")
.withTier(SkuTier.FREE)
.withSize("string")
@@ -4427,9 +4268,7 @@ public final class OnlineDeploymentsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Managed Online Deployment.
@@ -4442,34 +4281,35 @@ public final class OnlineDeploymentsCreateOrUpdateSamples {
.define("testDeploymentName")
.withRegion("string")
.withExistingOnlineEndpoint("test-rg", "my-aml-workspace", "testEndpointName")
- .withProperties(new ManagedOnlineDeployment().withDescription("string")
- .withProperties(mapOf("string", "string"))
+ .withProperties(new ManagedOnlineDeployment()
.withCodeConfiguration(
new CodeConfiguration().withCodeId("fakeTokenPlaceholder").withScoringScript("string"))
+ .withDescription("string")
.withEnvironmentId("string")
.withEnvironmentVariables(mapOf("string", "string"))
- .withScaleSettings(new DefaultScaleSettings())
- .withRequestSettings(new OnlineRequestSettings().withMaxQueueWait(Duration.parse("PT5M"))
- .withRequestTimeout(Duration.parse("PT5M"))
- .withMaxConcurrentRequestsPerInstance(1))
- .withModelMountPath("string")
+ .withProperties(mapOf("string", "string"))
.withAppInsightsEnabled(false)
+ .withInstanceType("string")
.withLivenessProbe(new ProbeSettings().withFailureThreshold(1)
- .withSuccessThreshold(1)
- .withTimeout(Duration.parse("PT5M"))
+ .withInitialDelay(Duration.parse("PT5M"))
.withPeriod(Duration.parse("PT5M"))
- .withInitialDelay(Duration.parse("PT5M")))
- .withReadinessProbe(new ProbeSettings().withFailureThreshold(30)
.withSuccessThreshold(1)
- .withTimeout(Duration.parse("PT2S"))
+ .withTimeout(Duration.parse("PT5M")))
+ .withModel("string")
+ .withModelMountPath("string")
+ .withReadinessProbe(new ProbeSettings().withFailureThreshold(30)
+ .withInitialDelay(Duration.parse("PT1S"))
.withPeriod(Duration.parse("PT10S"))
- .withInitialDelay(Duration.parse("PT1S")))
- .withInstanceType("string")
- .withModel("string"))
+ .withSuccessThreshold(1)
+ .withTimeout(Duration.parse("PT2S")))
+ .withRequestSettings(new OnlineRequestSettings().withMaxConcurrentRequestsPerInstance(1)
+ .withMaxQueueWait(Duration.parse("PT5M"))
+ .withRequestTimeout(Duration.parse("PT5M")))
+ .withScaleSettings(new DefaultScaleSettings()))
.withTags(mapOf())
- .withKind("string")
.withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED)
.withUserAssignedIdentities(mapOf("string", new UserAssignedIdentity())))
+ .withKind("string")
.withSku(new Sku().withName("string")
.withTier(SkuTier.FREE)
.withSize("string")
@@ -4500,9 +4340,7 @@ public final class OnlineDeploymentsCreateOrUpdateSamples {
*/
public final class OnlineDeploymentsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/OnlineDeployment/delete.json
+ * x-ms-original-file: 2026-07-01/Workspace/OnlineDeployment/delete.json
*/
/**
* Sample code: Delete Workspace Online Deployment.
@@ -4525,9 +4363,7 @@ public final class OnlineDeploymentsDeleteSamples {
*/
public final class OnlineDeploymentsGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/OnlineDeployment/KubernetesOnlineDeployment/get.json
+ * x-ms-original-file: 2026-07-01/OnlineDeployment/KubernetesOnlineDeployment/get.json
*/
/**
* Sample code: Get Kubernetes Online Deployment.
@@ -4542,9 +4378,7 @@ public final class OnlineDeploymentsGetSamples {
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/OnlineDeployment/ManagedOnlineDeployment/get.json
+ * x-ms-original-file: 2026-07-01/OnlineDeployment/ManagedOnlineDeployment/get.json
*/
/**
* Sample code: Get Managed Online Deployment.
@@ -4571,9 +4405,7 @@ import com.azure.resourcemanager.machinelearning.models.DeploymentLogsRequest;
*/
public final class OnlineDeploymentsGetLogsSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/OnlineDeployment/getLogs.json
+ * x-ms-original-file: 2026-07-01/OnlineDeployment/getLogs.json
*/
/**
* Sample code: Get Online Deployment Logs.
@@ -4598,9 +4430,7 @@ public final class OnlineDeploymentsGetLogsSamples {
*/
public final class OnlineDeploymentsListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/OnlineDeployment/list.json
+ * x-ms-original-file: 2026-07-01/OnlineDeployment/list.json
*/
/**
* Sample code: List Online Deployments.
@@ -4623,9 +4453,7 @@ public final class OnlineDeploymentsListSamples {
*/
public final class OnlineDeploymentsListSkusSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/OnlineDeployment/ManagedOnlineDeployment/listSkus.json
+ * x-ms-original-file: 2026-07-01/OnlineDeployment/ManagedOnlineDeployment/listSkus.json
*/
/**
* Sample code: List Managed Online Deployment Skus.
@@ -4640,9 +4468,7 @@ public final class OnlineDeploymentsListSkusSamples {
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/OnlineDeployment/KubernetesOnlineDeployment/listSkus.json
+ * x-ms-original-file: 2026-07-01/OnlineDeployment/KubernetesOnlineDeployment/listSkus.json
*/
/**
* Sample code: List Kubernetes Online Deployment Skus.
@@ -4672,9 +4498,7 @@ import java.util.Map;
*/
public final class OnlineDeploymentsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/OnlineDeployment/ManagedOnlineDeployment/update.json
+ * x-ms-original-file: 2026-07-01/OnlineDeployment/ManagedOnlineDeployment/update.json
*/
/**
* Sample code: Update Managed Online Deployment.
@@ -4689,18 +4513,16 @@ public final class OnlineDeploymentsUpdateSamples {
.getValue();
resource.update()
.withTags(mapOf())
- .withSku(new PartialSku().withName("string")
- .withTier(SkuTier.FREE)
- .withSize("string")
+ .withSku(new PartialSku().withCapacity(1)
.withFamily("string")
- .withCapacity(1))
+ .withName("string")
+ .withSize("string")
+ .withTier(SkuTier.FREE))
.apply();
}
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/OnlineDeployment/KubernetesOnlineDeployment/update.json
+ * x-ms-original-file: 2026-07-01/OnlineDeployment/KubernetesOnlineDeployment/update.json
*/
/**
* Sample code: Update Kubernetes Online Deployment.
@@ -4715,11 +4537,11 @@ public final class OnlineDeploymentsUpdateSamples {
.getValue();
resource.update()
.withTags(mapOf())
- .withSku(new PartialSku().withName("string")
- .withTier(SkuTier.FREE)
- .withSize("string")
+ .withSku(new PartialSku().withCapacity(1)
.withFamily("string")
- .withCapacity(1))
+ .withName("string")
+ .withSize("string")
+ .withTier(SkuTier.FREE))
.apply();
}
@@ -4755,9 +4577,7 @@ import java.util.Map;
*/
public final class OnlineEndpointsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/OnlineEndpoint/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Workspace/OnlineEndpoint/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Workspace Online Endpoint.
@@ -4770,15 +4590,15 @@ public final class OnlineEndpointsCreateOrUpdateSamples {
.define("testEndpointName")
.withRegion("string")
.withExistingWorkspace("test-rg", "my-aml-workspace")
- .withProperties(new OnlineEndpointProperties().withDescription("string")
+ .withProperties(new OnlineEndpointProperties().withAuthMode(EndpointAuthMode.AMLTOKEN)
+ .withDescription("string")
.withProperties(mapOf("string", "string"))
- .withAuthMode(EndpointAuthMode.AMLTOKEN)
.withCompute("string")
.withTraffic(mapOf("string", 1)))
.withTags(mapOf())
- .withKind("string")
.withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED)
.withUserAssignedIdentities(mapOf("string", new UserAssignedIdentity())))
+ .withKind("string")
.withSku(new Sku().withName("string")
.withTier(SkuTier.FREE)
.withSize("string")
@@ -4809,9 +4629,7 @@ public final class OnlineEndpointsCreateOrUpdateSamples {
*/
public final class OnlineEndpointsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/OnlineEndpoint/delete.json
+ * x-ms-original-file: 2026-07-01/Workspace/OnlineEndpoint/delete.json
*/
/**
* Sample code: Delete Workspace Online Endpoint.
@@ -4834,9 +4652,7 @@ public final class OnlineEndpointsDeleteSamples {
*/
public final class OnlineEndpointsGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/OnlineEndpoint/get.json
+ * x-ms-original-file: 2026-07-01/Workspace/OnlineEndpoint/get.json
*/
/**
* Sample code: Get Workspace Online Endpoint.
@@ -4859,9 +4675,7 @@ public final class OnlineEndpointsGetSamples {
*/
public final class OnlineEndpointsGetTokenSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/OnlineEndpoint/getToken.json
+ * x-ms-original-file: 2026-07-01/Workspace/OnlineEndpoint/getToken.json
*/
/**
* Sample code: GetToken Workspace Online Endpoint.
@@ -4887,9 +4701,7 @@ import com.azure.resourcemanager.machinelearning.models.OrderString;
*/
public final class OnlineEndpointsListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/OnlineEndpoint/list.json
+ * x-ms-original-file: 2026-07-01/Workspace/OnlineEndpoint/list.json
*/
/**
* Sample code: List Workspace Online Endpoint.
@@ -4913,9 +4725,7 @@ public final class OnlineEndpointsListSamples {
*/
public final class OnlineEndpointsListKeysSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/OnlineEndpoint/listKeys.json
+ * x-ms-original-file: 2026-07-01/Workspace/OnlineEndpoint/listKeys.json
*/
/**
* Sample code: ListKeys Workspace Online Endpoint.
@@ -4941,9 +4751,7 @@ import com.azure.resourcemanager.machinelearning.models.RegenerateEndpointKeysRe
*/
public final class OnlineEndpointsRegenerateKeysSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/OnlineEndpoint/regenerateKeys.json
+ * x-ms-original-file: 2026-07-01/Workspace/OnlineEndpoint/regenerateKeys.json
*/
/**
* Sample code: RegenerateKeys Workspace Online Endpoint.
@@ -4977,9 +4785,7 @@ import java.util.Map;
*/
public final class OnlineEndpointsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/OnlineEndpoint/update.json
+ * x-ms-original-file: 2026-07-01/Workspace/OnlineEndpoint/update.json
*/
/**
* Sample code: Update Workspace Online Endpoint.
@@ -5022,9 +4828,7 @@ public final class OnlineEndpointsUpdateSamples {
*/
public final class OperationsListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/operationsList.json
+ * x-ms-original-file: 2026-07-01/Workspace/operationsList.json
*/
/**
* Sample code: OperationsList.
@@ -5048,9 +4852,7 @@ import com.azure.resourcemanager.machinelearning.models.PrivateLinkServiceConnec
*/
public final class PrivateEndpointConnectionsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/PrivateEndpointConnection/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/PrivateEndpointConnection/createOrUpdate.json
*/
/**
* Sample code: WorkspacePutPrivateEndpointConnection.
@@ -5063,8 +4865,8 @@ public final class PrivateEndpointConnectionsCreateOrUpdateSamples {
.define("{privateEndpointConnectionName}")
.withExistingWorkspace("rg-1234", "testworkspace")
.withPrivateLinkServiceConnectionState(
- new PrivateLinkServiceConnectionState().withStatus(PrivateEndpointServiceConnectionStatus.APPROVED)
- .withDescription("Auto-Approved"))
+ new PrivateLinkServiceConnectionState().withDescription("Auto-Approved")
+ .withStatus(PrivateEndpointServiceConnectionStatus.APPROVED))
.create();
}
}
@@ -5078,16 +4880,14 @@ public final class PrivateEndpointConnectionsCreateOrUpdateSamples {
*/
public final class PrivateEndpointConnectionsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/PrivateEndpointConnection/delete.json
+ * x-ms-original-file: 2026-07-01/PrivateEndpointConnection/delete.json
*/
/**
- * Sample code: WorkspaceDeletePrivateEndpointConnection.
+ * Sample code: WorkspacePutPrivateEndpointConnection.
*
* @param manager Entry point to MachineLearningManager.
*/
- public static void workspaceDeletePrivateEndpointConnection(
+ public static void workspacePutPrivateEndpointConnection(
com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
manager.privateEndpointConnections()
.deleteWithResponse("rg-1234", "testworkspace", "{privateEndpointConnectionName}",
@@ -5104,9 +4904,7 @@ public final class PrivateEndpointConnectionsDeleteSamples {
*/
public final class PrivateEndpointConnectionsGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/PrivateEndpointConnection/get.json
+ * x-ms-original-file: 2026-07-01/PrivateEndpointConnection/get.json
*/
/**
* Sample code: WorkspaceGetPrivateEndpointConnection.
@@ -5130,9 +4928,7 @@ public final class PrivateEndpointConnectionsGetSamples {
*/
public final class PrivateEndpointConnectionsListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/PrivateEndpointConnection/list.json
+ * x-ms-original-file: 2026-07-01/PrivateEndpointConnection/list.json
*/
/**
* Sample code: StorageAccountListPrivateEndpointConnections.
@@ -5154,9 +4950,7 @@ public final class PrivateEndpointConnectionsListSamples {
*/
public final class PrivateLinkResourcesListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/PrivateLinkResource/list.json
+ * x-ms-original-file: 2026-07-01/PrivateLinkResource/list.json
*/
/**
* Sample code: WorkspaceListPrivateLinkResources.
@@ -5165,7 +4959,7 @@ public final class PrivateLinkResourcesListSamples {
*/
public static void
workspaceListPrivateLinkResources(com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
- manager.privateLinkResources().listWithResponse("rg-1234", "testworkspace", com.azure.core.util.Context.NONE);
+ manager.privateLinkResources().list("rg-1234", "testworkspace", com.azure.core.util.Context.NONE);
}
}
```
@@ -5178,9 +4972,7 @@ public final class PrivateLinkResourcesListSamples {
*/
public final class QuotasListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Quota/list.json
+ * x-ms-original-file: 2026-07-01/Quota/list.json
*/
/**
* Sample code: List workspace quotas by VMFamily.
@@ -5207,9 +4999,7 @@ import java.util.Arrays;
*/
public final class QuotasUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Quota/update.json
+ * x-ms-original-file: 2026-07-01/Quota/update.json
*/
/**
* Sample code: update quotas.
@@ -5239,10 +5029,10 @@ public final class QuotasUpdateSamples {
```java
import com.azure.resourcemanager.machinelearning.models.AcrDetails;
import com.azure.resourcemanager.machinelearning.models.ArmResourceId;
-import com.azure.resourcemanager.machinelearning.models.EndpointServiceConnectionStatus;
import com.azure.resourcemanager.machinelearning.models.ManagedServiceIdentity;
import com.azure.resourcemanager.machinelearning.models.ManagedServiceIdentityType;
import com.azure.resourcemanager.machinelearning.models.PrivateEndpointResource;
+import com.azure.resourcemanager.machinelearning.models.PrivateEndpointServiceConnectionStatus;
import com.azure.resourcemanager.machinelearning.models.RegistryPrivateEndpointConnection;
import com.azure.resourcemanager.machinelearning.models.RegistryPrivateLinkServiceConnectionState;
import com.azure.resourcemanager.machinelearning.models.RegistryRegionArmDetails;
@@ -5252,8 +5042,6 @@ import com.azure.resourcemanager.machinelearning.models.StorageAccountDetails;
import com.azure.resourcemanager.machinelearning.models.SystemCreatedAcrAccount;
import com.azure.resourcemanager.machinelearning.models.SystemCreatedStorageAccount;
import com.azure.resourcemanager.machinelearning.models.UserAssignedIdentity;
-import com.azure.resourcemanager.machinelearning.models.UserCreatedAcrAccount;
-import com.azure.resourcemanager.machinelearning.models.UserCreatedStorageAccount;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
@@ -5263,9 +5051,7 @@ import java.util.Map;
*/
public final class RegistriesCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registries/createOrUpdate-SystemCreated.json
+ * x-ms-original-file: 2026-07-01/Registries/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Registry with system created accounts.
@@ -5299,7 +5085,7 @@ public final class RegistriesCreateOrUpdateSamples {
.withRegistryPrivateLinkServiceConnectionState(
new RegistryPrivateLinkServiceConnectionState().withActionsRequired("string")
.withDescription("string")
- .withStatus(EndpointServiceConnectionStatus.APPROVED))
+ .withStatus(PrivateEndpointServiceConnectionStatus.APPROVED))
.withProvisioningState("string")))
.withPublicNetworkAccess("string")
.withRegionDetails(Arrays.asList(new RegistryRegionArmDetails()
@@ -5317,55 +5103,6 @@ public final class RegistriesCreateOrUpdateSamples {
.create();
}
- /*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registries/createOrUpdate-UserCreated.json
- */
- /**
- * Sample code: CreateOrUpdate Registry with user created accounts.
- *
- * @param manager Entry point to MachineLearningManager.
- */
- public static void createOrUpdateRegistryWithUserCreatedAccounts(
- com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
- manager.registries()
- .define("string")
- .withRegion("string")
- .withExistingResourceGroup("test-rg")
- .withTags(mapOf())
- .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.NONE)
- .withUserAssignedIdentities(mapOf("string", new UserAssignedIdentity())))
- .withKind("string")
- .withSku(new Sku().withName("string")
- .withTier(SkuTier.FREE)
- .withSize("string")
- .withFamily("string")
- .withCapacity(1))
- .withDiscoveryUrl("string")
- .withIntellectualPropertyPublisher("string")
- .withManagedResourceGroup(new ArmResourceId().withResourceId("string"))
- .withMlFlowRegistryUri("string")
- .withRegistryPrivateEndpointConnections(
- Arrays.asList(new RegistryPrivateEndpointConnection().withId("string")
- .withLocation("string")
- .withGroupIds(Arrays.asList("string"))
- .withPrivateEndpoint(new PrivateEndpointResource().withSubnetArmId("string"))
- .withRegistryPrivateLinkServiceConnectionState(
- new RegistryPrivateLinkServiceConnectionState().withActionsRequired("string")
- .withDescription("string")
- .withStatus(EndpointServiceConnectionStatus.APPROVED))
- .withProvisioningState("string")))
- .withPublicNetworkAccess("string")
- .withRegionDetails(Arrays.asList(new RegistryRegionArmDetails()
- .withAcrDetails(Arrays.asList(new AcrDetails().withUserCreatedAcrAccount(
- new UserCreatedAcrAccount().withArmResourceId(new ArmResourceId().withResourceId("string")))))
- .withLocation("string")
- .withStorageAccountDetails(Arrays.asList(new StorageAccountDetails().withUserCreatedStorageAccount(
- new UserCreatedStorageAccount().withArmResourceId(new ArmResourceId().withResourceId("string")))))))
- .create();
- }
-
// Use "Map.of" if available
@SuppressWarnings("unchecked")
private static Map mapOf(Object... inputs) {
@@ -5388,9 +5125,7 @@ public final class RegistriesCreateOrUpdateSamples {
*/
public final class RegistriesDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registries/delete.json
+ * x-ms-original-file: 2026-07-01/Registries/delete.json
*/
/**
* Sample code: Delete Registry.
@@ -5411,24 +5146,7 @@ public final class RegistriesDeleteSamples {
*/
public final class RegistriesGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registries/get-UserCreated.json
- */
- /**
- * Sample code: Get Registry with user created accounts.
- *
- * @param manager Entry point to MachineLearningManager.
- */
- public static void
- getRegistryWithUserCreatedAccounts(com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
- manager.registries().getByResourceGroupWithResponse("test-rg", "string", com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registries/get-SystemCreated.json
+ * x-ms-original-file: 2026-07-01/Registries/get.json
*/
/**
* Sample code: Get Registry with system created accounts.
@@ -5450,9 +5168,7 @@ public final class RegistriesGetByResourceGroupSamples {
*/
public final class RegistriesListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registries/listBySubscription.json
+ * x-ms-original-file: 2026-07-01/Registries/listBySubscription.json
*/
/**
* Sample code: List registries by subscription.
@@ -5474,24 +5190,7 @@ public final class RegistriesListSamples {
*/
public final class RegistriesListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registries/list-UserCreated.json
- */
- /**
- * Sample code: List registries with user created accounts.
- *
- * @param manager Entry point to MachineLearningManager.
- */
- public static void listRegistriesWithUserCreatedAccounts(
- com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
- manager.registries().listByResourceGroup("test-rg", com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registries/list-SystemCreated.json
+ * x-ms-original-file: 2026-07-01/Registries/list.json
*/
/**
* Sample code: List registries with system created accounts.
@@ -5511,10 +5210,10 @@ public final class RegistriesListByResourceGroupSamples {
import com.azure.resourcemanager.machinelearning.fluent.models.RegistryInner;
import com.azure.resourcemanager.machinelearning.models.AcrDetails;
import com.azure.resourcemanager.machinelearning.models.ArmResourceId;
-import com.azure.resourcemanager.machinelearning.models.EndpointServiceConnectionStatus;
import com.azure.resourcemanager.machinelearning.models.ManagedServiceIdentity;
import com.azure.resourcemanager.machinelearning.models.ManagedServiceIdentityType;
import com.azure.resourcemanager.machinelearning.models.PrivateEndpointResource;
+import com.azure.resourcemanager.machinelearning.models.PrivateEndpointServiceConnectionStatus;
import com.azure.resourcemanager.machinelearning.models.RegistryPrivateEndpointConnection;
import com.azure.resourcemanager.machinelearning.models.RegistryPrivateLinkServiceConnectionState;
import com.azure.resourcemanager.machinelearning.models.RegistryRegionArmDetails;
@@ -5524,8 +5223,6 @@ import com.azure.resourcemanager.machinelearning.models.StorageAccountDetails;
import com.azure.resourcemanager.machinelearning.models.SystemCreatedAcrAccount;
import com.azure.resourcemanager.machinelearning.models.SystemCreatedStorageAccount;
import com.azure.resourcemanager.machinelearning.models.UserAssignedIdentity;
-import com.azure.resourcemanager.machinelearning.models.UserCreatedAcrAccount;
-import com.azure.resourcemanager.machinelearning.models.UserCreatedStorageAccount;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
@@ -5535,9 +5232,7 @@ import java.util.Map;
*/
public final class RegistriesRemoveRegionsSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registries/removeRegions.json
+ * x-ms-original-file: 2026-07-01/Registries/removeRegions.json
*/
/**
* Sample code: Remove regions from registry.
@@ -5570,26 +5265,22 @@ public final class RegistriesRemoveRegionsSamples {
.withRegistryPrivateLinkServiceConnectionState(
new RegistryPrivateLinkServiceConnectionState().withActionsRequired("string")
.withDescription("string")
- .withStatus(EndpointServiceConnectionStatus.APPROVED))
+ .withStatus(PrivateEndpointServiceConnectionStatus.APPROVED))
.withProvisioningState("string")))
.withPublicNetworkAccess("string")
.withRegionDetails(Arrays.asList(new RegistryRegionArmDetails()
.withAcrDetails(Arrays.asList(new AcrDetails()
.withSystemCreatedAcrAccount(new SystemCreatedAcrAccount().withAcrAccountName("string")
.withAcrAccountSku("string")
- .withArmResourceId(new ArmResourceId().withResourceId("string")))
- .withUserCreatedAcrAccount(new UserCreatedAcrAccount()
.withArmResourceId(new ArmResourceId().withResourceId("string")))))
.withLocation("string")
- .withStorageAccountDetails(Arrays.asList(new StorageAccountDetails()
- .withSystemCreatedStorageAccount(
+ .withStorageAccountDetails(
+ Arrays.asList(new StorageAccountDetails().withSystemCreatedStorageAccount(
new SystemCreatedStorageAccount().withAllowBlobPublicAccess(false)
.withArmResourceId(new ArmResourceId().withResourceId("string"))
.withStorageAccountHnsEnabled(false)
.withStorageAccountName("string")
- .withStorageAccountType("string"))
- .withUserCreatedStorageAccount(new UserCreatedStorageAccount()
- .withArmResourceId(new ArmResourceId().withResourceId("string"))))))),
+ .withStorageAccountType("string")))))),
com.azure.core.util.Context.NONE);
}
@@ -5624,36 +5315,7 @@ import java.util.Map;
*/
public final class RegistriesUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registries/update-UserCreated.json
- */
- /**
- * Sample code: Update Registry with user created accounts.
- *
- * @param manager Entry point to MachineLearningManager.
- */
- public static void updateRegistryWithUserCreatedAccounts(
- com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
- Registry resource = manager.registries()
- .getByResourceGroupWithResponse("test-rg", "string", com.azure.core.util.Context.NONE)
- .getValue();
- resource.update()
- .withTags(mapOf())
- .withIdentity(new RegistryPartialManagedServiceIdentity().withType(ManagedServiceIdentityType.USER_ASSIGNED)
- .withUserAssignedIdentities(mapOf("string", new UserAssignedIdentity())))
- .withSku(new PartialSku().withName("string")
- .withTier(SkuTier.BASIC)
- .withSize("string")
- .withFamily("string")
- .withCapacity(1))
- .apply();
- }
-
- /*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registries/update-SystemCreated.json
+ * x-ms-original-file: 2026-07-01/Registries/update.json
*/
/**
* Sample code: Update Registry with system created accounts.
@@ -5670,11 +5332,11 @@ public final class RegistriesUpdateSamples {
.withIdentity(
new RegistryPartialManagedServiceIdentity().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED)
.withUserAssignedIdentities(mapOf("string", new UserAssignedIdentity())))
- .withSku(new PartialSku().withName("string")
- .withTier(SkuTier.BASIC)
- .withSize("string")
+ .withSku(new PartialSku().withCapacity(1)
.withFamily("string")
- .withCapacity(1))
+ .withName("string")
+ .withSize("string")
+ .withTier(SkuTier.BASIC))
.apply();
}
@@ -5705,9 +5367,7 @@ import java.util.Map;
*/
public final class RegistryCodeContainersCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/CodeContainer/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Registry/CodeContainer/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Registry Code Container.
@@ -5745,9 +5405,7 @@ public final class RegistryCodeContainersCreateOrUpdateSamples {
*/
public final class RegistryCodeContainersDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/CodeContainer/delete.json
+ * x-ms-original-file: 2026-07-01/Registry/CodeContainer/delete.json
*/
/**
* Sample code: Delete Registry Code Container.
@@ -5770,9 +5428,7 @@ public final class RegistryCodeContainersDeleteSamples {
*/
public final class RegistryCodeContainersGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/CodeContainer/get.json
+ * x-ms-original-file: 2026-07-01/Registry/CodeContainer/get.json
*/
/**
* Sample code: Get Registry Code Container.
@@ -5795,9 +5451,7 @@ public final class RegistryCodeContainersGetSamples {
*/
public final class RegistryCodeContainersListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/CodeContainer/list.json
+ * x-ms-original-file: 2026-07-01/Registry/CodeContainer/list.json
*/
/**
* Sample code: List Registry Code Container.
@@ -5822,9 +5476,7 @@ import com.azure.resourcemanager.machinelearning.models.PendingUploadType;
*/
public final class RegistryCodeVersionsCreateOrGetStartPendingUploadSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/CodeVersion/createOrGetStartPendingUpload.json
+ * x-ms-original-file: 2026-07-01/Registry/CodeVersion/createOrGetStartPendingUpload.json
*/
/**
* Sample code: CreateOrGetStartPendingUpload Registry Code Version.
@@ -5855,9 +5507,7 @@ import java.util.Map;
*/
public final class RegistryCodeVersionsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/CodeVersion/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Registry/CodeVersion/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Registry Code Version.
@@ -5869,8 +5519,8 @@ public final class RegistryCodeVersionsCreateOrUpdateSamples {
manager.registryCodeVersions()
.createOrUpdate("test-rg", "my-aml-registry", "string", "string",
new CodeVersionInner().withProperties(new CodeVersionProperties().withDescription("string")
- .withTags(mapOf("string", "string"))
.withProperties(mapOf("string", "string"))
+ .withTags(mapOf("string", "string"))
.withIsAnonymous(false)
.withCodeUri("fakeTokenPlaceholder")),
com.azure.core.util.Context.NONE);
@@ -5898,9 +5548,7 @@ public final class RegistryCodeVersionsCreateOrUpdateSamples {
*/
public final class RegistryCodeVersionsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/CodeVersion/delete.json
+ * x-ms-original-file: 2026-07-01/Registry/CodeVersion/delete.json
*/
/**
* Sample code: Delete Registry Code Version.
@@ -5923,9 +5571,7 @@ public final class RegistryCodeVersionsDeleteSamples {
*/
public final class RegistryCodeVersionsGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/CodeVersion/get.json
+ * x-ms-original-file: 2026-07-01/Registry/CodeVersion/get.json
*/
/**
* Sample code: Get Registry Code Version.
@@ -5948,9 +5594,7 @@ public final class RegistryCodeVersionsGetSamples {
*/
public final class RegistryCodeVersionsListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/CodeVersion/list.json
+ * x-ms-original-file: 2026-07-01/Registry/CodeVersion/list.json
*/
/**
* Sample code: List Registry Code Version.
@@ -5978,9 +5622,7 @@ import java.util.Map;
*/
public final class RegistryComponentContainersCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/ComponentContainer/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Registry/ComponentContainer/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Registry Component Container.
@@ -5993,8 +5635,8 @@ public final class RegistryComponentContainersCreateOrUpdateSamples {
.createOrUpdate("test-rg", "my-aml-registry", "string",
new ComponentContainerInner()
.withProperties(new ComponentContainerProperties().withDescription("string")
- .withTags(mapOf("string", "string"))
- .withProperties(mapOf("string", "string"))),
+ .withProperties(mapOf("string", "string"))
+ .withTags(mapOf("string", "string"))),
com.azure.core.util.Context.NONE);
}
@@ -6020,9 +5662,7 @@ public final class RegistryComponentContainersCreateOrUpdateSamples {
*/
public final class RegistryComponentContainersDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/ComponentContainer/delete.json
+ * x-ms-original-file: 2026-07-01/Registry/ComponentContainer/delete.json
*/
/**
* Sample code: Delete Registry Component Container.
@@ -6045,9 +5685,7 @@ public final class RegistryComponentContainersDeleteSamples {
*/
public final class RegistryComponentContainersGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/ComponentContainer/get.json
+ * x-ms-original-file: 2026-07-01/Registry/ComponentContainer/get.json
*/
/**
* Sample code: Get Registry Component Container.
@@ -6070,9 +5708,7 @@ public final class RegistryComponentContainersGetSamples {
*/
public final class RegistryComponentContainersListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/ComponentContainer/list.json
+ * x-ms-original-file: 2026-07-01/Registry/ComponentContainer/list.json
*/
/**
* Sample code: List Registry Component Container.
@@ -6103,9 +5739,7 @@ import java.util.Map;
*/
public final class RegistryComponentVersionsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/ComponentVersion/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Registry/ComponentVersion/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Registry Component Version.
@@ -6117,8 +5751,8 @@ public final class RegistryComponentVersionsCreateOrUpdateSamples {
manager.registryComponentVersions()
.createOrUpdate("test-rg", "my-aml-registry", "string", "string",
new ComponentVersionInner().withProperties(new ComponentVersionProperties().withDescription("string")
- .withTags(mapOf("string", "string"))
.withProperties(mapOf("string", "string"))
+ .withTags(mapOf("string", "string"))
.withIsAnonymous(false)
.withComponentSpec(SerializerFactory.createDefaultManagementSerializerAdapter()
.deserialize("{\"8ced901b-d826-477d-bfef-329da9672513\":null}", Object.class,
@@ -6148,9 +5782,7 @@ public final class RegistryComponentVersionsCreateOrUpdateSamples {
*/
public final class RegistryComponentVersionsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/ComponentVersion/delete.json
+ * x-ms-original-file: 2026-07-01/Registry/ComponentVersion/delete.json
*/
/**
* Sample code: Delete Registry Component Version.
@@ -6173,9 +5805,7 @@ public final class RegistryComponentVersionsDeleteSamples {
*/
public final class RegistryComponentVersionsGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/ComponentVersion/get.json
+ * x-ms-original-file: 2026-07-01/Registry/ComponentVersion/get.json
*/
/**
* Sample code: Get Registry Component Version.
@@ -6198,9 +5828,7 @@ public final class RegistryComponentVersionsGetSamples {
*/
public final class RegistryComponentVersionsListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/ComponentVersion/list.json
+ * x-ms-original-file: 2026-07-01/Registry/ComponentVersion/list.json
*/
/**
* Sample code: List Registry Component Version.
@@ -6229,9 +5857,7 @@ import java.util.Map;
*/
public final class RegistryDataContainersCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/DataContainer/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Registry/DataContainer/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Registry Data Container.
@@ -6243,8 +5869,8 @@ public final class RegistryDataContainersCreateOrUpdateSamples {
manager.registryDataContainers()
.createOrUpdate("test-rg", "registryName", "string",
new DataContainerInner().withProperties(new DataContainerProperties().withDescription("string")
- .withTags(mapOf("string", "string"))
.withProperties(mapOf("string", "string"))
+ .withTags(mapOf("string", "string"))
.withIsArchived(false)
.withDataType(DataType.URI_FOLDER)),
com.azure.core.util.Context.NONE);
@@ -6272,9 +5898,7 @@ public final class RegistryDataContainersCreateOrUpdateSamples {
*/
public final class RegistryDataContainersDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/DataContainer/delete.json
+ * x-ms-original-file: 2026-07-01/Registry/DataContainer/delete.json
*/
/**
* Sample code: Delete Registry Data Container.
@@ -6296,9 +5920,7 @@ public final class RegistryDataContainersDeleteSamples {
*/
public final class RegistryDataContainersGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/DataContainer/get.json
+ * x-ms-original-file: 2026-07-01/Registry/DataContainer/get.json
*/
/**
* Sample code: Get Registry Data Container.
@@ -6323,9 +5945,7 @@ import com.azure.resourcemanager.machinelearning.models.ListViewType;
*/
public final class RegistryDataContainersListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/DataContainer/registryList.json
+ * x-ms-original-file: 2026-07-01/Registry/DataContainer/registryList.json
*/
/**
* Sample code: RegistryList Registry Data Container.
@@ -6350,9 +5970,7 @@ import com.azure.resourcemanager.machinelearning.models.GetBlobReferenceSasReque
*/
public final class RegistryDataReferencesGetBlobReferenceSasSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/DataReference/getBlobReferenceSAS.json
+ * x-ms-original-file: 2026-07-01/DataReference/getBlobReferenceSAS.json
*/
/**
* Sample code: GetBlobReferenceSAS Data Reference.
@@ -6381,9 +5999,7 @@ import com.azure.resourcemanager.machinelearning.models.PendingUploadType;
*/
public final class RegistryDataVersionsCreateOrGetStartPendingUploadSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/DataVersionBase/createOrGetStartPendingUpload.json
+ * x-ms-original-file: 2026-07-01/Registry/DataVersionBase/createOrGetStartPendingUpload.json
*/
/**
* Sample code: CreateOrGetStartPendingUpload Registry Data Version Base.
@@ -6415,9 +6031,7 @@ import java.util.Map;
*/
public final class RegistryDataVersionsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/DataVersionBase/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Registry/DataVersionBase/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Registry Data Version Base.
@@ -6429,10 +6043,10 @@ public final class RegistryDataVersionsCreateOrUpdateSamples {
manager.registryDataVersions()
.createOrUpdate("test-rg", "registryName", "string", "string",
new DataVersionBaseInner().withProperties(new MLTableData().withDescription("string")
- .withTags(mapOf("string", "string"))
.withProperties(mapOf("string", "string"))
- .withIsArchived(false)
+ .withTags(mapOf("string", "string"))
.withIsAnonymous(false)
+ .withIsArchived(false)
.withDataUri("string")
.withReferencedUris(Arrays.asList("string"))),
com.azure.core.util.Context.NONE);
@@ -6460,9 +6074,7 @@ public final class RegistryDataVersionsCreateOrUpdateSamples {
*/
public final class RegistryDataVersionsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/DataVersionBase/delete.json
+ * x-ms-original-file: 2026-07-01/Registry/DataVersionBase/delete.json
*/
/**
* Sample code: Delete Registry Data Version Base.
@@ -6485,9 +6097,7 @@ public final class RegistryDataVersionsDeleteSamples {
*/
public final class RegistryDataVersionsGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/DataVersionBase/get.json
+ * x-ms-original-file: 2026-07-01/Registry/DataVersionBase/get.json
*/
/**
* Sample code: Get Registry Data Version Base.
@@ -6512,9 +6122,7 @@ import com.azure.resourcemanager.machinelearning.models.ListViewType;
*/
public final class RegistryDataVersionsListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/DataVersionBase/registryList.json
+ * x-ms-original-file: 2026-07-01/Registry/DataVersionBase/registryList.json
*/
/**
* Sample code: RegistryList Registry Data Version Base.
@@ -6543,9 +6151,7 @@ import java.util.Map;
*/
public final class RegistryEnvironmentContainersCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/EnvironmentContainer/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Registry/EnvironmentContainer/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Registry Environment Container.
@@ -6558,9 +6164,9 @@ public final class RegistryEnvironmentContainersCreateOrUpdateSamples {
.createOrUpdate("testrg123", "testregistry", "testEnvironment",
new EnvironmentContainerInner().withProperties(new EnvironmentContainerProperties()
.withDescription("string")
- .withTags(
- mapOf("additionalProp1", "string", "additionalProp2", "string", "additionalProp3", "string"))
.withProperties(
+ mapOf("additionalProp1", "string", "additionalProp2", "string", "additionalProp3", "string"))
+ .withTags(
mapOf("additionalProp1", "string", "additionalProp2", "string", "additionalProp3", "string"))),
com.azure.core.util.Context.NONE);
}
@@ -6587,9 +6193,7 @@ public final class RegistryEnvironmentContainersCreateOrUpdateSamples {
*/
public final class RegistryEnvironmentContainersDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/EnvironmentContainer/delete.json
+ * x-ms-original-file: 2026-07-01/Registry/EnvironmentContainer/delete.json
*/
/**
* Sample code: Delete Registry Environment Container.
@@ -6612,9 +6216,7 @@ public final class RegistryEnvironmentContainersDeleteSamples {
*/
public final class RegistryEnvironmentContainersGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/EnvironmentContainer/get.json
+ * x-ms-original-file: 2026-07-01/Registry/EnvironmentContainer/get.json
*/
/**
* Sample code: Get Registry Environment Container.
@@ -6638,9 +6240,7 @@ public final class RegistryEnvironmentContainersGetSamples {
*/
public final class RegistryEnvironmentContainersListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/EnvironmentContainer/list.json
+ * x-ms-original-file: 2026-07-01/Registry/EnvironmentContainer/list.json
*/
/**
* Sample code: List Registry Environment Container.
@@ -6671,9 +6271,7 @@ import java.util.Map;
*/
public final class RegistryEnvironmentVersionsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/EnvironmentVersion/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Registry/EnvironmentVersion/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Registry Environment Version.
@@ -6686,14 +6284,14 @@ public final class RegistryEnvironmentVersionsCreateOrUpdateSamples {
.createOrUpdate("test-rg", "my-aml-registry", "string", "string",
new EnvironmentVersionInner().withProperties(new EnvironmentVersionProperties()
.withDescription("string")
- .withTags(mapOf("string", "string"))
.withProperties(mapOf("string", "string"))
+ .withTags(mapOf("string", "string"))
.withIsAnonymous(false)
- .withImage("docker.io/tensorflow/serving:latest")
- .withCondaFile("string")
.withBuild(new BuildContext().withContextUri(
"https://storage-account.blob.core.windows.net/azureml/DockerBuildContext/95ddede6b9b8c4e90472db3acd0a8d28/")
.withDockerfilePath("prod/Dockerfile"))
+ .withCondaFile("string")
+ .withImage("docker.io/tensorflow/serving:latest")
.withInferenceConfig(
new InferenceContainerProperties().withLivenessRoute(new Route().withPath("string").withPort(1))
.withReadinessRoute(new Route().withPath("string").withPort(1))
@@ -6723,9 +6321,7 @@ public final class RegistryEnvironmentVersionsCreateOrUpdateSamples {
*/
public final class RegistryEnvironmentVersionsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/EnvironmentVersion/delete.json
+ * x-ms-original-file: 2026-07-01/Registry/EnvironmentVersion/delete.json
*/
/**
* Sample code: Delete Registry Environment Version.
@@ -6748,9 +6344,7 @@ public final class RegistryEnvironmentVersionsDeleteSamples {
*/
public final class RegistryEnvironmentVersionsGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/EnvironmentVersion/get.json
+ * x-ms-original-file: 2026-07-01/Registry/EnvironmentVersion/get.json
*/
/**
* Sample code: Get Registry Environment Version.
@@ -6774,9 +6368,7 @@ public final class RegistryEnvironmentVersionsGetSamples {
*/
public final class RegistryEnvironmentVersionsListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/EnvironmentVersion/list.json
+ * x-ms-original-file: 2026-07-01/Registry/EnvironmentVersion/list.json
*/
/**
* Sample code: List Registry Environment Version.
@@ -6804,9 +6396,7 @@ import java.util.Map;
*/
public final class RegistryModelContainersCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/ModelContainer/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Registry/ModelContainer/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Registry Model Container.
@@ -6845,9 +6435,7 @@ public final class RegistryModelContainersCreateOrUpdateSamples {
*/
public final class RegistryModelContainersDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/ModelContainer/delete.json
+ * x-ms-original-file: 2026-07-01/Registry/ModelContainer/delete.json
*/
/**
* Sample code: Delete Registry Model Container.
@@ -6870,9 +6458,7 @@ public final class RegistryModelContainersDeleteSamples {
*/
public final class RegistryModelContainersGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/ModelContainer/get.json
+ * x-ms-original-file: 2026-07-01/Registry/ModelContainer/get.json
*/
/**
* Sample code: Get Registry Model Container.
@@ -6896,9 +6482,7 @@ public final class RegistryModelContainersGetSamples {
*/
public final class RegistryModelContainersListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/ModelContainer/list.json
+ * x-ms-original-file: 2026-07-01/Registry/ModelContainer/list.json
*/
/**
* Sample code: List Registry Model Container.
@@ -6924,9 +6508,7 @@ import com.azure.resourcemanager.machinelearning.models.PendingUploadType;
*/
public final class RegistryModelVersionsCreateOrGetStartPendingUploadSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/ModelVersion/createOrGetStartPendingUpload.json
+ * x-ms-original-file: 2026-07-01/Registry/ModelVersion/createOrGetStartPendingUpload.json
*/
/**
* Sample code: CreateOrGetStartPendingUpload Registry Model Version.
@@ -6958,9 +6540,7 @@ import java.util.Map;
*/
public final class RegistryModelVersionsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/ModelVersion/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Registry/ModelVersion/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Registry Model Version.
@@ -6972,8 +6552,8 @@ public final class RegistryModelVersionsCreateOrUpdateSamples {
manager.registryModelVersions()
.createOrUpdate("test-rg", "my-aml-registry", "string", "string",
new ModelVersionInner().withProperties(new ModelVersionProperties().withDescription("string")
- .withTags(mapOf("string", "string"))
.withProperties(mapOf("string", "string"))
+ .withTags(mapOf("string", "string"))
.withIsAnonymous(false)
.withFlavors(mapOf("string", new FlavorData().withData(mapOf("string", "string"))))
.withModelType("CustomModel")
@@ -7003,9 +6583,7 @@ public final class RegistryModelVersionsCreateOrUpdateSamples {
*/
public final class RegistryModelVersionsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/ModelVersion/delete.json
+ * x-ms-original-file: 2026-07-01/Registry/ModelVersion/delete.json
*/
/**
* Sample code: Delete Registry Model Version.
@@ -7028,9 +6606,7 @@ public final class RegistryModelVersionsDeleteSamples {
*/
public final class RegistryModelVersionsGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/ModelVersion/get.json
+ * x-ms-original-file: 2026-07-01/Registry/ModelVersion/get.json
*/
/**
* Sample code: Get Registry Model Version.
@@ -7054,9 +6630,7 @@ public final class RegistryModelVersionsGetSamples {
*/
public final class RegistryModelVersionsListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Registry/ModelVersion/list.json
+ * x-ms-original-file: 2026-07-01/Registry/ModelVersion/list.json
*/
/**
* Sample code: List Registry Model Version.
@@ -7089,9 +6663,7 @@ import java.util.Map;
*/
public final class SchedulesCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Schedule/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Schedule/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Schedule.
@@ -7104,18 +6676,18 @@ public final class SchedulesCreateOrUpdateSamples {
.define("string")
.withExistingWorkspace("test-rg", "my-aml-workspace")
.withProperties(new ScheduleProperties().withDescription("string")
- .withTags(mapOf("string", "string"))
.withProperties(mapOf("string", "string"))
+ .withTags(mapOf("string", "string"))
+ .withAction(new EndpointScheduleAction()
+ .withEndpointInvocationDefinition(SerializerFactory.createDefaultManagementSerializerAdapter()
+ .deserialize("{\"9965593e-526f-4b89-bb36-761138cf2794\":null}", Object.class,
+ SerializerEncoding.JSON)))
.withDisplayName("string")
.withIsEnabled(false)
.withTrigger(new CronTrigger().withEndTime("string")
.withStartTime("string")
.withTimeZone("string")
- .withExpression("string"))
- .withAction(new EndpointScheduleAction()
- .withEndpointInvocationDefinition(SerializerFactory.createDefaultManagementSerializerAdapter()
- .deserialize("{\"9965593e-526f-4b89-bb36-761138cf2794\":null}", Object.class,
- SerializerEncoding.JSON))))
+ .withExpression("string")))
.create();
}
@@ -7141,9 +6713,7 @@ public final class SchedulesCreateOrUpdateSamples {
*/
public final class SchedulesDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Schedule/delete.json
+ * x-ms-original-file: 2026-07-01/Schedule/delete.json
*/
/**
* Sample code: Delete Schedule.
@@ -7164,9 +6734,7 @@ public final class SchedulesDeleteSamples {
*/
public final class SchedulesGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Schedule/get.json
+ * x-ms-original-file: 2026-07-01/Schedule/get.json
*/
/**
* Sample code: Get Schedule.
@@ -7188,9 +6756,7 @@ public final class SchedulesGetSamples {
*/
public final class SchedulesListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Schedule/list.json
+ * x-ms-original-file: 2026-07-01/Schedule/list.json
*/
/**
* Sample code: List Schedules.
@@ -7224,9 +6790,7 @@ import java.util.Map;
*/
public final class ServerlessEndpointsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/ServerlessEndpoint/createOrUpdate.json
+ * x-ms-original-file: 2026-07-01/Workspace/ServerlessEndpoint/createOrUpdate.json
*/
/**
* Sample code: CreateOrUpdate Workspace Serverless Endpoint.
@@ -7239,14 +6803,13 @@ public final class ServerlessEndpointsCreateOrUpdateSamples {
.define("string")
.withRegion("string")
.withExistingWorkspace("test-rg", "my-aml-workspace")
- .withProperties(
- new ServerlessEndpointProperties().withModelSettings(new ModelSettings().withModelId("string"))
- .withAuthMode(ServerlessInferenceEndpointAuthMode.KEY)
- .withContentSafety(new ContentSafety().withContentSafetyStatus(ContentSafetyStatus.ENABLED)))
+ .withProperties(new ServerlessEndpointProperties().withAuthMode(ServerlessInferenceEndpointAuthMode.KEY)
+ .withContentSafety(new ContentSafety().withContentSafetyStatus(ContentSafetyStatus.ENABLED))
+ .withModelSettings(new ModelSettings().withModelId("string")))
.withTags(mapOf())
- .withKind("string")
.withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED)
.withUserAssignedIdentities(mapOf("string", new UserAssignedIdentity())))
+ .withKind("string")
.withSku(new Sku().withName("string")
.withTier(SkuTier.STANDARD)
.withSize("string")
@@ -7277,9 +6840,7 @@ public final class ServerlessEndpointsCreateOrUpdateSamples {
*/
public final class ServerlessEndpointsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/ServerlessEndpoint/delete.json
+ * x-ms-original-file: 2026-07-01/Workspace/ServerlessEndpoint/delete.json
*/
/**
* Sample code: Delete Workspace Serverless Endpoint.
@@ -7301,9 +6862,7 @@ public final class ServerlessEndpointsDeleteSamples {
*/
public final class ServerlessEndpointsGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/ServerlessEndpoint/get.json
+ * x-ms-original-file: 2026-07-01/Workspace/ServerlessEndpoint/get.json
*/
/**
* Sample code: Get Workspace Serverless Endpoint.
@@ -7326,9 +6885,7 @@ public final class ServerlessEndpointsGetSamples {
*/
public final class ServerlessEndpointsListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/ServerlessEndpoint/list.json
+ * x-ms-original-file: 2026-07-01/Workspace/ServerlessEndpoint/list.json
*/
/**
* Sample code: List Workspace Serverless Endpoint.
@@ -7350,9 +6907,7 @@ public final class ServerlessEndpointsListSamples {
*/
public final class ServerlessEndpointsListKeysSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/ServerlessEndpoint/listKeys.json
+ * x-ms-original-file: 2026-07-01/Workspace/ServerlessEndpoint/listKeys.json
*/
/**
* Sample code: ListKeys Workspace Serverless Endpoint.
@@ -7378,9 +6933,7 @@ import com.azure.resourcemanager.machinelearning.models.RegenerateEndpointKeysRe
*/
public final class ServerlessEndpointsRegenerateKeysSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/ServerlessEndpoint/regenerateKeys.json
+ * x-ms-original-file: 2026-07-01/Workspace/ServerlessEndpoint/regenerateKeys.json
*/
/**
* Sample code: RegenerateKeys Workspace Serverless Endpoint.
@@ -7416,9 +6969,7 @@ import java.util.Map;
*/
public final class ServerlessEndpointsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/ServerlessEndpoint/update.json
+ * x-ms-original-file: 2026-07-01/Workspace/ServerlessEndpoint/update.json
*/
/**
* Sample code: Update Workspace Serverless Endpoint.
@@ -7432,15 +6983,15 @@ public final class ServerlessEndpointsUpdateSamples {
.getValue();
resource.update()
.withTags(mapOf())
- .withSku(new PartialSku().withName("string")
- .withTier(SkuTier.PREMIUM)
- .withSize("string")
- .withFamily("string")
- .withCapacity(1))
.withIdentity(new PartialManagedServiceIdentity().withType(ManagedServiceIdentityType.NONE)
.withUserAssignedIdentities(mapOf("string",
SerializerFactory.createDefaultManagementSerializerAdapter()
.deserialize("{}", Object.class, SerializerEncoding.JSON))))
+ .withSku(new PartialSku().withCapacity(1)
+ .withFamily("string")
+ .withName("string")
+ .withSize("string")
+ .withTier(SkuTier.PREMIUM))
.apply();
}
@@ -7466,9 +7017,7 @@ public final class ServerlessEndpointsUpdateSamples {
*/
public final class UsagesListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Usage/list.json
+ * x-ms-original-file: 2026-07-01/Usage/list.json
*/
/**
* Sample code: List Usages.
@@ -7489,9 +7038,7 @@ public final class UsagesListSamples {
*/
public final class VirtualMachineSizesListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/VirtualMachineSize/list.json
+ * x-ms-original-file: 2026-07-01/VirtualMachineSize/list.json
*/
/**
* Sample code: List VM Sizes.
@@ -7509,15 +7056,14 @@ public final class VirtualMachineSizesListSamples {
```java
import com.azure.resourcemanager.machinelearning.models.ConnectionCategory;
import com.azure.resourcemanager.machinelearning.models.NoneAuthTypeWorkspaceConnectionProperties;
+import java.time.OffsetDateTime;
/**
* Samples for WorkspaceConnections Create.
*/
public final class WorkspaceConnectionsCreateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/WorkspaceConnection/create.json
+ * x-ms-original-file: 2026-07-01/WorkspaceConnection/create.json
*/
/**
* Sample code: CreateWorkspaceConnection.
@@ -7531,6 +7077,7 @@ public final class WorkspaceConnectionsCreateSamples {
.withExistingWorkspace("resourceGroup-1", "workspace-1")
.withProperties(
new NoneAuthTypeWorkspaceConnectionProperties().withCategory(ConnectionCategory.CONTAINER_REGISTRY)
+ .withExpiryTime(OffsetDateTime.parse("2024-03-15T14:30:00Z"))
.withTarget("www.facebook.com"))
.create();
}
@@ -7545,9 +7092,7 @@ public final class WorkspaceConnectionsCreateSamples {
*/
public final class WorkspaceConnectionsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/WorkspaceConnection/delete.json
+ * x-ms-original-file: 2026-07-01/WorkspaceConnection/delete.json
*/
/**
* Sample code: DeleteWorkspaceConnection.
@@ -7570,9 +7115,7 @@ public final class WorkspaceConnectionsDeleteSamples {
*/
public final class WorkspaceConnectionsGetSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/WorkspaceConnection/get.json
+ * x-ms-original-file: 2026-07-01/WorkspaceConnection/get.json
*/
/**
* Sample code: GetWorkspaceConnection.
@@ -7595,9 +7138,7 @@ public final class WorkspaceConnectionsGetSamples {
*/
public final class WorkspaceConnectionsListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/WorkspaceConnection/list.json
+ * x-ms-original-file: 2026-07-01/WorkspaceConnection/list.json
*/
/**
* Sample code: ListWorkspaceConnections.
@@ -7607,7 +7148,7 @@ public final class WorkspaceConnectionsListSamples {
public static void
listWorkspaceConnections(com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
manager.workspaceConnections()
- .list("resourceGroup-1", "workspace-1", "www.facebook.com", "ContainerRegistry",
+ .list("resourceGroup-1", "workspace-1", "www.facebook.com", "ContainerRegistry", null,
com.azure.core.util.Context.NONE);
}
}
@@ -7621,9 +7162,7 @@ public final class WorkspaceConnectionsListSamples {
*/
public final class WorkspaceConnectionsListSecretsSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/WorkspaceConnection/listSecrets.json
+ * x-ms-original-file: 2026-07-01/WorkspaceConnection/listSecrets.json
*/
/**
* Sample code: GetWorkspaceConnection.
@@ -7638,6 +7177,59 @@ public final class WorkspaceConnectionsListSecretsSamples {
}
```
+### WorkspaceConnections_Update
+
+```java
+import com.azure.resourcemanager.machinelearning.models.AccessKeyAuthTypeWorkspaceConnectionProperties;
+import com.azure.resourcemanager.machinelearning.models.ConnectionCategory;
+import com.azure.resourcemanager.machinelearning.models.WorkspaceConnectionAccessKey;
+import com.azure.resourcemanager.machinelearning.models.WorkspaceConnectionPropertiesV2BasicResource;
+import java.time.OffsetDateTime;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Samples for WorkspaceConnections Update.
+ */
+public final class WorkspaceConnectionsUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-07-01/WorkspaceConnection/update.json
+ */
+ /**
+ * Sample code: UpdateWorkspaceConnection.
+ *
+ * @param manager Entry point to MachineLearningManager.
+ */
+ public static void
+ updateWorkspaceConnection(com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
+ WorkspaceConnectionPropertiesV2BasicResource resource = manager.workspaceConnections()
+ .getWithResponse("test-rg", "workspace-1", "connection-1", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update()
+ .withProperties(
+ new AccessKeyAuthTypeWorkspaceConnectionProperties().withCategory(ConnectionCategory.ADLSGEN2)
+ .withExpiryTime(OffsetDateTime.parse("2020-01-01T00:00:00Z"))
+ .withMetadata(mapOf())
+ .withTarget("some_string")
+ .withCredentials(new WorkspaceConnectionAccessKey().withAccessKeyId("fakeTokenPlaceholder")
+ .withSecretAccessKey("fakeTokenPlaceholder")))
+ .apply();
+ }
+
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
+ }
+}
+```
+
### WorkspaceFeatures_List
```java
@@ -7646,9 +7238,7 @@ public final class WorkspaceConnectionsListSecretsSamples {
*/
public final class WorkspaceFeaturesListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/WorkspaceFeature/list.json
+ * x-ms-original-file: 2026-07-01/WorkspaceFeature/list.json
*/
/**
* Sample code: List Workspace features.
@@ -7664,10 +7254,10 @@ public final class WorkspaceFeaturesListSamples {
### Workspaces_CreateOrUpdate
```java
-import com.azure.resourcemanager.machinelearning.models.EncryptionKeyVaultProperties;
import com.azure.resourcemanager.machinelearning.models.EncryptionProperty;
import com.azure.resourcemanager.machinelearning.models.EncryptionStatus;
import com.azure.resourcemanager.machinelearning.models.IdentityForCmk;
+import com.azure.resourcemanager.machinelearning.models.KeyVaultProperties;
import com.azure.resourcemanager.machinelearning.models.ManagedServiceIdentity;
import com.azure.resourcemanager.machinelearning.models.ManagedServiceIdentityType;
import com.azure.resourcemanager.machinelearning.models.PrivateEndpointServiceConnectionStatus;
@@ -7682,9 +7272,7 @@ import java.util.Map;
*/
public final class WorkspacesCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/create.json
+ * x-ms-original-file: 2026-07-01/Workspace/create.json
*/
/**
* Sample code: Create Workspace.
@@ -7701,29 +7289,29 @@ public final class WorkspacesCreateOrUpdateSamples {
.withUserAssignedIdentities(mapOf(
"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai",
new UserAssignedIdentity())))
- .withDescription("test description")
- .withFriendlyName("HelloName")
- .withKeyVault(
- "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv")
.withApplicationInsights(
"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights")
.withContainerRegistry(
"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry")
- .withStorageAccount(
- "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount")
- .withEncryption(new EncryptionProperty().withStatus(EncryptionStatus.ENABLED)
- .withIdentity(new IdentityForCmk().withUserAssignedIdentity(
- "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai"))
- .withKeyVaultProperties(new EncryptionKeyVaultProperties().withKeyVaultArmId("fakeTokenPlaceholder")
+ .withDescription("test description")
+ .withEncryption(new EncryptionProperty().withIdentity(new IdentityForCmk().withUserAssignedIdentity(
+ "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai"))
+ .withKeyVaultProperties(new KeyVaultProperties().withIdentityClientId("")
.withKeyIdentifier("fakeTokenPlaceholder")
- .withIdentityClientId("")))
+ .withKeyVaultArmId("fakeTokenPlaceholder"))
+ .withStatus(EncryptionStatus.ENABLED))
+ .withFriendlyName("HelloName")
.withHbiWorkspace(false)
+ .withKeyVault(
+ "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv")
.withSharedPrivateLinkResources(Arrays.asList(new SharedPrivateLinkResource().withName("testdbresource")
+ .withGroupId("Sql")
.withPrivateLinkResourceId(
"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDB/databaseAccounts/testdbresource/privateLinkResources/Sql")
- .withGroupId("Sql")
.withRequestMessage("Please approve")
.withStatus(PrivateEndpointServiceConnectionStatus.APPROVED)))
+ .withStorageAccount(
+ "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount")
.create();
}
@@ -7749,9 +7337,7 @@ public final class WorkspacesCreateOrUpdateSamples {
*/
public final class WorkspacesDeleteSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/delete.json
+ * x-ms-original-file: 2026-07-01/Workspace/delete.json
*/
/**
* Sample code: Delete Workspace.
@@ -7777,9 +7363,7 @@ import java.util.Map;
*/
public final class WorkspacesDiagnoseSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/diagnose.json
+ * x-ms-original-file: 2026-07-01/Workspace/diagnose.json
*/
/**
* Sample code: Diagnose Workspace.
@@ -7789,15 +7373,16 @@ public final class WorkspacesDiagnoseSamples {
public static void diagnoseWorkspace(com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
manager.workspaces()
.diagnose("workspace-1234", "testworkspace",
- new DiagnoseWorkspaceParameters().withValue(new DiagnoseRequestProperties().withUdr(mapOf())
- .withNsg(mapOf())
- .withResourceLock(mapOf())
- .withDnsResolution(mapOf())
- .withStorageAccount(mapOf())
- .withKeyVault(mapOf())
- .withContainerRegistry(mapOf())
- .withApplicationInsights(mapOf())
- .withOthers(mapOf())),
+ new DiagnoseWorkspaceParameters()
+ .withValue(new DiagnoseRequestProperties().withApplicationInsights(mapOf())
+ .withContainerRegistry(mapOf())
+ .withDnsResolution(mapOf())
+ .withKeyVault(mapOf())
+ .withNsg(mapOf())
+ .withOthers(mapOf())
+ .withResourceLock(mapOf())
+ .withStorageAccount(mapOf())
+ .withUdr(mapOf())),
com.azure.core.util.Context.NONE);
}
@@ -7823,9 +7408,7 @@ public final class WorkspacesDiagnoseSamples {
*/
public final class WorkspacesGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/get.json
+ * x-ms-original-file: 2026-07-01/Workspace/get.json
*/
/**
* Sample code: Get Workspace.
@@ -7847,9 +7430,7 @@ public final class WorkspacesGetByResourceGroupSamples {
*/
public final class WorkspacesListSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/listBySubscription.json
+ * x-ms-original-file: 2026-07-01/Workspace/listBySubscription.json
*/
/**
* Sample code: Get Workspaces by subscription.
@@ -7858,7 +7439,7 @@ public final class WorkspacesListSamples {
*/
public static void
getWorkspacesBySubscription(com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
- manager.workspaces().list(null, com.azure.core.util.Context.NONE);
+ manager.workspaces().list(null, null, null, com.azure.core.util.Context.NONE);
}
}
```
@@ -7871,9 +7452,7 @@ public final class WorkspacesListSamples {
*/
public final class WorkspacesListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/listByResourceGroup.json
+ * x-ms-original-file: 2026-07-01/Workspace/listByResourceGroup.json
*/
/**
* Sample code: Get Workspaces by Resource Group.
@@ -7882,7 +7461,7 @@ public final class WorkspacesListByResourceGroupSamples {
*/
public static void
getWorkspacesByResourceGroup(com.azure.resourcemanager.machinelearning.MachineLearningManager manager) {
- manager.workspaces().listByResourceGroup("workspace-1234", null, com.azure.core.util.Context.NONE);
+ manager.workspaces().listByResourceGroup("workspace-1234", null, null, null, com.azure.core.util.Context.NONE);
}
}
```
@@ -7895,9 +7474,7 @@ public final class WorkspacesListByResourceGroupSamples {
*/
public final class WorkspacesListKeysSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/listKeys.json
+ * x-ms-original-file: 2026-07-01/Workspace/listKeys.json
*/
/**
* Sample code: List Workspace Keys.
@@ -7918,9 +7495,7 @@ public final class WorkspacesListKeysSamples {
*/
public final class WorkspacesListNotebookAccessTokenSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/listNotebookAccessToken.json
+ * x-ms-original-file: 2026-07-01/Workspace/listNotebookAccessToken.json
*/
/**
* Sample code: List Workspace Keys.
@@ -7942,9 +7517,7 @@ public final class WorkspacesListNotebookAccessTokenSamples {
*/
public final class WorkspacesListNotebookKeysSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Notebook/listKeys.json
+ * x-ms-original-file: 2026-07-01/Notebook/listKeys.json
*/
/**
* Sample code: List Workspace Keys.
@@ -7966,9 +7539,7 @@ public final class WorkspacesListNotebookKeysSamples {
*/
public final class WorkspacesListOutboundNetworkDependenciesEndpointsSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/ExternalFQDN/get.json
+ * x-ms-original-file: 2026-07-01/ExternalFQDN/get.json
*/
/**
* Sample code: ListOutboundNetworkDependenciesEndpoints.
@@ -7992,9 +7563,7 @@ public final class WorkspacesListOutboundNetworkDependenciesEndpointsSamples {
*/
public final class WorkspacesListStorageAccountKeysSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/listStorageAccountKeys.json
+ * x-ms-original-file: 2026-07-01/Workspace/listStorageAccountKeys.json
*/
/**
* Sample code: List Workspace Keys.
@@ -8016,9 +7585,7 @@ public final class WorkspacesListStorageAccountKeysSamples {
*/
public final class WorkspacesPrepareNotebookSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Notebook/prepare.json
+ * x-ms-original-file: 2026-07-01/Notebook/prepare.json
*/
/**
* Sample code: Prepare Notebook.
@@ -8039,9 +7606,7 @@ public final class WorkspacesPrepareNotebookSamples {
*/
public final class WorkspacesResyncKeysSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/resyncKeys.json
+ * x-ms-original-file: 2026-07-01/Workspace/resyncKeys.json
*/
/**
* Sample code: Resync Workspace Keys.
@@ -8065,9 +7630,7 @@ import com.azure.resourcemanager.machinelearning.models.Workspace;
*/
public final class WorkspacesUpdateSamples {
/*
- * x-ms-original-file:
- * specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/
- * examples/Workspace/update.json
+ * x-ms-original-file: 2026-07-01/Workspace/update.json
*/
/**
* Sample code: Update Workspace.
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/pom.xml b/sdk/machinelearning/azure-resourcemanager-machinelearning/pom.xml
index 1169f06cb742..6252722a81af 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/pom.xml
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/pom.xml
@@ -1,9 +1,9 @@
-
+
4.0.0
com.azure
@@ -14,11 +14,11 @@
com.azure.resourcemanager
azure-resourcemanager-machinelearning
- 1.2.0-beta.1
+ 2.0.0
jar
Microsoft Azure SDK for Machine Learning Management
- This package contains Microsoft Azure SDK for Machine Learning Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. These APIs allow end users to operate on Azure Machine Learning Workspace resources. Package tag package-2024-04.
+ This package contains Microsoft Azure SDK for Machine Learning Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. These APIs allow end users to operate on Azure Machine Learning Workspace resources. Package api-version 2026-07-01.
https://github.com/Azure/azure-sdk-for-java
@@ -45,14 +45,9 @@
UTF-8
0
0
- true
+ false
-
- com.azure
- azure-json
- 1.5.1
-
com.azure
azure-core
@@ -75,6 +70,11 @@
1.18.4
test
+
+ com.azure
+ azure-json
+ 1.5.1
+
com.azure.resourcemanager
azure-resourcemanager-storage
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/MachineLearningManager.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/MachineLearningManager.java
index bb31e555c22f..2cef98c14452 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/MachineLearningManager.java
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/MachineLearningManager.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.machinelearning;
@@ -11,38 +11,40 @@
import com.azure.core.http.HttpPipelinePosition;
import com.azure.core.http.policy.AddDatePolicy;
import com.azure.core.http.policy.AddHeadersFromContextPolicy;
-import com.azure.core.http.policy.HttpLoggingPolicy;
+import com.azure.core.http.policy.BearerTokenAuthenticationPolicy;
import com.azure.core.http.policy.HttpLogOptions;
+import com.azure.core.http.policy.HttpLoggingPolicy;
import com.azure.core.http.policy.HttpPipelinePolicy;
import com.azure.core.http.policy.HttpPolicyProviders;
import com.azure.core.http.policy.RequestIdPolicy;
import com.azure.core.http.policy.RetryOptions;
import com.azure.core.http.policy.RetryPolicy;
import com.azure.core.http.policy.UserAgentPolicy;
-import com.azure.core.management.http.policy.ArmChallengeAuthenticationPolicy;
import com.azure.core.management.profile.AzureProfile;
import com.azure.core.util.Configuration;
+import com.azure.core.util.CoreUtils;
import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.machinelearning.fluent.AzureMachineLearningWorkspaces;
-import com.azure.resourcemanager.machinelearning.implementation.AzureMachineLearningWorkspacesBuilder;
+import com.azure.resourcemanager.machinelearning.fluent.MachineLearningManagementClient;
import com.azure.resourcemanager.machinelearning.implementation.BatchDeploymentsImpl;
import com.azure.resourcemanager.machinelearning.implementation.BatchEndpointsImpl;
+import com.azure.resourcemanager.machinelearning.implementation.CapabilityHostsImpl;
import com.azure.resourcemanager.machinelearning.implementation.CodeContainersImpl;
import com.azure.resourcemanager.machinelearning.implementation.CodeVersionsImpl;
import com.azure.resourcemanager.machinelearning.implementation.ComponentContainersImpl;
import com.azure.resourcemanager.machinelearning.implementation.ComponentVersionsImpl;
import com.azure.resourcemanager.machinelearning.implementation.ComputesImpl;
import com.azure.resourcemanager.machinelearning.implementation.DataContainersImpl;
-import com.azure.resourcemanager.machinelearning.implementation.DatastoresImpl;
import com.azure.resourcemanager.machinelearning.implementation.DataVersionsImpl;
+import com.azure.resourcemanager.machinelearning.implementation.DatastoresImpl;
import com.azure.resourcemanager.machinelearning.implementation.EnvironmentContainersImpl;
import com.azure.resourcemanager.machinelearning.implementation.EnvironmentVersionsImpl;
+import com.azure.resourcemanager.machinelearning.implementation.FeaturesImpl;
import com.azure.resourcemanager.machinelearning.implementation.FeaturesetContainersImpl;
import com.azure.resourcemanager.machinelearning.implementation.FeaturesetVersionsImpl;
-import com.azure.resourcemanager.machinelearning.implementation.FeaturesImpl;
import com.azure.resourcemanager.machinelearning.implementation.FeaturestoreEntityContainersImpl;
import com.azure.resourcemanager.machinelearning.implementation.FeaturestoreEntityVersionsImpl;
import com.azure.resourcemanager.machinelearning.implementation.JobsImpl;
+import com.azure.resourcemanager.machinelearning.implementation.MachineLearningManagementClientBuilder;
import com.azure.resourcemanager.machinelearning.implementation.ManagedNetworkProvisionsImpl;
import com.azure.resourcemanager.machinelearning.implementation.ManagedNetworkSettingsRulesImpl;
import com.azure.resourcemanager.machinelearning.implementation.MarketplaceSubscriptionsImpl;
@@ -75,14 +77,15 @@
import com.azure.resourcemanager.machinelearning.implementation.WorkspacesImpl;
import com.azure.resourcemanager.machinelearning.models.BatchDeployments;
import com.azure.resourcemanager.machinelearning.models.BatchEndpoints;
+import com.azure.resourcemanager.machinelearning.models.CapabilityHosts;
import com.azure.resourcemanager.machinelearning.models.CodeContainers;
import com.azure.resourcemanager.machinelearning.models.CodeVersions;
import com.azure.resourcemanager.machinelearning.models.ComponentContainers;
import com.azure.resourcemanager.machinelearning.models.ComponentVersions;
import com.azure.resourcemanager.machinelearning.models.Computes;
import com.azure.resourcemanager.machinelearning.models.DataContainers;
-import com.azure.resourcemanager.machinelearning.models.Datastores;
import com.azure.resourcemanager.machinelearning.models.DataVersions;
+import com.azure.resourcemanager.machinelearning.models.Datastores;
import com.azure.resourcemanager.machinelearning.models.EnvironmentContainers;
import com.azure.resourcemanager.machinelearning.models.EnvironmentVersions;
import com.azure.resourcemanager.machinelearning.models.Features;
@@ -125,6 +128,7 @@
import java.time.temporal.ChronoUnit;
import java.util.ArrayList;
import java.util.List;
+import java.util.Map;
import java.util.Objects;
import java.util.stream.Collectors;
@@ -137,104 +141,106 @@ public final class MachineLearningManager {
private Workspaces workspaces;
- private Usages usages;
+ private CodeContainers codeContainers;
- private VirtualMachineSizes virtualMachineSizes;
+ private Registries registries;
- private Quotas quotas;
+ private CodeVersions codeVersions;
- private Computes computes;
+ private ComponentContainers componentContainers;
- private PrivateEndpointConnections privateEndpointConnections;
+ private ComponentVersions componentVersions;
- private PrivateLinkResources privateLinkResources;
+ private DataContainers dataContainers;
- private WorkspaceConnections workspaceConnections;
+ private DataVersions dataVersions;
- private ManagedNetworkSettingsRules managedNetworkSettingsRules;
+ private EnvironmentContainers environmentContainers;
- private ManagedNetworkProvisions managedNetworkProvisions;
+ private EnvironmentVersions environmentVersions;
- private RegistryCodeContainers registryCodeContainers;
+ private ModelContainers modelContainers;
- private RegistryCodeVersions registryCodeVersions;
+ private ModelVersions modelVersions;
- private RegistryComponentContainers registryComponentContainers;
+ private BatchEndpoints batchEndpoints;
- private RegistryComponentVersions registryComponentVersions;
+ private BatchDeployments batchDeployments;
- private RegistryDataContainers registryDataContainers;
+ private CapabilityHosts capabilityHosts;
- private RegistryDataVersions registryDataVersions;
+ private Datastores datastores;
- private RegistryDataReferences registryDataReferences;
+ private FeaturesetContainers featuresetContainers;
- private RegistryEnvironmentContainers registryEnvironmentContainers;
+ private Features features;
- private RegistryEnvironmentVersions registryEnvironmentVersions;
+ private FeaturesetVersions featuresetVersions;
- private RegistryModelContainers registryModelContainers;
+ private FeaturestoreEntityContainers featurestoreEntityContainers;
- private RegistryModelVersions registryModelVersions;
+ private FeaturestoreEntityVersions featurestoreEntityVersions;
- private BatchEndpoints batchEndpoints;
+ private MarketplaceSubscriptions marketplaceSubscriptions;
- private BatchDeployments batchDeployments;
+ private OnlineEndpoints onlineEndpoints;
- private CodeContainers codeContainers;
+ private OnlineDeployments onlineDeployments;
- private CodeVersions codeVersions;
+ private Schedules schedules;
- private ComponentContainers componentContainers;
+ private ServerlessEndpoints serverlessEndpoints;
- private ComponentVersions componentVersions;
+ private PrivateEndpointConnections privateEndpointConnections;
- private DataContainers dataContainers;
+ private Computes computes;
- private DataVersions dataVersions;
+ private WorkspaceFeatures workspaceFeatures;
- private Datastores datastores;
+ private PrivateLinkResources privateLinkResources;
- private EnvironmentContainers environmentContainers;
+ private ManagedNetworkProvisions managedNetworkProvisions;
- private EnvironmentVersions environmentVersions;
+ private RegistryCodeContainers registryCodeContainers;
- private FeaturesetContainers featuresetContainers;
+ private RegistryDataReferences registryDataReferences;
- private Features features;
+ private RegistryCodeVersions registryCodeVersions;
- private FeaturesetVersions featuresetVersions;
+ private RegistryComponentContainers registryComponentContainers;
- private FeaturestoreEntityContainers featurestoreEntityContainers;
+ private RegistryComponentVersions registryComponentVersions;
- private FeaturestoreEntityVersions featurestoreEntityVersions;
+ private RegistryDataContainers registryDataContainers;
- private Jobs jobs;
+ private RegistryDataVersions registryDataVersions;
- private MarketplaceSubscriptions marketplaceSubscriptions;
+ private RegistryEnvironmentContainers registryEnvironmentContainers;
- private ModelContainers modelContainers;
+ private RegistryEnvironmentVersions registryEnvironmentVersions;
- private ModelVersions modelVersions;
+ private RegistryModelContainers registryModelContainers;
- private OnlineEndpoints onlineEndpoints;
+ private RegistryModelVersions registryModelVersions;
- private OnlineDeployments onlineDeployments;
+ private Jobs jobs;
- private Schedules schedules;
+ private WorkspaceConnections workspaceConnections;
- private ServerlessEndpoints serverlessEndpoints;
+ private ManagedNetworkSettingsRules managedNetworkSettingsRules;
- private Registries registries;
+ private Usages usages;
- private WorkspaceFeatures workspaceFeatures;
+ private VirtualMachineSizes virtualMachineSizes;
+
+ private Quotas quotas;
- private final AzureMachineLearningWorkspaces clientObject;
+ private final MachineLearningManagementClient clientObject;
private MachineLearningManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
Objects.requireNonNull(profile, "'profile' cannot be null.");
- this.clientObject = new AzureMachineLearningWorkspacesBuilder().pipeline(httpPipeline)
+ this.clientObject = new MachineLearningManagementClientBuilder().pipeline(httpPipeline)
.endpoint(profile.getEnvironment().getResourceManagerEndpoint())
.subscriptionId(profile.getSubscriptionId())
.defaultPollInterval(defaultPollInterval)
@@ -281,6 +287,9 @@ public static Configurable configure() {
*/
public static final class Configurable {
private static final ClientLogger LOGGER = new ClientLogger(Configurable.class);
+ private static final String SDK_VERSION = "version";
+ private static final Map PROPERTIES
+ = CoreUtils.getProperties("azure-resourcemanager-machinelearning.properties");
private HttpClient httpClient;
private HttpLogOptions httpLogOptions;
@@ -388,12 +397,14 @@ public MachineLearningManager authenticate(TokenCredential credential, AzureProf
Objects.requireNonNull(credential, "'credential' cannot be null.");
Objects.requireNonNull(profile, "'profile' cannot be null.");
+ String clientVersion = PROPERTIES.getOrDefault(SDK_VERSION, "UnknownVersion");
+
StringBuilder userAgentBuilder = new StringBuilder();
userAgentBuilder.append("azsdk-java")
.append("-")
.append("com.azure.resourcemanager.machinelearning")
.append("/")
- .append("1.1.0");
+ .append(clientVersion);
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder.append(" (")
.append(Configuration.getGlobalConfiguration().get("java.version"))
@@ -426,7 +437,7 @@ public MachineLearningManager authenticate(TokenCredential credential, AzureProf
HttpPolicyProviders.addBeforeRetryPolicies(policies);
policies.add(retryPolicy);
policies.add(new AddDatePolicy());
- policies.add(new ArmChallengeAuthenticationPolicy(credential, scopes.toArray(new String[0])));
+ policies.add(new BearerTokenAuthenticationPolicy(credential, scopes.toArray(new String[0])));
policies.addAll(this.policies.stream()
.filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY)
.collect(Collectors.toList()));
@@ -464,579 +475,591 @@ public Workspaces workspaces() {
}
/**
- * Gets the resource collection API of Usages.
+ * Gets the resource collection API of CodeContainers. It manages CodeContainer.
*
- * @return Resource collection API of Usages.
+ * @return Resource collection API of CodeContainers.
*/
- public Usages usages() {
- if (this.usages == null) {
- this.usages = new UsagesImpl(clientObject.getUsages(), this);
+ public CodeContainers codeContainers() {
+ if (this.codeContainers == null) {
+ this.codeContainers = new CodeContainersImpl(clientObject.getCodeContainers(), this);
}
- return usages;
+ return codeContainers;
}
/**
- * Gets the resource collection API of VirtualMachineSizes.
+ * Gets the resource collection API of Registries. It manages Registry.
*
- * @return Resource collection API of VirtualMachineSizes.
+ * @return Resource collection API of Registries.
*/
- public VirtualMachineSizes virtualMachineSizes() {
- if (this.virtualMachineSizes == null) {
- this.virtualMachineSizes = new VirtualMachineSizesImpl(clientObject.getVirtualMachineSizes(), this);
+ public Registries registries() {
+ if (this.registries == null) {
+ this.registries = new RegistriesImpl(clientObject.getRegistries(), this);
}
- return virtualMachineSizes;
+ return registries;
}
/**
- * Gets the resource collection API of Quotas.
+ * Gets the resource collection API of CodeVersions. It manages CodeVersion.
*
- * @return Resource collection API of Quotas.
+ * @return Resource collection API of CodeVersions.
*/
- public Quotas quotas() {
- if (this.quotas == null) {
- this.quotas = new QuotasImpl(clientObject.getQuotas(), this);
+ public CodeVersions codeVersions() {
+ if (this.codeVersions == null) {
+ this.codeVersions = new CodeVersionsImpl(clientObject.getCodeVersions(), this);
}
- return quotas;
+ return codeVersions;
}
/**
- * Gets the resource collection API of Computes. It manages ComputeResource.
+ * Gets the resource collection API of ComponentContainers. It manages ComponentContainer.
*
- * @return Resource collection API of Computes.
+ * @return Resource collection API of ComponentContainers.
*/
- public Computes computes() {
- if (this.computes == null) {
- this.computes = new ComputesImpl(clientObject.getComputes(), this);
+ public ComponentContainers componentContainers() {
+ if (this.componentContainers == null) {
+ this.componentContainers = new ComponentContainersImpl(clientObject.getComponentContainers(), this);
}
- return computes;
+ return componentContainers;
}
/**
- * Gets the resource collection API of PrivateEndpointConnections. It manages PrivateEndpointConnection.
+ * Gets the resource collection API of ComponentVersions. It manages ComponentVersion.
*
- * @return Resource collection API of PrivateEndpointConnections.
+ * @return Resource collection API of ComponentVersions.
*/
- public PrivateEndpointConnections privateEndpointConnections() {
- if (this.privateEndpointConnections == null) {
- this.privateEndpointConnections
- = new PrivateEndpointConnectionsImpl(clientObject.getPrivateEndpointConnections(), this);
+ public ComponentVersions componentVersions() {
+ if (this.componentVersions == null) {
+ this.componentVersions = new ComponentVersionsImpl(clientObject.getComponentVersions(), this);
}
- return privateEndpointConnections;
+ return componentVersions;
}
/**
- * Gets the resource collection API of PrivateLinkResources.
+ * Gets the resource collection API of DataContainers. It manages DataContainer.
*
- * @return Resource collection API of PrivateLinkResources.
+ * @return Resource collection API of DataContainers.
*/
- public PrivateLinkResources privateLinkResources() {
- if (this.privateLinkResources == null) {
- this.privateLinkResources = new PrivateLinkResourcesImpl(clientObject.getPrivateLinkResources(), this);
+ public DataContainers dataContainers() {
+ if (this.dataContainers == null) {
+ this.dataContainers = new DataContainersImpl(clientObject.getDataContainers(), this);
}
- return privateLinkResources;
+ return dataContainers;
}
/**
- * Gets the resource collection API of WorkspaceConnections. It manages
- * WorkspaceConnectionPropertiesV2BasicResource.
+ * Gets the resource collection API of DataVersions. It manages DataVersionBase.
*
- * @return Resource collection API of WorkspaceConnections.
+ * @return Resource collection API of DataVersions.
*/
- public WorkspaceConnections workspaceConnections() {
- if (this.workspaceConnections == null) {
- this.workspaceConnections = new WorkspaceConnectionsImpl(clientObject.getWorkspaceConnections(), this);
+ public DataVersions dataVersions() {
+ if (this.dataVersions == null) {
+ this.dataVersions = new DataVersionsImpl(clientObject.getDataVersions(), this);
}
- return workspaceConnections;
+ return dataVersions;
}
/**
- * Gets the resource collection API of ManagedNetworkSettingsRules. It manages OutboundRuleBasicResource.
+ * Gets the resource collection API of EnvironmentContainers. It manages EnvironmentContainer.
*
- * @return Resource collection API of ManagedNetworkSettingsRules.
+ * @return Resource collection API of EnvironmentContainers.
*/
- public ManagedNetworkSettingsRules managedNetworkSettingsRules() {
- if (this.managedNetworkSettingsRules == null) {
- this.managedNetworkSettingsRules
- = new ManagedNetworkSettingsRulesImpl(clientObject.getManagedNetworkSettingsRules(), this);
+ public EnvironmentContainers environmentContainers() {
+ if (this.environmentContainers == null) {
+ this.environmentContainers = new EnvironmentContainersImpl(clientObject.getEnvironmentContainers(), this);
}
- return managedNetworkSettingsRules;
+ return environmentContainers;
}
/**
- * Gets the resource collection API of ManagedNetworkProvisions.
+ * Gets the resource collection API of EnvironmentVersions. It manages EnvironmentVersion.
*
- * @return Resource collection API of ManagedNetworkProvisions.
+ * @return Resource collection API of EnvironmentVersions.
*/
- public ManagedNetworkProvisions managedNetworkProvisions() {
- if (this.managedNetworkProvisions == null) {
- this.managedNetworkProvisions
- = new ManagedNetworkProvisionsImpl(clientObject.getManagedNetworkProvisions(), this);
+ public EnvironmentVersions environmentVersions() {
+ if (this.environmentVersions == null) {
+ this.environmentVersions = new EnvironmentVersionsImpl(clientObject.getEnvironmentVersions(), this);
}
- return managedNetworkProvisions;
+ return environmentVersions;
}
/**
- * Gets the resource collection API of RegistryCodeContainers.
+ * Gets the resource collection API of ModelContainers. It manages ModelContainer.
*
- * @return Resource collection API of RegistryCodeContainers.
+ * @return Resource collection API of ModelContainers.
*/
- public RegistryCodeContainers registryCodeContainers() {
- if (this.registryCodeContainers == null) {
- this.registryCodeContainers
- = new RegistryCodeContainersImpl(clientObject.getRegistryCodeContainers(), this);
+ public ModelContainers modelContainers() {
+ if (this.modelContainers == null) {
+ this.modelContainers = new ModelContainersImpl(clientObject.getModelContainers(), this);
}
- return registryCodeContainers;
+ return modelContainers;
}
/**
- * Gets the resource collection API of RegistryCodeVersions.
+ * Gets the resource collection API of ModelVersions. It manages ModelVersion.
*
- * @return Resource collection API of RegistryCodeVersions.
+ * @return Resource collection API of ModelVersions.
*/
- public RegistryCodeVersions registryCodeVersions() {
- if (this.registryCodeVersions == null) {
- this.registryCodeVersions = new RegistryCodeVersionsImpl(clientObject.getRegistryCodeVersions(), this);
+ public ModelVersions modelVersions() {
+ if (this.modelVersions == null) {
+ this.modelVersions = new ModelVersionsImpl(clientObject.getModelVersions(), this);
}
- return registryCodeVersions;
+ return modelVersions;
}
/**
- * Gets the resource collection API of RegistryComponentContainers.
+ * Gets the resource collection API of BatchEndpoints. It manages BatchEndpoint.
*
- * @return Resource collection API of RegistryComponentContainers.
+ * @return Resource collection API of BatchEndpoints.
*/
- public RegistryComponentContainers registryComponentContainers() {
- if (this.registryComponentContainers == null) {
- this.registryComponentContainers
- = new RegistryComponentContainersImpl(clientObject.getRegistryComponentContainers(), this);
+ public BatchEndpoints batchEndpoints() {
+ if (this.batchEndpoints == null) {
+ this.batchEndpoints = new BatchEndpointsImpl(clientObject.getBatchEndpoints(), this);
}
- return registryComponentContainers;
+ return batchEndpoints;
}
/**
- * Gets the resource collection API of RegistryComponentVersions.
+ * Gets the resource collection API of BatchDeployments. It manages BatchDeployment.
*
- * @return Resource collection API of RegistryComponentVersions.
+ * @return Resource collection API of BatchDeployments.
*/
- public RegistryComponentVersions registryComponentVersions() {
- if (this.registryComponentVersions == null) {
- this.registryComponentVersions
- = new RegistryComponentVersionsImpl(clientObject.getRegistryComponentVersions(), this);
+ public BatchDeployments batchDeployments() {
+ if (this.batchDeployments == null) {
+ this.batchDeployments = new BatchDeploymentsImpl(clientObject.getBatchDeployments(), this);
}
- return registryComponentVersions;
+ return batchDeployments;
}
/**
- * Gets the resource collection API of RegistryDataContainers.
+ * Gets the resource collection API of CapabilityHosts. It manages CapabilityHost.
*
- * @return Resource collection API of RegistryDataContainers.
+ * @return Resource collection API of CapabilityHosts.
*/
- public RegistryDataContainers registryDataContainers() {
- if (this.registryDataContainers == null) {
- this.registryDataContainers
- = new RegistryDataContainersImpl(clientObject.getRegistryDataContainers(), this);
+ public CapabilityHosts capabilityHosts() {
+ if (this.capabilityHosts == null) {
+ this.capabilityHosts = new CapabilityHostsImpl(clientObject.getCapabilityHosts(), this);
}
- return registryDataContainers;
+ return capabilityHosts;
}
/**
- * Gets the resource collection API of RegistryDataVersions.
+ * Gets the resource collection API of Datastores. It manages Datastore.
*
- * @return Resource collection API of RegistryDataVersions.
+ * @return Resource collection API of Datastores.
*/
- public RegistryDataVersions registryDataVersions() {
- if (this.registryDataVersions == null) {
- this.registryDataVersions = new RegistryDataVersionsImpl(clientObject.getRegistryDataVersions(), this);
+ public Datastores datastores() {
+ if (this.datastores == null) {
+ this.datastores = new DatastoresImpl(clientObject.getDatastores(), this);
}
- return registryDataVersions;
+ return datastores;
}
/**
- * Gets the resource collection API of RegistryDataReferences.
+ * Gets the resource collection API of FeaturesetContainers. It manages FeaturesetContainer.
*
- * @return Resource collection API of RegistryDataReferences.
+ * @return Resource collection API of FeaturesetContainers.
*/
- public RegistryDataReferences registryDataReferences() {
- if (this.registryDataReferences == null) {
- this.registryDataReferences
- = new RegistryDataReferencesImpl(clientObject.getRegistryDataReferences(), this);
+ public FeaturesetContainers featuresetContainers() {
+ if (this.featuresetContainers == null) {
+ this.featuresetContainers = new FeaturesetContainersImpl(clientObject.getFeaturesetContainers(), this);
}
- return registryDataReferences;
+ return featuresetContainers;
}
/**
- * Gets the resource collection API of RegistryEnvironmentContainers.
+ * Gets the resource collection API of Features.
*
- * @return Resource collection API of RegistryEnvironmentContainers.
+ * @return Resource collection API of Features.
*/
- public RegistryEnvironmentContainers registryEnvironmentContainers() {
- if (this.registryEnvironmentContainers == null) {
- this.registryEnvironmentContainers
- = new RegistryEnvironmentContainersImpl(clientObject.getRegistryEnvironmentContainers(), this);
+ public Features features() {
+ if (this.features == null) {
+ this.features = new FeaturesImpl(clientObject.getFeatures(), this);
}
- return registryEnvironmentContainers;
+ return features;
}
/**
- * Gets the resource collection API of RegistryEnvironmentVersions.
+ * Gets the resource collection API of FeaturesetVersions. It manages FeaturesetVersion.
*
- * @return Resource collection API of RegistryEnvironmentVersions.
+ * @return Resource collection API of FeaturesetVersions.
*/
- public RegistryEnvironmentVersions registryEnvironmentVersions() {
- if (this.registryEnvironmentVersions == null) {
- this.registryEnvironmentVersions
- = new RegistryEnvironmentVersionsImpl(clientObject.getRegistryEnvironmentVersions(), this);
+ public FeaturesetVersions featuresetVersions() {
+ if (this.featuresetVersions == null) {
+ this.featuresetVersions = new FeaturesetVersionsImpl(clientObject.getFeaturesetVersions(), this);
}
- return registryEnvironmentVersions;
+ return featuresetVersions;
}
/**
- * Gets the resource collection API of RegistryModelContainers.
+ * Gets the resource collection API of FeaturestoreEntityContainers. It manages FeaturestoreEntityContainer.
*
- * @return Resource collection API of RegistryModelContainers.
+ * @return Resource collection API of FeaturestoreEntityContainers.
*/
- public RegistryModelContainers registryModelContainers() {
- if (this.registryModelContainers == null) {
- this.registryModelContainers
- = new RegistryModelContainersImpl(clientObject.getRegistryModelContainers(), this);
+ public FeaturestoreEntityContainers featurestoreEntityContainers() {
+ if (this.featurestoreEntityContainers == null) {
+ this.featurestoreEntityContainers
+ = new FeaturestoreEntityContainersImpl(clientObject.getFeaturestoreEntityContainers(), this);
}
- return registryModelContainers;
+ return featurestoreEntityContainers;
}
/**
- * Gets the resource collection API of RegistryModelVersions.
+ * Gets the resource collection API of FeaturestoreEntityVersions. It manages FeaturestoreEntityVersion.
*
- * @return Resource collection API of RegistryModelVersions.
+ * @return Resource collection API of FeaturestoreEntityVersions.
*/
- public RegistryModelVersions registryModelVersions() {
- if (this.registryModelVersions == null) {
- this.registryModelVersions = new RegistryModelVersionsImpl(clientObject.getRegistryModelVersions(), this);
+ public FeaturestoreEntityVersions featurestoreEntityVersions() {
+ if (this.featurestoreEntityVersions == null) {
+ this.featurestoreEntityVersions
+ = new FeaturestoreEntityVersionsImpl(clientObject.getFeaturestoreEntityVersions(), this);
}
- return registryModelVersions;
+ return featurestoreEntityVersions;
}
/**
- * Gets the resource collection API of BatchEndpoints. It manages BatchEndpoint.
+ * Gets the resource collection API of MarketplaceSubscriptions. It manages MarketplaceSubscription.
*
- * @return Resource collection API of BatchEndpoints.
+ * @return Resource collection API of MarketplaceSubscriptions.
*/
- public BatchEndpoints batchEndpoints() {
- if (this.batchEndpoints == null) {
- this.batchEndpoints = new BatchEndpointsImpl(clientObject.getBatchEndpoints(), this);
+ public MarketplaceSubscriptions marketplaceSubscriptions() {
+ if (this.marketplaceSubscriptions == null) {
+ this.marketplaceSubscriptions
+ = new MarketplaceSubscriptionsImpl(clientObject.getMarketplaceSubscriptions(), this);
}
- return batchEndpoints;
+ return marketplaceSubscriptions;
}
/**
- * Gets the resource collection API of BatchDeployments. It manages BatchDeployment.
+ * Gets the resource collection API of OnlineEndpoints. It manages OnlineEndpoint.
*
- * @return Resource collection API of BatchDeployments.
+ * @return Resource collection API of OnlineEndpoints.
*/
- public BatchDeployments batchDeployments() {
- if (this.batchDeployments == null) {
- this.batchDeployments = new BatchDeploymentsImpl(clientObject.getBatchDeployments(), this);
+ public OnlineEndpoints onlineEndpoints() {
+ if (this.onlineEndpoints == null) {
+ this.onlineEndpoints = new OnlineEndpointsImpl(clientObject.getOnlineEndpoints(), this);
}
- return batchDeployments;
+ return onlineEndpoints;
}
/**
- * Gets the resource collection API of CodeContainers. It manages CodeContainer.
+ * Gets the resource collection API of OnlineDeployments. It manages OnlineDeployment.
*
- * @return Resource collection API of CodeContainers.
+ * @return Resource collection API of OnlineDeployments.
*/
- public CodeContainers codeContainers() {
- if (this.codeContainers == null) {
- this.codeContainers = new CodeContainersImpl(clientObject.getCodeContainers(), this);
+ public OnlineDeployments onlineDeployments() {
+ if (this.onlineDeployments == null) {
+ this.onlineDeployments = new OnlineDeploymentsImpl(clientObject.getOnlineDeployments(), this);
}
- return codeContainers;
+ return onlineDeployments;
}
/**
- * Gets the resource collection API of CodeVersions. It manages CodeVersion.
+ * Gets the resource collection API of Schedules. It manages Schedule.
*
- * @return Resource collection API of CodeVersions.
+ * @return Resource collection API of Schedules.
*/
- public CodeVersions codeVersions() {
- if (this.codeVersions == null) {
- this.codeVersions = new CodeVersionsImpl(clientObject.getCodeVersions(), this);
+ public Schedules schedules() {
+ if (this.schedules == null) {
+ this.schedules = new SchedulesImpl(clientObject.getSchedules(), this);
}
- return codeVersions;
+ return schedules;
}
/**
- * Gets the resource collection API of ComponentContainers. It manages ComponentContainer.
+ * Gets the resource collection API of ServerlessEndpoints. It manages ServerlessEndpoint.
*
- * @return Resource collection API of ComponentContainers.
+ * @return Resource collection API of ServerlessEndpoints.
*/
- public ComponentContainers componentContainers() {
- if (this.componentContainers == null) {
- this.componentContainers = new ComponentContainersImpl(clientObject.getComponentContainers(), this);
+ public ServerlessEndpoints serverlessEndpoints() {
+ if (this.serverlessEndpoints == null) {
+ this.serverlessEndpoints = new ServerlessEndpointsImpl(clientObject.getServerlessEndpoints(), this);
}
- return componentContainers;
+ return serverlessEndpoints;
}
/**
- * Gets the resource collection API of ComponentVersions. It manages ComponentVersion.
+ * Gets the resource collection API of PrivateEndpointConnections. It manages PrivateEndpointConnection.
*
- * @return Resource collection API of ComponentVersions.
+ * @return Resource collection API of PrivateEndpointConnections.
*/
- public ComponentVersions componentVersions() {
- if (this.componentVersions == null) {
- this.componentVersions = new ComponentVersionsImpl(clientObject.getComponentVersions(), this);
+ public PrivateEndpointConnections privateEndpointConnections() {
+ if (this.privateEndpointConnections == null) {
+ this.privateEndpointConnections
+ = new PrivateEndpointConnectionsImpl(clientObject.getPrivateEndpointConnections(), this);
}
- return componentVersions;
+ return privateEndpointConnections;
}
/**
- * Gets the resource collection API of DataContainers. It manages DataContainer.
+ * Gets the resource collection API of Computes. It manages ComputeResource.
*
- * @return Resource collection API of DataContainers.
+ * @return Resource collection API of Computes.
*/
- public DataContainers dataContainers() {
- if (this.dataContainers == null) {
- this.dataContainers = new DataContainersImpl(clientObject.getDataContainers(), this);
+ public Computes computes() {
+ if (this.computes == null) {
+ this.computes = new ComputesImpl(clientObject.getComputes(), this);
}
- return dataContainers;
+ return computes;
}
/**
- * Gets the resource collection API of DataVersions. It manages DataVersionBase.
+ * Gets the resource collection API of WorkspaceFeatures.
*
- * @return Resource collection API of DataVersions.
+ * @return Resource collection API of WorkspaceFeatures.
*/
- public DataVersions dataVersions() {
- if (this.dataVersions == null) {
- this.dataVersions = new DataVersionsImpl(clientObject.getDataVersions(), this);
+ public WorkspaceFeatures workspaceFeatures() {
+ if (this.workspaceFeatures == null) {
+ this.workspaceFeatures = new WorkspaceFeaturesImpl(clientObject.getWorkspaceFeatures(), this);
}
- return dataVersions;
+ return workspaceFeatures;
}
/**
- * Gets the resource collection API of Datastores. It manages Datastore.
+ * Gets the resource collection API of PrivateLinkResources.
*
- * @return Resource collection API of Datastores.
+ * @return Resource collection API of PrivateLinkResources.
*/
- public Datastores datastores() {
- if (this.datastores == null) {
- this.datastores = new DatastoresImpl(clientObject.getDatastores(), this);
+ public PrivateLinkResources privateLinkResources() {
+ if (this.privateLinkResources == null) {
+ this.privateLinkResources = new PrivateLinkResourcesImpl(clientObject.getPrivateLinkResources(), this);
}
- return datastores;
+ return privateLinkResources;
}
/**
- * Gets the resource collection API of EnvironmentContainers. It manages EnvironmentContainer.
+ * Gets the resource collection API of ManagedNetworkProvisions.
*
- * @return Resource collection API of EnvironmentContainers.
+ * @return Resource collection API of ManagedNetworkProvisions.
*/
- public EnvironmentContainers environmentContainers() {
- if (this.environmentContainers == null) {
- this.environmentContainers = new EnvironmentContainersImpl(clientObject.getEnvironmentContainers(), this);
+ public ManagedNetworkProvisions managedNetworkProvisions() {
+ if (this.managedNetworkProvisions == null) {
+ this.managedNetworkProvisions
+ = new ManagedNetworkProvisionsImpl(clientObject.getManagedNetworkProvisions(), this);
}
- return environmentContainers;
+ return managedNetworkProvisions;
}
/**
- * Gets the resource collection API of EnvironmentVersions. It manages EnvironmentVersion.
+ * Gets the resource collection API of RegistryCodeContainers.
*
- * @return Resource collection API of EnvironmentVersions.
+ * @return Resource collection API of RegistryCodeContainers.
*/
- public EnvironmentVersions environmentVersions() {
- if (this.environmentVersions == null) {
- this.environmentVersions = new EnvironmentVersionsImpl(clientObject.getEnvironmentVersions(), this);
+ public RegistryCodeContainers registryCodeContainers() {
+ if (this.registryCodeContainers == null) {
+ this.registryCodeContainers
+ = new RegistryCodeContainersImpl(clientObject.getRegistryCodeContainers(), this);
}
- return environmentVersions;
+ return registryCodeContainers;
}
/**
- * Gets the resource collection API of FeaturesetContainers. It manages FeaturesetContainer.
+ * Gets the resource collection API of RegistryDataReferences.
*
- * @return Resource collection API of FeaturesetContainers.
+ * @return Resource collection API of RegistryDataReferences.
*/
- public FeaturesetContainers featuresetContainers() {
- if (this.featuresetContainers == null) {
- this.featuresetContainers = new FeaturesetContainersImpl(clientObject.getFeaturesetContainers(), this);
+ public RegistryDataReferences registryDataReferences() {
+ if (this.registryDataReferences == null) {
+ this.registryDataReferences
+ = new RegistryDataReferencesImpl(clientObject.getRegistryDataReferences(), this);
}
- return featuresetContainers;
+ return registryDataReferences;
}
/**
- * Gets the resource collection API of Features.
+ * Gets the resource collection API of RegistryCodeVersions.
*
- * @return Resource collection API of Features.
+ * @return Resource collection API of RegistryCodeVersions.
*/
- public Features features() {
- if (this.features == null) {
- this.features = new FeaturesImpl(clientObject.getFeatures(), this);
+ public RegistryCodeVersions registryCodeVersions() {
+ if (this.registryCodeVersions == null) {
+ this.registryCodeVersions = new RegistryCodeVersionsImpl(clientObject.getRegistryCodeVersions(), this);
}
- return features;
+ return registryCodeVersions;
}
/**
- * Gets the resource collection API of FeaturesetVersions. It manages FeaturesetVersion.
+ * Gets the resource collection API of RegistryComponentContainers.
*
- * @return Resource collection API of FeaturesetVersions.
+ * @return Resource collection API of RegistryComponentContainers.
*/
- public FeaturesetVersions featuresetVersions() {
- if (this.featuresetVersions == null) {
- this.featuresetVersions = new FeaturesetVersionsImpl(clientObject.getFeaturesetVersions(), this);
+ public RegistryComponentContainers registryComponentContainers() {
+ if (this.registryComponentContainers == null) {
+ this.registryComponentContainers
+ = new RegistryComponentContainersImpl(clientObject.getRegistryComponentContainers(), this);
}
- return featuresetVersions;
+ return registryComponentContainers;
}
/**
- * Gets the resource collection API of FeaturestoreEntityContainers. It manages FeaturestoreEntityContainer.
+ * Gets the resource collection API of RegistryComponentVersions.
*
- * @return Resource collection API of FeaturestoreEntityContainers.
+ * @return Resource collection API of RegistryComponentVersions.
*/
- public FeaturestoreEntityContainers featurestoreEntityContainers() {
- if (this.featurestoreEntityContainers == null) {
- this.featurestoreEntityContainers
- = new FeaturestoreEntityContainersImpl(clientObject.getFeaturestoreEntityContainers(), this);
+ public RegistryComponentVersions registryComponentVersions() {
+ if (this.registryComponentVersions == null) {
+ this.registryComponentVersions
+ = new RegistryComponentVersionsImpl(clientObject.getRegistryComponentVersions(), this);
}
- return featurestoreEntityContainers;
+ return registryComponentVersions;
}
/**
- * Gets the resource collection API of FeaturestoreEntityVersions. It manages FeaturestoreEntityVersion.
+ * Gets the resource collection API of RegistryDataContainers.
*
- * @return Resource collection API of FeaturestoreEntityVersions.
+ * @return Resource collection API of RegistryDataContainers.
*/
- public FeaturestoreEntityVersions featurestoreEntityVersions() {
- if (this.featurestoreEntityVersions == null) {
- this.featurestoreEntityVersions
- = new FeaturestoreEntityVersionsImpl(clientObject.getFeaturestoreEntityVersions(), this);
+ public RegistryDataContainers registryDataContainers() {
+ if (this.registryDataContainers == null) {
+ this.registryDataContainers
+ = new RegistryDataContainersImpl(clientObject.getRegistryDataContainers(), this);
}
- return featurestoreEntityVersions;
+ return registryDataContainers;
}
/**
- * Gets the resource collection API of Jobs. It manages JobBase.
+ * Gets the resource collection API of RegistryDataVersions.
*
- * @return Resource collection API of Jobs.
+ * @return Resource collection API of RegistryDataVersions.
*/
- public Jobs jobs() {
- if (this.jobs == null) {
- this.jobs = new JobsImpl(clientObject.getJobs(), this);
+ public RegistryDataVersions registryDataVersions() {
+ if (this.registryDataVersions == null) {
+ this.registryDataVersions = new RegistryDataVersionsImpl(clientObject.getRegistryDataVersions(), this);
}
- return jobs;
+ return registryDataVersions;
}
/**
- * Gets the resource collection API of MarketplaceSubscriptions. It manages MarketplaceSubscription.
+ * Gets the resource collection API of RegistryEnvironmentContainers.
*
- * @return Resource collection API of MarketplaceSubscriptions.
+ * @return Resource collection API of RegistryEnvironmentContainers.
*/
- public MarketplaceSubscriptions marketplaceSubscriptions() {
- if (this.marketplaceSubscriptions == null) {
- this.marketplaceSubscriptions
- = new MarketplaceSubscriptionsImpl(clientObject.getMarketplaceSubscriptions(), this);
+ public RegistryEnvironmentContainers registryEnvironmentContainers() {
+ if (this.registryEnvironmentContainers == null) {
+ this.registryEnvironmentContainers
+ = new RegistryEnvironmentContainersImpl(clientObject.getRegistryEnvironmentContainers(), this);
}
- return marketplaceSubscriptions;
+ return registryEnvironmentContainers;
}
/**
- * Gets the resource collection API of ModelContainers. It manages ModelContainer.
+ * Gets the resource collection API of RegistryEnvironmentVersions.
*
- * @return Resource collection API of ModelContainers.
+ * @return Resource collection API of RegistryEnvironmentVersions.
*/
- public ModelContainers modelContainers() {
- if (this.modelContainers == null) {
- this.modelContainers = new ModelContainersImpl(clientObject.getModelContainers(), this);
+ public RegistryEnvironmentVersions registryEnvironmentVersions() {
+ if (this.registryEnvironmentVersions == null) {
+ this.registryEnvironmentVersions
+ = new RegistryEnvironmentVersionsImpl(clientObject.getRegistryEnvironmentVersions(), this);
}
- return modelContainers;
+ return registryEnvironmentVersions;
}
/**
- * Gets the resource collection API of ModelVersions. It manages ModelVersion.
+ * Gets the resource collection API of RegistryModelContainers.
*
- * @return Resource collection API of ModelVersions.
+ * @return Resource collection API of RegistryModelContainers.
*/
- public ModelVersions modelVersions() {
- if (this.modelVersions == null) {
- this.modelVersions = new ModelVersionsImpl(clientObject.getModelVersions(), this);
+ public RegistryModelContainers registryModelContainers() {
+ if (this.registryModelContainers == null) {
+ this.registryModelContainers
+ = new RegistryModelContainersImpl(clientObject.getRegistryModelContainers(), this);
}
- return modelVersions;
+ return registryModelContainers;
}
/**
- * Gets the resource collection API of OnlineEndpoints. It manages OnlineEndpoint.
+ * Gets the resource collection API of RegistryModelVersions.
*
- * @return Resource collection API of OnlineEndpoints.
+ * @return Resource collection API of RegistryModelVersions.
*/
- public OnlineEndpoints onlineEndpoints() {
- if (this.onlineEndpoints == null) {
- this.onlineEndpoints = new OnlineEndpointsImpl(clientObject.getOnlineEndpoints(), this);
+ public RegistryModelVersions registryModelVersions() {
+ if (this.registryModelVersions == null) {
+ this.registryModelVersions = new RegistryModelVersionsImpl(clientObject.getRegistryModelVersions(), this);
}
- return onlineEndpoints;
+ return registryModelVersions;
}
/**
- * Gets the resource collection API of OnlineDeployments. It manages OnlineDeployment.
+ * Gets the resource collection API of Jobs. It manages JobBase.
*
- * @return Resource collection API of OnlineDeployments.
+ * @return Resource collection API of Jobs.
*/
- public OnlineDeployments onlineDeployments() {
- if (this.onlineDeployments == null) {
- this.onlineDeployments = new OnlineDeploymentsImpl(clientObject.getOnlineDeployments(), this);
+ public Jobs jobs() {
+ if (this.jobs == null) {
+ this.jobs = new JobsImpl(clientObject.getJobs(), this);
}
- return onlineDeployments;
+ return jobs;
}
/**
- * Gets the resource collection API of Schedules. It manages Schedule.
+ * Gets the resource collection API of WorkspaceConnections. It manages
+ * WorkspaceConnectionPropertiesV2BasicResource.
*
- * @return Resource collection API of Schedules.
+ * @return Resource collection API of WorkspaceConnections.
*/
- public Schedules schedules() {
- if (this.schedules == null) {
- this.schedules = new SchedulesImpl(clientObject.getSchedules(), this);
+ public WorkspaceConnections workspaceConnections() {
+ if (this.workspaceConnections == null) {
+ this.workspaceConnections = new WorkspaceConnectionsImpl(clientObject.getWorkspaceConnections(), this);
}
- return schedules;
+ return workspaceConnections;
}
/**
- * Gets the resource collection API of ServerlessEndpoints. It manages ServerlessEndpoint.
+ * Gets the resource collection API of ManagedNetworkSettingsRules. It manages OutboundRuleBasicResource.
*
- * @return Resource collection API of ServerlessEndpoints.
+ * @return Resource collection API of ManagedNetworkSettingsRules.
*/
- public ServerlessEndpoints serverlessEndpoints() {
- if (this.serverlessEndpoints == null) {
- this.serverlessEndpoints = new ServerlessEndpointsImpl(clientObject.getServerlessEndpoints(), this);
+ public ManagedNetworkSettingsRules managedNetworkSettingsRules() {
+ if (this.managedNetworkSettingsRules == null) {
+ this.managedNetworkSettingsRules
+ = new ManagedNetworkSettingsRulesImpl(clientObject.getManagedNetworkSettingsRules(), this);
}
- return serverlessEndpoints;
+ return managedNetworkSettingsRules;
}
/**
- * Gets the resource collection API of Registries. It manages Registry.
+ * Gets the resource collection API of Usages.
*
- * @return Resource collection API of Registries.
+ * @return Resource collection API of Usages.
*/
- public Registries registries() {
- if (this.registries == null) {
- this.registries = new RegistriesImpl(clientObject.getRegistries(), this);
+ public Usages usages() {
+ if (this.usages == null) {
+ this.usages = new UsagesImpl(clientObject.getUsages(), this);
}
- return registries;
+ return usages;
}
/**
- * Gets the resource collection API of WorkspaceFeatures.
+ * Gets the resource collection API of VirtualMachineSizes.
*
- * @return Resource collection API of WorkspaceFeatures.
+ * @return Resource collection API of VirtualMachineSizes.
*/
- public WorkspaceFeatures workspaceFeatures() {
- if (this.workspaceFeatures == null) {
- this.workspaceFeatures = new WorkspaceFeaturesImpl(clientObject.getWorkspaceFeatures(), this);
+ public VirtualMachineSizes virtualMachineSizes() {
+ if (this.virtualMachineSizes == null) {
+ this.virtualMachineSizes = new VirtualMachineSizesImpl(clientObject.getVirtualMachineSizes(), this);
}
- return workspaceFeatures;
+ return virtualMachineSizes;
+ }
+
+ /**
+ * Gets the resource collection API of Quotas.
+ *
+ * @return Resource collection API of Quotas.
+ */
+ public Quotas quotas() {
+ if (this.quotas == null) {
+ this.quotas = new QuotasImpl(clientObject.getQuotas(), this);
+ }
+ return quotas;
}
/**
- * Gets wrapped service client AzureMachineLearningWorkspaces providing direct access to the underlying
+ * Gets wrapped service client MachineLearningManagementClient providing direct access to the underlying
* auto-generated API implementation, based on Azure REST API.
*
- * @return Wrapped service client AzureMachineLearningWorkspaces.
+ * @return Wrapped service client MachineLearningManagementClient.
*/
- public AzureMachineLearningWorkspaces serviceClient() {
+ public MachineLearningManagementClient serviceClient() {
return this.clientObject;
}
}
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/BatchDeploymentsClient.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/BatchDeploymentsClient.java
index 8ef782e7a521..a650eb316b68 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/BatchDeploymentsClient.java
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/BatchDeploymentsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.machinelearning.fluent;
@@ -19,146 +19,131 @@
*/
public interface BatchDeploymentsClient {
/**
- * Lists Batch inference deployments in the workspace.
+ * Get batch inference deployment by id.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Endpoint name.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of BatchDeployment entities as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName, String endpointName);
-
- /**
- * Lists Batch inference deployments in the workspace.
+ * Gets a batch inference deployment by id.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Endpoint name.
- * @param orderBy Ordering of list.
- * @param top Top of list.
- * @param skip Continuation token for pagination.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
+ * @param deploymentName The identifier for the Batch deployments.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of BatchDeployment entities as paginated response with {@link PagedIterable}.
+ * @return batch inference deployment by id.
+ *
+ * Gets a batch inference deployment by id along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName, String endpointName,
- String orderBy, Integer top, String skip, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String workspaceName, String endpointName,
+ String deploymentName, Context context);
/**
- * Delete Batch Inference deployment (asynchronous).
+ * Get batch inference deployment by id.
+ *
+ * Gets a batch inference deployment by id.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Endpoint name.
- * @param deploymentName Inference deployment identifier.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
+ * @param deploymentName The identifier for the Batch deployments.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
+ * @return batch inference deployment by id.
+ *
+ * Gets a batch inference deployment by id.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String endpointName,
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BatchDeploymentInner get(String resourceGroupName, String workspaceName, String endpointName,
String deploymentName);
/**
- * Delete Batch Inference deployment (asynchronous).
+ * Creates/updates a batch inference deployment (asynchronous).
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Endpoint name.
- * @param deploymentName Inference deployment identifier.
- * @param context The context to associate with this operation.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
+ * @param deploymentName The identifier for the Batch deployments.
+ * @param body Batch inference deployment definition object.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
+ * @return the {@link SyncPoller} for polling of concrete tracked resource types can be created by aliasing this
+ * type using a specific property type.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String endpointName,
- String deploymentName, Context context);
-
- /**
- * Delete Batch Inference deployment (asynchronous).
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Endpoint name.
- * @param deploymentName Inference deployment identifier.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String workspaceName, String endpointName, String deploymentName);
+ SyncPoller, BatchDeploymentInner> beginCreateOrUpdate(String resourceGroupName,
+ String workspaceName, String endpointName, String deploymentName, BatchDeploymentInner body);
/**
- * Delete Batch Inference deployment (asynchronous).
+ * Creates/updates a batch inference deployment (asynchronous).
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Endpoint name.
- * @param deploymentName Inference deployment identifier.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
+ * @param deploymentName The identifier for the Batch deployments.
+ * @param body Batch inference deployment definition object.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of concrete tracked resource types can be created by aliasing this
+ * type using a specific property type.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String workspaceName, String endpointName, String deploymentName,
- Context context);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, BatchDeploymentInner> beginCreateOrUpdate(String resourceGroupName,
+ String workspaceName, String endpointName, String deploymentName, BatchDeploymentInner body, Context context);
/**
- * Gets a batch inference deployment by id.
+ * Creates/updates a batch inference deployment (asynchronous).
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Endpoint name.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
* @param deploymentName The identifier for the Batch deployments.
- * @param context The context to associate with this operation.
+ * @param body Batch inference deployment definition object.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a batch inference deployment by id along with {@link Response}.
+ * @return concrete tracked resource types can be created by aliasing this type using a specific property type.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String workspaceName, String endpointName,
- String deploymentName, Context context);
+ BatchDeploymentInner createOrUpdate(String resourceGroupName, String workspaceName, String endpointName,
+ String deploymentName, BatchDeploymentInner body);
/**
- * Gets a batch inference deployment by id.
+ * Creates/updates a batch inference deployment (asynchronous).
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Endpoint name.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
* @param deploymentName The identifier for the Batch deployments.
+ * @param body Batch inference deployment definition object.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a batch inference deployment by id.
+ * @return concrete tracked resource types can be created by aliasing this type using a specific property type.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- BatchDeploymentInner get(String resourceGroupName, String workspaceName, String endpointName,
- String deploymentName);
+ BatchDeploymentInner createOrUpdate(String resourceGroupName, String workspaceName, String endpointName,
+ String deploymentName, BatchDeploymentInner body, Context context);
/**
* Update a batch inference deployment (asynchronous).
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Inference endpoint name.
- * @param deploymentName The identifier for the Batch inference deployment.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
+ * @param deploymentName The identifier for the Batch deployments.
* @param body Batch inference deployment definition object.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
+ * @return the {@link SyncPoller} for polling of concrete tracked resource types can be created by aliasing this
+ * type using a specific property type.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, BatchDeploymentInner> beginUpdate(String resourceGroupName,
@@ -169,15 +154,16 @@ SyncPoller, BatchDeploymentInner> beginUpdate(S
* Update a batch inference deployment (asynchronous).
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Inference endpoint name.
- * @param deploymentName The identifier for the Batch inference deployment.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
+ * @param deploymentName The identifier for the Batch deployments.
* @param body Batch inference deployment definition object.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
+ * @return the {@link SyncPoller} for polling of concrete tracked resource types can be created by aliasing this
+ * type using a specific property type.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, BatchDeploymentInner> beginUpdate(String resourceGroupName,
@@ -188,14 +174,14 @@ SyncPoller, BatchDeploymentInner> beginUpdate(S
* Update a batch inference deployment (asynchronous).
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Inference endpoint name.
- * @param deploymentName The identifier for the Batch inference deployment.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
+ * @param deploymentName The identifier for the Batch deployments.
* @param body Batch inference deployment definition object.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
+ * @return concrete tracked resource types can be created by aliasing this type using a specific property type.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
BatchDeploymentInner update(String resourceGroupName, String workspaceName, String endpointName,
@@ -205,45 +191,43 @@ BatchDeploymentInner update(String resourceGroupName, String workspaceName, Stri
* Update a batch inference deployment (asynchronous).
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Inference endpoint name.
- * @param deploymentName The identifier for the Batch inference deployment.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
+ * @param deploymentName The identifier for the Batch deployments.
* @param body Batch inference deployment definition object.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
+ * @return concrete tracked resource types can be created by aliasing this type using a specific property type.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
BatchDeploymentInner update(String resourceGroupName, String workspaceName, String endpointName,
String deploymentName, PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties body, Context context);
/**
- * Creates/updates a batch inference deployment (asynchronous).
+ * Delete Batch Inference deployment (asynchronous).
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Inference endpoint name.
- * @param deploymentName The identifier for the Batch inference deployment.
- * @param body Batch inference deployment definition object.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
+ * @param deploymentName The identifier for the Batch deployments.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, BatchDeploymentInner> beginCreateOrUpdate(String resourceGroupName,
- String workspaceName, String endpointName, String deploymentName, BatchDeploymentInner body);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String endpointName,
+ String deploymentName);
/**
- * Creates/updates a batch inference deployment (asynchronous).
+ * Delete Batch Inference deployment (asynchronous).
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Inference endpoint name.
- * @param deploymentName The identifier for the Batch inference deployment.
- * @param body Batch inference deployment definition object.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
+ * @param deploymentName The identifier for the Batch deployments.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -251,41 +235,69 @@ SyncPoller, BatchDeploymentInner> beginCreateOr
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, BatchDeploymentInner> beginCreateOrUpdate(String resourceGroupName,
- String workspaceName, String endpointName, String deploymentName, BatchDeploymentInner body, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String endpointName,
+ String deploymentName, Context context);
/**
- * Creates/updates a batch inference deployment (asynchronous).
+ * Delete Batch Inference deployment (asynchronous).
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Inference endpoint name.
- * @param deploymentName The identifier for the Batch inference deployment.
- * @param body Batch inference deployment definition object.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
+ * @param deploymentName The identifier for the Batch deployments.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- BatchDeploymentInner createOrUpdate(String resourceGroupName, String workspaceName, String endpointName,
- String deploymentName, BatchDeploymentInner body);
+ void delete(String resourceGroupName, String workspaceName, String endpointName, String deploymentName);
/**
- * Creates/updates a batch inference deployment (asynchronous).
+ * Delete Batch Inference deployment (asynchronous).
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Inference endpoint name.
- * @param deploymentName The identifier for the Batch inference deployment.
- * @param body Batch inference deployment definition object.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
+ * @param deploymentName The identifier for the Batch deployments.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- BatchDeploymentInner createOrUpdate(String resourceGroupName, String workspaceName, String endpointName,
- String deploymentName, BatchDeploymentInner body, Context context);
+ void delete(String resourceGroupName, String workspaceName, String endpointName, String deploymentName,
+ Context context);
+
+ /**
+ * Lists Batch inference deployments in the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a paginated list of BatchDeployment entities as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName, String endpointName);
+
+ /**
+ * Lists Batch inference deployments in the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
+ * @param orderBy Ordering of list.
+ * @param top Top of list.
+ * @param skip Continuation token for pagination.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a paginated list of BatchDeployment entities as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName, String endpointName,
+ String orderBy, Integer top, String skip, Context context);
}
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/BatchEndpointsClient.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/BatchEndpointsClient.java
index ad9d816bd275..bd37a2bb98d2 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/BatchEndpointsClient.java
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/BatchEndpointsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.machinelearning.fluent;
@@ -20,133 +20,131 @@
*/
public interface BatchEndpointsClient {
/**
- * Lists Batch inference endpoint in the workspace.
+ * Get batch inference endpoint by name.
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of BatchEndpoint entities as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName);
-
- /**
- * Lists Batch inference endpoint in the workspace.
+ * Gets a batch inference endpoint by name.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param count Number of endpoints to be retrieved in a page of results.
- * @param skip Continuation token for pagination.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of BatchEndpoint entities as paginated response with {@link PagedIterable}.
+ * @return batch inference endpoint by name.
+ *
+ * Gets a batch inference endpoint by name along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName, Integer count, String skip,
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String workspaceName, String endpointName,
Context context);
/**
- * Delete Batch Inference Endpoint (asynchronous).
+ * Get batch inference endpoint by name.
+ *
+ * Gets a batch inference endpoint by name.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Inference Endpoint name.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
+ * @return batch inference endpoint by name.
+ *
+ * Gets a batch inference endpoint by name.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String endpointName);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BatchEndpointInner get(String resourceGroupName, String workspaceName, String endpointName);
/**
- * Delete Batch Inference Endpoint (asynchronous).
+ * Create a batch inference endpoint (asynchronous).
+ *
+ * Creates a batch inference endpoint (asynchronous).
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Inference Endpoint name.
- * @param context The context to associate with this operation.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
+ * @param body Batch inference endpoint definition object.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
+ * @return the {@link SyncPoller} for polling of concrete tracked resource types can be created by aliasing this
+ * type using a specific property type.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String endpointName,
- Context context);
+ SyncPoller, BatchEndpointInner> beginCreateOrUpdate(String resourceGroupName,
+ String workspaceName, String endpointName, BatchEndpointInner body);
/**
- * Delete Batch Inference Endpoint (asynchronous).
+ * Create a batch inference endpoint (asynchronous).
*
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Inference Endpoint name.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String workspaceName, String endpointName);
-
- /**
- * Delete Batch Inference Endpoint (asynchronous).
+ * Creates a batch inference endpoint (asynchronous).
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Inference Endpoint name.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
+ * @param body Batch inference endpoint definition object.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of concrete tracked resource types can be created by aliasing this
+ * type using a specific property type.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String workspaceName, String endpointName, Context context);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, BatchEndpointInner> beginCreateOrUpdate(String resourceGroupName,
+ String workspaceName, String endpointName, BatchEndpointInner body, Context context);
/**
- * Gets a batch inference endpoint by name.
+ * Create a batch inference endpoint (asynchronous).
+ *
+ * Creates a batch inference endpoint (asynchronous).
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param endpointName Name for the Batch Endpoint.
- * @param context The context to associate with this operation.
+ * @param body Batch inference endpoint definition object.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a batch inference endpoint by name along with {@link Response}.
+ * @return concrete tracked resource types can be created by aliasing this type using a specific property type.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String workspaceName, String endpointName,
- Context context);
+ BatchEndpointInner createOrUpdate(String resourceGroupName, String workspaceName, String endpointName,
+ BatchEndpointInner body);
/**
- * Gets a batch inference endpoint by name.
+ * Create a batch inference endpoint (asynchronous).
+ *
+ * Creates a batch inference endpoint (asynchronous).
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param endpointName Name for the Batch Endpoint.
+ * @param body Batch inference endpoint definition object.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a batch inference endpoint by name.
+ * @return concrete tracked resource types can be created by aliasing this type using a specific property type.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- BatchEndpointInner get(String resourceGroupName, String workspaceName, String endpointName);
+ BatchEndpointInner createOrUpdate(String resourceGroupName, String workspaceName, String endpointName,
+ BatchEndpointInner body, Context context);
/**
* Update a batch inference endpoint (asynchronous).
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Name for the Batch inference endpoint.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
* @param body Mutable batch inference endpoint definition object.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
+ * @return the {@link SyncPoller} for polling of concrete tracked resource types can be created by aliasing this
+ * type using a specific property type.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, BatchEndpointInner> beginUpdate(String resourceGroupName,
@@ -156,14 +154,15 @@ SyncPoller, BatchEndpointInner> beginUpdate(Strin
* Update a batch inference endpoint (asynchronous).
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Name for the Batch inference endpoint.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
* @param body Mutable batch inference endpoint definition object.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
+ * @return the {@link SyncPoller} for polling of concrete tracked resource types can be created by aliasing this
+ * type using a specific property type.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, BatchEndpointInner> beginUpdate(String resourceGroupName,
@@ -173,13 +172,13 @@ SyncPoller, BatchEndpointInner> beginUpdate(Strin
* Update a batch inference endpoint (asynchronous).
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Name for the Batch inference endpoint.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
* @param body Mutable batch inference endpoint definition object.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
+ * @return concrete tracked resource types can be created by aliasing this type using a specific property type.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
BatchEndpointInner update(String resourceGroupName, String workspaceName, String endpointName,
@@ -189,42 +188,39 @@ BatchEndpointInner update(String resourceGroupName, String workspaceName, String
* Update a batch inference endpoint (asynchronous).
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Name for the Batch inference endpoint.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
* @param body Mutable batch inference endpoint definition object.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
+ * @return concrete tracked resource types can be created by aliasing this type using a specific property type.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
BatchEndpointInner update(String resourceGroupName, String workspaceName, String endpointName,
PartialMinimalTrackedResourceWithIdentity body, Context context);
/**
- * Creates a batch inference endpoint (asynchronous).
+ * Delete Batch Inference Endpoint (asynchronous).
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Name for the Batch inference endpoint.
- * @param body Batch inference endpoint definition object.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, BatchEndpointInner> beginCreateOrUpdate(String resourceGroupName,
- String workspaceName, String endpointName, BatchEndpointInner body);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String endpointName);
/**
- * Creates a batch inference endpoint (asynchronous).
+ * Delete Batch Inference Endpoint (asynchronous).
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Name for the Batch inference endpoint.
- * @param body Batch inference endpoint definition object.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -232,48 +228,72 @@ SyncPoller, BatchEndpointInner> beginCreateOrUpda
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, BatchEndpointInner> beginCreateOrUpdate(String resourceGroupName,
- String workspaceName, String endpointName, BatchEndpointInner body, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String endpointName,
+ Context context);
/**
- * Creates a batch inference endpoint (asynchronous).
+ * Delete Batch Inference Endpoint (asynchronous).
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Name for the Batch inference endpoint.
- * @param body Batch inference endpoint definition object.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- BatchEndpointInner createOrUpdate(String resourceGroupName, String workspaceName, String endpointName,
- BatchEndpointInner body);
+ void delete(String resourceGroupName, String workspaceName, String endpointName);
/**
- * Creates a batch inference endpoint (asynchronous).
+ * Delete Batch Inference Endpoint (asynchronous).
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Name for the Batch inference endpoint.
- * @param body Batch inference endpoint definition object.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- BatchEndpointInner createOrUpdate(String resourceGroupName, String workspaceName, String endpointName,
- BatchEndpointInner body, Context context);
+ void delete(String resourceGroupName, String workspaceName, String endpointName, Context context);
+
+ /**
+ * Lists Batch inference endpoint in the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a paginated list of BatchEndpoint entities as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName);
+
+ /**
+ * Lists Batch inference endpoint in the workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param count Number of endpoints to be retrieved in a page of results.
+ * @param skip Continuation token for pagination.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a paginated list of BatchEndpoint entities as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName, Integer count, String skip,
+ Context context);
/**
* Lists batch Inference Endpoint keys.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Inference Endpoint name.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -288,8 +308,8 @@ Response listKeysWithResponse(String resourceGroupName, S
* Lists batch Inference Endpoint keys.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param endpointName Inference Endpoint name.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param endpointName Name for the Batch Endpoint.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/CapabilityHostsClient.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/CapabilityHostsClient.java
new file mode 100644
index 000000000000..b2bc4deb5754
--- /dev/null
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/CapabilityHostsClient.java
@@ -0,0 +1,171 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.machinelearning.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.machinelearning.fluent.models.CapabilityHostInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in CapabilityHostsClient.
+ */
+public interface CapabilityHostsClient {
+ /**
+ * Get capabilityHost.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param name CapabilityHost name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return capabilityHost along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String workspaceName, String name,
+ Context context);
+
+ /**
+ * Get capabilityHost.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param name CapabilityHost name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return capabilityHost.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CapabilityHostInner get(String resourceGroupName, String workspaceName, String name);
+
+ /**
+ * Create or update capabilityHost.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param name CapabilityHost name.
+ * @param body CapabilityHost definition.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, CapabilityHostInner> beginCreateOrUpdate(String resourceGroupName,
+ String workspaceName, String name, CapabilityHostInner body);
+
+ /**
+ * Create or update capabilityHost.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param name CapabilityHost name.
+ * @param body CapabilityHost definition.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, CapabilityHostInner> beginCreateOrUpdate(String resourceGroupName,
+ String workspaceName, String name, CapabilityHostInner body, Context context);
+
+ /**
+ * Create or update capabilityHost.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param name CapabilityHost name.
+ * @param body CapabilityHost definition.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CapabilityHostInner createOrUpdate(String resourceGroupName, String workspaceName, String name,
+ CapabilityHostInner body);
+
+ /**
+ * Create or update capabilityHost.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param name CapabilityHost name.
+ * @param body CapabilityHost definition.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return azure Resource Manager resource envelope.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CapabilityHostInner createOrUpdate(String resourceGroupName, String workspaceName, String name,
+ CapabilityHostInner body, Context context);
+
+ /**
+ * Delete capabilityHost.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param name CapabilityHost name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String name);
+
+ /**
+ * Delete capabilityHost.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param name CapabilityHost name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String name,
+ Context context);
+
+ /**
+ * Delete capabilityHost.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param name CapabilityHost name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String workspaceName, String name);
+
+ /**
+ * Delete capabilityHost.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param name CapabilityHost name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String workspaceName, String name, Context context);
+}
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/CodeContainersClient.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/CodeContainersClient.java
index de4baa9510dd..a08185100159 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/CodeContainersClient.java
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/CodeContainersClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.machinelearning.fluent;
@@ -16,64 +16,78 @@
*/
public interface CodeContainersClient {
/**
- * List containers.
+ * Get containers.
+ *
+ * Get container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
+ * @param name Container name. This is case-sensitive.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of CodeContainer entities as paginated response with {@link PagedIterable}.
+ * @return containers.
+ *
+ * Get container along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String workspaceName, String name,
+ Context context);
/**
- * List containers.
+ * Get containers.
+ *
+ * Get container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param skip Continuation token for pagination.
- * @param context The context to associate with this operation.
+ * @param name Container name. This is case-sensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of CodeContainer entities as paginated response with {@link PagedIterable}.
+ * @return containers.
+ *
+ * Get container.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName, String skip,
- Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CodeContainerInner get(String resourceGroupName, String workspaceName, String name);
/**
- * Delete container.
+ * Create or update container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
+ * @param body Container entity to create or update.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response}.
+ * @return azure Resource Manager resource envelope along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String resourceGroupName, String workspaceName, String name, Context context);
+ Response createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String name,
+ CodeContainerInner body, Context context);
/**
- * Delete container.
+ * Create or update container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
+ * @param body Container entity to create or update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String workspaceName, String name);
+ CodeContainerInner createOrUpdate(String resourceGroupName, String workspaceName, String name,
+ CodeContainerInner body);
/**
- * Get container.
+ * Delete container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
@@ -82,14 +96,13 @@ PagedIterable list(String resourceGroupName, String workspac
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return container along with {@link Response}.
+ * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String workspaceName, String name,
- Context context);
+ Response deleteWithResponse(String resourceGroupName, String workspaceName, String name, Context context);
/**
- * Get container.
+ * Delete container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
@@ -97,41 +110,36 @@ Response getWithResponse(String resourceGroupName, String wo
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return container.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CodeContainerInner get(String resourceGroupName, String workspaceName, String name);
+ void delete(String resourceGroupName, String workspaceName, String name);
/**
- * Create or update container.
+ * List containers.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Container name. This is case-sensitive.
- * @param body Container entity to create or update.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return azure Resource Manager resource envelope along with {@link Response}.
+ * @return a paginated list of CodeContainer entities as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String name,
- CodeContainerInner body, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName);
/**
- * Create or update container.
+ * List containers.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Container name. This is case-sensitive.
- * @param body Container entity to create or update.
+ * @param skip Continuation token for pagination.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return azure Resource Manager resource envelope.
+ * @return a paginated list of CodeContainer entities as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- CodeContainerInner createOrUpdate(String resourceGroupName, String workspaceName, String name,
- CodeContainerInner body);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName, String skip,
+ Context context);
}
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/CodeVersionsClient.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/CodeVersionsClient.java
index abfbf9d071d6..5385de530709 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/CodeVersionsClient.java
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/CodeVersionsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.machinelearning.fluent;
@@ -21,73 +21,74 @@
*/
public interface CodeVersionsClient {
/**
- * List versions.
+ * Get version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
+ * @param version Version identifier. This is case-sensitive.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of CodeVersion entities as paginated response with {@link PagedIterable}.
+ * @return version along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName, String name);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String workspaceName, String name,
+ String version, Context context);
/**
- * List versions.
+ * Get version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
- * @param orderBy Ordering of list.
- * @param top Maximum number of records to return.
- * @param skip Continuation token for pagination.
- * @param hash If specified, return CodeVersion assets with specified content hash value, regardless of name.
- * @param hashVersion Hash algorithm version when listing by hash.
- * @param context The context to associate with this operation.
+ * @param version Version identifier. This is case-sensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of CodeVersion entities as paginated response with {@link PagedIterable}.
+ * @return version.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName, String name, String orderBy,
- Integer top, String skip, String hash, String hashVersion, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CodeVersionInner get(String resourceGroupName, String workspaceName, String name, String version);
/**
- * Delete version.
+ * Create or update version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
* @param version Version identifier. This is case-sensitive.
+ * @param body Version entity to create or update.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response}.
+ * @return azure Resource Manager resource envelope along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String resourceGroupName, String workspaceName, String name, String version,
- Context context);
+ Response createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String name,
+ String version, CodeVersionInner body, Context context);
/**
- * Delete version.
+ * Create or update version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
* @param version Version identifier. This is case-sensitive.
+ * @param body Version entity to create or update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String workspaceName, String name, String version);
+ CodeVersionInner createOrUpdate(String resourceGroupName, String workspaceName, String name, String version,
+ CodeVersionInner body);
/**
- * Get version.
+ * Delete version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
@@ -97,14 +98,14 @@ Response deleteWithResponse(String resourceGroupName, String workspaceName
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return version along with {@link Response}.
+ * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String workspaceName, String name,
- String version, Context context);
+ Response deleteWithResponse(String resourceGroupName, String workspaceName, String name, String version,
+ Context context);
/**
- * Get version.
+ * Delete version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
@@ -113,53 +114,52 @@ Response getWithResponse(String resourceGroupName, String work
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return version.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CodeVersionInner get(String resourceGroupName, String workspaceName, String name, String version);
+ void delete(String resourceGroupName, String workspaceName, String name, String version);
/**
- * Create or update version.
+ * List versions.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
- * @param version Version identifier. This is case-sensitive.
- * @param body Version entity to create or update.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return azure Resource Manager resource envelope along with {@link Response}.
+ * @return a paginated list of CodeVersion entities as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String name,
- String version, CodeVersionInner body, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName, String name);
/**
- * Create or update version.
+ * List versions.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
- * @param version Version identifier. This is case-sensitive.
- * @param body Version entity to create or update.
+ * @param orderBy Ordering of list.
+ * @param top Maximum number of records to return.
+ * @param skip Continuation token for pagination.
+ * @param hash If specified, return CodeVersion assets with specified content hash value, regardless of name.
+ * @param hashVersion Hash algorithm version when listing by hash.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return azure Resource Manager resource envelope.
+ * @return a paginated list of CodeVersion entities as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- CodeVersionInner createOrUpdate(String resourceGroupName, String workspaceName, String name, String version,
- CodeVersionInner body);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName, String name, String orderBy,
+ Integer top, String skip, String hash, String hashVersion, Context context);
/**
* Publish version asset into registry.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Container name.
- * @param version Version identifier.
+ * @param name Container name. This is case-sensitive.
+ * @param version Version identifier. This is case-sensitive.
* @param body Destination registry info.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -175,8 +175,8 @@ SyncPoller, Void> beginPublish(String resourceGroupName, String
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Container name.
- * @param version Version identifier.
+ * @param name Container name. This is case-sensitive.
+ * @param version Version identifier. This is case-sensitive.
* @param body Destination registry info.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -193,8 +193,8 @@ SyncPoller, Void> beginPublish(String resourceGroupName, String
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Container name.
- * @param version Version identifier.
+ * @param name Container name. This is case-sensitive.
+ * @param version Version identifier. This is case-sensitive.
* @param body Destination registry info.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -208,8 +208,8 @@ SyncPoller, Void> beginPublish(String resourceGroupName, String
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Container name.
- * @param version Version identifier.
+ * @param name Container name. This is case-sensitive.
+ * @param version Version identifier. This is case-sensitive.
* @param body Destination registry info.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/ComponentContainersClient.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/ComponentContainersClient.java
index 9758c6b03bcf..ebf4be705821 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/ComponentContainersClient.java
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/ComponentContainersClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.machinelearning.fluent;
@@ -17,65 +17,70 @@
*/
public interface ComponentContainersClient {
/**
- * List component containers.
+ * Get container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
+ * @param name Container name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of ComponentContainer entities as paginated response with {@link PagedIterable}.
+ * @return container along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String workspaceName, String name,
+ Context context);
/**
- * List component containers.
+ * Get container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param skip Continuation token for pagination.
- * @param listViewType View type for including/excluding (for example) archived entities.
- * @param context The context to associate with this operation.
+ * @param name Container name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of ComponentContainer entities as paginated response with {@link PagedIterable}.
+ * @return container.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName, String skip,
- ListViewType listViewType, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ComponentContainerInner get(String resourceGroupName, String workspaceName, String name);
/**
- * Delete container.
+ * Create or update container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name.
+ * @param body Container entity to create or update.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response}.
+ * @return azure Resource Manager resource envelope along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String resourceGroupName, String workspaceName, String name, Context context);
+ Response createOrUpdateWithResponse(String resourceGroupName, String workspaceName,
+ String name, ComponentContainerInner body, Context context);
/**
- * Delete container.
+ * Create or update container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name.
+ * @param body Container entity to create or update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String workspaceName, String name);
+ ComponentContainerInner createOrUpdate(String resourceGroupName, String workspaceName, String name,
+ ComponentContainerInner body);
/**
- * Get container.
+ * Delete container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
@@ -84,14 +89,13 @@ PagedIterable list(String resourceGroupName, String wor
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return container along with {@link Response}.
+ * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String workspaceName, String name,
- Context context);
+ Response deleteWithResponse(String resourceGroupName, String workspaceName, String name, Context context);
/**
- * Get container.
+ * Delete container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
@@ -99,41 +103,37 @@ Response getWithResponse(String resourceGroupName, Stri
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return container.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ComponentContainerInner get(String resourceGroupName, String workspaceName, String name);
+ void delete(String resourceGroupName, String workspaceName, String name);
/**
- * Create or update container.
+ * List component containers.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Container name.
- * @param body Container entity to create or update.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return azure Resource Manager resource envelope along with {@link Response}.
+ * @return a paginated list of ComponentContainer entities as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(String resourceGroupName, String workspaceName,
- String name, ComponentContainerInner body, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName);
/**
- * Create or update container.
+ * List component containers.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Container name.
- * @param body Container entity to create or update.
+ * @param skip Continuation token for pagination.
+ * @param listViewType View type for including/excluding (for example) archived entities.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return azure Resource Manager resource envelope.
+ * @return a paginated list of ComponentContainer entities as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- ComponentContainerInner createOrUpdate(String resourceGroupName, String workspaceName, String name,
- ComponentContainerInner body);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName, String skip,
+ ListViewType listViewType, Context context);
}
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/ComponentVersionsClient.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/ComponentVersionsClient.java
index b5c5be3c55a0..7146218e5a9f 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/ComponentVersionsClient.java
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/ComponentVersionsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.machinelearning.fluent;
@@ -20,72 +20,74 @@
*/
public interface ComponentVersionsClient {
/**
- * List component versions.
+ * Get version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Component name.
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of ComponentVersion entities as paginated response with {@link PagedIterable}.
+ * @return version along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName, String name);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String workspaceName, String name,
+ String version, Context context);
/**
- * List component versions.
+ * Get version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Component name.
- * @param orderBy Ordering of list.
- * @param top Maximum number of records to return.
- * @param skip Continuation token for pagination.
- * @param listViewType View type for including/excluding (for example) archived entities.
- * @param context The context to associate with this operation.
+ * @param name Container name.
+ * @param version Version identifier.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of ComponentVersion entities as paginated response with {@link PagedIterable}.
+ * @return version.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName, String name,
- String orderBy, Integer top, String skip, ListViewType listViewType, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ComponentVersionInner get(String resourceGroupName, String workspaceName, String name, String version);
/**
- * Delete version.
+ * Create or update version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name.
* @param version Version identifier.
+ * @param body Version entity to create or update.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response}.
+ * @return azure Resource Manager resource envelope along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String resourceGroupName, String workspaceName, String name, String version,
- Context context);
+ Response createOrUpdateWithResponse(String resourceGroupName, String workspaceName,
+ String name, String version, ComponentVersionInner body, Context context);
/**
- * Delete version.
+ * Create or update version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name.
* @param version Version identifier.
+ * @param body Version entity to create or update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String workspaceName, String name, String version);
+ ComponentVersionInner createOrUpdate(String resourceGroupName, String workspaceName, String name, String version,
+ ComponentVersionInner body);
/**
- * Get version.
+ * Delete version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
@@ -95,14 +97,14 @@ Response deleteWithResponse(String resourceGroupName, String workspaceName
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return version along with {@link Response}.
+ * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String workspaceName, String name,
- String version, Context context);
+ Response deleteWithResponse(String resourceGroupName, String workspaceName, String name, String version,
+ Context context);
/**
- * Get version.
+ * Delete version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
@@ -111,45 +113,43 @@ Response getWithResponse(String resourceGroupName, String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return version.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ComponentVersionInner get(String resourceGroupName, String workspaceName, String name, String version);
+ void delete(String resourceGroupName, String workspaceName, String name, String version);
/**
- * Create or update version.
+ * List component versions.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name.
- * @param version Version identifier.
- * @param body Version entity to create or update.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return azure Resource Manager resource envelope along with {@link Response}.
+ * @return a paginated list of ComponentVersion entities as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(String resourceGroupName, String workspaceName,
- String name, String version, ComponentVersionInner body, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName, String name);
/**
- * Create or update version.
+ * List component versions.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name.
- * @param version Version identifier.
- * @param body Version entity to create or update.
+ * @param orderBy Ordering of list.
+ * @param top Maximum number of records to return.
+ * @param skip Continuation token for pagination.
+ * @param listViewType View type for including/excluding (for example) archived entities.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return azure Resource Manager resource envelope.
+ * @return a paginated list of ComponentVersion entities as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- ComponentVersionInner createOrUpdate(String resourceGroupName, String workspaceName, String name, String version,
- ComponentVersionInner body);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName, String name,
+ String orderBy, Integer top, String skip, ListViewType listViewType, Context context);
/**
* Publish version asset into registry.
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/ComputesClient.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/ComputesClient.java
index 2acd533571d4..5c88cb5a2255 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/ComputesClient.java
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/ComputesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.machinelearning.fluent;
@@ -21,41 +21,12 @@
* An instance of this class provides access to all the operations defined in ComputesClient.
*/
public interface ComputesClient {
- /**
- * Gets computes in specified workspace.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return computes in specified workspace as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName);
-
- /**
- * Gets computes in specified workspace.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param skip Continuation token for pagination.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return computes in specified workspace as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName, String skip,
- Context context);
-
/**
* Gets compute definition by its name. Any secrets (storage keys, service credentials, etc) are not returned - use
* 'keys' nested resource to get them.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -72,7 +43,7 @@ Response getWithResponse(String resourceGroupName, String
* 'keys' nested resource to get them.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -87,7 +58,7 @@ Response getWithResponse(String resourceGroupName, String
* If your intent is to create a new compute, do a GET first to verify that it does not exist yet.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @param parameters Payload with Machine Learning compute definition.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -104,7 +75,7 @@ SyncPoller, ComputeResourceInner> beginCreateOr
* If your intent is to create a new compute, do a GET first to verify that it does not exist yet.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @param parameters Payload with Machine Learning compute definition.
* @param context The context to associate with this operation.
@@ -122,7 +93,7 @@ SyncPoller, ComputeResourceInner> beginCreateOr
* If your intent is to create a new compute, do a GET first to verify that it does not exist yet.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @param parameters Payload with Machine Learning compute definition.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -139,7 +110,7 @@ ComputeResourceInner createOrUpdate(String resourceGroupName, String workspaceNa
* If your intent is to create a new compute, do a GET first to verify that it does not exist yet.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @param parameters Payload with Machine Learning compute definition.
* @param context The context to associate with this operation.
@@ -157,7 +128,7 @@ ComputeResourceInner createOrUpdate(String resourceGroupName, String workspaceNa
* operation.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @param parameters Additional parameters for cluster update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -174,7 +145,7 @@ SyncPoller, ComputeResourceInner> beginUpdate(S
* operation.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @param parameters Additional parameters for cluster update.
* @param context The context to associate with this operation.
@@ -192,7 +163,7 @@ SyncPoller, ComputeResourceInner> beginUpdate(S
* operation.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @param parameters Additional parameters for cluster update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -209,7 +180,7 @@ ComputeResourceInner update(String resourceGroupName, String workspaceName, Stri
* operation.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @param parameters Additional parameters for cluster update.
* @param context The context to associate with this operation.
@@ -226,7 +197,7 @@ ComputeResourceInner update(String resourceGroupName, String workspaceName, Stri
* Deletes specified Machine Learning compute.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @param underlyingResourceAction Delete the underlying compute if 'Delete', or detach the underlying compute from
* workspace if 'Detach'.
@@ -243,7 +214,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* Deletes specified Machine Learning compute.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @param underlyingResourceAction Delete the underlying compute if 'Delete', or detach the underlying compute from
* workspace if 'Detach'.
@@ -261,7 +232,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* Deletes specified Machine Learning compute.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @param underlyingResourceAction Delete the underlying compute if 'Delete', or detach the underlying compute from
* workspace if 'Detach'.
@@ -277,7 +248,7 @@ void delete(String resourceGroupName, String workspaceName, String computeName,
* Deletes specified Machine Learning compute.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @param underlyingResourceAction Delete the underlying compute if 'Delete', or detach the underlying compute from
* workspace if 'Detach'.
@@ -290,11 +261,40 @@ void delete(String resourceGroupName, String workspaceName, String computeName,
void delete(String resourceGroupName, String workspaceName, String computeName,
UnderlyingResourceAction underlyingResourceAction, Context context);
+ /**
+ * Gets computes in specified workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return computes in specified workspace as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName);
+
+ /**
+ * Gets computes in specified workspace.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param skip Continuation token for pagination.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return computes in specified workspace as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName, String skip,
+ Context context);
+
/**
* Get the details (e.g IP address, port etc) of all the compute nodes in the compute.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -310,7 +310,7 @@ PagedIterable listNodes(String resourceGroupName, Str
* Get the details (e.g IP address, port etc) of all the compute nodes in the compute.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -327,7 +327,7 @@ PagedIterable listNodes(String resourceGroupName, Str
* Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -344,7 +344,7 @@ Response listKeysWithResponse(String resourceGroupName, Str
* Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -358,7 +358,7 @@ Response listKeysWithResponse(String resourceGroupName, Str
* Posts a start action to a compute instance.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -372,7 +372,7 @@ Response listKeysWithResponse(String resourceGroupName, Str
* Posts a start action to a compute instance.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -388,7 +388,7 @@ SyncPoller, Void> beginStart(String resourceGroupName, String w
* Posts a start action to a compute instance.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -401,7 +401,7 @@ SyncPoller, Void> beginStart(String resourceGroupName, String w
* Posts a start action to a compute instance.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -415,7 +415,7 @@ SyncPoller, Void> beginStart(String resourceGroupName, String w
* Posts a stop action to a compute instance.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -429,7 +429,7 @@ SyncPoller, Void> beginStart(String resourceGroupName, String w
* Posts a stop action to a compute instance.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -445,7 +445,7 @@ SyncPoller, Void> beginStop(String resourceGroupName, String wo
* Posts a stop action to a compute instance.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -458,7 +458,7 @@ SyncPoller, Void> beginStop(String resourceGroupName, String wo
* Posts a stop action to a compute instance.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -472,7 +472,7 @@ SyncPoller, Void> beginStop(String resourceGroupName, String wo
* Posts a restart action to a compute instance.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -486,7 +486,7 @@ SyncPoller, Void> beginStop(String resourceGroupName, String wo
* Posts a restart action to a compute instance.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -502,7 +502,7 @@ SyncPoller, Void> beginRestart(String resourceGroupName, String
* Posts a restart action to a compute instance.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -515,7 +515,7 @@ SyncPoller, Void> beginRestart(String resourceGroupName, String
* Posts a restart action to a compute instance.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param computeName Name of the Azure Machine Learning compute.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/DataContainersClient.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/DataContainersClient.java
index 27ae140fa88d..77c5a610bd44 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/DataContainersClient.java
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/DataContainersClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.machinelearning.fluent;
@@ -17,65 +17,70 @@
*/
public interface DataContainersClient {
/**
- * List data containers.
+ * Get container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
+ * @param name Container name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of DataContainer entities as paginated response with {@link PagedIterable}.
+ * @return container along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String workspaceName, String name,
+ Context context);
/**
- * List data containers.
+ * Get container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param skip Continuation token for pagination.
- * @param listViewType View type for including/excluding (for example) archived entities.
- * @param context The context to associate with this operation.
+ * @param name Container name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of DataContainer entities as paginated response with {@link PagedIterable}.
+ * @return container.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName, String skip,
- ListViewType listViewType, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DataContainerInner get(String resourceGroupName, String workspaceName, String name);
/**
- * Delete container.
+ * Create or update container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name.
+ * @param body Container entity to create or update.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response}.
+ * @return azure Resource Manager resource envelope along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String resourceGroupName, String workspaceName, String name, Context context);
+ Response createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String name,
+ DataContainerInner body, Context context);
/**
- * Delete container.
+ * Create or update container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name.
+ * @param body Container entity to create or update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String workspaceName, String name);
+ DataContainerInner createOrUpdate(String resourceGroupName, String workspaceName, String name,
+ DataContainerInner body);
/**
- * Get container.
+ * Delete container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
@@ -84,14 +89,13 @@ PagedIterable list(String resourceGroupName, String workspac
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return container along with {@link Response}.
+ * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String workspaceName, String name,
- Context context);
+ Response deleteWithResponse(String resourceGroupName, String workspaceName, String name, Context context);
/**
- * Get container.
+ * Delete container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
@@ -99,41 +103,37 @@ Response getWithResponse(String resourceGroupName, String wo
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return container.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- DataContainerInner get(String resourceGroupName, String workspaceName, String name);
+ void delete(String resourceGroupName, String workspaceName, String name);
/**
- * Create or update container.
+ * List data containers.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Container name.
- * @param body Container entity to create or update.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return azure Resource Manager resource envelope along with {@link Response}.
+ * @return a paginated list of DataContainer entities as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String name,
- DataContainerInner body, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName);
/**
- * Create or update container.
+ * List data containers.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Container name.
- * @param body Container entity to create or update.
+ * @param skip Continuation token for pagination.
+ * @param listViewType View type for including/excluding (for example) archived entities.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return azure Resource Manager resource envelope.
+ * @return a paginated list of DataContainer entities as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- DataContainerInner createOrUpdate(String resourceGroupName, String workspaceName, String name,
- DataContainerInner body);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName, String skip,
+ ListViewType listViewType, Context context);
}
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/DataVersionsClient.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/DataVersionsClient.java
index ae284eec114f..54e3644a9ff6 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/DataVersionsClient.java
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/DataVersionsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.machinelearning.fluent;
@@ -20,75 +20,74 @@
*/
public interface DataVersionsClient {
/**
- * List data versions in the data container.
+ * Get version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Data container's name.
+ * @param name Container name.
+ * @param version Version identifier.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of DataVersionBase entities as paginated response with {@link PagedIterable}.
+ * @return version along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName, String name);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String workspaceName, String name,
+ String version, Context context);
/**
- * List data versions in the data container.
+ * Get version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Data container's name.
- * @param orderBy Please choose OrderBy value from ['createdtime', 'modifiedtime'].
- * @param top Top count of results, top count cannot be greater than the page size.
- * If topCount > page size, results with be default page size count will be returned.
- * @param skip Continuation token for pagination.
- * @param tags Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2.
- * @param listViewType [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for
- * including/excluding (for example) archived entities.
- * @param context The context to associate with this operation.
+ * @param name Container name.
+ * @param version Version identifier.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of DataVersionBase entities as paginated response with {@link PagedIterable}.
+ * @return version.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName, String name,
- String orderBy, Integer top, String skip, String tags, ListViewType listViewType, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DataVersionBaseInner get(String resourceGroupName, String workspaceName, String name, String version);
/**
- * Delete version.
+ * Create or update version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name.
* @param version Version identifier.
+ * @param body Version entity to create or update.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response}.
+ * @return azure Resource Manager resource envelope along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String resourceGroupName, String workspaceName, String name, String version,
- Context context);
+ Response createOrUpdateWithResponse(String resourceGroupName, String workspaceName,
+ String name, String version, DataVersionBaseInner body, Context context);
/**
- * Delete version.
+ * Create or update version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name.
* @param version Version identifier.
+ * @param body Version entity to create or update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String workspaceName, String name, String version);
+ DataVersionBaseInner createOrUpdate(String resourceGroupName, String workspaceName, String name, String version,
+ DataVersionBaseInner body);
/**
- * Get version.
+ * Delete version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
@@ -98,14 +97,14 @@ Response deleteWithResponse(String resourceGroupName, String workspaceName
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return version along with {@link Response}.
+ * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String workspaceName, String name,
- String version, Context context);
+ Response deleteWithResponse(String resourceGroupName, String workspaceName, String name, String version,
+ Context context);
/**
- * Get version.
+ * Delete version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
@@ -114,45 +113,46 @@ Response getWithResponse(String resourceGroupName, String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return version.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- DataVersionBaseInner get(String resourceGroupName, String workspaceName, String name, String version);
+ void delete(String resourceGroupName, String workspaceName, String name, String version);
/**
- * Create or update version.
+ * List data versions in the data container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name.
- * @param version Version identifier.
- * @param body Version entity to create or update.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return azure Resource Manager resource envelope along with {@link Response}.
+ * @return a paginated list of DataVersionBase entities as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(String resourceGroupName, String workspaceName,
- String name, String version, DataVersionBaseInner body, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName, String name);
/**
- * Create or update version.
+ * List data versions in the data container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name.
- * @param version Version identifier.
- * @param body Version entity to create or update.
+ * @param orderBy Please choose OrderBy value from ['createdtime', 'modifiedtime'].
+ * @param top Top count of results, top count cannot be greater than the page size.
+ * If topCount > page size, results with be default page size count will be returned.
+ * @param skip Continuation token for pagination.
+ * @param tags Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2.
+ * @param listViewType [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for
+ * including/excluding (for example) archived entities.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return azure Resource Manager resource envelope.
+ * @return a paginated list of DataVersionBase entities as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- DataVersionBaseInner createOrUpdate(String resourceGroupName, String workspaceName, String name, String version,
- DataVersionBaseInner body);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName, String name,
+ String orderBy, Integer top, String skip, String tags, ListViewType listViewType, Context context);
/**
* Publish version asset into registry.
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/DatastoresClient.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/DatastoresClient.java
index 4f1a49380464..4b470cadb8ca 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/DatastoresClient.java
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/DatastoresClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.machinelearning.fluent;
@@ -11,6 +11,7 @@
import com.azure.core.util.Context;
import com.azure.resourcemanager.machinelearning.fluent.models.DatastoreInner;
import com.azure.resourcemanager.machinelearning.fluent.models.DatastoreSecretsInner;
+import com.azure.resourcemanager.machinelearning.models.SecretExpiry;
import java.util.List;
/**
@@ -18,137 +19,138 @@
*/
public interface DatastoresClient {
/**
- * List datastores.
+ * Get datastore.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param name Datastore name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of Datastore entities as paginated response with {@link PagedIterable}.
+ * @return datastore along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String workspaceName, String name,
+ Context context);
/**
- * List datastores.
+ * Get datastore.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param skip Continuation token for pagination.
- * @param count Maximum number of results to return.
- * @param isDefault Filter down to the workspace default datastore.
- * @param names Names of datastores to return.
- * @param searchText Text to search for in the datastore names.
- * @param orderBy Order by property (createdtime | modifiedtime | name).
- * @param orderByAsc Order by property in ascending order.
- * @param context The context to associate with this operation.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param name Datastore name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of Datastore entities as paginated response with {@link PagedIterable}.
+ * @return datastore.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName, String skip, Integer count,
- Boolean isDefault, List names, String searchText, String orderBy, Boolean orderByAsc, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DatastoreInner get(String resourceGroupName, String workspaceName, String name);
/**
- * Delete datastore.
+ * Create or update datastore.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Datastore name.
+ * @param body Datastore entity to create or update.
+ * @param skipValidation Flag to skip validation.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response}.
+ * @return azure Resource Manager resource envelope along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String resourceGroupName, String workspaceName, String name, Context context);
+ Response createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String name,
+ DatastoreInner body, Boolean skipValidation, Context context);
/**
- * Delete datastore.
+ * Create or update datastore.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Datastore name.
+ * @param body Datastore entity to create or update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String workspaceName, String name);
+ DatastoreInner createOrUpdate(String resourceGroupName, String workspaceName, String name, DatastoreInner body);
/**
- * Get datastore.
+ * Delete datastore.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Datastore name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return datastore along with {@link Response}.
+ * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String workspaceName, String name,
- Context context);
+ Response deleteWithResponse(String resourceGroupName, String workspaceName, String name, Context context);
/**
- * Get datastore.
+ * Delete datastore.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Datastore name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return datastore.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- DatastoreInner get(String resourceGroupName, String workspaceName, String name);
+ void delete(String resourceGroupName, String workspaceName, String name);
/**
- * Create or update datastore.
+ * List datastores.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Datastore name.
- * @param body Datastore entity to create or update.
- * @param skipValidation Flag to skip validation.
- * @param context The context to associate with this operation.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return azure Resource Manager resource envelope along with {@link Response}.
+ * @return a paginated list of Datastore entities as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String name,
- DatastoreInner body, Boolean skipValidation, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName);
/**
- * Create or update datastore.
+ * List datastores.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Datastore name.
- * @param body Datastore entity to create or update.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param skip Continuation token for pagination.
+ * @param count Maximum number of results to return.
+ * @param isDefault Filter down to the workspace default datastore.
+ * @param names Names of datastores to return.
+ * @param searchText Text to search for in the datastore names.
+ * @param orderBy Order by property (createdtime | modifiedtime | name).
+ * @param orderByAsc Order by property in ascending order.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return azure Resource Manager resource envelope.
+ * @return a paginated list of Datastore entities as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- DatastoreInner createOrUpdate(String resourceGroupName, String workspaceName, String name, DatastoreInner body);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName, String skip, Integer count,
+ Boolean isDefault, List names, String searchText, String orderBy, Boolean orderByAsc, Context context);
/**
* Get datastore secrets.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Datastore name.
+ * @param body Secret expiry information.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -157,13 +159,13 @@ Response createOrUpdateWithResponse(String resourceGroupName, St
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response listSecretsWithResponse(String resourceGroupName, String workspaceName, String name,
- Context context);
+ SecretExpiry body, Context context);
/**
* Get datastore secrets.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Datastore name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/EnvironmentContainersClient.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/EnvironmentContainersClient.java
index ab219d8a088c..0e81bf96407f 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/EnvironmentContainersClient.java
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/EnvironmentContainersClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.machinelearning.fluent;
@@ -17,65 +17,70 @@
*/
public interface EnvironmentContainersClient {
/**
- * List environment containers.
+ * Get container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
+ * @param name Container name. This is case-sensitive.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of EnvironmentContainer entities as paginated response with {@link PagedIterable}.
+ * @return container along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String workspaceName, String name,
+ Context context);
/**
- * List environment containers.
+ * Get container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param skip Continuation token for pagination.
- * @param listViewType View type for including/excluding (for example) archived entities.
- * @param context The context to associate with this operation.
+ * @param name Container name. This is case-sensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of EnvironmentContainer entities as paginated response with {@link PagedIterable}.
+ * @return container.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName, String skip,
- ListViewType listViewType, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ EnvironmentContainerInner get(String resourceGroupName, String workspaceName, String name);
/**
- * Delete container.
+ * Create or update container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
+ * @param body Container entity to create or update.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response}.
+ * @return azure Resource Manager resource envelope along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String resourceGroupName, String workspaceName, String name, Context context);
+ Response createOrUpdateWithResponse(String resourceGroupName, String workspaceName,
+ String name, EnvironmentContainerInner body, Context context);
/**
- * Delete container.
+ * Create or update container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
+ * @param body Container entity to create or update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String workspaceName, String name);
+ EnvironmentContainerInner createOrUpdate(String resourceGroupName, String workspaceName, String name,
+ EnvironmentContainerInner body);
/**
- * Get container.
+ * Delete container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
@@ -84,14 +89,13 @@ PagedIterable list(String resourceGroupName, String w
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return container along with {@link Response}.
+ * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String workspaceName, String name,
- Context context);
+ Response deleteWithResponse(String resourceGroupName, String workspaceName, String name, Context context);
/**
- * Get container.
+ * Delete container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
@@ -99,41 +103,37 @@ Response getWithResponse(String resourceGroupName, St
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return container.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- EnvironmentContainerInner get(String resourceGroupName, String workspaceName, String name);
+ void delete(String resourceGroupName, String workspaceName, String name);
/**
- * Create or update container.
+ * List environment containers.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Container name. This is case-sensitive.
- * @param body Container entity to create or update.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return azure Resource Manager resource envelope along with {@link Response}.
+ * @return a paginated list of EnvironmentContainer entities as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(String resourceGroupName, String workspaceName,
- String name, EnvironmentContainerInner body, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName);
/**
- * Create or update container.
+ * List environment containers.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Container name. This is case-sensitive.
- * @param body Container entity to create or update.
+ * @param skip Continuation token for pagination.
+ * @param listViewType View type for including/excluding (for example) archived entities.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return azure Resource Manager resource envelope.
+ * @return a paginated list of EnvironmentContainer entities as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- EnvironmentContainerInner createOrUpdate(String resourceGroupName, String workspaceName, String name,
- EnvironmentContainerInner body);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName, String skip,
+ ListViewType listViewType, Context context);
}
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/EnvironmentVersionsClient.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/EnvironmentVersionsClient.java
index 761e1ea8a32b..8dea9e348288 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/EnvironmentVersionsClient.java
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/EnvironmentVersionsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.machinelearning.fluent;
@@ -20,72 +20,74 @@
*/
public interface EnvironmentVersionsClient {
/**
- * List versions.
+ * Get version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
+ * @param version Version identifier. This is case-sensitive.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of EnvironmentVersion entities as paginated response with {@link PagedIterable}.
+ * @return version along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName, String name);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String workspaceName, String name,
+ String version, Context context);
/**
- * List versions.
+ * Get version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
- * @param orderBy Ordering of list.
- * @param top Maximum number of records to return.
- * @param skip Continuation token for pagination.
- * @param listViewType View type for including/excluding (for example) archived entities.
- * @param context The context to associate with this operation.
+ * @param version Version identifier. This is case-sensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of EnvironmentVersion entities as paginated response with {@link PagedIterable}.
+ * @return version.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName, String name,
- String orderBy, Integer top, String skip, ListViewType listViewType, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ EnvironmentVersionInner get(String resourceGroupName, String workspaceName, String name, String version);
/**
- * Delete version.
+ * Creates or updates an EnvironmentVersion.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
* @param version Version identifier. This is case-sensitive.
+ * @param body Definition of EnvironmentVersion.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response}.
+ * @return azure Resource Manager resource envelope along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response deleteWithResponse(String resourceGroupName, String workspaceName, String name, String version,
- Context context);
+ Response createOrUpdateWithResponse(String resourceGroupName, String workspaceName,
+ String name, String version, EnvironmentVersionInner body, Context context);
/**
- * Delete version.
+ * Creates or updates an EnvironmentVersion.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
* @param name Container name. This is case-sensitive.
* @param version Version identifier. This is case-sensitive.
+ * @param body Definition of EnvironmentVersion.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String workspaceName, String name, String version);
+ EnvironmentVersionInner createOrUpdate(String resourceGroupName, String workspaceName, String name, String version,
+ EnvironmentVersionInner body);
/**
- * Get version.
+ * Delete version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
@@ -95,14 +97,14 @@ Response deleteWithResponse(String resourceGroupName, String workspaceName
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return version along with {@link Response}.
+ * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String workspaceName, String name,
- String version, Context context);
+ Response deleteWithResponse(String resourceGroupName, String workspaceName, String name, String version,
+ Context context);
/**
- * Get version.
+ * Delete version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
@@ -111,53 +113,51 @@ Response getWithResponse(String resourceGroupName, Stri
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return version.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- EnvironmentVersionInner get(String resourceGroupName, String workspaceName, String name, String version);
+ void delete(String resourceGroupName, String workspaceName, String name, String version);
/**
- * Creates or updates an EnvironmentVersion.
+ * List versions.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Name of EnvironmentVersion. This is case-sensitive.
- * @param version Version of EnvironmentVersion.
- * @param body Definition of EnvironmentVersion.
- * @param context The context to associate with this operation.
+ * @param name Container name. This is case-sensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return azure Resource Manager resource envelope along with {@link Response}.
+ * @return a paginated list of EnvironmentVersion entities as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(String resourceGroupName, String workspaceName,
- String name, String version, EnvironmentVersionInner body, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName, String name);
/**
- * Creates or updates an EnvironmentVersion.
+ * List versions.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Name of EnvironmentVersion. This is case-sensitive.
- * @param version Version of EnvironmentVersion.
- * @param body Definition of EnvironmentVersion.
+ * @param name Container name. This is case-sensitive.
+ * @param orderBy Ordering of list.
+ * @param top Maximum number of records to return.
+ * @param skip Continuation token for pagination.
+ * @param listViewType View type for including/excluding (for example) archived entities.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return azure Resource Manager resource envelope.
+ * @return a paginated list of EnvironmentVersion entities as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- EnvironmentVersionInner createOrUpdate(String resourceGroupName, String workspaceName, String name, String version,
- EnvironmentVersionInner body);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName, String name,
+ String orderBy, Integer top, String skip, ListViewType listViewType, Context context);
/**
* Publish version asset into registry.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Container name.
- * @param version Version identifier.
+ * @param name Container name. This is case-sensitive.
+ * @param version Version identifier. This is case-sensitive.
* @param body Destination registry info.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -173,8 +173,8 @@ SyncPoller, Void> beginPublish(String resourceGroupName, String
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Container name.
- * @param version Version identifier.
+ * @param name Container name. This is case-sensitive.
+ * @param version Version identifier. This is case-sensitive.
* @param body Destination registry info.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -191,8 +191,8 @@ SyncPoller, Void> beginPublish(String resourceGroupName, String
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Container name.
- * @param version Version identifier.
+ * @param name Container name. This is case-sensitive.
+ * @param version Version identifier. This is case-sensitive.
* @param body Destination registry info.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -206,8 +206,8 @@ SyncPoller, Void> beginPublish(String resourceGroupName, String
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Container name.
- * @param version Version identifier.
+ * @param name Container name. This is case-sensitive.
+ * @param version Version identifier. This is case-sensitive.
* @param body Destination registry info.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/FeaturesClient.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/FeaturesClient.java
index ed237ab0ca7c..ab583980d2d1 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/FeaturesClient.java
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/FeaturesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.machinelearning.fluent;
@@ -16,13 +16,48 @@
* An instance of this class provides access to all the operations defined in FeaturesClient.
*/
public interface FeaturesClient {
+ /**
+ * Get feature.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param featuresetName Name of Azure Machine Learning featuresets.
+ * @param featuresetVersion Inference Version name.
+ * @param featureName Inference FeatureName name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return feature along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String workspaceName, String featuresetName,
+ String featuresetVersion, String featureName, Context context);
+
+ /**
+ * Get feature.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param featuresetName Name of Azure Machine Learning featuresets.
+ * @param featuresetVersion Inference Version name.
+ * @param featureName Inference FeatureName name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return feature.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FeatureInner get(String resourceGroupName, String workspaceName, String featuresetName, String featuresetVersion,
+ String featureName);
+
/**
* List Features.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param featuresetName Featureset name. This is case-sensitive.
- * @param featuresetVersion Featureset Version identifier. This is case-sensitive.
+ * @param featuresetName Name of Azure Machine Learning featuresets.
+ * @param featuresetVersion Inference Version name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -37,8 +72,8 @@ PagedIterable list(String resourceGroupName, String workspaceName,
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param workspaceName Name of Azure Machine Learning workspace.
- * @param featuresetName Featureset name. This is case-sensitive.
- * @param featuresetVersion Featureset Version identifier. This is case-sensitive.
+ * @param featuresetName Name of Azure Machine Learning featuresets.
+ * @param featuresetVersion Inference Version name.
* @param skip Continuation token for pagination.
* @param tags Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2.
* @param featureName feature name.
@@ -56,39 +91,4 @@ PagedIterable list(String resourceGroupName, String workspaceName,
PagedIterable list(String resourceGroupName, String workspaceName, String featuresetName,
String featuresetVersion, String skip, String tags, String featureName, String description,
ListViewType listViewType, Integer pageSize, Context context);
-
- /**
- * Get feature.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param featuresetName Feature set name. This is case-sensitive.
- * @param featuresetVersion Feature set version identifier. This is case-sensitive.
- * @param featureName Feature Name. This is case-sensitive.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return feature along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String workspaceName, String featuresetName,
- String featuresetVersion, String featureName, Context context);
-
- /**
- * Get feature.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param featuresetName Feature set name. This is case-sensitive.
- * @param featuresetVersion Feature set version identifier. This is case-sensitive.
- * @param featureName Feature Name. This is case-sensitive.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return feature.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- FeatureInner get(String resourceGroupName, String workspaceName, String featuresetName, String featuresetVersion,
- String featureName);
}
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/FeaturesetContainersClient.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/FeaturesetContainersClient.java
index 0ced038e3d20..5ef8840cbdec 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/FeaturesetContainersClient.java
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/FeaturesetContainersClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.machinelearning.fluent;
@@ -19,192 +19,192 @@
*/
public interface FeaturesetContainersClient {
/**
- * List featurestore entity containers.
+ * Get container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param name Container name. This is case-sensitive.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of FeaturesetContainer entities as paginated response with {@link PagedIterable}.
+ * @return container along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getEntityWithResponse(String resourceGroupName, String workspaceName,
+ String name, Context context);
/**
- * List featurestore entity containers.
+ * Get container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param skip Continuation token for pagination.
- * @param tags Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2.
- * @param listViewType [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for
- * including/excluding (for example) archived entities.
- * @param pageSize page size.
- * @param name name for the featureset.
- * @param description description for the feature set.
- * @param createdBy createdBy user name.
- * @param context The context to associate with this operation.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param name Container name. This is case-sensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of FeaturesetContainer entities as paginated response with {@link PagedIterable}.
+ * @return container.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName, String skip,
- String tags, ListViewType listViewType, Integer pageSize, String name, String description, String createdBy,
- Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FeaturesetContainerInner getEntity(String resourceGroupName, String workspaceName, String name);
/**
- * Delete container.
+ * Create or update container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
+ * @param body Container entity to create or update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
+ * @return the {@link SyncPoller} for polling of azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String name);
+ SyncPoller, FeaturesetContainerInner>
+ beginCreateOrUpdate(String resourceGroupName, String workspaceName, String name, FeaturesetContainerInner body);
/**
- * Delete container.
+ * Create or update container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
+ * @param body Container entity to create or update.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
+ * @return the {@link SyncPoller} for polling of azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String name,
- Context context);
+ SyncPoller, FeaturesetContainerInner> beginCreateOrUpdate(
+ String resourceGroupName, String workspaceName, String name, FeaturesetContainerInner body, Context context);
/**
- * Delete container.
+ * Create or update container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
+ * @param body Container entity to create or update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String workspaceName, String name);
+ FeaturesetContainerInner createOrUpdate(String resourceGroupName, String workspaceName, String name,
+ FeaturesetContainerInner body);
/**
- * Delete container.
+ * Create or update container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
+ * @param body Container entity to create or update.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String workspaceName, String name, Context context);
+ FeaturesetContainerInner createOrUpdate(String resourceGroupName, String workspaceName, String name,
+ FeaturesetContainerInner body, Context context);
/**
- * Get container.
+ * Delete container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return container along with {@link Response}.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getEntityWithResponse(String resourceGroupName, String workspaceName,
- String name, Context context);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String name);
/**
- * Get container.
+ * Delete container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return container.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- FeaturesetContainerInner getEntity(String resourceGroupName, String workspaceName, String name);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String name,
+ Context context);
/**
- * Create or update container.
+ * Delete container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
- * @param body Container entity to create or update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of azure Resource Manager resource envelope.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, FeaturesetContainerInner>
- beginCreateOrUpdate(String resourceGroupName, String workspaceName, String name, FeaturesetContainerInner body);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String workspaceName, String name);
/**
- * Create or update container.
+ * Delete container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
- * @param body Container entity to create or update.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of azure Resource Manager resource envelope.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, FeaturesetContainerInner> beginCreateOrUpdate(
- String resourceGroupName, String workspaceName, String name, FeaturesetContainerInner body, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String workspaceName, String name, Context context);
/**
- * Create or update container.
+ * List featurestore entity containers.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Container name. This is case-sensitive.
- * @param body Container entity to create or update.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return azure Resource Manager resource envelope.
+ * @return a paginated list of FeaturesetContainer entities as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- FeaturesetContainerInner createOrUpdate(String resourceGroupName, String workspaceName, String name,
- FeaturesetContainerInner body);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName);
/**
- * Create or update container.
+ * List featurestore entity containers.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Container name. This is case-sensitive.
- * @param body Container entity to create or update.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param skip Continuation token for pagination.
+ * @param tags Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2.
+ * @param listViewType [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for
+ * including/excluding (for example) archived entities.
+ * @param pageSize page size.
+ * @param name name for the featureset.
+ * @param description description for the feature set.
+ * @param createdBy createdBy user name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return azure Resource Manager resource envelope.
+ * @return a paginated list of FeaturesetContainer entities as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- FeaturesetContainerInner createOrUpdate(String resourceGroupName, String workspaceName, String name,
- FeaturesetContainerInner body, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName, String skip,
+ String tags, ListViewType listViewType, Integer pageSize, String name, String description, String createdBy,
+ Context context);
}
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/FeaturesetVersionsClient.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/FeaturesetVersionsClient.java
index 86b8128c91af..1fabce7a0cbb 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/FeaturesetVersionsClient.java
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/FeaturesetVersionsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.machinelearning.fluent;
@@ -21,215 +21,215 @@
*/
public interface FeaturesetVersionsClient {
/**
- * List versions.
+ * Get version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Featureset name. This is case-sensitive.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param name Container name. This is case-sensitive.
+ * @param version Version identifier. This is case-sensitive.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of FeaturesetVersion entities as paginated response with {@link PagedIterable}.
+ * @return version along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName, String name);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String workspaceName, String name,
+ String version, Context context);
/**
- * List versions.
+ * Get version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Featureset name. This is case-sensitive.
- * @param skip Continuation token for pagination.
- * @param tags Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2.
- * @param listViewType [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for
- * including/excluding (for example) archived entities.
- * @param pageSize page size.
- * @param versionName name for the featureset version.
- * @param version featureset version.
- * @param description description for the feature set version.
- * @param createdBy createdBy user name.
- * @param stage Specifies the featurestore stage.
- * @param context The context to associate with this operation.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param name Container name. This is case-sensitive.
+ * @param version Version identifier. This is case-sensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of FeaturesetVersion entities as paginated response with {@link PagedIterable}.
+ * @return version.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName, String name, String skip,
- String tags, ListViewType listViewType, Integer pageSize, String versionName, String version,
- String description, String createdBy, String stage, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FeaturesetVersionInner get(String resourceGroupName, String workspaceName, String name, String version);
/**
- * Delete version.
+ * Create or update version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
* @param version Version identifier. This is case-sensitive.
+ * @param body Version entity to create or update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
+ * @return the {@link SyncPoller} for polling of azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String name,
- String version);
+ SyncPoller, FeaturesetVersionInner> beginCreateOrUpdate(String resourceGroupName,
+ String workspaceName, String name, String version, FeaturesetVersionInner body);
/**
- * Delete version.
+ * Create or update version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
* @param version Version identifier. This is case-sensitive.
+ * @param body Version entity to create or update.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
+ * @return the {@link SyncPoller} for polling of azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String name,
- String version, Context context);
+ SyncPoller, FeaturesetVersionInner> beginCreateOrUpdate(String resourceGroupName,
+ String workspaceName, String name, String version, FeaturesetVersionInner body, Context context);
/**
- * Delete version.
+ * Create or update version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
* @param version Version identifier. This is case-sensitive.
+ * @param body Version entity to create or update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String workspaceName, String name, String version);
+ FeaturesetVersionInner createOrUpdate(String resourceGroupName, String workspaceName, String name, String version,
+ FeaturesetVersionInner body);
/**
- * Delete version.
+ * Create or update version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
* @param version Version identifier. This is case-sensitive.
+ * @param body Version entity to create or update.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String workspaceName, String name, String version, Context context);
+ FeaturesetVersionInner createOrUpdate(String resourceGroupName, String workspaceName, String name, String version,
+ FeaturesetVersionInner body, Context context);
/**
- * Get version.
+ * Delete version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
* @param version Version identifier. This is case-sensitive.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return version along with {@link Response}.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String workspaceName, String name,
- String version, Context context);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String name,
+ String version);
/**
- * Get version.
+ * Delete version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
* @param version Version identifier. This is case-sensitive.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return version.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- FeaturesetVersionInner get(String resourceGroupName, String workspaceName, String name, String version);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String name,
+ String version, Context context);
/**
- * Create or update version.
+ * Delete version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
* @param version Version identifier. This is case-sensitive.
- * @param body Version entity to create or update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of azure Resource Manager resource envelope.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, FeaturesetVersionInner> beginCreateOrUpdate(String resourceGroupName,
- String workspaceName, String name, String version, FeaturesetVersionInner body);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String workspaceName, String name, String version);
/**
- * Create or update version.
+ * Delete version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
* @param version Version identifier. This is case-sensitive.
- * @param body Version entity to create or update.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of azure Resource Manager resource envelope.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, FeaturesetVersionInner> beginCreateOrUpdate(String resourceGroupName,
- String workspaceName, String name, String version, FeaturesetVersionInner body, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String workspaceName, String name, String version, Context context);
/**
- * Create or update version.
+ * List versions.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
- * @param version Version identifier. This is case-sensitive.
- * @param body Version entity to create or update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return azure Resource Manager resource envelope.
+ * @return a paginated list of FeaturesetVersion entities as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- FeaturesetVersionInner createOrUpdate(String resourceGroupName, String workspaceName, String name, String version,
- FeaturesetVersionInner body);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName, String name);
/**
- * Create or update version.
+ * List versions.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
- * @param version Version identifier. This is case-sensitive.
- * @param body Version entity to create or update.
+ * @param skip Continuation token for pagination.
+ * @param tags Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2.
+ * @param listViewType [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for
+ * including/excluding (for example) archived entities.
+ * @param pageSize page size.
+ * @param versionName name for the featureset version.
+ * @param version featureset version.
+ * @param description description for the feature set version.
+ * @param createdBy createdBy user name.
+ * @param stage Specifies the featurestore stage.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return azure Resource Manager resource envelope.
+ * @return a paginated list of FeaturesetVersion entities as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- FeaturesetVersionInner createOrUpdate(String resourceGroupName, String workspaceName, String name, String version,
- FeaturesetVersionInner body, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName, String name, String skip,
+ String tags, ListViewType listViewType, Integer pageSize, String versionName, String version,
+ String description, String createdBy, String stage, Context context);
/**
* Backfill.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
* @param version Version identifier. This is case-sensitive.
* @param body Feature set version backfill request entity.
@@ -248,7 +248,7 @@ FeaturesetVersionInner createOrUpdate(String resourceGroupName, String workspace
* Backfill.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
* @param version Version identifier. This is case-sensitive.
* @param body Feature set version backfill request entity.
@@ -268,7 +268,7 @@ FeaturesetVersionInner createOrUpdate(String resourceGroupName, String workspace
* Backfill.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
* @param version Version identifier. This is case-sensitive.
* @param body Feature set version backfill request entity.
@@ -285,7 +285,7 @@ FeaturesetVersionBackfillResponseInner backfill(String resourceGroupName, String
* Backfill.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
* @param version Version identifier. This is case-sensitive.
* @param body Feature set version backfill request entity.
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/FeaturestoreEntityContainersClient.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/FeaturestoreEntityContainersClient.java
index dee9cb58f720..67380e7305f9 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/FeaturestoreEntityContainersClient.java
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/FeaturestoreEntityContainersClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.machinelearning.fluent;
@@ -19,195 +19,195 @@
*/
public interface FeaturestoreEntityContainersClient {
/**
- * List featurestore entity containers.
+ * Get container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param name Container name. This is case-sensitive.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of FeaturestoreEntityContainer entities as paginated response with
- * {@link PagedIterable}.
+ * @return container along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getEntityWithResponse(String resourceGroupName, String workspaceName,
+ String name, Context context);
/**
- * List featurestore entity containers.
+ * Get container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param skip Continuation token for pagination.
- * @param tags Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2.
- * @param listViewType [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for
- * including/excluding (for example) archived entities.
- * @param pageSize page size.
- * @param name name for the featurestore entity.
- * @param description description for the featurestore entity.
- * @param createdBy createdBy user name.
- * @param context The context to associate with this operation.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param name Container name. This is case-sensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of FeaturestoreEntityContainer entities as paginated response with
- * {@link PagedIterable}.
+ * @return container.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName, String skip,
- String tags, ListViewType listViewType, Integer pageSize, String name, String description, String createdBy,
- Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FeaturestoreEntityContainerInner getEntity(String resourceGroupName, String workspaceName, String name);
/**
- * Delete container.
+ * Create or update container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
+ * @param body Container entity to create or update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
+ * @return the {@link SyncPoller} for polling of azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String name);
+ SyncPoller, FeaturestoreEntityContainerInner> beginCreateOrUpdate(
+ String resourceGroupName, String workspaceName, String name, FeaturestoreEntityContainerInner body);
/**
- * Delete container.
+ * Create or update container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
+ * @param body Container entity to create or update.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
+ * @return the {@link SyncPoller} for polling of azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String name,
+ SyncPoller, FeaturestoreEntityContainerInner> beginCreateOrUpdate(
+ String resourceGroupName, String workspaceName, String name, FeaturestoreEntityContainerInner body,
Context context);
/**
- * Delete container.
+ * Create or update container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
+ * @param body Container entity to create or update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String workspaceName, String name);
+ FeaturestoreEntityContainerInner createOrUpdate(String resourceGroupName, String workspaceName, String name,
+ FeaturestoreEntityContainerInner body);
/**
- * Delete container.
+ * Create or update container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
+ * @param body Container entity to create or update.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String workspaceName, String name, Context context);
+ FeaturestoreEntityContainerInner createOrUpdate(String resourceGroupName, String workspaceName, String name,
+ FeaturestoreEntityContainerInner body, Context context);
/**
- * Get container.
+ * Delete container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return container along with {@link Response}.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getEntityWithResponse(String resourceGroupName, String workspaceName,
- String name, Context context);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String name);
/**
- * Get container.
+ * Delete container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return container.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- FeaturestoreEntityContainerInner getEntity(String resourceGroupName, String workspaceName, String name);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String name,
+ Context context);
/**
- * Create or update container.
+ * Delete container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
- * @param body Container entity to create or update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of azure Resource Manager resource envelope.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, FeaturestoreEntityContainerInner> beginCreateOrUpdate(
- String resourceGroupName, String workspaceName, String name, FeaturestoreEntityContainerInner body);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String workspaceName, String name);
/**
- * Create or update container.
+ * Delete container.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
- * @param body Container entity to create or update.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of azure Resource Manager resource envelope.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, FeaturestoreEntityContainerInner> beginCreateOrUpdate(
- String resourceGroupName, String workspaceName, String name, FeaturestoreEntityContainerInner body,
- Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String workspaceName, String name, Context context);
/**
- * Create or update container.
+ * List featurestore entity containers.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Container name. This is case-sensitive.
- * @param body Container entity to create or update.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return azure Resource Manager resource envelope.
+ * @return a paginated list of FeaturestoreEntityContainer entities as paginated response with
+ * {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- FeaturestoreEntityContainerInner createOrUpdate(String resourceGroupName, String workspaceName, String name,
- FeaturestoreEntityContainerInner body);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName);
/**
- * Create or update container.
+ * List featurestore entity containers.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Container name. This is case-sensitive.
- * @param body Container entity to create or update.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param skip Continuation token for pagination.
+ * @param tags Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2.
+ * @param listViewType [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for
+ * including/excluding (for example) archived entities.
+ * @param pageSize page size.
+ * @param name name for the featurestore entity.
+ * @param description description for the featurestore entity.
+ * @param createdBy createdBy user name.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return azure Resource Manager resource envelope.
+ * @return a paginated list of FeaturestoreEntityContainer entities as paginated response with
+ * {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- FeaturestoreEntityContainerInner createOrUpdate(String resourceGroupName, String workspaceName, String name,
- FeaturestoreEntityContainerInner body, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String workspaceName, String skip,
+ String tags, ListViewType listViewType, Integer pageSize, String name, String description, String createdBy,
+ Context context);
}
diff --git a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/FeaturestoreEntityVersionsClient.java b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/FeaturestoreEntityVersionsClient.java
index aa9d4b1c549b..237d1fd64072 100644
--- a/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/FeaturestoreEntityVersionsClient.java
+++ b/sdk/machinelearning/azure-resourcemanager-machinelearning/src/main/java/com/azure/resourcemanager/machinelearning/fluent/FeaturestoreEntityVersionsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.machinelearning.fluent;
@@ -19,209 +19,209 @@
*/
public interface FeaturestoreEntityVersionsClient {
/**
- * List versions.
+ * Get version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Feature entity name. This is case-sensitive.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param name Container name. This is case-sensitive.
+ * @param version Version identifier. This is case-sensitive.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of FeaturestoreEntityVersion entities as paginated response with {@link PagedIterable}.
+ * @return version along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName, String name);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String workspaceName,
+ String name, String version, Context context);
/**
- * List versions.
+ * Get version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
- * @param name Feature entity name. This is case-sensitive.
- * @param skip Continuation token for pagination.
- * @param tags Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2.
- * @param listViewType [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for
- * including/excluding (for example) archived entities.
- * @param pageSize page size.
- * @param versionName name for the featurestore entity version.
- * @param version featurestore entity version.
- * @param description description for the feature entity version.
- * @param createdBy createdBy user name.
- * @param stage Specifies the featurestore stage.
- * @param context The context to associate with this operation.
+ * @param workspaceName Azure Machine Learning Workspace Name.
+ * @param name Container name. This is case-sensitive.
+ * @param version Version identifier. This is case-sensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a paginated list of FeaturestoreEntityVersion entities as paginated response with {@link PagedIterable}.
+ * @return version.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String workspaceName, String name,
- String skip, String tags, ListViewType listViewType, Integer pageSize, String versionName, String version,
- String description, String createdBy, String stage, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FeaturestoreEntityVersionInner get(String resourceGroupName, String workspaceName, String name, String version);
/**
- * Delete version.
+ * Create or update version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
* @param version Version identifier. This is case-sensitive.
+ * @param body Version entity to create or update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
+ * @return the {@link SyncPoller} for polling of azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String name,
- String version);
+ SyncPoller, FeaturestoreEntityVersionInner> beginCreateOrUpdate(
+ String resourceGroupName, String workspaceName, String name, String version,
+ FeaturestoreEntityVersionInner body);
/**
- * Delete version.
+ * Create or update version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
* @param version Version identifier. This is case-sensitive.
+ * @param body Version entity to create or update.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
+ * @return the {@link SyncPoller} for polling of azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String workspaceName, String name,
- String version, Context context);
+ SyncPoller, FeaturestoreEntityVersionInner> beginCreateOrUpdate(
+ String resourceGroupName, String workspaceName, String name, String version,
+ FeaturestoreEntityVersionInner body, Context context);
/**
- * Delete version.
+ * Create or update version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
* @param version Version identifier. This is case-sensitive.
+ * @param body Version entity to create or update.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String workspaceName, String name, String version);
+ FeaturestoreEntityVersionInner createOrUpdate(String resourceGroupName, String workspaceName, String name,
+ String version, FeaturestoreEntityVersionInner body);
/**
- * Delete version.
+ * Create or update version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
* @param version Version identifier. This is case-sensitive.
+ * @param body Version entity to create or update.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return azure Resource Manager resource envelope.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String workspaceName, String name, String version, Context context);
+ FeaturestoreEntityVersionInner createOrUpdate(String resourceGroupName, String workspaceName, String name,
+ String version, FeaturestoreEntityVersionInner body, Context context);
/**
- * Get version.
+ * Delete version.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param workspaceName Name of Azure Machine Learning workspace.
+ * @param workspaceName Azure Machine Learning Workspace Name.
* @param name Container name. This is case-sensitive.
* @param version Version identifier. This is case-sensitive.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return version along with {@link Response}.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String workspaceName,
- String name, String version, Context context);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller