diff --git a/sdk/machinelearning/arm-machinelearning/CHANGELOG.md b/sdk/machinelearning/arm-machinelearning/CHANGELOG.md index 28beac0fbc20..aaebd9b82b1d 100644 --- a/sdk/machinelearning/arm-machinelearning/CHANGELOG.md +++ b/sdk/machinelearning/arm-machinelearning/CHANGELOG.md @@ -1,5 +1,388 @@ # Release History +## 1.1.0-beta.1 (2022-07-26) + +**Features** + + - Added operation group LabelingJobs + - Added operation group Schedules + - Added operation ComputeOperations.updateCustomServices + - Added operation ComputeOperations.updateIdleShutdownSetting + - Added Interface AutoMLVertical + - Added Interface AzureDatastore + - Added Interface BindOptions + - Added Interface ColumnTransformer + - Added Interface ComputeUpdateCustomServicesOptionalParams + - Added Interface ComputeUpdateIdleShutdownSettingOptionalParams + - Added Interface CustomService + - Added Interface Docker + - Added Interface EncryptionKeyVaultUpdateProperties + - Added Interface EncryptionUpdateProperties + - Added Interface Endpoint + - Added Interface EnvironmentVariable + - Added Interface ExportSummary + - Added Interface FeaturizationSettings + - Added Interface ForecastHorizon + - Added Interface ForecastingSettings + - Added Interface IdleShutdownSetting + - Added Interface Image_2 + - Added Interface ImageLimitSettings + - Added Interface ImageModelDistributionSettings + - Added Interface ImageModelSettings + - Added Interface ImageSweepLimitSettings + - Added Interface ImageSweepSettings + - Added Interface ImageVertical + - Added Interface KerberosCredentials + - Added Interface LabelCategory + - Added Interface LabelClass + - Added Interface LabelingDataConfiguration + - Added Interface LabelingJobInstructions + - Added Interface LabelingJobMediaProperties + - Added Interface LabelingJobResourceArmPaginatedResult + - Added Interface LabelingJobsCreateOrUpdateHeaders + - Added Interface LabelingJobsCreateOrUpdateOptionalParams + - Added Interface LabelingJobsDeleteOptionalParams + - Added Interface LabelingJobsExportLabelsHeaders + - Added Interface LabelingJobsExportLabelsOptionalParams + - Added Interface LabelingJobsGetOptionalParams + - Added Interface LabelingJobsListNextOptionalParams + - Added Interface LabelingJobsListOptionalParams + - Added Interface LabelingJobsPauseOptionalParams + - Added Interface LabelingJobsResumeHeaders + - Added Interface LabelingJobsResumeOptionalParams + - Added Interface MLAssistConfiguration + - Added Interface NCrossValidations + - Added Interface NlpVertical + - Added Interface NlpVerticalLimitSettings + - Added Interface ProgressMetrics + - Added Interface RecurrenceSchedule + - Added Interface ScheduleActionBase + - Added Interface ScheduleResourceArmPaginatedResult + - Added Interface SchedulesCreateOrUpdateHeaders + - Added Interface SchedulesCreateOrUpdateOptionalParams + - Added Interface SchedulesDeleteHeaders + - Added Interface SchedulesDeleteOptionalParams + - Added Interface SchedulesGetOptionalParams + - Added Interface SchedulesListNextOptionalParams + - Added Interface SchedulesListOptionalParams + - Added Interface Seasonality + - Added Interface SparkJobEntry + - Added Interface SparkResourceConfiguration + - Added Interface StackEnsembleSettings + - Added Interface StatusMessage + - Added Interface TableVertical + - Added Interface TableVerticalLimitSettings + - Added Interface TargetLags + - Added Interface TargetRollingWindowSize + - Added Interface TmpfsOptions + - Added Interface TrainingSettings + - Added Interface TriggerBase + - Added Interface VolumeDefinition + - Added Interface VolumeOptions + - Added Type Alias AccountKeyDatastoreCredentials + - Added Type Alias AccountKeyDatastoreSecrets + - Added Type Alias Aks + - Added Type Alias AksComputeSecrets + - Added Type Alias AmlCompute + - Added Type Alias AmlToken + - Added Type Alias AssetBase + - Added Type Alias AssetContainer + - Added Type Alias AutoForecastHorizon + - Added Type Alias AutoMLJob + - Added Type Alias AutoMLVerticalUnion + - Added Type Alias AutoNCrossValidations + - Added Type Alias AutoSeasonality + - Added Type Alias AutoTargetLags + - Added Type Alias AutoTargetRollingWindowSize + - Added Type Alias AzureBlobDatastore + - Added Type Alias AzureDataLakeGen1Datastore + - Added Type Alias AzureDataLakeGen2Datastore + - Added Type Alias AzureFileDatastore + - Added Type Alias BanditPolicy + - Added Type Alias BatchDeployment + - Added Type Alias BatchDeploymentProperties + - Added Type Alias BatchEndpoint + - Added Type Alias BatchEndpointProperties + - Added Type Alias BayesianSamplingAlgorithm + - Added Type Alias BlockedTransformers + - Added Type Alias CertificateDatastoreCredentials + - Added Type Alias CertificateDatastoreSecrets + - Added Type Alias Classification + - Added Type Alias ClassificationModels + - Added Type Alias ClassificationMultilabelPrimaryMetrics + - Added Type Alias ClassificationPrimaryMetrics + - Added Type Alias ClassificationTrainingSettings + - Added Type Alias CocoExportSummary + - Added Type Alias CodeContainer + - Added Type Alias CodeContainerProperties + - Added Type Alias CodeVersion + - Added Type Alias CodeVersionProperties + - Added Type Alias CommandJob + - Added Type Alias CommandJobLimits + - Added Type Alias ComponentContainer + - Added Type Alias ComponentContainerProperties + - Added Type Alias ComponentVersion + - Added Type Alias ComponentVersionProperties + - Added Type Alias ComputeInstance + - Added Type Alias ComputeResource + - Added Type Alias CronTrigger + - Added Type Alias CsvExportSummary + - Added Type Alias CustomForecastHorizon + - Added Type Alias CustomModelJobInput + - Added Type Alias CustomModelJobOutput + - Added Type Alias CustomNCrossValidations + - Added Type Alias CustomSeasonality + - Added Type Alias CustomTargetLags + - Added Type Alias CustomTargetRollingWindowSize + - Added Type Alias Databricks + - Added Type Alias DatabricksComputeSecrets + - Added Type Alias DataContainer + - Added Type Alias DataContainerProperties + - Added Type Alias DataFactory + - Added Type Alias DataLakeAnalytics + - Added Type Alias DataPathAssetReference + - Added Type Alias DatasetExportSummary + - Added Type Alias Datastore + - Added Type Alias DatastoreProperties + - Added Type Alias DataVersionBase + - Added Type Alias DataVersionBaseProperties + - Added Type Alias DefaultScaleSettings + - Added Type Alias DeploymentResourceConfiguration + - Added Type Alias EgressPublicNetworkAccessType + - Added Type Alias EndpointScheduleAction + - Added Type Alias EnvironmentContainer + - Added Type Alias EnvironmentContainerProperties + - Added Type Alias EnvironmentVariableType + - Added Type Alias EnvironmentVersion + - Added Type Alias EnvironmentVersionProperties + - Added Type Alias ExportFormatType + - Added Type Alias ExportSummaryUnion + - Added Type Alias FeatureLags + - Added Type Alias FeaturizationMode + - Added Type Alias ForecastHorizonMode + - Added Type Alias ForecastHorizonUnion + - Added Type Alias Forecasting + - Added Type Alias ForecastingModels + - Added Type Alias ForecastingPrimaryMetrics + - Added Type Alias ForecastingTrainingSettings + - Added Type Alias GridSamplingAlgorithm + - Added Type Alias HdfsDatastore + - Added Type Alias HDInsight + - Added Type Alias IdAssetReference + - Added Type Alias ImageAnnotationType + - Added Type Alias ImageClassification + - Added Type Alias ImageClassificationBase + - Added Type Alias ImageClassificationMultilabel + - Added Type Alias ImageInstanceSegmentation + - Added Type Alias ImageModelDistributionSettingsClassification + - Added Type Alias ImageModelDistributionSettingsObjectDetection + - Added Type Alias ImageModelSettingsClassification + - Added Type Alias ImageModelSettingsObjectDetection + - Added Type Alias ImageObjectDetection + - Added Type Alias ImageObjectDetectionBase + - Added Type Alias ImageType + - Added Type Alias InstanceSegmentationPrimaryMetrics + - Added Type Alias JobBase + - Added Type Alias JobBaseProperties + - Added Type Alias JobProvisioningState + - Added Type Alias JobResourceConfiguration + - Added Type Alias JobScheduleAction + - Added Type Alias KerberosKeytabCredentials + - Added Type Alias KerberosKeytabSecrets + - Added Type Alias KerberosPasswordCredentials + - Added Type Alias KerberosPasswordSecrets + - Added Type Alias Kubernetes + - Added Type Alias KubernetesOnlineDeployment + - Added Type Alias LabelingJob + - Added Type Alias LabelingJobImageProperties + - Added Type Alias LabelingJobMediaPropertiesUnion + - Added Type Alias LabelingJobProperties + - Added Type Alias LabelingJobsCreateOrUpdateResponse + - Added Type Alias LabelingJobsExportLabelsResponse + - Added Type Alias LabelingJobsGetResponse + - Added Type Alias LabelingJobsListNextResponse + - Added Type Alias LabelingJobsListResponse + - Added Type Alias LabelingJobTextProperties + - Added Type Alias LearningRateScheduler + - Added Type Alias LiteralJobInput + - Added Type Alias LogVerbosity + - Added Type Alias ManagedIdentity + - Added Type Alias ManagedIdentityAuthTypeWorkspaceConnectionProperties + - Added Type Alias ManagedOnlineDeployment + - Added Type Alias MedianStoppingPolicy + - Added Type Alias MediaType + - Added Type Alias MLAssistConfigurationDisabled + - Added Type Alias MLAssistConfigurationEnabled + - Added Type Alias MLAssistConfigurationType + - Added Type Alias MLAssistConfigurationUnion + - Added Type Alias MLFlowModelJobInput + - Added Type Alias MLFlowModelJobOutput + - Added Type Alias MLTableData + - Added Type Alias MLTableJobInput + - Added Type Alias MLTableJobOutput + - Added Type Alias ModelContainer + - Added Type Alias ModelContainerProperties + - Added Type Alias ModelSize + - Added Type Alias ModelVersion + - Added Type Alias ModelVersionProperties + - Added Type Alias Mpi + - Added Type Alias NCrossValidationsMode + - Added Type Alias NCrossValidationsUnion + - Added Type Alias NlpVerticalFeaturizationSettings + - Added Type Alias NoneAuthTypeWorkspaceConnectionProperties + - Added Type Alias NoneDatastoreCredentials + - Added Type Alias ObjectDetectionPrimaryMetrics + - Added Type Alias OnlineDeployment + - Added Type Alias OnlineDeploymentProperties + - Added Type Alias OnlineEndpoint + - Added Type Alias OnlineEndpointProperties + - Added Type Alias OutputPathAssetReference + - Added Type Alias PartialMinimalTrackedResourceWithIdentity + - Added Type Alias PartialMinimalTrackedResourceWithSku + - Added Type Alias PATAuthTypeWorkspaceConnectionProperties + - Added Type Alias PipelineJob + - Added Type Alias PrivateEndpointConnection + - Added Type Alias PrivateLinkResource + - Added Type Alias Protocol + - Added Type Alias PublicNetworkAccessType + - Added Type Alias PyTorch + - Added Type Alias RandomSamplingAlgorithm + - Added Type Alias RecurrenceFrequency + - Added Type Alias RecurrenceTrigger + - Added Type Alias Regression + - Added Type Alias RegressionModels + - Added Type Alias RegressionPrimaryMetrics + - Added Type Alias RegressionTrainingSettings + - Added Type Alias SASAuthTypeWorkspaceConnectionProperties + - Added Type Alias SasDatastoreCredentials + - Added Type Alias SasDatastoreSecrets + - Added Type Alias Schedule + - Added Type Alias ScheduleActionBaseUnion + - Added Type Alias ScheduleActionType + - Added Type Alias ScheduleProperties + - Added Type Alias ScheduleProvisioningStatus + - Added Type Alias SchedulesCreateOrUpdateResponse + - Added Type Alias SchedulesGetResponse + - Added Type Alias SchedulesListNextResponse + - Added Type Alias SchedulesListResponse + - Added Type Alias SeasonalityMode + - Added Type Alias SeasonalityUnion + - Added Type Alias ServicePrincipalDatastoreCredentials + - Added Type Alias ServicePrincipalDatastoreSecrets + - Added Type Alias ShortSeriesHandlingConfiguration + - Added Type Alias SparkJob + - Added Type Alias SparkJobEntryType + - Added Type Alias SparkJobEntryUnion + - Added Type Alias SparkJobPythonEntry + - Added Type Alias SparkJobScalaEntry + - Added Type Alias StackMetaLearnerType + - Added Type Alias StatusMessageLevel + - Added Type Alias StochasticOptimizer + - Added Type Alias SweepJob + - Added Type Alias SweepJobLimits + - Added Type Alias SynapseSpark + - Added Type Alias TableVerticalFeaturizationSettings + - Added Type Alias TargetAggregationFunction + - Added Type Alias TargetLagsMode + - Added Type Alias TargetLagsUnion + - Added Type Alias TargetRollingWindowSizeMode + - Added Type Alias TargetRollingWindowSizeUnion + - Added Type Alias TargetUtilizationScaleSettings + - Added Type Alias TaskType + - Added Type Alias TensorFlow + - Added Type Alias TextAnnotationType + - Added Type Alias TextClassification + - Added Type Alias TextClassificationMultilabel + - Added Type Alias TextNer + - Added Type Alias TrackedResource + - Added Type Alias TriggerBaseUnion + - Added Type Alias TriggerType + - Added Type Alias TritonModelJobInput + - Added Type Alias TritonModelJobOutput + - Added Type Alias TruncationSelectionPolicy + - Added Type Alias UriFileDataVersion + - Added Type Alias UriFileJobInput + - Added Type Alias UriFileJobOutput + - Added Type Alias UriFolderDataVersion + - Added Type Alias UriFolderJobInput + - Added Type Alias UriFolderJobOutput + - Added Type Alias UserIdentity + - Added Type Alias UsernamePasswordAuthTypeWorkspaceConnectionProperties + - Added Type Alias UseStl + - Added Type Alias ValidationMetricType + - Added Type Alias VirtualMachine + - Added Type Alias VirtualMachineSecrets + - Added Type Alias VolumeDefinitionType + - Added Type Alias WeekDay + - Added Type Alias Workspace + - Added Type Alias WorkspaceConnectionPropertiesV2BasicResource + - Interface ComputeInstanceProperties has a new optional parameter customServices + - Interface ComputeInstanceProperties has a new optional parameter idleTimeBeforeShutdown + - Interface JobsListNextOptionalParams has a new optional parameter scheduled + - Interface JobsListNextOptionalParams has a new optional parameter scheduleId + - Interface JobsListOptionalParams has a new optional parameter scheduled + - Interface JobsListOptionalParams has a new optional parameter scheduleId + - Interface WorkspaceUpdateParameters has a new optional parameter encryption + - Class AzureMachineLearningWorkspaces has a new parameter labelingJobs + - Class AzureMachineLearningWorkspaces has a new parameter schedules + - Added Enum KnownBlockedTransformers + - Added Enum KnownClassificationModels + - Added Enum KnownClassificationMultilabelPrimaryMetrics + - Added Enum KnownClassificationPrimaryMetrics + - Added Enum KnownEgressPublicNetworkAccessType + - Added Enum KnownEnvironmentVariableType + - Added Enum KnownExportFormatType + - Added Enum KnownFeatureLags + - Added Enum KnownFeaturizationMode + - Added Enum KnownForecastHorizonMode + - Added Enum KnownForecastingModels + - Added Enum KnownForecastingPrimaryMetrics + - Added Enum KnownImageAnnotationType + - Added Enum KnownImageType + - Added Enum KnownInstanceSegmentationPrimaryMetrics + - Added Enum KnownJobProvisioningState + - Added Enum KnownLearningRateScheduler + - Added Enum KnownLogVerbosity + - Added Enum KnownMediaType + - Added Enum KnownMLAssistConfigurationType + - Added Enum KnownModelSize + - Added Enum KnownNCrossValidationsMode + - Added Enum KnownObjectDetectionPrimaryMetrics + - Added Enum KnownProtocol + - Added Enum KnownPublicNetworkAccessType + - Added Enum KnownRecurrenceFrequency + - Added Enum KnownRegressionModels + - Added Enum KnownRegressionPrimaryMetrics + - Added Enum KnownScheduleActionType + - Added Enum KnownScheduleProvisioningStatus + - Added Enum KnownSeasonalityMode + - Added Enum KnownShortSeriesHandlingConfiguration + - Added Enum KnownSparkJobEntryType + - Added Enum KnownStackMetaLearnerType + - Added Enum KnownStatusMessageLevel + - Added Enum KnownStochasticOptimizer + - Added Enum KnownTargetAggregationFunction + - Added Enum KnownTargetLagsMode + - Added Enum KnownTargetRollingWindowSizeMode + - Added Enum KnownTaskType + - Added Enum KnownTextAnnotationType + - Added Enum KnownTriggerType + - Added Enum KnownUseStl + - Added Enum KnownValidationMetricType + - Added Enum KnownVolumeDefinitionType + - Added Enum KnownWeekDay + - Enum KnownCredentialsType has a new value KerberosKeytab + - Enum KnownCredentialsType has a new value KerberosPassword + - Enum KnownDatastoreType has a new value Hdfs + - Enum KnownJobStatus has a new value Scheduled + - Enum KnownJobType has a new value AutoML + - Enum KnownJobType has a new value Labeling + - Enum KnownJobType has a new value Spark + - Enum KnownOutputDeliveryMode has a new value Direct + - Enum KnownSecretsType has a new value KerberosKeytab + - Enum KnownSecretsType has a new value KerberosPassword + + ## 1.0.0 (2022-07-13) The package of @azure/arm-machinelearning is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart). diff --git a/sdk/machinelearning/arm-machinelearning/README.md b/sdk/machinelearning/arm-machinelearning/README.md index bf3e58b8e061..9c53767a4b37 100644 --- a/sdk/machinelearning/arm-machinelearning/README.md +++ b/sdk/machinelearning/arm-machinelearning/README.md @@ -1,12 +1,12 @@ -# AzureMachineLearningWorkspaces client library for JavaScript +# Azure Service client library for JavaScript -This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureMachineLearningWorkspaces client. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure Service client. These APIs allow end users to operate on Azure Machine Learning Workspace resources. [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/machinelearning/arm-machinelearning) | [Package (NPM)](https://www.npmjs.com/package/@azure/arm-machinelearning) | -[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-machinelearning) | +[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-machinelearning?view=azure-node-preview) | [Samples](https://github.com/Azure-Samples/azure-samples-js-management) ## Getting started @@ -24,7 +24,7 @@ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUP ### Install the `@azure/arm-machinelearning` package -Install the AzureMachineLearningWorkspaces client library for JavaScript with `npm`: +Install the Azure Service client library for JavaScript with `npm`: ```bash npm install @azure/arm-machinelearning @@ -32,8 +32,8 @@ npm install @azure/arm-machinelearning ### Create and authenticate a `AzureMachineLearningWorkspaces` -To create a client object to access the AzureMachineLearningWorkspaces API, you will need the `endpoint` of your AzureMachineLearningWorkspaces resource and a `credential`. The AzureMachineLearningWorkspaces client can use Azure Active Directory credentials to authenticate. -You can find the endpoint for your AzureMachineLearningWorkspaces resource in the [Azure Portal][azure_portal]. +To create a client object to access the Azure Service API, you will need the `endpoint` of your Azure Service resource and a `credential`. The Azure Service client can use Azure Active Directory credentials to authenticate. +You can find the endpoint for your Azure Service resource in the [Azure Portal][azure_portal]. You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token). @@ -43,7 +43,7 @@ To use the [DefaultAzureCredential][defaultazurecredential] provider shown below npm install @azure/identity ``` -You will also need to **register a new AAD application and grant access to AzureMachineLearningWorkspaces** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions). +You will also need to **register a new AAD application and grant access to Azure Service** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions). Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`. For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal). @@ -72,7 +72,7 @@ To use this client library in the browser, first you need to use a bundler. For ### AzureMachineLearningWorkspaces -`AzureMachineLearningWorkspaces` is the primary interface for developers using the AzureMachineLearningWorkspaces client library. Explore the methods on this client object to understand the different features of the AzureMachineLearningWorkspaces service that you can access. +`AzureMachineLearningWorkspaces` is the primary interface for developers using the Azure Service client library. Explore the methods on this client object to understand the different features of the Azure Service service that you can access. ## Troubleshooting diff --git a/sdk/machinelearning/arm-machinelearning/_meta.json b/sdk/machinelearning/arm-machinelearning/_meta.json index 9f0f59fa6cb4..1338414802f3 100644 --- a/sdk/machinelearning/arm-machinelearning/_meta.json +++ b/sdk/machinelearning/arm-machinelearning/_meta.json @@ -1,8 +1,8 @@ { - "commit": "49e2859d9eef95013f083af9506127cfffd1e866", + "commit": "0f1bcbc1cf7637e97ef9e2f55b39f3dced4c27b4", "readme": "specification/machinelearningservices/resource-manager/readme.md", - "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\machinelearningservices\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.1 --generate-sample=true", + "autorest_command": "", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.4.0", - "use": "@autorest/typescript@6.0.0-rc.1" + "release_tool": "@azure-tools/js-sdk-release-tools@2.4.1", + "use": "@autorest/typescript@6.0.0-alpha.19.20220425.1" } \ No newline at end of file diff --git a/sdk/machinelearning/arm-machinelearning/package.json b/sdk/machinelearning/arm-machinelearning/package.json index 5faf78606f88..9e4f6b19652d 100644 --- a/sdk/machinelearning/arm-machinelearning/package.json +++ b/sdk/machinelearning/arm-machinelearning/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for AzureMachineLearningWorkspaces.", - "version": "1.0.0", + "version": "1.1.0-beta.1", "engines": { "node": ">=12.0.0" }, @@ -43,8 +43,6 @@ "@azure-tools/test-recorder": "^2.0.0", "@azure-tools/test-credential": "^1.0.0", "mocha": "^7.1.1", - "@types/chai": "^4.2.8", - "chai": "^4.2.0", "cross-env": "^7.0.2", "@azure/dev-tool": "^1.0.0" }, @@ -98,7 +96,8 @@ "unit-test:browser": "echo skipped", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'", - "integration-test:browser": "echo skipped" + "integration-test:browser": "echo skipped", + "docs": "echo skipped" }, "sideEffects": false, "//metadata": { @@ -109,13 +108,5 @@ } ] }, - "autoPublish": true, - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-machinelearning?view=azure-node-preview" - } + "autoPublish": true } \ No newline at end of file diff --git a/sdk/machinelearning/arm-machinelearning/review/arm-machinelearning.api.md b/sdk/machinelearning/arm-machinelearning/review/arm-machinelearning.api.md index df34d190fa63..c32d8045a668 100644 --- a/sdk/machinelearning/arm-machinelearning/review/arm-machinelearning.api.md +++ b/sdk/machinelearning/arm-machinelearning/review/arm-machinelearning.api.md @@ -11,26 +11,26 @@ import { PollerLike } from '@azure/core-lro'; import { PollOperationState } from '@azure/core-lro'; // @public -export interface AccountKeyDatastoreCredentials extends DatastoreCredentials { +export type AccountKeyDatastoreCredentials = DatastoreCredentials & { credentialsType: "AccountKey"; secrets: AccountKeyDatastoreSecrets; -} +}; // @public -export interface AccountKeyDatastoreSecrets extends DatastoreSecrets { - key?: string; +export type AccountKeyDatastoreSecrets = DatastoreSecrets & { secretsType: "AccountKey"; -} + key?: string; +}; // @public -export interface Aks extends Compute, AKSSchema { +export type Aks = Compute & AKSSchema & { computeType: "AKS"; -} +}; // @public -export interface AksComputeSecrets extends ComputeSecrets, AksComputeSecretsProperties { +export type AksComputeSecrets = ComputeSecrets & AksComputeSecretsProperties & { computeType: "AKS"; -} +}; // @public export interface AksComputeSecretsProperties { @@ -69,9 +69,9 @@ export interface AKSSchemaProperties { export type AllocationState = string; // @public -export interface AmlCompute extends Compute, AmlComputeSchema { +export type AmlCompute = Compute & AmlComputeSchema & { computeType: "AmlCompute"; -} +}; // @public export interface AmlComputeNodeInformation { @@ -136,9 +136,9 @@ export interface AmlOperationListResult { } // @public -export interface AmlToken extends IdentityConfiguration { +export type AmlToken = IdentityConfiguration & { identityType: "AMLToken"; -} +}; // @public export interface AmlUserFeature { @@ -151,17 +151,17 @@ export interface AmlUserFeature { export type ApplicationSharingPolicy = string; // @public (undocumented) -export interface AssetBase extends ResourceBase { +export type AssetBase = ResourceBase & { isAnonymous?: boolean; isArchived?: boolean; -} +}; // @public (undocumented) -export interface AssetContainer extends ResourceBase { +export type AssetContainer = ResourceBase & { isArchived?: boolean; readonly latestVersion?: string; readonly nextVersion?: string; -} +}; // @public export interface AssetJobInput { @@ -189,6 +189,40 @@ export interface AssignedUser { tenantId: string; } +// @public +export type AutoForecastHorizon = ForecastHorizon & { + mode: "Auto"; +}; + +// @public +export type AutoMLJob = JobBaseProperties & { + environmentId?: string; + environmentVariables?: { + [propertyName: string]: string | null; + }; + outputs?: { + [propertyName: string]: JobOutputUnion | null; + }; + resources?: JobResourceConfiguration; + taskDetails: AutoMLVerticalUnion; +}; + +// @public +export interface AutoMLVertical { + logVerbosity?: LogVerbosity; + targetColumnName?: string; + taskType: "Classification" | "Forecasting" | "ImageClassification" | "ImageClassificationMultilabel" | "ImageInstanceSegmentation" | "ImageObjectDetection" | "Regression" | "TextClassification" | "TextClassificationMultilabel" | "TextNER"; + trainingData: MLTableJobInput; +} + +// @public (undocumented) +export type AutoMLVerticalUnion = AutoMLVertical | Classification | Forecasting | ImageClassification | ImageClassificationMultilabel | ImageInstanceSegmentation | ImageObjectDetection | Regression | TextClassification | TextClassificationMultilabel | TextNer; + +// @public +export type AutoNCrossValidations = NCrossValidations & { + mode: "Auto"; +}; + // @public export interface AutoPauseProperties { // (undocumented) @@ -210,38 +244,59 @@ export interface AutoScaleProperties { minNodeCount?: number; } +// @public (undocumented) +export type AutoSeasonality = Seasonality & { + mode: "Auto"; +}; + +// @public (undocumented) +export type AutoTargetLags = TargetLags & { + mode: "Auto"; +}; + // @public -export interface AzureBlobDatastore extends DatastoreProperties { +export type AutoTargetRollingWindowSize = TargetRollingWindowSize & { + mode: "Auto"; +}; + +// @public +export type AzureBlobDatastore = AzureDatastore & DatastoreProperties & { accountName?: string; containerName?: string; endpoint?: string; protocol?: string; serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; -} +}; // @public -export interface AzureDataLakeGen1Datastore extends DatastoreProperties { +export type AzureDataLakeGen1Datastore = AzureDatastore & DatastoreProperties & { serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; storeName: string; -} +}; // @public -export interface AzureDataLakeGen2Datastore extends DatastoreProperties { +export type AzureDataLakeGen2Datastore = AzureDatastore & DatastoreProperties & { accountName: string; endpoint?: string; filesystem: string; protocol?: string; serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; +}; + +// @public +export interface AzureDatastore { + resourceGroup?: string; + subscriptionId?: string; } // @public -export interface AzureFileDatastore extends DatastoreProperties { +export type AzureFileDatastore = AzureDatastore & DatastoreProperties & { accountName: string; endpoint?: string; fileShareName: string; protocol?: string; serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; -} +}; // @public (undocumented) export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { @@ -277,6 +332,8 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { // (undocumented) jobs: Jobs; // (undocumented) + labelingJobs: LabelingJobs; + // (undocumented) modelContainers: ModelContainers; // (undocumented) modelVersions: ModelVersions; @@ -293,6 +350,8 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { // (undocumented) quotas: Quotas; // (undocumented) + schedules: Schedules; + // (undocumented) subscriptionId: string; // (undocumented) usages: Usages; @@ -314,22 +373,22 @@ export interface AzureMachineLearningWorkspacesOptionalParams extends coreClient } // @public -export interface BanditPolicy extends EarlyTerminationPolicy { +export type BanditPolicy = EarlyTerminationPolicy & { policyType: "Bandit"; slackAmount?: number; slackFactor?: number; -} +}; // @public (undocumented) -export interface BatchDeployment extends TrackedResource { +export type BatchDeployment = TrackedResource & { identity?: ManagedServiceIdentity; kind?: string; properties: BatchDeploymentProperties; sku?: Sku; -} +}; // @public -export interface BatchDeploymentProperties extends EndpointDeploymentPropertiesBase { +export type BatchDeploymentProperties = EndpointDeploymentPropertiesBase & { compute?: string; errorThreshold?: number; loggingLevel?: BatchLoggingLevel; @@ -339,9 +398,9 @@ export interface BatchDeploymentProperties extends EndpointDeploymentPropertiesB outputAction?: BatchOutputAction; outputFileName?: string; readonly provisioningState?: DeploymentProvisioningState; - resources?: ResourceConfiguration; + resources?: DeploymentResourceConfiguration; retrySettings?: BatchRetrySettings; -} +}; // @public export interface BatchDeployments { @@ -433,12 +492,12 @@ export interface BatchDeploymentTrackedResourceArmPaginatedResult { } // @public (undocumented) -export interface BatchEndpoint extends TrackedResource { +export type BatchEndpoint = TrackedResource & { identity?: ManagedServiceIdentity; kind?: string; properties: BatchEndpointProperties; sku?: Sku; -} +}; // @public export interface BatchEndpointDefaults { @@ -446,10 +505,10 @@ export interface BatchEndpointDefaults { } // @public -export interface BatchEndpointProperties extends EndpointPropertiesBase { +export type BatchEndpointProperties = EndpointPropertiesBase & { defaults?: BatchEndpointDefaults; readonly provisioningState?: EndpointProvisioningState; -} +}; // @public export interface BatchEndpoints { @@ -559,13 +618,23 @@ export interface BatchRetrySettings { } // @public -export interface BayesianSamplingAlgorithm extends SamplingAlgorithm { +export type BayesianSamplingAlgorithm = SamplingAlgorithm & { samplingAlgorithmType: "Bayesian"; -} +}; // @public export type BillingCurrency = string; +// @public (undocumented) +export interface BindOptions { + createHostPath?: boolean; + propagation?: string; + selinux?: string; +} + +// @public +export type BlockedTransformers = string; + // @public export interface BuildContext { contextUri: string; @@ -576,21 +645,43 @@ export interface BuildContext { export type Caching = string; // @public -export interface CertificateDatastoreCredentials extends DatastoreCredentials { +export type CertificateDatastoreCredentials = DatastoreCredentials & { + credentialsType: "Certificate"; authorityUrl?: string; clientId: string; - credentialsType: "Certificate"; resourceUrl?: string; secrets: CertificateDatastoreSecrets; tenantId: string; thumbprint: string; -} +}; // @public -export interface CertificateDatastoreSecrets extends DatastoreSecrets { - certificate?: string; +export type CertificateDatastoreSecrets = DatastoreSecrets & { secretsType: "Certificate"; -} + certificate?: string; +}; + +// @public +export type Classification = TableVertical & AutoMLVertical & { + positiveLabel?: string; + primaryMetric?: ClassificationPrimaryMetrics; + trainingSettings?: ClassificationTrainingSettings; +}; + +// @public +export type ClassificationModels = string; + +// @public +export type ClassificationMultilabelPrimaryMetrics = string; + +// @public +export type ClassificationPrimaryMetrics = string; + +// @public +export type ClassificationTrainingSettings = TrainingSettings & { + allowedTrainingAlgorithms?: ClassificationModels[]; + blockedTrainingAlgorithms?: ClassificationModels[]; +}; // @public export type ClusterPurpose = string; @@ -600,6 +691,13 @@ export interface ClusterUpdateParameters { properties?: ScaleSettingsInformation; } +// @public (undocumented) +export type CocoExportSummary = ExportSummary & { + format: "Coco"; + readonly containerName?: string; + readonly snapshotPath?: string; +}; + // @public export interface CodeConfiguration { codeId?: string; @@ -607,13 +705,12 @@ export interface CodeConfiguration { } // @public -export interface CodeContainer extends Resource { +export type CodeContainer = Resource & { properties: CodeContainerProperties; -} +}; // @public -export interface CodeContainerProperties extends AssetContainer { -} +export type CodeContainerProperties = AssetContainer & {}; // @public export interface CodeContainerResourceArmPaginatedResult { @@ -664,14 +761,14 @@ export interface CodeContainersListOptionalParams extends coreClient.OperationOp export type CodeContainersListResponse = CodeContainerResourceArmPaginatedResult; // @public -export interface CodeVersion extends Resource { +export type CodeVersion = Resource & { properties: CodeVersionProperties; -} +}; // @public -export interface CodeVersionProperties extends AssetBase { +export type CodeVersionProperties = AssetBase & { codeUri?: string; -} +}; // @public export interface CodeVersionResourceArmPaginatedResult { @@ -726,7 +823,13 @@ export interface CodeVersionsListOptionalParams extends coreClient.OperationOpti export type CodeVersionsListResponse = CodeVersionResourceArmPaginatedResult; // @public -export interface CommandJob extends JobBaseProperties { +export interface ColumnTransformer { + fields?: string[]; + parameters?: Record; +} + +// @public +export type CommandJob = JobBaseProperties & { codeId?: string; command: string; distribution?: DistributionConfigurationUnion; @@ -742,22 +845,21 @@ export interface CommandJob extends JobBaseProperties { [propertyName: string]: JobOutputUnion | null; }; readonly parameters?: Record; - resources?: ResourceConfiguration; -} + resources?: JobResourceConfiguration; +}; // @public -export interface CommandJobLimits extends JobLimits { +export type CommandJobLimits = JobLimits & { jobLimitsType: "Command"; -} +}; // @public -export interface ComponentContainer extends Resource { +export type ComponentContainer = Resource & { properties: ComponentContainerProperties; -} +}; // @public -export interface ComponentContainerProperties extends AssetContainer { -} +export type ComponentContainerProperties = AssetContainer & {}; // @public export interface ComponentContainerResourceArmPaginatedResult { @@ -810,14 +912,14 @@ export interface ComponentContainersListOptionalParams extends coreClient.Operat export type ComponentContainersListResponse = ComponentContainerResourceArmPaginatedResult; // @public -export interface ComponentVersion extends Resource { +export type ComponentVersion = Resource & { properties: ComponentVersionProperties; -} +}; // @public -export interface ComponentVersionProperties extends AssetBase { +export type ComponentVersionProperties = AssetBase & { componentSpec?: Record; -} +}; // @public export interface ComponentVersionResourceArmPaginatedResult { @@ -921,9 +1023,9 @@ export interface ComputeGetOptionalParams extends coreClient.OperationOptions { export type ComputeGetResponse = ComputeResource; // @public -export interface ComputeInstance extends Compute, ComputeInstanceSchema { +export type ComputeInstance = Compute & ComputeInstanceSchema & { computeType: "ComputeInstance"; -} +}; // @public export interface ComputeInstanceApplication { @@ -1000,10 +1102,12 @@ export interface ComputeInstanceProperties { readonly connectivityEndpoints?: ComputeInstanceConnectivityEndpoints; readonly containers?: ComputeInstanceContainer[]; readonly createdBy?: ComputeInstanceCreatedBy; + customServices?: CustomService[]; readonly dataDisks?: ComputeInstanceDataDisk[]; readonly dataMounts?: ComputeInstanceDataMount[]; enableNodePublicIp?: boolean; readonly errors?: ErrorResponse[]; + idleTimeBeforeShutdown?: string; readonly lastOperation?: ComputeInstanceLastOperation; personalComputeInstanceSettings?: PersonalComputeInstanceSettings; readonly schedules?: ComputeSchedules; @@ -1091,20 +1195,22 @@ export interface ComputeOperations { list(resourceGroupName: string, workspaceName: string, options?: ComputeListOptionalParams): PagedAsyncIterableIterator; listKeys(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeListKeysOptionalParams): Promise; listNodes(resourceGroupName: string, workspaceName: string, computeName: string, options?: ComputeListNodesOptionalParams): PagedAsyncIterableIterator; + updateCustomServices(resourceGroupName: string, workspaceName: string, computeName: string, customServices: CustomService[], options?: ComputeUpdateCustomServicesOptionalParams): Promise; + updateIdleShutdownSetting(resourceGroupName: string, workspaceName: string, computeName: string, parameters: IdleShutdownSetting, options?: ComputeUpdateIdleShutdownSettingOptionalParams): Promise; } // @public export type ComputePowerAction = string; // @public -export interface ComputeResource extends Resource, ComputeResourceSchema { +export type ComputeResource = Resource & ComputeResourceSchema & { identity?: ManagedServiceIdentity; location?: string; - sku?: Sku; tags?: { [propertyName: string]: string; }; -} + sku?: Sku; +}; // @public (undocumented) export interface ComputeResourceSchema { @@ -1157,6 +1263,14 @@ export type ComputeType = string; // @public (undocumented) export type ComputeUnion = Compute | Aks | Kubernetes | AmlCompute | ComputeInstance | VirtualMachine | HDInsight | DataFactory | Databricks | DataLakeAnalytics | SynapseSpark; +// @public +export interface ComputeUpdateCustomServicesOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface ComputeUpdateIdleShutdownSettingOptionalParams extends coreClient.OperationOptions { +} + // @public export interface ComputeUpdateOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; @@ -1200,22 +1314,76 @@ export type CreatedByType = string; export type CredentialsType = string; // @public (undocumented) -export interface CustomModelJobInput extends AssetJobInput, JobInput { -} +export type CronTrigger = TriggerBase & { + triggerType: "Cron"; + expression: string; +}; // @public (undocumented) -export interface CustomModelJobOutput extends AssetJobOutput, JobOutput { +export type CsvExportSummary = ExportSummary & { + format: "CSV"; + readonly containerName?: string; + readonly snapshotPath?: string; +}; + +// @public +export type CustomForecastHorizon = ForecastHorizon & { + mode: "Custom"; + value: number; +}; + +// @public (undocumented) +export type CustomModelJobInput = AssetJobInput & JobInput & {}; + +// @public (undocumented) +export type CustomModelJobOutput = AssetJobOutput & JobOutput & {}; + +// @public +export type CustomNCrossValidations = NCrossValidations & { + mode: "Custom"; + value: number; +}; + +// @public (undocumented) +export type CustomSeasonality = Seasonality & { + mode: "Custom"; + value: number; +}; + +// @public +export interface CustomService { + [property: string]: any; + docker?: Docker; + endpoints?: Endpoint[]; + environmentVariables?: { + [propertyName: string]: EnvironmentVariable; + }; + image?: Image_2; + name?: string; + volumes?: VolumeDefinition[]; } +// @public (undocumented) +export type CustomTargetLags = TargetLags & { + mode: "Custom"; + values: number[]; +}; + +// @public (undocumented) +export type CustomTargetRollingWindowSize = TargetRollingWindowSize & { + mode: "Custom"; + value: number; +}; + // @public -export interface Databricks extends Compute, DatabricksSchema { +export type Databricks = Compute & DatabricksSchema & { computeType: "Databricks"; -} +}; // @public -export interface DatabricksComputeSecrets extends ComputeSecrets, DatabricksComputeSecretsProperties { +export type DatabricksComputeSecrets = ComputeSecrets & DatabricksComputeSecretsProperties & { computeType: "Databricks"; -} +}; // @public export interface DatabricksComputeSecretsProperties { @@ -1234,14 +1402,14 @@ export interface DatabricksSchema { } // @public -export interface DataContainer extends Resource { +export type DataContainer = Resource & { properties: DataContainerProperties; -} +}; // @public -export interface DataContainerProperties extends AssetContainer { +export type DataContainerProperties = AssetContainer & { dataType: DataType; -} +}; // @public export interface DataContainerResourceArmPaginatedResult { @@ -1294,14 +1462,14 @@ export interface DataContainersListOptionalParams extends coreClient.OperationOp export type DataContainersListResponse = DataContainerResourceArmPaginatedResult; // @public -export interface DataFactory extends Compute { +export type DataFactory = Compute & { computeType: "DataFactory"; -} +}; // @public -export interface DataLakeAnalytics extends Compute, DataLakeAnalyticsSchema { +export type DataLakeAnalytics = Compute & DataLakeAnalyticsSchema & { computeType: "DataLakeAnalytics"; -} +}; // @public (undocumented) export interface DataLakeAnalyticsSchema { @@ -1315,34 +1483,40 @@ export interface DataLakeAnalyticsSchemaProperties { } // @public -export interface DataPathAssetReference extends AssetReferenceBase { +export type DataPathAssetReference = AssetReferenceBase & { + referenceType: "DataPath"; datastoreId?: string; path?: string; - referenceType: "DataPath"; -} +}; + +// @public (undocumented) +export type DatasetExportSummary = ExportSummary & { + format: "Dataset"; + readonly labeledAssetName?: string; +}; // @public -export interface Datastore extends Resource { +export type Datastore = Resource & { properties: DatastorePropertiesUnion; -} +}; // @public export interface DatastoreCredentials { - credentialsType: "AccountKey" | "Certificate" | "None" | "Sas" | "ServicePrincipal"; + credentialsType: "AccountKey" | "Certificate" | "KerberosKeytab" | "KerberosPassword" | "None" | "Sas" | "ServicePrincipal"; } // @public (undocumented) -export type DatastoreCredentialsUnion = DatastoreCredentials | AccountKeyDatastoreCredentials | CertificateDatastoreCredentials | NoneDatastoreCredentials | SasDatastoreCredentials | ServicePrincipalDatastoreCredentials; +export type DatastoreCredentialsUnion = DatastoreCredentials | AccountKeyDatastoreCredentials | CertificateDatastoreCredentials | KerberosKeytabCredentials | KerberosPasswordCredentials | NoneDatastoreCredentials | SasDatastoreCredentials | ServicePrincipalDatastoreCredentials; // @public -export interface DatastoreProperties extends ResourceBase { +export type DatastoreProperties = ResourceBase & { credentials: DatastoreCredentialsUnion; datastoreType: DatastoreType; readonly isDefault?: boolean; -} +}; // @public (undocumented) -export type DatastorePropertiesUnion = DatastoreProperties | AzureBlobDatastore | AzureDataLakeGen1Datastore | AzureDataLakeGen2Datastore | AzureFileDatastore; +export type DatastorePropertiesUnion = DatastoreProperties | AzureBlobDatastore | AzureDataLakeGen1Datastore | AzureDataLakeGen2Datastore | AzureFileDatastore | HdfsDatastore; // @public export interface DatastoreResourceArmPaginatedResult { @@ -1373,11 +1547,11 @@ export interface DatastoresDeleteOptionalParams extends coreClient.OperationOpti // @public export interface DatastoreSecrets { - secretsType: "AccountKey" | "Certificate" | "Sas" | "ServicePrincipal"; + secretsType: "AccountKey" | "Certificate" | "KerberosKeytab" | "KerberosPassword" | "Sas" | "ServicePrincipal"; } // @public (undocumented) -export type DatastoreSecretsUnion = DatastoreSecrets | AccountKeyDatastoreSecrets | CertificateDatastoreSecrets | SasDatastoreSecrets | ServicePrincipalDatastoreSecrets; +export type DatastoreSecretsUnion = DatastoreSecrets | AccountKeyDatastoreSecrets | CertificateDatastoreSecrets | KerberosKeytabSecrets | KerberosPasswordSecrets | SasDatastoreSecrets | ServicePrincipalDatastoreSecrets; // @public export interface DatastoresGetOptionalParams extends coreClient.OperationOptions { @@ -1428,15 +1602,15 @@ export type DatastoreType = string; export type DataType = string; // @public -export interface DataVersionBase extends Resource { +export type DataVersionBase = Resource & { properties: DataVersionBasePropertiesUnion; -} +}; // @public -export interface DataVersionBaseProperties extends AssetBase { +export type DataVersionBaseProperties = AssetBase & { dataType: DataType; dataUri: string; -} +}; // @public (undocumented) export type DataVersionBasePropertiesUnion = DataVersionBaseProperties | MLTableData | UriFileDataVersion | UriFolderDataVersion; @@ -1498,9 +1672,9 @@ export interface DataVersionsListOptionalParams extends coreClient.OperationOpti export type DataVersionsListResponse = DataVersionBaseResourceArmPaginatedResult; // @public (undocumented) -export interface DefaultScaleSettings extends OnlineScaleSettings { +export type DefaultScaleSettings = OnlineScaleSettings & { scaleType: "Default"; -} +}; // @public (undocumented) export interface DeploymentLogs { @@ -1516,6 +1690,9 @@ export interface DeploymentLogsRequest { // @public export type DeploymentProvisioningState = string; +// @public (undocumented) +export type DeploymentResourceConfiguration = ResourceConfiguration & {}; + // @public (undocumented) export interface DiagnoseRequestProperties { applicationInsights?: { @@ -1601,6 +1778,12 @@ export type DistributionConfigurationUnion = DistributionConfiguration | Mpi | P // @public export type DistributionType = string; +// @public (undocumented) +export interface Docker { + [property: string]: any; + privileged?: boolean; +} + // @public export interface EarlyTerminationPolicy { delayEvaluation?: number; @@ -1614,6 +1797,9 @@ export type EarlyTerminationPolicyType = string; // @public (undocumented) export type EarlyTerminationPolicyUnion = EarlyTerminationPolicy | BanditPolicy | MedianStoppingPolicy | TruncationSelectionPolicy; +// @public +export type EgressPublicNetworkAccessType = string; + // @public (undocumented) export interface EncryptionKeyVaultProperties { identityClientId?: string; @@ -1621,6 +1807,11 @@ export interface EncryptionKeyVaultProperties { keyVaultArmId: string; } +// @public (undocumented) +export interface EncryptionKeyVaultUpdateProperties { + keyIdentifier: string; +} + // @public (undocumented) export interface EncryptionProperty { identity?: IdentityForCmk; @@ -1631,6 +1822,20 @@ export interface EncryptionProperty { // @public export type EncryptionStatus = string; +// @public (undocumented) +export interface EncryptionUpdateProperties { + keyVaultProperties: EncryptionKeyVaultUpdateProperties; +} + +// @public (undocumented) +export interface Endpoint { + hostIp?: string; + name?: string; + protocol?: Protocol; + published?: number; + target?: number; +} + // @public export interface EndpointAuthKeys { primaryKey?: string; @@ -1679,14 +1884,19 @@ export interface EndpointPropertiesBase { // @public export type EndpointProvisioningState = string; +// @public (undocumented) +export type EndpointScheduleAction = ScheduleActionBase & { + actionType: "InvokeBatchEndpoint"; + endpointInvocationDefinition: Record; +}; + // @public -export interface EnvironmentContainer extends Resource { +export type EnvironmentContainer = Resource & { properties: EnvironmentContainerProperties; -} +}; // @public -export interface EnvironmentContainerProperties extends AssetContainer { -} +export type EnvironmentContainerProperties = AssetContainer & {}; // @public export interface EnvironmentContainerResourceArmPaginatedResult { @@ -1741,20 +1951,30 @@ export type EnvironmentContainersListResponse = EnvironmentContainerResourceArmP // @public export type EnvironmentType = string; +// @public (undocumented) +export interface EnvironmentVariable { + [property: string]: any; + type?: EnvironmentVariableType; + value?: string; +} + +// @public +export type EnvironmentVariableType = string; + // @public -export interface EnvironmentVersion extends Resource { +export type EnvironmentVersion = Resource & { properties: EnvironmentVersionProperties; -} +}; // @public -export interface EnvironmentVersionProperties extends AssetBase { +export type EnvironmentVersionProperties = AssetBase & { build?: BuildContext; condaFile?: string; readonly environmentType?: EnvironmentType; image?: string; inferenceConfig?: InferenceContainerProperties; osType?: OperatingSystemType; -} +}; // @public export interface EnvironmentVersionResourceArmPaginatedResult { @@ -1844,12 +2064,38 @@ export interface EstimatedVMPrices { values: EstimatedVMPrice[]; } +// @public +export type ExportFormatType = string; + +// @public (undocumented) +export interface ExportSummary { + readonly endDateTime?: Date; + readonly exportedRowCount?: number; + format: "Coco" | "CSV" | "Dataset"; + readonly labelingJobId?: string; + readonly startDateTime?: Date; +} + +// @public (undocumented) +export type ExportSummaryUnion = ExportSummary | CocoExportSummary | CsvExportSummary | DatasetExportSummary; + // @public (undocumented) export interface ExternalFqdnResponse { // (undocumented) value?: FqdnEndpoints[]; } +// @public +export type FeatureLags = string; + +// @public +export type FeaturizationMode = string; + +// @public +export interface FeaturizationSettings { + datasetLanguage?: string; +} + // @public (undocumented) export interface FlavorData { data?: { @@ -1857,6 +2103,53 @@ export interface FlavorData { }; } +// @public +export interface ForecastHorizon { + mode: "Auto" | "Custom"; +} + +// @public +export type ForecastHorizonMode = string; + +// @public (undocumented) +export type ForecastHorizonUnion = ForecastHorizon | AutoForecastHorizon | CustomForecastHorizon; + +// @public +export type Forecasting = TableVertical & AutoMLVertical & { + forecastingSettings?: ForecastingSettings; + primaryMetric?: ForecastingPrimaryMetrics; + trainingSettings?: ForecastingTrainingSettings; +}; + +// @public +export type ForecastingModels = string; + +// @public +export type ForecastingPrimaryMetrics = string; + +// @public +export interface ForecastingSettings { + countryOrRegionForHolidays?: string; + cvStepSize?: number; + featureLags?: FeatureLags; + forecastHorizon?: ForecastHorizonUnion; + frequency?: string; + seasonality?: SeasonalityUnion; + shortSeriesHandlingConfig?: ShortSeriesHandlingConfiguration; + targetAggregateFunction?: TargetAggregationFunction; + targetLags?: TargetLagsUnion; + targetRollingWindowSize?: TargetRollingWindowSizeUnion; + timeColumnName?: string; + timeSeriesIdColumnNames?: string[]; + useStl?: UseStl; +} + +// @public +export type ForecastingTrainingSettings = TrainingSettings & { + allowedTrainingAlgorithms?: ForecastingModels[]; + blockedTrainingAlgorithms?: ForecastingModels[]; +}; + // @public (undocumented) export interface FqdnEndpoint { // (undocumented) @@ -1889,14 +2182,21 @@ export interface FqdnEndpointsProperties { export type Goal = string; // @public -export interface GridSamplingAlgorithm extends SamplingAlgorithm { +export type GridSamplingAlgorithm = SamplingAlgorithm & { samplingAlgorithmType: "Grid"; -} +}; + +// @public (undocumented) +export type HdfsDatastore = DatastoreProperties & { + hdfsServerCertificate?: string; + nameNodeAddress: string; + protocol?: string; +}; // @public -export interface HDInsight extends Compute, HDInsightSchema { +export type HDInsight = Compute & HDInsightSchema & { computeType: "HDInsight"; -} +}; // @public export interface HDInsightProperties { @@ -1911,10 +2211,10 @@ export interface HDInsightSchema { } // @public -export interface IdAssetReference extends AssetReferenceBase { - assetId: string; +export type IdAssetReference = AssetReferenceBase & { referenceType: "Id"; -} + assetId: string; +}; // @public export interface IdentityConfiguration { @@ -1932,6 +2232,207 @@ export interface IdentityForCmk { userAssignedIdentity?: string; } +// @public +export interface IdleShutdownSetting { + idleTimeBeforeShutdown?: string; +} + +// @public (undocumented) +interface Image_2 { + [property: string]: any; + reference?: string; + type?: ImageType; +} +export { Image_2 as Image } + +// @public +export type ImageAnnotationType = string; + +// @public +export type ImageClassification = ImageClassificationBase & AutoMLVertical & { + taskType: "ImageClassification"; + primaryMetric?: ClassificationPrimaryMetrics; +}; + +// @public (undocumented) +export type ImageClassificationBase = ImageVertical & { + modelSettings?: ImageModelSettingsClassification; + searchSpace?: ImageModelDistributionSettingsClassification[]; +}; + +// @public +export type ImageClassificationMultilabel = ImageClassificationBase & AutoMLVertical & { + taskType: "ImageClassificationMultilabel"; + primaryMetric?: ClassificationMultilabelPrimaryMetrics; +}; + +// @public +export type ImageInstanceSegmentation = ImageObjectDetectionBase & AutoMLVertical & { + taskType: "ImageInstanceSegmentation"; + primaryMetric?: InstanceSegmentationPrimaryMetrics; +}; + +// @public +export interface ImageLimitSettings { + maxConcurrentTrials?: number; + maxTrials?: number; + timeout?: string; +} + +// @public +export interface ImageModelDistributionSettings { + amsGradient?: string; + augmentations?: string; + beta1?: string; + beta2?: string; + distributed?: string; + earlyStopping?: string; + earlyStoppingDelay?: string; + earlyStoppingPatience?: string; + enableOnnxNormalization?: string; + evaluationFrequency?: string; + gradientAccumulationStep?: string; + layersToFreeze?: string; + learningRate?: string; + learningRateScheduler?: string; + modelName?: string; + momentum?: string; + nesterov?: string; + numberOfEpochs?: string; + numberOfWorkers?: string; + optimizer?: string; + randomSeed?: string; + stepLRGamma?: string; + stepLRStepSize?: string; + trainingBatchSize?: string; + validationBatchSize?: string; + warmupCosineLRCycles?: string; + warmupCosineLRWarmupEpochs?: string; + weightDecay?: string; +} + +// @public +export type ImageModelDistributionSettingsClassification = ImageModelDistributionSettings & { + trainingCropSize?: string; + validationCropSize?: string; + validationResizeSize?: string; + weightedLoss?: string; +}; + +// @public +export type ImageModelDistributionSettingsObjectDetection = ImageModelDistributionSettings & { + boxDetectionsPerImage?: string; + boxScoreThreshold?: string; + imageSize?: string; + maxSize?: string; + minSize?: string; + modelSize?: string; + multiScale?: string; + nmsIouThreshold?: string; + tileGridSize?: string; + tileOverlapRatio?: string; + tilePredictionsNmsThreshold?: string; + validationIouThreshold?: string; + validationMetricType?: string; +}; + +// @public +export interface ImageModelSettings { + advancedSettings?: string; + amsGradient?: boolean; + augmentations?: string; + beta1?: number; + beta2?: number; + checkpointFrequency?: number; + checkpointModel?: MLFlowModelJobInput; + checkpointRunId?: string; + distributed?: boolean; + earlyStopping?: boolean; + earlyStoppingDelay?: number; + earlyStoppingPatience?: number; + enableOnnxNormalization?: boolean; + evaluationFrequency?: number; + gradientAccumulationStep?: number; + layersToFreeze?: number; + learningRate?: number; + learningRateScheduler?: LearningRateScheduler; + modelName?: string; + momentum?: number; + nesterov?: boolean; + numberOfEpochs?: number; + numberOfWorkers?: number; + optimizer?: StochasticOptimizer; + randomSeed?: number; + stepLRGamma?: number; + stepLRStepSize?: number; + trainingBatchSize?: number; + validationBatchSize?: number; + warmupCosineLRCycles?: number; + warmupCosineLRWarmupEpochs?: number; + weightDecay?: number; +} + +// @public +export type ImageModelSettingsClassification = ImageModelSettings & { + trainingCropSize?: number; + validationCropSize?: number; + validationResizeSize?: number; + weightedLoss?: number; +}; + +// @public +export type ImageModelSettingsObjectDetection = ImageModelSettings & { + boxDetectionsPerImage?: number; + boxScoreThreshold?: number; + imageSize?: number; + maxSize?: number; + minSize?: number; + modelSize?: ModelSize; + multiScale?: boolean; + nmsIouThreshold?: number; + tileGridSize?: string; + tileOverlapRatio?: number; + tilePredictionsNmsThreshold?: number; + validationIouThreshold?: number; + validationMetricType?: ValidationMetricType; +}; + +// @public +export type ImageObjectDetection = ImageObjectDetectionBase & AutoMLVertical & { + taskType: "ImageObjectDetection"; + primaryMetric?: ObjectDetectionPrimaryMetrics; +}; + +// @public (undocumented) +export type ImageObjectDetectionBase = ImageVertical & { + modelSettings?: ImageModelSettingsObjectDetection; + searchSpace?: ImageModelDistributionSettingsObjectDetection[]; +}; + +// @public +export interface ImageSweepLimitSettings { + maxConcurrentTrials?: number; + maxTrials?: number; +} + +// @public +export interface ImageSweepSettings { + earlyTermination?: EarlyTerminationPolicyUnion; + limits: ImageSweepLimitSettings; + samplingAlgorithm: SamplingAlgorithmType; +} + +// @public +export type ImageType = string; + +// @public +export interface ImageVertical { + limitSettings: ImageLimitSettings; + sweepSettings?: ImageSweepSettings; + validationData?: MLTableJobInput; + validationDataSize?: number; +} + // @public (undocumented) export interface InferenceContainerProperties { livenessRoute?: Route; @@ -1942,6 +2443,9 @@ export interface InferenceContainerProperties { // @public export type InputDeliveryMode = string; +// @public +export type InstanceSegmentationPrimaryMetrics = string; + // @public export interface InstanceTypeSchema { nodeSelector?: { @@ -1961,12 +2465,13 @@ export interface InstanceTypeSchemaResources { } // @public -export interface JobBase extends Resource { +export type JobBase = Resource & { properties: JobBasePropertiesUnion; -} +}; // @public -export interface JobBaseProperties extends ResourceBase { +export type JobBaseProperties = ResourceBase & { + componentId?: string; computeId?: string; displayName?: string; experimentName?: string; @@ -1977,10 +2482,10 @@ export interface JobBaseProperties extends ResourceBase { [propertyName: string]: JobService | null; }; readonly status?: JobStatus; -} +}; // @public (undocumented) -export type JobBasePropertiesUnion = JobBaseProperties | CommandJob | PipelineJob | SweepJob; +export type JobBasePropertiesUnion = JobBaseProperties | LabelingJobProperties | AutoMLJob | CommandJob | PipelineJob | SparkJob | SweepJob; // @public export interface JobBaseResourceArmPaginatedResult { @@ -1991,14 +2496,14 @@ export interface JobBaseResourceArmPaginatedResult { // @public export interface JobInput { description?: string; - jobInputType: "custom_model" | "literal" | "mlflow_model" | "mltable" | "triton_model" | "uri_file" | "uri_folder"; + jobInputType: "mltable" | "custom_model" | "mlflow_model" | "literal" | "triton_model" | "uri_file" | "uri_folder"; } // @public export type JobInputType = string; // @public (undocumented) -export type JobInputUnion = JobInput | CustomModelJobInput | LiteralJobInput | MLFlowModelJobInput | MLTableJobInput | TritonModelJobInput | UriFileJobInput | UriFolderJobInput; +export type JobInputUnion = JobInput | MLTableJobInput | CustomModelJobInput | MLFlowModelJobInput | LiteralJobInput | TritonModelJobInput | UriFileJobInput | UriFolderJobInput; // @public (undocumented) export interface JobLimits { @@ -2024,6 +2529,15 @@ export type JobOutputType = string; // @public (undocumented) export type JobOutputUnion = JobOutput | CustomModelJobOutput | MLFlowModelJobOutput | MLTableJobOutput | TritonModelJobOutput | UriFileJobOutput | UriFolderJobOutput; +// @public +export type JobProvisioningState = string; + +// @public (undocumented) +export type JobResourceConfiguration = ResourceConfiguration & { + dockerArgs?: string; + shmSize?: string; +}; + // @public export interface Jobs { beginCancel(resourceGroupName: string, workspaceName: string, id: string, options?: JobsCancelOptionalParams): Promise, void>>; @@ -2047,6 +2561,12 @@ export interface JobsCancelOptionalParams extends coreClient.OperationOptions { updateIntervalInMs?: number; } +// @public (undocumented) +export type JobScheduleAction = ScheduleActionBase & { + actionType: "CreateJob"; + jobDefinition: JobBasePropertiesUnion; +}; + // @public export interface JobsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { } @@ -2090,6 +2610,8 @@ export type JobsGetResponse = JobBase; export interface JobsListNextOptionalParams extends coreClient.OperationOptions { jobType?: string; listViewType?: ListViewType; + scheduled?: boolean; + scheduleId?: string; skip?: string; tag?: string; } @@ -2101,6 +2623,8 @@ export type JobsListNextResponse = JobBaseResourceArmPaginatedResult; export interface JobsListOptionalParams extends coreClient.OperationOptions { jobType?: string; listViewType?: ListViewType; + scheduled?: boolean; + scheduleId?: string; skip?: string; tag?: string; } @@ -2114,277 +2638,602 @@ export type JobStatus = string; // @public export type JobType = string; -// @public -type KeyType_2 = string; -export { KeyType_2 as KeyType } +// @public (undocumented) +export interface KerberosCredentials { + kerberosKdcAddress: string; + kerberosPrincipal: string; + kerberosRealm: string; +} -// @public -export enum KnownAllocationState { +// @public (undocumented) +export type KerberosKeytabCredentials = KerberosCredentials & DatastoreCredentials & { + secrets: KerberosKeytabSecrets; +}; + +// @public (undocumented) +export type KerberosKeytabSecrets = DatastoreSecrets & { + secretsType: "KerberosKeytab"; + kerberosKeytab?: string; +}; + +// @public (undocumented) +export type KerberosPasswordCredentials = KerberosCredentials & DatastoreCredentials & { + secrets: KerberosPasswordSecrets; +}; + +// @public (undocumented) +export type KerberosPasswordSecrets = DatastoreSecrets & { + secretsType: "KerberosPassword"; + kerberosPassword?: string; +}; + +// @public +type KeyType_2 = string; +export { KeyType_2 as KeyType } + +// @public +export enum KnownAllocationState { + // (undocumented) Resizing = "Resizing", + // (undocumented) Steady = "Steady" } // @public export enum KnownApplicationSharingPolicy { + // (undocumented) Personal = "Personal", + // (undocumented) Shared = "Shared" } // @public export enum KnownAutosave { + // (undocumented) Local = "Local", + // (undocumented) None = "None", + // (undocumented) Remote = "Remote" } // @public export enum KnownBatchLoggingLevel { + // (undocumented) Debug = "Debug", + // (undocumented) Info = "Info", + // (undocumented) Warning = "Warning" } // @public export enum KnownBatchOutputAction { + // (undocumented) AppendRow = "AppendRow", + // (undocumented) SummaryOnly = "SummaryOnly" } // @public export enum KnownBillingCurrency { + // (undocumented) USD = "USD" } +// @public +export enum KnownBlockedTransformers { + CatTargetEncoder = "CatTargetEncoder", + CountVectorizer = "CountVectorizer", + HashOneHotEncoder = "HashOneHotEncoder", + LabelEncoder = "LabelEncoder", + NaiveBayes = "NaiveBayes", + OneHotEncoder = "OneHotEncoder", + TextTargetEncoder = "TextTargetEncoder", + TfIdf = "TfIdf", + WoETargetEncoder = "WoETargetEncoder", + WordEmbedding = "WordEmbedding" +} + // @public export enum KnownCaching { + // (undocumented) None = "None", + // (undocumented) ReadOnly = "ReadOnly", + // (undocumented) ReadWrite = "ReadWrite" } +// @public +export enum KnownClassificationModels { + BernoulliNaiveBayes = "BernoulliNaiveBayes", + DecisionTree = "DecisionTree", + ExtremeRandomTrees = "ExtremeRandomTrees", + GradientBoosting = "GradientBoosting", + KNN = "KNN", + LightGBM = "LightGBM", + LinearSVM = "LinearSVM", + LogisticRegression = "LogisticRegression", + MultinomialNaiveBayes = "MultinomialNaiveBayes", + RandomForest = "RandomForest", + SGD = "SGD", + SVM = "SVM", + XGBoostClassifier = "XGBoostClassifier" +} + +// @public +export enum KnownClassificationMultilabelPrimaryMetrics { + Accuracy = "Accuracy", + AUCWeighted = "AUCWeighted", + AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", + IOU = "IOU", + NormMacroRecall = "NormMacroRecall", + PrecisionScoreWeighted = "PrecisionScoreWeighted" +} + +// @public +export enum KnownClassificationPrimaryMetrics { + Accuracy = "Accuracy", + AUCWeighted = "AUCWeighted", + AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", + NormMacroRecall = "NormMacroRecall", + PrecisionScoreWeighted = "PrecisionScoreWeighted" +} + // @public export enum KnownClusterPurpose { + // (undocumented) DenseProd = "DenseProd", + // (undocumented) DevTest = "DevTest", + // (undocumented) FastProd = "FastProd" } // @public export enum KnownComputeInstanceAuthorizationType { + // (undocumented) Personal = "personal" } // @public export enum KnownComputeInstanceState { + // (undocumented) CreateFailed = "CreateFailed", + // (undocumented) Creating = "Creating", + // (undocumented) Deleting = "Deleting", + // (undocumented) JobRunning = "JobRunning", + // (undocumented) Restarting = "Restarting", + // (undocumented) Running = "Running", + // (undocumented) SettingUp = "SettingUp", + // (undocumented) SetupFailed = "SetupFailed", + // (undocumented) Starting = "Starting", + // (undocumented) Stopped = "Stopped", + // (undocumented) Stopping = "Stopping", + // (undocumented) Unknown = "Unknown", + // (undocumented) Unusable = "Unusable", + // (undocumented) UserSettingUp = "UserSettingUp", + // (undocumented) UserSetupFailed = "UserSetupFailed" } // @public export enum KnownComputePowerAction { + // (undocumented) Start = "Start", + // (undocumented) Stop = "Stop" } // @public export enum KnownComputeType { + // (undocumented) AKS = "AKS", + // (undocumented) AmlCompute = "AmlCompute", + // (undocumented) ComputeInstance = "ComputeInstance", + // (undocumented) Databricks = "Databricks", + // (undocumented) DataFactory = "DataFactory", + // (undocumented) DataLakeAnalytics = "DataLakeAnalytics", + // (undocumented) HDInsight = "HDInsight", + // (undocumented) Kubernetes = "Kubernetes", + // (undocumented) SynapseSpark = "SynapseSpark", + // (undocumented) VirtualMachine = "VirtualMachine" } // @public export enum KnownConnectionAuthType { + // (undocumented) ManagedIdentity = "ManagedIdentity", + // (undocumented) None = "None", + // (undocumented) PAT = "PAT", + // (undocumented) SAS = "SAS", + // (undocumented) UsernamePassword = "UsernamePassword" } // @public export enum KnownConnectionCategory { + // (undocumented) ContainerRegistry = "ContainerRegistry", + // (undocumented) Git = "Git", + // (undocumented) PythonFeed = "PythonFeed" } // @public export enum KnownContainerType { + // (undocumented) InferenceServer = "InferenceServer", + // (undocumented) StorageInitializer = "StorageInitializer" } // @public export enum KnownCreatedByType { + // (undocumented) Application = "Application", + // (undocumented) Key = "Key", + // (undocumented) ManagedIdentity = "ManagedIdentity", + // (undocumented) User = "User" } // @public export enum KnownCredentialsType { + // (undocumented) AccountKey = "AccountKey", + // (undocumented) Certificate = "Certificate", + // (undocumented) + KerberosKeytab = "KerberosKeytab", + // (undocumented) + KerberosPassword = "KerberosPassword", + // (undocumented) None = "None", + // (undocumented) Sas = "Sas", + // (undocumented) ServicePrincipal = "ServicePrincipal" } // @public export enum KnownDatastoreType { + // (undocumented) AzureBlob = "AzureBlob", + // (undocumented) AzureDataLakeGen1 = "AzureDataLakeGen1", + // (undocumented) AzureDataLakeGen2 = "AzureDataLakeGen2", - AzureFile = "AzureFile" + // (undocumented) + AzureFile = "AzureFile", + // (undocumented) + Hdfs = "Hdfs" } // @public export enum KnownDataType { + // (undocumented) Mltable = "mltable", + // (undocumented) UriFile = "uri_file", + // (undocumented) UriFolder = "uri_folder" } // @public export enum KnownDeploymentProvisioningState { + // (undocumented) Canceled = "Canceled", + // (undocumented) Creating = "Creating", + // (undocumented) Deleting = "Deleting", + // (undocumented) Failed = "Failed", + // (undocumented) Scaling = "Scaling", + // (undocumented) Succeeded = "Succeeded", + // (undocumented) Updating = "Updating" } // @public export enum KnownDiagnoseResultLevel { + // (undocumented) Error = "Error", + // (undocumented) Information = "Information", + // (undocumented) Warning = "Warning" } // @public export enum KnownDistributionType { + // (undocumented) Mpi = "Mpi", + // (undocumented) PyTorch = "PyTorch", + // (undocumented) TensorFlow = "TensorFlow" } // @public export enum KnownEarlyTerminationPolicyType { + // (undocumented) Bandit = "Bandit", + // (undocumented) MedianStopping = "MedianStopping", + // (undocumented) TruncationSelection = "TruncationSelection" } +// @public +export enum KnownEgressPublicNetworkAccessType { + // (undocumented) + Disabled = "Disabled", + // (undocumented) + Enabled = "Enabled" +} + // @public export enum KnownEncryptionStatus { + // (undocumented) Disabled = "Disabled", + // (undocumented) Enabled = "Enabled" } // @public export enum KnownEndpointAuthMode { + // (undocumented) AADToken = "AADToken", + // (undocumented) AMLToken = "AMLToken", + // (undocumented) Key = "Key" } // @public export enum KnownEndpointComputeType { + // (undocumented) AzureMLCompute = "AzureMLCompute", + // (undocumented) Kubernetes = "Kubernetes", + // (undocumented) Managed = "Managed" } // @public export enum KnownEndpointProvisioningState { + // (undocumented) Canceled = "Canceled", + // (undocumented) Creating = "Creating", + // (undocumented) Deleting = "Deleting", + // (undocumented) Failed = "Failed", + // (undocumented) Succeeded = "Succeeded", + // (undocumented) Updating = "Updating" } // @public export enum KnownEnvironmentType { + // (undocumented) Curated = "Curated", + // (undocumented) UserCreated = "UserCreated" } +// @public +export enum KnownEnvironmentVariableType { + // (undocumented) + Local = "local" +} + +// @public +export enum KnownExportFormatType { + // (undocumented) + Coco = "Coco", + // (undocumented) + CSV = "CSV", + // (undocumented) + Dataset = "Dataset" +} + +// @public +export enum KnownFeatureLags { + Auto = "Auto", + None = "None" +} + +// @public +export enum KnownFeaturizationMode { + Auto = "Auto", + Custom = "Custom", + Off = "Off" +} + +// @public +export enum KnownForecastHorizonMode { + Auto = "Auto", + Custom = "Custom" +} + +// @public +export enum KnownForecastingModels { + Arimax = "Arimax", + AutoArima = "AutoArima", + Average = "Average", + DecisionTree = "DecisionTree", + ElasticNet = "ElasticNet", + ExponentialSmoothing = "ExponentialSmoothing", + ExtremeRandomTrees = "ExtremeRandomTrees", + GradientBoosting = "GradientBoosting", + KNN = "KNN", + LassoLars = "LassoLars", + LightGBM = "LightGBM", + Naive = "Naive", + Prophet = "Prophet", + RandomForest = "RandomForest", + SeasonalAverage = "SeasonalAverage", + SeasonalNaive = "SeasonalNaive", + SGD = "SGD", + TCNForecaster = "TCNForecaster", + XGBoostRegressor = "XGBoostRegressor" +} + +// @public +export enum KnownForecastingPrimaryMetrics { + NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError", + NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", + R2Score = "R2Score", + SpearmanCorrelation = "SpearmanCorrelation" +} + // @public export enum KnownGoal { + // (undocumented) Maximize = "Maximize", + // (undocumented) Minimize = "Minimize" } // @public export enum KnownIdentityConfigurationType { + // (undocumented) AMLToken = "AMLToken", + // (undocumented) Managed = "Managed", + // (undocumented) UserIdentity = "UserIdentity" } +// @public +export enum KnownImageAnnotationType { + // (undocumented) + BoundingBox = "BoundingBox", + // (undocumented) + Classification = "Classification", + // (undocumented) + InstanceSegmentation = "InstanceSegmentation" +} + +// @public +export enum KnownImageType { + // (undocumented) + Azureml = "azureml", + // (undocumented) + Docker = "docker" +} + // @public export enum KnownInputDeliveryMode { + // (undocumented) Direct = "Direct", + // (undocumented) Download = "Download", + // (undocumented) EvalDownload = "EvalDownload", + // (undocumented) EvalMount = "EvalMount", + // (undocumented) ReadOnlyMount = "ReadOnlyMount", + // (undocumented) ReadWriteMount = "ReadWriteMount" } +// @public +export enum KnownInstanceSegmentationPrimaryMetrics { + MeanAveragePrecision = "MeanAveragePrecision" +} + // @public export enum KnownJobInputType { + // (undocumented) CustomModel = "custom_model", + // (undocumented) Literal = "literal", + // (undocumented) MlflowModel = "mlflow_model", + // (undocumented) Mltable = "mltable", + // (undocumented) TritonModel = "triton_model", + // (undocumented) UriFile = "uri_file", + // (undocumented) UriFolder = "uri_folder" } // @public export enum KnownJobLimitsType { + // (undocumented) Command = "Command", + // (undocumented) Sweep = "Sweep" } // @public export enum KnownJobOutputType { + // (undocumented) CustomModel = "custom_model", + // (undocumented) MlflowModel = "mlflow_model", + // (undocumented) Mltable = "mltable", + // (undocumented) TritonModel = "triton_model", + // (undocumented) UriFile = "uri_file", + // (undocumented) UriFolder = "uri_folder" } +// @public +export enum KnownJobProvisioningState { + // (undocumented) + Canceled = "Canceled", + // (undocumented) + Failed = "Failed", + // (undocumented) + InProgress = "InProgress", + // (undocumented) + Succeeded = "Succeeded" +} + // @public export enum KnownJobStatus { Canceled = "Canceled", @@ -2399,351 +3248,941 @@ export enum KnownJobStatus { Provisioning = "Provisioning", Queued = "Queued", Running = "Running", + Scheduled = "Scheduled", Starting = "Starting", Unknown = "Unknown" } // @public export enum KnownJobType { + // (undocumented) + AutoML = "AutoML", + // (undocumented) Command = "Command", + // (undocumented) + Labeling = "Labeling", + // (undocumented) Pipeline = "Pipeline", + // (undocumented) + Spark = "Spark", + // (undocumented) Sweep = "Sweep" } // @public export enum KnownKeyType { + // (undocumented) Primary = "Primary", + // (undocumented) Secondary = "Secondary" } +// @public +export enum KnownLearningRateScheduler { + None = "None", + Step = "Step", + WarmupCosine = "WarmupCosine" +} + // @public export enum KnownListViewType { + // (undocumented) ActiveOnly = "ActiveOnly", + // (undocumented) All = "All", + // (undocumented) ArchivedOnly = "ArchivedOnly" } // @public export enum KnownLoadBalancerType { + // (undocumented) InternalLoadBalancer = "InternalLoadBalancer", + // (undocumented) PublicIp = "PublicIp" } +// @public +export enum KnownLogVerbosity { + Critical = "Critical", + Debug = "Debug", + Error = "Error", + Info = "Info", + NotSet = "NotSet", + Warning = "Warning" +} + // @public export enum KnownManagedServiceIdentityType { + // (undocumented) None = "None", + // (undocumented) SystemAssigned = "SystemAssigned", + // (undocumented) SystemAssignedUserAssigned = "SystemAssigned,UserAssigned", + // (undocumented) UserAssigned = "UserAssigned" } // @public -export enum KnownMountAction { - Mount = "Mount", - Unmount = "Unmount" +export enum KnownMediaType { + // (undocumented) + Image = "Image", + // (undocumented) + Text = "Text" } // @public -export enum KnownMountState { - Mounted = "Mounted", +export enum KnownMLAssistConfigurationType { + // (undocumented) + Disabled = "Disabled", + // (undocumented) + Enabled = "Enabled" +} + +// @public +export enum KnownModelSize { + ExtraLarge = "ExtraLarge", + Large = "Large", + Medium = "Medium", + None = "None", + Small = "Small" +} + +// @public +export enum KnownMountAction { + // (undocumented) + Mount = "Mount", + // (undocumented) + Unmount = "Unmount" +} + +// @public +export enum KnownMountState { + // (undocumented) + Mounted = "Mounted", + // (undocumented) MountFailed = "MountFailed", + // (undocumented) MountRequested = "MountRequested", + // (undocumented) Unmounted = "Unmounted", + // (undocumented) UnmountFailed = "UnmountFailed", + // (undocumented) UnmountRequested = "UnmountRequested" } +// @public +export enum KnownNCrossValidationsMode { + Auto = "Auto", + Custom = "Custom" +} + // @public export enum KnownNetwork { + // (undocumented) Bridge = "Bridge", + // (undocumented) Host = "Host" } // @public export enum KnownNodeState { + // (undocumented) Idle = "idle", + // (undocumented) Leaving = "leaving", + // (undocumented) Preempted = "preempted", + // (undocumented) Preparing = "preparing", + // (undocumented) Running = "running", + // (undocumented) Unusable = "unusable" } +// @public +export enum KnownObjectDetectionPrimaryMetrics { + MeanAveragePrecision = "MeanAveragePrecision" +} + // @public export enum KnownOperatingSystemType { + // (undocumented) Linux = "Linux", + // (undocumented) Windows = "Windows" } // @public export enum KnownOperationName { + // (undocumented) Create = "Create", + // (undocumented) Delete = "Delete", + // (undocumented) Reimage = "Reimage", + // (undocumented) Restart = "Restart", + // (undocumented) Start = "Start", + // (undocumented) Stop = "Stop" } // @public export enum KnownOperationStatus { + // (undocumented) CreateFailed = "CreateFailed", + // (undocumented) DeleteFailed = "DeleteFailed", + // (undocumented) InProgress = "InProgress", + // (undocumented) ReimageFailed = "ReimageFailed", + // (undocumented) RestartFailed = "RestartFailed", + // (undocumented) StartFailed = "StartFailed", + // (undocumented) StopFailed = "StopFailed", + // (undocumented) Succeeded = "Succeeded" } // @public export enum KnownOperationTrigger { + // (undocumented) IdleShutdown = "IdleShutdown", + // (undocumented) Schedule = "Schedule", + // (undocumented) User = "User" } // @public export enum KnownOrderString { + // (undocumented) CreatedAtAsc = "CreatedAtAsc", + // (undocumented) CreatedAtDesc = "CreatedAtDesc", + // (undocumented) UpdatedAtAsc = "UpdatedAtAsc", + // (undocumented) UpdatedAtDesc = "UpdatedAtDesc" } // @public export enum KnownOsType { + // (undocumented) Linux = "Linux", + // (undocumented) Windows = "Windows" } // @public export enum KnownOutputDeliveryMode { + // (undocumented) + Direct = "Direct", + // (undocumented) ReadWriteMount = "ReadWriteMount", + // (undocumented) Upload = "Upload" } // @public export enum KnownPrivateEndpointConnectionProvisioningState { + // (undocumented) Creating = "Creating", + // (undocumented) Deleting = "Deleting", + // (undocumented) Failed = "Failed", + // (undocumented) Succeeded = "Succeeded" } // @public export enum KnownPrivateEndpointServiceConnectionStatus { + // (undocumented) Approved = "Approved", + // (undocumented) Disconnected = "Disconnected", + // (undocumented) Pending = "Pending", + // (undocumented) Rejected = "Rejected", + // (undocumented) Timeout = "Timeout" } +// @public +export enum KnownProtocol { + // (undocumented) + Http = "http", + // (undocumented) + Tcp = "tcp", + // (undocumented) + Udp = "udp" +} + // @public export enum KnownProvisioningState { + // (undocumented) Canceled = "Canceled", + // (undocumented) Creating = "Creating", + // (undocumented) Deleting = "Deleting", + // (undocumented) Failed = "Failed", + // (undocumented) Succeeded = "Succeeded", + // (undocumented) Unknown = "Unknown", + // (undocumented) + Updating = "Updating" +} + +// @public +export enum KnownProvisioningStatus { + // (undocumented) + Completed = "Completed", + // (undocumented) + Failed = "Failed", + // (undocumented) + Provisioning = "Provisioning" +} + +// @public +export enum KnownPublicNetworkAccess { + // (undocumented) + Disabled = "Disabled", + // (undocumented) + Enabled = "Enabled" +} + +// @public +export enum KnownPublicNetworkAccessType { + // (undocumented) + Disabled = "Disabled", + // (undocumented) + Enabled = "Enabled" +} + +// @public +export enum KnownQuotaUnit { + // (undocumented) + Count = "Count" +} + +// @public +export enum KnownRandomSamplingAlgorithmRule { + // (undocumented) + Random = "Random", + // (undocumented) + Sobol = "Sobol" +} + +// @public +export enum KnownRecurrenceFrequency { + Day = "Day", + Hour = "Hour", + Minute = "Minute", + Month = "Month", + Week = "Week" +} + +// @public +export enum KnownReferenceType { + // (undocumented) + DataPath = "DataPath", + // (undocumented) + Id = "Id", + // (undocumented) + OutputPath = "OutputPath" +} + +// @public +export enum KnownRegressionModels { + DecisionTree = "DecisionTree", + ElasticNet = "ElasticNet", + ExtremeRandomTrees = "ExtremeRandomTrees", + GradientBoosting = "GradientBoosting", + KNN = "KNN", + LassoLars = "LassoLars", + LightGBM = "LightGBM", + RandomForest = "RandomForest", + SGD = "SGD", + XGBoostRegressor = "XGBoostRegressor" +} + +// @public +export enum KnownRegressionPrimaryMetrics { + NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError", + NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", + R2Score = "R2Score", + SpearmanCorrelation = "SpearmanCorrelation" +} + +// @public +export enum KnownRemoteLoginPortPublicAccess { + // (undocumented) + Disabled = "Disabled", + // (undocumented) + Enabled = "Enabled", + // (undocumented) + NotSpecified = "NotSpecified" +} + +// @public +export enum KnownSamplingAlgorithmType { + // (undocumented) + Bayesian = "Bayesian", + // (undocumented) + Grid = "Grid", + // (undocumented) + Random = "Random" +} + +// @public +export enum KnownScaleType { + // (undocumented) + Default = "Default", + // (undocumented) + TargetUtilization = "TargetUtilization" +} + +// @public +export enum KnownScheduleActionType { + // (undocumented) + CreateJob = "CreateJob", + // (undocumented) + InvokeBatchEndpoint = "InvokeBatchEndpoint" +} + +// @public +export enum KnownScheduleProvisioningState { + // (undocumented) + Completed = "Completed", + // (undocumented) + Failed = "Failed", + // (undocumented) + Provisioning = "Provisioning" +} + +// @public +export enum KnownScheduleProvisioningStatus { + // (undocumented) + Canceled = "Canceled", + // (undocumented) + Creating = "Creating", + // (undocumented) + Deleting = "Deleting", + // (undocumented) + Failed = "Failed", + // (undocumented) + Succeeded = "Succeeded", + // (undocumented) Updating = "Updating" } // @public -export enum KnownProvisioningStatus { - Completed = "Completed", - Failed = "Failed", - Provisioning = "Provisioning" +export enum KnownScheduleStatus { + // (undocumented) + Disabled = "Disabled", + // (undocumented) + Enabled = "Enabled" +} + +// @public +export enum KnownSeasonalityMode { + Auto = "Auto", + Custom = "Custom" +} + +// @public +export enum KnownSecretsType { + // (undocumented) + AccountKey = "AccountKey", + // (undocumented) + Certificate = "Certificate", + // (undocumented) + KerberosKeytab = "KerberosKeytab", + // (undocumented) + KerberosPassword = "KerberosPassword", + // (undocumented) + Sas = "Sas", + // (undocumented) + ServicePrincipal = "ServicePrincipal" +} + +// @public +export enum KnownServiceDataAccessAuthIdentity { + None = "None", + WorkspaceSystemAssignedIdentity = "WorkspaceSystemAssignedIdentity", + WorkspaceUserAssignedIdentity = "WorkspaceUserAssignedIdentity" +} + +// @public +export enum KnownShortSeriesHandlingConfiguration { + Auto = "Auto", + Drop = "Drop", + None = "None", + Pad = "Pad" +} + +// @public +export enum KnownSkuScaleType { + Automatic = "Automatic", + Manual = "Manual", + None = "None" +} + +// @public +export enum KnownSourceType { + // (undocumented) + Dataset = "Dataset", + // (undocumented) + Datastore = "Datastore", + // (undocumented) + URI = "URI" +} + +// @public +export enum KnownSparkJobEntryType { + // (undocumented) + SparkJobPythonEntry = "SparkJobPythonEntry", + // (undocumented) + SparkJobScalaEntry = "SparkJobScalaEntry" +} + +// @public +export enum KnownSshPublicAccess { + // (undocumented) + Disabled = "Disabled", + // (undocumented) + Enabled = "Enabled" +} + +// @public +export enum KnownSslConfigStatus { + // (undocumented) + Auto = "Auto", + // (undocumented) + Disabled = "Disabled", + // (undocumented) + Enabled = "Enabled" +} + +// @public +export enum KnownStackMetaLearnerType { + ElasticNet = "ElasticNet", + ElasticNetCV = "ElasticNetCV", + // (undocumented) + LightGBMClassifier = "LightGBMClassifier", + // (undocumented) + LightGBMRegressor = "LightGBMRegressor", + // (undocumented) + LinearRegression = "LinearRegression", + LogisticRegression = "LogisticRegression", + LogisticRegressionCV = "LogisticRegressionCV", + // (undocumented) + None = "None" +} + +// @public +export enum KnownStatus { + // (undocumented) + Failure = "Failure", + // (undocumented) + InvalidQuotaBelowClusterMinimum = "InvalidQuotaBelowClusterMinimum", + // (undocumented) + InvalidQuotaExceedsSubscriptionLimit = "InvalidQuotaExceedsSubscriptionLimit", + // (undocumented) + InvalidVMFamilyName = "InvalidVMFamilyName", + // (undocumented) + OperationNotEnabledForRegion = "OperationNotEnabledForRegion", + // (undocumented) + OperationNotSupportedForSku = "OperationNotSupportedForSku", + // (undocumented) + Success = "Success", + // (undocumented) + Undefined = "Undefined" +} + +// @public +export enum KnownStatusMessageLevel { + // (undocumented) + Error = "Error", + // (undocumented) + Information = "Information", + // (undocumented) + Warning = "Warning" +} + +// @public +export enum KnownStochasticOptimizer { + Adam = "Adam", + Adamw = "Adamw", + None = "None", + Sgd = "Sgd" +} + +// @public +export enum KnownStorageAccountType { + // (undocumented) + PremiumLRS = "Premium_LRS", + // (undocumented) + StandardLRS = "Standard_LRS" +} + +// @public +export enum KnownTargetAggregationFunction { + // (undocumented) + Max = "Max", + // (undocumented) + Mean = "Mean", + // (undocumented) + Min = "Min", + None = "None", + // (undocumented) + Sum = "Sum" +} + +// @public +export enum KnownTargetLagsMode { + Auto = "Auto", + Custom = "Custom" +} + +// @public +export enum KnownTargetRollingWindowSizeMode { + Auto = "Auto", + Custom = "Custom" +} + +// @public +export enum KnownTaskType { + Classification = "Classification", + Forecasting = "Forecasting", + ImageClassification = "ImageClassification", + ImageClassificationMultilabel = "ImageClassificationMultilabel", + ImageInstanceSegmentation = "ImageInstanceSegmentation", + ImageObjectDetection = "ImageObjectDetection", + Regression = "Regression", + TextClassification = "TextClassification", + TextClassificationMultilabel = "TextClassificationMultilabel", + TextNER = "TextNER" +} + +// @public +export enum KnownTextAnnotationType { + // (undocumented) + Classification = "Classification", + // (undocumented) + NamedEntityRecognition = "NamedEntityRecognition" +} + +// @public +export enum KnownTriggerType { + // (undocumented) + Cron = "Cron", + // (undocumented) + Recurrence = "Recurrence" +} + +// @public +export enum KnownUnderlyingResourceAction { + // (undocumented) + Delete = "Delete", + // (undocumented) + Detach = "Detach" +} + +// @public +export enum KnownUnitOfMeasure { + // (undocumented) + OneHour = "OneHour" +} + +// @public +export enum KnownUsageUnit { + // (undocumented) + Count = "Count" +} + +// @public +export enum KnownUseStl { + None = "None", + // (undocumented) + Season = "Season", + // (undocumented) + SeasonTrend = "SeasonTrend" +} + +// @public +export enum KnownValidationMetricType { + Coco = "Coco", + CocoVoc = "CocoVoc", + None = "None", + Voc = "Voc" +} + +// @public +export enum KnownValueFormat { + // (undocumented) + Json = "JSON" +} + +// @public +export enum KnownVMPriceOSType { + // (undocumented) + Linux = "Linux", + // (undocumented) + Windows = "Windows" +} + +// @public +export enum KnownVmPriority { + // (undocumented) + Dedicated = "Dedicated", + // (undocumented) + LowPriority = "LowPriority" +} + +// @public +export enum KnownVMTier { + // (undocumented) + LowPriority = "LowPriority", + // (undocumented) + Spot = "Spot", + // (undocumented) + Standard = "Standard" +} + +// @public +export enum KnownVolumeDefinitionType { + // (undocumented) + Bind = "bind", + // (undocumented) + Npipe = "npipe", + // (undocumented) + Tmpfs = "tmpfs", + // (undocumented) + Volume = "volume" +} + +// @public +export enum KnownWeekDay { + Friday = "Friday", + Monday = "Monday", + Saturday = "Saturday", + Sunday = "Sunday", + Thursday = "Thursday", + Tuesday = "Tuesday", + Wednesday = "Wednesday" +} + +// @public +export type Kubernetes = Compute & KubernetesSchema & { + computeType: "Kubernetes"; +}; + +// @public +export type KubernetesOnlineDeployment = OnlineDeploymentProperties & { + containerResourceRequirements?: ContainerResourceRequirements; +}; + +// @public +export interface KubernetesProperties { + defaultInstanceType?: string; + extensionInstanceReleaseTrain?: string; + extensionPrincipalId?: string; + instanceTypes?: { + [propertyName: string]: InstanceTypeSchema; + }; + namespace?: string; + relayConnectionString?: string; + serviceBusConnectionString?: string; + vcName?: string; +} + +// @public +export interface KubernetesSchema { + properties?: KubernetesProperties; } // @public -export enum KnownPublicNetworkAccess { - Disabled = "Disabled", - Enabled = "Enabled" +export interface LabelCategory { + classes?: { + [propertyName: string]: LabelClass | null; + }; + displayName?: string; + multiSelectEnabled?: boolean; } // @public -export enum KnownQuotaUnit { - Count = "Count" +export interface LabelClass { + displayName?: string; + subclasses?: { + [propertyName: string]: LabelClass | null; + }; } // @public -export enum KnownRandomSamplingAlgorithmRule { - Random = "Random", - Sobol = "Sobol" +export interface LabelingDataConfiguration { + dataId?: string; + incrementalDataRefreshEnabled?: boolean; } // @public -export enum KnownReferenceType { - DataPath = "DataPath", - Id = "Id", - OutputPath = "OutputPath" -} +export type LabelingJob = Resource & { + properties: LabelingJobProperties; +}; // @public -export enum KnownRemoteLoginPortPublicAccess { - Disabled = "Disabled", - Enabled = "Enabled", - NotSpecified = "NotSpecified" -} +export type LabelingJobImageProperties = LabelingJobMediaProperties & { + mediaType: "Image"; + annotationType?: ImageAnnotationType; +}; // @public -export enum KnownSamplingAlgorithmType { - Bayesian = "Bayesian", - Grid = "Grid", - Random = "Random" +export interface LabelingJobInstructions { + uri?: string; } // @public -export enum KnownScaleType { - Default = "Default", - TargetUtilization = "TargetUtilization" +export interface LabelingJobMediaProperties { + mediaType: "Image" | "Text"; } +// @public (undocumented) +export type LabelingJobMediaPropertiesUnion = LabelingJobMediaProperties | LabelingJobImageProperties | LabelingJobTextProperties; + // @public -export enum KnownScheduleProvisioningState { - Completed = "Completed", - Failed = "Failed", - Provisioning = "Provisioning" -} +export type LabelingJobProperties = JobBaseProperties & { + readonly createdDateTime?: Date; + dataConfiguration?: LabelingDataConfiguration; + jobInstructions?: LabelingJobInstructions; + labelCategories?: { + [propertyName: string]: LabelCategory | null; + }; + labelingJobMediaProperties?: LabelingJobMediaPropertiesUnion; + mlAssistConfiguration?: MLAssistConfigurationUnion; + readonly progressMetrics?: ProgressMetrics; + readonly projectId?: string; + readonly provisioningState?: JobProvisioningState; + readonly statusMessages?: StatusMessage[]; +}; // @public -export enum KnownScheduleStatus { - Disabled = "Disabled", - Enabled = "Enabled" +export interface LabelingJobResourceArmPaginatedResult { + nextLink?: string; + value?: LabelingJob[]; } // @public -export enum KnownSecretsType { - AccountKey = "AccountKey", - Certificate = "Certificate", - Sas = "Sas", - ServicePrincipal = "ServicePrincipal" +export interface LabelingJobs { + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, id: string, body: LabelingJob, options?: LabelingJobsCreateOrUpdateOptionalParams): Promise, LabelingJobsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, id: string, body: LabelingJob, options?: LabelingJobsCreateOrUpdateOptionalParams): Promise; + beginExportLabels(resourceGroupName: string, workspaceName: string, id: string, body: ExportSummaryUnion, options?: LabelingJobsExportLabelsOptionalParams): Promise, LabelingJobsExportLabelsResponse>>; + beginExportLabelsAndWait(resourceGroupName: string, workspaceName: string, id: string, body: ExportSummaryUnion, options?: LabelingJobsExportLabelsOptionalParams): Promise; + beginResume(resourceGroupName: string, workspaceName: string, id: string, options?: LabelingJobsResumeOptionalParams): Promise, void>>; + beginResumeAndWait(resourceGroupName: string, workspaceName: string, id: string, options?: LabelingJobsResumeOptionalParams): Promise; + delete(resourceGroupName: string, workspaceName: string, id: string, options?: LabelingJobsDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, id: string, options?: LabelingJobsGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: LabelingJobsListOptionalParams): PagedAsyncIterableIterator; + pause(resourceGroupName: string, workspaceName: string, id: string, options?: LabelingJobsPauseOptionalParams): Promise; } // @public -export enum KnownServiceDataAccessAuthIdentity { - None = "None", - WorkspaceSystemAssignedIdentity = "WorkspaceSystemAssignedIdentity", - WorkspaceUserAssignedIdentity = "WorkspaceUserAssignedIdentity" +export interface LabelingJobsCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } // @public -export enum KnownSkuScaleType { - Automatic = "Automatic", - Manual = "Manual", - None = "None" +export interface LabelingJobsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export enum KnownSourceType { - Dataset = "Dataset", - Datastore = "Datastore", - URI = "URI" -} +export type LabelingJobsCreateOrUpdateResponse = LabelingJob; // @public -export enum KnownSshPublicAccess { - Disabled = "Disabled", - Enabled = "Enabled" +export interface LabelingJobsDeleteOptionalParams extends coreClient.OperationOptions { } // @public -export enum KnownSslConfigStatus { - Auto = "Auto", - Disabled = "Disabled", - Enabled = "Enabled" +export interface LabelingJobsExportLabelsHeaders { + location?: string; + retryAfter?: number; } // @public -export enum KnownStatus { - Failure = "Failure", - InvalidQuotaBelowClusterMinimum = "InvalidQuotaBelowClusterMinimum", - InvalidQuotaExceedsSubscriptionLimit = "InvalidQuotaExceedsSubscriptionLimit", - InvalidVMFamilyName = "InvalidVMFamilyName", - OperationNotEnabledForRegion = "OperationNotEnabledForRegion", - OperationNotSupportedForSku = "OperationNotSupportedForSku", - Success = "Success", - Undefined = "Undefined" +export interface LabelingJobsExportLabelsOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export enum KnownStorageAccountType { - PremiumLRS = "Premium_LRS", - StandardLRS = "Standard_LRS" -} +export type LabelingJobsExportLabelsResponse = ExportSummaryUnion; // @public -export enum KnownUnderlyingResourceAction { - Delete = "Delete", - Detach = "Detach" +export interface LabelingJobsGetOptionalParams extends coreClient.OperationOptions { + includeJobInstructions?: boolean; + includeLabelCategories?: boolean; } // @public -export enum KnownUnitOfMeasure { - OneHour = "OneHour" -} +export type LabelingJobsGetResponse = LabelingJob; // @public -export enum KnownUsageUnit { - Count = "Count" +export interface LabelingJobsListNextOptionalParams extends coreClient.OperationOptions { + count?: number; + skip?: string; } // @public -export enum KnownValueFormat { - Json = "JSON" -} +export type LabelingJobsListNextResponse = LabelingJobResourceArmPaginatedResult; // @public -export enum KnownVMPriceOSType { - Linux = "Linux", - Windows = "Windows" +export interface LabelingJobsListOptionalParams extends coreClient.OperationOptions { + count?: number; + skip?: string; } // @public -export enum KnownVmPriority { - Dedicated = "Dedicated", - LowPriority = "LowPriority" -} +export type LabelingJobsListResponse = LabelingJobResourceArmPaginatedResult; // @public -export enum KnownVMTier { - LowPriority = "LowPriority", - Spot = "Spot", - Standard = "Standard" +export interface LabelingJobsPauseOptionalParams extends coreClient.OperationOptions { } // @public -export interface Kubernetes extends Compute, KubernetesSchema { - computeType: "Kubernetes"; +export interface LabelingJobsResumeHeaders { + location?: string; + retryAfter?: number; } // @public -export interface KubernetesOnlineDeployment extends OnlineDeploymentProperties { - containerResourceRequirements?: ContainerResourceRequirements; +export interface LabelingJobsResumeOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export interface KubernetesProperties { - defaultInstanceType?: string; - extensionInstanceReleaseTrain?: string; - extensionPrincipalId?: string; - instanceTypes?: { - [propertyName: string]: InstanceTypeSchema; - }; - namespace?: string; - relayConnectionString?: string; - serviceBusConnectionString?: string; - vcName?: string; -} +export type LabelingJobTextProperties = LabelingJobMediaProperties & { + mediaType: "Text"; + annotationType?: TextAnnotationType; +}; // @public -export interface KubernetesSchema { - properties?: KubernetesProperties; -} +export type LearningRateScheduler = string; // @public export interface ListAmlUserFeatureResult { @@ -2787,32 +4226,33 @@ export interface ListWorkspaceQuotas { } // @public -export interface LiteralJobInput extends JobInput { +export type LiteralJobInput = JobInput & { jobInputType: "literal"; value: string; -} +}; // @public export type LoadBalancerType = string; // @public -export interface ManagedIdentity extends IdentityConfiguration { - clientId?: string; +export type LogVerbosity = string; + +// @public +export type ManagedIdentity = IdentityConfiguration & { identityType: "Managed"; + clientId?: string; objectId?: string; resourceId?: string; -} +}; // @public (undocumented) -export interface ManagedIdentityAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { +export type ManagedIdentityAuthTypeWorkspaceConnectionProperties = WorkspaceConnectionPropertiesV2 & { authType: "ManagedIdentity"; - // (undocumented) credentials?: WorkspaceConnectionManagedIdentity; -} +}; // @public -export interface ManagedOnlineDeployment extends OnlineDeploymentProperties { -} +export type ManagedOnlineDeployment = OnlineDeploymentProperties & {}; // @public export interface ManagedServiceIdentity { @@ -2828,39 +4268,60 @@ export interface ManagedServiceIdentity { export type ManagedServiceIdentityType = string; // @public -export interface MedianStoppingPolicy extends EarlyTerminationPolicy { +export type MedianStoppingPolicy = EarlyTerminationPolicy & { policyType: "MedianStopping"; +}; + +// @public +export type MediaType = string; + +// @public +export interface MLAssistConfiguration { + mlAssist: "Disabled" | "Enabled"; } +// @public +export type MLAssistConfigurationDisabled = MLAssistConfiguration & { + mlAssist: "Disabled"; +}; + +// @public +export type MLAssistConfigurationEnabled = MLAssistConfiguration & { + mlAssist: "Enabled"; + inferencingComputeBinding: string; + trainingComputeBinding: string; +}; + +// @public +export type MLAssistConfigurationType = string; + // @public (undocumented) -export interface MLFlowModelJobInput extends AssetJobInput, JobInput { -} +export type MLAssistConfigurationUnion = MLAssistConfiguration | MLAssistConfigurationDisabled | MLAssistConfigurationEnabled; // @public (undocumented) -export interface MLFlowModelJobOutput extends AssetJobOutput, JobOutput { -} +export type MLFlowModelJobInput = AssetJobInput & JobInput & {}; + +// @public (undocumented) +export type MLFlowModelJobOutput = AssetJobOutput & JobOutput & {}; // @public -export interface MLTableData extends DataVersionBaseProperties { +export type MLTableData = DataVersionBaseProperties & { referencedUris?: string[]; -} +}; // @public (undocumented) -export interface MLTableJobInput extends AssetJobInput, JobInput { -} +export type MLTableJobInput = AssetJobInput & JobInput & {}; // @public (undocumented) -export interface MLTableJobOutput extends AssetJobOutput, JobOutput { -} +export type MLTableJobOutput = AssetJobOutput & JobOutput & {}; // @public -export interface ModelContainer extends Resource { +export type ModelContainer = Resource & { properties: ModelContainerProperties; -} +}; // @public (undocumented) -export interface ModelContainerProperties extends AssetContainer { -} +export type ModelContainerProperties = AssetContainer & {}; // @public export interface ModelContainerResourceArmPaginatedResult { @@ -2915,19 +4376,22 @@ export interface ModelContainersListOptionalParams extends coreClient.OperationO export type ModelContainersListResponse = ModelContainerResourceArmPaginatedResult; // @public -export interface ModelVersion extends Resource { +export type ModelSize = string; + +// @public +export type ModelVersion = Resource & { properties: ModelVersionProperties; -} +}; // @public -export interface ModelVersionProperties extends AssetBase { +export type ModelVersionProperties = AssetBase & { flavors?: { [propertyName: string]: FlavorData | null; }; jobName?: string; modelType?: string; modelUri?: string; -} +}; // @public export interface ModelVersionResourceArmPaginatedResult { @@ -3002,14 +4466,42 @@ export type MountAction = string; export type MountState = string; // @public -export interface Mpi extends DistributionConfiguration { +export type Mpi = DistributionConfiguration & { distributionType: "Mpi"; processCountPerInstance?: number; +}; + +// @public +export interface NCrossValidations { + mode: "Auto" | "Custom"; } +// @public +export type NCrossValidationsMode = string; + +// @public (undocumented) +export type NCrossValidationsUnion = NCrossValidations | AutoNCrossValidations | CustomNCrossValidations; + // @public export type Network = string; +// @public +export interface NlpVertical { + featurizationSettings?: NlpVerticalFeaturizationSettings; + limitSettings?: NlpVerticalLimitSettings; + validationData?: MLTableJobInput; +} + +// @public (undocumented) +export type NlpVerticalFeaturizationSettings = FeaturizationSettings & {}; + +// @public +export interface NlpVerticalLimitSettings { + maxConcurrentTrials?: number; + maxTrials?: number; + timeout?: string; +} + // @public export type NodeState = string; @@ -3024,14 +4516,14 @@ export interface NodeStateCounts { } // @public (undocumented) -export interface NoneAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { +export type NoneAuthTypeWorkspaceConnectionProperties = WorkspaceConnectionPropertiesV2 & { authType: "None"; -} +}; // @public -export interface NoneDatastoreCredentials extends DatastoreCredentials { +export type NoneDatastoreCredentials = DatastoreCredentials & { credentialsType: "None"; -} +}; // @public (undocumented) export interface NotebookAccessTokenResult { @@ -3061,6 +4553,9 @@ export interface NotebookResourceInfo { resourceId?: string; } +// @public +export type ObjectDetectionPrimaryMetrics = string; + // @public export interface Objective { goal: Goal; @@ -3068,16 +4563,17 @@ export interface Objective { } // @public (undocumented) -export interface OnlineDeployment extends TrackedResource { +export type OnlineDeployment = TrackedResource & { identity?: ManagedServiceIdentity; kind?: string; properties: OnlineDeploymentPropertiesUnion; sku?: Sku; -} +}; // @public (undocumented) -export interface OnlineDeploymentProperties extends EndpointDeploymentPropertiesBase { +export type OnlineDeploymentProperties = EndpointDeploymentPropertiesBase & { appInsightsEnabled?: boolean; + egressPublicNetworkAccess?: EgressPublicNetworkAccessType; endpointComputeType: EndpointComputeType; instanceType?: string; livenessProbe?: ProbeSettings; @@ -3087,7 +4583,7 @@ export interface OnlineDeploymentProperties extends EndpointDeploymentProperties readinessProbe?: ProbeSettings; requestSettings?: OnlineRequestSettings; scaleSettings?: OnlineScaleSettingsUnion; -} +}; // @public (undocumented) export type OnlineDeploymentPropertiesUnion = OnlineDeploymentProperties | KubernetesOnlineDeployment | ManagedOnlineDeployment; @@ -3209,21 +4705,25 @@ export interface OnlineDeploymentTrackedResourceArmPaginatedResult { } // @public (undocumented) -export interface OnlineEndpoint extends TrackedResource { +export type OnlineEndpoint = TrackedResource & { identity?: ManagedServiceIdentity; kind?: string; properties: OnlineEndpointProperties; sku?: Sku; -} +}; // @public -export interface OnlineEndpointProperties extends EndpointPropertiesBase { +export type OnlineEndpointProperties = EndpointPropertiesBase & { compute?: string; + mirrorTraffic?: { + [propertyName: string]: number; + }; readonly provisioningState?: EndpointProvisioningState; + publicNetworkAccess?: PublicNetworkAccessType; traffic?: { [propertyName: string]: number; }; -} +}; // @public export interface OnlineEndpoints { @@ -3401,11 +4901,11 @@ export type OsType = string; export type OutputDeliveryMode = string; // @public -export interface OutputPathAssetReference extends AssetReferenceBase { +export type OutputPathAssetReference = AssetReferenceBase & { + referenceType: "OutputPath"; jobId?: string; path?: string; - referenceType: "OutputPath"; -} +}; // @public export interface PaginatedComputeResourcesList { @@ -3442,14 +4942,14 @@ export interface PartialMinimalTrackedResource { } // @public -export interface PartialMinimalTrackedResourceWithIdentity extends PartialMinimalTrackedResource { +export type PartialMinimalTrackedResourceWithIdentity = PartialMinimalTrackedResource & { identity?: PartialManagedServiceIdentity; -} +}; // @public -export interface PartialMinimalTrackedResourceWithSku extends PartialMinimalTrackedResource { +export type PartialMinimalTrackedResourceWithSku = PartialMinimalTrackedResource & { sku?: PartialSku; -} +}; // @public export interface PartialSku { @@ -3467,11 +4967,10 @@ export interface Password { } // @public (undocumented) -export interface PATAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { +export type PATAuthTypeWorkspaceConnectionProperties = WorkspaceConnectionPropertiesV2 & { authType: "PAT"; - // (undocumented) credentials?: WorkspaceConnectionPersonalAccessToken; -} +}; // @public export interface PersonalComputeInstanceSettings { @@ -3479,7 +4978,7 @@ export interface PersonalComputeInstanceSettings { } // @public -export interface PipelineJob extends JobBaseProperties { +export type PipelineJob = JobBaseProperties & { inputs?: { [propertyName: string]: JobInputUnion | null; }; @@ -3490,7 +4989,8 @@ export interface PipelineJob extends JobBaseProperties { [propertyName: string]: JobOutputUnion | null; }; settings?: Record; -} + sourceJobId?: string; +}; // @public export interface PrivateEndpoint { @@ -3499,17 +4999,17 @@ export interface PrivateEndpoint { } // @public -export interface PrivateEndpointConnection extends Resource { +export type PrivateEndpointConnection = Resource & { identity?: ManagedServiceIdentity; location?: string; - privateEndpoint?: PrivateEndpoint; - privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; - readonly provisioningState?: PrivateEndpointConnectionProvisioningState; - sku?: Sku; tags?: { [propertyName: string]: string; }; -} + sku?: Sku; + privateEndpoint?: PrivateEndpoint; + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; + readonly provisioningState?: PrivateEndpointConnectionProvisioningState; +}; // @public export interface PrivateEndpointConnectionListResult { @@ -3556,17 +5056,17 @@ export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionLi export type PrivateEndpointServiceConnectionStatus = string; // @public -export interface PrivateLinkResource extends Resource { - readonly groupId?: string; +export type PrivateLinkResource = Resource & { identity?: ManagedServiceIdentity; location?: string; - readonly requiredMembers?: string[]; - requiredZoneNames?: string[]; - sku?: Sku; tags?: { [propertyName: string]: string; }; -} + sku?: Sku; + readonly groupId?: string; + readonly requiredMembers?: string[]; + requiredZoneNames?: string[]; +}; // @public export interface PrivateLinkResourceListResult { @@ -3601,6 +5101,17 @@ export interface ProbeSettings { timeout?: string; } +// @public +export interface ProgressMetrics { + readonly completedDatapointCount?: number; + readonly incrementalDataLastRefreshDateTime?: Date; + readonly skippedDatapointCount?: number; + readonly totalDatapointCount?: number; +} + +// @public +export type Protocol = string; + // @public export type ProvisioningState = string; @@ -3611,10 +5122,13 @@ export type ProvisioningStatus = string; export type PublicNetworkAccess = string; // @public -export interface PyTorch extends DistributionConfiguration { +export type PublicNetworkAccessType = string; + +// @public +export type PyTorch = DistributionConfiguration & { distributionType: "PyTorch"; processCountPerInstance?: number; -} +}; // @public export interface QuotaBaseProperties { @@ -3661,15 +5175,33 @@ export interface QuotaUpdateParameters { } // @public -export interface RandomSamplingAlgorithm extends SamplingAlgorithm { - rule?: RandomSamplingAlgorithmRule; +export type RandomSamplingAlgorithm = SamplingAlgorithm & { samplingAlgorithmType: "Random"; + rule?: RandomSamplingAlgorithmRule; seed?: number; -} +}; // @public export type RandomSamplingAlgorithmRule = string; +// @public +export type RecurrenceFrequency = string; + +// @public (undocumented) +export interface RecurrenceSchedule { + hours: number[]; + minutes: number[]; + weekDays?: WeekDay[]; +} + +// @public (undocumented) +export type RecurrenceTrigger = TriggerBase & { + triggerType: "Recurrence"; + frequency: RecurrenceFrequency; + interval: number; + schedule: RecurrenceSchedule; +}; + // @public export type ReferenceType = string; @@ -3687,6 +5219,24 @@ export interface RegistryListCredentialsResult { readonly username?: string; } +// @public +export type Regression = TableVertical & AutoMLVertical & { + primaryMetric?: RegressionPrimaryMetrics; + trainingSettings?: RegressionTrainingSettings; +}; + +// @public +export type RegressionModels = string; + +// @public +export type RegressionPrimaryMetrics = string; + +// @public +export type RegressionTrainingSettings = TrainingSettings & { + allowedTrainingAlgorithms?: RegressionModels[]; + blockedTrainingAlgorithms?: RegressionModels[]; +}; + // @public export type RemoteLoginPortPublicAccess = string; @@ -3757,23 +5307,22 @@ export type SamplingAlgorithmType = string; export type SamplingAlgorithmUnion = SamplingAlgorithm | BayesianSamplingAlgorithm | GridSamplingAlgorithm | RandomSamplingAlgorithm; // @public (undocumented) -export interface SASAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { +export type SASAuthTypeWorkspaceConnectionProperties = WorkspaceConnectionPropertiesV2 & { authType: "SAS"; - // (undocumented) credentials?: WorkspaceConnectionSharedAccessSignature; -} +}; // @public -export interface SasDatastoreCredentials extends DatastoreCredentials { +export type SasDatastoreCredentials = DatastoreCredentials & { credentialsType: "Sas"; secrets: SasDatastoreSecrets; -} +}; // @public -export interface SasDatastoreSecrets extends DatastoreSecrets { - sasToken?: string; +export type SasDatastoreSecrets = DatastoreSecrets & { secretsType: "Sas"; -} + sasToken?: string; +}; // @public export interface ScaleSettings { @@ -3790,6 +5339,22 @@ export interface ScaleSettingsInformation { // @public export type ScaleType = string; +// @public +export type Schedule = Resource & { + properties: ScheduleProperties; +}; + +// @public (undocumented) +export interface ScheduleActionBase { + actionType: "InvokeBatchEndpoint" | "CreateJob"; +} + +// @public (undocumented) +export type ScheduleActionBaseUnion = ScheduleActionBase | EndpointScheduleAction | JobScheduleAction; + +// @public +export type ScheduleActionType = string; + // @public (undocumented) export interface ScheduleBase { // (undocumented) @@ -3800,9 +5365,88 @@ export interface ScheduleBase { status?: ScheduleStatus; } +// @public +export type ScheduleProperties = ResourceBase & { + action: ScheduleActionBaseUnion; + displayName?: string; + isEnabled?: boolean; + readonly provisioningState?: ScheduleProvisioningStatus; + trigger: TriggerBaseUnion; +}; + // @public export type ScheduleProvisioningState = string; +// @public +export type ScheduleProvisioningStatus = string; + +// @public +export interface ScheduleResourceArmPaginatedResult { + nextLink?: string; + value?: Schedule[]; +} + +// @public +export interface Schedules { + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, name: string, body: Schedule, options?: SchedulesCreateOrUpdateOptionalParams): Promise, SchedulesCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, name: string, body: Schedule, options?: SchedulesCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, name: string, options?: SchedulesDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, name: string, options?: SchedulesDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, name: string, options?: SchedulesGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: SchedulesListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface SchedulesCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; +} + +// @public +export interface SchedulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type SchedulesCreateOrUpdateResponse = Schedule; + +// @public +export interface SchedulesDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; +} + +// @public +export interface SchedulesDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export interface SchedulesGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type SchedulesGetResponse = Schedule; + +// @public +export interface SchedulesListNextOptionalParams extends coreClient.OperationOptions { + skip?: string; +} + +// @public +export type SchedulesListNextResponse = ScheduleResourceArmPaginatedResult; + +// @public +export interface SchedulesListOptionalParams extends coreClient.OperationOptions { + skip?: string; +} + +// @public +export type SchedulesListResponse = ScheduleResourceArmPaginatedResult; + // @public export type ScheduleStatus = string; @@ -3820,6 +5464,17 @@ export interface ScriptsToExecute { startupScript?: ScriptReference; } +// @public +export interface Seasonality { + mode: "Auto" | "Custom"; +} + +// @public +export type SeasonalityMode = string; + +// @public (undocumented) +export type SeasonalityUnion = Seasonality | AutoSeasonality | CustomSeasonality; + // @public export type SecretsType = string; @@ -3832,20 +5487,20 @@ export interface ServiceManagedResourcesSettings { } // @public -export interface ServicePrincipalDatastoreCredentials extends DatastoreCredentials { +export type ServicePrincipalDatastoreCredentials = DatastoreCredentials & { + credentialsType: "ServicePrincipal"; authorityUrl?: string; clientId: string; - credentialsType: "ServicePrincipal"; resourceUrl?: string; secrets: ServicePrincipalDatastoreSecrets; tenantId: string; -} +}; // @public -export interface ServicePrincipalDatastoreSecrets extends DatastoreSecrets { - clientSecret?: string; +export type ServicePrincipalDatastoreSecrets = DatastoreSecrets & { secretsType: "ServicePrincipal"; -} + clientSecret?: string; +}; // @public export interface SetupScripts { @@ -3861,6 +5516,9 @@ export interface SharedPrivateLinkResource { status?: PrivateEndpointServiceConnectionStatus; } +// @public +export type ShortSeriesHandlingConfiguration = string; + // @public export interface Sku { capacity?: number; @@ -3906,6 +5564,57 @@ export type SkuTier = "Free" | "Basic" | "Standard" | "Premium"; // @public export type SourceType = string; +// @public +export type SparkJob = JobBaseProperties & { + archives?: string[]; + args?: string; + codeId: string; + conf?: { + [propertyName: string]: string | null; + }; + entry: SparkJobEntryUnion; + environmentId?: string; + files?: string[]; + inputs?: { + [propertyName: string]: JobInputUnion | null; + }; + jars?: string[]; + outputs?: { + [propertyName: string]: JobOutputUnion | null; + }; + pyFiles?: string[]; + resources?: SparkResourceConfiguration; +}; + +// @public +export interface SparkJobEntry { + sparkJobEntryType: "SparkJobPythonEntry" | "SparkJobPythonEntry"; +} + +// @public +export type SparkJobEntryType = string; + +// @public (undocumented) +export type SparkJobEntryUnion = SparkJobEntry | SparkJobPythonEntry | SparkJobScalaEntry; + +// @public (undocumented) +export type SparkJobPythonEntry = SparkJobEntry & { + sparkJobEntryType: "SparkJobPythonEntry"; + file: string; +}; + +// @public (undocumented) +export type SparkJobScalaEntry = SparkJobEntry & { + sparkJobEntryType: "SparkJobPythonEntry"; + className: string; +}; + +// @public (undocumented) +export interface SparkResourceConfiguration { + instanceType?: string; + runtimeVersion?: string; +} + // @public export type SshPublicAccess = string; @@ -3922,14 +5631,38 @@ export interface SslConfiguration { status?: SslConfigStatus; } +// @public +export interface StackEnsembleSettings { + stackMetaLearnerKWargs?: Record; + stackMetaLearnerTrainPercentage?: number; + stackMetaLearnerType?: StackMetaLearnerType; +} + +// @public +export type StackMetaLearnerType = string; + // @public export type Status = string; +// @public +export interface StatusMessage { + readonly code?: string; + readonly createdDateTime?: Date; + readonly level?: StatusMessageLevel; + readonly message?: string; +} + +// @public +export type StatusMessageLevel = string; + +// @public +export type StochasticOptimizer = string; + // @public export type StorageAccountType = string; // @public -export interface SweepJob extends JobBaseProperties { +export type SweepJob = JobBaseProperties & { earlyTermination?: EarlyTerminationPolicyUnion; inputs?: { [propertyName: string]: JobInputUnion | null; @@ -3942,22 +5675,21 @@ export interface SweepJob extends JobBaseProperties { samplingAlgorithm: SamplingAlgorithmUnion; searchSpace: Record; trial: TrialComponent; -} +}; // @public -export interface SweepJobLimits extends JobLimits { +export type SweepJobLimits = JobLimits & { jobLimitsType: "Sweep"; maxConcurrentTrials?: number; maxTotalTrials?: number; trialTimeout?: string; -} +}; // @public -export interface SynapseSpark extends Compute { +export type SynapseSpark = Compute & { computeType: "SynapseSpark"; - // (undocumented) properties?: SynapseSparkProperties; -} +}; // @public (undocumented) export interface SynapseSparkProperties { @@ -3990,28 +5722,127 @@ export interface SystemService { readonly version?: string; } +// @public +export interface TableVertical { + cvSplitColumnNames?: string[]; + featurizationSettings?: TableVerticalFeaturizationSettings; + limitSettings?: TableVerticalLimitSettings; + nCrossValidations?: NCrossValidationsUnion; + testData?: MLTableJobInput; + testDataSize?: number; + validationData?: MLTableJobInput; + validationDataSize?: number; + weightColumnName?: string; +} + +// @public +export type TableVerticalFeaturizationSettings = FeaturizationSettings & { + blockedTransformers?: BlockedTransformers[]; + columnNameAndTypes?: { + [propertyName: string]: string | null; + }; + enableDnnFeaturization?: boolean; + mode?: FeaturizationMode; + transformerParams?: { + [propertyName: string]: ColumnTransformer[] | null; + }; +}; + +// @public +export interface TableVerticalLimitSettings { + enableEarlyTermination?: boolean; + exitScore?: number; + maxConcurrentTrials?: number; + maxCoresPerTrial?: number; + maxTrials?: number; + timeout?: string; + trialTimeout?: string; +} + +// @public +export type TargetAggregationFunction = string; + +// @public +export interface TargetLags { + mode: "Auto" | "Custom"; +} + +// @public +export type TargetLagsMode = string; + +// @public (undocumented) +export type TargetLagsUnion = TargetLags | AutoTargetLags | CustomTargetLags; + +// @public +export interface TargetRollingWindowSize { + mode: "Auto" | "Custom"; +} + +// @public +export type TargetRollingWindowSizeMode = string; + +// @public (undocumented) +export type TargetRollingWindowSizeUnion = TargetRollingWindowSize | AutoTargetRollingWindowSize | CustomTargetRollingWindowSize; + // @public (undocumented) -export interface TargetUtilizationScaleSettings extends OnlineScaleSettings { +export type TargetUtilizationScaleSettings = OnlineScaleSettings & { + scaleType: "TargetUtilization"; maxInstances?: number; minInstances?: number; pollingInterval?: string; - scaleType: "TargetUtilization"; targetUtilizationPercentage?: number; -} +}; // @public -export interface TensorFlow extends DistributionConfiguration { +export type TaskType = string; + +// @public +export type TensorFlow = DistributionConfiguration & { distributionType: "TensorFlow"; parameterServerCount?: number; workerCount?: number; +}; + +// @public +export type TextAnnotationType = string; + +// @public +export type TextClassification = NlpVertical & AutoMLVertical & { + primaryMetric?: ClassificationPrimaryMetrics; +}; + +// @public +export type TextClassificationMultilabel = NlpVertical & AutoMLVertical & { + readonly primaryMetric?: ClassificationMultilabelPrimaryMetrics; +}; + +// @public +export type TextNer = NlpVertical & AutoMLVertical & { + readonly primaryMetric?: ClassificationPrimaryMetrics; +}; + +// @public (undocumented) +export interface TmpfsOptions { + size?: number; } // @public -export interface TrackedResource extends Resource { - location: string; +export type TrackedResource = Resource & { tags?: { [propertyName: string]: string; }; + location: string; +}; + +// @public +export interface TrainingSettings { + enableDnnTraining?: boolean; + enableModelExplainability?: boolean; + enableOnnxCompatibleModels?: boolean; + enableStackEnsemble?: boolean; + enableVoteEnsemble?: boolean; + ensembleModelDownloadTimeout?: string; + stackEnsembleSettings?: StackEnsembleSettings; } // @public @@ -4023,22 +5854,34 @@ export interface TrialComponent { environmentVariables?: { [propertyName: string]: string | null; }; - resources?: ResourceConfiguration; + resources?: JobResourceConfiguration; } // @public (undocumented) -export interface TritonModelJobInput extends AssetJobInput, JobInput { +export interface TriggerBase { + endTime?: string; + startTime?: string; + timeZone?: string; + triggerType: "Cron" | "Recurrence"; } // @public (undocumented) -export interface TritonModelJobOutput extends AssetJobOutput, JobOutput { -} +export type TriggerBaseUnion = TriggerBase | CronTrigger | RecurrenceTrigger; + +// @public +export type TriggerType = string; + +// @public (undocumented) +export type TritonModelJobInput = AssetJobInput & JobInput & {}; + +// @public (undocumented) +export type TritonModelJobOutput = AssetJobOutput & JobOutput & {}; // @public -export interface TruncationSelectionPolicy extends EarlyTerminationPolicy { +export type TruncationSelectionPolicy = EarlyTerminationPolicy & { policyType: "TruncationSelection"; truncationPercentage?: number; -} +}; // @public export type UnderlyingResourceAction = string; @@ -4062,28 +5905,22 @@ export interface UpdateWorkspaceQuotasResult { } // @public -export interface UriFileDataVersion extends DataVersionBaseProperties { -} +export type UriFileDataVersion = DataVersionBaseProperties & {}; // @public (undocumented) -export interface UriFileJobInput extends AssetJobInput, JobInput { -} +export type UriFileJobInput = AssetJobInput & JobInput & {}; // @public (undocumented) -export interface UriFileJobOutput extends AssetJobOutput, JobOutput { -} +export type UriFileJobOutput = AssetJobOutput & JobOutput & {}; // @public -export interface UriFolderDataVersion extends DataVersionBaseProperties { -} +export type UriFolderDataVersion = DataVersionBaseProperties & {}; // @public (undocumented) -export interface UriFolderJobInput extends AssetJobInput, JobInput { -} +export type UriFolderJobInput = AssetJobInput & JobInput & {}; // @public (undocumented) -export interface UriFolderJobOutput extends AssetJobOutput, JobOutput { -} +export type UriFolderJobOutput = AssetJobOutput & JobOutput & {}; // @public export interface Usage { @@ -4138,24 +5975,29 @@ export interface UserAssignedIdentity { } // @public -export interface UserIdentity extends IdentityConfiguration { +export type UserIdentity = IdentityConfiguration & { identityType: "UserIdentity"; -} +}; // @public (undocumented) -export interface UsernamePasswordAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { +export type UsernamePasswordAuthTypeWorkspaceConnectionProperties = WorkspaceConnectionPropertiesV2 & { authType: "UsernamePassword"; - // (undocumented) credentials?: WorkspaceConnectionUsernamePassword; -} +}; + +// @public +export type UseStl = string; + +// @public +export type ValidationMetricType = string; // @public export type ValueFormat = string; // @public -export interface VirtualMachine extends Compute, VirtualMachineSchema { +export type VirtualMachine = Compute & VirtualMachineSchema & { computeType: "VirtualMachine"; -} +}; // @public export interface VirtualMachineImage { @@ -4179,9 +6021,9 @@ export interface VirtualMachineSchemaProperties { } // @public -export interface VirtualMachineSecrets extends ComputeSecrets, VirtualMachineSecretsSchema { +export type VirtualMachineSecrets = ComputeSecrets & VirtualMachineSecretsSchema & { computeType: "VirtualMachine"; -} +}; // @public (undocumented) export interface VirtualMachineSecretsSchema { @@ -4237,40 +6079,63 @@ export type VmPriority = string; // @public export type VMTier = string; +// @public (undocumented) +export interface VolumeDefinition { + bind?: BindOptions; + consistency?: string; + readOnly?: boolean; + source?: string; + target?: string; + tmpfs?: TmpfsOptions; + type?: VolumeDefinitionType; + volume?: VolumeOptions; +} + // @public -export interface Workspace extends Resource { - allowPublicAccessWhenBehindVnet?: boolean; +export type VolumeDefinitionType = string; + +// @public (undocumented) +export interface VolumeOptions { + nocopy?: boolean; +} + +// @public +export type WeekDay = string; + +// @public +export type Workspace = Resource & { + identity?: ManagedServiceIdentity; + location?: string; + tags?: { + [propertyName: string]: string; + }; + sku?: Sku; + readonly workspaceId?: string; + description?: string; + friendlyName?: string; + keyVault?: string; applicationInsights?: string; containerRegistry?: string; - description?: string; + storageAccount?: string; discoveryUrl?: string; + readonly provisioningState?: ProvisioningState; encryption?: EncryptionProperty; - friendlyName?: string; hbiWorkspace?: boolean; - identity?: ManagedServiceIdentity; - imageBuildCompute?: string; - keyVault?: string; - location?: string; - readonly mlFlowTrackingUri?: string; - readonly notebookInfo?: NotebookResourceInfo; - primaryUserAssignedIdentity?: string; - readonly privateEndpointConnections?: PrivateEndpointConnection[]; + readonly serviceProvisionedResourceGroup?: string; readonly privateLinkCount?: number; - readonly provisioningState?: ProvisioningState; + imageBuildCompute?: string; + allowPublicAccessWhenBehindVnet?: boolean; publicNetworkAccess?: PublicNetworkAccess; - serviceManagedResourcesSettings?: ServiceManagedResourcesSettings; - readonly serviceProvisionedResourceGroup?: string; + readonly privateEndpointConnections?: PrivateEndpointConnection[]; sharedPrivateLinkResources?: SharedPrivateLinkResource[]; - sku?: Sku; - storageAccount?: string; - readonly storageHnsEnabled?: boolean; - tags?: { - [propertyName: string]: string; - }; + readonly notebookInfo?: NotebookResourceInfo; + serviceManagedResourcesSettings?: ServiceManagedResourcesSettings; + primaryUserAssignedIdentity?: string; readonly tenantId?: string; + readonly storageHnsEnabled?: boolean; + readonly mlFlowTrackingUri?: string; v1LegacyMode?: boolean; - readonly workspaceId?: string; -} +}; // @public (undocumented) export interface WorkspaceConnectionManagedIdentity { @@ -4297,10 +6162,9 @@ export interface WorkspaceConnectionPropertiesV2 { } // @public (undocumented) -export interface WorkspaceConnectionPropertiesV2BasicResource extends Resource { - // (undocumented) +export type WorkspaceConnectionPropertiesV2BasicResource = Resource & { properties: WorkspaceConnectionPropertiesV2Union; -} +}; // @public (undocumented) export interface WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult { @@ -4557,6 +6421,7 @@ export interface WorkspaceUpdateParameters { applicationInsights?: string; containerRegistry?: string; description?: string; + encryption?: EncryptionUpdateProperties; friendlyName?: string; identity?: ManagedServiceIdentity; imageBuildCompute?: string; diff --git a/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningWorkspaces.ts b/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningWorkspaces.ts index a889f368c426..78493d3ccdbf 100644 --- a/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningWorkspaces.ts +++ b/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningWorkspaces.ts @@ -36,10 +36,12 @@ import { EnvironmentContainersImpl, EnvironmentVersionsImpl, JobsImpl, + LabelingJobsImpl, ModelContainersImpl, ModelVersionsImpl, OnlineEndpointsImpl, OnlineDeploymentsImpl, + SchedulesImpl, WorkspaceFeaturesImpl } from "./operations"; import { @@ -64,10 +66,12 @@ import { EnvironmentContainers, EnvironmentVersions, Jobs, + LabelingJobs, ModelContainers, ModelVersions, OnlineEndpoints, OnlineDeployments, + Schedules, WorkspaceFeatures } from "./operationsInterfaces"; import { AzureMachineLearningWorkspacesOptionalParams } from "./models"; @@ -104,7 +108,7 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-machinelearning/1.0.0`; + const packageDetails = `azsdk-js-arm-machinelearning/1.1.0-beta.1`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -151,7 +155,7 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; - this.apiVersion = options.apiVersion || "2022-05-01"; + this.apiVersion = options.apiVersion || "2022-06-01-preview"; this.operations = new OperationsImpl(this); this.workspaces = new WorkspacesImpl(this); this.usages = new UsagesImpl(this); @@ -173,10 +177,12 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { this.environmentContainers = new EnvironmentContainersImpl(this); this.environmentVersions = new EnvironmentVersionsImpl(this); this.jobs = new JobsImpl(this); + this.labelingJobs = new LabelingJobsImpl(this); this.modelContainers = new ModelContainersImpl(this); this.modelVersions = new ModelVersionsImpl(this); this.onlineEndpoints = new OnlineEndpointsImpl(this); this.onlineDeployments = new OnlineDeploymentsImpl(this); + this.schedules = new SchedulesImpl(this); this.workspaceFeatures = new WorkspaceFeaturesImpl(this); this.addCustomApiVersionPolicy(options.apiVersion); } @@ -196,7 +202,7 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { if (param.length > 1) { const newParams = param[1].split("&").map((item) => { if (item.indexOf("api-version") > -1) { - return "api-version=" + apiVersion; + return item.replace(/(?<==).*$/, apiVersion); } else { return item; } @@ -230,9 +236,11 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { environmentContainers: EnvironmentContainers; environmentVersions: EnvironmentVersions; jobs: Jobs; + labelingJobs: LabelingJobs; modelContainers: ModelContainers; modelVersions: ModelVersions; onlineEndpoints: OnlineEndpoints; onlineDeployments: OnlineDeployments; + schedules: Schedules; workspaceFeatures: WorkspaceFeatures; } diff --git a/sdk/machinelearning/arm-machinelearning/src/models/index.ts b/sdk/machinelearning/arm-machinelearning/src/models/index.ts index b1a57cfcbeaf..8b6b05a943de 100644 --- a/sdk/machinelearning/arm-machinelearning/src/models/index.ts +++ b/sdk/machinelearning/arm-machinelearning/src/models/index.ts @@ -41,6 +41,8 @@ export type DatastoreCredentialsUnion = | DatastoreCredentials | AccountKeyDatastoreCredentials | CertificateDatastoreCredentials + | KerberosKeytabCredentials + | KerberosPasswordCredentials | NoneDatastoreCredentials | SasDatastoreCredentials | ServicePrincipalDatastoreCredentials; @@ -48,6 +50,8 @@ export type DatastoreSecretsUnion = | DatastoreSecrets | AccountKeyDatastoreSecrets | CertificateDatastoreSecrets + | KerberosKeytabSecrets + | KerberosPasswordSecrets | SasDatastoreSecrets | ServicePrincipalDatastoreSecrets; export type IdentityConfigurationUnion = @@ -55,10 +59,74 @@ export type IdentityConfigurationUnion = | AmlToken | ManagedIdentity | UserIdentity; +export type LabelingJobMediaPropertiesUnion = + | LabelingJobMediaProperties + | LabelingJobImageProperties + | LabelingJobTextProperties; +export type MLAssistConfigurationUnion = + | MLAssistConfiguration + | MLAssistConfigurationDisabled + | MLAssistConfigurationEnabled; +export type ExportSummaryUnion = + | ExportSummary + | CocoExportSummary + | CsvExportSummary + | DatasetExportSummary; export type OnlineScaleSettingsUnion = | OnlineScaleSettings | DefaultScaleSettings | TargetUtilizationScaleSettings; +export type ScheduleActionBaseUnion = + | ScheduleActionBase + | EndpointScheduleAction + | JobScheduleAction; +export type TriggerBaseUnion = TriggerBase | CronTrigger | RecurrenceTrigger; +export type ForecastHorizonUnion = + | ForecastHorizon + | AutoForecastHorizon + | CustomForecastHorizon; +export type JobOutputUnion = + | JobOutput + | CustomModelJobOutput + | MLFlowModelJobOutput + | MLTableJobOutput + | TritonModelJobOutput + | UriFileJobOutput + | UriFolderJobOutput; +export type AutoMLVerticalUnion = + | AutoMLVertical + | Classification + | Forecasting + | ImageClassification + | ImageClassificationMultilabel + | ImageInstanceSegmentation + | ImageObjectDetection + | Regression + | TextClassification + | TextClassificationMultilabel + | TextNer; +export type JobInputUnion = + | JobInput + | MLTableJobInput + | CustomModelJobInput + | MLFlowModelJobInput + | LiteralJobInput + | TritonModelJobInput + | UriFileJobInput + | UriFolderJobInput; +export type NCrossValidationsUnion = + | NCrossValidations + | AutoNCrossValidations + | CustomNCrossValidations; +export type SeasonalityUnion = + | Seasonality + | AutoSeasonality + | CustomSeasonality; +export type TargetLagsUnion = TargetLags | AutoTargetLags | CustomTargetLags; +export type TargetRollingWindowSizeUnion = + | TargetRollingWindowSize + | AutoTargetRollingWindowSize + | CustomTargetRollingWindowSize; export type EarlyTerminationPolicyUnion = | EarlyTerminationPolicy | BanditPolicy @@ -74,24 +142,11 @@ export type DistributionConfigurationUnion = | Mpi | PyTorch | TensorFlow; -export type JobInputUnion = - | JobInput - | CustomModelJobInput - | LiteralJobInput - | MLFlowModelJobInput - | MLTableJobInput - | TritonModelJobInput - | UriFileJobInput - | UriFolderJobInput; export type JobLimitsUnion = JobLimits | CommandJobLimits | SweepJobLimits; -export type JobOutputUnion = - | JobOutput - | CustomModelJobOutput - | MLFlowModelJobOutput - | MLTableJobOutput - | TritonModelJobOutput - | UriFileJobOutput - | UriFolderJobOutput; +export type SparkJobEntryUnion = + | SparkJobEntry + | SparkJobPythonEntry + | SparkJobScalaEntry; export type OnlineDeploymentPropertiesUnion = | OnlineDeploymentProperties | KubernetesOnlineDeployment @@ -101,11 +156,15 @@ export type DatastorePropertiesUnion = | AzureBlobDatastore | AzureDataLakeGen1Datastore | AzureDataLakeGen2Datastore - | AzureFileDatastore; + | AzureFileDatastore + | HdfsDatastore; export type JobBasePropertiesUnion = | JobBaseProperties + | LabelingJobProperties + | AutoMLJob | CommandJob | PipelineJob + | SparkJob | SweepJob; export type DataVersionBasePropertiesUnion = | DataVersionBaseProperties @@ -384,6 +443,18 @@ export interface WorkspaceUpdateParameters { applicationInsights?: string; /** ARM id of the container registry associated with this workspace. */ containerRegistry?: string; + /** The encryption settings of the workspace. */ + encryption?: EncryptionUpdateProperties; +} + +export interface EncryptionUpdateProperties { + /** Customer Key vault properties. */ + keyVaultProperties: EncryptionKeyVaultUpdateProperties; +} + +export interface EncryptionKeyVaultUpdateProperties { + /** Key Vault uri to access the encryption key. */ + keyIdentifier: string; } /** The result of a request to list machine learning workspaces. */ @@ -843,6 +914,100 @@ export interface ScaleSettings { nodeIdleTimeBeforeScaleDown?: string; } +/** Specifies the custom service configuration */ +export interface CustomService { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Name of the Custom Service */ + name?: string; + /** Describes the Image Specifications */ + image?: Image; + /** Environment Variable for the container */ + environmentVariables?: { [propertyName: string]: EnvironmentVariable }; + /** Describes the docker settings for the image */ + docker?: Docker; + /** Configuring the endpoints for the container */ + endpoints?: Endpoint[]; + /** Configuring the volumes for the container */ + volumes?: VolumeDefinition[]; +} + +export interface Image { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Type of the image. Possible values are: docker - For docker images. azureml - For AzureML images */ + type?: ImageType; + /** Image reference URL */ + reference?: string; +} + +export interface EnvironmentVariable { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Type of the Environment Variable. Possible values are: local - For local variable */ + type?: EnvironmentVariableType; + /** Value of the Environment variable */ + value?: string; +} + +export interface Docker { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Indicate whether container shall run in privileged or non-privileged mode. */ + privileged?: boolean; +} + +export interface Endpoint { + /** Protocol over which communication will happen over this endpoint */ + protocol?: Protocol; + /** Name of the Endpoint */ + name?: string; + /** Application port inside the container. */ + target?: number; + /** Port over which the application is exposed from container. */ + published?: number; + /** Host IP over which the application is exposed from the container */ + hostIp?: string; +} + +export interface VolumeDefinition { + /** Type of Volume Definition. Possible Values: bind,volume,tmpfs,npipe */ + type?: VolumeDefinitionType; + /** Indicate whether to mount volume as readOnly. Default value for this is false. */ + readOnly?: boolean; + /** Source of the mount. For bind mounts this is the host path. */ + source?: string; + /** Target of the mount. For bind mounts this is the path in the container. */ + target?: string; + /** Consistency of the volume */ + consistency?: string; + /** Bind Options of the mount */ + bind?: BindOptions; + /** Volume Options of the mount */ + volume?: VolumeOptions; + /** tmpfs option of the mount */ + tmpfs?: TmpfsOptions; +} + +export interface BindOptions { + /** Type of Bind Option */ + propagation?: string; + /** Indicate whether to create host path. */ + createHostPath?: boolean; + /** Mention the selinux options. */ + selinux?: string; +} + +export interface VolumeOptions { + /** Indicate whether volume is nocopy */ + nocopy?: boolean; +} + +export interface TmpfsOptions { + /** Mention the Tmpfs size */ + size?: number; +} + /** Result of AmlCompute Nodes */ export interface AmlComputeNodesInformation { /** @@ -916,6 +1081,12 @@ export interface ComputeSecrets { computeType: "AKS" | "VirtualMachine" | "Databricks"; } +/** Stops compute instance after user defined period of inactivity. */ +export interface IdleShutdownSetting { + /** Time is defined in ISO8601 format. Minimum is 15 min, maximum is 3 days. */ + idleTimeBeforeShutdown?: string; +} + /** List of private endpoint connection associated with the specified workspace */ export interface PrivateEndpointConnectionListResult { /** Array of private endpoint connections */ @@ -1074,7 +1245,7 @@ export interface EndpointDeploymentPropertiesBase { codeConfiguration?: CodeConfiguration; /** Description of the endpoint deployment. */ description?: string; - /** ARM resource ID or AssetId of the environment specification for the endpoint deployment. */ + /** ARM resource ID of the environment specification for the endpoint deployment. */ environmentId?: string; /** Environment variables configuration for the deployment. */ environmentVariables?: { [propertyName: string]: string | null }; @@ -1175,6 +1346,8 @@ export interface DatastoreCredentials { credentialsType: | "AccountKey" | "Certificate" + | "KerberosKeytab" + | "KerberosPassword" | "None" | "Sas" | "ServicePrincipal"; @@ -1183,7 +1356,13 @@ export interface DatastoreCredentials { /** Base definition for datastore secrets. */ export interface DatastoreSecrets { /** Polymorphic discriminator, which specifies the different types this object can be */ - secretsType: "AccountKey" | "Certificate" | "Sas" | "ServicePrincipal"; + secretsType: + | "AccountKey" + | "Certificate" + | "KerberosKeytab" + | "KerberosPassword" + | "Sas" + | "ServicePrincipal"; } /** A paginated list of EnvironmentContainer entities. */ @@ -1268,6 +1447,131 @@ export interface JobService { readonly status?: string; } +/** A paginated list of LabelingJob entities. */ +export interface LabelingJobResourceArmPaginatedResult { + /** The link to the next page of LabelingJob objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type LabelingJob. */ + value?: LabelingJob[]; +} + +/** Labeling data configuration definition */ +export interface LabelingDataConfiguration { + /** Resource Id of the data asset to perform labeling. */ + dataId?: string; + /** Indicates whether to enable incremental data refresh. */ + incrementalDataRefreshEnabled?: boolean; +} + +/** Instructions for labeling job */ +export interface LabelingJobInstructions { + /** The link to a page with detailed labeling instructions for labelers. */ + uri?: string; +} + +/** Label category definition */ +export interface LabelCategory { + /** Dictionary of label classes in this category. */ + classes?: { [propertyName: string]: LabelClass | null }; + /** Display name of the label category. */ + displayName?: string; + /** Indicates whether it is allowed to select multiple classes in this category. */ + multiSelectEnabled?: boolean; +} + +/** Label class definition */ +export interface LabelClass { + /** Display name of the label class. */ + displayName?: string; + /** Dictionary of subclasses of the label class. */ + subclasses?: { [propertyName: string]: LabelClass | null }; +} + +/** Properties of a labeling job */ +export interface LabelingJobMediaProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mediaType: "Image" | "Text"; +} + +/** Labeling MLAssist configuration definition */ +export interface MLAssistConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mlAssist: "Disabled" | "Enabled"; +} + +/** Progress metrics definition */ +export interface ProgressMetrics { + /** + * The completed datapoint count. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly completedDatapointCount?: number; + /** + * The time of last successful incremental data refresh in UTC. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly incrementalDataLastRefreshDateTime?: Date; + /** + * The skipped datapoint count. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly skippedDatapointCount?: number; + /** + * The total datapoint count. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly totalDatapointCount?: number; +} + +/** Active message associated with project */ +export interface StatusMessage { + /** + * Service-defined message code. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly code?: string; + /** + * Time in UTC at which the message was created. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly createdDateTime?: Date; + /** + * Severity level of message. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly level?: StatusMessageLevel; + /** + * A human-readable representation of the message code. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly message?: string; +} + +export interface ExportSummary { + /** Polymorphic discriminator, which specifies the different types this object can be */ + format: "Coco" | "CSV" | "Dataset"; + /** + * The time when the export was completed. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly endDateTime?: Date; + /** + * The total number of labeled datapoints exported. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly exportedRowCount?: number; + /** + * Name and identifier of the job containing exported labels. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly labelingJobId?: string; + /** + * The time when the export was requested. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly startDateTime?: Date; +} + /** A paginated list of ModelContainer entities. */ export interface ModelContainerResourceArmPaginatedResult { /** The link to the next page of ModelContainer objects. If null, there are no additional pages. */ @@ -1427,6 +1731,37 @@ export interface EndpointAuthToken { tokenType?: string; } +/** A paginated list of Schedule entities. */ +export interface ScheduleResourceArmPaginatedResult { + /** The link to the next page of Schedule objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type Schedule. */ + value?: Schedule[]; +} + +export interface ScheduleActionBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + actionType: "InvokeBatchEndpoint" | "CreateJob"; +} + +export interface TriggerBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + triggerType: "Cron" | "Recurrence"; + /** + * Specifies end time of schedule in ISO 8601, but without a UTC offset. Refer https://en.wikipedia.org/wiki/ISO_8601. + * Recommented format would be "2022-06-01T00:00:01" + * If not present, the schedule will run indefinitely + */ + endTime?: string; + /** Specifies start time of schedule in ISO 8601 format, but without a UTC offset. */ + startTime?: string; + /** + * Specifies time zone in which the schedule runs. + * TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11 + */ + timeZone?: string; +} + /** The List Aml user feature operation response. */ export interface ListAmlUserFeatureResult { /** @@ -1698,6 +2033,8 @@ export interface ComputeInstanceProperties { applicationSharingPolicy?: ApplicationSharingPolicy; /** Specifies policy and settings for SSH access. */ sshSettings?: ComputeInstanceSshSettings; + /** List of Custom Services added to the compute. */ + customServices?: CustomService[]; /** * Describes all connectivity endpoints available for this ComputeInstance. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1739,6 +2076,8 @@ export interface ComputeInstanceProperties { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly schedules?: ComputeSchedules; + /** Stops compute instance after user defined period of inactivity. Time is defined in ISO8601 format. Minimum is 15 min, maximum is 3 days. */ + idleTimeBeforeShutdown?: string; /** Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs. */ enableNodePublicIp?: boolean; /** @@ -2135,6 +2474,101 @@ export interface AssetJobOutput { uri?: string; } +/** The desired maximum forecast horizon in units of time-series frequency. */ +export interface ForecastHorizon { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto" | "Custom"; +} + +/** Job output definition container information on where to find job output/logs. */ +export interface JobOutput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobOutputType: + | "custom_model" + | "mlflow_model" + | "mltable" + | "triton_model" + | "uri_file" + | "uri_folder"; + /** Description for the output. */ + description?: string; +} + +/** + * AutoML vertical class. + * Base class for AutoML verticals - TableVertical/ImageVertical/NLPVertical + */ +export interface AutoMLVertical { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: + | "Classification" + | "Forecasting" + | "ImageClassification" + | "ImageClassificationMultilabel" + | "ImageInstanceSegmentation" + | "ImageObjectDetection" + | "Regression" + | "TextClassification" + | "TextClassificationMultilabel" + | "TextNER"; + /** Log verbosity for the job. */ + logVerbosity?: LogVerbosity; + /** + * Target column name: This is prediction values column. + * Also known as label column name in context of classification tasks. + */ + targetColumnName?: string; + /** [Required] Training data input. */ + trainingData: MLTableJobInput; +} + +/** Command job definition. */ +export interface JobInput { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobInputType: + | "mltable" + | "custom_model" + | "mlflow_model" + | "literal" + | "triton_model" + | "uri_file" + | "uri_folder"; + /** Description for the input. */ + description?: string; +} + +/** N-Cross validations value. */ +export interface NCrossValidations { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto" | "Custom"; +} + +/** Forecasting seasonality. */ +export interface Seasonality { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto" | "Custom"; +} + +/** The number of past periods to lag from the target column. */ +export interface TargetLags { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto" | "Custom"; +} + +/** Forecasting target rolling window size. */ +export interface TargetRollingWindowSize { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto" | "Custom"; +} + +/** Base definition for Azure datastore contents configuration. */ +export interface AzureDatastore { + /** Azure Resource Group name */ + resourceGroup?: string; + /** Azure Subscription Id */ + subscriptionId?: string; +} + /** Early termination policies enable canceling poor-performing runs before they complete */ export interface EarlyTerminationPolicy { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -2154,27 +2588,111 @@ export interface SamplingAlgorithm { samplingAlgorithmType: "Bayesian" | "Grid" | "Random"; } +/** Training related configuration. */ +export interface TrainingSettings { + /** Enable recommendation of DNN models. */ + enableDnnTraining?: boolean; + /** Flag to turn on explainability on best model. */ + enableModelExplainability?: boolean; + /** Flag for enabling onnx compatible models. */ + enableOnnxCompatibleModels?: boolean; + /** Enable stack ensemble run. */ + enableStackEnsemble?: boolean; + /** Enable voting ensemble run. */ + enableVoteEnsemble?: boolean; + /** + * During VotingEnsemble and StackEnsemble model generation, multiple fitted models from the previous child runs are downloaded. + * Configure this parameter with a higher value than 300 secs, if more time is needed. + */ + ensembleModelDownloadTimeout?: string; + /** Stack ensemble settings for stack ensemble run. */ + stackEnsembleSettings?: StackEnsembleSettings; +} + +/** Advances setting to customize StackEnsemble run. */ +export interface StackEnsembleSettings { + /** Optional parameters to pass to the initializer of the meta-learner. */ + stackMetaLearnerKWargs?: Record; + /** Specifies the proportion of the training set (when choosing train and validation type of training) to be reserved for training the meta-learner. Default value is 0.2. */ + stackMetaLearnerTrainPercentage?: number; + /** The meta-learner is a model trained on the output of the individual heterogeneous models. */ + stackMetaLearnerType?: StackMetaLearnerType; +} + +/** Abstract class for AutoML tasks that use table dataset as input - such as Classification/Regression/Forecasting. */ +export interface TableVertical { + /** Columns to use for CVSplit data. */ + cvSplitColumnNames?: string[]; + /** Featurization inputs needed for AutoML job. */ + featurizationSettings?: TableVerticalFeaturizationSettings; + /** Execution constraints for AutoMLJob. */ + limitSettings?: TableVerticalLimitSettings; + /** + * Number of cross validation folds to be applied on training dataset + * when validation dataset is not provided. + */ + nCrossValidations?: NCrossValidationsUnion; + /** Test data input. */ + testData?: MLTableJobInput; + /** + * The fraction of test dataset that needs to be set aside for validation purpose. + * Values between (0.0 , 1.0) + * Applied when validation dataset is not provided. + */ + testDataSize?: number; + /** Validation data inputs. */ + validationData?: MLTableJobInput; + /** + * The fraction of training dataset that needs to be set aside for validation purpose. + * Values between (0.0 , 1.0) + * Applied when validation dataset is not provided. + */ + validationDataSize?: number; + /** The name of the sample weight column. Automated ML supports a weighted column as an input, causing rows in the data to be weighted up or down. */ + weightColumnName?: string; +} + +/** Column transformer parameters. */ +export interface ColumnTransformer { + /** Fields to apply transformer logic on. */ + fields?: string[]; + /** + * Different properties to be passed to transformer. + * Input expected is dictionary of key,value pairs in JSON format. + */ + parameters?: Record; +} + +/** Featurization Configuration. */ +export interface FeaturizationSettings { + /** Dataset language, useful for the text data. */ + datasetLanguage?: string; +} + +/** Job execution constraints. */ +export interface TableVerticalLimitSettings { + /** Enable early termination, determines whether or not if AutoMLJob will terminate early if there is no score improvement in last 20 iterations. */ + enableEarlyTermination?: boolean; + /** Exit score for the AutoML job. */ + exitScore?: number; + /** Maximum Concurrent iterations. */ + maxConcurrentTrials?: number; + /** Max cores per iteration. */ + maxCoresPerTrial?: number; + /** Number of iterations. */ + maxTrials?: number; + /** AutoML job timeout. */ + timeout?: string; + /** Iteration timeout. */ + trialTimeout?: string; +} + /** Base definition for job distribution configuration. */ export interface DistributionConfiguration { /** Polymorphic discriminator, which specifies the different types this object can be */ distributionType: "Mpi" | "PyTorch" | "TensorFlow"; } -/** Command job definition. */ -export interface JobInput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: - | "custom_model" - | "literal" - | "mlflow_model" - | "mltable" - | "triton_model" - | "uri_file" - | "uri_folder"; - /** Description for the input. */ - description?: string; -} - export interface JobLimits { /** Polymorphic discriminator, which specifies the different types this object can be */ jobLimitsType: "Command" | "Sweep"; @@ -2182,20 +2700,6 @@ export interface JobLimits { timeout?: string; } -/** Job output definition container information on where to find job output/logs. */ -export interface JobOutput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobOutputType: - | "custom_model" - | "mlflow_model" - | "mltable" - | "triton_model" - | "uri_file" - | "uri_folder"; - /** Description for the output. */ - description?: string; -} - /** Resource requirements for each container instance within an online deployment. */ export interface ContainerResourceRequirements { /** Container resource limit info: */ @@ -2222,14 +2726,346 @@ export interface ContainerResourceSettings { memory?: string; } -/** Optimization objective. */ -export interface Objective { - /** [Required] Defines supported metric goals for hyperparameter tuning */ - goal: Goal; - /** [Required] Name of the metric to optimize. */ - primaryMetric: string; -} - +/** Forecasting specific parameters. */ +export interface ForecastingSettings { + /** + * Country or region for holidays for forecasting tasks. + * These should be ISO 3166 two-letter country/region codes, for example 'US' or 'GB'. + */ + countryOrRegionForHolidays?: string; + /** + * Number of periods between the origin time of one CV fold and the next fold. For + * example, if `CVStepSize` = 3 for daily data, the origin time for each fold will be + * three days apart. + */ + cvStepSize?: number; + /** Flag for generating lags for the numeric features with 'auto' or null. */ + featureLags?: FeatureLags; + /** The desired maximum forecast horizon in units of time-series frequency. */ + forecastHorizon?: ForecastHorizonUnion; + /** When forecasting, this parameter represents the period with which the forecast is desired, for example daily, weekly, yearly, etc. The forecast frequency is dataset frequency by default. */ + frequency?: string; + /** + * Set time series seasonality as an integer multiple of the series frequency. + * If seasonality is set to 'auto', it will be inferred. + */ + seasonality?: SeasonalityUnion; + /** The parameter defining how if AutoML should handle short time series. */ + shortSeriesHandlingConfig?: ShortSeriesHandlingConfiguration; + /** + * The function to be used to aggregate the time series target column to conform to a user specified frequency. + * If the TargetAggregateFunction is set i.e. not 'None', but the freq parameter is not set, the error is raised. The possible target aggregation functions are: "sum", "max", "min" and "mean". + */ + targetAggregateFunction?: TargetAggregationFunction; + /** The number of past periods to lag from the target column. */ + targetLags?: TargetLagsUnion; + /** The number of past periods used to create a rolling window average of the target column. */ + targetRollingWindowSize?: TargetRollingWindowSizeUnion; + /** The name of the time column. This parameter is required when forecasting to specify the datetime column in the input data used for building the time series and inferring its frequency. */ + timeColumnName?: string; + /** + * The names of columns used to group a timeseries. It can be used to create multiple series. + * If grain is not defined, the data set is assumed to be one time-series. This parameter is used with task type forecasting. + */ + timeSeriesIdColumnNames?: string[]; + /** Configure STL Decomposition of the time-series target column. */ + useStl?: UseStl; +} + +/** + * Settings used for training the model. + * For more information on the available settings please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ +export interface ImageModelSettings { + /** Settings for advanced scenarios. */ + advancedSettings?: string; + /** Enable AMSGrad when optimizer is 'adam' or 'adamw'. */ + amsGradient?: boolean; + /** Settings for using Augmentations. */ + augmentations?: string; + /** Value of 'beta1' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ + beta1?: number; + /** Value of 'beta2' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ + beta2?: number; + /** Frequency to store model checkpoints. Must be a positive integer. */ + checkpointFrequency?: number; + /** The pretrained checkpoint model for incremental training. */ + checkpointModel?: MLFlowModelJobInput; + /** The id of a previous run that has a pretrained checkpoint for incremental training. */ + checkpointRunId?: string; + /** Whether to use distributed training. */ + distributed?: boolean; + /** Enable early stopping logic during training. */ + earlyStopping?: boolean; + /** + * Minimum number of epochs or validation evaluations to wait before primary metric improvement + * is tracked for early stopping. Must be a positive integer. + */ + earlyStoppingDelay?: number; + /** + * Minimum number of epochs or validation evaluations with no primary metric improvement before + * the run is stopped. Must be a positive integer. + */ + earlyStoppingPatience?: number; + /** Enable normalization when exporting ONNX model. */ + enableOnnxNormalization?: boolean; + /** Frequency to evaluate validation dataset to get metric scores. Must be a positive integer. */ + evaluationFrequency?: number; + /** + * Gradient accumulation means running a configured number of "GradAccumulationStep" steps without + * updating the model weights while accumulating the gradients of those steps, and then using + * the accumulated gradients to compute the weight updates. Must be a positive integer. + */ + gradientAccumulationStep?: number; + /** + * Number of layers to freeze for the model. Must be a positive integer. + * For instance, passing 2 as value for 'seresnext' means + * freezing layer0 and layer1. For a full list of models supported and details on layer freeze, please + * see: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ + layersToFreeze?: number; + /** Initial learning rate. Must be a float in the range [0, 1]. */ + learningRate?: number; + /** Type of learning rate scheduler. Must be 'warmup_cosine' or 'step'. */ + learningRateScheduler?: LearningRateScheduler; + /** + * Name of the model to use for training. + * For more information on the available models please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ + modelName?: string; + /** Value of momentum when optimizer is 'sgd'. Must be a float in the range [0, 1]. */ + momentum?: number; + /** Enable nesterov when optimizer is 'sgd'. */ + nesterov?: boolean; + /** Number of training epochs. Must be a positive integer. */ + numberOfEpochs?: number; + /** Number of data loader workers. Must be a non-negative integer. */ + numberOfWorkers?: number; + /** Type of optimizer. */ + optimizer?: StochasticOptimizer; + /** Random seed to be used when using deterministic training. */ + randomSeed?: number; + /** Value of gamma when learning rate scheduler is 'step'. Must be a float in the range [0, 1]. */ + stepLRGamma?: number; + /** Value of step size when learning rate scheduler is 'step'. Must be a positive integer. */ + stepLRStepSize?: number; + /** Training batch size. Must be a positive integer. */ + trainingBatchSize?: number; + /** Validation batch size. Must be a positive integer. */ + validationBatchSize?: number; + /** Value of cosine cycle when learning rate scheduler is 'warmup_cosine'. Must be a float in the range [0, 1]. */ + warmupCosineLRCycles?: number; + /** Value of warmup epochs when learning rate scheduler is 'warmup_cosine'. Must be a positive integer. */ + warmupCosineLRWarmupEpochs?: number; + /** Value of weight decay when optimizer is 'sgd', 'adam', or 'adamw'. Must be a float in the range[0, 1]. */ + weightDecay?: number; +} + +/** + * Distribution expressions to sweep over values of model settings. + * + * Some examples are: + * + * ModelName = "choice('seresnext', 'resnest50')"; + * LearningRate = "uniform(0.001, 0.01)"; + * LayersToFreeze = "choice(0, 2)"; + * + * All distributions can be specified as distribution_name(min, max) or choice(val1, val2, ..., valn) + * where distribution name can be: uniform, quniform, loguniform, etc + * For more details on how to compose distribution expressions please check the documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters + * For more information on the available settings please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ +export interface ImageModelDistributionSettings { + /** Enable AMSGrad when optimizer is 'adam' or 'adamw'. */ + amsGradient?: string; + /** Settings for using Augmentations. */ + augmentations?: string; + /** Value of 'beta1' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ + beta1?: string; + /** Value of 'beta2' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1]. */ + beta2?: string; + /** Whether to use distributer training. */ + distributed?: string; + /** Enable early stopping logic during training. */ + earlyStopping?: string; + /** + * Minimum number of epochs or validation evaluations to wait before primary metric improvement + * is tracked for early stopping. Must be a positive integer. + */ + earlyStoppingDelay?: string; + /** + * Minimum number of epochs or validation evaluations with no primary metric improvement before + * the run is stopped. Must be a positive integer. + */ + earlyStoppingPatience?: string; + /** Enable normalization when exporting ONNX model. */ + enableOnnxNormalization?: string; + /** Frequency to evaluate validation dataset to get metric scores. Must be a positive integer. */ + evaluationFrequency?: string; + /** + * Gradient accumulation means running a configured number of "GradAccumulationStep" steps without + * updating the model weights while accumulating the gradients of those steps, and then using + * the accumulated gradients to compute the weight updates. Must be a positive integer. + */ + gradientAccumulationStep?: string; + /** + * Number of layers to freeze for the model. Must be a positive integer. + * For instance, passing 2 as value for 'seresnext' means + * freezing layer0 and layer1. For a full list of models supported and details on layer freeze, please + * see: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ + layersToFreeze?: string; + /** Initial learning rate. Must be a float in the range [0, 1]. */ + learningRate?: string; + /** Type of learning rate scheduler. Must be 'warmup_cosine' or 'step'. */ + learningRateScheduler?: string; + /** + * Name of the model to use for training. + * For more information on the available models please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ + modelName?: string; + /** Value of momentum when optimizer is 'sgd'. Must be a float in the range [0, 1]. */ + momentum?: string; + /** Enable nesterov when optimizer is 'sgd'. */ + nesterov?: string; + /** Number of training epochs. Must be a positive integer. */ + numberOfEpochs?: string; + /** Number of data loader workers. Must be a non-negative integer. */ + numberOfWorkers?: string; + /** Type of optimizer. Must be either 'sgd', 'adam', or 'adamw'. */ + optimizer?: string; + /** Random seed to be used when using deterministic training. */ + randomSeed?: string; + /** Value of gamma when learning rate scheduler is 'step'. Must be a float in the range [0, 1]. */ + stepLRGamma?: string; + /** Value of step size when learning rate scheduler is 'step'. Must be a positive integer. */ + stepLRStepSize?: string; + /** Training batch size. Must be a positive integer. */ + trainingBatchSize?: string; + /** Validation batch size. Must be a positive integer. */ + validationBatchSize?: string; + /** Value of cosine cycle when learning rate scheduler is 'warmup_cosine'. Must be a float in the range [0, 1]. */ + warmupCosineLRCycles?: string; + /** Value of warmup epochs when learning rate scheduler is 'warmup_cosine'. Must be a positive integer. */ + warmupCosineLRWarmupEpochs?: string; + /** Value of weight decay when optimizer is 'sgd', 'adam', or 'adamw'. Must be a float in the range[0, 1]. */ + weightDecay?: string; +} + +/** + * Abstract class for AutoML tasks that train image (computer vision) models - + * such as Image Classification / Image Classification Multilabel / Image Object Detection / Image Instance Segmentation. + */ +export interface ImageVertical { + /** [Required] Limit settings for the AutoML job. */ + limitSettings: ImageLimitSettings; + /** Model sweeping and hyperparameter sweeping related settings. */ + sweepSettings?: ImageSweepSettings; + /** Validation data inputs. */ + validationData?: MLTableJobInput; + /** + * The fraction of training dataset that needs to be set aside for validation purpose. + * Values between (0.0 , 1.0) + * Applied when validation dataset is not provided. + */ + validationDataSize?: number; +} + +/** Limit settings for the AutoML job. */ +export interface ImageLimitSettings { + /** Maximum number of concurrent AutoML iterations. */ + maxConcurrentTrials?: number; + /** Maximum number of AutoML iterations. */ + maxTrials?: number; + /** AutoML job timeout. */ + timeout?: string; +} + +/** Model sweeping and hyperparameter sweeping related settings. */ +export interface ImageSweepSettings { + /** Type of early termination policy. */ + earlyTermination?: EarlyTerminationPolicyUnion; + /** [Required] Limit settings for model sweeping and hyperparameter sweeping. */ + limits: ImageSweepLimitSettings; + /** [Required] Type of the hyperparameter sampling algorithms. */ + samplingAlgorithm: SamplingAlgorithmType; +} + +/** Limit settings for model sweeping and hyperparameter sweeping. */ +export interface ImageSweepLimitSettings { + /** Maximum number of concurrent iterations for the underlying Sweep job. */ + maxConcurrentTrials?: number; + /** Maximum number of iterations for the underlying Sweep job. */ + maxTrials?: number; +} + +export interface KerberosCredentials { + /** [Required] IP Address or DNS HostName. */ + kerberosKdcAddress: string; + /** [Required] Kerberos Username */ + kerberosPrincipal: string; + /** [Required] Domain over which a Kerberos authentication server has the authority to authenticate a user, host or service. */ + kerberosRealm: string; +} + +/** + * Abstract class for NLP related AutoML tasks. + * NLP - Natural Language Processing. + */ +export interface NlpVertical { + /** Featurization inputs needed for AutoML job. */ + featurizationSettings?: NlpVerticalFeaturizationSettings; + /** Execution constraints for AutoMLJob. */ + limitSettings?: NlpVerticalLimitSettings; + /** Validation data inputs. */ + validationData?: MLTableJobInput; +} + +/** Job execution constraints. */ +export interface NlpVerticalLimitSettings { + /** Maximum Concurrent AutoML iterations. */ + maxConcurrentTrials?: number; + /** Number of AutoML iterations. */ + maxTrials?: number; + /** AutoML job timeout. */ + timeout?: string; +} + +/** Optimization objective. */ +export interface Objective { + /** [Required] Defines supported metric goals for hyperparameter tuning */ + goal: Goal; + /** [Required] Name of the metric to optimize. */ + primaryMetric: string; +} + +export interface RecurrenceSchedule { + /** [Required] List of hours for the schedule. */ + hours: number[]; + /** [Required] List of minutes for the schedule. */ + minutes: number[]; + /** List of days for the schedule. */ + weekDays?: WeekDay[]; +} + +/** Spark job entry point definition. */ +export interface SparkJobEntry { + /** Polymorphic discriminator, which specifies the different types this object can be */ + sparkJobEntryType: "SparkJobPythonEntry" | "SparkJobPythonEntry"; +} + +export interface SparkResourceConfiguration { + /** Optional type of VM used as supported by the compute target. */ + instanceType?: string; + /** Version of spark runtime used for the job. */ + runtimeVersion?: string; +} + /** Trial component definition. */ export interface TrialComponent { /** ARM resource ID of the code asset. */ @@ -2243,11 +3079,11 @@ export interface TrialComponent { /** Environment variables included in the job. */ environmentVariables?: { [propertyName: string]: string | null }; /** Compute Resource configuration for the job. */ - resources?: ResourceConfiguration; + resources?: JobResourceConfiguration; } /** The Private Endpoint Connection resource. */ -export interface PrivateEndpointConnection extends Resource { +export type PrivateEndpointConnection = Resource & { /** The identity of the resource. */ identity?: ManagedServiceIdentity; /** Specifies the location of the resource. */ @@ -2265,10 +3101,10 @@ export interface PrivateEndpointConnection extends Resource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: PrivateEndpointConnectionProvisioningState; -} +}; /** An object that represents a machine learning workspace. */ -export interface Workspace extends Resource { +export type Workspace = Resource & { /** The identity of the resource. */ identity?: ManagedServiceIdentity; /** Specifies the location of the resource. */ @@ -2354,22 +3190,23 @@ export interface Workspace extends Resource { readonly mlFlowTrackingUri?: string; /** Enabling v1_legacy_mode may prevent you from using features provided by the v2 API. */ v1LegacyMode?: boolean; -} +}; /** Machine Learning compute object wrapped into ARM resource envelope. */ -export interface ComputeResource extends Resource, ComputeResourceSchema { - /** The identity of the resource. */ - identity?: ManagedServiceIdentity; - /** Specifies the location of the resource. */ - location?: string; - /** Contains resource tags defined as key/value pairs. */ - tags?: { [propertyName: string]: string }; - /** The sku of the workspace. */ - sku?: Sku; -} +export type ComputeResource = Resource & + ComputeResourceSchema & { + /** The identity of the resource. */ + identity?: ManagedServiceIdentity; + /** Specifies the location of the resource. */ + location?: string; + /** Contains resource tags defined as key/value pairs. */ + tags?: { [propertyName: string]: string }; + /** The sku of the workspace. */ + sku?: Sku; + }; /** A private link resource */ -export interface PrivateLinkResource extends Resource { +export type PrivateLinkResource = Resource & { /** The identity of the resource. */ identity?: ManagedServiceIdentity; /** Specifies the location of the resource. */ @@ -2390,213 +3227,225 @@ export interface PrivateLinkResource extends Resource { readonly requiredMembers?: string[]; /** The private link resource Private link DNS zone name. */ requiredZoneNames?: string[]; -} +}; -export interface WorkspaceConnectionPropertiesV2BasicResource extends Resource { +export type WorkspaceConnectionPropertiesV2BasicResource = Resource & { properties: WorkspaceConnectionPropertiesV2Union; -} +}; /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ -export interface TrackedResource extends Resource { +export type TrackedResource = Resource & { /** Resource tags. */ tags?: { [propertyName: string]: string }; /** The geo-location where the resource lives */ location: string; -} +}; /** Azure Resource Manager resource envelope. */ -export interface CodeContainer extends Resource { +export type CodeContainer = Resource & { /** [Required] Additional attributes of the entity. */ properties: CodeContainerProperties; -} +}; /** Azure Resource Manager resource envelope. */ -export interface CodeVersion extends Resource { +export type CodeVersion = Resource & { /** [Required] Additional attributes of the entity. */ properties: CodeVersionProperties; -} +}; /** Azure Resource Manager resource envelope. */ -export interface ComponentContainer extends Resource { +export type ComponentContainer = Resource & { /** [Required] Additional attributes of the entity. */ properties: ComponentContainerProperties; -} +}; /** Azure Resource Manager resource envelope. */ -export interface ComponentVersion extends Resource { +export type ComponentVersion = Resource & { /** [Required] Additional attributes of the entity. */ properties: ComponentVersionProperties; -} +}; /** Azure Resource Manager resource envelope. */ -export interface DataContainer extends Resource { +export type DataContainer = Resource & { /** [Required] Additional attributes of the entity. */ properties: DataContainerProperties; -} +}; /** Azure Resource Manager resource envelope. */ -export interface DataVersionBase extends Resource { +export type DataVersionBase = Resource & { /** [Required] Additional attributes of the entity. */ properties: DataVersionBasePropertiesUnion; -} +}; /** Azure Resource Manager resource envelope. */ -export interface Datastore extends Resource { +export type Datastore = Resource & { /** [Required] Additional attributes of the entity. */ properties: DatastorePropertiesUnion; -} +}; /** Azure Resource Manager resource envelope. */ -export interface EnvironmentContainer extends Resource { +export type EnvironmentContainer = Resource & { /** [Required] Additional attributes of the entity. */ properties: EnvironmentContainerProperties; -} +}; /** Azure Resource Manager resource envelope. */ -export interface EnvironmentVersion extends Resource { +export type EnvironmentVersion = Resource & { /** [Required] Additional attributes of the entity. */ properties: EnvironmentVersionProperties; -} +}; /** Azure Resource Manager resource envelope. */ -export interface JobBase extends Resource { +export type JobBase = Resource & { /** [Required] Additional attributes of the entity. */ properties: JobBasePropertiesUnion; -} +}; + +/** Azure Resource Manager resource envelope. */ +export type LabelingJob = Resource & { + /** [Required] Additional attributes of the entity. */ + properties: LabelingJobProperties; +}; /** Azure Resource Manager resource envelope. */ -export interface ModelContainer extends Resource { +export type ModelContainer = Resource & { /** [Required] Additional attributes of the entity. */ properties: ModelContainerProperties; -} +}; /** Azure Resource Manager resource envelope. */ -export interface ModelVersion extends Resource { +export type ModelVersion = Resource & { /** [Required] Additional attributes of the entity. */ properties: ModelVersionProperties; -} +}; + +/** Azure Resource Manager resource envelope. */ +export type Schedule = Resource & { + /** [Required] Additional attributes of the entity. */ + properties: ScheduleProperties; +}; /** A Machine Learning compute based on AKS. */ -export interface Aks extends Compute, AKSSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "AKS"; -} +export type Aks = Compute & + AKSSchema & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeType: "AKS"; + }; /** A Machine Learning compute based on Kubernetes Compute. */ -export interface Kubernetes extends Compute, KubernetesSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "Kubernetes"; -} +export type Kubernetes = Compute & + KubernetesSchema & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeType: "Kubernetes"; + }; /** An Azure Machine Learning compute. */ -export interface AmlCompute extends Compute, AmlComputeSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "AmlCompute"; -} +export type AmlCompute = Compute & + AmlComputeSchema & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeType: "AmlCompute"; + }; /** An Azure Machine Learning compute instance. */ -export interface ComputeInstance extends Compute, ComputeInstanceSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "ComputeInstance"; -} +export type ComputeInstance = Compute & + ComputeInstanceSchema & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeType: "ComputeInstance"; + }; /** A Machine Learning compute based on Azure Virtual Machines. */ -export interface VirtualMachine extends Compute, VirtualMachineSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "VirtualMachine"; -} +export type VirtualMachine = Compute & + VirtualMachineSchema & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeType: "VirtualMachine"; + }; /** A HDInsight compute. */ -export interface HDInsight extends Compute, HDInsightSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "HDInsight"; -} +export type HDInsight = Compute & + HDInsightSchema & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeType: "HDInsight"; + }; /** A DataFactory compute. */ -export interface DataFactory extends Compute { +export type DataFactory = Compute & { /** Polymorphic discriminator, which specifies the different types this object can be */ computeType: "DataFactory"; -} +}; /** A DataFactory compute. */ -export interface Databricks extends Compute, DatabricksSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "Databricks"; -} +export type Databricks = Compute & + DatabricksSchema & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeType: "Databricks"; + }; /** A DataLakeAnalytics compute. */ -export interface DataLakeAnalytics extends Compute, DataLakeAnalyticsSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "DataLakeAnalytics"; -} +export type DataLakeAnalytics = Compute & + DataLakeAnalyticsSchema & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeType: "DataLakeAnalytics"; + }; /** A SynapseSpark compute. */ -export interface SynapseSpark extends Compute { +export type SynapseSpark = Compute & { /** Polymorphic discriminator, which specifies the different types this object can be */ computeType: "SynapseSpark"; properties?: SynapseSparkProperties; -} +}; /** Secrets related to a Machine Learning compute based on AKS. */ -export interface AksComputeSecrets - extends ComputeSecrets, - AksComputeSecretsProperties { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "AKS"; -} +export type AksComputeSecrets = ComputeSecrets & + AksComputeSecretsProperties & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeType: "AKS"; + }; /** Secrets related to a Machine Learning compute based on AKS. */ -export interface VirtualMachineSecrets - extends ComputeSecrets, - VirtualMachineSecretsSchema { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "VirtualMachine"; -} +export type VirtualMachineSecrets = ComputeSecrets & + VirtualMachineSecretsSchema & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeType: "VirtualMachine"; + }; /** Secrets related to a Machine Learning compute based on Databricks. */ -export interface DatabricksComputeSecrets - extends ComputeSecrets, - DatabricksComputeSecretsProperties { - /** Polymorphic discriminator, which specifies the different types this object can be */ - computeType: "Databricks"; -} +export type DatabricksComputeSecrets = ComputeSecrets & + DatabricksComputeSecretsProperties & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + computeType: "Databricks"; + }; -export interface PATAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { +export type PATAuthTypeWorkspaceConnectionProperties = WorkspaceConnectionPropertiesV2 & { /** Polymorphic discriminator, which specifies the different types this object can be */ authType: "PAT"; credentials?: WorkspaceConnectionPersonalAccessToken; -} +}; -export interface SASAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { +export type SASAuthTypeWorkspaceConnectionProperties = WorkspaceConnectionPropertiesV2 & { /** Polymorphic discriminator, which specifies the different types this object can be */ authType: "SAS"; credentials?: WorkspaceConnectionSharedAccessSignature; -} +}; -export interface UsernamePasswordAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { +export type UsernamePasswordAuthTypeWorkspaceConnectionProperties = WorkspaceConnectionPropertiesV2 & { /** Polymorphic discriminator, which specifies the different types this object can be */ authType: "UsernamePassword"; credentials?: WorkspaceConnectionUsernamePassword; -} +}; -export interface NoneAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { +export type NoneAuthTypeWorkspaceConnectionProperties = WorkspaceConnectionPropertiesV2 & { /** Polymorphic discriminator, which specifies the different types this object can be */ authType: "None"; -} +}; -export interface ManagedIdentityAuthTypeWorkspaceConnectionProperties - extends WorkspaceConnectionPropertiesV2 { +export type ManagedIdentityAuthTypeWorkspaceConnectionProperties = WorkspaceConnectionPropertiesV2 & { /** Polymorphic discriminator, which specifies the different types this object can be */ authType: "ManagedIdentity"; credentials?: WorkspaceConnectionManagedIdentity; -} +}; /** Batch endpoint configuration. */ -export interface BatchEndpointProperties extends EndpointPropertiesBase { +export type BatchEndpointProperties = EndpointPropertiesBase & { /** Default values for Batch Endpoint */ defaults?: BatchEndpointDefaults; /** @@ -2604,69 +3453,79 @@ export interface BatchEndpointProperties extends EndpointPropertiesBase { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: EndpointProvisioningState; -} +}; /** Online endpoint configuration */ -export interface OnlineEndpointProperties extends EndpointPropertiesBase { +export type OnlineEndpointProperties = EndpointPropertiesBase & { /** * ARM resource ID of the compute if it exists. * optional */ compute?: string; + /** Percentage of traffic to be mirrored to each deployment without using returned scoring. Traffic values need to sum to utmost 50. */ + mirrorTraffic?: { [propertyName: string]: number }; /** * Provisioning state for the endpoint. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: EndpointProvisioningState; + /** Set to "Enabled" for endpoints that should allow public access when Private Link is enabled. */ + publicNetworkAccess?: PublicNetworkAccessType; /** Percentage of traffic from endpoint to divert to each deployment. Traffic values need to sum to 100. */ traffic?: { [propertyName: string]: number }; -} +}; /** Strictly used in update requests. */ -export interface PartialMinimalTrackedResourceWithIdentity - extends PartialMinimalTrackedResource { +export type PartialMinimalTrackedResourceWithIdentity = PartialMinimalTrackedResource & { /** Managed service identity (system assigned and/or user assigned identities) */ identity?: PartialManagedServiceIdentity; -} +}; /** Strictly used in update requests. */ -export interface PartialMinimalTrackedResourceWithSku - extends PartialMinimalTrackedResource { +export type PartialMinimalTrackedResourceWithSku = PartialMinimalTrackedResource & { /** Sku details required for ARM contract for Autoscaling. */ sku?: PartialSku; -} +}; /** Reference to an asset via its path in a datastore. */ -export interface DataPathAssetReference extends AssetReferenceBase { +export type DataPathAssetReference = AssetReferenceBase & { /** Polymorphic discriminator, which specifies the different types this object can be */ referenceType: "DataPath"; /** ARM resource ID of the datastore where the asset is located. */ datastoreId?: string; /** The path of the file/directory in the datastore. */ path?: string; -} +}; /** Reference to an asset via its ARM resource ID. */ -export interface IdAssetReference extends AssetReferenceBase { +export type IdAssetReference = AssetReferenceBase & { /** Polymorphic discriminator, which specifies the different types this object can be */ referenceType: "Id"; /** [Required] ARM resource ID of the asset. */ assetId: string; -} +}; /** Reference to an asset via its path in a job output. */ -export interface OutputPathAssetReference extends AssetReferenceBase { +export type OutputPathAssetReference = AssetReferenceBase & { /** Polymorphic discriminator, which specifies the different types this object can be */ referenceType: "OutputPath"; /** ARM resource ID of the job. */ jobId?: string; /** The path of the file/directory in the job output. */ path?: string; -} +}; + +export type DeploymentResourceConfiguration = ResourceConfiguration & {}; + +export type JobResourceConfiguration = ResourceConfiguration & { + /** Extra arguments to pass to the Docker run command. This would override any parameters that have already been set by the system, or in this section. This parameter is only supported for Azure ML compute types. */ + dockerArgs?: string; + /** Size of the docker container's shared memory block. This should be in the format of (number)(unit) where number as to be greater than 0 and the unit can be one of b(bytes), k(kilobytes), m(megabytes), or g(gigabytes). */ + shmSize?: string; +}; /** Batch inference settings per deployment. */ -export interface BatchDeploymentProperties - extends EndpointDeploymentPropertiesBase { +export type BatchDeploymentProperties = EndpointDeploymentPropertiesBase & { /** Compute target for batch inference operation. */ compute?: string; /** @@ -2702,18 +3561,19 @@ export interface BatchDeploymentProperties * Indicates compute configuration for the job. * If not provided, will default to the defaults defined in ResourceConfiguration. */ - resources?: ResourceConfiguration; + resources?: DeploymentResourceConfiguration; /** * Retry Settings for the batch inference operation. * If not provided, will default to the defaults defined in BatchRetrySettings. */ retrySettings?: BatchRetrySettings; -} +}; -export interface OnlineDeploymentProperties - extends EndpointDeploymentPropertiesBase { +export type OnlineDeploymentProperties = EndpointDeploymentPropertiesBase & { /** If true, enables Application Insights logging. */ appInsightsEnabled?: boolean; + /** If Enabled, allow egress public network access. If Disabled, this will create secure egress. Default: Enabled. */ + egressPublicNetworkAccess?: EgressPublicNetworkAccessType; /** [Required] The compute type of the endpoint. */ endpointComputeType: EndpointComputeType; /** Compute instance type. */ @@ -2740,9 +3600,9 @@ export interface OnlineDeploymentProperties * and to DefaultScaleSettings for ManagedOnlineDeployment. */ scaleSettings?: OnlineScaleSettingsUnion; -} +}; -export interface AssetContainer extends ResourceBase { +export type AssetContainer = ResourceBase & { /** Is the asset archived? */ isArchived?: boolean; /** @@ -2755,17 +3615,17 @@ export interface AssetContainer extends ResourceBase { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextVersion?: string; -} +}; -export interface AssetBase extends ResourceBase { +export type AssetBase = ResourceBase & { /** If the name version are system generated (anonymous registration). */ isAnonymous?: boolean; /** Is the asset archived? */ isArchived?: boolean; -} +}; /** Base definition for datastore contents configuration. */ -export interface DatastoreProperties extends ResourceBase { +export type DatastoreProperties = ResourceBase & { /** [Required] Account credentials. */ credentials: DatastoreCredentialsUnion; /** [Required] Storage type backing the datastore. */ @@ -2775,10 +3635,12 @@ export interface DatastoreProperties extends ResourceBase { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly isDefault?: boolean; -} +}; /** Base definition for a job. */ -export interface JobBaseProperties extends ResourceBase { +export type JobBaseProperties = ResourceBase & { + /** ARM resource ID of the component resource. */ + componentId?: string; /** ARM resource ID of the compute resource. */ computeId?: string; /** Display name of job. */ @@ -2804,18 +3666,35 @@ export interface JobBaseProperties extends ResourceBase { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly status?: JobStatus; -} +}; + +/** Base definition of a schedule */ +export type ScheduleProperties = ResourceBase & { + /** [Required] Specifies the action of the schedule */ + action: ScheduleActionBaseUnion; + /** Display name of schedule. */ + displayName?: string; + /** Is the schedule enabled? */ + isEnabled?: boolean; + /** + * Provisioning state for the schedule. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ScheduleProvisioningStatus; + /** [Required] Specifies the trigger details */ + trigger: TriggerBaseUnion; +}; /** Account key datastore credentials configuration. */ -export interface AccountKeyDatastoreCredentials extends DatastoreCredentials { +export type AccountKeyDatastoreCredentials = DatastoreCredentials & { /** Polymorphic discriminator, which specifies the different types this object can be */ credentialsType: "AccountKey"; /** [Required] Storage account secrets. */ secrets: AccountKeyDatastoreSecrets; -} +}; /** Certificate datastore credentials configuration. */ -export interface CertificateDatastoreCredentials extends DatastoreCredentials { +export type CertificateDatastoreCredentials = DatastoreCredentials & { /** Polymorphic discriminator, which specifies the different types this object can be */ credentialsType: "Certificate"; /** Authority URL used for authentication. */ @@ -2830,25 +3709,36 @@ export interface CertificateDatastoreCredentials extends DatastoreCredentials { tenantId: string; /** [Required] Thumbprint of the certificate used for authentication. */ thumbprint: string; -} +}; + +export type KerberosKeytabCredentials = KerberosCredentials & + DatastoreCredentials & { + /** [Required] Keytab secrets. */ + secrets: KerberosKeytabSecrets; + }; + +export type KerberosPasswordCredentials = KerberosCredentials & + DatastoreCredentials & { + /** [Required] Kerberos password secrets. */ + secrets: KerberosPasswordSecrets; + }; /** Empty/none datastore credentials. */ -export interface NoneDatastoreCredentials extends DatastoreCredentials { +export type NoneDatastoreCredentials = DatastoreCredentials & { /** Polymorphic discriminator, which specifies the different types this object can be */ credentialsType: "None"; -} +}; /** SAS datastore credentials configuration. */ -export interface SasDatastoreCredentials extends DatastoreCredentials { +export type SasDatastoreCredentials = DatastoreCredentials & { /** Polymorphic discriminator, which specifies the different types this object can be */ credentialsType: "Sas"; /** [Required] Storage container secrets. */ secrets: SasDatastoreSecrets; -} +}; /** Service Principal datastore credentials configuration. */ -export interface ServicePrincipalDatastoreCredentials - extends DatastoreCredentials { +export type ServicePrincipalDatastoreCredentials = DatastoreCredentials & { /** Polymorphic discriminator, which specifies the different types this object can be */ credentialsType: "ServicePrincipal"; /** Authority URL used for authentication. */ @@ -2861,48 +3751,62 @@ export interface ServicePrincipalDatastoreCredentials secrets: ServicePrincipalDatastoreSecrets; /** [Required] ID of the tenant to which the service principal belongs. */ tenantId: string; -} +}; /** Datastore account key secrets. */ -export interface AccountKeyDatastoreSecrets extends DatastoreSecrets { +export type AccountKeyDatastoreSecrets = DatastoreSecrets & { /** Polymorphic discriminator, which specifies the different types this object can be */ secretsType: "AccountKey"; /** Storage account key. */ key?: string; -} +}; /** Datastore certificate secrets. */ -export interface CertificateDatastoreSecrets extends DatastoreSecrets { +export type CertificateDatastoreSecrets = DatastoreSecrets & { /** Polymorphic discriminator, which specifies the different types this object can be */ secretsType: "Certificate"; /** Service principal certificate. */ certificate?: string; -} +}; + +export type KerberosKeytabSecrets = DatastoreSecrets & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + secretsType: "KerberosKeytab"; + /** Kerberos keytab secret. */ + kerberosKeytab?: string; +}; + +export type KerberosPasswordSecrets = DatastoreSecrets & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + secretsType: "KerberosPassword"; + /** Kerberos password secret. */ + kerberosPassword?: string; +}; /** Datastore SAS secrets. */ -export interface SasDatastoreSecrets extends DatastoreSecrets { +export type SasDatastoreSecrets = DatastoreSecrets & { /** Polymorphic discriminator, which specifies the different types this object can be */ secretsType: "Sas"; /** Storage container SAS token. */ sasToken?: string; -} +}; /** Datastore Service Principal secrets. */ -export interface ServicePrincipalDatastoreSecrets extends DatastoreSecrets { +export type ServicePrincipalDatastoreSecrets = DatastoreSecrets & { /** Polymorphic discriminator, which specifies the different types this object can be */ secretsType: "ServicePrincipal"; /** Service principal secret. */ clientSecret?: string; -} +}; /** AML Token identity configuration. */ -export interface AmlToken extends IdentityConfiguration { +export type AmlToken = IdentityConfiguration & { /** Polymorphic discriminator, which specifies the different types this object can be */ identityType: "AMLToken"; -} +}; /** Managed identity configuration. */ -export interface ManagedIdentity extends IdentityConfiguration { +export type ManagedIdentity = IdentityConfiguration & { /** Polymorphic discriminator, which specifies the different types this object can be */ identityType: "Managed"; /** Specifies a user-assigned identity by client ID. For system-assigned, do not set this field. */ @@ -2911,20 +3815,92 @@ export interface ManagedIdentity extends IdentityConfiguration { objectId?: string; /** Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field. */ resourceId?: string; -} +}; /** User identity configuration. */ -export interface UserIdentity extends IdentityConfiguration { +export type UserIdentity = IdentityConfiguration & { /** Polymorphic discriminator, which specifies the different types this object can be */ identityType: "UserIdentity"; -} +}; -export interface DefaultScaleSettings extends OnlineScaleSettings { +/** Properties of a labeling job for image data */ +export type LabelingJobImageProperties = LabelingJobMediaProperties & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mediaType: "Image"; + /** Annotation type of image labeling job. */ + annotationType?: ImageAnnotationType; +}; + +/** Properties of a labeling job for text data */ +export type LabelingJobTextProperties = LabelingJobMediaProperties & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mediaType: "Text"; + /** Annotation type of text labeling job. */ + annotationType?: TextAnnotationType; +}; + +/** Labeling MLAssist configuration definition when MLAssist is disabled */ +export type MLAssistConfigurationDisabled = MLAssistConfiguration & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mlAssist: "Disabled"; +}; + +/** Labeling MLAssist configuration definition when MLAssist is enabled */ +export type MLAssistConfigurationEnabled = MLAssistConfiguration & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mlAssist: "Enabled"; + /** [Required] AML compute binding used in inferencing. */ + inferencingComputeBinding: string; + /** [Required] AML compute binding used in training. */ + trainingComputeBinding: string; +}; + +export type CocoExportSummary = ExportSummary & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + format: "Coco"; + /** + * The container name to which the labels will be exported. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly containerName?: string; + /** + * The output path where the labels will be exported. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly snapshotPath?: string; +}; + +export type CsvExportSummary = ExportSummary & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + format: "CSV"; + /** + * The container name to which the labels will be exported. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly containerName?: string; + /** + * The output path where the labels will be exported. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly snapshotPath?: string; +}; + +export type DatasetExportSummary = ExportSummary & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + format: "Dataset"; + /** + * The unique name of the labeled data asset. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly labeledAssetName?: string; +}; + +export type DefaultScaleSettings = OnlineScaleSettings & { /** Polymorphic discriminator, which specifies the different types this object can be */ scaleType: "Default"; -} +}; -export interface TargetUtilizationScaleSettings extends OnlineScaleSettings { +export type TargetUtilizationScaleSettings = OnlineScaleSettings & { /** Polymorphic discriminator, which specifies the different types this object can be */ scaleType: "TargetUtilization"; /** The maximum number of instances that the deployment can scale to. The quota will be reserved for max_instances. */ @@ -2935,120 +3911,439 @@ export interface TargetUtilizationScaleSettings extends OnlineScaleSettings { pollingInterval?: string; /** Target CPU usage for the autoscaler. */ targetUtilizationPercentage?: number; -} +}; + +export type EndpointScheduleAction = ScheduleActionBase & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + actionType: "InvokeBatchEndpoint"; + /** + * [Required] Defines Schedule action definition details. + * + */ + endpointInvocationDefinition: Record; +}; -export interface CustomModelJobInput extends AssetJobInput, JobInput {} +export type JobScheduleAction = ScheduleActionBase & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + actionType: "CreateJob"; + /** [Required] Defines Schedule action definition details. */ + jobDefinition: JobBasePropertiesUnion; +}; -export interface MLFlowModelJobInput extends AssetJobInput, JobInput {} +export type CronTrigger = TriggerBase & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + triggerType: "Cron"; + /** + * [Required] Specifies cron expression of schedule. + * The expression should follow NCronTab format. + */ + expression: string; +}; -export interface MLTableJobInput extends AssetJobInput, JobInput {} +export type RecurrenceTrigger = TriggerBase & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + triggerType: "Recurrence"; + /** [Required] The frequency to trigger schedule. */ + frequency: RecurrenceFrequency; + /** [Required] Specifies schedule interval in conjunction with frequency */ + interval: number; + /** [Required] The recurrence schedule. */ + schedule: RecurrenceSchedule; +}; -export interface TritonModelJobInput extends AssetJobInput, JobInput {} +export type MLTableJobInput = AssetJobInput & JobInput & {}; -export interface UriFileJobInput extends AssetJobInput, JobInput {} +export type CustomModelJobInput = AssetJobInput & JobInput & {}; -export interface UriFolderJobInput extends AssetJobInput, JobInput {} +export type MLFlowModelJobInput = AssetJobInput & JobInput & {}; -export interface CustomModelJobOutput extends AssetJobOutput, JobOutput {} +export type TritonModelJobInput = AssetJobInput & JobInput & {}; -export interface MLFlowModelJobOutput extends AssetJobOutput, JobOutput {} +export type UriFileJobInput = AssetJobInput & JobInput & {}; -export interface MLTableJobOutput extends AssetJobOutput, JobOutput {} +export type UriFolderJobInput = AssetJobInput & JobInput & {}; -export interface TritonModelJobOutput extends AssetJobOutput, JobOutput {} +export type CustomModelJobOutput = AssetJobOutput & JobOutput & {}; -export interface UriFileJobOutput extends AssetJobOutput, JobOutput {} +export type MLFlowModelJobOutput = AssetJobOutput & JobOutput & {}; -export interface UriFolderJobOutput extends AssetJobOutput, JobOutput {} +export type MLTableJobOutput = AssetJobOutput & JobOutput & {}; -/** Defines an early termination policy based on slack criteria, and a frequency and delay interval for evaluation */ -export interface BanditPolicy extends EarlyTerminationPolicy { +export type TritonModelJobOutput = AssetJobOutput & JobOutput & {}; + +export type UriFileJobOutput = AssetJobOutput & JobOutput & {}; + +export type UriFolderJobOutput = AssetJobOutput & JobOutput & {}; + +/** Forecast horizon determined automatically by system. */ +export type AutoForecastHorizon = ForecastHorizon & { /** Polymorphic discriminator, which specifies the different types this object can be */ - policyType: "Bandit"; - /** Absolute distance allowed from the best performing run. */ - slackAmount?: number; - /** Ratio of the allowed distance from the best performing run. */ - slackFactor?: number; -} + mode: "Auto"; +}; -/** Defines an early termination policy based on running averages of the primary metric of all runs */ -export interface MedianStoppingPolicy extends EarlyTerminationPolicy { +/** The desired maximum forecast horizon in units of time-series frequency. */ +export type CustomForecastHorizon = ForecastHorizon & { /** Polymorphic discriminator, which specifies the different types this object can be */ - policyType: "MedianStopping"; -} + mode: "Custom"; + /** [Required] Forecast horizon value. */ + value: number; +}; + +/** Classification task in AutoML Table vertical. */ +export type Classification = TableVertical & + AutoMLVertical & { + /** Positive label for binary metrics calculation. */ + positiveLabel?: string; + /** Primary metric for the task. */ + primaryMetric?: ClassificationPrimaryMetrics; + /** Inputs for training phase for an AutoML Job. */ + trainingSettings?: ClassificationTrainingSettings; + }; + +/** Forecasting task in AutoML Table vertical. */ +export type Forecasting = TableVertical & + AutoMLVertical & { + /** Forecasting task specific inputs. */ + forecastingSettings?: ForecastingSettings; + /** Primary metric for forecasting task. */ + primaryMetric?: ForecastingPrimaryMetrics; + /** Inputs for training phase for an AutoML Job. */ + trainingSettings?: ForecastingTrainingSettings; + }; -/** Defines an early termination policy that cancels a given percentage of runs at each evaluation interval. */ -export interface TruncationSelectionPolicy extends EarlyTerminationPolicy { +/** + * Image Classification. Multi-class image classification is used when an image is classified with only a single label + * from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'. + */ +export type ImageClassification = ImageClassificationBase & + AutoMLVertical & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "ImageClassification"; + /** Primary metric to optimize for this task. */ + primaryMetric?: ClassificationPrimaryMetrics; + }; + +/** + * Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels + * from a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'. + */ +export type ImageClassificationMultilabel = ImageClassificationBase & + AutoMLVertical & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "ImageClassificationMultilabel"; + /** Primary metric to optimize for this task. */ + primaryMetric?: ClassificationMultilabelPrimaryMetrics; + }; + +/** + * Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level, + * drawing a polygon around each object in the image. + */ +export type ImageInstanceSegmentation = ImageObjectDetectionBase & + AutoMLVertical & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "ImageInstanceSegmentation"; + /** Primary metric to optimize for this task. */ + primaryMetric?: InstanceSegmentationPrimaryMetrics; + }; + +/** + * Image Object Detection. Object detection is used to identify objects in an image and locate each object with a + * bounding box e.g. locate all dogs and cats in an image and draw a bounding box around each. + */ +export type ImageObjectDetection = ImageObjectDetectionBase & + AutoMLVertical & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + taskType: "ImageObjectDetection"; + /** Primary metric to optimize for this task. */ + primaryMetric?: ObjectDetectionPrimaryMetrics; + }; + +/** Regression task in AutoML Table vertical. */ +export type Regression = TableVertical & + AutoMLVertical & { + /** Primary metric for regression task. */ + primaryMetric?: RegressionPrimaryMetrics; + /** Inputs for training phase for an AutoML Job. */ + trainingSettings?: RegressionTrainingSettings; + }; + +/** + * Text Classification task in AutoML NLP vertical. + * NLP - Natural Language Processing. + */ +export type TextClassification = NlpVertical & + AutoMLVertical & { + /** Primary metric for Text-Classification task. */ + primaryMetric?: ClassificationPrimaryMetrics; + }; + +/** + * Text Classification Multilabel task in AutoML NLP vertical. + * NLP - Natural Language Processing. + */ +export type TextClassificationMultilabel = NlpVertical & + AutoMLVertical & { + /** + * Primary metric for Text-Classification-Multilabel task. + * Currently only Accuracy is supported as primary metric, hence user need not set it explicitly. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly primaryMetric?: ClassificationMultilabelPrimaryMetrics; + }; + +/** + * Text-NER task in AutoML NLP vertical. + * NER - Named Entity Recognition. + * NLP - Natural Language Processing. + */ +export type TextNer = NlpVertical & + AutoMLVertical & { + /** + * Primary metric for Text-NER task. + * Only 'Accuracy' is supported for Text-NER, so user need not set this explicitly. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly primaryMetric?: ClassificationPrimaryMetrics; + }; + +/** Literal input type. */ +export type LiteralJobInput = JobInput & { /** Polymorphic discriminator, which specifies the different types this object can be */ - policyType: "TruncationSelection"; - /** The percentage of runs to cancel at each evaluation interval. */ - truncationPercentage?: number; -} + jobInputType: "literal"; + /** [Required] Literal value for the input. */ + value: string; +}; -/** Defines a Sampling Algorithm that generates values based on previous values */ -export interface BayesianSamplingAlgorithm extends SamplingAlgorithm { +/** N-Cross validations determined automatically. */ +export type AutoNCrossValidations = NCrossValidations & { /** Polymorphic discriminator, which specifies the different types this object can be */ - samplingAlgorithmType: "Bayesian"; -} + mode: "Auto"; +}; -/** Defines a Sampling Algorithm that exhaustively generates every value combination in the space */ -export interface GridSamplingAlgorithm extends SamplingAlgorithm { +/** N-Cross validations are specified by user. */ +export type CustomNCrossValidations = NCrossValidations & { /** Polymorphic discriminator, which specifies the different types this object can be */ - samplingAlgorithmType: "Grid"; -} + mode: "Custom"; + /** [Required] N-Cross validations value. */ + value: number; +}; -/** Defines a Sampling Algorithm that generates values randomly */ -export interface RandomSamplingAlgorithm extends SamplingAlgorithm { +export type AutoSeasonality = Seasonality & { /** Polymorphic discriminator, which specifies the different types this object can be */ - samplingAlgorithmType: "Random"; - /** The specific type of random algorithm */ - rule?: RandomSamplingAlgorithmRule; - /** An optional integer to use as the seed for random number generation */ - seed?: number; -} + mode: "Auto"; +}; -/** MPI distribution configuration. */ -export interface Mpi extends DistributionConfiguration { +export type CustomSeasonality = Seasonality & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Custom"; + /** [Required] Seasonality value. */ + value: number; +}; + +export type AutoTargetLags = TargetLags & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto"; +}; + +export type CustomTargetLags = TargetLags & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Custom"; + /** [Required] Set target lags values. */ + values: number[]; +}; + +/** Target lags rolling window determined automatically. */ +export type AutoTargetRollingWindowSize = TargetRollingWindowSize & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Auto"; +}; + +export type CustomTargetRollingWindowSize = TargetRollingWindowSize & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mode: "Custom"; + /** [Required] TargetRollingWindowSize value. */ + value: number; +}; + +/** Azure Blob datastore configuration. */ +export type AzureBlobDatastore = AzureDatastore & + DatastoreProperties & { + /** Storage account name. */ + accountName?: string; + /** Storage account container name. */ + containerName?: string; + /** Azure cloud endpoint for the storage account. */ + endpoint?: string; + /** Protocol used to communicate with the storage account. */ + protocol?: string; + /** Indicates which identity to use to authenticate service data access to customer's storage. */ + serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; + }; + +/** Azure Data Lake Gen1 datastore configuration. */ +export type AzureDataLakeGen1Datastore = AzureDatastore & + DatastoreProperties & { + /** Indicates which identity to use to authenticate service data access to customer's storage. */ + serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; + /** [Required] Azure Data Lake store name. */ + storeName: string; + }; + +/** Azure Data Lake Gen2 datastore configuration. */ +export type AzureDataLakeGen2Datastore = AzureDatastore & + DatastoreProperties & { + /** [Required] Storage account name. */ + accountName: string; + /** Azure cloud endpoint for the storage account. */ + endpoint?: string; + /** [Required] The name of the Data Lake Gen2 filesystem. */ + filesystem: string; + /** Protocol used to communicate with the storage account. */ + protocol?: string; + /** Indicates which identity to use to authenticate service data access to customer's storage. */ + serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; + }; + +/** Azure File datastore configuration. */ +export type AzureFileDatastore = AzureDatastore & + DatastoreProperties & { + /** [Required] Storage account name. */ + accountName: string; + /** Azure cloud endpoint for the storage account. */ + endpoint?: string; + /** [Required] The name of the Azure file share that the datastore points to. */ + fileShareName: string; + /** Protocol used to communicate with the storage account. */ + protocol?: string; + /** Indicates which identity to use to authenticate service data access to customer's storage. */ + serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; + }; + +/** Defines an early termination policy based on slack criteria, and a frequency and delay interval for evaluation */ +export type BanditPolicy = EarlyTerminationPolicy & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + policyType: "Bandit"; + /** Absolute distance allowed from the best performing run. */ + slackAmount?: number; + /** Ratio of the allowed distance from the best performing run. */ + slackFactor?: number; +}; + +/** Defines an early termination policy based on running averages of the primary metric of all runs */ +export type MedianStoppingPolicy = EarlyTerminationPolicy & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + policyType: "MedianStopping"; +}; + +/** Defines an early termination policy that cancels a given percentage of runs at each evaluation interval. */ +export type TruncationSelectionPolicy = EarlyTerminationPolicy & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + policyType: "TruncationSelection"; + /** The percentage of runs to cancel at each evaluation interval. */ + truncationPercentage?: number; +}; + +/** Defines a Sampling Algorithm that generates values based on previous values */ +export type BayesianSamplingAlgorithm = SamplingAlgorithm & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + samplingAlgorithmType: "Bayesian"; +}; + +/** Defines a Sampling Algorithm that exhaustively generates every value combination in the space */ +export type GridSamplingAlgorithm = SamplingAlgorithm & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + samplingAlgorithmType: "Grid"; +}; + +/** Defines a Sampling Algorithm that generates values randomly */ +export type RandomSamplingAlgorithm = SamplingAlgorithm & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + samplingAlgorithmType: "Random"; + /** The specific type of random algorithm */ + rule?: RandomSamplingAlgorithmRule; + /** An optional integer to use as the seed for random number generation */ + seed?: number; +}; + +/** Classification Training related configuration. */ +export type ClassificationTrainingSettings = TrainingSettings & { + /** Allowed models for classification task. */ + allowedTrainingAlgorithms?: ClassificationModels[]; + /** Blocked models for classification task. */ + blockedTrainingAlgorithms?: ClassificationModels[]; +}; + +/** Forecasting Training related configuration. */ +export type ForecastingTrainingSettings = TrainingSettings & { + /** Allowed models for forecasting task. */ + allowedTrainingAlgorithms?: ForecastingModels[]; + /** Blocked models for forecasting task. */ + blockedTrainingAlgorithms?: ForecastingModels[]; +}; + +/** Regression Training related configuration. */ +export type RegressionTrainingSettings = TrainingSettings & { + /** Allowed models for regression task. */ + allowedTrainingAlgorithms?: RegressionModels[]; + /** Blocked models for regression task. */ + blockedTrainingAlgorithms?: RegressionModels[]; +}; + +/** Featurization Configuration. */ +export type TableVerticalFeaturizationSettings = FeaturizationSettings & { + /** These transformers shall not be used in featurization. */ + blockedTransformers?: BlockedTransformers[]; + /** Dictionary of column name and its type (int, float, string, datetime etc). */ + columnNameAndTypes?: { [propertyName: string]: string | null }; + /** Determines whether to use Dnn based featurizers for data featurization. */ + enableDnnFeaturization?: boolean; + /** + * Featurization mode - User can keep the default 'Auto' mode and AutoML will take care of necessary transformation of the data in featurization phase. + * If 'Off' is selected then no featurization is done. + * If 'Custom' is selected then user can specify additional inputs to customize how featurization is done. + */ + mode?: FeaturizationMode; + /** User can specify additional transformers to be used along with the columns to which it would be applied and parameters for the transformer constructor. */ + transformerParams?: { [propertyName: string]: ColumnTransformer[] | null }; +}; + +export type NlpVerticalFeaturizationSettings = FeaturizationSettings & {}; + +/** MPI distribution configuration. */ +export type Mpi = DistributionConfiguration & { /** Polymorphic discriminator, which specifies the different types this object can be */ distributionType: "Mpi"; /** Number of processes per MPI node. */ processCountPerInstance?: number; -} +}; /** PyTorch distribution configuration. */ -export interface PyTorch extends DistributionConfiguration { +export type PyTorch = DistributionConfiguration & { /** Polymorphic discriminator, which specifies the different types this object can be */ distributionType: "PyTorch"; /** Number of processes per node. */ processCountPerInstance?: number; -} +}; /** TensorFlow distribution configuration. */ -export interface TensorFlow extends DistributionConfiguration { +export type TensorFlow = DistributionConfiguration & { /** Polymorphic discriminator, which specifies the different types this object can be */ distributionType: "TensorFlow"; /** Number of parameter server tasks. */ parameterServerCount?: number; /** Number of workers. If not specified, will default to the instance count. */ workerCount?: number; -} - -/** Literal input type. */ -export interface LiteralJobInput extends JobInput { - /** Polymorphic discriminator, which specifies the different types this object can be */ - jobInputType: "literal"; - /** [Required] Literal value for the input. */ - value: string; -} +}; /** Command Job limit class. */ -export interface CommandJobLimits extends JobLimits { +export type CommandJobLimits = JobLimits & { /** Polymorphic discriminator, which specifies the different types this object can be */ jobLimitsType: "Command"; -} +}; /** Sweep Job limit class. */ -export interface SweepJobLimits extends JobLimits { +export type SweepJobLimits = JobLimits & { /** Polymorphic discriminator, which specifies the different types this object can be */ jobLimitsType: "Sweep"; /** Sweep Job max concurrent trials. */ @@ -3057,9 +4352,236 @@ export interface SweepJobLimits extends JobLimits { maxTotalTrials?: number; /** Sweep Job Trial timeout value. */ trialTimeout?: string; -} +}; + +/** + * Settings used for training the model. + * For more information on the available settings please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ +export type ImageModelSettingsClassification = ImageModelSettings & { + /** Image crop size that is input to the neural network for the training dataset. Must be a positive integer. */ + trainingCropSize?: number; + /** Image crop size that is input to the neural network for the validation dataset. Must be a positive integer. */ + validationCropSize?: number; + /** Image size to which to resize before cropping for validation dataset. Must be a positive integer. */ + validationResizeSize?: number; + /** + * Weighted loss. The accepted values are 0 for no weighted loss. + * 1 for weighted loss with sqrt.(class_weights). 2 for weighted loss with class_weights. Must be 0 or 1 or 2. + */ + weightedLoss?: number; +}; + +/** + * Settings used for training the model. + * For more information on the available settings please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ +export type ImageModelSettingsObjectDetection = ImageModelSettings & { + /** + * Maximum number of detections per image, for all classes. Must be a positive integer. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + boxDetectionsPerImage?: number; + /** + * During inference, only return proposals with a classification score greater than + * BoxScoreThreshold. Must be a float in the range[0, 1]. + */ + boxScoreThreshold?: number; + /** + * Image size for train and validation. Must be a positive integer. + * Note: The training run may get into CUDA OOM if the size is too big. + * Note: This settings is only supported for the 'yolov5' algorithm. + */ + imageSize?: number; + /** + * Maximum size of the image to be rescaled before feeding it to the backbone. + * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + maxSize?: number; + /** + * Minimum size of the image to be rescaled before feeding it to the backbone. + * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + minSize?: number; + /** + * Model size. Must be 'small', 'medium', 'large', or 'xlarge'. + * Note: training run may get into CUDA OOM if the model size is too big. + * Note: This settings is only supported for the 'yolov5' algorithm. + */ + modelSize?: ModelSize; + /** + * Enable multi-scale image by varying image size by +/- 50%. + * Note: training run may get into CUDA OOM if no sufficient GPU memory. + * Note: This settings is only supported for the 'yolov5' algorithm. + */ + multiScale?: boolean; + /** IOU threshold used during inference in NMS post processing. Must be a float in the range [0, 1]. */ + nmsIouThreshold?: number; + /** + * The grid size to use for tiling each image. Note: TileGridSize must not be + * None to enable small object detection logic. A string containing two integers in mxn format. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + tileGridSize?: string; + /** + * Overlap ratio between adjacent tiles in each dimension. Must be float in the range [0, 1). + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + tileOverlapRatio?: number; + /** + * The IOU threshold to use to perform NMS while merging predictions from tiles and image. + * Used in validation/ inference. Must be float in the range [0, 1]. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + tilePredictionsNmsThreshold?: number; + /** IOU threshold to use when computing validation metric. Must be float in the range [0, 1]. */ + validationIouThreshold?: number; + /** Metric computation method to use for validation metrics. */ + validationMetricType?: ValidationMetricType; +}; + +/** + * Distribution expressions to sweep over values of model settings. + * + * Some examples are: + * + * ModelName = "choice('seresnext', 'resnest50')"; + * LearningRate = "uniform(0.001, 0.01)"; + * LayersToFreeze = "choice(0, 2)"; + * + * For more details on how to compose distribution expressions please check the documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters + * For more information on the available settings please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ +export type ImageModelDistributionSettingsClassification = ImageModelDistributionSettings & { + /** Image crop size that is input to the neural network for the training dataset. Must be a positive integer. */ + trainingCropSize?: string; + /** Image crop size that is input to the neural network for the validation dataset. Must be a positive integer. */ + validationCropSize?: string; + /** Image size to which to resize before cropping for validation dataset. Must be a positive integer. */ + validationResizeSize?: string; + /** + * Weighted loss. The accepted values are 0 for no weighted loss. + * 1 for weighted loss with sqrt.(class_weights). 2 for weighted loss with class_weights. Must be 0 or 1 or 2. + */ + weightedLoss?: string; +}; + +/** + * Distribution expressions to sweep over values of model settings. + * + * Some examples are: + * + * ModelName = "choice('seresnext', 'resnest50')"; + * LearningRate = "uniform(0.001, 0.01)"; + * LayersToFreeze = "choice(0, 2)"; + * + * For more details on how to compose distribution expressions please check the documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters + * For more information on the available settings please visit the official documentation: + * https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models. + */ +export type ImageModelDistributionSettingsObjectDetection = ImageModelDistributionSettings & { + /** + * Maximum number of detections per image, for all classes. Must be a positive integer. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + boxDetectionsPerImage?: string; + /** + * During inference, only return proposals with a classification score greater than + * BoxScoreThreshold. Must be a float in the range[0, 1]. + */ + boxScoreThreshold?: string; + /** + * Image size for train and validation. Must be a positive integer. + * Note: The training run may get into CUDA OOM if the size is too big. + * Note: This settings is only supported for the 'yolov5' algorithm. + */ + imageSize?: string; + /** + * Maximum size of the image to be rescaled before feeding it to the backbone. + * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + maxSize?: string; + /** + * Minimum size of the image to be rescaled before feeding it to the backbone. + * Must be a positive integer. Note: training run may get into CUDA OOM if the size is too big. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + minSize?: string; + /** + * Model size. Must be 'small', 'medium', 'large', or 'xlarge'. + * Note: training run may get into CUDA OOM if the model size is too big. + * Note: This settings is only supported for the 'yolov5' algorithm. + */ + modelSize?: string; + /** + * Enable multi-scale image by varying image size by +/- 50%. + * Note: training run may get into CUDA OOM if no sufficient GPU memory. + * Note: This settings is only supported for the 'yolov5' algorithm. + */ + multiScale?: string; + /** IOU threshold used during inference in NMS post processing. Must be float in the range [0, 1]. */ + nmsIouThreshold?: string; + /** + * The grid size to use for tiling each image. Note: TileGridSize must not be + * None to enable small object detection logic. A string containing two integers in mxn format. + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + tileGridSize?: string; + /** + * Overlap ratio between adjacent tiles in each dimension. Must be float in the range [0, 1). + * Note: This settings is not supported for the 'yolov5' algorithm. + */ + tileOverlapRatio?: string; + /** + * The IOU threshold to use to perform NMS while merging predictions from tiles and image. + * Used in validation/ inference. Must be float in the range [0, 1]. + * Note: This settings is not supported for the 'yolov5' algorithm. + * NMS: Non-maximum suppression + */ + tilePredictionsNmsThreshold?: string; + /** IOU threshold to use when computing validation metric. Must be float in the range [0, 1]. */ + validationIouThreshold?: string; + /** Metric computation method to use for validation metrics. Must be 'none', 'coco', 'voc', or 'coco_voc'. */ + validationMetricType?: string; +}; + +export type ImageClassificationBase = ImageVertical & { + /** Settings used for training the model. */ + modelSettings?: ImageModelSettingsClassification; + /** Search space for sampling different combinations of models and their hyperparameters. */ + searchSpace?: ImageModelDistributionSettingsClassification[]; +}; + +export type ImageObjectDetectionBase = ImageVertical & { + /** Settings used for training the model. */ + modelSettings?: ImageModelSettingsObjectDetection; + /** Search space for sampling different combinations of models and their hyperparameters. */ + searchSpace?: ImageModelDistributionSettingsObjectDetection[]; +}; + +export type SparkJobPythonEntry = SparkJobEntry & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + sparkJobEntryType: "SparkJobPythonEntry"; + /** [Required] Relative python file path for job entry point. */ + file: string; +}; + +export type SparkJobScalaEntry = SparkJobEntry & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + sparkJobEntryType: "SparkJobPythonEntry"; + /** [Required] Scala class name used as entry point. */ + className: string; +}; -export interface BatchEndpoint extends TrackedResource { +export type BatchEndpoint = TrackedResource & { /** Managed service identity (system assigned and/or user assigned identities) */ identity?: ManagedServiceIdentity; /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ @@ -3068,9 +4590,9 @@ export interface BatchEndpoint extends TrackedResource { properties: BatchEndpointProperties; /** Sku details required for ARM contract for Autoscaling. */ sku?: Sku; -} +}; -export interface BatchDeployment extends TrackedResource { +export type BatchDeployment = TrackedResource & { /** Managed service identity (system assigned and/or user assigned identities) */ identity?: ManagedServiceIdentity; /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ @@ -3079,9 +4601,9 @@ export interface BatchDeployment extends TrackedResource { properties: BatchDeploymentProperties; /** Sku details required for ARM contract for Autoscaling. */ sku?: Sku; -} +}; -export interface OnlineEndpoint extends TrackedResource { +export type OnlineEndpoint = TrackedResource & { /** Managed service identity (system assigned and/or user assigned identities) */ identity?: ManagedServiceIdentity; /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ @@ -3090,9 +4612,9 @@ export interface OnlineEndpoint extends TrackedResource { properties: OnlineEndpointProperties; /** Sku details required for ARM contract for Autoscaling. */ sku?: Sku; -} +}; -export interface OnlineDeployment extends TrackedResource { +export type OnlineDeployment = TrackedResource & { /** Managed service identity (system assigned and/or user assigned identities) */ identity?: ManagedServiceIdentity; /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ @@ -3101,62 +4623,62 @@ export interface OnlineDeployment extends TrackedResource { properties: OnlineDeploymentPropertiesUnion; /** Sku details required for ARM contract for Autoscaling. */ sku?: Sku; -} +}; /** Properties specific to a KubernetesOnlineDeployment. */ -export interface KubernetesOnlineDeployment extends OnlineDeploymentProperties { +export type KubernetesOnlineDeployment = OnlineDeploymentProperties & { /** The resource requirements for the container (cpu and memory). */ containerResourceRequirements?: ContainerResourceRequirements; -} +}; /** Properties specific to a ManagedOnlineDeployment. */ -export interface ManagedOnlineDeployment extends OnlineDeploymentProperties {} +export type ManagedOnlineDeployment = OnlineDeploymentProperties & {}; /** Container for code asset versions. */ -export interface CodeContainerProperties extends AssetContainer {} +export type CodeContainerProperties = AssetContainer & {}; /** * Component container definition. * */ -export interface ComponentContainerProperties extends AssetContainer {} +export type ComponentContainerProperties = AssetContainer & {}; /** Container for data asset versions. */ -export interface DataContainerProperties extends AssetContainer { +export type DataContainerProperties = AssetContainer & { /** [Required] Specifies the type of data. */ dataType: DataType; -} +}; /** Container for environment specification versions. */ -export interface EnvironmentContainerProperties extends AssetContainer {} +export type EnvironmentContainerProperties = AssetContainer & {}; -export interface ModelContainerProperties extends AssetContainer {} +export type ModelContainerProperties = AssetContainer & {}; /** Code asset version details. */ -export interface CodeVersionProperties extends AssetBase { +export type CodeVersionProperties = AssetBase & { /** Uri where code is located */ codeUri?: string; -} +}; /** Definition of a component version: defines resources that span component types. */ -export interface ComponentVersionProperties extends AssetBase { +export type ComponentVersionProperties = AssetBase & { /** * Defines Component definition details. * */ componentSpec?: Record; -} +}; /** Data version base definition */ -export interface DataVersionBaseProperties extends AssetBase { +export type DataVersionBaseProperties = AssetBase & { /** [Required] Specifies the type of data. */ dataType: DataType; - /** [Required] Uri of the data. Usage/meaning depends on Microsoft.MachineLearning.ManagementFrontEnd.Contracts.V20220501.Assets.DataVersionBase.DataType */ + /** [Required] Uri of the data. Usage/meaning depends on Microsoft.MachineLearning.ManagementFrontEnd.Contracts.V20220601Preview.Assets.DataVersionBase.DataType */ dataUri: string; -} +}; /** Environment version details. */ -export interface EnvironmentVersionProperties extends AssetBase { +export type EnvironmentVersionProperties = AssetBase & { /** Configuration settings for Docker build context. */ build?: BuildContext; /** @@ -3179,10 +4701,10 @@ export interface EnvironmentVersionProperties extends AssetBase { inferenceConfig?: InferenceContainerProperties; /** The OS type of the environment. */ osType?: OperatingSystemType; -} +}; /** Model asset version details. */ -export interface ModelVersionProperties extends AssetBase { +export type ModelVersionProperties = AssetBase & { /** Mapping of model flavors to their properties. */ flavors?: { [propertyName: string]: FlavorData | null }; /** Name of the training job which produced this model */ @@ -3191,60 +4713,79 @@ export interface ModelVersionProperties extends AssetBase { modelType?: string; /** The URI path to the model contents. */ modelUri?: string; -} - -/** Azure Blob datastore configuration. */ -export interface AzureBlobDatastore extends DatastoreProperties { - /** Storage account name. */ - accountName?: string; - /** Storage account container name. */ - containerName?: string; - /** Azure cloud endpoint for the storage account. */ - endpoint?: string; - /** Protocol used to communicate with the storage account. */ +}; + +export type HdfsDatastore = DatastoreProperties & { + /** The TLS cert of the HDFS server. Needs to be a base64 encoded string. Required if "Https" protocol is selected. */ + hdfsServerCertificate?: string; + /** [Required] IP Address or DNS HostName. */ + nameNodeAddress: string; + /** Protocol used to communicate with the storage account (Https/Http). */ protocol?: string; - /** Indicates which identity to use to authenticate service data access to customer's storage. */ - serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; -} - -/** Azure Data Lake Gen1 datastore configuration. */ -export interface AzureDataLakeGen1Datastore extends DatastoreProperties { - /** Indicates which identity to use to authenticate service data access to customer's storage. */ - serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; - /** [Required] Azure Data Lake store name. */ - storeName: string; -} +}; -/** Azure Data Lake Gen2 datastore configuration. */ -export interface AzureDataLakeGen2Datastore extends DatastoreProperties { - /** [Required] Storage account name. */ - accountName: string; - /** Azure cloud endpoint for the storage account. */ - endpoint?: string; - /** [Required] The name of the Data Lake Gen2 filesystem. */ - filesystem: string; - /** Protocol used to communicate with the storage account. */ - protocol?: string; - /** Indicates which identity to use to authenticate service data access to customer's storage. */ - serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; -} +/** Labeling job definition */ +export type LabelingJobProperties = JobBaseProperties & { + /** + * Created time of the job in UTC timezone. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly createdDateTime?: Date; + /** Configuration of data used in the job. */ + dataConfiguration?: LabelingDataConfiguration; + /** Labeling instructions of the job. */ + jobInstructions?: LabelingJobInstructions; + /** Label categories of the job. */ + labelCategories?: { [propertyName: string]: LabelCategory | null }; + /** Media type specific properties in the job. */ + labelingJobMediaProperties?: LabelingJobMediaPropertiesUnion; + /** Configuration of MLAssist feature in the job. */ + mlAssistConfiguration?: MLAssistConfigurationUnion; + /** + * Progress metrics of the job. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly progressMetrics?: ProgressMetrics; + /** + * Internal id of the job(Previously called project). + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly projectId?: string; + /** + * Specifies the labeling job provisioning state. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: JobProvisioningState; + /** + * Status messages of the job. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly statusMessages?: StatusMessage[]; +}; -/** Azure File datastore configuration. */ -export interface AzureFileDatastore extends DatastoreProperties { - /** [Required] Storage account name. */ - accountName: string; - /** Azure cloud endpoint for the storage account. */ - endpoint?: string; - /** [Required] The name of the Azure file share that the datastore points to. */ - fileShareName: string; - /** Protocol used to communicate with the storage account. */ - protocol?: string; - /** Indicates which identity to use to authenticate service data access to customer's storage. */ - serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; -} +/** + * AutoMLJob class. + * Use this class for executing AutoML tasks like Classification/Regression etc. + * See TaskType enum for all the tasks supported. + */ +export type AutoMLJob = JobBaseProperties & { + /** + * The ARM resource ID of the Environment specification for the job. + * This is optional value to provide, if not provided, AutoML will default this to Production AutoML curated environment version when running the job. + */ + environmentId?: string; + /** Environment variables included in the job. */ + environmentVariables?: { [propertyName: string]: string | null }; + /** Mapping of output data bindings used in the job. */ + outputs?: { [propertyName: string]: JobOutputUnion | null }; + /** Compute Resource configuration for the job. */ + resources?: JobResourceConfiguration; + /** [Required] This represents scenario which can be one of Tables/NLP/Image */ + taskDetails: AutoMLVerticalUnion; +}; /** Command job definition. */ -export interface CommandJob extends JobBaseProperties { +export type CommandJob = JobBaseProperties & { /** ARM resource ID of the code asset. */ codeId?: string; /** [Required] The command to execute on startup of the job. eg. "python train.py" */ @@ -3267,11 +4808,11 @@ export interface CommandJob extends JobBaseProperties { */ readonly parameters?: Record; /** Compute Resource configuration for the job. */ - resources?: ResourceConfiguration; -} + resources?: JobResourceConfiguration; +}; /** Pipeline Job definition: defines generic to MFE attributes. */ -export interface PipelineJob extends JobBaseProperties { +export type PipelineJob = JobBaseProperties & { /** Inputs for the pipeline job. */ inputs?: { [propertyName: string]: JobInputUnion | null }; /** Jobs construct the Pipeline Job. */ @@ -3280,10 +4821,40 @@ export interface PipelineJob extends JobBaseProperties { outputs?: { [propertyName: string]: JobOutputUnion | null }; /** Pipeline settings, for things like ContinueRunOnStepFailure etc. */ settings?: Record; -} + /** ARM resource ID of source job. */ + sourceJobId?: string; +}; + +/** Spark job definition. */ +export type SparkJob = JobBaseProperties & { + /** Archive files used in the job. */ + archives?: string[]; + /** Arguments for the job. */ + args?: string; + /** [Required] ARM resource ID of the code asset. */ + codeId: string; + /** Spark configured properties. */ + conf?: { [propertyName: string]: string | null }; + /** [Required] The entry to execute on startup of the job. */ + entry: SparkJobEntryUnion; + /** The ARM resource ID of the Environment specification for the job. */ + environmentId?: string; + /** Files used in the job. */ + files?: string[]; + /** Mapping of input data bindings used in the job. */ + inputs?: { [propertyName: string]: JobInputUnion | null }; + /** Jar files used in the job. */ + jars?: string[]; + /** Mapping of output data bindings used in the job. */ + outputs?: { [propertyName: string]: JobOutputUnion | null }; + /** Python files used in the job. */ + pyFiles?: string[]; + /** Compute Resource configuration for the job. */ + resources?: SparkResourceConfiguration; +}; /** Sweep job definition. */ -export interface SweepJob extends JobBaseProperties { +export type SweepJob = JobBaseProperties & { /** Early termination policies enable canceling poor-performing runs before they complete */ earlyTermination?: EarlyTerminationPolicyUnion; /** Mapping of input data bindings used in the job. */ @@ -3300,19 +4871,19 @@ export interface SweepJob extends JobBaseProperties { searchSpace: Record; /** [Required] Trial component definition. */ trial: TrialComponent; -} +}; /** MLTable data definition */ -export interface MLTableData extends DataVersionBaseProperties { +export type MLTableData = DataVersionBaseProperties & { /** Uris referenced in the MLTable definition (required for lineage) */ referencedUris?: string[]; -} +}; /** uri-file data version entity */ -export interface UriFileDataVersion extends DataVersionBaseProperties {} +export type UriFileDataVersion = DataVersionBaseProperties & {}; /** uri-folder data version entity */ -export interface UriFolderDataVersion extends DataVersionBaseProperties {} +export type UriFolderDataVersion = DataVersionBaseProperties & {}; /** Defines headers for Workspaces_diagnose operation. */ export interface WorkspacesDiagnoseHeaders { @@ -3410,6 +4981,30 @@ export interface JobsCancelHeaders { retryAfter?: number; } +/** Defines headers for LabelingJobs_createOrUpdate operation. */ +export interface LabelingJobsCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + +/** Defines headers for LabelingJobs_exportLabels operation. */ +export interface LabelingJobsExportLabelsHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for LabelingJobs_resume operation. */ +export interface LabelingJobsResumeHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + /** Defines headers for OnlineEndpoints_delete operation. */ export interface OnlineEndpointsDeleteHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ @@ -3474,21 +5069,32 @@ export interface OnlineDeploymentsCreateOrUpdateHeaders { azureAsyncOperation?: string; } +/** Defines headers for Schedules_delete operation. */ +export interface SchedulesDeleteHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for Schedules_createOrUpdate operation. */ +export interface SchedulesCreateOrUpdateHeaders { + /** Timeout for the client to use when polling the asynchronous operation. */ + xMsAsyncOperationTimeout?: string; + /** URI to poll for asynchronous operation status. */ + azureAsyncOperation?: string; +} + /** Known values of {@link ProvisioningState} that the service accepts. */ export enum KnownProvisioningState { - /** Unknown */ Unknown = "Unknown", - /** Updating */ Updating = "Updating", - /** Creating */ Creating = "Creating", - /** Deleting */ Deleting = "Deleting", - /** Succeeded */ Succeeded = "Succeeded", - /** Failed */ Failed = "Failed", - /** Canceled */ Canceled = "Canceled" } @@ -3509,9 +5115,7 @@ export type ProvisioningState = string; /** Known values of {@link EncryptionStatus} that the service accepts. */ export enum KnownEncryptionStatus { - /** Enabled */ Enabled = "Enabled", - /** Disabled */ Disabled = "Disabled" } @@ -3527,9 +5131,7 @@ export type EncryptionStatus = string; /** Known values of {@link PublicNetworkAccess} that the service accepts. */ export enum KnownPublicNetworkAccess { - /** Enabled */ Enabled = "Enabled", - /** Disabled */ Disabled = "Disabled" } @@ -3545,15 +5147,10 @@ export type PublicNetworkAccess = string; /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */ export enum KnownPrivateEndpointServiceConnectionStatus { - /** Pending */ Pending = "Pending", - /** Approved */ Approved = "Approved", - /** Rejected */ Rejected = "Rejected", - /** Disconnected */ Disconnected = "Disconnected", - /** Timeout */ Timeout = "Timeout" } @@ -3572,13 +5169,9 @@ export type PrivateEndpointServiceConnectionStatus = string; /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */ export enum KnownPrivateEndpointConnectionProvisioningState { - /** Succeeded */ Succeeded = "Succeeded", - /** Creating */ Creating = "Creating", - /** Deleting */ Deleting = "Deleting", - /** Failed */ Failed = "Failed" } @@ -3596,13 +5189,9 @@ export type PrivateEndpointConnectionProvisioningState = string; /** Known values of {@link ManagedServiceIdentityType} that the service accepts. */ export enum KnownManagedServiceIdentityType { - /** None */ None = "None", - /** SystemAssigned */ SystemAssigned = "SystemAssigned", - /** UserAssigned */ UserAssigned = "UserAssigned", - /** SystemAssignedUserAssigned */ SystemAssignedUserAssigned = "SystemAssigned,UserAssigned" } @@ -3620,13 +5209,9 @@ export type ManagedServiceIdentityType = string; /** Known values of {@link CreatedByType} that the service accepts. */ export enum KnownCreatedByType { - /** User */ User = "User", - /** Application */ Application = "Application", - /** ManagedIdentity */ ManagedIdentity = "ManagedIdentity", - /** Key */ Key = "Key" } @@ -3644,11 +5229,8 @@ export type CreatedByType = string; /** Known values of {@link DiagnoseResultLevel} that the service accepts. */ export enum KnownDiagnoseResultLevel { - /** Warning */ Warning = "Warning", - /** Error */ Error = "Error", - /** Information */ Information = "Information" } @@ -3665,7 +5247,6 @@ export type DiagnoseResultLevel = string; /** Known values of {@link UsageUnit} that the service accepts. */ export enum KnownUsageUnit { - /** Count */ Count = "Count" } @@ -3680,7 +5261,6 @@ export type UsageUnit = string; /** Known values of {@link BillingCurrency} that the service accepts. */ export enum KnownBillingCurrency { - /** USD */ USD = "USD" } @@ -3695,7 +5275,6 @@ export type BillingCurrency = string; /** Known values of {@link UnitOfMeasure} that the service accepts. */ export enum KnownUnitOfMeasure { - /** OneHour */ OneHour = "OneHour" } @@ -3710,9 +5289,7 @@ export type UnitOfMeasure = string; /** Known values of {@link VMPriceOSType} that the service accepts. */ export enum KnownVMPriceOSType { - /** Linux */ Linux = "Linux", - /** Windows */ Windows = "Windows" } @@ -3728,11 +5305,8 @@ export type VMPriceOSType = string; /** Known values of {@link VMTier} that the service accepts. */ export enum KnownVMTier { - /** Standard */ Standard = "Standard", - /** LowPriority */ LowPriority = "LowPriority", - /** Spot */ Spot = "Spot" } @@ -3749,7 +5323,6 @@ export type VMTier = string; /** Known values of {@link QuotaUnit} that the service accepts. */ export enum KnownQuotaUnit { - /** Count */ Count = "Count" } @@ -3764,21 +5337,13 @@ export type QuotaUnit = string; /** Known values of {@link Status} that the service accepts. */ export enum KnownStatus { - /** Undefined */ Undefined = "Undefined", - /** Success */ Success = "Success", - /** Failure */ Failure = "Failure", - /** InvalidQuotaBelowClusterMinimum */ InvalidQuotaBelowClusterMinimum = "InvalidQuotaBelowClusterMinimum", - /** InvalidQuotaExceedsSubscriptionLimit */ InvalidQuotaExceedsSubscriptionLimit = "InvalidQuotaExceedsSubscriptionLimit", - /** InvalidVMFamilyName */ InvalidVMFamilyName = "InvalidVMFamilyName", - /** OperationNotSupportedForSku */ OperationNotSupportedForSku = "OperationNotSupportedForSku", - /** OperationNotEnabledForRegion */ OperationNotEnabledForRegion = "OperationNotEnabledForRegion" } @@ -3800,25 +5365,15 @@ export type Status = string; /** Known values of {@link ComputeType} that the service accepts. */ export enum KnownComputeType { - /** AKS */ AKS = "AKS", - /** Kubernetes */ Kubernetes = "Kubernetes", - /** AmlCompute */ AmlCompute = "AmlCompute", - /** ComputeInstance */ ComputeInstance = "ComputeInstance", - /** DataFactory */ DataFactory = "DataFactory", - /** VirtualMachine */ VirtualMachine = "VirtualMachine", - /** HDInsight */ HDInsight = "HDInsight", - /** Databricks */ Databricks = "Databricks", - /** DataLakeAnalytics */ DataLakeAnalytics = "DataLakeAnalytics", - /** SynapseSpark */ SynapseSpark = "SynapseSpark" } @@ -3842,9 +5397,7 @@ export type ComputeType = string; /** Known values of {@link UnderlyingResourceAction} that the service accepts. */ export enum KnownUnderlyingResourceAction { - /** Delete */ Delete = "Delete", - /** Detach */ Detach = "Detach" } @@ -3858,19 +5411,81 @@ export enum KnownUnderlyingResourceAction { */ export type UnderlyingResourceAction = string; +/** Known values of {@link ImageType} that the service accepts. */ +export enum KnownImageType { + Docker = "docker", + Azureml = "azureml" +} + +/** + * Defines values for ImageType. \ + * {@link KnownImageType} can be used interchangeably with ImageType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **docker** \ + * **azureml** + */ +export type ImageType = string; + +/** Known values of {@link EnvironmentVariableType} that the service accepts. */ +export enum KnownEnvironmentVariableType { + Local = "local" +} + +/** + * Defines values for EnvironmentVariableType. \ + * {@link KnownEnvironmentVariableType} can be used interchangeably with EnvironmentVariableType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **local** + */ +export type EnvironmentVariableType = string; + +/** Known values of {@link Protocol} that the service accepts. */ +export enum KnownProtocol { + Tcp = "tcp", + Udp = "udp", + Http = "http" +} + +/** + * Defines values for Protocol. \ + * {@link KnownProtocol} can be used interchangeably with Protocol, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **tcp** \ + * **udp** \ + * **http** + */ +export type Protocol = string; + +/** Known values of {@link VolumeDefinitionType} that the service accepts. */ +export enum KnownVolumeDefinitionType { + Bind = "bind", + Volume = "volume", + Tmpfs = "tmpfs", + Npipe = "npipe" +} + +/** + * Defines values for VolumeDefinitionType. \ + * {@link KnownVolumeDefinitionType} can be used interchangeably with VolumeDefinitionType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **bind** \ + * **volume** \ + * **tmpfs** \ + * **npipe** + */ +export type VolumeDefinitionType = string; + /** Known values of {@link NodeState} that the service accepts. */ export enum KnownNodeState { - /** Idle */ Idle = "idle", - /** Running */ Running = "running", - /** Preparing */ Preparing = "preparing", - /** Unusable */ Unusable = "unusable", - /** Leaving */ Leaving = "leaving", - /** Preempted */ Preempted = "preempted" } @@ -3890,15 +5505,10 @@ export type NodeState = string; /** Known values of {@link ConnectionAuthType} that the service accepts. */ export enum KnownConnectionAuthType { - /** PAT */ PAT = "PAT", - /** ManagedIdentity */ ManagedIdentity = "ManagedIdentity", - /** UsernamePassword */ UsernamePassword = "UsernamePassword", - /** None */ None = "None", - /** SAS */ SAS = "SAS" } @@ -3917,11 +5527,8 @@ export type ConnectionAuthType = string; /** Known values of {@link ConnectionCategory} that the service accepts. */ export enum KnownConnectionCategory { - /** PythonFeed */ PythonFeed = "PythonFeed", - /** ContainerRegistry */ ContainerRegistry = "ContainerRegistry", - /** Git */ Git = "Git" } @@ -3938,7 +5545,6 @@ export type ConnectionCategory = string; /** Known values of {@link ValueFormat} that the service accepts. */ export enum KnownValueFormat { - /** Json */ Json = "JSON" } @@ -3953,17 +5559,11 @@ export type ValueFormat = string; /** Known values of {@link EndpointProvisioningState} that the service accepts. */ export enum KnownEndpointProvisioningState { - /** Creating */ Creating = "Creating", - /** Deleting */ Deleting = "Deleting", - /** Succeeded */ Succeeded = "Succeeded", - /** Failed */ Failed = "Failed", - /** Updating */ Updating = "Updating", - /** Canceled */ Canceled = "Canceled" } @@ -3983,11 +5583,8 @@ export type EndpointProvisioningState = string; /** Known values of {@link EndpointAuthMode} that the service accepts. */ export enum KnownEndpointAuthMode { - /** AMLToken */ AMLToken = "AMLToken", - /** Key */ Key = "Key", - /** AADToken */ AADToken = "AADToken" } @@ -4004,11 +5601,8 @@ export type EndpointAuthMode = string; /** Known values of {@link BatchLoggingLevel} that the service accepts. */ export enum KnownBatchLoggingLevel { - /** Info */ Info = "Info", - /** Warning */ Warning = "Warning", - /** Debug */ Debug = "Debug" } @@ -4025,11 +5619,8 @@ export type BatchLoggingLevel = string; /** Known values of {@link ReferenceType} that the service accepts. */ export enum KnownReferenceType { - /** Id */ Id = "Id", - /** DataPath */ DataPath = "DataPath", - /** OutputPath */ OutputPath = "OutputPath" } @@ -4046,9 +5637,7 @@ export type ReferenceType = string; /** Known values of {@link BatchOutputAction} that the service accepts. */ export enum KnownBatchOutputAction { - /** SummaryOnly */ SummaryOnly = "SummaryOnly", - /** AppendRow */ AppendRow = "AppendRow" } @@ -4064,19 +5653,12 @@ export type BatchOutputAction = string; /** Known values of {@link DeploymentProvisioningState} that the service accepts. */ export enum KnownDeploymentProvisioningState { - /** Creating */ Creating = "Creating", - /** Deleting */ Deleting = "Deleting", - /** Scaling */ Scaling = "Scaling", - /** Updating */ Updating = "Updating", - /** Succeeded */ Succeeded = "Succeeded", - /** Failed */ Failed = "Failed", - /** Canceled */ Canceled = "Canceled" } @@ -4097,11 +5679,8 @@ export type DeploymentProvisioningState = string; /** Known values of {@link ListViewType} that the service accepts. */ export enum KnownListViewType { - /** ActiveOnly */ ActiveOnly = "ActiveOnly", - /** ArchivedOnly */ ArchivedOnly = "ArchivedOnly", - /** All */ All = "All" } @@ -4118,11 +5697,8 @@ export type ListViewType = string; /** Known values of {@link DataType} that the service accepts. */ export enum KnownDataType { - /** UriFile */ UriFile = "uri_file", - /** UriFolder */ UriFolder = "uri_folder", - /** Mltable */ Mltable = "mltable" } @@ -4139,16 +5715,13 @@ export type DataType = string; /** Known values of {@link CredentialsType} that the service accepts. */ export enum KnownCredentialsType { - /** AccountKey */ AccountKey = "AccountKey", - /** Certificate */ Certificate = "Certificate", - /** None */ None = "None", - /** Sas */ Sas = "Sas", - /** ServicePrincipal */ - ServicePrincipal = "ServicePrincipal" + ServicePrincipal = "ServicePrincipal", + KerberosKeytab = "KerberosKeytab", + KerberosPassword = "KerberosPassword" } /** @@ -4160,20 +5733,19 @@ export enum KnownCredentialsType { * **Certificate** \ * **None** \ * **Sas** \ - * **ServicePrincipal** + * **ServicePrincipal** \ + * **KerberosKeytab** \ + * **KerberosPassword** */ export type CredentialsType = string; /** Known values of {@link DatastoreType} that the service accepts. */ export enum KnownDatastoreType { - /** AzureBlob */ AzureBlob = "AzureBlob", - /** AzureDataLakeGen1 */ AzureDataLakeGen1 = "AzureDataLakeGen1", - /** AzureDataLakeGen2 */ AzureDataLakeGen2 = "AzureDataLakeGen2", - /** AzureFile */ - AzureFile = "AzureFile" + AzureFile = "AzureFile", + Hdfs = "Hdfs" } /** @@ -4184,20 +5756,19 @@ export enum KnownDatastoreType { * **AzureBlob** \ * **AzureDataLakeGen1** \ * **AzureDataLakeGen2** \ - * **AzureFile** + * **AzureFile** \ + * **Hdfs** */ export type DatastoreType = string; /** Known values of {@link SecretsType} that the service accepts. */ export enum KnownSecretsType { - /** AccountKey */ AccountKey = "AccountKey", - /** Certificate */ Certificate = "Certificate", - /** Sas */ Sas = "Sas", - /** ServicePrincipal */ - ServicePrincipal = "ServicePrincipal" + ServicePrincipal = "ServicePrincipal", + KerberosPassword = "KerberosPassword", + KerberosKeytab = "KerberosKeytab" } /** @@ -4208,15 +5779,15 @@ export enum KnownSecretsType { * **AccountKey** \ * **Certificate** \ * **Sas** \ - * **ServicePrincipal** + * **ServicePrincipal** \ + * **KerberosPassword** \ + * **KerberosKeytab** */ export type SecretsType = string; /** Known values of {@link EnvironmentType} that the service accepts. */ export enum KnownEnvironmentType { - /** Curated */ Curated = "Curated", - /** UserCreated */ UserCreated = "UserCreated" } @@ -4232,9 +5803,7 @@ export type EnvironmentType = string; /** Known values of {@link OperatingSystemType} that the service accepts. */ export enum KnownOperatingSystemType { - /** Linux */ Linux = "Linux", - /** Windows */ Windows = "Windows" } @@ -4250,11 +5819,8 @@ export type OperatingSystemType = string; /** Known values of {@link IdentityConfigurationType} that the service accepts. */ export enum KnownIdentityConfigurationType { - /** Managed */ Managed = "Managed", - /** AMLToken */ AMLToken = "AMLToken", - /** UserIdentity */ UserIdentity = "UserIdentity" } @@ -4271,12 +5837,12 @@ export type IdentityConfigurationType = string; /** Known values of {@link JobType} that the service accepts. */ export enum KnownJobType { - /** Command */ + AutoML = "AutoML", Command = "Command", - /** Sweep */ + Labeling = "Labeling", Sweep = "Sweep", - /** Pipeline */ - Pipeline = "Pipeline" + Pipeline = "Pipeline", + Spark = "Spark" } /** @@ -4284,9 +5850,12 @@ export enum KnownJobType { * {@link KnownJobType} can be used interchangeably with JobType, * this enum contains the known values that the service supports. * ### Known values supported by the service + * **AutoML** \ * **Command** \ + * **Labeling** \ * **Sweep** \ - * **Pipeline** + * **Pipeline** \ + * **Spark** */ export type JobType = string; @@ -4322,7 +5891,9 @@ export enum KnownJobStatus { /** The job is paused by users. Some adjustment to labeling jobs can be made only in paused state. */ Paused = "Paused", /** Default job status if not mapped to all other statuses */ - Unknown = "Unknown" + Unknown = "Unknown", + /** The job is in a scheduled state. Job is not in any active state. */ + Scheduled = "Scheduled" } /** @@ -4344,23 +5915,109 @@ export enum KnownJobStatus { * **NotResponding**: When heartbeat is enabled, if the run isn't updating any information to RunHistory then the run goes to NotResponding state. * NotResponding is the only state that is exempt from strict transition orders. A run can go from NotResponding to any of the previous states. \ * **Paused**: The job is paused by users. Some adjustment to labeling jobs can be made only in paused state. \ - * **Unknown**: Default job status if not mapped to all other statuses + * **Unknown**: Default job status if not mapped to all other statuses \ + * **Scheduled**: The job is in a scheduled state. Job is not in any active state. */ export type JobStatus = string; -/** Known values of {@link EndpointComputeType} that the service accepts. */ -export enum KnownEndpointComputeType { - /** Managed */ - Managed = "Managed", - /** Kubernetes */ - Kubernetes = "Kubernetes", - /** AzureMLCompute */ - AzureMLCompute = "AzureMLCompute" +/** Known values of {@link MediaType} that the service accepts. */ +export enum KnownMediaType { + Image = "Image", + Text = "Text" } /** - * Defines values for EndpointComputeType. \ - * {@link KnownEndpointComputeType} can be used interchangeably with EndpointComputeType, + * Defines values for MediaType. \ + * {@link KnownMediaType} can be used interchangeably with MediaType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Image** \ + * **Text** + */ +export type MediaType = string; + +/** Known values of {@link MLAssistConfigurationType} that the service accepts. */ +export enum KnownMLAssistConfigurationType { + Enabled = "Enabled", + Disabled = "Disabled" +} + +/** + * Defines values for MLAssistConfigurationType. \ + * {@link KnownMLAssistConfigurationType} can be used interchangeably with MLAssistConfigurationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Enabled** \ + * **Disabled** + */ +export type MLAssistConfigurationType = string; + +/** Known values of {@link JobProvisioningState} that the service accepts. */ +export enum KnownJobProvisioningState { + Succeeded = "Succeeded", + Failed = "Failed", + Canceled = "Canceled", + InProgress = "InProgress" +} + +/** + * Defines values for JobProvisioningState. \ + * {@link KnownJobProvisioningState} can be used interchangeably with JobProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Succeeded** \ + * **Failed** \ + * **Canceled** \ + * **InProgress** + */ +export type JobProvisioningState = string; + +/** Known values of {@link StatusMessageLevel} that the service accepts. */ +export enum KnownStatusMessageLevel { + Error = "Error", + Information = "Information", + Warning = "Warning" +} + +/** + * Defines values for StatusMessageLevel. \ + * {@link KnownStatusMessageLevel} can be used interchangeably with StatusMessageLevel, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Error** \ + * **Information** \ + * **Warning** + */ +export type StatusMessageLevel = string; + +/** Known values of {@link ExportFormatType} that the service accepts. */ +export enum KnownExportFormatType { + Dataset = "Dataset", + Coco = "Coco", + CSV = "CSV" +} + +/** + * Defines values for ExportFormatType. \ + * {@link KnownExportFormatType} can be used interchangeably with ExportFormatType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Dataset** \ + * **Coco** \ + * **CSV** + */ +export type ExportFormatType = string; + +/** Known values of {@link EndpointComputeType} that the service accepts. */ +export enum KnownEndpointComputeType { + Managed = "Managed", + Kubernetes = "Kubernetes", + AzureMLCompute = "AzureMLCompute" +} + +/** + * Defines values for EndpointComputeType. \ + * {@link KnownEndpointComputeType} can be used interchangeably with EndpointComputeType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Managed** \ @@ -4371,13 +6028,9 @@ export type EndpointComputeType = string; /** Known values of {@link OrderString} that the service accepts. */ export enum KnownOrderString { - /** CreatedAtDesc */ CreatedAtDesc = "CreatedAtDesc", - /** CreatedAtAsc */ CreatedAtAsc = "CreatedAtAsc", - /** UpdatedAtDesc */ UpdatedAtDesc = "UpdatedAtDesc", - /** UpdatedAtAsc */ UpdatedAtAsc = "UpdatedAtAsc" } @@ -4393,11 +6046,41 @@ export enum KnownOrderString { */ export type OrderString = string; +/** Known values of {@link PublicNetworkAccessType} that the service accepts. */ +export enum KnownPublicNetworkAccessType { + Enabled = "Enabled", + Disabled = "Disabled" +} + +/** + * Defines values for PublicNetworkAccessType. \ + * {@link KnownPublicNetworkAccessType} can be used interchangeably with PublicNetworkAccessType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Enabled** \ + * **Disabled** + */ +export type PublicNetworkAccessType = string; + +/** Known values of {@link EgressPublicNetworkAccessType} that the service accepts. */ +export enum KnownEgressPublicNetworkAccessType { + Enabled = "Enabled", + Disabled = "Disabled" +} + +/** + * Defines values for EgressPublicNetworkAccessType. \ + * {@link KnownEgressPublicNetworkAccessType} can be used interchangeably with EgressPublicNetworkAccessType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Enabled** \ + * **Disabled** + */ +export type EgressPublicNetworkAccessType = string; + /** Known values of {@link ScaleType} that the service accepts. */ export enum KnownScaleType { - /** Default */ Default = "Default", - /** TargetUtilization */ TargetUtilization = "TargetUtilization" } @@ -4413,9 +6096,7 @@ export type ScaleType = string; /** Known values of {@link ContainerType} that the service accepts. */ export enum KnownContainerType { - /** StorageInitializer */ StorageInitializer = "StorageInitializer", - /** InferenceServer */ InferenceServer = "InferenceServer" } @@ -4452,9 +6133,7 @@ export type SkuScaleType = string; /** Known values of {@link KeyType} that the service accepts. */ export enum KnownKeyType { - /** Primary */ Primary = "Primary", - /** Secondary */ Secondary = "Secondary" } @@ -4468,13 +6147,66 @@ export enum KnownKeyType { */ export type KeyType = string; +/** Known values of {@link ScheduleActionType} that the service accepts. */ +export enum KnownScheduleActionType { + CreateJob = "CreateJob", + InvokeBatchEndpoint = "InvokeBatchEndpoint" +} + +/** + * Defines values for ScheduleActionType. \ + * {@link KnownScheduleActionType} can be used interchangeably with ScheduleActionType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **CreateJob** \ + * **InvokeBatchEndpoint** + */ +export type ScheduleActionType = string; + +/** Known values of {@link ScheduleProvisioningStatus} that the service accepts. */ +export enum KnownScheduleProvisioningStatus { + Creating = "Creating", + Updating = "Updating", + Deleting = "Deleting", + Succeeded = "Succeeded", + Failed = "Failed", + Canceled = "Canceled" +} + +/** + * Defines values for ScheduleProvisioningStatus. \ + * {@link KnownScheduleProvisioningStatus} can be used interchangeably with ScheduleProvisioningStatus, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Creating** \ + * **Updating** \ + * **Deleting** \ + * **Succeeded** \ + * **Failed** \ + * **Canceled** + */ +export type ScheduleProvisioningStatus = string; + +/** Known values of {@link TriggerType} that the service accepts. */ +export enum KnownTriggerType { + Recurrence = "Recurrence", + Cron = "Cron" +} + +/** + * Defines values for TriggerType. \ + * {@link KnownTriggerType} can be used interchangeably with TriggerType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Recurrence** \ + * **Cron** + */ +export type TriggerType = string; + /** Known values of {@link ClusterPurpose} that the service accepts. */ export enum KnownClusterPurpose { - /** FastProd */ FastProd = "FastProd", - /** DenseProd */ DenseProd = "DenseProd", - /** DevTest */ DevTest = "DevTest" } @@ -4491,11 +6223,8 @@ export type ClusterPurpose = string; /** Known values of {@link SslConfigStatus} that the service accepts. */ export enum KnownSslConfigStatus { - /** Disabled */ Disabled = "Disabled", - /** Enabled */ Enabled = "Enabled", - /** Auto */ Auto = "Auto" } @@ -4512,9 +6241,7 @@ export type SslConfigStatus = string; /** Known values of {@link LoadBalancerType} that the service accepts. */ export enum KnownLoadBalancerType { - /** PublicIp */ PublicIp = "PublicIp", - /** InternalLoadBalancer */ InternalLoadBalancer = "InternalLoadBalancer" } @@ -4530,9 +6257,7 @@ export type LoadBalancerType = string; /** Known values of {@link OsType} that the service accepts. */ export enum KnownOsType { - /** Linux */ Linux = "Linux", - /** Windows */ Windows = "Windows" } @@ -4548,9 +6273,7 @@ export type OsType = string; /** Known values of {@link VmPriority} that the service accepts. */ export enum KnownVmPriority { - /** Dedicated */ Dedicated = "Dedicated", - /** LowPriority */ LowPriority = "LowPriority" } @@ -4566,11 +6289,8 @@ export type VmPriority = string; /** Known values of {@link RemoteLoginPortPublicAccess} that the service accepts. */ export enum KnownRemoteLoginPortPublicAccess { - /** Enabled */ Enabled = "Enabled", - /** Disabled */ Disabled = "Disabled", - /** NotSpecified */ NotSpecified = "NotSpecified" } @@ -4587,9 +6307,7 @@ export type RemoteLoginPortPublicAccess = string; /** Known values of {@link AllocationState} that the service accepts. */ export enum KnownAllocationState { - /** Steady */ Steady = "Steady", - /** Resizing */ Resizing = "Resizing" } @@ -4605,9 +6323,7 @@ export type AllocationState = string; /** Known values of {@link ApplicationSharingPolicy} that the service accepts. */ export enum KnownApplicationSharingPolicy { - /** Personal */ Personal = "Personal", - /** Shared */ Shared = "Shared" } @@ -4623,9 +6339,7 @@ export type ApplicationSharingPolicy = string; /** Known values of {@link SshPublicAccess} that the service accepts. */ export enum KnownSshPublicAccess { - /** Enabled */ Enabled = "Enabled", - /** Disabled */ Disabled = "Disabled" } @@ -4641,35 +6355,20 @@ export type SshPublicAccess = string; /** Known values of {@link ComputeInstanceState} that the service accepts. */ export enum KnownComputeInstanceState { - /** Creating */ Creating = "Creating", - /** CreateFailed */ CreateFailed = "CreateFailed", - /** Deleting */ Deleting = "Deleting", - /** Running */ Running = "Running", - /** Restarting */ Restarting = "Restarting", - /** JobRunning */ JobRunning = "JobRunning", - /** SettingUp */ SettingUp = "SettingUp", - /** SetupFailed */ SetupFailed = "SetupFailed", - /** Starting */ Starting = "Starting", - /** Stopped */ Stopped = "Stopped", - /** Stopping */ Stopping = "Stopping", - /** UserSettingUp */ UserSettingUp = "UserSettingUp", - /** UserSetupFailed */ UserSetupFailed = "UserSetupFailed", - /** Unknown */ Unknown = "Unknown", - /** Unusable */ Unusable = "Unusable" } @@ -4698,7 +6397,6 @@ export type ComputeInstanceState = string; /** Known values of {@link ComputeInstanceAuthorizationType} that the service accepts. */ export enum KnownComputeInstanceAuthorizationType { - /** Personal */ Personal = "personal" } @@ -4713,17 +6411,11 @@ export type ComputeInstanceAuthorizationType = string; /** Known values of {@link OperationName} that the service accepts. */ export enum KnownOperationName { - /** Create */ Create = "Create", - /** Start */ Start = "Start", - /** Stop */ Stop = "Stop", - /** Restart */ Restart = "Restart", - /** Reimage */ Reimage = "Reimage", - /** Delete */ Delete = "Delete" } @@ -4743,21 +6435,13 @@ export type OperationName = string; /** Known values of {@link OperationStatus} that the service accepts. */ export enum KnownOperationStatus { - /** InProgress */ InProgress = "InProgress", - /** Succeeded */ Succeeded = "Succeeded", - /** CreateFailed */ CreateFailed = "CreateFailed", - /** StartFailed */ StartFailed = "StartFailed", - /** StopFailed */ StopFailed = "StopFailed", - /** RestartFailed */ RestartFailed = "RestartFailed", - /** ReimageFailed */ ReimageFailed = "ReimageFailed", - /** DeleteFailed */ DeleteFailed = "DeleteFailed" } @@ -4779,11 +6463,8 @@ export type OperationStatus = string; /** Known values of {@link OperationTrigger} that the service accepts. */ export enum KnownOperationTrigger { - /** User */ User = "User", - /** Schedule */ Schedule = "Schedule", - /** IdleShutdown */ IdleShutdown = "IdleShutdown" } @@ -4800,11 +6481,8 @@ export type OperationTrigger = string; /** Known values of {@link ProvisioningStatus} that the service accepts. */ export enum KnownProvisioningStatus { - /** Completed */ Completed = "Completed", - /** Provisioning */ Provisioning = "Provisioning", - /** Failed */ Failed = "Failed" } @@ -4821,9 +6499,7 @@ export type ProvisioningStatus = string; /** Known values of {@link ComputePowerAction} that the service accepts. */ export enum KnownComputePowerAction { - /** Start */ Start = "Start", - /** Stop */ Stop = "Stop" } @@ -4839,11 +6515,8 @@ export type ComputePowerAction = string; /** Known values of {@link ScheduleProvisioningState} that the service accepts. */ export enum KnownScheduleProvisioningState { - /** Completed */ Completed = "Completed", - /** Provisioning */ Provisioning = "Provisioning", - /** Failed */ Failed = "Failed" } @@ -4860,9 +6533,7 @@ export type ScheduleProvisioningState = string; /** Known values of {@link ScheduleStatus} that the service accepts. */ export enum KnownScheduleStatus { - /** Enabled */ Enabled = "Enabled", - /** Disabled */ Disabled = "Disabled" } @@ -4878,11 +6549,8 @@ export type ScheduleStatus = string; /** Known values of {@link Autosave} that the service accepts. */ export enum KnownAutosave { - /** None */ None = "None", - /** Local */ Local = "Local", - /** Remote */ Remote = "Remote" } @@ -4899,9 +6567,7 @@ export type Autosave = string; /** Known values of {@link Network} that the service accepts. */ export enum KnownNetwork { - /** Bridge */ Bridge = "Bridge", - /** Host */ Host = "Host" } @@ -4917,11 +6583,8 @@ export type Network = string; /** Known values of {@link Caching} that the service accepts. */ export enum KnownCaching { - /** None */ None = "None", - /** ReadOnly */ ReadOnly = "ReadOnly", - /** ReadWrite */ ReadWrite = "ReadWrite" } @@ -4938,9 +6601,7 @@ export type Caching = string; /** Known values of {@link StorageAccountType} that the service accepts. */ export enum KnownStorageAccountType { - /** StandardLRS */ StandardLRS = "Standard_LRS", - /** PremiumLRS */ PremiumLRS = "Premium_LRS" } @@ -4956,11 +6617,8 @@ export type StorageAccountType = string; /** Known values of {@link SourceType} that the service accepts. */ export enum KnownSourceType { - /** Dataset */ Dataset = "Dataset", - /** Datastore */ Datastore = "Datastore", - /** URI */ URI = "URI" } @@ -4977,9 +6635,7 @@ export type SourceType = string; /** Known values of {@link MountAction} that the service accepts. */ export enum KnownMountAction { - /** Mount */ Mount = "Mount", - /** Unmount */ Unmount = "Unmount" } @@ -4995,17 +6651,11 @@ export type MountAction = string; /** Known values of {@link MountState} that the service accepts. */ export enum KnownMountState { - /** MountRequested */ MountRequested = "MountRequested", - /** Mounted */ Mounted = "Mounted", - /** MountFailed */ MountFailed = "MountFailed", - /** UnmountRequested */ UnmountRequested = "UnmountRequested", - /** UnmountFailed */ UnmountFailed = "UnmountFailed", - /** Unmounted */ Unmounted = "Unmounted" } @@ -5025,17 +6675,11 @@ export type MountState = string; /** Known values of {@link InputDeliveryMode} that the service accepts. */ export enum KnownInputDeliveryMode { - /** ReadOnlyMount */ ReadOnlyMount = "ReadOnlyMount", - /** ReadWriteMount */ ReadWriteMount = "ReadWriteMount", - /** Download */ Download = "Download", - /** Direct */ Direct = "Direct", - /** EvalMount */ EvalMount = "EvalMount", - /** EvalDownload */ EvalDownload = "EvalDownload" } @@ -5053,194 +6697,1010 @@ export enum KnownInputDeliveryMode { */ export type InputDeliveryMode = string; -/** Known values of {@link OutputDeliveryMode} that the service accepts. */ -export enum KnownOutputDeliveryMode { - /** ReadWriteMount */ - ReadWriteMount = "ReadWriteMount", - /** Upload */ - Upload = "Upload" +/** Known values of {@link OutputDeliveryMode} that the service accepts. */ +export enum KnownOutputDeliveryMode { + ReadWriteMount = "ReadWriteMount", + Upload = "Upload", + Direct = "Direct" +} + +/** + * Defines values for OutputDeliveryMode. \ + * {@link KnownOutputDeliveryMode} can be used interchangeably with OutputDeliveryMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ReadWriteMount** \ + * **Upload** \ + * **Direct** + */ +export type OutputDeliveryMode = string; + +/** Known values of {@link ForecastHorizonMode} that the service accepts. */ +export enum KnownForecastHorizonMode { + /** Forecast horizon to be determined automatically. */ + Auto = "Auto", + /** Use the custom forecast horizon. */ + Custom = "Custom" +} + +/** + * Defines values for ForecastHorizonMode. \ + * {@link KnownForecastHorizonMode} can be used interchangeably with ForecastHorizonMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Auto**: Forecast horizon to be determined automatically. \ + * **Custom**: Use the custom forecast horizon. + */ +export type ForecastHorizonMode = string; + +/** Known values of {@link JobOutputType} that the service accepts. */ +export enum KnownJobOutputType { + UriFile = "uri_file", + UriFolder = "uri_folder", + Mltable = "mltable", + CustomModel = "custom_model", + MlflowModel = "mlflow_model", + TritonModel = "triton_model" +} + +/** + * Defines values for JobOutputType. \ + * {@link KnownJobOutputType} can be used interchangeably with JobOutputType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **uri_file** \ + * **uri_folder** \ + * **mltable** \ + * **custom_model** \ + * **mlflow_model** \ + * **triton_model** + */ +export type JobOutputType = string; + +/** Known values of {@link LogVerbosity} that the service accepts. */ +export enum KnownLogVerbosity { + /** No logs emitted. */ + NotSet = "NotSet", + /** Debug and above log statements logged. */ + Debug = "Debug", + /** Info and above log statements logged. */ + Info = "Info", + /** Warning and above log statements logged. */ + Warning = "Warning", + /** Error and above log statements logged. */ + Error = "Error", + /** Only critical statements logged. */ + Critical = "Critical" +} + +/** + * Defines values for LogVerbosity. \ + * {@link KnownLogVerbosity} can be used interchangeably with LogVerbosity, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **NotSet**: No logs emitted. \ + * **Debug**: Debug and above log statements logged. \ + * **Info**: Info and above log statements logged. \ + * **Warning**: Warning and above log statements logged. \ + * **Error**: Error and above log statements logged. \ + * **Critical**: Only critical statements logged. + */ +export type LogVerbosity = string; + +/** Known values of {@link TaskType} that the service accepts. */ +export enum KnownTaskType { + /** + * Classification in machine learning and statistics is a supervised learning approach in which + * the computer program learns from the data given to it and make new observations or classifications. + */ + Classification = "Classification", + /** Regression means to predict the value using the input data. Regression models are used to predict a continuous value. */ + Regression = "Regression", + /** + * Forecasting is a special kind of regression task that deals with time-series data and creates forecasting model + * that can be used to predict the near future values based on the inputs. + */ + Forecasting = "Forecasting", + /** + * Image Classification. Multi-class image classification is used when an image is classified with only a single label + * from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'. + */ + ImageClassification = "ImageClassification", + /** + * Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels + * from a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'. + */ + ImageClassificationMultilabel = "ImageClassificationMultilabel", + /** + * Image Object Detection. Object detection is used to identify objects in an image and locate each object with a + * bounding box e.g. locate all dogs and cats in an image and draw a bounding box around each. + */ + ImageObjectDetection = "ImageObjectDetection", + /** + * Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level, + * drawing a polygon around each object in the image. + */ + ImageInstanceSegmentation = "ImageInstanceSegmentation", + /** + * Text classification (also known as text tagging or text categorization) is the process of sorting texts into categories. + * Categories are mutually exclusive. + */ + TextClassification = "TextClassification", + /** Multilabel classification task assigns each sample to a group (zero or more) of target labels. */ + TextClassificationMultilabel = "TextClassificationMultilabel", + /** + * Text Named Entity Recognition a.k.a. TextNER. + * Named Entity Recognition (NER) is the ability to take free-form text and identify the occurrences of entities such as people, locations, organizations, and more. + */ + TextNER = "TextNER" +} + +/** + * Defines values for TaskType. \ + * {@link KnownTaskType} can be used interchangeably with TaskType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Classification**: Classification in machine learning and statistics is a supervised learning approach in which + * the computer program learns from the data given to it and make new observations or classifications. \ + * **Regression**: Regression means to predict the value using the input data. Regression models are used to predict a continuous value. \ + * **Forecasting**: Forecasting is a special kind of regression task that deals with time-series data and creates forecasting model + * that can be used to predict the near future values based on the inputs. \ + * **ImageClassification**: Image Classification. Multi-class image classification is used when an image is classified with only a single label + * from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'. \ + * **ImageClassificationMultilabel**: Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels + * from a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'. \ + * **ImageObjectDetection**: Image Object Detection. Object detection is used to identify objects in an image and locate each object with a + * bounding box e.g. locate all dogs and cats in an image and draw a bounding box around each. \ + * **ImageInstanceSegmentation**: Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level, + * drawing a polygon around each object in the image. \ + * **TextClassification**: Text classification (also known as text tagging or text categorization) is the process of sorting texts into categories. + * Categories are mutually exclusive. \ + * **TextClassificationMultilabel**: Multilabel classification task assigns each sample to a group (zero or more) of target labels. \ + * **TextNER**: Text Named Entity Recognition a.k.a. TextNER. + * Named Entity Recognition (NER) is the ability to take free-form text and identify the occurrences of entities such as people, locations, organizations, and more. + */ +export type TaskType = string; + +/** Known values of {@link JobInputType} that the service accepts. */ +export enum KnownJobInputType { + Literal = "literal", + UriFile = "uri_file", + UriFolder = "uri_folder", + Mltable = "mltable", + CustomModel = "custom_model", + MlflowModel = "mlflow_model", + TritonModel = "triton_model" +} + +/** + * Defines values for JobInputType. \ + * {@link KnownJobInputType} can be used interchangeably with JobInputType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **literal** \ + * **uri_file** \ + * **uri_folder** \ + * **mltable** \ + * **custom_model** \ + * **mlflow_model** \ + * **triton_model** + */ +export type JobInputType = string; + +/** Known values of {@link NCrossValidationsMode} that the service accepts. */ +export enum KnownNCrossValidationsMode { + /** Determine N-Cross validations value automatically. Supported only for 'Forecasting' AutoML task. */ + Auto = "Auto", + /** Use custom N-Cross validations value. */ + Custom = "Custom" +} + +/** + * Defines values for NCrossValidationsMode. \ + * {@link KnownNCrossValidationsMode} can be used interchangeably with NCrossValidationsMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Auto**: Determine N-Cross validations value automatically. Supported only for 'Forecasting' AutoML task. \ + * **Custom**: Use custom N-Cross validations value. + */ +export type NCrossValidationsMode = string; + +/** Known values of {@link SeasonalityMode} that the service accepts. */ +export enum KnownSeasonalityMode { + /** Seasonality to be determined automatically. */ + Auto = "Auto", + /** Use the custom seasonality value. */ + Custom = "Custom" +} + +/** + * Defines values for SeasonalityMode. \ + * {@link KnownSeasonalityMode} can be used interchangeably with SeasonalityMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Auto**: Seasonality to be determined automatically. \ + * **Custom**: Use the custom seasonality value. + */ +export type SeasonalityMode = string; + +/** Known values of {@link TargetLagsMode} that the service accepts. */ +export enum KnownTargetLagsMode { + /** Target lags to be determined automatically. */ + Auto = "Auto", + /** Use the custom target lags. */ + Custom = "Custom" +} + +/** + * Defines values for TargetLagsMode. \ + * {@link KnownTargetLagsMode} can be used interchangeably with TargetLagsMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Auto**: Target lags to be determined automatically. \ + * **Custom**: Use the custom target lags. + */ +export type TargetLagsMode = string; + +/** Known values of {@link TargetRollingWindowSizeMode} that the service accepts. */ +export enum KnownTargetRollingWindowSizeMode { + /** Determine rolling windows size automatically. */ + Auto = "Auto", + /** Use the specified rolling window size. */ + Custom = "Custom" +} + +/** + * Defines values for TargetRollingWindowSizeMode. \ + * {@link KnownTargetRollingWindowSizeMode} can be used interchangeably with TargetRollingWindowSizeMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Auto**: Determine rolling windows size automatically. \ + * **Custom**: Use the specified rolling window size. + */ +export type TargetRollingWindowSizeMode = string; + +/** Known values of {@link ServiceDataAccessAuthIdentity} that the service accepts. */ +export enum KnownServiceDataAccessAuthIdentity { + /** Do not use any identity for service data access. */ + None = "None", + /** Use the system assigned managed identity of the Workspace to authenticate service data access. */ + WorkspaceSystemAssignedIdentity = "WorkspaceSystemAssignedIdentity", + /** Use the user assigned managed identity of the Workspace to authenticate service data access. */ + WorkspaceUserAssignedIdentity = "WorkspaceUserAssignedIdentity" +} + +/** + * Defines values for ServiceDataAccessAuthIdentity. \ + * {@link KnownServiceDataAccessAuthIdentity} can be used interchangeably with ServiceDataAccessAuthIdentity, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None**: Do not use any identity for service data access. \ + * **WorkspaceSystemAssignedIdentity**: Use the system assigned managed identity of the Workspace to authenticate service data access. \ + * **WorkspaceUserAssignedIdentity**: Use the user assigned managed identity of the Workspace to authenticate service data access. + */ +export type ServiceDataAccessAuthIdentity = string; + +/** Known values of {@link EarlyTerminationPolicyType} that the service accepts. */ +export enum KnownEarlyTerminationPolicyType { + Bandit = "Bandit", + MedianStopping = "MedianStopping", + TruncationSelection = "TruncationSelection" +} + +/** + * Defines values for EarlyTerminationPolicyType. \ + * {@link KnownEarlyTerminationPolicyType} can be used interchangeably with EarlyTerminationPolicyType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Bandit** \ + * **MedianStopping** \ + * **TruncationSelection** + */ +export type EarlyTerminationPolicyType = string; + +/** Known values of {@link SamplingAlgorithmType} that the service accepts. */ +export enum KnownSamplingAlgorithmType { + Grid = "Grid", + Random = "Random", + Bayesian = "Bayesian" +} + +/** + * Defines values for SamplingAlgorithmType. \ + * {@link KnownSamplingAlgorithmType} can be used interchangeably with SamplingAlgorithmType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Grid** \ + * **Random** \ + * **Bayesian** + */ +export type SamplingAlgorithmType = string; + +/** Known values of {@link ClassificationPrimaryMetrics} that the service accepts. */ +export enum KnownClassificationPrimaryMetrics { + /** + * AUC is the Area under the curve. + * This metric represents arithmetic mean of the score for each class, + * weighted by the number of true instances in each class. + */ + AUCWeighted = "AUCWeighted", + /** Accuracy is the ratio of predictions that exactly match the true class labels. */ + Accuracy = "Accuracy", + /** + * Normalized macro recall is recall macro-averaged and normalized, so that random + * performance has a score of 0, and perfect performance has a score of 1. + */ + NormMacroRecall = "NormMacroRecall", + /** + * The arithmetic mean of the average precision score for each class, weighted by + * the number of true instances in each class. + */ + AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", + /** The arithmetic mean of precision for each class, weighted by number of true instances in each class. */ + PrecisionScoreWeighted = "PrecisionScoreWeighted" +} + +/** + * Defines values for ClassificationPrimaryMetrics. \ + * {@link KnownClassificationPrimaryMetrics} can be used interchangeably with ClassificationPrimaryMetrics, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AUCWeighted**: AUC is the Area under the curve. + * This metric represents arithmetic mean of the score for each class, + * weighted by the number of true instances in each class. \ + * **Accuracy**: Accuracy is the ratio of predictions that exactly match the true class labels. \ + * **NormMacroRecall**: Normalized macro recall is recall macro-averaged and normalized, so that random + * performance has a score of 0, and perfect performance has a score of 1. \ + * **AveragePrecisionScoreWeighted**: The arithmetic mean of the average precision score for each class, weighted by + * the number of true instances in each class. \ + * **PrecisionScoreWeighted**: The arithmetic mean of precision for each class, weighted by number of true instances in each class. + */ +export type ClassificationPrimaryMetrics = string; + +/** Known values of {@link ClassificationModels} that the service accepts. */ +export enum KnownClassificationModels { + /** + * Logistic regression is a fundamental classification technique. + * It belongs to the group of linear classifiers and is somewhat similar to polynomial and linear regression. + * Logistic regression is fast and relatively uncomplicated, and it's convenient for you to interpret the results. + * Although it's essentially a method for binary classification, it can also be applied to multiclass problems. + */ + LogisticRegression = "LogisticRegression", + /** + * SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. + */ + SGD = "SGD", + /** + * The multinomial Naive Bayes classifier is suitable for classification with discrete features (e.g., word counts for text classification). + * The multinomial distribution normally requires integer feature counts. However, in practice, fractional counts such as tf-idf may also work. + */ + MultinomialNaiveBayes = "MultinomialNaiveBayes", + /** Naive Bayes classifier for multivariate Bernoulli models. */ + BernoulliNaiveBayes = "BernoulliNaiveBayes", + /** + * A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. + * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. + */ + SVM = "SVM", + /** + * A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. + * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. + * Linear SVM performs best when input data is linear, i.e., data can be easily classified by drawing the straight line between classified values on a plotted graph. + */ + LinearSVM = "LinearSVM", + /** + * K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints + * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. + */ + KNN = "KNN", + /** + * Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. + * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. + */ + DecisionTree = "DecisionTree", + /** + * Random forest is a supervised learning algorithm. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The general idea of the bagging method is that a combination of learning models increases the overall result. + */ + RandomForest = "RandomForest", + /** Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. */ + ExtremeRandomTrees = "ExtremeRandomTrees", + /** LightGBM is a gradient boosting framework that uses tree based learning algorithms. */ + LightGBM = "LightGBM", + /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ + GradientBoosting = "GradientBoosting", + /** XGBoost: Extreme Gradient Boosting Algorithm. This algorithm is used for structured data where target column values can be divided into distinct class values. */ + XGBoostClassifier = "XGBoostClassifier" +} + +/** + * Defines values for ClassificationModels. \ + * {@link KnownClassificationModels} can be used interchangeably with ClassificationModels, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **LogisticRegression**: Logistic regression is a fundamental classification technique. + * It belongs to the group of linear classifiers and is somewhat similar to polynomial and linear regression. + * Logistic regression is fast and relatively uncomplicated, and it's convenient for you to interpret the results. + * Although it's essentially a method for binary classification, it can also be applied to multiclass problems. \ + * **SGD**: SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. \ + * **MultinomialNaiveBayes**: The multinomial Naive Bayes classifier is suitable for classification with discrete features (e.g., word counts for text classification). + * The multinomial distribution normally requires integer feature counts. However, in practice, fractional counts such as tf-idf may also work. \ + * **BernoulliNaiveBayes**: Naive Bayes classifier for multivariate Bernoulli models. \ + * **SVM**: A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. + * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. \ + * **LinearSVM**: A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. + * After giving an SVM model sets of labeled training data for each category, they're able to categorize new text. + * Linear SVM performs best when input data is linear, i.e., data can be easily classified by drawing the straight line between classified values on a plotted graph. \ + * **KNN**: K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints + * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. \ + * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. + * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. \ + * **RandomForest**: Random forest is a supervised learning algorithm. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The general idea of the bagging method is that a combination of learning models increases the overall result. \ + * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ + * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ + * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ + * **XGBoostClassifier**: XGBoost: Extreme Gradient Boosting Algorithm. This algorithm is used for structured data where target column values can be divided into distinct class values. + */ +export type ClassificationModels = string; + +/** Known values of {@link StackMetaLearnerType} that the service accepts. */ +export enum KnownStackMetaLearnerType { + None = "None", + /** Default meta-learners are LogisticRegression for classification tasks. */ + LogisticRegression = "LogisticRegression", + /** Default meta-learners are LogisticRegression for classification task when CV is on. */ + LogisticRegressionCV = "LogisticRegressionCV", + LightGBMClassifier = "LightGBMClassifier", + /** Default meta-learners are LogisticRegression for regression task. */ + ElasticNet = "ElasticNet", + /** Default meta-learners are LogisticRegression for regression task when CV is on. */ + ElasticNetCV = "ElasticNetCV", + LightGBMRegressor = "LightGBMRegressor", + LinearRegression = "LinearRegression" +} + +/** + * Defines values for StackMetaLearnerType. \ + * {@link KnownStackMetaLearnerType} can be used interchangeably with StackMetaLearnerType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **LogisticRegression**: Default meta-learners are LogisticRegression for classification tasks. \ + * **LogisticRegressionCV**: Default meta-learners are LogisticRegression for classification task when CV is on. \ + * **LightGBMClassifier** \ + * **ElasticNet**: Default meta-learners are LogisticRegression for regression task. \ + * **ElasticNetCV**: Default meta-learners are LogisticRegression for regression task when CV is on. \ + * **LightGBMRegressor** \ + * **LinearRegression** + */ +export type StackMetaLearnerType = string; + +/** Known values of {@link BlockedTransformers} that the service accepts. */ +export enum KnownBlockedTransformers { + /** Target encoding for text data. */ + TextTargetEncoder = "TextTargetEncoder", + /** Ohe hot encoding creates a binary feature transformation. */ + OneHotEncoder = "OneHotEncoder", + /** Target encoding for categorical data. */ + CatTargetEncoder = "CatTargetEncoder", + /** Tf-Idf stands for, term-frequency times inverse document-frequency. This is a common term weighting scheme for identifying information from documents. */ + TfIdf = "TfIdf", + /** Weight of Evidence encoding is a technique used to encode categorical variables. It uses the natural log of the P(1)/P(0) to create weights. */ + WoETargetEncoder = "WoETargetEncoder", + /** Label encoder converts labels/categorical variables in a numerical form. */ + LabelEncoder = "LabelEncoder", + /** Word embedding helps represents words or phrases as a vector, or a series of numbers. */ + WordEmbedding = "WordEmbedding", + /** Naive Bayes is a classified that is used for classification of discrete features that are categorically distributed. */ + NaiveBayes = "NaiveBayes", + /** Count Vectorizer converts a collection of text documents to a matrix of token counts. */ + CountVectorizer = "CountVectorizer", + /** Hashing One Hot Encoder can turn categorical variables into a limited number of new features. This is often used for high-cardinality categorical features. */ + HashOneHotEncoder = "HashOneHotEncoder" +} + +/** + * Defines values for BlockedTransformers. \ + * {@link KnownBlockedTransformers} can be used interchangeably with BlockedTransformers, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **TextTargetEncoder**: Target encoding for text data. \ + * **OneHotEncoder**: Ohe hot encoding creates a binary feature transformation. \ + * **CatTargetEncoder**: Target encoding for categorical data. \ + * **TfIdf**: Tf-Idf stands for, term-frequency times inverse document-frequency. This is a common term weighting scheme for identifying information from documents. \ + * **WoETargetEncoder**: Weight of Evidence encoding is a technique used to encode categorical variables. It uses the natural log of the P(1)\/P(0) to create weights. \ + * **LabelEncoder**: Label encoder converts labels\/categorical variables in a numerical form. \ + * **WordEmbedding**: Word embedding helps represents words or phrases as a vector, or a series of numbers. \ + * **NaiveBayes**: Naive Bayes is a classified that is used for classification of discrete features that are categorically distributed. \ + * **CountVectorizer**: Count Vectorizer converts a collection of text documents to a matrix of token counts. \ + * **HashOneHotEncoder**: Hashing One Hot Encoder can turn categorical variables into a limited number of new features. This is often used for high-cardinality categorical features. + */ +export type BlockedTransformers = string; + +/** Known values of {@link FeaturizationMode} that the service accepts. */ +export enum KnownFeaturizationMode { + /** Auto mode, system performs featurization without any custom featurization inputs. */ + Auto = "Auto", + /** Custom featurization. */ + Custom = "Custom", + /** Featurization off. 'Forecasting' task cannot use this value. */ + Off = "Off" +} + +/** + * Defines values for FeaturizationMode. \ + * {@link KnownFeaturizationMode} can be used interchangeably with FeaturizationMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Auto**: Auto mode, system performs featurization without any custom featurization inputs. \ + * **Custom**: Custom featurization. \ + * **Off**: Featurization off. 'Forecasting' task cannot use this value. + */ +export type FeaturizationMode = string; + +/** Known values of {@link DistributionType} that the service accepts. */ +export enum KnownDistributionType { + PyTorch = "PyTorch", + TensorFlow = "TensorFlow", + Mpi = "Mpi" +} + +/** + * Defines values for DistributionType. \ + * {@link KnownDistributionType} can be used interchangeably with DistributionType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **PyTorch** \ + * **TensorFlow** \ + * **Mpi** + */ +export type DistributionType = string; + +/** Known values of {@link JobLimitsType} that the service accepts. */ +export enum KnownJobLimitsType { + Command = "Command", + Sweep = "Sweep" +} + +/** + * Defines values for JobLimitsType. \ + * {@link KnownJobLimitsType} can be used interchangeably with JobLimitsType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Command** \ + * **Sweep** + */ +export type JobLimitsType = string; + +/** Known values of {@link FeatureLags} that the service accepts. */ +export enum KnownFeatureLags { + /** No feature lags generated. */ + None = "None", + /** System auto-generates feature lags. */ + Auto = "Auto" +} + +/** + * Defines values for FeatureLags. \ + * {@link KnownFeatureLags} can be used interchangeably with FeatureLags, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None**: No feature lags generated. \ + * **Auto**: System auto-generates feature lags. + */ +export type FeatureLags = string; + +/** Known values of {@link ShortSeriesHandlingConfiguration} that the service accepts. */ +export enum KnownShortSeriesHandlingConfiguration { + /** Represents no/null value. */ + None = "None", + /** Short series will be padded if there are no long series, otherwise short series will be dropped. */ + Auto = "Auto", + /** All the short series will be padded. */ + Pad = "Pad", + /** All the short series will be dropped. */ + Drop = "Drop" +} + +/** + * Defines values for ShortSeriesHandlingConfiguration. \ + * {@link KnownShortSeriesHandlingConfiguration} can be used interchangeably with ShortSeriesHandlingConfiguration, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None**: Represents no\/null value. \ + * **Auto**: Short series will be padded if there are no long series, otherwise short series will be dropped. \ + * **Pad**: All the short series will be padded. \ + * **Drop**: All the short series will be dropped. + */ +export type ShortSeriesHandlingConfiguration = string; + +/** Known values of {@link TargetAggregationFunction} that the service accepts. */ +export enum KnownTargetAggregationFunction { + /** Represent no value set. */ + None = "None", + Sum = "Sum", + Max = "Max", + Min = "Min", + Mean = "Mean" +} + +/** + * Defines values for TargetAggregationFunction. \ + * {@link KnownTargetAggregationFunction} can be used interchangeably with TargetAggregationFunction, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None**: Represent no value set. \ + * **Sum** \ + * **Max** \ + * **Min** \ + * **Mean** + */ +export type TargetAggregationFunction = string; + +/** Known values of {@link UseStl} that the service accepts. */ +export enum KnownUseStl { + /** No stl decomposition. */ + None = "None", + Season = "Season", + SeasonTrend = "SeasonTrend" +} + +/** + * Defines values for UseStl. \ + * {@link KnownUseStl} can be used interchangeably with UseStl, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None**: No stl decomposition. \ + * **Season** \ + * **SeasonTrend** + */ +export type UseStl = string; + +/** Known values of {@link ForecastingPrimaryMetrics} that the service accepts. */ +export enum KnownForecastingPrimaryMetrics { + /** The Spearman's rank coefficient of correlation is a non-parametric measure of rank correlation. */ + SpearmanCorrelation = "SpearmanCorrelation", + /** The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. */ + NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", + /** The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. */ + R2Score = "R2Score", + /** The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ + NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError" +} + +/** + * Defines values for ForecastingPrimaryMetrics. \ + * {@link KnownForecastingPrimaryMetrics} can be used interchangeably with ForecastingPrimaryMetrics, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SpearmanCorrelation**: The Spearman's rank coefficient of correlation is a non-parametric measure of rank correlation. \ + * **NormalizedRootMeanSquaredError**: The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. \ + * **R2Score**: The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. \ + * **NormalizedMeanAbsoluteError**: The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. + */ +export type ForecastingPrimaryMetrics = string; + +/** Known values of {@link ForecastingModels} that the service accepts. */ +export enum KnownForecastingModels { + /** + * Auto-Autoregressive Integrated Moving Average (ARIMA) model uses time-series data and statistical analysis to interpret the data and make future predictions. + * This model aims to explain data by using time series data on its past values and uses linear regression to make predictions. + */ + AutoArima = "AutoArima", + /** + * Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. + * It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well. + */ + Prophet = "Prophet", + /** The Naive forecasting model makes predictions by carrying forward the latest target value for each time-series in the training data. */ + Naive = "Naive", + /** The Seasonal Naive forecasting model makes predictions by carrying forward the latest season of target values for each time-series in the training data. */ + SeasonalNaive = "SeasonalNaive", + /** The Average forecasting model makes predictions by carrying forward the average of the target values for each time-series in the training data. */ + Average = "Average", + /** The Seasonal Average forecasting model makes predictions by carrying forward the average value of the latest season of data for each time-series in the training data. */ + SeasonalAverage = "SeasonalAverage", + /** Exponential smoothing is a time series forecasting method for univariate data that can be extended to support data with a systematic trend or seasonal component. */ + ExponentialSmoothing = "ExponentialSmoothing", + /** + * An Autoregressive Integrated Moving Average with Explanatory Variable (ARIMAX) model can be viewed as a multiple regression model with one or more autoregressive (AR) terms and/or one or more moving average (MA) terms. + * This method is suitable for forecasting when data is stationary/non stationary, and multivariate with any type of data pattern, i.e., level/trend /seasonality/cyclicity. + */ + Arimax = "Arimax", + /** TCNForecaster: Temporal Convolutional Networks Forecaster. //TODO: Ask forecasting team for brief intro. */ + TCNForecaster = "TCNForecaster", + /** Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. */ + ElasticNet = "ElasticNet", + /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ + GradientBoosting = "GradientBoosting", + /** + * Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. + * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. + */ + DecisionTree = "DecisionTree", + /** + * K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints + * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. + */ + KNN = "KNN", + /** Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. */ + LassoLars = "LassoLars", + /** + * SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. + * It's an inexact but powerful technique. + */ + SGD = "SGD", + /** + * Random forest is a supervised learning algorithm. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The general idea of the bagging method is that a combination of learning models increases the overall result. + */ + RandomForest = "RandomForest", + /** Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. */ + ExtremeRandomTrees = "ExtremeRandomTrees", + /** LightGBM is a gradient boosting framework that uses tree based learning algorithms. */ + LightGBM = "LightGBM", + /** XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. */ + XGBoostRegressor = "XGBoostRegressor" +} + +/** + * Defines values for ForecastingModels. \ + * {@link KnownForecastingModels} can be used interchangeably with ForecastingModels, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AutoArima**: Auto-Autoregressive Integrated Moving Average (ARIMA) model uses time-series data and statistical analysis to interpret the data and make future predictions. + * This model aims to explain data by using time series data on its past values and uses linear regression to make predictions. \ + * **Prophet**: Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. + * It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well. \ + * **Naive**: The Naive forecasting model makes predictions by carrying forward the latest target value for each time-series in the training data. \ + * **SeasonalNaive**: The Seasonal Naive forecasting model makes predictions by carrying forward the latest season of target values for each time-series in the training data. \ + * **Average**: The Average forecasting model makes predictions by carrying forward the average of the target values for each time-series in the training data. \ + * **SeasonalAverage**: The Seasonal Average forecasting model makes predictions by carrying forward the average value of the latest season of data for each time-series in the training data. \ + * **ExponentialSmoothing**: Exponential smoothing is a time series forecasting method for univariate data that can be extended to support data with a systematic trend or seasonal component. \ + * **Arimax**: An Autoregressive Integrated Moving Average with Explanatory Variable (ARIMAX) model can be viewed as a multiple regression model with one or more autoregressive (AR) terms and\/or one or more moving average (MA) terms. + * This method is suitable for forecasting when data is stationary\/non stationary, and multivariate with any type of data pattern, i.e., level\/trend \/seasonality\/cyclicity. \ + * **TCNForecaster**: TCNForecaster: Temporal Convolutional Networks Forecaster. \/\/TODO: Ask forecasting team for brief intro. \ + * **ElasticNet**: Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. \ + * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ + * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. + * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. \ + * **KNN**: K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints + * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. \ + * **LassoLars**: Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. \ + * **SGD**: SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. + * It's an inexact but powerful technique. \ + * **RandomForest**: Random forest is a supervised learning algorithm. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The general idea of the bagging method is that a combination of learning models increases the overall result. \ + * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ + * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ + * **XGBoostRegressor**: XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. + */ +export type ForecastingModels = string; + +/** Known values of {@link LearningRateScheduler} that the service accepts. */ +export enum KnownLearningRateScheduler { + /** No learning rate scheduler selected. */ + None = "None", + /** Cosine Annealing With Warmup. */ + WarmupCosine = "WarmupCosine", + /** Step learning rate scheduler. */ + Step = "Step" +} + +/** + * Defines values for LearningRateScheduler. \ + * {@link KnownLearningRateScheduler} can be used interchangeably with LearningRateScheduler, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None**: No learning rate scheduler selected. \ + * **WarmupCosine**: Cosine Annealing With Warmup. \ + * **Step**: Step learning rate scheduler. + */ +export type LearningRateScheduler = string; + +/** Known values of {@link StochasticOptimizer} that the service accepts. */ +export enum KnownStochasticOptimizer { + /** No optimizer selected. */ + None = "None", + /** Stochastic Gradient Descent optimizer. */ + Sgd = "Sgd", + /** Adam is algorithm the optimizes stochastic objective functions based on adaptive estimates of moments */ + Adam = "Adam", + /** AdamW is a variant of the optimizer Adam that has an improved implementation of weight decay. */ + Adamw = "Adamw" } /** - * Defines values for OutputDeliveryMode. \ - * {@link KnownOutputDeliveryMode} can be used interchangeably with OutputDeliveryMode, + * Defines values for StochasticOptimizer. \ + * {@link KnownStochasticOptimizer} can be used interchangeably with StochasticOptimizer, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **ReadWriteMount** \ - * **Upload** + * **None**: No optimizer selected. \ + * **Sgd**: Stochastic Gradient Descent optimizer. \ + * **Adam**: Adam is algorithm the optimizes stochastic objective functions based on adaptive estimates of moments \ + * **Adamw**: AdamW is a variant of the optimizer Adam that has an improved implementation of weight decay. */ -export type OutputDeliveryMode = string; +export type StochasticOptimizer = string; -/** Known values of {@link ServiceDataAccessAuthIdentity} that the service accepts. */ -export enum KnownServiceDataAccessAuthIdentity { - /** Do not use any identity for service data access. */ - None = "None", - /** Use the system assigned managed identity of the Workspace to authenticate service data access. */ - WorkspaceSystemAssignedIdentity = "WorkspaceSystemAssignedIdentity", - /** Use the user assigned managed identity of the Workspace to authenticate service data access. */ - WorkspaceUserAssignedIdentity = "WorkspaceUserAssignedIdentity" +/** Known values of {@link ClassificationMultilabelPrimaryMetrics} that the service accepts. */ +export enum KnownClassificationMultilabelPrimaryMetrics { + /** + * AUC is the Area under the curve. + * This metric represents arithmetic mean of the score for each class, + * weighted by the number of true instances in each class. + */ + AUCWeighted = "AUCWeighted", + /** Accuracy is the ratio of predictions that exactly match the true class labels. */ + Accuracy = "Accuracy", + /** + * Normalized macro recall is recall macro-averaged and normalized, so that random + * performance has a score of 0, and perfect performance has a score of 1. + */ + NormMacroRecall = "NormMacroRecall", + /** + * The arithmetic mean of the average precision score for each class, weighted by + * the number of true instances in each class. + */ + AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", + /** The arithmetic mean of precision for each class, weighted by number of true instances in each class. */ + PrecisionScoreWeighted = "PrecisionScoreWeighted", + /** Intersection Over Union. Intersection of predictions divided by union of predictions. */ + IOU = "IOU" } /** - * Defines values for ServiceDataAccessAuthIdentity. \ - * {@link KnownServiceDataAccessAuthIdentity} can be used interchangeably with ServiceDataAccessAuthIdentity, + * Defines values for ClassificationMultilabelPrimaryMetrics. \ + * {@link KnownClassificationMultilabelPrimaryMetrics} can be used interchangeably with ClassificationMultilabelPrimaryMetrics, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **None**: Do not use any identity for service data access. \ - * **WorkspaceSystemAssignedIdentity**: Use the system assigned managed identity of the Workspace to authenticate service data access. \ - * **WorkspaceUserAssignedIdentity**: Use the user assigned managed identity of the Workspace to authenticate service data access. + * **AUCWeighted**: AUC is the Area under the curve. + * This metric represents arithmetic mean of the score for each class, + * weighted by the number of true instances in each class. \ + * **Accuracy**: Accuracy is the ratio of predictions that exactly match the true class labels. \ + * **NormMacroRecall**: Normalized macro recall is recall macro-averaged and normalized, so that random + * performance has a score of 0, and perfect performance has a score of 1. \ + * **AveragePrecisionScoreWeighted**: The arithmetic mean of the average precision score for each class, weighted by + * the number of true instances in each class. \ + * **PrecisionScoreWeighted**: The arithmetic mean of precision for each class, weighted by number of true instances in each class. \ + * **IOU**: Intersection Over Union. Intersection of predictions divided by union of predictions. */ -export type ServiceDataAccessAuthIdentity = string; +export type ClassificationMultilabelPrimaryMetrics = string; -/** Known values of {@link EarlyTerminationPolicyType} that the service accepts. */ -export enum KnownEarlyTerminationPolicyType { - /** Bandit */ - Bandit = "Bandit", - /** MedianStopping */ - MedianStopping = "MedianStopping", - /** TruncationSelection */ - TruncationSelection = "TruncationSelection" +/** Known values of {@link InstanceSegmentationPrimaryMetrics} that the service accepts. */ +export enum KnownInstanceSegmentationPrimaryMetrics { + /** + * Mean Average Precision (MAP) is the average of AP (Average Precision). + * AP is calculated for each class and averaged to get the MAP. + */ + MeanAveragePrecision = "MeanAveragePrecision" } /** - * Defines values for EarlyTerminationPolicyType. \ - * {@link KnownEarlyTerminationPolicyType} can be used interchangeably with EarlyTerminationPolicyType, + * Defines values for InstanceSegmentationPrimaryMetrics. \ + * {@link KnownInstanceSegmentationPrimaryMetrics} can be used interchangeably with InstanceSegmentationPrimaryMetrics, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Bandit** \ - * **MedianStopping** \ - * **TruncationSelection** + * **MeanAveragePrecision**: Mean Average Precision (MAP) is the average of AP (Average Precision). + * AP is calculated for each class and averaged to get the MAP. */ -export type EarlyTerminationPolicyType = string; +export type InstanceSegmentationPrimaryMetrics = string; -/** Known values of {@link SamplingAlgorithmType} that the service accepts. */ -export enum KnownSamplingAlgorithmType { - /** Grid */ - Grid = "Grid", - /** Random */ - Random = "Random", - /** Bayesian */ - Bayesian = "Bayesian" +/** Known values of {@link ModelSize} that the service accepts. */ +export enum KnownModelSize { + /** No value selected. */ + None = "None", + /** Small size. */ + Small = "Small", + /** Medium size. */ + Medium = "Medium", + /** Large size. */ + Large = "Large", + /** Extra large size. */ + ExtraLarge = "ExtraLarge" } /** - * Defines values for SamplingAlgorithmType. \ - * {@link KnownSamplingAlgorithmType} can be used interchangeably with SamplingAlgorithmType, + * Defines values for ModelSize. \ + * {@link KnownModelSize} can be used interchangeably with ModelSize, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Grid** \ - * **Random** \ - * **Bayesian** + * **None**: No value selected. \ + * **Small**: Small size. \ + * **Medium**: Medium size. \ + * **Large**: Large size. \ + * **ExtraLarge**: Extra large size. */ -export type SamplingAlgorithmType = string; +export type ModelSize = string; -/** Known values of {@link DistributionType} that the service accepts. */ -export enum KnownDistributionType { - /** PyTorch */ - PyTorch = "PyTorch", - /** TensorFlow */ - TensorFlow = "TensorFlow", - /** Mpi */ - Mpi = "Mpi" +/** Known values of {@link ValidationMetricType} that the service accepts. */ +export enum KnownValidationMetricType { + /** No metric. */ + None = "None", + /** Coco metric. */ + Coco = "Coco", + /** Voc metric. */ + Voc = "Voc", + /** CocoVoc metric. */ + CocoVoc = "CocoVoc" } /** - * Defines values for DistributionType. \ - * {@link KnownDistributionType} can be used interchangeably with DistributionType, + * Defines values for ValidationMetricType. \ + * {@link KnownValidationMetricType} can be used interchangeably with ValidationMetricType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **PyTorch** \ - * **TensorFlow** \ - * **Mpi** + * **None**: No metric. \ + * **Coco**: Coco metric. \ + * **Voc**: Voc metric. \ + * **CocoVoc**: CocoVoc metric. */ -export type DistributionType = string; +export type ValidationMetricType = string; -/** Known values of {@link JobInputType} that the service accepts. */ -export enum KnownJobInputType { - /** Literal */ - Literal = "literal", - /** UriFile */ - UriFile = "uri_file", - /** UriFolder */ - UriFolder = "uri_folder", - /** Mltable */ - Mltable = "mltable", - /** CustomModel */ - CustomModel = "custom_model", - /** MlflowModel */ - MlflowModel = "mlflow_model", - /** TritonModel */ - TritonModel = "triton_model" +/** Known values of {@link ObjectDetectionPrimaryMetrics} that the service accepts. */ +export enum KnownObjectDetectionPrimaryMetrics { + /** + * Mean Average Precision (MAP) is the average of AP (Average Precision). + * AP is calculated for each class and averaged to get the MAP. + */ + MeanAveragePrecision = "MeanAveragePrecision" } /** - * Defines values for JobInputType. \ - * {@link KnownJobInputType} can be used interchangeably with JobInputType, + * Defines values for ObjectDetectionPrimaryMetrics. \ + * {@link KnownObjectDetectionPrimaryMetrics} can be used interchangeably with ObjectDetectionPrimaryMetrics, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **literal** \ - * **uri_file** \ - * **uri_folder** \ - * **mltable** \ - * **custom_model** \ - * **mlflow_model** \ - * **triton_model** + * **MeanAveragePrecision**: Mean Average Precision (MAP) is the average of AP (Average Precision). + * AP is calculated for each class and averaged to get the MAP. */ -export type JobInputType = string; +export type ObjectDetectionPrimaryMetrics = string; -/** Known values of {@link JobLimitsType} that the service accepts. */ -export enum KnownJobLimitsType { - /** Command */ - Command = "Command", - /** Sweep */ - Sweep = "Sweep" +/** Known values of {@link ImageAnnotationType} that the service accepts. */ +export enum KnownImageAnnotationType { + Classification = "Classification", + BoundingBox = "BoundingBox", + InstanceSegmentation = "InstanceSegmentation" } /** - * Defines values for JobLimitsType. \ - * {@link KnownJobLimitsType} can be used interchangeably with JobLimitsType, + * Defines values for ImageAnnotationType. \ + * {@link KnownImageAnnotationType} can be used interchangeably with ImageAnnotationType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Command** \ - * **Sweep** + * **Classification** \ + * **BoundingBox** \ + * **InstanceSegmentation** */ -export type JobLimitsType = string; +export type ImageAnnotationType = string; -/** Known values of {@link JobOutputType} that the service accepts. */ -export enum KnownJobOutputType { - /** UriFile */ - UriFile = "uri_file", - /** UriFolder */ - UriFolder = "uri_folder", - /** Mltable */ - Mltable = "mltable", - /** CustomModel */ - CustomModel = "custom_model", - /** MlflowModel */ - MlflowModel = "mlflow_model", - /** TritonModel */ - TritonModel = "triton_model" +/** Known values of {@link TextAnnotationType} that the service accepts. */ +export enum KnownTextAnnotationType { + Classification = "Classification", + NamedEntityRecognition = "NamedEntityRecognition" } /** - * Defines values for JobOutputType. \ - * {@link KnownJobOutputType} can be used interchangeably with JobOutputType, + * Defines values for TextAnnotationType. \ + * {@link KnownTextAnnotationType} can be used interchangeably with TextAnnotationType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **uri_file** \ - * **uri_folder** \ - * **mltable** \ - * **custom_model** \ - * **mlflow_model** \ - * **triton_model** + * **Classification** \ + * **NamedEntityRecognition** */ -export type JobOutputType = string; +export type TextAnnotationType = string; /** Known values of {@link Goal} that the service accepts. */ export enum KnownGoal { - /** Minimize */ Minimize = "Minimize", - /** Maximize */ Maximize = "Maximize" } @@ -5256,9 +7716,7 @@ export type Goal = string; /** Known values of {@link RandomSamplingAlgorithmRule} that the service accepts. */ export enum KnownRandomSamplingAlgorithmRule { - /** Random */ Random = "Random", - /** Sobol */ Sobol = "Sobol" } @@ -5271,6 +7729,168 @@ export enum KnownRandomSamplingAlgorithmRule { * **Sobol** */ export type RandomSamplingAlgorithmRule = string; + +/** Known values of {@link WeekDay} that the service accepts. */ +export enum KnownWeekDay { + /** Monday weekday */ + Monday = "Monday", + /** Tuesday weekday */ + Tuesday = "Tuesday", + /** Wednesday weekday */ + Wednesday = "Wednesday", + /** Thursday weekday */ + Thursday = "Thursday", + /** Friday weekday */ + Friday = "Friday", + /** Saturday weekday */ + Saturday = "Saturday", + /** Sunday weekday */ + Sunday = "Sunday" +} + +/** + * Defines values for WeekDay. \ + * {@link KnownWeekDay} can be used interchangeably with WeekDay, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Monday**: Monday weekday \ + * **Tuesday**: Tuesday weekday \ + * **Wednesday**: Wednesday weekday \ + * **Thursday**: Thursday weekday \ + * **Friday**: Friday weekday \ + * **Saturday**: Saturday weekday \ + * **Sunday**: Sunday weekday + */ +export type WeekDay = string; + +/** Known values of {@link RecurrenceFrequency} that the service accepts. */ +export enum KnownRecurrenceFrequency { + /** Minute frequency */ + Minute = "Minute", + /** Hour frequency */ + Hour = "Hour", + /** Day frequency */ + Day = "Day", + /** Week frequency */ + Week = "Week", + /** Month frequency */ + Month = "Month" +} + +/** + * Defines values for RecurrenceFrequency. \ + * {@link KnownRecurrenceFrequency} can be used interchangeably with RecurrenceFrequency, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Minute**: Minute frequency \ + * **Hour**: Hour frequency \ + * **Day**: Day frequency \ + * **Week**: Week frequency \ + * **Month**: Month frequency + */ +export type RecurrenceFrequency = string; + +/** Known values of {@link RegressionPrimaryMetrics} that the service accepts. */ +export enum KnownRegressionPrimaryMetrics { + /** The Spearman's rank coefficient of correlation is a nonparametric measure of rank correlation. */ + SpearmanCorrelation = "SpearmanCorrelation", + /** The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. */ + NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", + /** The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. */ + R2Score = "R2Score", + /** The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. */ + NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError" +} + +/** + * Defines values for RegressionPrimaryMetrics. \ + * {@link KnownRegressionPrimaryMetrics} can be used interchangeably with RegressionPrimaryMetrics, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SpearmanCorrelation**: The Spearman's rank coefficient of correlation is a nonparametric measure of rank correlation. \ + * **NormalizedRootMeanSquaredError**: The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales. \ + * **R2Score**: The R2 score is one of the performance evaluation measures for forecasting-based machine learning models. \ + * **NormalizedMeanAbsoluteError**: The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales. + */ +export type RegressionPrimaryMetrics = string; + +/** Known values of {@link RegressionModels} that the service accepts. */ +export enum KnownRegressionModels { + /** Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. */ + ElasticNet = "ElasticNet", + /** The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. */ + GradientBoosting = "GradientBoosting", + /** + * Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. + * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. + */ + DecisionTree = "DecisionTree", + /** + * K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints + * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. + */ + KNN = "KNN", + /** Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. */ + LassoLars = "LassoLars", + /** + * SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. + * It's an inexact but powerful technique. + */ + SGD = "SGD", + /** + * Random forest is a supervised learning algorithm. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The general idea of the bagging method is that a combination of learning models increases the overall result. + */ + RandomForest = "RandomForest", + /** Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. */ + ExtremeRandomTrees = "ExtremeRandomTrees", + /** LightGBM is a gradient boosting framework that uses tree based learning algorithms. */ + LightGBM = "LightGBM", + /** XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. */ + XGBoostRegressor = "XGBoostRegressor" +} + +/** + * Defines values for RegressionModels. \ + * {@link KnownRegressionModels} can be used interchangeably with RegressionModels, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ElasticNet**: Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions. \ + * **GradientBoosting**: The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution. \ + * **DecisionTree**: Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks. + * The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features. \ + * **KNN**: K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints + * which further means that the new data point will be assigned a value based on how closely it matches the points in the training set. \ + * **LassoLars**: Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer. \ + * **SGD**: SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications + * to find the model parameters that correspond to the best fit between predicted and actual outputs. + * It's an inexact but powerful technique. \ + * **RandomForest**: Random forest is a supervised learning algorithm. + * The "forest" it builds, is an ensemble of decision trees, usually trained with the “bagging” method. + * The general idea of the bagging method is that a combination of learning models increases the overall result. \ + * **ExtremeRandomTrees**: Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm. \ + * **LightGBM**: LightGBM is a gradient boosting framework that uses tree based learning algorithms. \ + * **XGBoostRegressor**: XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners. + */ +export type RegressionModels = string; + +/** Known values of {@link SparkJobEntryType} that the service accepts. */ +export enum KnownSparkJobEntryType { + SparkJobPythonEntry = "SparkJobPythonEntry", + SparkJobScalaEntry = "SparkJobScalaEntry" +} + +/** + * Defines values for SparkJobEntryType. \ + * {@link KnownSparkJobEntryType} can be used interchangeably with SparkJobEntryType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SparkJobPythonEntry** \ + * **SparkJobScalaEntry** + */ +export type SparkJobEntryType = string; /** Defines values for SkuTier. */ export type SkuTier = "Free" | "Basic" | "Standard" | "Premium"; @@ -5519,6 +8139,10 @@ export interface ComputeDeleteOptionalParams resumeFrom?: string; } +/** Optional parameters. */ +export interface ComputeUpdateCustomServicesOptionalParams + extends coreClient.OperationOptions {} + /** Optional parameters. */ export interface ComputeListNodesOptionalParams extends coreClient.OperationOptions {} @@ -5559,6 +8183,10 @@ export interface ComputeRestartOptionalParams resumeFrom?: string; } +/** Optional parameters. */ +export interface ComputeUpdateIdleShutdownSettingOptionalParams + extends coreClient.OperationOptions {} + /** Optional parameters. */ export interface ComputeListNextOptionalParams extends coreClient.OperationOptions { @@ -6241,6 +8869,10 @@ export interface JobsListOptionalParams extends coreClient.OperationOptions { jobType?: string; /** Jobs returned will have this tag key. */ tag?: string; + /** Indicator whether the job is scheduled job. */ + scheduled?: boolean; + /** The scheduled id for listing the job triggered from */ + scheduleId?: string; } /** Contains response data for the list operation. */ @@ -6286,11 +8918,92 @@ export interface JobsListNextOptionalParams jobType?: string; /** Jobs returned will have this tag key. */ tag?: string; + /** Indicator whether the job is scheduled job. */ + scheduled?: boolean; + /** The scheduled id for listing the job triggered from */ + scheduleId?: string; } /** Contains response data for the listNext operation. */ export type JobsListNextResponse = JobBaseResourceArmPaginatedResult; +/** Optional parameters. */ +export interface LabelingJobsListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Number of labeling jobs to return. */ + count?: number; +} + +/** Contains response data for the list operation. */ +export type LabelingJobsListResponse = LabelingJobResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface LabelingJobsDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface LabelingJobsGetOptionalParams + extends coreClient.OperationOptions { + /** Boolean value to indicate whether to include JobInstructions in response. */ + includeJobInstructions?: boolean; + /** Boolean value to indicate Whether to include LabelCategories in response. */ + includeLabelCategories?: boolean; +} + +/** Contains response data for the get operation. */ +export type LabelingJobsGetResponse = LabelingJob; + +/** Optional parameters. */ +export interface LabelingJobsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the createOrUpdate operation. */ +export type LabelingJobsCreateOrUpdateResponse = LabelingJob; + +/** Optional parameters. */ +export interface LabelingJobsExportLabelsOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the exportLabels operation. */ +export type LabelingJobsExportLabelsResponse = ExportSummaryUnion; + +/** Optional parameters. */ +export interface LabelingJobsPauseOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface LabelingJobsResumeOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface LabelingJobsListNextOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Number of labeling jobs to return. */ + count?: number; +} + +/** Contains response data for the listNext operation. */ +export type LabelingJobsListNextResponse = LabelingJobResourceArmPaginatedResult; + /** Optional parameters. */ export interface ModelContainersListOptionalParams extends coreClient.OperationOptions { @@ -6617,6 +9330,54 @@ export interface OnlineDeploymentsListSkusNextOptionalParams /** Contains response data for the listSkusNext operation. */ export type OnlineDeploymentsListSkusNextResponse = SkuResourceArmPaginatedResult; +/** Optional parameters. */ +export interface SchedulesListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; +} + +/** Contains response data for the list operation. */ +export type SchedulesListResponse = ScheduleResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface SchedulesDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface SchedulesGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type SchedulesGetResponse = Schedule; + +/** Optional parameters. */ +export interface SchedulesCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the createOrUpdate operation. */ +export type SchedulesCreateOrUpdateResponse = Schedule; + +/** Optional parameters. */ +export interface SchedulesListNextOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; +} + +/** Contains response data for the listNext operation. */ +export type SchedulesListNextResponse = ScheduleResourceArmPaginatedResult; + /** Optional parameters. */ export interface WorkspaceFeaturesListOptionalParams extends coreClient.OperationOptions {} diff --git a/sdk/machinelearning/arm-machinelearning/src/models/mappers.ts b/sdk/machinelearning/arm-machinelearning/src/models/mappers.ts index 7f42ac2198f4..e0e3c9665237 100644 --- a/sdk/machinelearning/arm-machinelearning/src/models/mappers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/models/mappers.ts @@ -688,6 +688,45 @@ export const WorkspaceUpdateParameters: coreClient.CompositeMapper = { type: { name: "String" } + }, + encryption: { + serializedName: "properties.encryption", + type: { + name: "Composite", + className: "EncryptionUpdateProperties" + } + } + } + } +}; + +export const EncryptionUpdateProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EncryptionUpdateProperties", + modelProperties: { + keyVaultProperties: { + serializedName: "keyVaultProperties", + type: { + name: "Composite", + className: "EncryptionKeyVaultUpdateProperties" + } + } + } + } +}; + +export const EncryptionKeyVaultUpdateProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EncryptionKeyVaultUpdateProperties", + modelProperties: { + keyIdentifier: { + serializedName: "keyIdentifier", + required: true, + type: { + name: "String" + } } } } @@ -1829,27 +1868,84 @@ export const ScaleSettings: coreClient.CompositeMapper = { } }; -export const AmlComputeNodesInformation: coreClient.CompositeMapper = { +export const CustomService: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlComputeNodesInformation", + className: "CustomService", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - nodes: { - serializedName: "nodes", - readOnly: true, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + image: { + serializedName: "image", + type: { + name: "Composite", + className: "Image" + } + }, + environmentVariables: { + serializedName: "environmentVariables", + type: { + name: "Dictionary", + value: { + type: { name: "Composite", className: "EnvironmentVariable" } + } + } + }, + docker: { + serializedName: "docker", + type: { + name: "Composite", + className: "Docker" + } + }, + endpoints: { + serializedName: "endpoints", type: { name: "Sequence", element: { type: { name: "Composite", - className: "AmlComputeNodeInformation" + className: "Endpoint" } } } }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + volumes: { + serializedName: "volumes", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VolumeDefinition" + } + } + } + } + } + } +}; + +export const Image: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Image", + additionalProperties: { type: { name: "Object" } }, + modelProperties: { + type: { + defaultValue: "docker", + serializedName: "type", + type: { + name: "String" + } + }, + reference: { + serializedName: "reference", type: { name: "String" } @@ -1858,51 +1954,79 @@ export const AmlComputeNodesInformation: coreClient.CompositeMapper = { } }; -export const AmlComputeNodeInformation: coreClient.CompositeMapper = { +export const EnvironmentVariable: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlComputeNodeInformation", + className: "EnvironmentVariable", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - nodeId: { - serializedName: "nodeId", - readOnly: true, + type: { + defaultValue: "local", + serializedName: "type", type: { name: "String" } }, - privateIpAddress: { - serializedName: "privateIpAddress", - readOnly: true, + value: { + serializedName: "value", + type: { + name: "String" + } + } + } + } +}; + +export const Docker: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Docker", + additionalProperties: { type: { name: "Object" } }, + modelProperties: { + privileged: { + serializedName: "privileged", nullable: true, + type: { + name: "Boolean" + } + } + } + } +}; + +export const Endpoint: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Endpoint", + modelProperties: { + protocol: { + defaultValue: "tcp", + serializedName: "protocol", type: { name: "String" } }, - publicIpAddress: { - serializedName: "publicIpAddress", - readOnly: true, - nullable: true, + name: { + serializedName: "name", type: { name: "String" } }, - port: { - serializedName: "port", - readOnly: true, + target: { + serializedName: "target", type: { name: "Number" } }, - nodeState: { - serializedName: "nodeState", - readOnly: true, + published: { + serializedName: "published", + nullable: true, type: { - name: "String" + name: "Number" } }, - runId: { - serializedName: "runId", - readOnly: true, + hostIp: { + serializedName: "hostIp", nullable: true, type: { name: "String" @@ -1912,63 +2036,91 @@ export const AmlComputeNodeInformation: coreClient.CompositeMapper = { } }; -export const NotebookAccessTokenResult: coreClient.CompositeMapper = { +export const VolumeDefinition: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NotebookAccessTokenResult", + className: "VolumeDefinition", modelProperties: { - notebookResourceId: { - serializedName: "notebookResourceId", - readOnly: true, + type: { + defaultValue: "bind", + serializedName: "type", type: { name: "String" } }, - hostName: { - serializedName: "hostName", - readOnly: true, + readOnly: { + serializedName: "readOnly", + nullable: true, type: { - name: "String" + name: "Boolean" } }, - publicDns: { - serializedName: "publicDns", - readOnly: true, + source: { + serializedName: "source", type: { name: "String" } }, - accessToken: { - serializedName: "accessToken", - readOnly: true, + target: { + serializedName: "target", type: { name: "String" } }, - tokenType: { - serializedName: "tokenType", - readOnly: true, + consistency: { + serializedName: "consistency", + nullable: true, type: { name: "String" } }, - expiresIn: { - serializedName: "expiresIn", - readOnly: true, + bind: { + serializedName: "bind", type: { - name: "Number" + name: "Composite", + className: "BindOptions" } }, - refreshToken: { - serializedName: "refreshToken", - readOnly: true, + volume: { + serializedName: "volume", + type: { + name: "Composite", + className: "VolumeOptions" + } + }, + tmpfs: { + serializedName: "tmpfs", + type: { + name: "Composite", + className: "TmpfsOptions" + } + } + } + } +}; + +export const BindOptions: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BindOptions", + modelProperties: { + propagation: { + serializedName: "propagation", + nullable: true, type: { name: "String" } }, - scope: { - serializedName: "scope", - readOnly: true, + createHostPath: { + serializedName: "createHostPath", + nullable: true, + type: { + name: "Boolean" + } + }, + selinux: { + serializedName: "selinux", + nullable: true, type: { name: "String" } @@ -1977,75 +2129,269 @@ export const NotebookAccessTokenResult: coreClient.CompositeMapper = { } }; -export const ComputeSecrets: coreClient.CompositeMapper = { +export const VolumeOptions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: { - serializedName: "computeType", - clientName: "computeType" - }, + className: "VolumeOptions", modelProperties: { - computeType: { - serializedName: "computeType", - required: true, + nocopy: { + serializedName: "nocopy", + nullable: true, type: { - name: "String" + name: "Boolean" } } } } }; -export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = { +export const TmpfsOptions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointConnectionListResult", + className: "TmpfsOptions", modelProperties: { - value: { - serializedName: "value", + size: { + serializedName: "size", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointConnection" - } - } + name: "Number" } } } } }; -export const PrivateLinkResourceListResult: coreClient.CompositeMapper = { +export const AmlComputeNodesInformation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateLinkResourceListResult", + className: "AmlComputeNodesInformation", modelProperties: { - value: { - serializedName: "value", + nodes: { + serializedName: "nodes", + readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "PrivateLinkResource" + className: "AmlComputeNodeInformation" } } } + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + type: { + name: "String" + } } } } }; -export const ListStorageAccountKeysResult: coreClient.CompositeMapper = { +export const AmlComputeNodeInformation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListStorageAccountKeysResult", + className: "AmlComputeNodeInformation", modelProperties: { - userStorageKey: { + nodeId: { + serializedName: "nodeId", + readOnly: true, + type: { + name: "String" + } + }, + privateIpAddress: { + serializedName: "privateIpAddress", + readOnly: true, + nullable: true, + type: { + name: "String" + } + }, + publicIpAddress: { + serializedName: "publicIpAddress", + readOnly: true, + nullable: true, + type: { + name: "String" + } + }, + port: { + serializedName: "port", + readOnly: true, + type: { + name: "Number" + } + }, + nodeState: { + serializedName: "nodeState", + readOnly: true, + type: { + name: "String" + } + }, + runId: { + serializedName: "runId", + readOnly: true, + nullable: true, + type: { + name: "String" + } + } + } + } +}; + +export const NotebookAccessTokenResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NotebookAccessTokenResult", + modelProperties: { + notebookResourceId: { + serializedName: "notebookResourceId", + readOnly: true, + type: { + name: "String" + } + }, + hostName: { + serializedName: "hostName", + readOnly: true, + type: { + name: "String" + } + }, + publicDns: { + serializedName: "publicDns", + readOnly: true, + type: { + name: "String" + } + }, + accessToken: { + serializedName: "accessToken", + readOnly: true, + type: { + name: "String" + } + }, + tokenType: { + serializedName: "tokenType", + readOnly: true, + type: { + name: "String" + } + }, + expiresIn: { + serializedName: "expiresIn", + readOnly: true, + type: { + name: "Number" + } + }, + refreshToken: { + serializedName: "refreshToken", + readOnly: true, + type: { + name: "String" + } + }, + scope: { + serializedName: "scope", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const ComputeSecrets: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeSecrets", + uberParent: "ComputeSecrets", + polymorphicDiscriminator: { + serializedName: "computeType", + clientName: "computeType" + }, + modelProperties: { + computeType: { + serializedName: "computeType", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const IdleShutdownSetting: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "IdleShutdownSetting", + modelProperties: { + idleTimeBeforeShutdown: { + serializedName: "idleTimeBeforeShutdown", + type: { + name: "String" + } + } + } + } +}; + +export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpointConnectionListResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection" + } + } + } + } + } + } +}; + +export const PrivateLinkResourceListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateLinkResourceListResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateLinkResource" + } + } + } + } + } + } +}; + +export const ListStorageAccountKeysResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ListStorageAccountKeysResult", + modelProperties: { + userStorageKey: { serializedName: "userStorageKey", readOnly: true, type: { @@ -3113,10 +3459,10 @@ export const JobService: coreClient.CompositeMapper = { } }; -export const ModelContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const LabelingJobResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelContainerResourceArmPaginatedResult", + className: "LabelingJobResourceArmPaginatedResult", modelProperties: { nextLink: { serializedName: "nextLink", @@ -3131,7 +3477,7 @@ export const ModelContainerResourceArmPaginatedResult: coreClient.CompositeMappe element: { type: { name: "Composite", - className: "ModelContainer" + className: "LabelingJob" } } } @@ -3140,92 +3486,389 @@ export const ModelContainerResourceArmPaginatedResult: coreClient.CompositeMappe } }; -export const ModelVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const LabelingDataConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelVersionResourceArmPaginatedResult", + className: "LabelingDataConfiguration", modelProperties: { - nextLink: { - serializedName: "nextLink", + dataId: { + serializedName: "dataId", + nullable: true, type: { name: "String" } }, - value: { - serializedName: "value", + incrementalDataRefreshEnabled: { + defaultValue: false, + serializedName: "incrementalDataRefreshEnabled", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ModelVersion" - } - } + name: "Boolean" } } } } }; -export const FlavorData: coreClient.CompositeMapper = { +export const LabelingJobInstructions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FlavorData", + className: "LabelingJobInstructions", modelProperties: { - data: { - serializedName: "data", + uri: { + serializedName: "uri", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "String" } } } } }; -export const OnlineEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const LabelCategory: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineEndpointTrackedResourceArmPaginatedResult", + className: "LabelCategory", modelProperties: { - nextLink: { - serializedName: "nextLink", + classes: { + serializedName: "classes", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "LabelClass" } } + } + }, + displayName: { + serializedName: "displayName", + nullable: true, type: { name: "String" } }, - value: { - serializedName: "value", + multiSelectEnabled: { + defaultValue: false, + serializedName: "multiSelectEnabled", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OnlineEndpoint" - } - } + name: "Boolean" } } } } }; -export const OnlineDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const LabelClass: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineDeploymentTrackedResourceArmPaginatedResult", + className: "LabelClass", modelProperties: { - nextLink: { - serializedName: "nextLink", + displayName: { + serializedName: "displayName", + nullable: true, type: { name: "String" } }, - value: { - serializedName: "value", + subclasses: { + serializedName: "subclasses", + nullable: true, type: { - name: "Sequence", + name: "Dictionary", + value: { type: { name: "Composite", className: "LabelClass" } } + } + } + } + } +}; + +export const LabelingJobMediaProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "LabelingJobMediaProperties", + uberParent: "LabelingJobMediaProperties", + polymorphicDiscriminator: { + serializedName: "mediaType", + clientName: "mediaType" + }, + modelProperties: { + mediaType: { + serializedName: "mediaType", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const MLAssistConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MLAssistConfiguration", + uberParent: "MLAssistConfiguration", + polymorphicDiscriminator: { + serializedName: "mlAssist", + clientName: "mlAssist" + }, + modelProperties: { + mlAssist: { + serializedName: "mlAssist", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const ProgressMetrics: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ProgressMetrics", + modelProperties: { + completedDatapointCount: { + serializedName: "completedDatapointCount", + readOnly: true, + nullable: true, + type: { + name: "Number" + } + }, + incrementalDataLastRefreshDateTime: { + serializedName: "incrementalDataLastRefreshDateTime", + readOnly: true, + nullable: true, + type: { + name: "DateTime" + } + }, + skippedDatapointCount: { + serializedName: "skippedDatapointCount", + readOnly: true, + nullable: true, + type: { + name: "Number" + } + }, + totalDatapointCount: { + serializedName: "totalDatapointCount", + readOnly: true, + nullable: true, + type: { + name: "Number" + } + } + } + } +}; + +export const StatusMessage: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "StatusMessage", + modelProperties: { + code: { + serializedName: "code", + readOnly: true, + nullable: true, + type: { + name: "String" + } + }, + createdDateTime: { + serializedName: "createdDateTime", + readOnly: true, + nullable: true, + type: { + name: "DateTime" + } + }, + level: { + serializedName: "level", + readOnly: true, + type: { + name: "String" + } + }, + message: { + serializedName: "message", + readOnly: true, + nullable: true, + type: { + name: "String" + } + } + } + } +}; + +export const ExportSummary: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ExportSummary", + uberParent: "ExportSummary", + polymorphicDiscriminator: { + serializedName: "format", + clientName: "format" + }, + modelProperties: { + endDateTime: { + serializedName: "endDateTime", + readOnly: true, + nullable: true, + type: { + name: "DateTime" + } + }, + exportedRowCount: { + serializedName: "exportedRowCount", + readOnly: true, + nullable: true, + type: { + name: "Number" + } + }, + format: { + serializedName: "format", + required: true, + type: { + name: "String" + } + }, + labelingJobId: { + serializedName: "labelingJobId", + readOnly: true, + nullable: true, + type: { + name: "String" + } + }, + startDateTime: { + serializedName: "startDateTime", + readOnly: true, + nullable: true, + type: { + name: "DateTime" + } + } + } + } +}; + +export const ModelContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ModelContainerResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ModelContainer" + } + } + } + } + } + } +}; + +export const ModelVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ModelVersionResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ModelVersion" + } + } + } + } + } + } +}; + +export const FlavorData: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FlavorData", + modelProperties: { + data: { + serializedName: "data", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + } + } + } +}; + +export const OnlineEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OnlineEndpointTrackedResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OnlineEndpoint" + } + } + } + } + } + } +}; + +export const OnlineDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OnlineDeploymentTrackedResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + }, + value: { + serializedName: "value", + type: { + name: "Sequence", element: { type: { name: "Composite", @@ -3591,12 +4234,102 @@ export const EndpointAuthToken: coreClient.CompositeMapper = { } }; -export const ListAmlUserFeatureResult: coreClient.CompositeMapper = { +export const ScheduleResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListAmlUserFeatureResult", + className: "ScheduleResourceArmPaginatedResult", modelProperties: { - value: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Schedule" + } + } + } + } + } + } +}; + +export const ScheduleActionBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ScheduleActionBase", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: { + serializedName: "actionType", + clientName: "actionType" + }, + modelProperties: { + actionType: { + serializedName: "actionType", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const TriggerBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TriggerBase", + uberParent: "TriggerBase", + polymorphicDiscriminator: { + serializedName: "triggerType", + clientName: "triggerType" + }, + modelProperties: { + endTime: { + serializedName: "endTime", + nullable: true, + type: { + name: "String" + } + }, + startTime: { + serializedName: "startTime", + nullable: true, + type: { + name: "String" + } + }, + timeZone: { + defaultValue: "UTC", + serializedName: "timeZone", + type: { + name: "String" + } + }, + triggerType: { + serializedName: "triggerType", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const ListAmlUserFeatureResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ListAmlUserFeatureResult", + modelProperties: { + value: { serializedName: "value", readOnly: true, type: { @@ -4294,6 +5027,19 @@ export const ComputeInstanceProperties: coreClient.CompositeMapper = { className: "ComputeInstanceSshSettings" } }, + customServices: { + serializedName: "customServices", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CustomService" + } + } + } + }, connectivityEndpoints: { serializedName: "connectivityEndpoints", type: { @@ -4377,6 +5123,12 @@ export const ComputeInstanceProperties: coreClient.CompositeMapper = { className: "ComputeSchedules" } }, + idleTimeBeforeShutdown: { + serializedName: "idleTimeBeforeShutdown", + type: { + name: "String" + } + }, enableNodePublicIp: { serializedName: "enableNodePublicIp", type: { @@ -5486,32 +6238,18 @@ export const AssetJobOutput: coreClient.CompositeMapper = { } }; -export const EarlyTerminationPolicy: coreClient.CompositeMapper = { +export const ForecastHorizon: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EarlyTerminationPolicy", - uberParent: "EarlyTerminationPolicy", + className: "ForecastHorizon", + uberParent: "ForecastHorizon", polymorphicDiscriminator: { - serializedName: "policyType", - clientName: "policyType" + serializedName: "mode", + clientName: "mode" }, modelProperties: { - delayEvaluation: { - defaultValue: 0, - serializedName: "delayEvaluation", - type: { - name: "Number" - } - }, - evaluationInterval: { - defaultValue: 0, - serializedName: "evaluationInterval", - type: { - name: "Number" - } - }, - policyType: { - serializedName: "policyType", + mode: { + serializedName: "mode", required: true, type: { name: "String" @@ -5521,18 +6259,25 @@ export const EarlyTerminationPolicy: coreClient.CompositeMapper = { } }; -export const SamplingAlgorithm: coreClient.CompositeMapper = { +export const JobOutput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SamplingAlgorithm", - uberParent: "SamplingAlgorithm", + className: "JobOutput", + uberParent: "JobOutput", polymorphicDiscriminator: { - serializedName: "samplingAlgorithmType", - clientName: "samplingAlgorithmType" + serializedName: "jobOutputType", + clientName: "jobOutputType" }, modelProperties: { - samplingAlgorithmType: { - serializedName: "samplingAlgorithmType", + description: { + serializedName: "description", + nullable: true, + type: { + name: "String" + } + }, + jobOutputType: { + serializedName: "jobOutputType", required: true, type: { name: "String" @@ -5542,22 +6287,42 @@ export const SamplingAlgorithm: coreClient.CompositeMapper = { } }; -export const DistributionConfiguration: coreClient.CompositeMapper = { +export const AutoMLVertical: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DistributionConfiguration", - uberParent: "DistributionConfiguration", + className: "AutoMLVertical", + uberParent: "AutoMLVertical", polymorphicDiscriminator: { - serializedName: "distributionType", - clientName: "distributionType" + serializedName: "taskType", + clientName: "taskType" }, modelProperties: { - distributionType: { - serializedName: "distributionType", + logVerbosity: { + serializedName: "logVerbosity", + type: { + name: "String" + } + }, + targetColumnName: { + serializedName: "targetColumnName", + nullable: true, + type: { + name: "String" + } + }, + taskType: { + serializedName: "taskType", required: true, type: { name: "String" } + }, + trainingData: { + serializedName: "trainingData", + type: { + name: "Composite", + className: "MLTableJobInput" + } } } } @@ -5591,53 +6356,39 @@ export const JobInput: coreClient.CompositeMapper = { } }; -export const JobLimits: coreClient.CompositeMapper = { +export const NCrossValidations: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobLimits", - uberParent: "JobLimits", + className: "NCrossValidations", + uberParent: "NCrossValidations", polymorphicDiscriminator: { - serializedName: "jobLimitsType", - clientName: "jobLimitsType" + serializedName: "mode", + clientName: "mode" }, modelProperties: { - jobLimitsType: { - serializedName: "jobLimitsType", + mode: { + serializedName: "mode", required: true, type: { name: "String" } - }, - timeout: { - serializedName: "timeout", - nullable: true, - type: { - name: "TimeSpan" - } } } } }; -export const JobOutput: coreClient.CompositeMapper = { +export const Seasonality: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobOutput", - uberParent: "JobOutput", + className: "Seasonality", + uberParent: "Seasonality", polymorphicDiscriminator: { - serializedName: "jobOutputType", - clientName: "jobOutputType" + serializedName: "mode", + clientName: "mode" }, modelProperties: { - description: { - serializedName: "description", - nullable: true, - type: { - name: "String" - } - }, - jobOutputType: { - serializedName: "jobOutputType", + mode: { + serializedName: "mode", required: true, type: { name: "String" @@ -5647,50 +6398,62 @@ export const JobOutput: coreClient.CompositeMapper = { } }; -export const ContainerResourceRequirements: coreClient.CompositeMapper = { +export const TargetLags: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ContainerResourceRequirements", + className: "TargetLags", + uberParent: "TargetLags", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode" + }, modelProperties: { - containerResourceLimits: { - serializedName: "containerResourceLimits", - type: { - name: "Composite", - className: "ContainerResourceSettings" - } - }, - containerResourceRequests: { - serializedName: "containerResourceRequests", + mode: { + serializedName: "mode", + required: true, type: { - name: "Composite", - className: "ContainerResourceSettings" + name: "String" } } } } }; -export const ContainerResourceSettings: coreClient.CompositeMapper = { +export const TargetRollingWindowSize: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ContainerResourceSettings", + className: "TargetRollingWindowSize", + uberParent: "TargetRollingWindowSize", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode" + }, modelProperties: { - cpu: { - serializedName: "cpu", - nullable: true, + mode: { + serializedName: "mode", + required: true, type: { name: "String" } - }, - gpu: { - serializedName: "gpu", + } + } + } +}; + +export const AzureDatastore: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AzureDatastore", + modelProperties: { + resourceGroup: { + serializedName: "resourceGroup", nullable: true, type: { name: "String" } }, - memory: { - serializedName: "memory", + subscriptionId: { + serializedName: "subscriptionId", nullable: true, type: { name: "String" @@ -5700,23 +6463,32 @@ export const ContainerResourceSettings: coreClient.CompositeMapper = { } }; -export const Objective: coreClient.CompositeMapper = { +export const EarlyTerminationPolicy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Objective", + className: "EarlyTerminationPolicy", + uberParent: "EarlyTerminationPolicy", + polymorphicDiscriminator: { + serializedName: "policyType", + clientName: "policyType" + }, modelProperties: { - goal: { - serializedName: "goal", - required: true, + delayEvaluation: { + defaultValue: 0, + serializedName: "delayEvaluation", type: { - name: "String" + name: "Number" } }, - primaryMetric: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") - }, - serializedName: "primaryMetric", + evaluationInterval: { + defaultValue: 0, + serializedName: "evaluationInterval", + type: { + name: "Number" + } + }, + policyType: { + serializedName: "policyType", required: true, type: { name: "String" @@ -5726,419 +6498,479 @@ export const Objective: coreClient.CompositeMapper = { } }; -export const TrialComponent: coreClient.CompositeMapper = { +export const SamplingAlgorithm: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TrialComponent", + className: "SamplingAlgorithm", + uberParent: "SamplingAlgorithm", + polymorphicDiscriminator: { + serializedName: "samplingAlgorithmType", + clientName: "samplingAlgorithmType" + }, modelProperties: { - codeId: { - serializedName: "codeId", - nullable: true, - type: { - name: "String" - } - }, - command: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1 - }, - serializedName: "command", - required: true, - type: { - name: "String" - } - }, - distribution: { - serializedName: "distribution", - type: { - name: "Composite", - className: "DistributionConfiguration" - } - }, - environmentId: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") - }, - serializedName: "environmentId", + samplingAlgorithmType: { + serializedName: "samplingAlgorithmType", required: true, type: { name: "String" } - }, - environmentVariables: { - serializedName: "environmentVariables", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - }, - resources: { - serializedName: "resources", - type: { - name: "Composite", - className: "ResourceConfiguration" - } } } } }; -export const PrivateEndpointConnection: coreClient.CompositeMapper = { +export const TrainingSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointConnection", + className: "TrainingSettings", modelProperties: { - ...Resource.type.modelProperties, - identity: { - serializedName: "identity", + enableDnnTraining: { + defaultValue: false, + serializedName: "enableDnnTraining", type: { - name: "Composite", - className: "ManagedServiceIdentity" + name: "Boolean" } }, - location: { - serializedName: "location", + enableModelExplainability: { + defaultValue: true, + serializedName: "enableModelExplainability", type: { - name: "String" + name: "Boolean" } }, - tags: { - serializedName: "tags", + enableOnnxCompatibleModels: { + defaultValue: false, + serializedName: "enableOnnxCompatibleModels", type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "Boolean" } }, - sku: { - serializedName: "sku", + enableStackEnsemble: { + defaultValue: true, + serializedName: "enableStackEnsemble", type: { - name: "Composite", - className: "Sku" + name: "Boolean" } }, - privateEndpoint: { - serializedName: "properties.privateEndpoint", + enableVoteEnsemble: { + defaultValue: true, + serializedName: "enableVoteEnsemble", type: { - name: "Composite", - className: "PrivateEndpoint" + name: "Boolean" } }, - privateLinkServiceConnectionState: { - serializedName: "properties.privateLinkServiceConnectionState", + ensembleModelDownloadTimeout: { + defaultValue: "PT5M", + serializedName: "ensembleModelDownloadTimeout", type: { - name: "Composite", - className: "PrivateLinkServiceConnectionState" + name: "TimeSpan" } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + stackEnsembleSettings: { + serializedName: "stackEnsembleSettings", type: { - name: "String" + name: "Composite", + className: "StackEnsembleSettings" } } } } }; -export const Workspace: coreClient.CompositeMapper = { +export const StackEnsembleSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Workspace", + className: "StackEnsembleSettings", modelProperties: { - ...Resource.type.modelProperties, - identity: { - serializedName: "identity", + stackMetaLearnerKWargs: { + serializedName: "stackMetaLearnerKWargs", + nullable: true, type: { - name: "Composite", - className: "ManagedServiceIdentity" + name: "Dictionary", + value: { type: { name: "any" } } } }, - location: { - serializedName: "location", + stackMetaLearnerTrainPercentage: { + defaultValue: 0.2, + serializedName: "stackMetaLearnerTrainPercentage", type: { - name: "String" + name: "Number" } }, - tags: { - serializedName: "tags", + stackMetaLearnerType: { + serializedName: "stackMetaLearnerType", type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "String" + } + } + } + } +}; + +export const TableVertical: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TableVertical", + modelProperties: { + cvSplitColumnNames: { + serializedName: "cvSplitColumnNames", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - sku: { - serializedName: "sku", + featurizationSettings: { + serializedName: "featurizationSettings", type: { name: "Composite", - className: "Sku" + className: "TableVerticalFeaturizationSettings" } }, - workspaceId: { - serializedName: "properties.workspaceId", - readOnly: true, + limitSettings: { + serializedName: "limitSettings", type: { - name: "String" + name: "Composite", + className: "TableVerticalLimitSettings" } }, - description: { - serializedName: "properties.description", + nCrossValidations: { + serializedName: "nCrossValidations", type: { - name: "String" + name: "Composite", + className: "NCrossValidations" } }, - friendlyName: { - serializedName: "properties.friendlyName", + testData: { + serializedName: "testData", type: { - name: "String" + name: "Composite", + className: "MLTableJobInput" } }, - keyVault: { - serializedName: "properties.keyVault", + testDataSize: { + serializedName: "testDataSize", + nullable: true, type: { - name: "String" + name: "Number" } }, - applicationInsights: { - serializedName: "properties.applicationInsights", + validationData: { + serializedName: "validationData", type: { - name: "String" + name: "Composite", + className: "MLTableJobInput" } }, - containerRegistry: { - serializedName: "properties.containerRegistry", + validationDataSize: { + serializedName: "validationDataSize", nullable: true, type: { - name: "String" + name: "Number" } }, - storageAccount: { - serializedName: "properties.storageAccount", + weightColumnName: { + serializedName: "weightColumnName", + nullable: true, type: { name: "String" } - }, - discoveryUrl: { - serializedName: "properties.discoveryUrl", + } + } + } +}; + +export const ColumnTransformer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ColumnTransformer", + modelProperties: { + fields: { + serializedName: "fields", + nullable: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + parameters: { + serializedName: "parameters", + nullable: true, type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - encryption: { - serializedName: "properties.encryption", + } + } + } +}; + +export const FeaturizationSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturizationSettings", + modelProperties: { + datasetLanguage: { + serializedName: "datasetLanguage", + nullable: true, type: { - name: "Composite", - className: "EncryptionProperty" + name: "String" } - }, - hbiWorkspace: { - defaultValue: false, - serializedName: "properties.hbiWorkspace", + } + } + } +}; + +export const TableVerticalLimitSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TableVerticalLimitSettings", + modelProperties: { + enableEarlyTermination: { + defaultValue: true, + serializedName: "enableEarlyTermination", type: { name: "Boolean" } }, - serviceProvisionedResourceGroup: { - serializedName: "properties.serviceProvisionedResourceGroup", - readOnly: true, + exitScore: { + serializedName: "exitScore", + nullable: true, type: { - name: "String" + name: "Number" } }, - privateLinkCount: { - serializedName: "properties.privateLinkCount", - readOnly: true, + maxConcurrentTrials: { + defaultValue: 1, + serializedName: "maxConcurrentTrials", type: { name: "Number" } }, - imageBuildCompute: { - serializedName: "properties.imageBuildCompute", + maxCoresPerTrial: { + defaultValue: -1, + serializedName: "maxCoresPerTrial", type: { - name: "String" + name: "Number" } }, - allowPublicAccessWhenBehindVnet: { - defaultValue: false, - serializedName: "properties.allowPublicAccessWhenBehindVnet", + maxTrials: { + defaultValue: 1000, + serializedName: "maxTrials", type: { - name: "Boolean" + name: "Number" } }, - publicNetworkAccess: { - serializedName: "properties.publicNetworkAccess", + timeout: { + defaultValue: "PT6H", + serializedName: "timeout", type: { - name: "String" + name: "TimeSpan" } }, - privateEndpointConnections: { - serializedName: "properties.privateEndpointConnections", - readOnly: true, + trialTimeout: { + defaultValue: "PT30M", + serializedName: "trialTimeout", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointConnection" - } - } + name: "TimeSpan" } - }, - sharedPrivateLinkResources: { - serializedName: "properties.sharedPrivateLinkResources", + } + } + } +}; + +export const DistributionConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DistributionConfiguration", + uberParent: "DistributionConfiguration", + polymorphicDiscriminator: { + serializedName: "distributionType", + clientName: "distributionType" + }, + modelProperties: { + distributionType: { + serializedName: "distributionType", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SharedPrivateLinkResource" - } - } + name: "String" } - }, - notebookInfo: { - serializedName: "properties.notebookInfo", + } + } + } +}; + +export const JobLimits: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JobLimits", + uberParent: "JobLimits", + polymorphicDiscriminator: { + serializedName: "jobLimitsType", + clientName: "jobLimitsType" + }, + modelProperties: { + jobLimitsType: { + serializedName: "jobLimitsType", + required: true, type: { - name: "Composite", - className: "NotebookResourceInfo" + name: "String" } }, - serviceManagedResourcesSettings: { - serializedName: "properties.serviceManagedResourcesSettings", + timeout: { + serializedName: "timeout", + nullable: true, type: { - name: "Composite", - className: "ServiceManagedResourcesSettings" + name: "TimeSpan" } - }, - primaryUserAssignedIdentity: { - serializedName: "properties.primaryUserAssignedIdentity", + } + } + } +}; + +export const ContainerResourceRequirements: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ContainerResourceRequirements", + modelProperties: { + containerResourceLimits: { + serializedName: "containerResourceLimits", type: { - name: "String" + name: "Composite", + className: "ContainerResourceSettings" } }, - tenantId: { - serializedName: "properties.tenantId", - readOnly: true, + containerResourceRequests: { + serializedName: "containerResourceRequests", type: { - name: "String" + name: "Composite", + className: "ContainerResourceSettings" } - }, - storageHnsEnabled: { - serializedName: "properties.storageHnsEnabled", - readOnly: true, + } + } + } +}; + +export const ContainerResourceSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ContainerResourceSettings", + modelProperties: { + cpu: { + serializedName: "cpu", + nullable: true, type: { - name: "Boolean" + name: "String" } }, - mlFlowTrackingUri: { - serializedName: "properties.mlFlowTrackingUri", - readOnly: true, + gpu: { + serializedName: "gpu", + nullable: true, type: { name: "String" } }, - v1LegacyMode: { - defaultValue: false, - serializedName: "properties.v1LegacyMode", + memory: { + serializedName: "memory", + nullable: true, type: { - name: "Boolean" + name: "String" } } } } }; -export const ComputeResource: coreClient.CompositeMapper = { +export const ForecastingSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeResource", + className: "ForecastingSettings", modelProperties: { - ...Resource.type.modelProperties, - ...ComputeResourceSchema.type.modelProperties, - identity: { - serializedName: "identity", + countryOrRegionForHolidays: { + serializedName: "countryOrRegionForHolidays", + nullable: true, type: { - name: "Composite", - className: "ManagedServiceIdentity" + name: "String" } }, - location: { - serializedName: "location", + cvStepSize: { + serializedName: "cvStepSize", + nullable: true, + type: { + name: "Number" + } + }, + featureLags: { + serializedName: "featureLags", type: { name: "String" } }, - tags: { - serializedName: "tags", + forecastHorizon: { + serializedName: "forecastHorizon", + type: { + name: "Composite", + className: "ForecastHorizon" + } + }, + frequency: { + serializedName: "frequency", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "String" } }, - sku: { - serializedName: "sku", + seasonality: { + serializedName: "seasonality", type: { name: "Composite", - className: "Sku" + className: "Seasonality" } - } - } - } -}; - -export const PrivateLinkResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PrivateLinkResource", - modelProperties: { - ...Resource.type.modelProperties, - identity: { - serializedName: "identity", + }, + shortSeriesHandlingConfig: { + serializedName: "shortSeriesHandlingConfig", type: { - name: "Composite", - className: "ManagedServiceIdentity" + name: "String" } }, - location: { - serializedName: "location", + targetAggregateFunction: { + serializedName: "targetAggregateFunction", type: { name: "String" } }, - tags: { - serializedName: "tags", + targetLags: { + serializedName: "targetLags", type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "Composite", + className: "TargetLags" } }, - sku: { - serializedName: "sku", + targetRollingWindowSize: { + serializedName: "targetRollingWindowSize", type: { name: "Composite", - className: "Sku" + className: "TargetRollingWindowSize" } }, - groupId: { - serializedName: "properties.groupId", - readOnly: true, + timeColumnName: { + serializedName: "timeColumnName", + nullable: true, type: { name: "String" } }, - requiredMembers: { - serializedName: "properties.requiredMembers", - readOnly: true, + timeSeriesIdColumnNames: { + serializedName: "timeSeriesIdColumnNames", + nullable: true, type: { name: "Sequence", element: { @@ -6148,567 +6980,2678 @@ export const PrivateLinkResource: coreClient.CompositeMapper = { } } }, - requiredZoneNames: { - serializedName: "properties.requiredZoneNames", + useStl: { + serializedName: "useStl", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } } } } }; -export const WorkspaceConnectionPropertiesV2BasicResource: coreClient.CompositeMapper = { +export const ImageModelSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionPropertiesV2BasicResource", + className: "ImageModelSettings", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + advancedSettings: { + serializedName: "advancedSettings", + nullable: true, type: { - name: "Composite", - className: "WorkspaceConnectionPropertiesV2" + name: "String" } - } - } - } -}; - -export const TrackedResource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TrackedResource", - modelProperties: { - ...Resource.type.modelProperties, - tags: { - serializedName: "tags", + }, + amsGradient: { + serializedName: "amsGradient", + nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "Boolean" } }, - location: { - serializedName: "location", - required: true, + augmentations: { + serializedName: "augmentations", + nullable: true, type: { name: "String" } - } - } - } -}; - -export const CodeContainer: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CodeContainer", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + }, + beta1: { + serializedName: "beta1", + nullable: true, type: { - name: "Composite", - className: "CodeContainerProperties" + name: "Number" } - } - } - } -}; - -export const CodeVersion: coreClient.CompositeMapper = { - type: { - name: "Composite", + }, + beta2: { + serializedName: "beta2", + nullable: true, + type: { + name: "Number" + } + }, + checkpointFrequency: { + serializedName: "checkpointFrequency", + nullable: true, + type: { + name: "Number" + } + }, + checkpointModel: { + serializedName: "checkpointModel", + type: { + name: "Composite", + className: "MLFlowModelJobInput" + } + }, + checkpointRunId: { + serializedName: "checkpointRunId", + nullable: true, + type: { + name: "String" + } + }, + distributed: { + serializedName: "distributed", + nullable: true, + type: { + name: "Boolean" + } + }, + earlyStopping: { + serializedName: "earlyStopping", + nullable: true, + type: { + name: "Boolean" + } + }, + earlyStoppingDelay: { + serializedName: "earlyStoppingDelay", + nullable: true, + type: { + name: "Number" + } + }, + earlyStoppingPatience: { + serializedName: "earlyStoppingPatience", + nullable: true, + type: { + name: "Number" + } + }, + enableOnnxNormalization: { + serializedName: "enableOnnxNormalization", + nullable: true, + type: { + name: "Boolean" + } + }, + evaluationFrequency: { + serializedName: "evaluationFrequency", + nullable: true, + type: { + name: "Number" + } + }, + gradientAccumulationStep: { + serializedName: "gradientAccumulationStep", + nullable: true, + type: { + name: "Number" + } + }, + layersToFreeze: { + serializedName: "layersToFreeze", + nullable: true, + type: { + name: "Number" + } + }, + learningRate: { + serializedName: "learningRate", + nullable: true, + type: { + name: "Number" + } + }, + learningRateScheduler: { + serializedName: "learningRateScheduler", + type: { + name: "String" + } + }, + modelName: { + serializedName: "modelName", + nullable: true, + type: { + name: "String" + } + }, + momentum: { + serializedName: "momentum", + nullable: true, + type: { + name: "Number" + } + }, + nesterov: { + serializedName: "nesterov", + nullable: true, + type: { + name: "Boolean" + } + }, + numberOfEpochs: { + serializedName: "numberOfEpochs", + nullable: true, + type: { + name: "Number" + } + }, + numberOfWorkers: { + serializedName: "numberOfWorkers", + nullable: true, + type: { + name: "Number" + } + }, + optimizer: { + serializedName: "optimizer", + type: { + name: "String" + } + }, + randomSeed: { + serializedName: "randomSeed", + nullable: true, + type: { + name: "Number" + } + }, + stepLRGamma: { + serializedName: "stepLRGamma", + nullable: true, + type: { + name: "Number" + } + }, + stepLRStepSize: { + serializedName: "stepLRStepSize", + nullable: true, + type: { + name: "Number" + } + }, + trainingBatchSize: { + serializedName: "trainingBatchSize", + nullable: true, + type: { + name: "Number" + } + }, + validationBatchSize: { + serializedName: "validationBatchSize", + nullable: true, + type: { + name: "Number" + } + }, + warmupCosineLRCycles: { + serializedName: "warmupCosineLRCycles", + nullable: true, + type: { + name: "Number" + } + }, + warmupCosineLRWarmupEpochs: { + serializedName: "warmupCosineLRWarmupEpochs", + nullable: true, + type: { + name: "Number" + } + }, + weightDecay: { + serializedName: "weightDecay", + nullable: true, + type: { + name: "Number" + } + } + } + } +}; + +export const ImageModelDistributionSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageModelDistributionSettings", + modelProperties: { + amsGradient: { + serializedName: "amsGradient", + nullable: true, + type: { + name: "String" + } + }, + augmentations: { + serializedName: "augmentations", + nullable: true, + type: { + name: "String" + } + }, + beta1: { + serializedName: "beta1", + nullable: true, + type: { + name: "String" + } + }, + beta2: { + serializedName: "beta2", + nullable: true, + type: { + name: "String" + } + }, + distributed: { + serializedName: "distributed", + nullable: true, + type: { + name: "String" + } + }, + earlyStopping: { + serializedName: "earlyStopping", + nullable: true, + type: { + name: "String" + } + }, + earlyStoppingDelay: { + serializedName: "earlyStoppingDelay", + nullable: true, + type: { + name: "String" + } + }, + earlyStoppingPatience: { + serializedName: "earlyStoppingPatience", + nullable: true, + type: { + name: "String" + } + }, + enableOnnxNormalization: { + serializedName: "enableOnnxNormalization", + nullable: true, + type: { + name: "String" + } + }, + evaluationFrequency: { + serializedName: "evaluationFrequency", + nullable: true, + type: { + name: "String" + } + }, + gradientAccumulationStep: { + serializedName: "gradientAccumulationStep", + nullable: true, + type: { + name: "String" + } + }, + layersToFreeze: { + serializedName: "layersToFreeze", + nullable: true, + type: { + name: "String" + } + }, + learningRate: { + serializedName: "learningRate", + nullable: true, + type: { + name: "String" + } + }, + learningRateScheduler: { + serializedName: "learningRateScheduler", + nullable: true, + type: { + name: "String" + } + }, + modelName: { + serializedName: "modelName", + nullable: true, + type: { + name: "String" + } + }, + momentum: { + serializedName: "momentum", + nullable: true, + type: { + name: "String" + } + }, + nesterov: { + serializedName: "nesterov", + nullable: true, + type: { + name: "String" + } + }, + numberOfEpochs: { + serializedName: "numberOfEpochs", + nullable: true, + type: { + name: "String" + } + }, + numberOfWorkers: { + serializedName: "numberOfWorkers", + nullable: true, + type: { + name: "String" + } + }, + optimizer: { + serializedName: "optimizer", + nullable: true, + type: { + name: "String" + } + }, + randomSeed: { + serializedName: "randomSeed", + nullable: true, + type: { + name: "String" + } + }, + stepLRGamma: { + serializedName: "stepLRGamma", + nullable: true, + type: { + name: "String" + } + }, + stepLRStepSize: { + serializedName: "stepLRStepSize", + nullable: true, + type: { + name: "String" + } + }, + trainingBatchSize: { + serializedName: "trainingBatchSize", + nullable: true, + type: { + name: "String" + } + }, + validationBatchSize: { + serializedName: "validationBatchSize", + nullable: true, + type: { + name: "String" + } + }, + warmupCosineLRCycles: { + serializedName: "warmupCosineLRCycles", + nullable: true, + type: { + name: "String" + } + }, + warmupCosineLRWarmupEpochs: { + serializedName: "warmupCosineLRWarmupEpochs", + nullable: true, + type: { + name: "String" + } + }, + weightDecay: { + serializedName: "weightDecay", + nullable: true, + type: { + name: "String" + } + } + } + } +}; + +export const ImageVertical: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageVertical", + modelProperties: { + limitSettings: { + serializedName: "limitSettings", + type: { + name: "Composite", + className: "ImageLimitSettings" + } + }, + sweepSettings: { + serializedName: "sweepSettings", + type: { + name: "Composite", + className: "ImageSweepSettings" + } + }, + validationData: { + serializedName: "validationData", + type: { + name: "Composite", + className: "MLTableJobInput" + } + }, + validationDataSize: { + serializedName: "validationDataSize", + nullable: true, + type: { + name: "Number" + } + } + } + } +}; + +export const ImageLimitSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageLimitSettings", + modelProperties: { + maxConcurrentTrials: { + defaultValue: 1, + serializedName: "maxConcurrentTrials", + type: { + name: "Number" + } + }, + maxTrials: { + defaultValue: 1, + serializedName: "maxTrials", + type: { + name: "Number" + } + }, + timeout: { + defaultValue: "P7D", + serializedName: "timeout", + type: { + name: "TimeSpan" + } + } + } + } +}; + +export const ImageSweepSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageSweepSettings", + modelProperties: { + earlyTermination: { + serializedName: "earlyTermination", + type: { + name: "Composite", + className: "EarlyTerminationPolicy" + } + }, + limits: { + serializedName: "limits", + type: { + name: "Composite", + className: "ImageSweepLimitSettings" + } + }, + samplingAlgorithm: { + serializedName: "samplingAlgorithm", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const ImageSweepLimitSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageSweepLimitSettings", + modelProperties: { + maxConcurrentTrials: { + serializedName: "maxConcurrentTrials", + nullable: true, + type: { + name: "Number" + } + }, + maxTrials: { + serializedName: "maxTrials", + nullable: true, + type: { + name: "Number" + } + } + } + } +}; + +export const KerberosCredentials: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "KerberosCredentials", + modelProperties: { + kerberosKdcAddress: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "kerberosKdcAddress", + required: true, + type: { + name: "String" + } + }, + kerberosPrincipal: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "kerberosPrincipal", + required: true, + type: { + name: "String" + } + }, + kerberosRealm: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "kerberosRealm", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const NlpVertical: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NlpVertical", + modelProperties: { + featurizationSettings: { + serializedName: "featurizationSettings", + type: { + name: "Composite", + className: "NlpVerticalFeaturizationSettings" + } + }, + limitSettings: { + serializedName: "limitSettings", + type: { + name: "Composite", + className: "NlpVerticalLimitSettings" + } + }, + validationData: { + serializedName: "validationData", + type: { + name: "Composite", + className: "MLTableJobInput" + } + } + } + } +}; + +export const NlpVerticalLimitSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NlpVerticalLimitSettings", + modelProperties: { + maxConcurrentTrials: { + defaultValue: 1, + serializedName: "maxConcurrentTrials", + type: { + name: "Number" + } + }, + maxTrials: { + defaultValue: 1, + serializedName: "maxTrials", + type: { + name: "Number" + } + }, + timeout: { + serializedName: "timeout", + type: { + name: "TimeSpan" + } + } + } + } +}; + +export const Objective: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Objective", + modelProperties: { + goal: { + serializedName: "goal", + required: true, + type: { + name: "String" + } + }, + primaryMetric: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "primaryMetric", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const RecurrenceSchedule: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RecurrenceSchedule", + modelProperties: { + hours: { + serializedName: "hours", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Number" + } + } + } + }, + minutes: { + serializedName: "minutes", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Number" + } + } + } + }, + weekDays: { + serializedName: "weekDays", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const SparkJobEntry: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SparkJobEntry", + uberParent: "SparkJobEntry", + polymorphicDiscriminator: { + serializedName: "sparkJobEntryType", + clientName: "sparkJobEntryType" + }, + modelProperties: { + sparkJobEntryType: { + serializedName: "sparkJobEntryType", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const SparkResourceConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SparkResourceConfiguration", + modelProperties: { + instanceType: { + serializedName: "instanceType", + nullable: true, + type: { + name: "String" + } + }, + runtimeVersion: { + defaultValue: "3.1", + serializedName: "runtimeVersion", + type: { + name: "String" + } + } + } + } +}; + +export const TrialComponent: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TrialComponent", + modelProperties: { + codeId: { + serializedName: "codeId", + nullable: true, + type: { + name: "String" + } + }, + command: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1 + }, + serializedName: "command", + required: true, + type: { + name: "String" + } + }, + distribution: { + serializedName: "distribution", + type: { + name: "Composite", + className: "DistributionConfiguration" + } + }, + environmentId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "environmentId", + required: true, + type: { + name: "String" + } + }, + environmentVariables: { + serializedName: "environmentVariables", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + resources: { + serializedName: "resources", + type: { + name: "Composite", + className: "JobResourceConfiguration" + } + } + } + } +}; + +export const PrivateEndpointConnection: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpointConnection", + modelProperties: { + ...Resource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity" + } + }, + location: { + serializedName: "location", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } + }, + privateEndpoint: { + serializedName: "properties.privateEndpoint", + type: { + name: "Composite", + className: "PrivateEndpoint" + } + }, + privateLinkServiceConnectionState: { + serializedName: "properties.privateLinkServiceConnectionState", + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionState" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const Workspace: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Workspace", + modelProperties: { + ...Resource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity" + } + }, + location: { + serializedName: "location", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } + }, + workspaceId: { + serializedName: "properties.workspaceId", + readOnly: true, + type: { + name: "String" + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + }, + friendlyName: { + serializedName: "properties.friendlyName", + type: { + name: "String" + } + }, + keyVault: { + serializedName: "properties.keyVault", + type: { + name: "String" + } + }, + applicationInsights: { + serializedName: "properties.applicationInsights", + type: { + name: "String" + } + }, + containerRegistry: { + serializedName: "properties.containerRegistry", + nullable: true, + type: { + name: "String" + } + }, + storageAccount: { + serializedName: "properties.storageAccount", + type: { + name: "String" + } + }, + discoveryUrl: { + serializedName: "properties.discoveryUrl", + type: { + name: "String" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + }, + encryption: { + serializedName: "properties.encryption", + type: { + name: "Composite", + className: "EncryptionProperty" + } + }, + hbiWorkspace: { + defaultValue: false, + serializedName: "properties.hbiWorkspace", + type: { + name: "Boolean" + } + }, + serviceProvisionedResourceGroup: { + serializedName: "properties.serviceProvisionedResourceGroup", + readOnly: true, + type: { + name: "String" + } + }, + privateLinkCount: { + serializedName: "properties.privateLinkCount", + readOnly: true, + type: { + name: "Number" + } + }, + imageBuildCompute: { + serializedName: "properties.imageBuildCompute", + type: { + name: "String" + } + }, + allowPublicAccessWhenBehindVnet: { + defaultValue: false, + serializedName: "properties.allowPublicAccessWhenBehindVnet", + type: { + name: "Boolean" + } + }, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", + type: { + name: "String" + } + }, + privateEndpointConnections: { + serializedName: "properties.privateEndpointConnections", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection" + } + } + } + }, + sharedPrivateLinkResources: { + serializedName: "properties.sharedPrivateLinkResources", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SharedPrivateLinkResource" + } + } + } + }, + notebookInfo: { + serializedName: "properties.notebookInfo", + type: { + name: "Composite", + className: "NotebookResourceInfo" + } + }, + serviceManagedResourcesSettings: { + serializedName: "properties.serviceManagedResourcesSettings", + type: { + name: "Composite", + className: "ServiceManagedResourcesSettings" + } + }, + primaryUserAssignedIdentity: { + serializedName: "properties.primaryUserAssignedIdentity", + type: { + name: "String" + } + }, + tenantId: { + serializedName: "properties.tenantId", + readOnly: true, + type: { + name: "String" + } + }, + storageHnsEnabled: { + serializedName: "properties.storageHnsEnabled", + readOnly: true, + type: { + name: "Boolean" + } + }, + mlFlowTrackingUri: { + serializedName: "properties.mlFlowTrackingUri", + readOnly: true, + type: { + name: "String" + } + }, + v1LegacyMode: { + defaultValue: false, + serializedName: "properties.v1LegacyMode", + type: { + name: "Boolean" + } + } + } + } +}; + +export const ComputeResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeResource", + modelProperties: { + ...Resource.type.modelProperties, + ...ComputeResourceSchema.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity" + } + }, + location: { + serializedName: "location", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } + } + } + } +}; + +export const PrivateLinkResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateLinkResource", + modelProperties: { + ...Resource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity" + } + }, + location: { + serializedName: "location", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } + }, + groupId: { + serializedName: "properties.groupId", + readOnly: true, + type: { + name: "String" + } + }, + requiredMembers: { + serializedName: "properties.requiredMembers", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + requiredZoneNames: { + serializedName: "properties.requiredZoneNames", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const WorkspaceConnectionPropertiesV2BasicResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionPropertiesV2BasicResource", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "WorkspaceConnectionPropertiesV2" + } + } + } + } +}; + +export const TrackedResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TrackedResource", + modelProperties: { + ...Resource.type.modelProperties, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + location: { + serializedName: "location", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const CodeContainer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CodeContainer", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "CodeContainerProperties" + } + } + } + } +}; + +export const CodeVersion: coreClient.CompositeMapper = { + type: { + name: "Composite", className: "CodeVersion", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "CodeVersionProperties" + } + } + } + } +}; + +export const ComponentContainer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComponentContainer", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ComponentContainerProperties" + } + } + } + } +}; + +export const ComponentVersion: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComponentVersion", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ComponentVersionProperties" + } + } + } + } +}; + +export const DataContainer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataContainer", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "DataContainerProperties" + } + } + } + } +}; + +export const DataVersionBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataVersionBase", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "DataVersionBaseProperties" + } + } + } + } +}; + +export const Datastore: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Datastore", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "DatastoreProperties" + } + } + } + } +}; + +export const EnvironmentContainer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EnvironmentContainer", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "EnvironmentContainerProperties" + } + } + } + } +}; + +export const EnvironmentVersion: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EnvironmentVersion", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "EnvironmentVersionProperties" + } + } + } + } +}; + +export const JobBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JobBase", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "JobBaseProperties" + } + } + } + } +}; + +export const LabelingJob: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "LabelingJob", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "LabelingJobProperties" + } + } + } + } +}; + +export const ModelContainer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ModelContainer", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ModelContainerProperties" + } + } + } + } +}; + +export const ModelVersion: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ModelVersion", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ModelVersionProperties" + } + } + } + } +}; + +export const Schedule: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Schedule", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ScheduleProperties" + } + } + } + } +}; + +export const Aks: coreClient.CompositeMapper = { + serializedName: "AKS", + type: { + name: "Composite", + className: "Aks", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...AKSSchema.type.modelProperties + } + } +}; + +export const Kubernetes: coreClient.CompositeMapper = { + serializedName: "Kubernetes", + type: { + name: "Composite", + className: "Kubernetes", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...KubernetesSchema.type.modelProperties + } + } +}; + +export const AmlCompute: coreClient.CompositeMapper = { + serializedName: "AmlCompute", + type: { + name: "Composite", + className: "AmlCompute", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...AmlComputeSchema.type.modelProperties + } + } +}; + +export const ComputeInstance: coreClient.CompositeMapper = { + serializedName: "ComputeInstance", + type: { + name: "Composite", + className: "ComputeInstance", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...ComputeInstanceSchema.type.modelProperties + } + } +}; + +export const VirtualMachine: coreClient.CompositeMapper = { + serializedName: "VirtualMachine", + type: { + name: "Composite", + className: "VirtualMachine", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...VirtualMachineSchema.type.modelProperties + } + } +}; + +export const HDInsight: coreClient.CompositeMapper = { + serializedName: "HDInsight", + type: { + name: "Composite", + className: "HDInsight", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...HDInsightSchema.type.modelProperties + } + } +}; + +export const DataFactory: coreClient.CompositeMapper = { + serializedName: "DataFactory", + type: { + name: "Composite", + className: "DataFactory", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties + } + } +}; + +export const Databricks: coreClient.CompositeMapper = { + serializedName: "Databricks", + type: { + name: "Composite", + className: "Databricks", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...DatabricksSchema.type.modelProperties + } + } +}; + +export const DataLakeAnalytics: coreClient.CompositeMapper = { + serializedName: "DataLakeAnalytics", + type: { + name: "Composite", + className: "DataLakeAnalytics", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + ...DataLakeAnalyticsSchema.type.modelProperties + } + } +}; + +export const SynapseSpark: coreClient.CompositeMapper = { + serializedName: "SynapseSpark", + type: { + name: "Composite", + className: "SynapseSpark", + uberParent: "Compute", + polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + modelProperties: { + ...Compute.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "SynapseSparkProperties" + } + } + } + } +}; + +export const AksComputeSecrets: coreClient.CompositeMapper = { + serializedName: "AKS", + type: { + name: "Composite", + className: "AksComputeSecrets", + uberParent: "ComputeSecrets", + polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + modelProperties: { + ...ComputeSecrets.type.modelProperties, + ...AksComputeSecretsProperties.type.modelProperties + } + } +}; + +export const VirtualMachineSecrets: coreClient.CompositeMapper = { + serializedName: "VirtualMachine", + type: { + name: "Composite", + className: "VirtualMachineSecrets", + uberParent: "ComputeSecrets", + polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + modelProperties: { + ...ComputeSecrets.type.modelProperties, + ...VirtualMachineSecretsSchema.type.modelProperties + } + } +}; + +export const DatabricksComputeSecrets: coreClient.CompositeMapper = { + serializedName: "Databricks", + type: { + name: "Composite", + className: "DatabricksComputeSecrets", + uberParent: "ComputeSecrets", + polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + modelProperties: { + ...ComputeSecrets.type.modelProperties, + ...DatabricksComputeSecretsProperties.type.modelProperties + } + } +}; + +export const PATAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "PAT", + type: { + name: "Composite", + className: "PATAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionPersonalAccessToken" + } + } + } + } +}; + +export const SASAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "SAS", + type: { + name: "Composite", + className: "SASAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionSharedAccessSignature" + } + } + } + } +}; + +export const UsernamePasswordAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "UsernamePassword", + type: { + name: "Composite", + className: "UsernamePasswordAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionUsernamePassword" + } + } + } + } +}; + +export const NoneAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "None", + type: { + name: "Composite", + className: "NoneAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties + } + } +}; + +export const ManagedIdentityAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "ManagedIdentity", + type: { + name: "Composite", + className: "ManagedIdentityAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionManagedIdentity" + } + } + } + } +}; + +export const BatchEndpointProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchEndpointProperties", + modelProperties: { + ...EndpointPropertiesBase.type.modelProperties, + defaults: { + serializedName: "defaults", + type: { + name: "Composite", + className: "BatchEndpointDefaults" + } + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const OnlineEndpointProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OnlineEndpointProperties", + modelProperties: { + ...EndpointPropertiesBase.type.modelProperties, + compute: { + serializedName: "compute", + nullable: true, + type: { + name: "String" + } + }, + mirrorTraffic: { + serializedName: "mirrorTraffic", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Number" } } + } + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String" + } + }, + publicNetworkAccess: { + serializedName: "publicNetworkAccess", + type: { + name: "String" + } + }, + traffic: { + serializedName: "traffic", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Number" } } + } + } + } + } +}; + +export const PartialMinimalTrackedResourceWithIdentity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PartialMinimalTrackedResourceWithIdentity", + modelProperties: { + ...PartialMinimalTrackedResource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "PartialManagedServiceIdentity" + } + } + } + } +}; + +export const PartialMinimalTrackedResourceWithSku: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PartialMinimalTrackedResourceWithSku", + modelProperties: { + ...PartialMinimalTrackedResource.type.modelProperties, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "PartialSku" + } + } + } + } +}; + +export const DataPathAssetReference: coreClient.CompositeMapper = { + serializedName: "DataPath", + type: { + name: "Composite", + className: "DataPathAssetReference", + uberParent: "AssetReferenceBase", + polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + modelProperties: { + ...AssetReferenceBase.type.modelProperties, + datastoreId: { + serializedName: "datastoreId", + nullable: true, + type: { + name: "String" + } + }, + path: { + serializedName: "path", + nullable: true, + type: { + name: "String" + } + } + } + } +}; + +export const IdAssetReference: coreClient.CompositeMapper = { + serializedName: "Id", + type: { + name: "Composite", + className: "IdAssetReference", + uberParent: "AssetReferenceBase", + polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + modelProperties: { + ...AssetReferenceBase.type.modelProperties, + assetId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "assetId", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const OutputPathAssetReference: coreClient.CompositeMapper = { + serializedName: "OutputPath", + type: { + name: "Composite", + className: "OutputPathAssetReference", + uberParent: "AssetReferenceBase", + polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + modelProperties: { + ...AssetReferenceBase.type.modelProperties, + jobId: { + serializedName: "jobId", + nullable: true, + type: { + name: "String" + } + }, + path: { + serializedName: "path", + nullable: true, + type: { + name: "String" + } + } + } + } +}; + +export const DeploymentResourceConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DeploymentResourceConfiguration", + modelProperties: { + ...ResourceConfiguration.type.modelProperties + } + } +}; + +export const JobResourceConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JobResourceConfiguration", + modelProperties: { + ...ResourceConfiguration.type.modelProperties, + dockerArgs: { + serializedName: "dockerArgs", + nullable: true, + type: { + name: "String" + } + }, + shmSize: { + defaultValue: "2g", + constraints: { + Pattern: new RegExp("\\d+[bBkKmMgG]") + }, + serializedName: "shmSize", + type: { + name: "String" + } + } + } + } +}; + +export const BatchDeploymentProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchDeploymentProperties", + modelProperties: { + ...EndpointDeploymentPropertiesBase.type.modelProperties, + compute: { + serializedName: "compute", + nullable: true, + type: { + name: "String" + } + }, + errorThreshold: { + defaultValue: -1, + serializedName: "errorThreshold", + type: { + name: "Number" + } + }, + loggingLevel: { + serializedName: "loggingLevel", + type: { + name: "String" + } + }, + maxConcurrencyPerInstance: { + defaultValue: 1, + serializedName: "maxConcurrencyPerInstance", + type: { + name: "Number" + } + }, + miniBatchSize: { + defaultValue: 10, + serializedName: "miniBatchSize", + type: { + name: "Number" + } + }, + model: { + serializedName: "model", + type: { + name: "Composite", + className: "AssetReferenceBase" + } + }, + outputAction: { + serializedName: "outputAction", + type: { + name: "String" + } + }, + outputFileName: { + defaultValue: "predictions.csv", + serializedName: "outputFileName", + type: { + name: "String" + } + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String" + } + }, + resources: { + serializedName: "resources", + type: { + name: "Composite", + className: "DeploymentResourceConfiguration" + } + }, + retrySettings: { + serializedName: "retrySettings", + type: { + name: "Composite", + className: "BatchRetrySettings" + } + } + } + } +}; + +export const OnlineDeploymentProperties: coreClient.CompositeMapper = { + serializedName: "OnlineDeploymentProperties", + type: { + name: "Composite", + className: "OnlineDeploymentProperties", + uberParent: "EndpointDeploymentPropertiesBase", + polymorphicDiscriminator: { + serializedName: "endpointComputeType", + clientName: "endpointComputeType" + }, + modelProperties: { + ...EndpointDeploymentPropertiesBase.type.modelProperties, + appInsightsEnabled: { + defaultValue: false, + serializedName: "appInsightsEnabled", + type: { + name: "Boolean" + } + }, + egressPublicNetworkAccess: { + serializedName: "egressPublicNetworkAccess", + type: { + name: "String" + } + }, + endpointComputeType: { + serializedName: "endpointComputeType", + required: true, + type: { + name: "String" + } + }, + instanceType: { + serializedName: "instanceType", + nullable: true, + type: { + name: "String" + } + }, + livenessProbe: { + serializedName: "livenessProbe", type: { name: "Composite", - className: "CodeVersionProperties" + className: "ProbeSettings" } - } - } - } -}; - -export const ComponentContainer: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComponentContainer", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + }, + model: { + serializedName: "model", + nullable: true, + type: { + name: "String" + } + }, + modelMountPath: { + serializedName: "modelMountPath", + nullable: true, + type: { + name: "String" + } + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String" + } + }, + readinessProbe: { + serializedName: "readinessProbe", type: { name: "Composite", - className: "ComponentContainerProperties" + className: "ProbeSettings" } - } - } - } -}; - -export const ComponentVersion: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComponentVersion", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + }, + requestSettings: { + serializedName: "requestSettings", type: { name: "Composite", - className: "ComponentVersionProperties" + className: "OnlineRequestSettings" + } + }, + scaleSettings: { + serializedName: "scaleSettings", + type: { + name: "Composite", + className: "OnlineScaleSettings" } } } } }; -export const DataContainer: coreClient.CompositeMapper = { +export const AssetContainer: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataContainer", + className: "AssetContainer", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...ResourceBase.type.modelProperties, + isArchived: { + defaultValue: false, + serializedName: "isArchived", type: { - name: "Composite", - className: "DataContainerProperties" + name: "Boolean" + } + }, + latestVersion: { + serializedName: "latestVersion", + readOnly: true, + nullable: true, + type: { + name: "String" + } + }, + nextVersion: { + serializedName: "nextVersion", + readOnly: true, + nullable: true, + type: { + name: "String" } } } } }; -export const DataVersionBase: coreClient.CompositeMapper = { +export const AssetBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataVersionBase", + className: "AssetBase", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...ResourceBase.type.modelProperties, + isAnonymous: { + defaultValue: false, + serializedName: "isAnonymous", type: { - name: "Composite", - className: "DataVersionBaseProperties" + name: "Boolean" + } + }, + isArchived: { + defaultValue: false, + serializedName: "isArchived", + type: { + name: "Boolean" } } } } }; -export const Datastore: coreClient.CompositeMapper = { +export const DatastoreProperties: coreClient.CompositeMapper = { + serializedName: "DatastoreProperties", type: { name: "Composite", - className: "Datastore", + className: "DatastoreProperties", + uberParent: "ResourceBase", + polymorphicDiscriminator: { + serializedName: "datastoreType", + clientName: "datastoreType" + }, modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...ResourceBase.type.modelProperties, + credentials: { + serializedName: "credentials", type: { name: "Composite", - className: "DatastoreProperties" + className: "DatastoreCredentials" + } + }, + datastoreType: { + serializedName: "datastoreType", + required: true, + type: { + name: "String" + } + }, + isDefault: { + serializedName: "isDefault", + readOnly: true, + type: { + name: "Boolean" } } } } }; -export const EnvironmentContainer: coreClient.CompositeMapper = { +export const JobBaseProperties: coreClient.CompositeMapper = { + serializedName: "JobBaseProperties", type: { name: "Composite", - className: "EnvironmentContainer", + className: "JobBaseProperties", + uberParent: "ResourceBase", + polymorphicDiscriminator: { + serializedName: "jobType", + clientName: "jobType" + }, modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...ResourceBase.type.modelProperties, + componentId: { + serializedName: "componentId", + nullable: true, + type: { + name: "String" + } + }, + computeId: { + serializedName: "computeId", + nullable: true, + type: { + name: "String" + } + }, + displayName: { + serializedName: "displayName", + nullable: true, + type: { + name: "String" + } + }, + experimentName: { + defaultValue: "Default", + serializedName: "experimentName", + type: { + name: "String" + } + }, + identity: { + serializedName: "identity", type: { name: "Composite", - className: "EnvironmentContainerProperties" + className: "IdentityConfiguration" + } + }, + isArchived: { + defaultValue: false, + serializedName: "isArchived", + type: { + name: "Boolean" + } + }, + jobType: { + serializedName: "jobType", + required: true, + type: { + name: "String" + } + }, + services: { + serializedName: "services", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "JobService" } } + } + }, + status: { + serializedName: "status", + readOnly: true, + type: { + name: "String" } } } } }; -export const EnvironmentVersion: coreClient.CompositeMapper = { +export const ScheduleProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnvironmentVersion", + className: "ScheduleProperties", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...ResourceBase.type.modelProperties, + action: { + serializedName: "action", + type: { + name: "Composite", + className: "ScheduleActionBase" + } + }, + displayName: { + serializedName: "displayName", + nullable: true, + type: { + name: "String" + } + }, + isEnabled: { + defaultValue: true, + serializedName: "isEnabled", + type: { + name: "Boolean" + } + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String" + } + }, + trigger: { + serializedName: "trigger", type: { name: "Composite", - className: "EnvironmentVersionProperties" + className: "TriggerBase" } } } } }; -export const JobBase: coreClient.CompositeMapper = { +export const AccountKeyDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "AccountKey", type: { name: "Composite", - className: "JobBase", + className: "AccountKeyDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: + DatastoreCredentials.type.polymorphicDiscriminator, modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...DatastoreCredentials.type.modelProperties, + secrets: { + serializedName: "secrets", type: { name: "Composite", - className: "JobBaseProperties" + className: "AccountKeyDatastoreSecrets" } } } } }; -export const ModelContainer: coreClient.CompositeMapper = { +export const CertificateDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "Certificate", type: { name: "Composite", - className: "ModelContainer", + className: "CertificateDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: + DatastoreCredentials.type.polymorphicDiscriminator, modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...DatastoreCredentials.type.modelProperties, + authorityUrl: { + serializedName: "authorityUrl", + nullable: true, + type: { + name: "String" + } + }, + clientId: { + serializedName: "clientId", + required: true, + type: { + name: "Uuid" + } + }, + resourceUrl: { + serializedName: "resourceUrl", + nullable: true, + type: { + name: "String" + } + }, + secrets: { + serializedName: "secrets", type: { name: "Composite", - className: "ModelContainerProperties" + className: "CertificateDatastoreSecrets" + } + }, + tenantId: { + serializedName: "tenantId", + required: true, + type: { + name: "Uuid" + } + }, + thumbprint: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "thumbprint", + required: true, + type: { + name: "String" } } } } }; -export const ModelVersion: coreClient.CompositeMapper = { +export const KerberosKeytabCredentials: coreClient.CompositeMapper = { + serializedName: "KerberosKeytab", type: { name: "Composite", - className: "ModelVersion", + className: "KerberosKeytabCredentials", + uberParent: "KerberosCredentials", + polymorphicDiscriminator: KerberosCredentials.type.polymorphicDiscriminator, modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...KerberosCredentials.type.modelProperties, + ...DatastoreCredentials.type.modelProperties, + secrets: { + serializedName: "secrets", type: { name: "Composite", - className: "ModelVersionProperties" + className: "KerberosKeytabSecrets" } } } } }; -export const Aks: coreClient.CompositeMapper = { - serializedName: "AKS", - type: { - name: "Composite", - className: "Aks", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, - modelProperties: { - ...Compute.type.modelProperties, - ...AKSSchema.type.modelProperties - } - } -}; - -export const Kubernetes: coreClient.CompositeMapper = { - serializedName: "Kubernetes", - type: { - name: "Composite", - className: "Kubernetes", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, - modelProperties: { - ...Compute.type.modelProperties, - ...KubernetesSchema.type.modelProperties - } - } -}; - -export const AmlCompute: coreClient.CompositeMapper = { - serializedName: "AmlCompute", - type: { - name: "Composite", - className: "AmlCompute", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, - modelProperties: { - ...Compute.type.modelProperties, - ...AmlComputeSchema.type.modelProperties - } - } -}; - -export const ComputeInstance: coreClient.CompositeMapper = { - serializedName: "ComputeInstance", - type: { - name: "Composite", - className: "ComputeInstance", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, - modelProperties: { - ...Compute.type.modelProperties, - ...ComputeInstanceSchema.type.modelProperties - } - } -}; - -export const VirtualMachine: coreClient.CompositeMapper = { - serializedName: "VirtualMachine", - type: { - name: "Composite", - className: "VirtualMachine", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, - modelProperties: { - ...Compute.type.modelProperties, - ...VirtualMachineSchema.type.modelProperties - } - } -}; - -export const HDInsight: coreClient.CompositeMapper = { - serializedName: "HDInsight", - type: { - name: "Composite", - className: "HDInsight", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, - modelProperties: { - ...Compute.type.modelProperties, - ...HDInsightSchema.type.modelProperties - } - } -}; - -export const DataFactory: coreClient.CompositeMapper = { - serializedName: "DataFactory", - type: { - name: "Composite", - className: "DataFactory", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, - modelProperties: { - ...Compute.type.modelProperties - } - } -}; - -export const Databricks: coreClient.CompositeMapper = { - serializedName: "Databricks", - type: { - name: "Composite", - className: "Databricks", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, - modelProperties: { - ...Compute.type.modelProperties, - ...DatabricksSchema.type.modelProperties - } - } -}; - -export const DataLakeAnalytics: coreClient.CompositeMapper = { - serializedName: "DataLakeAnalytics", - type: { - name: "Composite", - className: "DataLakeAnalytics", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, - modelProperties: { - ...Compute.type.modelProperties, - ...DataLakeAnalyticsSchema.type.modelProperties - } - } -}; - -export const SynapseSpark: coreClient.CompositeMapper = { - serializedName: "SynapseSpark", +export const KerberosPasswordCredentials: coreClient.CompositeMapper = { + serializedName: "KerberosPassword", type: { name: "Composite", - className: "SynapseSpark", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "KerberosPasswordCredentials", + uberParent: "KerberosCredentials", + polymorphicDiscriminator: KerberosCredentials.type.polymorphicDiscriminator, modelProperties: { - ...Compute.type.modelProperties, - properties: { - serializedName: "properties", + ...KerberosCredentials.type.modelProperties, + ...DatastoreCredentials.type.modelProperties, + secrets: { + serializedName: "secrets", type: { name: "Composite", - className: "SynapseSparkProperties" + className: "KerberosPasswordSecrets" } } } } }; -export const AksComputeSecrets: coreClient.CompositeMapper = { - serializedName: "AKS", - type: { - name: "Composite", - className: "AksComputeSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, - modelProperties: { - ...ComputeSecrets.type.modelProperties, - ...AksComputeSecretsProperties.type.modelProperties - } - } -}; - -export const VirtualMachineSecrets: coreClient.CompositeMapper = { - serializedName: "VirtualMachine", - type: { - name: "Composite", - className: "VirtualMachineSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, - modelProperties: { - ...ComputeSecrets.type.modelProperties, - ...VirtualMachineSecretsSchema.type.modelProperties - } - } -}; - -export const DatabricksComputeSecrets: coreClient.CompositeMapper = { - serializedName: "Databricks", +export const NoneDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "None", type: { name: "Composite", - className: "DatabricksComputeSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + className: "NoneDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: + DatastoreCredentials.type.polymorphicDiscriminator, modelProperties: { - ...ComputeSecrets.type.modelProperties, - ...DatabricksComputeSecretsProperties.type.modelProperties + ...DatastoreCredentials.type.modelProperties } } }; -export const PATAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { - serializedName: "PAT", +export const SasDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "Sas", type: { name: "Composite", - className: "PATAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", + className: "SasDatastoreCredentials", + uberParent: "DatastoreCredentials", polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + DatastoreCredentials.type.polymorphicDiscriminator, modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", + ...DatastoreCredentials.type.modelProperties, + secrets: { + serializedName: "secrets", type: { name: "Composite", - className: "WorkspaceConnectionPersonalAccessToken" + className: "SasDatastoreSecrets" } } } } }; -export const SASAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { - serializedName: "SAS", +export const ServicePrincipalDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "ServicePrincipal", type: { name: "Composite", - className: "SASAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", + className: "ServicePrincipalDatastoreCredentials", + uberParent: "DatastoreCredentials", polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + DatastoreCredentials.type.polymorphicDiscriminator, modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", + ...DatastoreCredentials.type.modelProperties, + authorityUrl: { + serializedName: "authorityUrl", + nullable: true, + type: { + name: "String" + } + }, + clientId: { + serializedName: "clientId", + required: true, + type: { + name: "Uuid" + } + }, + resourceUrl: { + serializedName: "resourceUrl", + nullable: true, + type: { + name: "String" + } + }, + secrets: { + serializedName: "secrets", type: { name: "Composite", - className: "WorkspaceConnectionSharedAccessSignature" + className: "ServicePrincipalDatastoreSecrets" + } + }, + tenantId: { + serializedName: "tenantId", + required: true, + type: { + name: "Uuid" } } } } }; -export const UsernamePasswordAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { - serializedName: "UsernamePassword", +export const AccountKeyDatastoreSecrets: coreClient.CompositeMapper = { + serializedName: "AccountKey", type: { name: "Composite", - className: "UsernamePasswordAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + className: "AccountKeyDatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", + ...DatastoreSecrets.type.modelProperties, + key: { + serializedName: "key", + nullable: true, type: { - name: "Composite", - className: "WorkspaceConnectionUsernamePassword" + name: "String" } } } } }; -export const NoneAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { - serializedName: "None", +export const CertificateDatastoreSecrets: coreClient.CompositeMapper = { + serializedName: "Certificate", type: { name: "Composite", - className: "NoneAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + className: "CertificateDatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties + ...DatastoreSecrets.type.modelProperties, + certificate: { + serializedName: "certificate", + nullable: true, + type: { + name: "String" + } + } } } }; -export const ManagedIdentityAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { - serializedName: "ManagedIdentity", +export const KerberosKeytabSecrets: coreClient.CompositeMapper = { + serializedName: "KerberosKeytab", type: { name: "Composite", - className: "ManagedIdentityAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + className: "KerberosKeytabSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", + ...DatastoreSecrets.type.modelProperties, + kerberosKeytab: { + serializedName: "kerberosKeytab", + nullable: true, type: { - name: "Composite", - className: "WorkspaceConnectionManagedIdentity" + name: "String" } } } } }; -export const BatchEndpointProperties: coreClient.CompositeMapper = { +export const KerberosPasswordSecrets: coreClient.CompositeMapper = { + serializedName: "KerberosPassword", type: { name: "Composite", - className: "BatchEndpointProperties", + className: "KerberosPasswordSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, modelProperties: { - ...EndpointPropertiesBase.type.modelProperties, - defaults: { - serializedName: "defaults", - type: { - name: "Composite", - className: "BatchEndpointDefaults" - } - }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + ...DatastoreSecrets.type.modelProperties, + kerberosPassword: { + serializedName: "kerberosPassword", + nullable: true, type: { name: "String" } @@ -6717,90 +9660,86 @@ export const BatchEndpointProperties: coreClient.CompositeMapper = { } }; -export const OnlineEndpointProperties: coreClient.CompositeMapper = { +export const SasDatastoreSecrets: coreClient.CompositeMapper = { + serializedName: "Sas", type: { name: "Composite", - className: "OnlineEndpointProperties", + className: "SasDatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, modelProperties: { - ...EndpointPropertiesBase.type.modelProperties, - compute: { - serializedName: "compute", + ...DatastoreSecrets.type.modelProperties, + sasToken: { + serializedName: "sasToken", nullable: true, type: { name: "String" } - }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, - type: { - name: "String" - } - }, - traffic: { - serializedName: "traffic", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "Number" } } - } } } } }; -export const PartialMinimalTrackedResourceWithIdentity: coreClient.CompositeMapper = { +export const ServicePrincipalDatastoreSecrets: coreClient.CompositeMapper = { + serializedName: "ServicePrincipal", type: { name: "Composite", - className: "PartialMinimalTrackedResourceWithIdentity", + className: "ServicePrincipalDatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, modelProperties: { - ...PartialMinimalTrackedResource.type.modelProperties, - identity: { - serializedName: "identity", + ...DatastoreSecrets.type.modelProperties, + clientSecret: { + serializedName: "clientSecret", + nullable: true, type: { - name: "Composite", - className: "PartialManagedServiceIdentity" + name: "String" } } } } }; -export const PartialMinimalTrackedResourceWithSku: coreClient.CompositeMapper = { +export const AmlToken: coreClient.CompositeMapper = { + serializedName: "AMLToken", type: { name: "Composite", - className: "PartialMinimalTrackedResourceWithSku", + className: "AmlToken", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: + IdentityConfiguration.type.polymorphicDiscriminator, modelProperties: { - ...PartialMinimalTrackedResource.type.modelProperties, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "PartialSku" - } - } + ...IdentityConfiguration.type.modelProperties } } }; -export const DataPathAssetReference: coreClient.CompositeMapper = { - serializedName: "DataPath", +export const ManagedIdentity: coreClient.CompositeMapper = { + serializedName: "Managed", type: { name: "Composite", - className: "DataPathAssetReference", - uberParent: "AssetReferenceBase", - polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + className: "ManagedIdentity", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: + IdentityConfiguration.type.polymorphicDiscriminator, modelProperties: { - ...AssetReferenceBase.type.modelProperties, - datastoreId: { - serializedName: "datastoreId", + ...IdentityConfiguration.type.modelProperties, + clientId: { + serializedName: "clientId", nullable: true, type: { - name: "String" + name: "Uuid" } }, - path: { - serializedName: "path", + objectId: { + serializedName: "objectId", + nullable: true, + type: { + name: "Uuid" + } + }, + resourceId: { + serializedName: "resourceId", nullable: true, type: { name: "String" @@ -6810,21 +9749,52 @@ export const DataPathAssetReference: coreClient.CompositeMapper = { } }; -export const IdAssetReference: coreClient.CompositeMapper = { - serializedName: "Id", +export const UserIdentity: coreClient.CompositeMapper = { + serializedName: "UserIdentity", + type: { + name: "Composite", + className: "UserIdentity", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: + IdentityConfiguration.type.polymorphicDiscriminator, + modelProperties: { + ...IdentityConfiguration.type.modelProperties + } + } +}; + +export const LabelingJobImageProperties: coreClient.CompositeMapper = { + serializedName: "Image", + type: { + name: "Composite", + className: "LabelingJobImageProperties", + uberParent: "LabelingJobMediaProperties", + polymorphicDiscriminator: + LabelingJobMediaProperties.type.polymorphicDiscriminator, + modelProperties: { + ...LabelingJobMediaProperties.type.modelProperties, + annotationType: { + serializedName: "annotationType", + type: { + name: "String" + } + } + } + } +}; + +export const LabelingJobTextProperties: coreClient.CompositeMapper = { + serializedName: "Text", type: { name: "Composite", - className: "IdAssetReference", - uberParent: "AssetReferenceBase", - polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + className: "LabelingJobTextProperties", + uberParent: "LabelingJobMediaProperties", + polymorphicDiscriminator: + LabelingJobMediaProperties.type.polymorphicDiscriminator, modelProperties: { - ...AssetReferenceBase.type.modelProperties, - assetId: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") - }, - serializedName: "assetId", - required: true, + ...LabelingJobMediaProperties.type.modelProperties, + annotationType: { + serializedName: "annotationType", type: { name: "String" } @@ -6833,25 +9803,46 @@ export const IdAssetReference: coreClient.CompositeMapper = { } }; -export const OutputPathAssetReference: coreClient.CompositeMapper = { - serializedName: "OutputPath", +export const MLAssistConfigurationDisabled: coreClient.CompositeMapper = { + serializedName: "Disabled", type: { name: "Composite", - className: "OutputPathAssetReference", - uberParent: "AssetReferenceBase", - polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + className: "MLAssistConfigurationDisabled", + uberParent: "MLAssistConfiguration", + polymorphicDiscriminator: + MLAssistConfiguration.type.polymorphicDiscriminator, modelProperties: { - ...AssetReferenceBase.type.modelProperties, - jobId: { - serializedName: "jobId", - nullable: true, + ...MLAssistConfiguration.type.modelProperties + } + } +}; + +export const MLAssistConfigurationEnabled: coreClient.CompositeMapper = { + serializedName: "Enabled", + type: { + name: "Composite", + className: "MLAssistConfigurationEnabled", + uberParent: "MLAssistConfiguration", + polymorphicDiscriminator: + MLAssistConfiguration.type.polymorphicDiscriminator, + modelProperties: { + ...MLAssistConfiguration.type.modelProperties, + inferencingComputeBinding: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "inferencingComputeBinding", + required: true, type: { name: "String" } }, - path: { - serializedName: "path", - nullable: true, + trainingComputeBinding: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "trainingComputeBinding", + required: true, type: { name: "String" } @@ -6860,416 +9851,618 @@ export const OutputPathAssetReference: coreClient.CompositeMapper = { } }; -export const BatchDeploymentProperties: coreClient.CompositeMapper = { +export const CocoExportSummary: coreClient.CompositeMapper = { + serializedName: "Coco", type: { name: "Composite", - className: "BatchDeploymentProperties", + className: "CocoExportSummary", + uberParent: "ExportSummary", + polymorphicDiscriminator: ExportSummary.type.polymorphicDiscriminator, modelProperties: { - ...EndpointDeploymentPropertiesBase.type.modelProperties, - compute: { - serializedName: "compute", + ...ExportSummary.type.modelProperties, + containerName: { + serializedName: "containerName", + readOnly: true, nullable: true, type: { name: "String" } }, - errorThreshold: { - defaultValue: -1, - serializedName: "errorThreshold", - type: { - name: "Number" - } - }, - loggingLevel: { - serializedName: "loggingLevel", - type: { - name: "String" - } - }, - maxConcurrencyPerInstance: { - defaultValue: 1, - serializedName: "maxConcurrencyPerInstance", - type: { - name: "Number" - } - }, - miniBatchSize: { - defaultValue: 10, - serializedName: "miniBatchSize", - type: { - name: "Number" - } - }, - model: { - serializedName: "model", - type: { - name: "Composite", - className: "AssetReferenceBase" - } - }, - outputAction: { - serializedName: "outputAction", - type: { - name: "String" - } - }, - outputFileName: { - defaultValue: "predictions.csv", - serializedName: "outputFileName", - type: { - name: "String" - } - }, - provisioningState: { - serializedName: "provisioningState", + snapshotPath: { + serializedName: "snapshotPath", readOnly: true, + nullable: true, type: { name: "String" } - }, - resources: { - serializedName: "resources", - type: { - name: "Composite", - className: "ResourceConfiguration" - } - }, - retrySettings: { - serializedName: "retrySettings", - type: { - name: "Composite", - className: "BatchRetrySettings" - } } } } }; -export const OnlineDeploymentProperties: coreClient.CompositeMapper = { - serializedName: "OnlineDeploymentProperties", +export const CsvExportSummary: coreClient.CompositeMapper = { + serializedName: "CSV", type: { name: "Composite", - className: "OnlineDeploymentProperties", - uberParent: "EndpointDeploymentPropertiesBase", - polymorphicDiscriminator: { - serializedName: "endpointComputeType", - clientName: "endpointComputeType" - }, + className: "CsvExportSummary", + uberParent: "ExportSummary", + polymorphicDiscriminator: ExportSummary.type.polymorphicDiscriminator, modelProperties: { - ...EndpointDeploymentPropertiesBase.type.modelProperties, - appInsightsEnabled: { - defaultValue: false, - serializedName: "appInsightsEnabled", - type: { - name: "Boolean" - } - }, - endpointComputeType: { - serializedName: "endpointComputeType", - required: true, - type: { - name: "String" - } - }, - instanceType: { - serializedName: "instanceType", + ...ExportSummary.type.modelProperties, + containerName: { + serializedName: "containerName", + readOnly: true, nullable: true, type: { name: "String" } }, - livenessProbe: { - serializedName: "livenessProbe", - type: { - name: "Composite", - className: "ProbeSettings" - } - }, - model: { - serializedName: "model", + snapshotPath: { + serializedName: "snapshotPath", + readOnly: true, nullable: true, type: { name: "String" } - }, - modelMountPath: { - serializedName: "modelMountPath", + } + } + } +}; + +export const DatasetExportSummary: coreClient.CompositeMapper = { + serializedName: "Dataset", + type: { + name: "Composite", + className: "DatasetExportSummary", + uberParent: "ExportSummary", + polymorphicDiscriminator: ExportSummary.type.polymorphicDiscriminator, + modelProperties: { + ...ExportSummary.type.modelProperties, + labeledAssetName: { + serializedName: "labeledAssetName", + readOnly: true, nullable: true, type: { name: "String" } - }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + } + } + } +}; + +export const DefaultScaleSettings: coreClient.CompositeMapper = { + serializedName: "Default", + type: { + name: "Composite", + className: "DefaultScaleSettings", + uberParent: "OnlineScaleSettings", + polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, + modelProperties: { + ...OnlineScaleSettings.type.modelProperties + } + } +}; + +export const TargetUtilizationScaleSettings: coreClient.CompositeMapper = { + serializedName: "TargetUtilization", + type: { + name: "Composite", + className: "TargetUtilizationScaleSettings", + uberParent: "OnlineScaleSettings", + polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, + modelProperties: { + ...OnlineScaleSettings.type.modelProperties, + maxInstances: { + defaultValue: 1, + serializedName: "maxInstances", type: { - name: "String" + name: "Number" } }, - readinessProbe: { - serializedName: "readinessProbe", + minInstances: { + defaultValue: 1, + serializedName: "minInstances", type: { - name: "Composite", - className: "ProbeSettings" + name: "Number" } }, - requestSettings: { - serializedName: "requestSettings", + pollingInterval: { + defaultValue: "PT1S", + serializedName: "pollingInterval", type: { - name: "Composite", - className: "OnlineRequestSettings" + name: "TimeSpan" } }, - scaleSettings: { - serializedName: "scaleSettings", + targetUtilizationPercentage: { + defaultValue: 70, + serializedName: "targetUtilizationPercentage", type: { - name: "Composite", - className: "OnlineScaleSettings" + name: "Number" } } } } }; -export const AssetContainer: coreClient.CompositeMapper = { +export const EndpointScheduleAction: coreClient.CompositeMapper = { + serializedName: "InvokeBatchEndpoint", type: { name: "Composite", - className: "AssetContainer", + className: "EndpointScheduleAction", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, modelProperties: { - ...ResourceBase.type.modelProperties, - isArchived: { - defaultValue: false, - serializedName: "isArchived", - type: { - name: "Boolean" - } - }, - latestVersion: { - serializedName: "latestVersion", - readOnly: true, - nullable: true, + ...ScheduleActionBase.type.modelProperties, + endpointInvocationDefinition: { + serializedName: "endpointInvocationDefinition", + required: true, type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - nextVersion: { - serializedName: "nextVersion", - readOnly: true, - nullable: true, + } + } + } +}; + +export const JobScheduleAction: coreClient.CompositeMapper = { + serializedName: "CreateJob", + type: { + name: "Composite", + className: "JobScheduleAction", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + modelProperties: { + ...ScheduleActionBase.type.modelProperties, + jobDefinition: { + serializedName: "jobDefinition", type: { - name: "String" + name: "Composite", + className: "JobBaseProperties" } } } } }; -export const AssetBase: coreClient.CompositeMapper = { +export const CronTrigger: coreClient.CompositeMapper = { + serializedName: "Cron", type: { name: "Composite", - className: "AssetBase", + className: "CronTrigger", + uberParent: "TriggerBase", + polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, modelProperties: { - ...ResourceBase.type.modelProperties, - isAnonymous: { - defaultValue: false, - serializedName: "isAnonymous", - type: { - name: "Boolean" - } - }, - isArchived: { - defaultValue: false, - serializedName: "isArchived", + ...TriggerBase.type.modelProperties, + expression: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "expression", + required: true, type: { - name: "Boolean" + name: "String" } } } } }; -export const DatastoreProperties: coreClient.CompositeMapper = { - serializedName: "DatastoreProperties", +export const RecurrenceTrigger: coreClient.CompositeMapper = { + serializedName: "Recurrence", type: { name: "Composite", - className: "DatastoreProperties", - uberParent: "ResourceBase", - polymorphicDiscriminator: { - serializedName: "datastoreType", - clientName: "datastoreType" - }, + className: "RecurrenceTrigger", + uberParent: "TriggerBase", + polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, modelProperties: { - ...ResourceBase.type.modelProperties, - credentials: { - serializedName: "credentials", + ...TriggerBase.type.modelProperties, + frequency: { + serializedName: "frequency", + required: true, type: { - name: "Composite", - className: "DatastoreCredentials" + name: "String" } }, - datastoreType: { - serializedName: "datastoreType", + interval: { + serializedName: "interval", required: true, type: { - name: "String" + name: "Number" } }, - isDefault: { - serializedName: "isDefault", - readOnly: true, + schedule: { + serializedName: "schedule", type: { - name: "Boolean" + name: "Composite", + className: "RecurrenceSchedule" } } } } }; -export const JobBaseProperties: coreClient.CompositeMapper = { - serializedName: "JobBaseProperties", +export const MLTableJobInput: coreClient.CompositeMapper = { + serializedName: "mltable", type: { name: "Composite", - className: "JobBaseProperties", - uberParent: "ResourceBase", - polymorphicDiscriminator: { - serializedName: "jobType", - clientName: "jobType" - }, + className: "MLTableJobInput", + uberParent: "AssetJobInput", + polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, modelProperties: { - ...ResourceBase.type.modelProperties, - computeId: { - serializedName: "computeId", - nullable: true, + ...AssetJobInput.type.modelProperties, + ...JobInput.type.modelProperties + } + } +}; + +export const CustomModelJobInput: coreClient.CompositeMapper = { + serializedName: "custom_model", + type: { + name: "Composite", + className: "CustomModelJobInput", + uberParent: "AssetJobInput", + polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobInput.type.modelProperties, + ...JobInput.type.modelProperties + } + } +}; + +export const MLFlowModelJobInput: coreClient.CompositeMapper = { + serializedName: "mlflow_model", + type: { + name: "Composite", + className: "MLFlowModelJobInput", + uberParent: "AssetJobInput", + polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobInput.type.modelProperties, + ...JobInput.type.modelProperties + } + } +}; + +export const TritonModelJobInput: coreClient.CompositeMapper = { + serializedName: "triton_model", + type: { + name: "Composite", + className: "TritonModelJobInput", + uberParent: "AssetJobInput", + polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobInput.type.modelProperties, + ...JobInput.type.modelProperties + } + } +}; + +export const UriFileJobInput: coreClient.CompositeMapper = { + serializedName: "uri_file", + type: { + name: "Composite", + className: "UriFileJobInput", + uberParent: "AssetJobInput", + polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobInput.type.modelProperties, + ...JobInput.type.modelProperties + } + } +}; + +export const UriFolderJobInput: coreClient.CompositeMapper = { + serializedName: "uri_folder", + type: { + name: "Composite", + className: "UriFolderJobInput", + uberParent: "AssetJobInput", + polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobInput.type.modelProperties, + ...JobInput.type.modelProperties + } + } +}; + +export const CustomModelJobOutput: coreClient.CompositeMapper = { + serializedName: "custom_model", + type: { + name: "Composite", + className: "CustomModelJobOutput", + uberParent: "AssetJobOutput", + polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobOutput.type.modelProperties, + ...JobOutput.type.modelProperties + } + } +}; + +export const MLFlowModelJobOutput: coreClient.CompositeMapper = { + serializedName: "mlflow_model", + type: { + name: "Composite", + className: "MLFlowModelJobOutput", + uberParent: "AssetJobOutput", + polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobOutput.type.modelProperties, + ...JobOutput.type.modelProperties + } + } +}; + +export const MLTableJobOutput: coreClient.CompositeMapper = { + serializedName: "mltable", + type: { + name: "Composite", + className: "MLTableJobOutput", + uberParent: "AssetJobOutput", + polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobOutput.type.modelProperties, + ...JobOutput.type.modelProperties + } + } +}; + +export const TritonModelJobOutput: coreClient.CompositeMapper = { + serializedName: "triton_model", + type: { + name: "Composite", + className: "TritonModelJobOutput", + uberParent: "AssetJobOutput", + polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobOutput.type.modelProperties, + ...JobOutput.type.modelProperties + } + } +}; + +export const UriFileJobOutput: coreClient.CompositeMapper = { + serializedName: "uri_file", + type: { + name: "Composite", + className: "UriFileJobOutput", + uberParent: "AssetJobOutput", + polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobOutput.type.modelProperties, + ...JobOutput.type.modelProperties + } + } +}; + +export const UriFolderJobOutput: coreClient.CompositeMapper = { + serializedName: "uri_folder", + type: { + name: "Composite", + className: "UriFolderJobOutput", + uberParent: "AssetJobOutput", + polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + modelProperties: { + ...AssetJobOutput.type.modelProperties, + ...JobOutput.type.modelProperties + } + } +}; + +export const AutoForecastHorizon: coreClient.CompositeMapper = { + serializedName: "Auto", + type: { + name: "Composite", + className: "AutoForecastHorizon", + uberParent: "ForecastHorizon", + polymorphicDiscriminator: ForecastHorizon.type.polymorphicDiscriminator, + modelProperties: { + ...ForecastHorizon.type.modelProperties + } + } +}; + +export const CustomForecastHorizon: coreClient.CompositeMapper = { + serializedName: "Custom", + type: { + name: "Composite", + className: "CustomForecastHorizon", + uberParent: "ForecastHorizon", + polymorphicDiscriminator: ForecastHorizon.type.polymorphicDiscriminator, + modelProperties: { + ...ForecastHorizon.type.modelProperties, + value: { + serializedName: "value", + required: true, type: { - name: "String" + name: "Number" } - }, - displayName: { - serializedName: "displayName", + } + } + } +}; + +export const Classification: coreClient.CompositeMapper = { + serializedName: "Classification", + type: { + name: "Composite", + className: "Classification", + uberParent: "TableVertical", + polymorphicDiscriminator: TableVertical.type.polymorphicDiscriminator, + modelProperties: { + ...TableVertical.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + positiveLabel: { + serializedName: "positiveLabel", nullable: true, type: { name: "String" } - }, - experimentName: { - defaultValue: "Default", - serializedName: "experimentName", + }, + primaryMetric: { + serializedName: "primaryMetric", type: { name: "String" } }, - identity: { - serializedName: "identity", + trainingSettings: { + serializedName: "trainingSettings", type: { name: "Composite", - className: "IdentityConfiguration" + className: "ClassificationTrainingSettings" } - }, - isArchived: { - defaultValue: false, - serializedName: "isArchived", + } + } + } +}; + +export const Forecasting: coreClient.CompositeMapper = { + serializedName: "Forecasting", + type: { + name: "Composite", + className: "Forecasting", + uberParent: "TableVertical", + polymorphicDiscriminator: TableVertical.type.polymorphicDiscriminator, + modelProperties: { + ...TableVertical.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + forecastingSettings: { + serializedName: "forecastingSettings", type: { - name: "Boolean" + name: "Composite", + className: "ForecastingSettings" } }, - jobType: { - serializedName: "jobType", - required: true, + primaryMetric: { + serializedName: "primaryMetric", type: { name: "String" } }, - services: { - serializedName: "services", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobService" } } - } - }, - status: { - serializedName: "status", - readOnly: true, + trainingSettings: { + serializedName: "trainingSettings", type: { - name: "String" + name: "Composite", + className: "ForecastingTrainingSettings" } } } } }; -export const AccountKeyDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "AccountKey", +export const ImageClassificationBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AccountKeyDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + className: "ImageClassificationBase", modelProperties: { - ...DatastoreCredentials.type.modelProperties, - secrets: { - serializedName: "secrets", + ...ImageVertical.type.modelProperties, + modelSettings: { + serializedName: "modelSettings", type: { name: "Composite", - className: "AccountKeyDatastoreSecrets" + className: "ImageModelSettingsClassification" + } + }, + searchSpace: { + serializedName: "searchSpace", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ImageModelDistributionSettingsClassification" + } + } } } } } }; -export const CertificateDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "Certificate", +export const ImageClassification: coreClient.CompositeMapper = { + serializedName: "ImageClassification", type: { name: "Composite", - className: "CertificateDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + className: "ImageClassification", + uberParent: "AutoMLVertical", + polymorphicDiscriminator: AutoMLVertical.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreCredentials.type.modelProperties, - authorityUrl: { - serializedName: "authorityUrl", - nullable: true, + ...ImageClassificationBase.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", type: { name: "String" } - }, - clientId: { - serializedName: "clientId", - required: true, - type: { - name: "Uuid" - } - }, - resourceUrl: { - serializedName: "resourceUrl", - nullable: true, + } + } + } +}; + +export const ImageClassificationMultilabel: coreClient.CompositeMapper = { + serializedName: "ImageClassificationMultilabel", + type: { + name: "Composite", + className: "ImageClassificationMultilabel", + uberParent: "AutoMLVertical", + polymorphicDiscriminator: AutoMLVertical.type.polymorphicDiscriminator, + modelProperties: { + ...ImageClassificationBase.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", type: { name: "String" } - }, - secrets: { - serializedName: "secrets", + } + } + } +}; + +export const ImageObjectDetectionBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageObjectDetectionBase", + modelProperties: { + ...ImageVertical.type.modelProperties, + modelSettings: { + serializedName: "modelSettings", type: { name: "Composite", - className: "CertificateDatastoreSecrets" + className: "ImageModelSettingsObjectDetection" } }, - tenantId: { - serializedName: "tenantId", - required: true, + searchSpace: { + serializedName: "searchSpace", + nullable: true, type: { - name: "Uuid" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ImageModelDistributionSettingsObjectDetection" + } + } } - }, - thumbprint: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") - }, - serializedName: "thumbprint", - required: true, + } + } + } +}; + +export const ImageInstanceSegmentation: coreClient.CompositeMapper = { + serializedName: "ImageInstanceSegmentation", + type: { + name: "Composite", + className: "ImageInstanceSegmentation", + uberParent: "AutoMLVertical", + polymorphicDiscriminator: AutoMLVertical.type.polymorphicDiscriminator, + modelProperties: { + ...ImageObjectDetectionBase.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", type: { name: "String" } @@ -7278,279 +10471,483 @@ export const CertificateDatastoreCredentials: coreClient.CompositeMapper = { } }; -export const NoneDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "None", +export const ImageObjectDetection: coreClient.CompositeMapper = { + serializedName: "ImageObjectDetection", type: { name: "Composite", - className: "NoneDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + className: "ImageObjectDetection", + uberParent: "AutoMLVertical", + polymorphicDiscriminator: AutoMLVertical.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreCredentials.type.modelProperties + ...ImageObjectDetectionBase.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", + type: { + name: "String" + } + } } } }; -export const SasDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "Sas", +export const Regression: coreClient.CompositeMapper = { + serializedName: "Regression", type: { name: "Composite", - className: "SasDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + className: "Regression", + uberParent: "TableVertical", + polymorphicDiscriminator: TableVertical.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreCredentials.type.modelProperties, - secrets: { - serializedName: "secrets", + ...TableVertical.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", + type: { + name: "String" + } + }, + trainingSettings: { + serializedName: "trainingSettings", type: { name: "Composite", - className: "SasDatastoreSecrets" + className: "RegressionTrainingSettings" } } } } }; -export const ServicePrincipalDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "ServicePrincipal", +export const TextClassification: coreClient.CompositeMapper = { + serializedName: "TextClassification", type: { name: "Composite", - className: "ServicePrincipalDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + className: "TextClassification", + uberParent: "NlpVertical", + polymorphicDiscriminator: NlpVertical.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreCredentials.type.modelProperties, - authorityUrl: { - serializedName: "authorityUrl", - nullable: true, + ...NlpVertical.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", type: { name: "String" } - }, - clientId: { - serializedName: "clientId", - required: true, + } + } + } +}; + +export const TextClassificationMultilabel: coreClient.CompositeMapper = { + serializedName: "TextClassificationMultilabel", + type: { + name: "Composite", + className: "TextClassificationMultilabel", + uberParent: "NlpVertical", + polymorphicDiscriminator: NlpVertical.type.polymorphicDiscriminator, + modelProperties: { + ...NlpVertical.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", + readOnly: true, type: { - name: "Uuid" + name: "String" } - }, - resourceUrl: { - serializedName: "resourceUrl", - nullable: true, + } + } + } +}; + +export const TextNer: coreClient.CompositeMapper = { + serializedName: "TextNER", + type: { + name: "Composite", + className: "TextNer", + uberParent: "NlpVertical", + polymorphicDiscriminator: NlpVertical.type.polymorphicDiscriminator, + modelProperties: { + ...NlpVertical.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", + readOnly: true, type: { name: "String" } - }, - secrets: { - serializedName: "secrets", + } + } + } +}; + +export const LiteralJobInput: coreClient.CompositeMapper = { + serializedName: "literal", + type: { + name: "Composite", + className: "LiteralJobInput", + uberParent: "JobInput", + polymorphicDiscriminator: JobInput.type.polymorphicDiscriminator, + modelProperties: { + ...JobInput.type.modelProperties, + value: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "value", + required: true, type: { - name: "Composite", - className: "ServicePrincipalDatastoreSecrets" + name: "String" } - }, - tenantId: { - serializedName: "tenantId", + } + } + } +}; + +export const AutoNCrossValidations: coreClient.CompositeMapper = { + serializedName: "Auto", + type: { + name: "Composite", + className: "AutoNCrossValidations", + uberParent: "NCrossValidations", + polymorphicDiscriminator: NCrossValidations.type.polymorphicDiscriminator, + modelProperties: { + ...NCrossValidations.type.modelProperties + } + } +}; + +export const CustomNCrossValidations: coreClient.CompositeMapper = { + serializedName: "Custom", + type: { + name: "Composite", + className: "CustomNCrossValidations", + uberParent: "NCrossValidations", + polymorphicDiscriminator: NCrossValidations.type.polymorphicDiscriminator, + modelProperties: { + ...NCrossValidations.type.modelProperties, + value: { + serializedName: "value", required: true, type: { - name: "Uuid" + name: "Number" } } } } }; -export const AccountKeyDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "AccountKey", +export const AutoSeasonality: coreClient.CompositeMapper = { + serializedName: "Auto", type: { name: "Composite", - className: "AccountKeyDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + className: "AutoSeasonality", + uberParent: "Seasonality", + polymorphicDiscriminator: Seasonality.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreSecrets.type.modelProperties, - key: { - serializedName: "key", - nullable: true, - type: { - name: "String" - } - } + ...Seasonality.type.modelProperties } } }; -export const CertificateDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "Certificate", +export const CustomSeasonality: coreClient.CompositeMapper = { + serializedName: "Custom", type: { name: "Composite", - className: "CertificateDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + className: "CustomSeasonality", + uberParent: "Seasonality", + polymorphicDiscriminator: Seasonality.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreSecrets.type.modelProperties, - certificate: { - serializedName: "certificate", - nullable: true, + ...Seasonality.type.modelProperties, + value: { + serializedName: "value", + required: true, type: { - name: "String" + name: "Number" } } } } }; -export const SasDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "Sas", +export const AutoTargetLags: coreClient.CompositeMapper = { + serializedName: "Auto", type: { name: "Composite", - className: "SasDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + className: "AutoTargetLags", + uberParent: "TargetLags", + polymorphicDiscriminator: TargetLags.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreSecrets.type.modelProperties, - sasToken: { - serializedName: "sasToken", - nullable: true, - type: { - name: "String" - } - } + ...TargetLags.type.modelProperties } } }; -export const ServicePrincipalDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "ServicePrincipal", +export const CustomTargetLags: coreClient.CompositeMapper = { + serializedName: "Custom", type: { name: "Composite", - className: "ServicePrincipalDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + className: "CustomTargetLags", + uberParent: "TargetLags", + polymorphicDiscriminator: TargetLags.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreSecrets.type.modelProperties, - clientSecret: { - serializedName: "clientSecret", - nullable: true, + ...TargetLags.type.modelProperties, + values: { + serializedName: "values", + required: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Number" + } + } } } } } }; -export const AmlToken: coreClient.CompositeMapper = { - serializedName: "AMLToken", +export const AutoTargetRollingWindowSize: coreClient.CompositeMapper = { + serializedName: "Auto", type: { name: "Composite", - className: "AmlToken", - uberParent: "IdentityConfiguration", + className: "AutoTargetRollingWindowSize", + uberParent: "TargetRollingWindowSize", polymorphicDiscriminator: - IdentityConfiguration.type.polymorphicDiscriminator, + TargetRollingWindowSize.type.polymorphicDiscriminator, modelProperties: { - ...IdentityConfiguration.type.modelProperties + ...TargetRollingWindowSize.type.modelProperties } } }; -export const ManagedIdentity: coreClient.CompositeMapper = { - serializedName: "Managed", +export const CustomTargetRollingWindowSize: coreClient.CompositeMapper = { + serializedName: "Custom", type: { name: "Composite", - className: "ManagedIdentity", - uberParent: "IdentityConfiguration", + className: "CustomTargetRollingWindowSize", + uberParent: "TargetRollingWindowSize", polymorphicDiscriminator: - IdentityConfiguration.type.polymorphicDiscriminator, + TargetRollingWindowSize.type.polymorphicDiscriminator, modelProperties: { - ...IdentityConfiguration.type.modelProperties, - clientId: { - serializedName: "clientId", + ...TargetRollingWindowSize.type.modelProperties, + value: { + serializedName: "value", + required: true, + type: { + name: "Number" + } + } + } + } +}; + +export const AzureBlobDatastore: coreClient.CompositeMapper = { + serializedName: "AzureBlob", + type: { + name: "Composite", + className: "AzureBlobDatastore", + uberParent: "AzureDatastore", + polymorphicDiscriminator: AzureDatastore.type.polymorphicDiscriminator, + modelProperties: { + ...AzureDatastore.type.modelProperties, + ...DatastoreProperties.type.modelProperties, + accountName: { + serializedName: "accountName", nullable: true, type: { - name: "Uuid" + name: "String" } }, - objectId: { - serializedName: "objectId", + containerName: { + serializedName: "containerName", nullable: true, type: { - name: "Uuid" + name: "String" } }, - resourceId: { - serializedName: "resourceId", + endpoint: { + serializedName: "endpoint", nullable: true, type: { name: "String" } + }, + protocol: { + serializedName: "protocol", + nullable: true, + type: { + name: "String" + } + }, + serviceDataAccessAuthIdentity: { + serializedName: "serviceDataAccessAuthIdentity", + type: { + name: "String" + } } } } }; -export const UserIdentity: coreClient.CompositeMapper = { - serializedName: "UserIdentity", +export const AzureDataLakeGen1Datastore: coreClient.CompositeMapper = { + serializedName: "AzureDataLakeGen1", type: { name: "Composite", - className: "UserIdentity", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: - IdentityConfiguration.type.polymorphicDiscriminator, + className: "AzureDataLakeGen1Datastore", + uberParent: "AzureDatastore", + polymorphicDiscriminator: AzureDatastore.type.polymorphicDiscriminator, modelProperties: { - ...IdentityConfiguration.type.modelProperties + ...AzureDatastore.type.modelProperties, + ...DatastoreProperties.type.modelProperties, + serviceDataAccessAuthIdentity: { + serializedName: "serviceDataAccessAuthIdentity", + type: { + name: "String" + } + }, + storeName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "storeName", + required: true, + type: { + name: "String" + } + } } } }; -export const DefaultScaleSettings: coreClient.CompositeMapper = { - serializedName: "Default", +export const AzureDataLakeGen2Datastore: coreClient.CompositeMapper = { + serializedName: "AzureDataLakeGen2", type: { name: "Composite", - className: "DefaultScaleSettings", - uberParent: "OnlineScaleSettings", - polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, + className: "AzureDataLakeGen2Datastore", + uberParent: "AzureDatastore", + polymorphicDiscriminator: AzureDatastore.type.polymorphicDiscriminator, modelProperties: { - ...OnlineScaleSettings.type.modelProperties + ...AzureDatastore.type.modelProperties, + ...DatastoreProperties.type.modelProperties, + accountName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "accountName", + required: true, + type: { + name: "String" + } + }, + endpoint: { + serializedName: "endpoint", + nullable: true, + type: { + name: "String" + } + }, + filesystem: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "filesystem", + required: true, + type: { + name: "String" + } + }, + protocol: { + serializedName: "protocol", + nullable: true, + type: { + name: "String" + } + }, + serviceDataAccessAuthIdentity: { + serializedName: "serviceDataAccessAuthIdentity", + type: { + name: "String" + } + } } } }; -export const TargetUtilizationScaleSettings: coreClient.CompositeMapper = { - serializedName: "TargetUtilization", +export const AzureFileDatastore: coreClient.CompositeMapper = { + serializedName: "AzureFile", type: { name: "Composite", - className: "TargetUtilizationScaleSettings", - uberParent: "OnlineScaleSettings", - polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, + className: "AzureFileDatastore", + uberParent: "AzureDatastore", + polymorphicDiscriminator: AzureDatastore.type.polymorphicDiscriminator, modelProperties: { - ...OnlineScaleSettings.type.modelProperties, - maxInstances: { - defaultValue: 1, - serializedName: "maxInstances", + ...AzureDatastore.type.modelProperties, + ...DatastoreProperties.type.modelProperties, + accountName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "accountName", + required: true, type: { - name: "Number" + name: "String" } }, - minInstances: { - defaultValue: 1, - serializedName: "minInstances", + endpoint: { + serializedName: "endpoint", + nullable: true, + type: { + name: "String" + } + }, + fileShareName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "fileShareName", + required: true, + type: { + name: "String" + } + }, + protocol: { + serializedName: "protocol", + nullable: true, + type: { + name: "String" + } + }, + serviceDataAccessAuthIdentity: { + serializedName: "serviceDataAccessAuthIdentity", + type: { + name: "String" + } + } + } + } +}; + +export const BanditPolicy: coreClient.CompositeMapper = { + serializedName: "Bandit", + type: { + name: "Composite", + className: "BanditPolicy", + uberParent: "EarlyTerminationPolicy", + polymorphicDiscriminator: + EarlyTerminationPolicy.type.polymorphicDiscriminator, + modelProperties: { + ...EarlyTerminationPolicy.type.modelProperties, + slackAmount: { + defaultValue: 0, + serializedName: "slackAmount", type: { name: "Number" } }, - pollingInterval: { - defaultValue: "PT1S", - serializedName: "pollingInterval", - type: { - name: "TimeSpan" - } - }, - targetUtilizationPercentage: { - defaultValue: 70, - serializedName: "targetUtilizationPercentage", + slackFactor: { + defaultValue: 0, + serializedName: "slackFactor", type: { name: "Number" } @@ -7559,194 +10956,325 @@ export const TargetUtilizationScaleSettings: coreClient.CompositeMapper = { } }; -export const CustomModelJobInput: coreClient.CompositeMapper = { - serializedName: "custom_model", +export const MedianStoppingPolicy: coreClient.CompositeMapper = { + serializedName: "MedianStopping", type: { name: "Composite", - className: "CustomModelJobInput", - uberParent: "AssetJobInput", - polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, + className: "MedianStoppingPolicy", + uberParent: "EarlyTerminationPolicy", + polymorphicDiscriminator: + EarlyTerminationPolicy.type.polymorphicDiscriminator, modelProperties: { - ...AssetJobInput.type.modelProperties, - ...JobInput.type.modelProperties + ...EarlyTerminationPolicy.type.modelProperties } } }; -export const MLFlowModelJobInput: coreClient.CompositeMapper = { - serializedName: "mlflow_model", +export const TruncationSelectionPolicy: coreClient.CompositeMapper = { + serializedName: "TruncationSelection", type: { name: "Composite", - className: "MLFlowModelJobInput", - uberParent: "AssetJobInput", - polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, + className: "TruncationSelectionPolicy", + uberParent: "EarlyTerminationPolicy", + polymorphicDiscriminator: + EarlyTerminationPolicy.type.polymorphicDiscriminator, modelProperties: { - ...AssetJobInput.type.modelProperties, - ...JobInput.type.modelProperties + ...EarlyTerminationPolicy.type.modelProperties, + truncationPercentage: { + defaultValue: 0, + serializedName: "truncationPercentage", + type: { + name: "Number" + } + } } } }; -export const MLTableJobInput: coreClient.CompositeMapper = { - serializedName: "mltable", +export const BayesianSamplingAlgorithm: coreClient.CompositeMapper = { + serializedName: "Bayesian", type: { name: "Composite", - className: "MLTableJobInput", - uberParent: "AssetJobInput", - polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, + className: "BayesianSamplingAlgorithm", + uberParent: "SamplingAlgorithm", + polymorphicDiscriminator: SamplingAlgorithm.type.polymorphicDiscriminator, modelProperties: { - ...AssetJobInput.type.modelProperties, - ...JobInput.type.modelProperties + ...SamplingAlgorithm.type.modelProperties } } }; -export const TritonModelJobInput: coreClient.CompositeMapper = { - serializedName: "triton_model", +export const GridSamplingAlgorithm: coreClient.CompositeMapper = { + serializedName: "Grid", type: { name: "Composite", - className: "TritonModelJobInput", - uberParent: "AssetJobInput", - polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, + className: "GridSamplingAlgorithm", + uberParent: "SamplingAlgorithm", + polymorphicDiscriminator: SamplingAlgorithm.type.polymorphicDiscriminator, modelProperties: { - ...AssetJobInput.type.modelProperties, - ...JobInput.type.modelProperties + ...SamplingAlgorithm.type.modelProperties } } }; -export const UriFileJobInput: coreClient.CompositeMapper = { - serializedName: "uri_file", +export const RandomSamplingAlgorithm: coreClient.CompositeMapper = { + serializedName: "Random", type: { name: "Composite", - className: "UriFileJobInput", - uberParent: "AssetJobInput", - polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, + className: "RandomSamplingAlgorithm", + uberParent: "SamplingAlgorithm", + polymorphicDiscriminator: SamplingAlgorithm.type.polymorphicDiscriminator, modelProperties: { - ...AssetJobInput.type.modelProperties, - ...JobInput.type.modelProperties + ...SamplingAlgorithm.type.modelProperties, + rule: { + serializedName: "rule", + type: { + name: "String" + } + }, + seed: { + serializedName: "seed", + nullable: true, + type: { + name: "Number" + } + } } } }; -export const UriFolderJobInput: coreClient.CompositeMapper = { - serializedName: "uri_folder", +export const ClassificationTrainingSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UriFolderJobInput", - uberParent: "AssetJobInput", - polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, + className: "ClassificationTrainingSettings", modelProperties: { - ...AssetJobInput.type.modelProperties, - ...JobInput.type.modelProperties + ...TrainingSettings.type.modelProperties, + allowedTrainingAlgorithms: { + serializedName: "allowedTrainingAlgorithms", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + blockedTrainingAlgorithms: { + serializedName: "blockedTrainingAlgorithms", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } } } }; -export const CustomModelJobOutput: coreClient.CompositeMapper = { - serializedName: "custom_model", +export const ForecastingTrainingSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomModelJobOutput", - uberParent: "AssetJobOutput", - polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + className: "ForecastingTrainingSettings", modelProperties: { - ...AssetJobOutput.type.modelProperties, - ...JobOutput.type.modelProperties + ...TrainingSettings.type.modelProperties, + allowedTrainingAlgorithms: { + serializedName: "allowedTrainingAlgorithms", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + blockedTrainingAlgorithms: { + serializedName: "blockedTrainingAlgorithms", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } } } }; -export const MLFlowModelJobOutput: coreClient.CompositeMapper = { - serializedName: "mlflow_model", +export const RegressionTrainingSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MLFlowModelJobOutput", - uberParent: "AssetJobOutput", - polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + className: "RegressionTrainingSettings", modelProperties: { - ...AssetJobOutput.type.modelProperties, - ...JobOutput.type.modelProperties + ...TrainingSettings.type.modelProperties, + allowedTrainingAlgorithms: { + serializedName: "allowedTrainingAlgorithms", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + blockedTrainingAlgorithms: { + serializedName: "blockedTrainingAlgorithms", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } } } }; -export const MLTableJobOutput: coreClient.CompositeMapper = { - serializedName: "mltable", +export const TableVerticalFeaturizationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MLTableJobOutput", - uberParent: "AssetJobOutput", - polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + className: "TableVerticalFeaturizationSettings", modelProperties: { - ...AssetJobOutput.type.modelProperties, - ...JobOutput.type.modelProperties + ...FeaturizationSettings.type.modelProperties, + blockedTransformers: { + serializedName: "blockedTransformers", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + columnNameAndTypes: { + serializedName: "columnNameAndTypes", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + enableDnnFeaturization: { + defaultValue: false, + serializedName: "enableDnnFeaturization", + type: { + name: "Boolean" + } + }, + mode: { + serializedName: "mode", + type: { + name: "String" + } + }, + transformerParams: { + serializedName: "transformerParams", + nullable: true, + type: { + name: "Dictionary", + value: { + type: { + name: "Sequence", + element: { + type: { name: "Composite", className: "ColumnTransformer" } + } + } + } + } + } } } }; -export const TritonModelJobOutput: coreClient.CompositeMapper = { - serializedName: "triton_model", +export const NlpVerticalFeaturizationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TritonModelJobOutput", - uberParent: "AssetJobOutput", - polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + className: "NlpVerticalFeaturizationSettings", modelProperties: { - ...AssetJobOutput.type.modelProperties, - ...JobOutput.type.modelProperties + ...FeaturizationSettings.type.modelProperties } } }; -export const UriFileJobOutput: coreClient.CompositeMapper = { - serializedName: "uri_file", +export const Mpi: coreClient.CompositeMapper = { + serializedName: "Mpi", type: { name: "Composite", - className: "UriFileJobOutput", - uberParent: "AssetJobOutput", - polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + className: "Mpi", + uberParent: "DistributionConfiguration", + polymorphicDiscriminator: + DistributionConfiguration.type.polymorphicDiscriminator, modelProperties: { - ...AssetJobOutput.type.modelProperties, - ...JobOutput.type.modelProperties + ...DistributionConfiguration.type.modelProperties, + processCountPerInstance: { + serializedName: "processCountPerInstance", + nullable: true, + type: { + name: "Number" + } + } } } }; -export const UriFolderJobOutput: coreClient.CompositeMapper = { - serializedName: "uri_folder", +export const PyTorch: coreClient.CompositeMapper = { + serializedName: "PyTorch", type: { name: "Composite", - className: "UriFolderJobOutput", - uberParent: "AssetJobOutput", - polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + className: "PyTorch", + uberParent: "DistributionConfiguration", + polymorphicDiscriminator: + DistributionConfiguration.type.polymorphicDiscriminator, modelProperties: { - ...AssetJobOutput.type.modelProperties, - ...JobOutput.type.modelProperties + ...DistributionConfiguration.type.modelProperties, + processCountPerInstance: { + serializedName: "processCountPerInstance", + nullable: true, + type: { + name: "Number" + } + } } } }; -export const BanditPolicy: coreClient.CompositeMapper = { - serializedName: "Bandit", +export const TensorFlow: coreClient.CompositeMapper = { + serializedName: "TensorFlow", type: { name: "Composite", - className: "BanditPolicy", - uberParent: "EarlyTerminationPolicy", + className: "TensorFlow", + uberParent: "DistributionConfiguration", polymorphicDiscriminator: - EarlyTerminationPolicy.type.polymorphicDiscriminator, + DistributionConfiguration.type.polymorphicDiscriminator, modelProperties: { - ...EarlyTerminationPolicy.type.modelProperties, - slackAmount: { + ...DistributionConfiguration.type.modelProperties, + parameterServerCount: { defaultValue: 0, - serializedName: "slackAmount", + serializedName: "parameterServerCount", type: { name: "Number" } }, - slackFactor: { - defaultValue: 0, - serializedName: "slackFactor", + workerCount: { + serializedName: "workerCount", + nullable: true, type: { name: "Number" } @@ -7755,177 +11283,344 @@ export const BanditPolicy: coreClient.CompositeMapper = { } }; -export const MedianStoppingPolicy: coreClient.CompositeMapper = { - serializedName: "MedianStopping", +export const CommandJobLimits: coreClient.CompositeMapper = { + serializedName: "Command", type: { name: "Composite", - className: "MedianStoppingPolicy", - uberParent: "EarlyTerminationPolicy", - polymorphicDiscriminator: - EarlyTerminationPolicy.type.polymorphicDiscriminator, + className: "CommandJobLimits", + uberParent: "JobLimits", + polymorphicDiscriminator: JobLimits.type.polymorphicDiscriminator, modelProperties: { - ...EarlyTerminationPolicy.type.modelProperties + ...JobLimits.type.modelProperties } } }; -export const TruncationSelectionPolicy: coreClient.CompositeMapper = { - serializedName: "TruncationSelection", +export const SweepJobLimits: coreClient.CompositeMapper = { + serializedName: "Sweep", type: { name: "Composite", - className: "TruncationSelectionPolicy", - uberParent: "EarlyTerminationPolicy", - polymorphicDiscriminator: - EarlyTerminationPolicy.type.polymorphicDiscriminator, + className: "SweepJobLimits", + uberParent: "JobLimits", + polymorphicDiscriminator: JobLimits.type.polymorphicDiscriminator, modelProperties: { - ...EarlyTerminationPolicy.type.modelProperties, - truncationPercentage: { - defaultValue: 0, - serializedName: "truncationPercentage", + ...JobLimits.type.modelProperties, + maxConcurrentTrials: { + serializedName: "maxConcurrentTrials", + nullable: true, type: { name: "Number" } + }, + maxTotalTrials: { + serializedName: "maxTotalTrials", + nullable: true, + type: { + name: "Number" + } + }, + trialTimeout: { + serializedName: "trialTimeout", + nullable: true, + type: { + name: "TimeSpan" + } } } } }; -export const BayesianSamplingAlgorithm: coreClient.CompositeMapper = { - serializedName: "Bayesian", +export const ImageModelSettingsClassification: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BayesianSamplingAlgorithm", - uberParent: "SamplingAlgorithm", - polymorphicDiscriminator: SamplingAlgorithm.type.polymorphicDiscriminator, + className: "ImageModelSettingsClassification", modelProperties: { - ...SamplingAlgorithm.type.modelProperties + ...ImageModelSettings.type.modelProperties, + trainingCropSize: { + serializedName: "trainingCropSize", + nullable: true, + type: { + name: "Number" + } + }, + validationCropSize: { + serializedName: "validationCropSize", + nullable: true, + type: { + name: "Number" + } + }, + validationResizeSize: { + serializedName: "validationResizeSize", + nullable: true, + type: { + name: "Number" + } + }, + weightedLoss: { + serializedName: "weightedLoss", + nullable: true, + type: { + name: "Number" + } + } } } }; -export const GridSamplingAlgorithm: coreClient.CompositeMapper = { - serializedName: "Grid", +export const ImageModelSettingsObjectDetection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GridSamplingAlgorithm", - uberParent: "SamplingAlgorithm", - polymorphicDiscriminator: SamplingAlgorithm.type.polymorphicDiscriminator, + className: "ImageModelSettingsObjectDetection", modelProperties: { - ...SamplingAlgorithm.type.modelProperties + ...ImageModelSettings.type.modelProperties, + boxDetectionsPerImage: { + serializedName: "boxDetectionsPerImage", + nullable: true, + type: { + name: "Number" + } + }, + boxScoreThreshold: { + serializedName: "boxScoreThreshold", + nullable: true, + type: { + name: "Number" + } + }, + imageSize: { + serializedName: "imageSize", + nullable: true, + type: { + name: "Number" + } + }, + maxSize: { + serializedName: "maxSize", + nullable: true, + type: { + name: "Number" + } + }, + minSize: { + serializedName: "minSize", + nullable: true, + type: { + name: "Number" + } + }, + modelSize: { + serializedName: "modelSize", + type: { + name: "String" + } + }, + multiScale: { + serializedName: "multiScale", + nullable: true, + type: { + name: "Boolean" + } + }, + nmsIouThreshold: { + serializedName: "nmsIouThreshold", + nullable: true, + type: { + name: "Number" + } + }, + tileGridSize: { + serializedName: "tileGridSize", + nullable: true, + type: { + name: "String" + } + }, + tileOverlapRatio: { + serializedName: "tileOverlapRatio", + nullable: true, + type: { + name: "Number" + } + }, + tilePredictionsNmsThreshold: { + serializedName: "tilePredictionsNmsThreshold", + nullable: true, + type: { + name: "Number" + } + }, + validationIouThreshold: { + serializedName: "validationIouThreshold", + nullable: true, + type: { + name: "Number" + } + }, + validationMetricType: { + serializedName: "validationMetricType", + type: { + name: "String" + } + } } } }; -export const RandomSamplingAlgorithm: coreClient.CompositeMapper = { - serializedName: "Random", +export const ImageModelDistributionSettingsClassification: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RandomSamplingAlgorithm", - uberParent: "SamplingAlgorithm", - polymorphicDiscriminator: SamplingAlgorithm.type.polymorphicDiscriminator, + className: "ImageModelDistributionSettingsClassification", modelProperties: { - ...SamplingAlgorithm.type.modelProperties, - rule: { - serializedName: "rule", + ...ImageModelDistributionSettings.type.modelProperties, + trainingCropSize: { + serializedName: "trainingCropSize", + nullable: true, + type: { + name: "String" + } + }, + validationCropSize: { + serializedName: "validationCropSize", + nullable: true, + type: { + name: "String" + } + }, + validationResizeSize: { + serializedName: "validationResizeSize", + nullable: true, + type: { + name: "String" + } + }, + weightedLoss: { + serializedName: "weightedLoss", + nullable: true, + type: { + name: "String" + } + } + } + } +}; + +export const ImageModelDistributionSettingsObjectDetection: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageModelDistributionSettingsObjectDetection", + modelProperties: { + ...ImageModelDistributionSettings.type.modelProperties, + boxDetectionsPerImage: { + serializedName: "boxDetectionsPerImage", + nullable: true, + type: { + name: "String" + } + }, + boxScoreThreshold: { + serializedName: "boxScoreThreshold", + nullable: true, + type: { + name: "String" + } + }, + imageSize: { + serializedName: "imageSize", + nullable: true, + type: { + name: "String" + } + }, + maxSize: { + serializedName: "maxSize", + nullable: true, + type: { + name: "String" + } + }, + minSize: { + serializedName: "minSize", + nullable: true, + type: { + name: "String" + } + }, + modelSize: { + serializedName: "modelSize", + nullable: true, + type: { + name: "String" + } + }, + multiScale: { + serializedName: "multiScale", + nullable: true, + type: { + name: "String" + } + }, + nmsIouThreshold: { + serializedName: "nmsIouThreshold", + nullable: true, type: { name: "String" } }, - seed: { - serializedName: "seed", + tileGridSize: { + serializedName: "tileGridSize", nullable: true, type: { - name: "Number" + name: "String" } - } - } - } -}; - -export const Mpi: coreClient.CompositeMapper = { - serializedName: "Mpi", - type: { - name: "Composite", - className: "Mpi", - uberParent: "DistributionConfiguration", - polymorphicDiscriminator: - DistributionConfiguration.type.polymorphicDiscriminator, - modelProperties: { - ...DistributionConfiguration.type.modelProperties, - processCountPerInstance: { - serializedName: "processCountPerInstance", + }, + tileOverlapRatio: { + serializedName: "tileOverlapRatio", nullable: true, type: { - name: "Number" + name: "String" } - } - } - } -}; - -export const PyTorch: coreClient.CompositeMapper = { - serializedName: "PyTorch", - type: { - name: "Composite", - className: "PyTorch", - uberParent: "DistributionConfiguration", - polymorphicDiscriminator: - DistributionConfiguration.type.polymorphicDiscriminator, - modelProperties: { - ...DistributionConfiguration.type.modelProperties, - processCountPerInstance: { - serializedName: "processCountPerInstance", + }, + tilePredictionsNmsThreshold: { + serializedName: "tilePredictionsNmsThreshold", nullable: true, type: { - name: "Number" + name: "String" } - } - } - } -}; - -export const TensorFlow: coreClient.CompositeMapper = { - serializedName: "TensorFlow", - type: { - name: "Composite", - className: "TensorFlow", - uberParent: "DistributionConfiguration", - polymorphicDiscriminator: - DistributionConfiguration.type.polymorphicDiscriminator, - modelProperties: { - ...DistributionConfiguration.type.modelProperties, - parameterServerCount: { - defaultValue: 0, - serializedName: "parameterServerCount", + }, + validationIouThreshold: { + serializedName: "validationIouThreshold", + nullable: true, type: { - name: "Number" + name: "String" } }, - workerCount: { - serializedName: "workerCount", + validationMetricType: { + serializedName: "validationMetricType", nullable: true, type: { - name: "Number" + name: "String" } } } } }; -export const LiteralJobInput: coreClient.CompositeMapper = { - serializedName: "literal", +export const SparkJobPythonEntry: coreClient.CompositeMapper = { + serializedName: "SparkJobPythonEntry", type: { name: "Composite", - className: "LiteralJobInput", - uberParent: "JobInput", - polymorphicDiscriminator: JobInput.type.polymorphicDiscriminator, + className: "SparkJobPythonEntry", + uberParent: "SparkJobEntry", + polymorphicDiscriminator: SparkJobEntry.type.polymorphicDiscriminator, modelProperties: { - ...JobInput.type.modelProperties, - value: { + ...SparkJobEntry.type.modelProperties, + file: { constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1 }, - serializedName: "value", + serializedName: "file", required: true, type: { name: "String" @@ -7935,47 +11630,24 @@ export const LiteralJobInput: coreClient.CompositeMapper = { } }; -export const CommandJobLimits: coreClient.CompositeMapper = { - serializedName: "Command", - type: { - name: "Composite", - className: "CommandJobLimits", - uberParent: "JobLimits", - polymorphicDiscriminator: JobLimits.type.polymorphicDiscriminator, - modelProperties: { - ...JobLimits.type.modelProperties - } - } -}; - -export const SweepJobLimits: coreClient.CompositeMapper = { - serializedName: "Sweep", +export const SparkJobScalaEntry: coreClient.CompositeMapper = { + serializedName: "SparkJobPythonEntry", type: { name: "Composite", - className: "SweepJobLimits", - uberParent: "JobLimits", - polymorphicDiscriminator: JobLimits.type.polymorphicDiscriminator, + className: "SparkJobScalaEntry", + uberParent: "SparkJobEntry", + polymorphicDiscriminator: SparkJobEntry.type.polymorphicDiscriminator, modelProperties: { - ...JobLimits.type.modelProperties, - maxConcurrentTrials: { - serializedName: "maxConcurrentTrials", - nullable: true, - type: { - name: "Number" - } - }, - maxTotalTrials: { - serializedName: "maxTotalTrials", - nullable: true, - type: { - name: "Number" - } - }, - trialTimeout: { - serializedName: "trialTimeout", - nullable: true, + ...SparkJobEntry.type.modelProperties, + className: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1 + }, + serializedName: "className", + required: true, type: { - name: "TimeSpan" + name: "String" } } } @@ -8378,45 +12050,35 @@ export const ModelVersionProperties: coreClient.CompositeMapper = { } }; -export const AzureBlobDatastore: coreClient.CompositeMapper = { - serializedName: "AzureBlob", +export const HdfsDatastore: coreClient.CompositeMapper = { + serializedName: "Hdfs", type: { name: "Composite", - className: "AzureBlobDatastore", + className: "HdfsDatastore", uberParent: "ResourceBase", polymorphicDiscriminator: ResourceBase.type.polymorphicDiscriminator, modelProperties: { ...DatastoreProperties.type.modelProperties, - accountName: { - serializedName: "accountName", - nullable: true, - type: { - name: "String" - } - }, - containerName: { - serializedName: "containerName", + hdfsServerCertificate: { + serializedName: "hdfsServerCertificate", nullable: true, type: { name: "String" } }, - endpoint: { - serializedName: "endpoint", - nullable: true, + nameNodeAddress: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "nameNodeAddress", + required: true, type: { name: "String" } }, protocol: { + defaultValue: "http", serializedName: "protocol", - nullable: true, - type: { - name: "String" - } - }, - serviceDataAccessAuthIdentity: { - serializedName: "serviceDataAccessAuthIdentity", type: { name: "String" } @@ -8425,135 +12087,142 @@ export const AzureBlobDatastore: coreClient.CompositeMapper = { } }; -export const AzureDataLakeGen1Datastore: coreClient.CompositeMapper = { - serializedName: "AzureDataLakeGen1", +export const LabelingJobProperties: coreClient.CompositeMapper = { + serializedName: "Labeling", type: { name: "Composite", - className: "AzureDataLakeGen1Datastore", + className: "LabelingJobProperties", uberParent: "ResourceBase", polymorphicDiscriminator: ResourceBase.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreProperties.type.modelProperties, - serviceDataAccessAuthIdentity: { - serializedName: "serviceDataAccessAuthIdentity", + ...JobBaseProperties.type.modelProperties, + createdDateTime: { + serializedName: "createdDateTime", + readOnly: true, + nullable: true, type: { - name: "String" + name: "DateTime" } }, - storeName: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") - }, - serializedName: "storeName", - required: true, + dataConfiguration: { + serializedName: "dataConfiguration", type: { - name: "String" + name: "Composite", + className: "LabelingDataConfiguration" } - } - } - } -}; - -export const AzureDataLakeGen2Datastore: coreClient.CompositeMapper = { - serializedName: "AzureDataLakeGen2", - type: { - name: "Composite", - className: "AzureDataLakeGen2Datastore", - uberParent: "ResourceBase", - polymorphicDiscriminator: ResourceBase.type.polymorphicDiscriminator, - modelProperties: { - ...DatastoreProperties.type.modelProperties, - accountName: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") - }, - serializedName: "accountName", - required: true, + }, + jobInstructions: { + serializedName: "jobInstructions", type: { - name: "String" + name: "Composite", + className: "LabelingJobInstructions" } }, - endpoint: { - serializedName: "endpoint", + labelCategories: { + serializedName: "labelCategories", nullable: true, type: { - name: "String" + name: "Dictionary", + value: { type: { name: "Composite", className: "LabelCategory" } } } }, - filesystem: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") - }, - serializedName: "filesystem", - required: true, + labelingJobMediaProperties: { + serializedName: "labelingJobMediaProperties", type: { - name: "String" + name: "Composite", + className: "LabelingJobMediaProperties" } }, - protocol: { - serializedName: "protocol", - nullable: true, + mlAssistConfiguration: { + serializedName: "mlAssistConfiguration", type: { - name: "String" + name: "Composite", + className: "MLAssistConfiguration" } }, - serviceDataAccessAuthIdentity: { - serializedName: "serviceDataAccessAuthIdentity", + progressMetrics: { + serializedName: "progressMetrics", + type: { + name: "Composite", + className: "ProgressMetrics" + } + }, + projectId: { + serializedName: "projectId", + readOnly: true, + type: { + name: "Uuid" + } + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String" } + }, + statusMessages: { + serializedName: "statusMessages", + readOnly: true, + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StatusMessage" + } + } + } } } } }; -export const AzureFileDatastore: coreClient.CompositeMapper = { - serializedName: "AzureFile", +export const AutoMLJob: coreClient.CompositeMapper = { + serializedName: "AutoML", type: { name: "Composite", - className: "AzureFileDatastore", + className: "AutoMLJob", uberParent: "ResourceBase", polymorphicDiscriminator: ResourceBase.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreProperties.type.modelProperties, - accountName: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") - }, - serializedName: "accountName", - required: true, + ...JobBaseProperties.type.modelProperties, + environmentId: { + serializedName: "environmentId", + nullable: true, type: { name: "String" } }, - endpoint: { - serializedName: "endpoint", + environmentVariables: { + serializedName: "environmentVariables", nullable: true, type: { - name: "String" + name: "Dictionary", + value: { type: { name: "String" } } } }, - fileShareName: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") - }, - serializedName: "fileShareName", - required: true, + outputs: { + serializedName: "outputs", + nullable: true, type: { - name: "String" + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } } } }, - protocol: { - serializedName: "protocol", - nullable: true, + resources: { + serializedName: "resources", type: { - name: "String" + name: "Composite", + className: "JobResourceConfiguration" } }, - serviceDataAccessAuthIdentity: { - serializedName: "serviceDataAccessAuthIdentity", + taskDetails: { + serializedName: "taskDetails", type: { - name: "String" + name: "Composite", + className: "AutoMLVertical" } } } @@ -8648,7 +12317,7 @@ export const CommandJob: coreClient.CompositeMapper = { serializedName: "resources", type: { name: "Composite", - className: "ResourceConfiguration" + className: "JobResourceConfiguration" } } } @@ -8697,6 +12366,136 @@ export const PipelineJob: coreClient.CompositeMapper = { name: "Dictionary", value: { type: { name: "any" } } } + }, + sourceJobId: { + serializedName: "sourceJobId", + nullable: true, + type: { + name: "String" + } + } + } + } +}; + +export const SparkJob: coreClient.CompositeMapper = { + serializedName: "Spark", + type: { + name: "Composite", + className: "SparkJob", + uberParent: "ResourceBase", + polymorphicDiscriminator: ResourceBase.type.polymorphicDiscriminator, + modelProperties: { + ...JobBaseProperties.type.modelProperties, + archives: { + serializedName: "archives", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + args: { + serializedName: "args", + nullable: true, + type: { + name: "String" + } + }, + codeId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "codeId", + required: true, + type: { + name: "String" + } + }, + conf: { + serializedName: "conf", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + entry: { + serializedName: "entry", + type: { + name: "Composite", + className: "SparkJobEntry" + } + }, + environmentId: { + serializedName: "environmentId", + nullable: true, + type: { + name: "String" + } + }, + files: { + serializedName: "files", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + inputs: { + serializedName: "inputs", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "JobInput" } } + } + }, + jars: { + serializedName: "jars", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + outputs: { + serializedName: "outputs", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } } + } + }, + pyFiles: { + serializedName: "pyFiles", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + resources: { + serializedName: "resources", + type: { + name: "Composite", + className: "SparkResourceConfiguration" + } } } } @@ -9108,6 +12907,77 @@ export const JobsCancelHeaders: coreClient.CompositeMapper = { } }; +export const LabelingJobsCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "LabelingJobsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan" + } + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String" + } + } + } + } +}; + +export const LabelingJobsExportLabelsHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "LabelingJobsExportLabelsHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String" + } + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10 + }, + serializedName: "retry-after", + type: { + name: "Number" + } + } + } + } +}; + +export const LabelingJobsResumeHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "LabelingJobsResumeHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String" + } + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10 + }, + serializedName: "retry-after", + type: { + name: "Number" + } + } + } + } +}; + export const OnlineEndpointsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", @@ -9299,6 +13169,58 @@ export const OnlineDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper } }; +export const SchedulesDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SchedulesDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan" + } + }, + location: { + serializedName: "location", + type: { + name: "String" + } + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10 + }, + serializedName: "retry-after", + type: { + name: "Number" + } + } + } + } +}; + +export const SchedulesCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SchedulesCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan" + } + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String" + } + } + } + } +}; + export let discriminators = { Compute: Compute, ComputeSecrets: ComputeSecrets, @@ -9307,13 +13229,25 @@ export let discriminators = { DatastoreCredentials: DatastoreCredentials, DatastoreSecrets: DatastoreSecrets, IdentityConfiguration: IdentityConfiguration, + LabelingJobMediaProperties: LabelingJobMediaProperties, + MLAssistConfiguration: MLAssistConfiguration, + ExportSummary: ExportSummary, OnlineScaleSettings: OnlineScaleSettings, + ScheduleActionBase: ScheduleActionBase, + TriggerBase: TriggerBase, + ForecastHorizon: ForecastHorizon, + JobOutput: JobOutput, + AutoMLVertical: AutoMLVertical, + JobInput: JobInput, + NCrossValidations: NCrossValidations, + Seasonality: Seasonality, + TargetLags: TargetLags, + TargetRollingWindowSize: TargetRollingWindowSize, EarlyTerminationPolicy: EarlyTerminationPolicy, SamplingAlgorithm: SamplingAlgorithm, DistributionConfiguration: DistributionConfiguration, - JobInput: JobInput, JobLimits: JobLimits, - JobOutput: JobOutput, + SparkJobEntry: SparkJobEntry, "Compute.AKS": Aks, "Compute.Kubernetes": Kubernetes, "Compute.AmlCompute": AmlCompute, @@ -9340,21 +13274,36 @@ export let discriminators = { "ResourceBase.JobBaseProperties": JobBaseProperties, "DatastoreCredentials.AccountKey": AccountKeyDatastoreCredentials, "DatastoreCredentials.Certificate": CertificateDatastoreCredentials, + "KerberosCredentials.KerberosKeytab": KerberosKeytabCredentials, + "KerberosCredentials.KerberosPassword": KerberosPasswordCredentials, "DatastoreCredentials.None": NoneDatastoreCredentials, "DatastoreCredentials.Sas": SasDatastoreCredentials, "DatastoreCredentials.ServicePrincipal": ServicePrincipalDatastoreCredentials, "DatastoreSecrets.AccountKey": AccountKeyDatastoreSecrets, "DatastoreSecrets.Certificate": CertificateDatastoreSecrets, + "DatastoreSecrets.KerberosKeytab": KerberosKeytabSecrets, + "DatastoreSecrets.KerberosPassword": KerberosPasswordSecrets, "DatastoreSecrets.Sas": SasDatastoreSecrets, "DatastoreSecrets.ServicePrincipal": ServicePrincipalDatastoreSecrets, "IdentityConfiguration.AMLToken": AmlToken, "IdentityConfiguration.Managed": ManagedIdentity, "IdentityConfiguration.UserIdentity": UserIdentity, + "LabelingJobMediaProperties.Image": LabelingJobImageProperties, + "LabelingJobMediaProperties.Text": LabelingJobTextProperties, + "MLAssistConfiguration.Disabled": MLAssistConfigurationDisabled, + "MLAssistConfiguration.Enabled": MLAssistConfigurationEnabled, + "ExportSummary.Coco": CocoExportSummary, + "ExportSummary.CSV": CsvExportSummary, + "ExportSummary.Dataset": DatasetExportSummary, "OnlineScaleSettings.Default": DefaultScaleSettings, "OnlineScaleSettings.TargetUtilization": TargetUtilizationScaleSettings, + "ScheduleActionBase.InvokeBatchEndpoint": EndpointScheduleAction, + "ScheduleActionBase.CreateJob": JobScheduleAction, + "TriggerBase.Cron": CronTrigger, + "TriggerBase.Recurrence": RecurrenceTrigger, + "AssetJobInput.mltable": MLTableJobInput, "AssetJobInput.custom_model": CustomModelJobInput, "AssetJobInput.mlflow_model": MLFlowModelJobInput, - "AssetJobInput.mltable": MLTableJobInput, "AssetJobInput.triton_model": TritonModelJobInput, "AssetJobInput.uri_file": UriFileJobInput, "AssetJobInput.uri_folder": UriFolderJobInput, @@ -9364,6 +13313,31 @@ export let discriminators = { "AssetJobOutput.triton_model": TritonModelJobOutput, "AssetJobOutput.uri_file": UriFileJobOutput, "AssetJobOutput.uri_folder": UriFolderJobOutput, + "ForecastHorizon.Auto": AutoForecastHorizon, + "ForecastHorizon.Custom": CustomForecastHorizon, + "TableVertical.Classification": Classification, + "TableVertical.Forecasting": Forecasting, + "AutoMLVertical.ImageClassification": ImageClassification, + "AutoMLVertical.ImageClassificationMultilabel": ImageClassificationMultilabel, + "AutoMLVertical.ImageInstanceSegmentation": ImageInstanceSegmentation, + "AutoMLVertical.ImageObjectDetection": ImageObjectDetection, + "TableVertical.Regression": Regression, + "NlpVertical.TextClassification": TextClassification, + "NlpVertical.TextClassificationMultilabel": TextClassificationMultilabel, + "NlpVertical.TextNER": TextNer, + "JobInput.literal": LiteralJobInput, + "NCrossValidations.Auto": AutoNCrossValidations, + "NCrossValidations.Custom": CustomNCrossValidations, + "Seasonality.Auto": AutoSeasonality, + "Seasonality.Custom": CustomSeasonality, + "TargetLags.Auto": AutoTargetLags, + "TargetLags.Custom": CustomTargetLags, + "TargetRollingWindowSize.Auto": AutoTargetRollingWindowSize, + "TargetRollingWindowSize.Custom": CustomTargetRollingWindowSize, + "AzureDatastore.AzureBlob": AzureBlobDatastore, + "AzureDatastore.AzureDataLakeGen1": AzureDataLakeGen1Datastore, + "AzureDatastore.AzureDataLakeGen2": AzureDataLakeGen2Datastore, + "AzureDatastore.AzureFile": AzureFileDatastore, "EarlyTerminationPolicy.Bandit": BanditPolicy, "EarlyTerminationPolicy.MedianStopping": MedianStoppingPolicy, "EarlyTerminationPolicy.TruncationSelection": TruncationSelectionPolicy, @@ -9373,18 +13347,18 @@ export let discriminators = { "DistributionConfiguration.Mpi": Mpi, "DistributionConfiguration.PyTorch": PyTorch, "DistributionConfiguration.TensorFlow": TensorFlow, - "JobInput.literal": LiteralJobInput, "JobLimits.Command": CommandJobLimits, "JobLimits.Sweep": SweepJobLimits, + "SparkJobEntry.SparkJobPythonEntry": SparkJobScalaEntry, "EndpointDeploymentPropertiesBase.Kubernetes": KubernetesOnlineDeployment, "EndpointDeploymentPropertiesBase.Managed": ManagedOnlineDeployment, "ResourceBase.DataVersionBaseProperties": DataVersionBaseProperties, - "ResourceBase.AzureBlob": AzureBlobDatastore, - "ResourceBase.AzureDataLakeGen1": AzureDataLakeGen1Datastore, - "ResourceBase.AzureDataLakeGen2": AzureDataLakeGen2Datastore, - "ResourceBase.AzureFile": AzureFileDatastore, + "ResourceBase.Hdfs": HdfsDatastore, + "ResourceBase.Labeling": LabelingJobProperties, + "ResourceBase.AutoML": AutoMLJob, "ResourceBase.Command": CommandJob, "ResourceBase.Pipeline": PipelineJob, + "ResourceBase.Spark": SparkJob, "ResourceBase.Sweep": SweepJob, "ResourceBase.mltable": MLTableData, "ResourceBase.uri_file": UriFileDataVersion, diff --git a/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts b/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts index 605504c965b2..6be689a5089a 100644 --- a/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts +++ b/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts @@ -18,6 +18,7 @@ import { QuotaUpdateParameters as QuotaUpdateParametersMapper, ComputeResource as ComputeResourceMapper, ClusterUpdateParameters as ClusterUpdateParametersMapper, + IdleShutdownSetting as IdleShutdownSettingMapper, PrivateEndpointConnection as PrivateEndpointConnectionMapper, WorkspaceConnectionPropertiesV2BasicResource as WorkspaceConnectionPropertiesV2BasicResourceMapper, PartialMinimalTrackedResourceWithIdentity as PartialMinimalTrackedResourceWithIdentityMapper, @@ -34,13 +35,16 @@ import { EnvironmentContainer as EnvironmentContainerMapper, EnvironmentVersion as EnvironmentVersionMapper, JobBase as JobBaseMapper, + LabelingJob as LabelingJobMapper, + ExportSummary as ExportSummaryMapper, ModelContainer as ModelContainerMapper, ModelVersion as ModelVersionMapper, OnlineEndpoint as OnlineEndpointMapper, RegenerateEndpointKeysRequest as RegenerateEndpointKeysRequestMapper, PartialMinimalTrackedResourceWithSku as PartialMinimalTrackedResourceWithSkuMapper, OnlineDeployment as OnlineDeploymentMapper, - DeploymentLogsRequest as DeploymentLogsRequestMapper + DeploymentLogsRequest as DeploymentLogsRequestMapper, + Schedule as ScheduleMapper } from "../models/mappers"; export const accept: OperationParameter = { @@ -70,7 +74,7 @@ export const $host: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2022-05-01", + defaultValue: "2022-06-01-preview", isConstant: true, serializedName: "api-version", type: { @@ -219,6 +223,28 @@ export const underlyingResourceAction: OperationQueryParameter = { } }; +export const customServices: OperationParameter = { + parameterPath: "customServices", + mapper: { + serializedName: "customServices", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CustomService" + } + } + } + } +}; + +export const parameters6: OperationParameter = { + parameterPath: "parameters", + mapper: IdleShutdownSettingMapper +}; + export const privateEndpointConnectionName: OperationURLParameter = { parameterPath: "privateEndpointConnectionName", mapper: { @@ -235,7 +261,7 @@ export const properties: OperationParameter = { mapper: PrivateEndpointConnectionMapper }; -export const parameters6: OperationParameter = { +export const parameters7: OperationParameter = { parameterPath: "parameters", mapper: WorkspaceConnectionPropertiesV2BasicResourceMapper }; @@ -571,6 +597,26 @@ export const tag: OperationQueryParameter = { } }; +export const scheduled: OperationQueryParameter = { + parameterPath: ["options", "scheduled"], + mapper: { + serializedName: "scheduled", + type: { + name: "Boolean" + } + } +}; + +export const scheduleId: OperationQueryParameter = { + parameterPath: ["options", "scheduleId"], + mapper: { + serializedName: "scheduleId", + type: { + name: "String" + } + } +}; + export const id: OperationURLParameter = { parameterPath: "id", mapper: { @@ -601,7 +647,39 @@ export const id1: OperationURLParameter = { } }; +export const includeJobInstructions: OperationQueryParameter = { + parameterPath: ["options", "includeJobInstructions"], + mapper: { + defaultValue: false, + serializedName: "includeJobInstructions", + type: { + name: "Boolean" + } + } +}; + +export const includeLabelCategories: OperationQueryParameter = { + parameterPath: ["options", "includeLabelCategories"], + mapper: { + defaultValue: false, + serializedName: "includeLabelCategories", + type: { + name: "Boolean" + } + } +}; + export const body14: OperationParameter = { + parameterPath: "body", + mapper: LabelingJobMapper +}; + +export const body15: OperationParameter = { + parameterPath: "body", + mapper: ExportSummaryMapper +}; + +export const body16: OperationParameter = { parameterPath: "body", mapper: ModelContainerMapper }; @@ -666,7 +744,7 @@ export const feed: OperationQueryParameter = { } }; -export const body15: OperationParameter = { +export const body17: OperationParameter = { parameterPath: "body", mapper: ModelVersionMapper }; @@ -701,27 +779,32 @@ export const orderBy2: OperationQueryParameter = { } }; -export const body16: OperationParameter = { +export const body18: OperationParameter = { parameterPath: "body", mapper: OnlineEndpointMapper }; -export const body17: OperationParameter = { +export const body19: OperationParameter = { parameterPath: "body", mapper: RegenerateEndpointKeysRequestMapper }; -export const body18: OperationParameter = { +export const body20: OperationParameter = { parameterPath: "body", mapper: PartialMinimalTrackedResourceWithSkuMapper }; -export const body19: OperationParameter = { +export const body21: OperationParameter = { parameterPath: "body", mapper: OnlineDeploymentMapper }; -export const body20: OperationParameter = { +export const body22: OperationParameter = { parameterPath: "body", mapper: DeploymentLogsRequestMapper }; + +export const body23: OperationParameter = { + parameterPath: "body", + mapper: ScheduleMapper +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts b/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts index af2cfa7d6de5..02ffbe3dca35 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts @@ -31,12 +31,16 @@ import { ComputeUpdateResponse, UnderlyingResourceAction, ComputeDeleteOptionalParams, + CustomService, + ComputeUpdateCustomServicesOptionalParams, ComputeListNodesResponse, ComputeListKeysOptionalParams, ComputeListKeysResponse, ComputeStartOptionalParams, ComputeStopOptionalParams, ComputeRestartOptionalParams, + IdleShutdownSetting, + ComputeUpdateIdleShutdownSettingOptionalParams, ComputeListNextResponse, ComputeListNodesNextResponse } from "../models"; @@ -527,6 +531,33 @@ export class ComputeOperationsImpl implements ComputeOperations { return poller.pollUntilDone(); } + /** + * Updates the custom services list. The list of custom services provided shall be overwritten + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param customServices New list of Custom Services. + * @param options The options parameters. + */ + updateCustomServices( + resourceGroupName: string, + workspaceName: string, + computeName: string, + customServices: CustomService[], + options?: ComputeUpdateCustomServicesOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + computeName, + customServices, + options + }, + updateCustomServicesOperationSpec + ); + } + /** * 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. @@ -826,6 +857,27 @@ export class ComputeOperationsImpl implements ComputeOperations { return poller.pollUntilDone(); } + /** + * Updates the idle shutdown setting of 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 computeName Name of the Azure Machine Learning compute. + * @param parameters The object for updating idle shutdown setting of specified ComputeInstance. + * @param options The options parameters. + */ + updateIdleShutdownSetting( + resourceGroupName: string, + workspaceName: string, + computeName: string, + parameters: IdleShutdownSetting, + options?: ComputeUpdateIdleShutdownSettingOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, computeName, parameters, options }, + updateIdleShutdownSettingOperationSpec + ); + } + /** * ListNext * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -1006,6 +1058,29 @@ const deleteOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer }; +const updateCustomServicesOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/customServices", + httpMethod: "POST", + responses: { + 200: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.customServices, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.computeName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; const listNodesOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes", @@ -1124,6 +1199,29 @@ const restartOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer }; +const updateIdleShutdownSettingOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/updateIdleShutdownSetting", + httpMethod: "POST", + responses: { + 200: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.parameters6, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.computeName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/index.ts b/sdk/machinelearning/arm-machinelearning/src/operations/index.ts index c6300becb0a1..8ea1d4b2e579 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/index.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/index.ts @@ -27,8 +27,10 @@ export * from "./datastores"; export * from "./environmentContainers"; export * from "./environmentVersions"; export * from "./jobs"; +export * from "./labelingJobs"; export * from "./modelContainers"; export * from "./modelVersions"; export * from "./onlineEndpoints"; export * from "./onlineDeployments"; +export * from "./schedules"; export * from "./workspaceFeatures"; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts b/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts index 1eb80436b2f4..ec0091ea1838 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts @@ -371,7 +371,9 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.skip, Parameters.listViewType, Parameters.jobType, - Parameters.tag + Parameters.tag, + Parameters.scheduled, + Parameters.scheduleId ], urlParameters: [ Parameters.$host, @@ -497,7 +499,9 @@ const listNextOperationSpec: coreClient.OperationSpec = { Parameters.skip, Parameters.listViewType, Parameters.jobType, - Parameters.tag + Parameters.tag, + Parameters.scheduled, + Parameters.scheduleId ], urlParameters: [ Parameters.$host, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/labelingJobs.ts b/sdk/machinelearning/arm-machinelearning/src/operations/labelingJobs.ts new file mode 100644 index 000000000000..980e0b016844 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/labelingJobs.ts @@ -0,0 +1,691 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { LabelingJobs } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + LabelingJob, + LabelingJobsListNextOptionalParams, + LabelingJobsListOptionalParams, + LabelingJobsListResponse, + LabelingJobsDeleteOptionalParams, + LabelingJobsGetOptionalParams, + LabelingJobsGetResponse, + LabelingJobsCreateOrUpdateOptionalParams, + LabelingJobsCreateOrUpdateResponse, + ExportSummaryUnion, + LabelingJobsExportLabelsOptionalParams, + LabelingJobsExportLabelsResponse, + LabelingJobsPauseOptionalParams, + LabelingJobsResumeOptionalParams, + LabelingJobsListNextResponse +} from "../models"; + +/// +/** Class containing LabelingJobs operations. */ +export class LabelingJobsImpl implements LabelingJobs { + private readonly client: AzureMachineLearningWorkspaces; + + /** + * Initialize a new instance of the class LabelingJobs class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningWorkspaces) { + this.client = client; + } + + /** + * Lists labeling jobs in the workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + options?: LabelingJobsListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listPagingPage(resourceGroupName, workspaceName, options); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: LabelingJobsListOptionalParams + ): AsyncIterableIterator { + let result = await this._list(resourceGroupName, workspaceName, options); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + continuationToken, + options + ); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: LabelingJobsListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options + )) { + yield* page; + } + } + + /** + * Lists labeling jobs in the workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: LabelingJobsListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec + ); + } + + /** + * Delete a labeling job. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param id The name and identifier for the LabelingJob. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + workspaceName: string, + id: string, + options?: LabelingJobsDeleteOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, id, options }, + deleteOperationSpec + ); + } + + /** + * Gets a labeling job by name/id. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param id The name and identifier for the LabelingJob. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + id: string, + options?: LabelingJobsGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, id, options }, + getOperationSpec + ); + } + + /** + * Creates or updates a labeling job (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param id The name and identifier for the LabelingJob. + * @param body LabelingJob definition object. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + id: string, + body: LabelingJob, + options?: LabelingJobsCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + LabelingJobsCreateOrUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, workspaceName, id, body, options }, + createOrUpdateOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs + }); + await poller.poll(); + return poller; + } + + /** + * Creates or updates a labeling job (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param id The name and identifier for the LabelingJob. + * @param body LabelingJob definition object. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + id: string, + body: LabelingJob, + options?: LabelingJobsCreateOrUpdateOptionalParams + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + workspaceName, + id, + body, + options + ); + return poller.pollUntilDone(); + } + + /** + * Export labels from a labeling job (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param id The name and identifier for the LabelingJob. + * @param body The export summary. + * @param options The options parameters. + */ + async beginExportLabels( + resourceGroupName: string, + workspaceName: string, + id: string, + body: ExportSummaryUnion, + options?: LabelingJobsExportLabelsOptionalParams + ): Promise< + PollerLike< + PollOperationState, + LabelingJobsExportLabelsResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, workspaceName, id, body, options }, + exportLabelsOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Export labels from a labeling job (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param id The name and identifier for the LabelingJob. + * @param body The export summary. + * @param options The options parameters. + */ + async beginExportLabelsAndWait( + resourceGroupName: string, + workspaceName: string, + id: string, + body: ExportSummaryUnion, + options?: LabelingJobsExportLabelsOptionalParams + ): Promise { + const poller = await this.beginExportLabels( + resourceGroupName, + workspaceName, + id, + body, + options + ); + return poller.pollUntilDone(); + } + + /** + * Pause a labeling job. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param id The name and identifier for the LabelingJob. + * @param options The options parameters. + */ + pause( + resourceGroupName: string, + workspaceName: string, + id: string, + options?: LabelingJobsPauseOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, id, options }, + pauseOperationSpec + ); + } + + /** + * Resume a labeling job (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param id The name and identifier for the LabelingJob. + * @param options The options parameters. + */ + async beginResume( + resourceGroupName: string, + workspaceName: string, + id: string, + options?: LabelingJobsResumeOptionalParams + ): Promise, void>> { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, workspaceName, id, options }, + resumeOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Resume a labeling job (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param id The name and identifier for the LabelingJob. + * @param options The options parameters. + */ + async beginResumeAndWait( + resourceGroupName: string, + workspaceName: string, + id: string, + options?: LabelingJobsResumeOptionalParams + ): Promise { + const poller = await this.beginResume( + resourceGroupName, + workspaceName, + id, + options + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + nextLink: string, + options?: LabelingJobsListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, nextLink, options }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.LabelingJobResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.count], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName + ], + headerParameters: [Parameters.accept], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.id + ], + headerParameters: [Parameters.accept], + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.LabelingJob + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.includeJobInstructions, + Parameters.includeLabelCategories + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.id + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.LabelingJob + }, + 201: { + bodyMapper: Mappers.LabelingJob + }, + 202: { + bodyMapper: Mappers.LabelingJob + }, + 204: { + bodyMapper: Mappers.LabelingJob + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.body14, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.id1 + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const exportLabelsOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}/exportLabels", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.ExportSummary + }, + 201: { + bodyMapper: Mappers.ExportSummary + }, + 202: { + bodyMapper: Mappers.ExportSummary + }, + 204: { + bodyMapper: Mappers.ExportSummary + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.body15, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.id + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const pauseOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}/pause", + httpMethod: "POST", + responses: { + 200: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.id + ], + headerParameters: [Parameters.accept], + serializer +}; +const resumeOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}/resume", + httpMethod: "POST", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.id + ], + headerParameters: [Parameters.accept], + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.LabelingJobResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.count], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/modelContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/modelContainers.ts index 46a0851221a6..eda605f5ec0b 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/modelContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/modelContainers.ts @@ -282,7 +282,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body14, + requestBody: Parameters.body16, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts index 62d4861db82c..d8653d43e332 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts @@ -323,7 +323,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body15, + requestBody: Parameters.body17, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/onlineDeployments.ts b/sdk/machinelearning/arm-machinelearning/src/operations/onlineDeployments.ts index 57bfa146189e..6cc9106920b0 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/onlineDeployments.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/onlineDeployments.ts @@ -791,7 +791,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body18, + requestBody: Parameters.body20, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -826,7 +826,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body19, + requestBody: Parameters.body21, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -852,7 +852,7 @@ const getLogsOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body20, + requestBody: Parameters.body22, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts b/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts index 335ace8e202d..4bfc6e5a661a 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts @@ -711,7 +711,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body16, + requestBody: Parameters.body18, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -760,7 +760,7 @@ const regenerateKeysOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body17, + requestBody: Parameters.body19, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/schedules.ts b/sdk/machinelearning/arm-machinelearning/src/operations/schedules.ts new file mode 100644 index 000000000000..80c36801a790 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/schedules.ts @@ -0,0 +1,468 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { Schedules } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningWorkspaces } from "../azureMachineLearningWorkspaces"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + Schedule, + SchedulesListNextOptionalParams, + SchedulesListOptionalParams, + SchedulesListResponse, + SchedulesDeleteOptionalParams, + SchedulesGetOptionalParams, + SchedulesGetResponse, + SchedulesCreateOrUpdateOptionalParams, + SchedulesCreateOrUpdateResponse, + SchedulesListNextResponse +} from "../models"; + +/// +/** Class containing Schedules operations. */ +export class SchedulesImpl implements Schedules { + private readonly client: AzureMachineLearningWorkspaces; + + /** + * Initialize a new instance of the class Schedules class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningWorkspaces) { + this.client = client; + } + + /** + * List schedules 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 options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + options?: SchedulesListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listPagingPage(resourceGroupName, workspaceName, options); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: SchedulesListOptionalParams + ): AsyncIterableIterator { + let result = await this._list(resourceGroupName, workspaceName, options); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + continuationToken, + options + ); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: SchedulesListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options + )) { + yield* page; + } + } + + /** + * List schedules 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 options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: SchedulesListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec + ); + } + + /** + * Delete schedule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Schedule name. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: SchedulesDeleteOptionalParams + ): Promise, void>> { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, workspaceName, name, options }, + deleteOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs + }); + await poller.poll(); + return poller; + } + + /** + * Delete schedule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Schedule name. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: SchedulesDeleteOptionalParams + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + name, + options + ); + return poller.pollUntilDone(); + } + + /** + * Get schedule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Schedule name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: SchedulesGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, name, options }, + getOperationSpec + ); + } + + /** + * Create or update schedule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Schedule name. + * @param body Schedule definition. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + name: string, + body: Schedule, + options?: SchedulesCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + SchedulesCreateOrUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, workspaceName, name, body, options }, + createOrUpdateOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs + }); + await poller.poll(); + return poller; + } + + /** + * Create or update schedule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Schedule name. + * @param body Schedule definition. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + body: Schedule, + options?: SchedulesCreateOrUpdateOptionalParams + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + workspaceName, + name, + body, + options + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + nextLink: string, + options?: SchedulesListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, nextLink, options }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ScheduleResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion, Parameters.skip], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName + ], + headerParameters: [Parameters.accept], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules/{name}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.name + ], + headerParameters: [Parameters.accept], + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules/{name}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.Schedule + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.name + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules/{name}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.Schedule + }, + 201: { + bodyMapper: Mappers.Schedule + }, + 202: { + bodyMapper: Mappers.Schedule + }, + 204: { + bodyMapper: Mappers.Schedule + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.body23, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.name1 + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ScheduleResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion, Parameters.skip], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts index 0c7762a8bcaf..3f0bab324aa3 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts @@ -202,7 +202,7 @@ const createOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters6, + requestBody: Parameters.parameters7, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/computeOperations.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/computeOperations.ts index 630c4eee8be1..6d4942774839 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/computeOperations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/computeOperations.ts @@ -22,11 +22,15 @@ import { ComputeUpdateResponse, UnderlyingResourceAction, ComputeDeleteOptionalParams, + CustomService, + ComputeUpdateCustomServicesOptionalParams, ComputeListKeysOptionalParams, ComputeListKeysResponse, ComputeStartOptionalParams, ComputeStopOptionalParams, - ComputeRestartOptionalParams + ComputeRestartOptionalParams, + IdleShutdownSetting, + ComputeUpdateIdleShutdownSettingOptionalParams } from "../models"; /// @@ -175,6 +179,21 @@ export interface ComputeOperations { underlyingResourceAction: UnderlyingResourceAction, options?: ComputeDeleteOptionalParams ): Promise; + /** + * Updates the custom services list. The list of custom services provided shall be overwritten + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param computeName Name of the Azure Machine Learning compute. + * @param customServices New list of Custom Services. + * @param options The options parameters. + */ + updateCustomServices( + resourceGroupName: string, + workspaceName: string, + computeName: string, + customServices: CustomService[], + options?: ComputeUpdateCustomServicesOptionalParams + ): Promise; /** * 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. @@ -266,4 +285,19 @@ export interface ComputeOperations { computeName: string, options?: ComputeRestartOptionalParams ): Promise; + /** + * Updates the idle shutdown setting of 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 computeName Name of the Azure Machine Learning compute. + * @param parameters The object for updating idle shutdown setting of specified ComputeInstance. + * @param options The options parameters. + */ + updateIdleShutdownSetting( + resourceGroupName: string, + workspaceName: string, + computeName: string, + parameters: IdleShutdownSetting, + options?: ComputeUpdateIdleShutdownSettingOptionalParams + ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts index c6300becb0a1..8ea1d4b2e579 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts @@ -27,8 +27,10 @@ export * from "./datastores"; export * from "./environmentContainers"; export * from "./environmentVersions"; export * from "./jobs"; +export * from "./labelingJobs"; export * from "./modelContainers"; export * from "./modelVersions"; export * from "./onlineEndpoints"; export * from "./onlineDeployments"; +export * from "./schedules"; export * from "./workspaceFeatures"; diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/labelingJobs.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/labelingJobs.ts new file mode 100644 index 000000000000..911241208819 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/labelingJobs.ts @@ -0,0 +1,175 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { + LabelingJob, + LabelingJobsListOptionalParams, + LabelingJobsDeleteOptionalParams, + LabelingJobsGetOptionalParams, + LabelingJobsGetResponse, + LabelingJobsCreateOrUpdateOptionalParams, + LabelingJobsCreateOrUpdateResponse, + ExportSummaryUnion, + LabelingJobsExportLabelsOptionalParams, + LabelingJobsExportLabelsResponse, + LabelingJobsPauseOptionalParams, + LabelingJobsResumeOptionalParams +} from "../models"; + +/// +/** Interface representing a LabelingJobs. */ +export interface LabelingJobs { + /** + * Lists labeling jobs in the workspace. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: LabelingJobsListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Delete a labeling job. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param id The name and identifier for the LabelingJob. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + workspaceName: string, + id: string, + options?: LabelingJobsDeleteOptionalParams + ): Promise; + /** + * Gets a labeling job by name/id. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param id The name and identifier for the LabelingJob. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + id: string, + options?: LabelingJobsGetOptionalParams + ): Promise; + /** + * Creates or updates a labeling job (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param id The name and identifier for the LabelingJob. + * @param body LabelingJob definition object. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + id: string, + body: LabelingJob, + options?: LabelingJobsCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + LabelingJobsCreateOrUpdateResponse + > + >; + /** + * Creates or updates a labeling job (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param id The name and identifier for the LabelingJob. + * @param body LabelingJob definition object. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + id: string, + body: LabelingJob, + options?: LabelingJobsCreateOrUpdateOptionalParams + ): Promise; + /** + * Export labels from a labeling job (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param id The name and identifier for the LabelingJob. + * @param body The export summary. + * @param options The options parameters. + */ + beginExportLabels( + resourceGroupName: string, + workspaceName: string, + id: string, + body: ExportSummaryUnion, + options?: LabelingJobsExportLabelsOptionalParams + ): Promise< + PollerLike< + PollOperationState, + LabelingJobsExportLabelsResponse + > + >; + /** + * Export labels from a labeling job (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param id The name and identifier for the LabelingJob. + * @param body The export summary. + * @param options The options parameters. + */ + beginExportLabelsAndWait( + resourceGroupName: string, + workspaceName: string, + id: string, + body: ExportSummaryUnion, + options?: LabelingJobsExportLabelsOptionalParams + ): Promise; + /** + * Pause a labeling job. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param id The name and identifier for the LabelingJob. + * @param options The options parameters. + */ + pause( + resourceGroupName: string, + workspaceName: string, + id: string, + options?: LabelingJobsPauseOptionalParams + ): Promise; + /** + * Resume a labeling job (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param id The name and identifier for the LabelingJob. + * @param options The options parameters. + */ + beginResume( + resourceGroupName: string, + workspaceName: string, + id: string, + options?: LabelingJobsResumeOptionalParams + ): Promise, void>>; + /** + * Resume a labeling job (asynchronous). + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param id The name and identifier for the LabelingJob. + * @param options The options parameters. + */ + beginResumeAndWait( + resourceGroupName: string, + workspaceName: string, + id: string, + options?: LabelingJobsResumeOptionalParams + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/schedules.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/schedules.ts new file mode 100644 index 000000000000..aaa2ce6be834 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/schedules.ts @@ -0,0 +1,109 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { + Schedule, + SchedulesListOptionalParams, + SchedulesDeleteOptionalParams, + SchedulesGetOptionalParams, + SchedulesGetResponse, + SchedulesCreateOrUpdateOptionalParams, + SchedulesCreateOrUpdateResponse +} from "../models"; + +/// +/** Interface representing a Schedules. */ +export interface Schedules { + /** + * List schedules 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 options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: SchedulesListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Delete schedule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Schedule name. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: SchedulesDeleteOptionalParams + ): Promise, void>>; + /** + * Delete schedule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Schedule name. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: SchedulesDeleteOptionalParams + ): Promise; + /** + * Get schedule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Schedule name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: SchedulesGetOptionalParams + ): Promise; + /** + * Create or update schedule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Schedule name. + * @param body Schedule definition. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + name: string, + body: Schedule, + options?: SchedulesCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + SchedulesCreateOrUpdateResponse + > + >; + /** + * Create or update schedule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Schedule name. + * @param body Schedule definition. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + body: Schedule, + options?: SchedulesCreateOrUpdateOptionalParams + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/tsconfig.json b/sdk/machinelearning/arm-machinelearning/tsconfig.json index c068b7a47837..3e6ae96443f3 100644 --- a/sdk/machinelearning/arm-machinelearning/tsconfig.json +++ b/sdk/machinelearning/arm-machinelearning/tsconfig.json @@ -15,17 +15,11 @@ ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true, - "paths": { - "@azure/arm-machinelearning": [ - "./src/index" - ] - } + "importHelpers": true }, "include": [ "./src/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts" + "./test/**/*.ts" ], "exclude": [ "node_modules"