From 017792d75cec53c66cf9e663a0d6da3441fc879f Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Sat, 11 Feb 2023 01:10:47 +0000 Subject: [PATCH] CodeGen from PR 22456 in Azure/azure-rest-api-specs Merge f9b05b4103e4c570cd7938d2bddf6c50b63e7b17 into 0d0019ac3c8f97601ab24407946aefc9a5c72efd --- common/config/rush/pnpm-lock.yaml | 8 +- .../arm-machinelearning/CHANGELOG.md | 566 +- .../arm-machinelearning/LICENSE | 2 +- .../arm-machinelearning/README.md | 26 +- .../arm-machinelearning/_meta.json | 8 +- .../arm-machinelearning/package.json | 24 +- .../review/arm-machinelearning.api.md | 5522 ++++-- ...ces.ts => azureMachineLearningServices.ts} | 86 +- .../arm-machinelearning/src/index.ts | 2 +- .../arm-machinelearning/src/models/index.ts | 5004 +++++- .../arm-machinelearning/src/models/mappers.ts | 14981 ++++++++++------ .../src/models/parameters.ts | 505 +- .../src/operations/batchDeployments.ts | 16 +- .../src/operations/batchEndpoints.ts | 11 +- .../src/operations/codeContainers.ts | 9 +- .../src/operations/codeVersions.ts | 26 +- .../src/operations/componentContainers.ts | 13 +- .../src/operations/componentVersions.ts | 27 +- .../src/operations/computeOperations.ts | 106 +- .../src/operations/dataContainers.ts | 13 +- .../src/operations/dataVersions.ts | 28 +- .../src/operations/datastores.ts | 18 +- .../src/operations/environmentContainers.ts | 13 +- .../src/operations/environmentVersions.ts | 27 +- .../src/operations/featuresetContainers.ts | 492 + .../src/operations/featuresetVersions.ts | 1126 ++ .../featurestoreEntityContainers.ts | 493 + .../operations/featurestoreEntityVersions.ts | 531 + .../src/operations/index.ts | 16 + .../src/operations/jobs.ts | 20 +- .../src/operations/labelingJobs.ts | 708 + .../src/operations/modelContainers.ts | 18 +- .../src/operations/modelVersions.ts | 177 +- .../src/operations/onlineDeployments.ts | 19 +- .../src/operations/onlineEndpoints.ts | 24 +- .../src/operations/operations.ts | 10 +- .../operations/privateEndpointConnections.ts | 6 +- .../src/operations/privateLinkResources.ts | 6 +- .../src/operations/quotas.ts | 7 +- .../src/operations/registries.ts | 703 + .../src/operations/registryCodeContainers.ts | 487 + .../src/operations/registryCodeVersions.ts | 530 + .../operations/registryComponentContainers.ts | 488 + .../operations/registryComponentVersions.ts | 538 + .../src/operations/registryDataContainers.ts | 491 + .../src/operations/registryDataVersions.ts | 527 + .../registryEnvironmentContainers.ts | 492 + .../operations/registryEnvironmentVersions.ts | 539 + .../src/operations/registryModelContainers.ts | 491 + .../src/operations/registryModelVersions.ts | 535 + .../src/operations/schedules.ts | 13 +- .../src/operations/usages.ts | 7 +- .../src/operations/virtualMachineSizes.ts | 6 +- .../src/operations/workspaceConnections.ts | 13 +- .../src/operations/workspaceFeatures.ts | 7 +- .../src/operations/workspaces.ts | 8 +- .../operationsInterfaces/computeOperations.ts | 36 +- .../featuresetContainers.ts | 109 + .../featuresetVersions.ts | 217 + .../featurestoreEntityContainers.ts | 109 + .../featurestoreEntityVersions.ts | 121 + .../src/operationsInterfaces/index.ts | 16 + .../src/operationsInterfaces/labelingJobs.ts | 175 + .../src/operationsInterfaces/modelVersions.ts | 44 +- .../src/operationsInterfaces/operations.ts | 2 +- .../src/operationsInterfaces/registries.ts | 139 + .../registryCodeContainers.ts | 109 + .../registryCodeVersions.ts | 121 + .../registryComponentContainers.ts | 109 + .../registryComponentVersions.ts | 121 + .../registryDataContainers.ts | 109 + .../registryDataVersions.ts | 121 + .../registryEnvironmentContainers.ts | 109 + .../registryEnvironmentVersions.ts | 121 + .../registryModelContainers.ts | 109 + .../registryModelVersions.ts | 121 + .../arm-machinelearning/src/pagingHelper.ts | 8 +- .../arm-machinelearning/tsconfig.json | 10 +- 78 files changed, 30702 insertions(+), 8003 deletions(-) rename sdk/machinelearning/arm-machinelearning/src/{azureMachineLearningWorkspaces.ts => azureMachineLearningServices.ts} (69%) create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/featuresetContainers.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/featuresetVersions.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityContainers.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityVersions.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/labelingJobs.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/registries.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/registryCodeContainers.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/registryCodeVersions.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/registryComponentContainers.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/registryComponentVersions.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/registryDataContainers.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/registryDataVersions.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentContainers.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentVersions.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/registryModelContainers.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operations/registryModelVersions.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featuresetContainers.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featuresetVersions.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featurestoreEntityContainers.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featurestoreEntityVersions.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/labelingJobs.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registries.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryCodeContainers.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryCodeVersions.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryComponentContainers.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryComponentVersions.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryDataContainers.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryDataVersions.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryEnvironmentContainers.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryEnvironmentVersions.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryModelContainers.ts create mode 100644 sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryModelVersions.ts diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 61cec91a5106..38feffea91bc 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -12799,15 +12799,15 @@ packages: dev: false file:projects/arm-machinelearning.tgz: - resolution: {integrity: sha512-XPcUmyb49FDpff4MkzbCxy80QVyOBPGyADJgXvjT6afX787HOfJpk0Uz+phWbrAckHspjrGNTkkj3PeYntFHww==, tarball: file:projects/arm-machinelearning.tgz} + resolution: {integrity: sha512-UzsQU8x+ERWDa1HByc9O7c7iJlqUPl2t9rkBPQ703heaXxo+GlDxmg5TM4AEjs2TjsuZbq/HnI5ixe07innP5Q==, tarball: file:projects/arm-machinelearning.tgz} name: '@rush-temp/arm-machinelearning' version: 0.0.0 dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.34.3_@types+node@14.18.36 - '@rollup/plugin-commonjs': 24.0.1_rollup@2.79.1 - '@rollup/plugin-json': 6.0.0_rollup@2.79.1 - '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.79.1 + '@rollup/plugin-json': 4.1.0_rollup@2.79.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 '@types/chai': 4.3.4 '@types/node': 14.18.36 diff --git a/sdk/machinelearning/arm-machinelearning/CHANGELOG.md b/sdk/machinelearning/arm-machinelearning/CHANGELOG.md index 1a059d33be9a..499dfa8c79e5 100644 --- a/sdk/machinelearning/arm-machinelearning/CHANGELOG.md +++ b/sdk/machinelearning/arm-machinelearning/CHANGELOG.md @@ -1,15 +1,565 @@ # Release History + +## 3.0.0-beta.1 (2023-02-11) + +**Features** -## 2.1.2 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed + - Added operation group FeaturesetContainers + - Added operation group FeaturesetVersions + - Added operation group FeaturestoreEntityContainers + - Added operation group FeaturestoreEntityVersions + - Added operation group LabelingJobs + - Added operation group Registries + - Added operation group RegistryCodeContainers + - Added operation group RegistryCodeVersions + - Added operation group RegistryComponentContainers + - Added operation group RegistryComponentVersions + - Added operation group RegistryDataContainers + - Added operation group RegistryDataVersions + - Added operation group RegistryEnvironmentContainers + - Added operation group RegistryEnvironmentVersions + - Added operation group RegistryModelContainers + - Added operation group RegistryModelVersions + - Added operation ComputeOperations.updateCustomServices + - Added operation ComputeOperations.updateIdleShutdownSetting + - Added operation ModelVersions.beginPackage + - Added operation ModelVersions.beginPackageAndWait + - Added Interface AccessKeyAuthTypeWorkspaceConnectionProperties + - Added Interface AcrDetails + - Added Interface AllNodes + - Added Interface ArmResourceId + - Added Interface AutologgerSettings + - Added Interface AzureDatastore + - Added Interface AzureMachineLearningServicesOptionalParams + - Added Interface AzureMLBatchInferencingServer + - Added Interface AzureMLOnlineInferencingServer + - Added Interface BaseEnvironmentId + - Added Interface BaseEnvironmentSource + - Added Interface BatchDeploymentPropertiesAutoGenerated + - Added Interface BatchPipelineComponentDeploymentProperties + - Added Interface BindOptions + - Added Interface CocoExportSummary + - Added Interface ComputeInstanceAutologgerSettings + - Added Interface ComputeResourceAutoGenerated + - Added Interface ComputeUpdateCustomServicesOptionalParams + - Added Interface ComputeUpdateIdleShutdownSettingOptionalParams + - Added Interface CsvExportSummary + - Added Interface CustomInferencingServer + - Added Interface CustomService + - Added Interface DatasetExportSummary + - Added Interface Docker + - Added Interface EncryptionKeyVaultUpdateProperties + - Added Interface EncryptionUpdateProperties + - Added Interface Endpoint + - Added Interface EnvironmentVariable + - Added Interface ExportSummary + - Added Interface Feature + - Added Interface FeatureArmPaginatedResult + - Added Interface FeaturesetContainer + - Added Interface FeaturesetContainerProperties + - Added Interface FeaturesetContainerResourceArmPaginatedResult + - Added Interface FeaturesetContainersCreateOrUpdateHeaders + - Added Interface FeaturesetContainersCreateOrUpdateOptionalParams + - Added Interface FeaturesetContainersDeleteHeaders + - Added Interface FeaturesetContainersDeleteOptionalParams + - Added Interface FeaturesetContainersGetEntityOptionalParams + - Added Interface FeaturesetContainersListNextOptionalParams + - Added Interface FeaturesetContainersListOptionalParams + - Added Interface FeaturesetJob + - Added Interface FeaturesetJobArmPaginatedResult + - Added Interface FeaturesetSpecification + - Added Interface FeaturesetVersion + - Added Interface FeaturesetVersionBackfillRequest + - Added Interface FeaturesetVersionBackfillResponse + - Added Interface FeaturesetVersionProperties + - Added Interface FeaturesetVersionResourceArmPaginatedResult + - Added Interface FeaturesetVersionsBackfillHeaders + - Added Interface FeaturesetVersionsBackfillOptionalParams + - Added Interface FeaturesetVersionsCreateOrUpdateHeaders + - Added Interface FeaturesetVersionsCreateOrUpdateOptionalParams + - Added Interface FeaturesetVersionsDeleteHeaders + - Added Interface FeaturesetVersionsDeleteOptionalParams + - Added Interface FeaturesetVersionsGetFeatureOptionalParams + - Added Interface FeaturesetVersionsGetOptionalParams + - Added Interface FeaturesetVersionsListFeaturesNextOptionalParams + - Added Interface FeaturesetVersionsListFeaturesOptionalParams + - Added Interface FeaturesetVersionsListMaterializationJobsNextOptionalParams + - Added Interface FeaturesetVersionsListMaterializationJobsOptionalParams + - Added Interface FeaturesetVersionsListNextOptionalParams + - Added Interface FeaturesetVersionsListOptionalParams + - Added Interface FeaturestoreEntityContainer + - Added Interface FeaturestoreEntityContainerProperties + - Added Interface FeaturestoreEntityContainerResourceArmPaginatedResult + - Added Interface FeaturestoreEntityContainersCreateOrUpdateHeaders + - Added Interface FeaturestoreEntityContainersCreateOrUpdateOptionalParams + - Added Interface FeaturestoreEntityContainersDeleteHeaders + - Added Interface FeaturestoreEntityContainersDeleteOptionalParams + - Added Interface FeaturestoreEntityContainersGetEntityOptionalParams + - Added Interface FeaturestoreEntityContainersListNextOptionalParams + - Added Interface FeaturestoreEntityContainersListOptionalParams + - Added Interface FeaturestoreEntityVersion + - Added Interface FeaturestoreEntityVersionProperties + - Added Interface FeaturestoreEntityVersionResourceArmPaginatedResult + - Added Interface FeaturestoreEntityVersionsCreateOrUpdateHeaders + - Added Interface FeaturestoreEntityVersionsCreateOrUpdateOptionalParams + - Added Interface FeaturestoreEntityVersionsDeleteHeaders + - Added Interface FeaturestoreEntityVersionsDeleteOptionalParams + - Added Interface FeaturestoreEntityVersionsGetOptionalParams + - Added Interface FeaturestoreEntityVersionsListNextOptionalParams + - Added Interface FeaturestoreEntityVersionsListOptionalParams + - Added Interface FeatureWindow + - Added Interface GetFeatureRequest + - Added Interface HdfsDatastore + - Added Interface IdleShutdownSetting + - Added Interface Image_2 + - Added Interface ImageMetadata + - Added Interface IndexColumn + - Added Interface InferencingServer + - Added Interface KerberosCredentials + - Added Interface KerberosKeytabCredentials + - Added Interface KerberosKeytabSecrets + - Added Interface KerberosPasswordCredentials + - Added Interface KerberosPasswordSecrets + - Added Interface LabelCategory + - Added Interface LabelClass + - Added Interface LabelingDataConfiguration + - Added Interface LabelingJob + - Added Interface LabelingJobImageProperties + - Added Interface LabelingJobInstructions + - Added Interface LabelingJobMediaProperties + - Added Interface LabelingJobProperties + - 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 LabelingJobTextProperties + - Added Interface MaterializationSettings + - Added Interface MLAssistConfiguration + - Added Interface MLAssistConfigurationDisabled + - Added Interface MLAssistConfigurationEnabled + - Added Interface ModelConfiguration + - Added Interface ModelPackageInput + - Added Interface ModelVersionsPackageHeaders + - Added Interface ModelVersionsPackageOptionalParams + - Added Interface NlpFixedParameters + - Added Interface NlpParameterSubspace + - Added Interface NlpSweepSettings + - Added Interface Nodes + - Added Interface NotificationSetting + - Added Interface OnlineInferenceConfiguration + - Added Interface PackageInputPathBase + - Added Interface PackageInputPathId + - Added Interface PackageInputPathUrl + - Added Interface PackageInputPathVersion + - Added Interface PackageRequest + - Added Interface PackageResponse + - Added Interface PartialRegistryPartialTrackedResource + - Added Interface ProgressMetrics + - Added Interface QueueSettings + - Added Interface RegistriesCreateOrUpdateOptionalParams + - Added Interface RegistriesDeleteHeaders + - Added Interface RegistriesDeleteOptionalParams + - Added Interface RegistriesGetOptionalParams + - Added Interface RegistriesListBySubscriptionNextOptionalParams + - Added Interface RegistriesListBySubscriptionOptionalParams + - Added Interface RegistriesListNextOptionalParams + - Added Interface RegistriesListOptionalParams + - Added Interface RegistriesUpdateHeaders + - Added Interface RegistriesUpdateOptionalParams + - Added Interface Registry + - Added Interface RegistryCodeContainersCreateOrUpdateHeaders + - Added Interface RegistryCodeContainersCreateOrUpdateOptionalParams + - Added Interface RegistryCodeContainersDeleteHeaders + - Added Interface RegistryCodeContainersDeleteOptionalParams + - Added Interface RegistryCodeContainersGetOptionalParams + - Added Interface RegistryCodeContainersListNextOptionalParams + - Added Interface RegistryCodeContainersListOptionalParams + - Added Interface RegistryCodeVersionsCreateOrUpdateHeaders + - Added Interface RegistryCodeVersionsCreateOrUpdateOptionalParams + - Added Interface RegistryCodeVersionsDeleteHeaders + - Added Interface RegistryCodeVersionsDeleteOptionalParams + - Added Interface RegistryCodeVersionsGetOptionalParams + - Added Interface RegistryCodeVersionsListNextOptionalParams + - Added Interface RegistryCodeVersionsListOptionalParams + - Added Interface RegistryComponentContainersCreateOrUpdateHeaders + - Added Interface RegistryComponentContainersCreateOrUpdateOptionalParams + - Added Interface RegistryComponentContainersDeleteHeaders + - Added Interface RegistryComponentContainersDeleteOptionalParams + - Added Interface RegistryComponentContainersGetOptionalParams + - Added Interface RegistryComponentContainersListNextOptionalParams + - Added Interface RegistryComponentContainersListOptionalParams + - Added Interface RegistryComponentVersionsCreateOrUpdateHeaders + - Added Interface RegistryComponentVersionsCreateOrUpdateOptionalParams + - Added Interface RegistryComponentVersionsDeleteHeaders + - Added Interface RegistryComponentVersionsDeleteOptionalParams + - Added Interface RegistryComponentVersionsGetOptionalParams + - Added Interface RegistryComponentVersionsListNextOptionalParams + - Added Interface RegistryComponentVersionsListOptionalParams + - Added Interface RegistryDataContainersCreateOrUpdateHeaders + - Added Interface RegistryDataContainersCreateOrUpdateOptionalParams + - Added Interface RegistryDataContainersDeleteHeaders + - Added Interface RegistryDataContainersDeleteOptionalParams + - Added Interface RegistryDataContainersGetOptionalParams + - Added Interface RegistryDataContainersListNextOptionalParams + - Added Interface RegistryDataContainersListOptionalParams + - Added Interface RegistryDataVersionsCreateOrUpdateHeaders + - Added Interface RegistryDataVersionsCreateOrUpdateOptionalParams + - Added Interface RegistryDataVersionsDeleteHeaders + - Added Interface RegistryDataVersionsDeleteOptionalParams + - Added Interface RegistryDataVersionsGetOptionalParams + - Added Interface RegistryDataVersionsListNextOptionalParams + - Added Interface RegistryDataVersionsListOptionalParams + - Added Interface RegistryEnvironmentContainersCreateOrUpdateHeaders + - Added Interface RegistryEnvironmentContainersCreateOrUpdateOptionalParams + - Added Interface RegistryEnvironmentContainersDeleteHeaders + - Added Interface RegistryEnvironmentContainersDeleteOptionalParams + - Added Interface RegistryEnvironmentContainersGetOptionalParams + - Added Interface RegistryEnvironmentContainersListNextOptionalParams + - Added Interface RegistryEnvironmentContainersListOptionalParams + - Added Interface RegistryEnvironmentVersionsCreateOrUpdateHeaders + - Added Interface RegistryEnvironmentVersionsCreateOrUpdateOptionalParams + - Added Interface RegistryEnvironmentVersionsDeleteHeaders + - Added Interface RegistryEnvironmentVersionsDeleteOptionalParams + - Added Interface RegistryEnvironmentVersionsGetOptionalParams + - Added Interface RegistryEnvironmentVersionsListNextOptionalParams + - Added Interface RegistryEnvironmentVersionsListOptionalParams + - Added Interface RegistryModelContainersCreateOrUpdateHeaders + - Added Interface RegistryModelContainersCreateOrUpdateOptionalParams + - Added Interface RegistryModelContainersDeleteHeaders + - Added Interface RegistryModelContainersDeleteOptionalParams + - Added Interface RegistryModelContainersGetOptionalParams + - Added Interface RegistryModelContainersListNextOptionalParams + - Added Interface RegistryModelContainersListOptionalParams + - Added Interface RegistryModelVersionsCreateOrUpdateHeaders + - Added Interface RegistryModelVersionsCreateOrUpdateOptionalParams + - Added Interface RegistryModelVersionsDeleteHeaders + - Added Interface RegistryModelVersionsDeleteOptionalParams + - Added Interface RegistryModelVersionsGetOptionalParams + - Added Interface RegistryModelVersionsListNextOptionalParams + - Added Interface RegistryModelVersionsListOptionalParams + - Added Interface RegistryProperties + - Added Interface RegistryRegionArmDetails + - Added Interface RegistryTrackedResourceArmPaginatedResult + - Added Interface ServicePrincipalAuthTypeWorkspaceConnectionProperties + - Added Interface SparkJob + - Added Interface SparkJobEntry + - Added Interface SparkJobPythonEntry + - Added Interface SparkJobScalaEntry + - Added Interface SparkResourceConfiguration + - Added Interface StatusMessage + - Added Interface StorageAccountDetails + - Added Interface SystemCreatedAcrAccount + - Added Interface SystemCreatedStorageAccount + - Added Interface TableFixedParameters + - Added Interface TableParameterSubspace + - Added Interface TableSweepSettings + - Added Interface TmpfsOptions + - Added Interface TritonInferencingServer + - Added Interface UserCreatedAcrAccount + - Added Interface UserCreatedStorageAccount + - Added Interface VolumeDefinition + - Added Interface VolumeOptions + - Added Interface WorkspaceConnectionAccessKey + - Added Interface WorkspaceConnectionServicePrincipal + - Added Class AzureMachineLearningServices + - Added Type Alias AssetProvisioningState + - Added Type Alias BaseEnvironmentSourceType + - Added Type Alias BaseEnvironmentSourceUnion + - Added Type Alias BatchDeploymentPropertiesAutoGeneratedUnion + - Added Type Alias BatchDeploymentPropertyType + - Added Type Alias EmailNotificationEnableType + - Added Type Alias EnvironmentVariableType + - Added Type Alias ExportFormatType + - Added Type Alias ExportSummaryUnion + - Added Type Alias FeatureDataType + - Added Type Alias FeaturesetContainersCreateOrUpdateResponse + - Added Type Alias FeaturesetContainersGetEntityResponse + - Added Type Alias FeaturesetContainersListNextResponse + - Added Type Alias FeaturesetContainersListResponse + - Added Type Alias FeaturesetVersionsBackfillResponse + - Added Type Alias FeaturesetVersionsCreateOrUpdateResponse + - Added Type Alias FeaturesetVersionsGetFeatureResponse + - Added Type Alias FeaturesetVersionsGetResponse + - Added Type Alias FeaturesetVersionsListFeaturesNextResponse + - Added Type Alias FeaturesetVersionsListFeaturesResponse + - Added Type Alias FeaturesetVersionsListMaterializationJobsNextResponse + - Added Type Alias FeaturesetVersionsListMaterializationJobsResponse + - Added Type Alias FeaturesetVersionsListNextResponse + - Added Type Alias FeaturesetVersionsListResponse + - Added Type Alias FeaturestoreEntityContainersCreateOrUpdateResponse + - Added Type Alias FeaturestoreEntityContainersGetEntityResponse + - Added Type Alias FeaturestoreEntityContainersListNextResponse + - Added Type Alias FeaturestoreEntityContainersListResponse + - Added Type Alias FeaturestoreEntityVersionsCreateOrUpdateResponse + - Added Type Alias FeaturestoreEntityVersionsGetResponse + - Added Type Alias FeaturestoreEntityVersionsListNextResponse + - Added Type Alias FeaturestoreEntityVersionsListResponse + - Added Type Alias FeaturestoreJobType + - Added Type Alias ImageAnnotationType + - Added Type Alias ImageType + - Added Type Alias IncrementalDataRefresh + - Added Type Alias InferencingServerType + - Added Type Alias InferencingServerUnion + - Added Type Alias InputPathType + - Added Type Alias JobProvisioningState + - Added Type Alias JobTier + - Added Type Alias LabelingJobMediaPropertiesUnion + - Added Type Alias LabelingJobsCreateOrUpdateResponse + - Added Type Alias LabelingJobsExportLabelsResponse + - Added Type Alias LabelingJobsGetResponse + - Added Type Alias LabelingJobsListNextResponse + - Added Type Alias LabelingJobsListResponse + - Added Type Alias MaterializationStoreType + - Added Type Alias MediaType + - Added Type Alias MLAssistConfigurationType + - Added Type Alias MLAssistConfigurationUnion + - Added Type Alias MlflowAutologger + - Added Type Alias MLFlowAutologgerState + - Added Type Alias ModelVersionsPackageResponse + - Added Type Alias MultiSelect + - Added Type Alias NlpLearningRateScheduler + - Added Type Alias NodesUnion + - Added Type Alias NodesValueType + - Added Type Alias PackageBuildState + - Added Type Alias PackageInputDeliveryMode + - Added Type Alias PackageInputPathBaseUnion + - Added Type Alias PackageInputType + - Added Type Alias Protocol + - Added Type Alias RegistriesCreateOrUpdateResponse + - Added Type Alias RegistriesGetResponse + - Added Type Alias RegistriesListBySubscriptionNextResponse + - Added Type Alias RegistriesListBySubscriptionResponse + - Added Type Alias RegistriesListNextResponse + - Added Type Alias RegistriesListResponse + - Added Type Alias RegistriesUpdateResponse + - Added Type Alias RegistryCodeContainersCreateOrUpdateResponse + - Added Type Alias RegistryCodeContainersGetResponse + - Added Type Alias RegistryCodeContainersListNextResponse + - Added Type Alias RegistryCodeContainersListResponse + - Added Type Alias RegistryCodeVersionsCreateOrUpdateResponse + - Added Type Alias RegistryCodeVersionsGetResponse + - Added Type Alias RegistryCodeVersionsListNextResponse + - Added Type Alias RegistryCodeVersionsListResponse + - Added Type Alias RegistryComponentContainersCreateOrUpdateResponse + - Added Type Alias RegistryComponentContainersGetResponse + - Added Type Alias RegistryComponentContainersListNextResponse + - Added Type Alias RegistryComponentContainersListResponse + - Added Type Alias RegistryComponentVersionsCreateOrUpdateResponse + - Added Type Alias RegistryComponentVersionsGetResponse + - Added Type Alias RegistryComponentVersionsListNextResponse + - Added Type Alias RegistryComponentVersionsListResponse + - Added Type Alias RegistryDataContainersCreateOrUpdateResponse + - Added Type Alias RegistryDataContainersGetResponse + - Added Type Alias RegistryDataContainersListNextResponse + - Added Type Alias RegistryDataContainersListResponse + - Added Type Alias RegistryDataVersionsCreateOrUpdateResponse + - Added Type Alias RegistryDataVersionsGetResponse + - Added Type Alias RegistryDataVersionsListNextResponse + - Added Type Alias RegistryDataVersionsListResponse + - Added Type Alias RegistryEnvironmentContainersCreateOrUpdateResponse + - Added Type Alias RegistryEnvironmentContainersGetResponse + - Added Type Alias RegistryEnvironmentContainersListNextResponse + - Added Type Alias RegistryEnvironmentContainersListResponse + - Added Type Alias RegistryEnvironmentVersionsCreateOrUpdateResponse + - Added Type Alias RegistryEnvironmentVersionsGetResponse + - Added Type Alias RegistryEnvironmentVersionsListNextResponse + - Added Type Alias RegistryEnvironmentVersionsListResponse + - Added Type Alias RegistryModelContainersCreateOrUpdateResponse + - Added Type Alias RegistryModelContainersGetResponse + - Added Type Alias RegistryModelContainersListNextResponse + - Added Type Alias RegistryModelContainersListResponse + - Added Type Alias RegistryModelVersionsCreateOrUpdateResponse + - Added Type Alias RegistryModelVersionsGetResponse + - Added Type Alias RegistryModelVersionsListNextResponse + - Added Type Alias RegistryModelVersionsListResponse + - Added Type Alias SparkJobEntryType + - Added Type Alias SparkJobEntryUnion + - Added Type Alias StatusMessageLevel + - Added Type Alias TextAnnotationType + - Added Type Alias TrainingMode + - Added Type Alias VolumeDefinitionType + - Interface AssetJobOutput has a new optional parameter assetName + - Interface AssetJobOutput has a new optional parameter assetVersion + - Interface AutoMLJob has a new optional parameter queueSettings + - Interface BatchDeploymentProperties has a new optional parameter deploymentProperties + - Interface CodeContainerProperties has a new optional parameter provisioningState + - Interface CodeVersionProperties has a new optional parameter provisioningState + - Interface CommandJob has a new optional parameter autologgerSettings + - Interface CommandJob has a new optional parameter queueSettings + - Interface ComponentContainerProperties has a new optional parameter provisioningState + - Interface ComponentVersionProperties has a new optional parameter provisioningState + - Interface ComputeInstanceProperties has a new optional parameter autologgerSettings + - Interface ComputeInstanceProperties has a new optional parameter customServices + - Interface ComputeInstanceProperties has a new optional parameter idleTimeBeforeShutdown + - Interface ComputeInstanceProperties has a new optional parameter osImageMetadata + - Interface EnvironmentContainerProperties has a new optional parameter provisioningState + - Interface EnvironmentVersionProperties has a new optional parameter provisioningState + - Interface JobBaseProperties has a new optional parameter notificationSetting + - Interface JobService has a new optional parameter nodes + - Interface JobsListOptionalParams has a new optional parameter assetName + - Interface JobsListOptionalParams has a new optional parameter scheduled + - Interface JobsListOptionalParams has a new optional parameter scheduleId + - Interface ModelContainerProperties has a new optional parameter provisioningState + - Interface ModelVersionProperties has a new optional parameter provisioningState + - Interface NlpVertical has a new optional parameter fixedParameters + - Interface NlpVertical has a new optional parameter searchSpace + - Interface NlpVertical has a new optional parameter sweepSettings + - Interface NlpVerticalLimitSettings has a new optional parameter maxNodes + - Interface NlpVerticalLimitSettings has a new optional parameter trialTimeout + - Interface OnlineEndpointProperties has a new optional parameter mirrorTraffic + - Interface RandomSamplingAlgorithm has a new optional parameter logbase + - Interface ResourceConfiguration has a new optional parameter locations + - Interface SweepJob has a new optional parameter queueSettings + - Interface TableVertical has a new optional parameter fixedParameters + - Interface TableVertical has a new optional parameter searchSpace + - Interface TableVertical has a new optional parameter sweepSettings + - Interface TableVerticalLimitSettings has a new optional parameter maxNodes + - Interface TableVerticalLimitSettings has a new optional parameter sweepConcurrentTrials + - Interface TableVerticalLimitSettings has a new optional parameter sweepTrials + - Interface TrainingSettings has a new optional parameter trainingMode + - Interface Workspace has a new optional parameter scheduledPurgeDate + - Interface Workspace has a new optional parameter softDeletedAt + - Interface Workspace has a new optional parameter systemDatastoresAuthMode + - Interface WorkspaceUpdateParameters has a new optional parameter encryption + - Type of parameter referenceType of interface AssetReferenceBase is changed from "DataPath" | "Id" | "OutputPath" to "Id" | "DataPath" | "OutputPath" + - Type of parameter credentialsType of interface DatastoreCredentials is changed from "AccountKey" | "Certificate" | "None" | "Sas" | "ServicePrincipal" to "AccountKey" | "Certificate" | "KerberosKeytab" | "KerberosPassword" | "None" | "Sas" | "ServicePrincipal" + - Type of parameter secretsType of interface DatastoreSecrets is changed from "AccountKey" | "Certificate" | "Sas" | "ServicePrincipal" to "AccountKey" | "Certificate" | "KerberosKeytab" | "KerberosPassword" | "Sas" | "ServicePrincipal" + - Type of parameter authType of interface WorkspaceConnectionPropertiesV2 is changed from "PAT" | "SAS" | "UsernamePassword" | "None" | "ManagedIdentity" to "PAT" | "SAS" | "UsernamePassword" | "AccessKey" | "ServicePrincipal" | "None" | "ManagedIdentity" + - Added Enum KnownAssetProvisioningState + - Added Enum KnownBaseEnvironmentSourceType + - Added Enum KnownBatchDeploymentPropertyType + - Added Enum KnownEmailNotificationEnableType + - Added Enum KnownEnvironmentVariableType + - Added Enum KnownExportFormatType + - Added Enum KnownFeatureDataType + - Added Enum KnownFeaturestoreJobType + - Added Enum KnownImageAnnotationType + - Added Enum KnownImageType + - Added Enum KnownIncrementalDataRefresh + - Added Enum KnownInferencingServerType + - Added Enum KnownInputPathType + - Added Enum KnownJobProvisioningState + - Added Enum KnownJobTier + - Added Enum KnownMaterializationStoreType + - Added Enum KnownMediaType + - Added Enum KnownMLAssistConfigurationType + - Added Enum KnownMlflowAutologger + - Added Enum KnownMLFlowAutologgerState + - Added Enum KnownMultiSelect + - Added Enum KnownNlpLearningRateScheduler + - Added Enum KnownNodesValueType + - Added Enum KnownPackageBuildState + - Added Enum KnownPackageInputDeliveryMode + - Added Enum KnownPackageInputType + - Added Enum KnownProtocol + - Added Enum KnownSparkJobEntryType + - Added Enum KnownStatusMessageLevel + - Added Enum KnownTextAnnotationType + - Added Enum KnownTrainingMode + - Added Enum KnownVolumeDefinitionType + - Enum KnownConnectionAuthType has a new value AccessKey + - Enum KnownConnectionAuthType has a new value ServicePrincipal + - Enum KnownConnectionCategory has a new value AzureSqlDb + - Enum KnownConnectionCategory has a new value AzureSynapseAnalytics + - Enum KnownConnectionCategory has a new value FeatureStore + - Enum KnownConnectionCategory has a new value S3 + - Enum KnownConnectionCategory has a new value Snowflake + - Enum KnownContainerType has a new value ModelDataCollector + - 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 Labeling + - Enum KnownJobType has a new value Spark + - Enum KnownOutputDeliveryMode has a new value Direct + - Enum KnownProvisioningState has a new value SoftDeleted + - Enum KnownSecretsType has a new value KerberosKeytab + - Enum KnownSecretsType has a new value KerberosPassword -### Other Changes +**Breaking Changes** + - Deleted Class AzureMachineLearningWorkspaces + - Interface BatchDeploymentsListNextOptionalParams no longer has parameter orderBy + - Interface BatchDeploymentsListNextOptionalParams no longer has parameter skip + - Interface BatchDeploymentsListNextOptionalParams no longer has parameter top + - Interface BatchEndpointsListNextOptionalParams no longer has parameter count + - Interface BatchEndpointsListNextOptionalParams no longer has parameter skip + - Interface CodeContainersListNextOptionalParams no longer has parameter skip + - Interface CodeVersionsListNextOptionalParams no longer has parameter orderBy + - Interface CodeVersionsListNextOptionalParams no longer has parameter skip + - Interface CodeVersionsListNextOptionalParams no longer has parameter top + - Interface ComponentContainersListNextOptionalParams no longer has parameter listViewType + - Interface ComponentContainersListNextOptionalParams no longer has parameter skip + - Interface ComponentVersionsListNextOptionalParams no longer has parameter listViewType + - Interface ComponentVersionsListNextOptionalParams no longer has parameter orderBy + - Interface ComponentVersionsListNextOptionalParams no longer has parameter skip + - Interface ComponentVersionsListNextOptionalParams no longer has parameter top + - Interface ComputeListNextOptionalParams no longer has parameter skip + - Interface DataContainersListNextOptionalParams no longer has parameter listViewType + - Interface DataContainersListNextOptionalParams no longer has parameter skip + - Interface DatastoresListNextOptionalParams no longer has parameter count + - Interface DatastoresListNextOptionalParams no longer has parameter isDefault + - Interface DatastoresListNextOptionalParams no longer has parameter names + - Interface DatastoresListNextOptionalParams no longer has parameter orderBy + - Interface DatastoresListNextOptionalParams no longer has parameter orderByAsc + - Interface DatastoresListNextOptionalParams no longer has parameter searchText + - Interface DatastoresListNextOptionalParams no longer has parameter skip + - Interface DataVersionsListNextOptionalParams no longer has parameter listViewType + - Interface DataVersionsListNextOptionalParams no longer has parameter orderBy + - Interface DataVersionsListNextOptionalParams no longer has parameter skip + - Interface DataVersionsListNextOptionalParams no longer has parameter tags + - Interface DataVersionsListNextOptionalParams no longer has parameter top + - Interface EnvironmentContainersListNextOptionalParams no longer has parameter listViewType + - Interface EnvironmentContainersListNextOptionalParams no longer has parameter skip + - Interface EnvironmentVersionsListNextOptionalParams no longer has parameter listViewType + - Interface EnvironmentVersionsListNextOptionalParams no longer has parameter orderBy + - Interface EnvironmentVersionsListNextOptionalParams no longer has parameter skip + - Interface EnvironmentVersionsListNextOptionalParams no longer has parameter top + - Interface JobsListNextOptionalParams no longer has parameter jobType + - Interface JobsListNextOptionalParams no longer has parameter listViewType + - Interface JobsListNextOptionalParams no longer has parameter skip + - Interface JobsListNextOptionalParams no longer has parameter tag + - Interface ModelContainersListNextOptionalParams no longer has parameter count + - Interface ModelContainersListNextOptionalParams no longer has parameter listViewType + - Interface ModelContainersListNextOptionalParams no longer has parameter skip + - Interface ModelVersionsListNextOptionalParams no longer has parameter description + - Interface ModelVersionsListNextOptionalParams no longer has parameter feed + - Interface ModelVersionsListNextOptionalParams no longer has parameter listViewType + - Interface ModelVersionsListNextOptionalParams no longer has parameter offset + - Interface ModelVersionsListNextOptionalParams no longer has parameter orderBy + - Interface ModelVersionsListNextOptionalParams no longer has parameter properties + - Interface ModelVersionsListNextOptionalParams no longer has parameter skip + - Interface ModelVersionsListNextOptionalParams no longer has parameter tags + - Interface ModelVersionsListNextOptionalParams no longer has parameter top + - Interface ModelVersionsListNextOptionalParams no longer has parameter version + - Interface OnlineDeploymentsListNextOptionalParams no longer has parameter orderBy + - Interface OnlineDeploymentsListNextOptionalParams no longer has parameter skip + - Interface OnlineDeploymentsListNextOptionalParams no longer has parameter top + - Interface OnlineDeploymentsListSkusNextOptionalParams no longer has parameter count + - Interface OnlineDeploymentsListSkusNextOptionalParams no longer has parameter skip + - Interface OnlineEndpointsListNextOptionalParams no longer has parameter computeType + - Interface OnlineEndpointsListNextOptionalParams no longer has parameter count + - Interface OnlineEndpointsListNextOptionalParams no longer has parameter name + - Interface OnlineEndpointsListNextOptionalParams no longer has parameter orderBy + - Interface OnlineEndpointsListNextOptionalParams no longer has parameter properties + - Interface OnlineEndpointsListNextOptionalParams no longer has parameter skip + - Interface OnlineEndpointsListNextOptionalParams no longer has parameter tags + - Interface SchedulesListNextOptionalParams no longer has parameter listViewType + - Interface SchedulesListNextOptionalParams no longer has parameter skip + - Interface WorkspaceConnectionsListNextOptionalParams no longer has parameter category + - Interface WorkspaceConnectionsListNextOptionalParams no longer has parameter target + - Interface WorkspacesListByResourceGroupNextOptionalParams no longer has parameter skip + - Interface WorkspacesListBySubscriptionNextOptionalParams no longer has parameter skip + + ## 2.1.1 (2022-11-28) **Features** diff --git a/sdk/machinelearning/arm-machinelearning/LICENSE b/sdk/machinelearning/arm-machinelearning/LICENSE index 5d1d36e0af80..3a1d9b6f24f7 100644 --- a/sdk/machinelearning/arm-machinelearning/LICENSE +++ b/sdk/machinelearning/arm-machinelearning/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2022 Microsoft +Copyright (c) 2023 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/machinelearning/arm-machinelearning/README.md b/sdk/machinelearning/arm-machinelearning/README.md index c7c7e6faee9e..43953a6ab3e8 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 Machine Learning 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 Machine Learning 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,16 +24,16 @@ 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 Machine Learning client library for JavaScript with `npm`: ```bash npm install @azure/arm-machinelearning ``` -### Create and authenticate a `AzureMachineLearningWorkspaces` +### Create and authenticate a `AzureMachineLearningServices` -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 Machine Learning API, you will need the `endpoint` of your Azure Machine Learning resource and a `credential`. The Azure Machine Learning client can use Azure Active Directory credentials to authenticate. +You can find the endpoint for your Azure Machine Learning 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,25 +43,25 @@ 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 Machine Learning** 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). ```javascript -const { AzureMachineLearningWorkspaces } = require("@azure/arm-machinelearning"); +const { AzureMachineLearningServices } = require("@azure/arm-machinelearning"); const { DefaultAzureCredential } = require("@azure/identity"); // For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details. const subscriptionId = "00000000-0000-0000-0000-000000000000"; -const client = new AzureMachineLearningWorkspaces(new DefaultAzureCredential(), subscriptionId); +const client = new AzureMachineLearningServices(new DefaultAzureCredential(), subscriptionId); // For client-side applications running in the browser, use this code instead: // const credential = new InteractiveBrowserCredential({ // tenantId: "", // clientId: "" // }); -// const client = new AzureMachineLearningWorkspaces(credential, subscriptionId); +// const client = new AzureMachineLearningServices(credential, subscriptionId); ``` @@ -70,9 +70,9 @@ To use this client library in the browser, first you need to use a bundler. For ## Key concepts -### AzureMachineLearningWorkspaces +### AzureMachineLearningServices -`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. +`AzureMachineLearningServices` is the primary interface for developers using the Azure Machine Learning client library. Explore the methods on this client object to understand the different features of the Azure Machine Learning service that you can access. ## Troubleshooting diff --git a/sdk/machinelearning/arm-machinelearning/_meta.json b/sdk/machinelearning/arm-machinelearning/_meta.json index ed615b9d846a..8f65bd26c148 100644 --- a/sdk/machinelearning/arm-machinelearning/_meta.json +++ b/sdk/machinelearning/arm-machinelearning/_meta.json @@ -1,8 +1,8 @@ { - "commit": "1fefe3f5cee88319b17c08a2dbf95e1e983a9f8c", + "commit": "e63fc238eddb400688c49bf138970d59ca5a7b99", "readme": "specification/machinelearningservices/resource-manager/readme.md", - "autorest_command": "autorest --version=3.8.4 --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.3.20221108.1 --generate-sample=true", + "autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/machinelearningservices/resource-manager/readme.md --use=@autorest/typescript@6.0.0-rc.5", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.4.2", - "use": "@autorest/typescript@6.0.0-rc.3.20221108.1" + "release_tool": "@azure-tools/js-sdk-release-tools@2.6.2", + "use": "@autorest/typescript@6.0.0-rc.5" } \ No newline at end of file diff --git a/sdk/machinelearning/arm-machinelearning/package.json b/sdk/machinelearning/arm-machinelearning/package.json index dfbddbfd3ed8..bc7dea7f8a42 100644 --- a/sdk/machinelearning/arm-machinelearning/package.json +++ b/sdk/machinelearning/arm-machinelearning/package.json @@ -2,8 +2,8 @@ "name": "@azure/arm-machinelearning", "sdk-type": "mgmt", "author": "Microsoft Corporation", - "description": "A generated SDK for AzureMachineLearningWorkspaces.", - "version": "2.1.2", + "description": "A generated SDK for AzureMachineLearningServices.", + "version": "3.0.0-beta.1", "engines": { "node": ">=14.0.0" }, @@ -29,9 +29,9 @@ "types": "./types/arm-machinelearning.d.ts", "devDependencies": { "@microsoft/api-extractor": "^7.31.1", - "@rollup/plugin-commonjs": "^24.0.0", - "@rollup/plugin-json": "^6.0.0", - "@rollup/plugin-multi-entry": "^6.0.0", + "@rollup/plugin-commonjs": "^21.0.1", + "@rollup/plugin-json": "^4.1.0", + "@rollup/plugin-multi-entry": "^4.1.0", "@rollup/plugin-node-resolve": "^13.1.3", "mkdirp": "^1.0.4", "rollup": "^2.66.1", @@ -105,18 +105,10 @@ "//metadata": { "constantPaths": [ { - "path": "src/azureMachineLearningWorkspaces.ts", + "path": "src/azureMachineLearningServices.ts", "prefix": "packageDetails" } ] }, - "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 550802b181a7..a44baed19cfe 100644 --- a/sdk/machinelearning/arm-machinelearning/review/arm-machinelearning.api.md +++ b/sdk/machinelearning/arm-machinelearning/review/arm-machinelearning.api.md @@ -10,6 +10,13 @@ import { PagedAsyncIterableIterator } from '@azure/core-paging'; import { PollerLike } from '@azure/core-lro'; import { PollOperationState } from '@azure/core-lro'; +// @public (undocumented) +export interface AccessKeyAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { + authType: "AccessKey"; + // (undocumented) + credentials?: WorkspaceConnectionAccessKey; +} + // @public export interface AccountKeyDatastoreCredentials extends DatastoreCredentials { credentialsType: "AccountKey"; @@ -22,6 +29,14 @@ export interface AccountKeyDatastoreSecrets extends DatastoreSecrets { secretsType: "AccountKey"; } +// @public +export interface AcrDetails { + // (undocumented) + systemCreatedAcrAccount?: SystemCreatedAcrAccount; + // (undocumented) + userCreatedAcrAccount?: UserCreatedAcrAccount; +} + // @public export interface Aks extends Compute, AKSSchema { computeType: "AKS"; @@ -65,6 +80,11 @@ export interface AKSSchemaProperties { readonly systemServices?: SystemService[]; } +// @public +export interface AllNodes extends Nodes { + nodesValueType: "All"; +} + // @public export type AllocationState = string; @@ -150,6 +170,11 @@ export interface AmlUserFeature { // @public export type ApplicationSharingPolicy = string; +// @public +export interface ArmResourceId { + resourceId?: string; +} + // @public (undocumented) export interface AssetBase extends ResourceBase { isAnonymous?: boolean; @@ -171,17 +196,22 @@ export interface AssetJobInput { // @public export interface AssetJobOutput { + assetName?: string; + assetVersion?: string; mode?: OutputDeliveryMode; uri?: string; } +// @public +export type AssetProvisioningState = string; + // @public export interface AssetReferenceBase { - referenceType: "DataPath" | "Id" | "OutputPath"; + referenceType: "Id" | "DataPath" | "OutputPath"; } // @public (undocumented) -export type AssetReferenceBaseUnion = AssetReferenceBase | DataPathAssetReference | IdAssetReference | OutputPathAssetReference; +export type AssetReferenceBaseUnion = AssetReferenceBase | IdAssetReference | DataPathAssetReference | OutputPathAssetReference; // @public export interface AssignedUser { @@ -194,6 +224,11 @@ export interface AutoForecastHorizon extends ForecastHorizon { mode: "Auto"; } +// @public +export interface AutologgerSettings { + mlflowAutologger: MLFlowAutologgerState; +} + // @public export interface AutoMLJob extends JobBaseProperties { environmentId?: string; @@ -204,6 +239,7 @@ export interface AutoMLJob extends JobBaseProperties { outputs?: { [propertyName: string]: JobOutputUnion | null; }; + queueSettings?: QueueSettings; resources?: JobResourceConfiguration; taskDetails: AutoMLVerticalUnion; } @@ -264,26 +300,23 @@ export interface AutoTargetRollingWindowSize extends TargetRollingWindowSize { } // @public -export interface AzureBlobDatastore extends DatastoreProperties { +export interface AzureBlobDatastore extends AzureDatastore, DatastoreProperties { accountName?: string; containerName?: string; - datastoreType: "AzureBlob"; endpoint?: string; protocol?: string; serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; } // @public -export interface AzureDataLakeGen1Datastore extends DatastoreProperties { - datastoreType: "AzureDataLakeGen1"; +export interface AzureDataLakeGen1Datastore extends AzureDatastore, DatastoreProperties { serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; storeName: string; } // @public -export interface AzureDataLakeGen2Datastore extends DatastoreProperties { +export interface AzureDataLakeGen2Datastore extends AzureDatastore, DatastoreProperties { accountName: string; - datastoreType: "AzureDataLakeGen2"; endpoint?: string; filesystem: string; protocol?: string; @@ -291,9 +324,14 @@ export interface AzureDataLakeGen2Datastore extends DatastoreProperties { } // @public -export interface AzureFileDatastore extends DatastoreProperties { +export interface AzureDatastore { + resourceGroup?: string; + subscriptionId?: string; +} + +// @public +export interface AzureFileDatastore extends AzureDatastore, DatastoreProperties { accountName: string; - datastoreType: "AzureFile"; endpoint?: string; fileShareName: string; protocol?: string; @@ -301,10 +339,10 @@ export interface AzureFileDatastore extends DatastoreProperties { } // @public (undocumented) -export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { +export class AzureMachineLearningServices extends coreClient.ServiceClient { // (undocumented) $host: string; - constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AzureMachineLearningWorkspacesOptionalParams); + constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AzureMachineLearningServicesOptionalParams); // (undocumented) apiVersion: string; // (undocumented) @@ -332,8 +370,18 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { // (undocumented) environmentVersions: EnvironmentVersions; // (undocumented) + featuresetContainers: FeaturesetContainers; + // (undocumented) + featuresetVersions: FeaturesetVersions; + // (undocumented) + featurestoreEntityContainers: FeaturestoreEntityContainers; + // (undocumented) + featurestoreEntityVersions: FeaturestoreEntityVersions; + // (undocumented) jobs: Jobs; // (undocumented) + labelingJobs: LabelingJobs; + // (undocumented) modelContainers: ModelContainers; // (undocumented) modelVersions: ModelVersions; @@ -350,6 +398,28 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { // (undocumented) quotas: Quotas; // (undocumented) + registries: Registries; + // (undocumented) + registryCodeContainers: RegistryCodeContainers; + // (undocumented) + registryCodeVersions: RegistryCodeVersions; + // (undocumented) + registryComponentContainers: RegistryComponentContainers; + // (undocumented) + registryComponentVersions: RegistryComponentVersions; + // (undocumented) + registryDataContainers: RegistryDataContainers; + // (undocumented) + registryDataVersions: RegistryDataVersions; + // (undocumented) + registryEnvironmentContainers: RegistryEnvironmentContainers; + // (undocumented) + registryEnvironmentVersions: RegistryEnvironmentVersions; + // (undocumented) + registryModelContainers: RegistryModelContainers; + // (undocumented) + registryModelVersions: RegistryModelVersions; + // (undocumented) schedules: Schedules; // (undocumented) subscriptionId: string; @@ -366,12 +436,24 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { } // @public -export interface AzureMachineLearningWorkspacesOptionalParams extends coreClient.ServiceClientOptions { +export interface AzureMachineLearningServicesOptionalParams extends coreClient.ServiceClientOptions { $host?: string; apiVersion?: string; endpoint?: string; } +// @public +export interface AzureMLBatchInferencingServer extends InferencingServer { + codeConfiguration?: CodeConfiguration; + serverType: "AzureMLBatch"; +} + +// @public +export interface AzureMLOnlineInferencingServer extends InferencingServer { + codeConfiguration?: CodeConfiguration; + serverType: "AzureMLOnline"; +} + // @public export interface BanditPolicy extends EarlyTerminationPolicy { policyType: "Bandit"; @@ -379,6 +461,23 @@ export interface BanditPolicy extends EarlyTerminationPolicy { slackFactor?: number; } +// @public +export interface BaseEnvironmentId extends BaseEnvironmentSource { + baseEnvironmentSourceType: "EnvironmentAsset"; + resourceId: string; +} + +// @public (undocumented) +export interface BaseEnvironmentSource { + baseEnvironmentSourceType: "EnvironmentAsset"; +} + +// @public +export type BaseEnvironmentSourceType = string; + +// @public (undocumented) +export type BaseEnvironmentSourceUnion = BaseEnvironmentSource | BaseEnvironmentId; + // @public (undocumented) export interface BatchDeployment extends TrackedResource { identity?: ManagedServiceIdentity; @@ -390,6 +489,7 @@ export interface BatchDeployment extends TrackedResource { // @public export interface BatchDeploymentProperties extends EndpointDeploymentPropertiesBase { compute?: string; + deploymentProperties?: BatchDeploymentPropertiesAutoGeneratedUnion; errorThreshold?: number; loggingLevel?: BatchLoggingLevel; maxConcurrencyPerInstance?: number; @@ -402,6 +502,17 @@ export interface BatchDeploymentProperties extends EndpointDeploymentPropertiesB retrySettings?: BatchRetrySettings; } +// @public +export interface BatchDeploymentPropertiesAutoGenerated { + deploymentPropertyType: "PipelineComponent"; +} + +// @public (undocumented) +export type BatchDeploymentPropertiesAutoGeneratedUnion = BatchDeploymentPropertiesAutoGenerated | BatchPipelineComponentDeploymentProperties; + +// @public +export type BatchDeploymentPropertyType = string; + // @public export interface BatchDeployments { beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: BatchDeployment, options?: BatchDeploymentsCreateOrUpdateOptionalParams): Promise, BatchDeploymentsCreateOrUpdateResponse>>; @@ -451,9 +562,6 @@ export type BatchDeploymentsGetResponse = BatchDeployment; // @public export interface BatchDeploymentsListNextOptionalParams extends coreClient.OperationOptions { - orderBy?: string; - skip?: string; - top?: number; } // @public @@ -567,8 +675,6 @@ export type BatchEndpointsListKeysResponse = EndpointAuthKeys; // @public export interface BatchEndpointsListNextOptionalParams extends coreClient.OperationOptions { - count?: number; - skip?: string; } // @public @@ -611,6 +717,19 @@ export type BatchLoggingLevel = string; // @public export type BatchOutputAction = string; +// @public +export interface BatchPipelineComponentDeploymentProperties extends BatchDeploymentPropertiesAutoGenerated { + componentId?: IdAssetReference; + deploymentPropertyType: "PipelineComponent"; + description?: string; + settings?: { + [propertyName: string]: string | null; + }; + tags?: { + [propertyName: string]: string | null; + }; +} + // @public export interface BatchRetrySettings { maxRetries?: number; @@ -625,6 +744,13 @@ export interface BayesianSamplingAlgorithm extends SamplingAlgorithm { // @public export type BillingCurrency = string; +// @public (undocumented) +export interface BindOptions { + createHostPath?: boolean; + propagation?: string; + selinux?: string; +} + // @public export type BlockedTransformers = string; @@ -684,6 +810,13 @@ export interface ClusterUpdateParameters { properties?: ScaleSettingsInformation; } +// @public (undocumented) +export interface CocoExportSummary extends ExportSummary { + readonly containerName?: string; + format: "Coco"; + readonly snapshotPath?: string; +} + // @public export interface CodeConfiguration { codeId?: string; @@ -697,6 +830,7 @@ export interface CodeContainer extends Resource { // @public export interface CodeContainerProperties extends AssetContainer { + readonly provisioningState?: AssetProvisioningState; } // @public @@ -733,7 +867,6 @@ export type CodeContainersGetResponse = CodeContainer; // @public export interface CodeContainersListNextOptionalParams extends coreClient.OperationOptions { - skip?: string; } // @public @@ -755,6 +888,7 @@ export interface CodeVersion extends Resource { // @public export interface CodeVersionProperties extends AssetBase { codeUri?: string; + readonly provisioningState?: AssetProvisioningState; } // @public @@ -791,9 +925,6 @@ export type CodeVersionsGetResponse = CodeVersion; // @public export interface CodeVersionsListNextOptionalParams extends coreClient.OperationOptions { - orderBy?: string; - skip?: string; - top?: number; } // @public @@ -817,6 +948,7 @@ export interface ColumnTransformer { // @public export interface CommandJob extends JobBaseProperties { + autologgerSettings?: AutologgerSettings; codeId?: string; command: string; distribution?: DistributionConfigurationUnion; @@ -833,6 +965,7 @@ export interface CommandJob extends JobBaseProperties { [propertyName: string]: JobOutputUnion | null; }; readonly parameters?: Record; + queueSettings?: QueueSettings; resources?: JobResourceConfiguration; } @@ -848,6 +981,7 @@ export interface ComponentContainer extends Resource { // @public export interface ComponentContainerProperties extends AssetContainer { + readonly provisioningState?: AssetProvisioningState; } // @public @@ -884,8 +1018,6 @@ export type ComponentContainersGetResponse = ComponentContainer; // @public export interface ComponentContainersListNextOptionalParams extends coreClient.OperationOptions { - listViewType?: ListViewType; - skip?: string; } // @public @@ -908,6 +1040,7 @@ export interface ComponentVersion extends Resource { // @public export interface ComponentVersionProperties extends AssetBase { componentSpec?: Record; + readonly provisioningState?: AssetProvisioningState; } // @public @@ -944,10 +1077,6 @@ export type ComponentVersionsGetResponse = ComponentVersion; // @public export interface ComponentVersionsListNextOptionalParams extends coreClient.OperationOptions { - listViewType?: ListViewType; - orderBy?: string; - skip?: string; - top?: number; } // @public @@ -1025,6 +1154,11 @@ export interface ComputeInstanceApplication { // @public export type ComputeInstanceAuthorizationType = string; +// @public +export interface ComputeInstanceAutologgerSettings { + mlflowAutologger?: MlflowAutologger; +} + // @public export interface ComputeInstanceConnectivityEndpoints { readonly privateIpAddress?: string; @@ -1087,17 +1221,21 @@ export interface ComputeInstanceLastOperation { export interface ComputeInstanceProperties { readonly applications?: ComputeInstanceApplication[]; applicationSharingPolicy?: ApplicationSharingPolicy; + autologgerSettings?: ComputeInstanceAutologgerSettings; computeInstanceAuthorizationType?: ComputeInstanceAuthorizationType; 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; + readonly osImageMetadata?: ImageMetadata; personalComputeInstanceSettings?: PersonalComputeInstanceSettings; - readonly schedules?: ComputeSchedules; + schedules?: ComputeSchedules; setupScripts?: SetupScripts; sshSettings?: ComputeInstanceSshSettings; readonly state?: ComputeInstanceState; @@ -1136,7 +1274,6 @@ export type ComputeListKeysResponse = ComputeSecretsUnion; // @public export interface ComputeListNextOptionalParams extends coreClient.OperationOptions { - skip?: string; } // @public @@ -1182,6 +1319,8 @@ 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 @@ -1197,6 +1336,11 @@ export interface ComputeResource extends Resource, ComputeResourceSchema { }; } +// @public +export interface ComputeResourceAutoGenerated { + instanceType?: string; +} + // @public (undocumented) export interface ComputeResourceSchema { properties?: ComputeUnion; @@ -1251,6 +1395,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; @@ -1299,12 +1451,25 @@ export interface CronTrigger extends TriggerBase { triggerType: "Cron"; } +// @public (undocumented) +export interface CsvExportSummary extends ExportSummary { + readonly containerName?: string; + format: "CSV"; + readonly snapshotPath?: string; +} + // @public export interface CustomForecastHorizon extends ForecastHorizon { mode: "Custom"; value: number; } +// @public +export interface CustomInferencingServer extends InferencingServer { + inferenceConfiguration?: OnlineInferenceConfiguration; + serverType: "Custom"; +} + // @public (undocumented) export interface CustomModelJobInput extends AssetJobInput, JobInput { } @@ -1325,6 +1490,19 @@ export interface CustomSeasonality extends Seasonality { 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 interface CustomTargetLags extends TargetLags { mode: "Custom"; @@ -1407,8 +1585,6 @@ export type DataContainersGetResponse = DataContainer; // @public export interface DataContainersListNextOptionalParams extends coreClient.OperationOptions { - listViewType?: ListViewType; - skip?: string; } // @public @@ -1451,6 +1627,12 @@ export interface DataPathAssetReference extends AssetReferenceBase { referenceType: "DataPath"; } +// @public (undocumented) +export interface DatasetExportSummary extends ExportSummary { + format: "Dataset"; + readonly labeledAssetName?: string; +} + // @public export interface Datastore extends Resource { properties: DatastorePropertiesUnion; @@ -1458,11 +1640,11 @@ export interface Datastore extends Resource { // @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 { @@ -1472,7 +1654,7 @@ export interface DatastoreProperties extends ResourceBase { } // @public (undocumented) -export type DatastorePropertiesUnion = DatastoreProperties | AzureBlobDatastore | AzureDataLakeGen1Datastore | AzureDataLakeGen2Datastore | AzureFileDatastore; +export type DatastorePropertiesUnion = DatastoreProperties | AzureBlobDatastore | AzureDataLakeGen1Datastore | AzureDataLakeGen2Datastore | AzureFileDatastore | HdfsDatastore; // @public export interface DatastoreResourceArmPaginatedResult { @@ -1503,11 +1685,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 { @@ -1518,13 +1700,6 @@ export type DatastoresGetResponse = Datastore; // @public export interface DatastoresListNextOptionalParams extends coreClient.OperationOptions { - count?: number; - isDefault?: boolean; - names?: string[]; - orderBy?: string; - orderByAsc?: boolean; - searchText?: string; - skip?: string; } // @public @@ -1605,11 +1780,6 @@ export type DataVersionsGetResponse = DataVersionBase; // @public export interface DataVersionsListNextOptionalParams extends coreClient.OperationOptions { - listViewType?: ListViewType; - orderBy?: string; - skip?: string; - tags?: string; - top?: number; } // @public @@ -1735,6 +1905,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; @@ -1751,6 +1927,9 @@ export type EarlyTerminationPolicyUnion = EarlyTerminationPolicy | BanditPolicy // @public export type EgressPublicNetworkAccessType = string; +// @public +export type EmailNotificationEnableType = string; + // @public (undocumented) export interface EncryptionKeyVaultProperties { identityClientId?: string; @@ -1758,6 +1937,11 @@ export interface EncryptionKeyVaultProperties { keyVaultArmId: string; } +// @public (undocumented) +export interface EncryptionKeyVaultUpdateProperties { + keyIdentifier: string; +} + // @public (undocumented) export interface EncryptionProperty { identity?: IdentityForCmk; @@ -1768,6 +1952,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; @@ -1829,6 +2027,7 @@ export interface EnvironmentContainer extends Resource { // @public export interface EnvironmentContainerProperties extends AssetContainer { + readonly provisioningState?: AssetProvisioningState; } // @public @@ -1865,8 +2064,6 @@ export type EnvironmentContainersGetResponse = EnvironmentContainer; // @public export interface EnvironmentContainersListNextOptionalParams extends coreClient.OperationOptions { - listViewType?: ListViewType; - skip?: string; } // @public @@ -1884,6 +2081,16 @@ 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 { properties: EnvironmentVersionProperties; @@ -1898,6 +2105,7 @@ export interface EnvironmentVersionProperties extends AssetBase { image?: string; inferenceConfig?: InferenceContainerProperties; osType?: OperatingSystemType; + readonly provisioningState?: AssetProvisioningState; } // @public @@ -1934,10 +2142,6 @@ export type EnvironmentVersionsGetResponse = EnvironmentVersion; // @public export interface EnvironmentVersionsListNextOptionalParams extends coreClient.OperationOptions { - listViewType?: ListViewType; - orderBy?: string; - skip?: string; - top?: number; } // @public @@ -1988,6 +2192,21 @@ 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) @@ -1995,2474 +2214,4391 @@ export interface ExternalFqdnResponse { } // @public -export type FeatureLags = string; +export interface Feature { + dataType?: FeatureDataType; + description?: string; + featureName?: string; + tags?: { + [propertyName: string]: string | null; + }; +} // @public -export type FeaturizationMode = string; +export interface FeatureArmPaginatedResult { + nextLink?: string; + value?: Feature[]; +} // @public -export interface FeaturizationSettings { - datasetLanguage?: string; -} +export type FeatureDataType = string; -// @public (undocumented) -export interface FlavorData { - data?: { - [propertyName: string]: string | null; - }; +// @public +export type FeatureLags = string; + +// @public +export interface FeaturesetContainer extends Resource { + properties: FeaturesetContainerProperties; } // @public -export interface ForecastHorizon { - mode: "Auto" | "Custom"; +export interface FeaturesetContainerProperties extends AssetContainer { + readonly provisioningState?: AssetProvisioningState; } // @public -export type ForecastHorizonMode = string; +export interface FeaturesetContainerResourceArmPaginatedResult { + nextLink?: string; + value?: FeaturesetContainer[]; +} -// @public (undocumented) -export type ForecastHorizonUnion = ForecastHorizon | AutoForecastHorizon | CustomForecastHorizon; +// @public +export interface FeaturesetContainers { + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, name: string, body: FeaturesetContainer, options?: FeaturesetContainersCreateOrUpdateOptionalParams): Promise, FeaturesetContainersCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, name: string, body: FeaturesetContainer, options?: FeaturesetContainersCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturesetContainersDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturesetContainersDeleteOptionalParams): Promise; + getEntity(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturesetContainersGetEntityOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: FeaturesetContainersListOptionalParams): PagedAsyncIterableIterator; +} // @public -export interface Forecasting extends TableVertical, AutoMLVertical { - forecastingSettings?: ForecastingSettings; - primaryMetric?: ForecastingPrimaryMetrics; - trainingSettings?: ForecastingTrainingSettings; +export interface FeaturesetContainersCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } // @public -export type ForecastingModels = string; +export interface FeaturesetContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} // @public -export type ForecastingPrimaryMetrics = string; +export type FeaturesetContainersCreateOrUpdateResponse = FeaturesetContainer; // @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; +export interface FeaturesetContainersDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; } // @public -export interface ForecastingTrainingSettings extends TrainingSettings { - allowedTrainingAlgorithms?: ForecastingModels[]; - blockedTrainingAlgorithms?: ForecastingModels[]; +export interface FeaturesetContainersDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } -// @public (undocumented) -export interface FqdnEndpoint { - // (undocumented) - domainName?: string; - // (undocumented) - endpointDetails?: FqdnEndpointDetail[]; +// @public +export interface FeaturesetContainersGetEntityOptionalParams extends coreClient.OperationOptions { } -// @public (undocumented) -export interface FqdnEndpointDetail { - // (undocumented) - port?: number; -} +// @public +export type FeaturesetContainersGetEntityResponse = FeaturesetContainer; -// @public (undocumented) -export interface FqdnEndpoints { - // (undocumented) - properties?: FqdnEndpointsProperties; +// @public +export interface FeaturesetContainersListNextOptionalParams extends coreClient.OperationOptions { } -// @public (undocumented) -export interface FqdnEndpointsProperties { - // (undocumented) - category?: string; - // (undocumented) - endpoints?: FqdnEndpoint[]; -} +// @public +export type FeaturesetContainersListNextResponse = FeaturesetContainerResourceArmPaginatedResult; // @public -export function getContinuationToken(page: unknown): string | undefined; +export interface FeaturesetContainersListOptionalParams extends coreClient.OperationOptions { + listViewType?: ListViewType; + skip?: string; + tags?: string; +} // @public -export type Goal = string; +export type FeaturesetContainersListResponse = FeaturesetContainerResourceArmPaginatedResult; // @public -export interface GridSamplingAlgorithm extends SamplingAlgorithm { - samplingAlgorithmType: "Grid"; +export interface FeaturesetJob { + createdDate?: Date; + displayName?: string; + duration?: string; + experimentId?: string; + featureWindow?: FeatureWindow; + jobId?: string; + status?: JobStatus; + tags?: { + [propertyName: string]: string | null; + }; + type?: FeaturestoreJobType; } // @public -export interface HDInsight extends Compute, HDInsightSchema { - computeType: "HDInsight"; +export interface FeaturesetJobArmPaginatedResult { + nextLink?: string; + value?: FeaturesetJob[]; } // @public -export interface HDInsightProperties { - address?: string; - administratorAccount?: VirtualMachineSshCredentials; - sshPort?: number; +export interface FeaturesetSpecification { + path?: string; } -// @public (undocumented) -export interface HDInsightSchema { - properties?: HDInsightProperties; +// @public +export interface FeaturesetVersion extends Resource { + properties: FeaturesetVersionProperties; } // @public -export interface IdAssetReference extends AssetReferenceBase { - assetId: string; - referenceType: "Id"; +export interface FeaturesetVersionBackfillRequest { + description?: string; + displayName?: string; + featureWindow?: FeatureWindow; + resource?: ComputeResourceAutoGenerated; + sparkConfiguration?: { + [propertyName: string]: string | null; + }; + tags?: { + [propertyName: string]: string | null; + }; } // @public -export interface IdentityConfiguration { - identityType: "AMLToken" | "Managed" | "UserIdentity"; +export interface FeaturesetVersionBackfillResponse { + jobId?: string; } // @public -export type IdentityConfigurationType = string; - -// @public (undocumented) -export type IdentityConfigurationUnion = IdentityConfiguration | AmlToken | ManagedIdentity | UserIdentity; +export interface FeaturesetVersionProperties extends AssetBase { + entities?: string[]; + materializationSettings?: MaterializationSettings; + readonly provisioningState?: AssetProvisioningState; + specification?: FeaturesetSpecification; + stage?: string; +} // @public -export interface IdentityForCmk { - userAssignedIdentity?: string; +export interface FeaturesetVersionResourceArmPaginatedResult { + nextLink?: string; + value?: FeaturesetVersion[]; } // @public -export interface ImageClassification extends ImageClassificationBase, AutoMLVertical { - primaryMetric?: ClassificationPrimaryMetrics; +export interface FeaturesetVersions { + beginBackfill(resourceGroupName: string, workspaceName: string, name: string, version: string, body: FeaturesetVersionBackfillRequest, options?: FeaturesetVersionsBackfillOptionalParams): Promise, FeaturesetVersionsBackfillResponse>>; + beginBackfillAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, body: FeaturesetVersionBackfillRequest, options?: FeaturesetVersionsBackfillOptionalParams): Promise; + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, name: string, version: string, body: FeaturesetVersion, options?: FeaturesetVersionsCreateOrUpdateOptionalParams): Promise, FeaturesetVersionsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, body: FeaturesetVersion, options?: FeaturesetVersionsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: FeaturesetVersionsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: FeaturesetVersionsDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: FeaturesetVersionsGetOptionalParams): Promise; + getFeature(resourceGroupName: string, workspaceName: string, name: string, version: string, body: GetFeatureRequest, options?: FeaturesetVersionsGetFeatureOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturesetVersionsListOptionalParams): PagedAsyncIterableIterator; + listFeatures(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: FeaturesetVersionsListFeaturesOptionalParams): PagedAsyncIterableIterator; + listMaterializationJobs(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: FeaturesetVersionsListMaterializationJobsOptionalParams): PagedAsyncIterableIterator; } -// @public (undocumented) -export interface ImageClassificationBase extends ImageVertical { - modelSettings?: ImageModelSettingsClassification; - searchSpace?: ImageModelDistributionSettingsClassification[]; +// @public +export interface FeaturesetVersionsBackfillHeaders { + location?: string; + retryAfter?: number; } // @public -export interface ImageClassificationMultilabel extends ImageClassificationBase, AutoMLVertical { - primaryMetric?: ClassificationMultilabelPrimaryMetrics; +export interface FeaturesetVersionsBackfillOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export interface ImageInstanceSegmentation extends ImageObjectDetectionBase, AutoMLVertical { - primaryMetric?: InstanceSegmentationPrimaryMetrics; -} +export type FeaturesetVersionsBackfillResponse = FeaturesetVersionBackfillResponse; // @public -export interface ImageLimitSettings { - maxConcurrentTrials?: number; - maxTrials?: number; - timeout?: string; +export interface FeaturesetVersionsCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: 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; +export interface FeaturesetVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export interface ImageModelDistributionSettingsClassification extends ImageModelDistributionSettings { - trainingCropSize?: string; - validationCropSize?: string; - validationResizeSize?: string; - weightedLoss?: string; -} +export type FeaturesetVersionsCreateOrUpdateResponse = FeaturesetVersion; // @public -export interface ImageModelDistributionSettingsObjectDetection extends 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; +export interface FeaturesetVersionsDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: 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; +export interface FeaturesetVersionsDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export interface ImageModelSettingsClassification extends ImageModelSettings { - trainingCropSize?: number; - validationCropSize?: number; - validationResizeSize?: number; - weightedLoss?: number; +export interface FeaturesetVersionsGetFeatureOptionalParams extends coreClient.OperationOptions { } // @public -export interface ImageModelSettingsObjectDetection extends 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; -} +export type FeaturesetVersionsGetFeatureResponse = Feature; // @public -export interface ImageObjectDetection extends ImageObjectDetectionBase, AutoMLVertical { - primaryMetric?: ObjectDetectionPrimaryMetrics; +export interface FeaturesetVersionsGetOptionalParams extends coreClient.OperationOptions { } -// @public (undocumented) -export interface ImageObjectDetectionBase extends ImageVertical { - modelSettings?: ImageModelSettingsObjectDetection; - searchSpace?: ImageModelDistributionSettingsObjectDetection[]; -} +// @public +export type FeaturesetVersionsGetResponse = FeaturesetVersion; // @public -export interface ImageSweepSettings { - earlyTermination?: EarlyTerminationPolicyUnion; - samplingAlgorithm: SamplingAlgorithmType; +export interface FeaturesetVersionsListFeaturesNextOptionalParams extends coreClient.OperationOptions { } // @public -export interface ImageVertical { - limitSettings: ImageLimitSettings; - sweepSettings?: ImageSweepSettings; - validationData?: MLTableJobInput; - validationDataSize?: number; -} +export type FeaturesetVersionsListFeaturesNextResponse = FeatureArmPaginatedResult; -// @public (undocumented) -export interface InferenceContainerProperties { - livenessRoute?: Route; - readinessRoute?: Route; - scoringRoute?: Route; +// @public +export interface FeaturesetVersionsListFeaturesOptionalParams extends coreClient.OperationOptions { + skip?: string; + tags?: string; } // @public -export type InputDeliveryMode = string; +export type FeaturesetVersionsListFeaturesResponse = FeatureArmPaginatedResult; // @public -export type InstanceSegmentationPrimaryMetrics = string; +export interface FeaturesetVersionsListMaterializationJobsNextOptionalParams extends coreClient.OperationOptions { +} // @public -export interface InstanceTypeSchema { - nodeSelector?: { - [propertyName: string]: string | null; - }; - resources?: InstanceTypeSchemaResources; -} +export type FeaturesetVersionsListMaterializationJobsNextResponse = FeaturesetJobArmPaginatedResult; // @public -export interface InstanceTypeSchemaResources { - limits?: { - [propertyName: string]: string; - }; - requests?: { - [propertyName: string]: string; - }; +export interface FeaturesetVersionsListMaterializationJobsOptionalParams extends coreClient.OperationOptions { + featureWindowEnd?: string; + featureWindowStart?: string; + filters?: string; + skip?: string; } // @public -export interface JobBase extends Resource { - properties: JobBasePropertiesUnion; +export type FeaturesetVersionsListMaterializationJobsResponse = FeaturesetJobArmPaginatedResult; + +// @public +export interface FeaturesetVersionsListNextOptionalParams extends coreClient.OperationOptions { } // @public -export interface JobBaseProperties extends ResourceBase { - componentId?: string; - computeId?: string; - displayName?: string; - experimentName?: string; - identity?: IdentityConfigurationUnion; - isArchived?: boolean; - jobType: JobType; - services?: { - [propertyName: string]: JobService | null; - }; - readonly status?: JobStatus; +export type FeaturesetVersionsListNextResponse = FeaturesetVersionResourceArmPaginatedResult; + +// @public +export interface FeaturesetVersionsListOptionalParams extends coreClient.OperationOptions { + listViewType?: ListViewType; + skip?: string; + tags?: string; } -// @public (undocumented) -export type JobBasePropertiesUnion = JobBaseProperties | AutoMLJob | CommandJob | PipelineJob | SweepJob; +// @public +export type FeaturesetVersionsListResponse = FeaturesetVersionResourceArmPaginatedResult; // @public -export interface JobBaseResourceArmPaginatedResult { - nextLink?: string; - value?: JobBase[]; +export interface FeaturestoreEntityContainer extends Resource { + properties: FeaturestoreEntityContainerProperties; } // @public -export interface JobInput { - description?: string; - jobInputType: "mltable" | "custom_model" | "mlflow_model" | "literal" | "triton_model" | "uri_file" | "uri_folder"; +export interface FeaturestoreEntityContainerProperties extends AssetContainer { + readonly provisioningState?: AssetProvisioningState; } // @public -export type JobInputType = string; - -// @public (undocumented) -export type JobInputUnion = JobInput | MLTableJobInput | CustomModelJobInput | MLFlowModelJobInput | LiteralJobInput | TritonModelJobInput | UriFileJobInput | UriFolderJobInput; - -// @public (undocumented) -export interface JobLimits { - jobLimitsType: "Command" | "Sweep"; - timeout?: string; -} - -// @public -export type JobLimitsType = string; - -// @public (undocumented) -export type JobLimitsUnion = JobLimits | CommandJobLimits | SweepJobLimits; - -// @public -export interface JobOutput { - description?: string; - jobOutputType: "custom_model" | "mlflow_model" | "mltable" | "triton_model" | "uri_file" | "uri_folder"; -} - -// @public -export type JobOutputType = string; - -// @public (undocumented) -export type JobOutputUnion = JobOutput | CustomModelJobOutput | MLFlowModelJobOutput | MLTableJobOutput | TritonModelJobOutput | UriFileJobOutput | UriFolderJobOutput; - -// @public (undocumented) -export interface JobResourceConfiguration extends ResourceConfiguration { - dockerArgs?: string; - shmSize?: string; +export interface FeaturestoreEntityContainerResourceArmPaginatedResult { + nextLink?: string; + value?: FeaturestoreEntityContainer[]; } // @public -export interface Jobs { - beginCancel(resourceGroupName: string, workspaceName: string, id: string, options?: JobsCancelOptionalParams): Promise, void>>; - beginCancelAndWait(resourceGroupName: string, workspaceName: string, id: string, options?: JobsCancelOptionalParams): Promise; - beginDelete(resourceGroupName: string, workspaceName: string, id: string, options?: JobsDeleteOptionalParams): Promise, void>>; - beginDeleteAndWait(resourceGroupName: string, workspaceName: string, id: string, options?: JobsDeleteOptionalParams): Promise; - createOrUpdate(resourceGroupName: string, workspaceName: string, id: string, body: JobBase, options?: JobsCreateOrUpdateOptionalParams): Promise; - get(resourceGroupName: string, workspaceName: string, id: string, options?: JobsGetOptionalParams): Promise; - list(resourceGroupName: string, workspaceName: string, options?: JobsListOptionalParams): PagedAsyncIterableIterator; +export interface FeaturestoreEntityContainers { + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, name: string, body: FeaturestoreEntityContainer, options?: FeaturestoreEntityContainersCreateOrUpdateOptionalParams): Promise, FeaturestoreEntityContainersCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, name: string, body: FeaturestoreEntityContainer, options?: FeaturestoreEntityContainersCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturestoreEntityContainersDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturestoreEntityContainersDeleteOptionalParams): Promise; + getEntity(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturestoreEntityContainersGetEntityOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: FeaturestoreEntityContainersListOptionalParams): PagedAsyncIterableIterator; } // @public -export interface JobsCancelHeaders { - location?: string; - retryAfter?: number; +export interface FeaturestoreEntityContainersCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } // @public -export interface JobsCancelOptionalParams extends coreClient.OperationOptions { +export interface FeaturestoreEntityContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } -// @public (undocumented) -export interface JobScheduleAction extends ScheduleActionBase { - actionType: "CreateJob"; - jobDefinition: JobBasePropertiesUnion; -} - -// @public -export interface JobsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { -} - // @public -export type JobsCreateOrUpdateResponse = JobBase; +export type FeaturestoreEntityContainersCreateOrUpdateResponse = FeaturestoreEntityContainer; // @public -export interface JobsDeleteHeaders { +export interface FeaturestoreEntityContainersDeleteHeaders { location?: string; retryAfter?: number; xMsAsyncOperationTimeout?: string; } // @public -export interface JobsDeleteOptionalParams extends coreClient.OperationOptions { +export interface FeaturestoreEntityContainersDeleteOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } // @public -export interface JobService { - endpoint?: string; - readonly errorMessage?: string; - jobServiceType?: string; - port?: number; - properties?: { - [propertyName: string]: string | null; - }; - readonly status?: string; -} - -// @public -export interface JobsGetOptionalParams extends coreClient.OperationOptions { +export interface FeaturestoreEntityContainersGetEntityOptionalParams extends coreClient.OperationOptions { } // @public -export type JobsGetResponse = JobBase; +export type FeaturestoreEntityContainersGetEntityResponse = FeaturestoreEntityContainer; // @public -export interface JobsListNextOptionalParams extends coreClient.OperationOptions { - jobType?: string; - listViewType?: ListViewType; - skip?: string; - tag?: string; +export interface FeaturestoreEntityContainersListNextOptionalParams extends coreClient.OperationOptions { } // @public -export type JobsListNextResponse = JobBaseResourceArmPaginatedResult; +export type FeaturestoreEntityContainersListNextResponse = FeaturestoreEntityContainerResourceArmPaginatedResult; // @public -export interface JobsListOptionalParams extends coreClient.OperationOptions { - jobType?: string; +export interface FeaturestoreEntityContainersListOptionalParams extends coreClient.OperationOptions { listViewType?: ListViewType; skip?: string; - tag?: string; + tags?: string; } // @public -export type JobsListResponse = JobBaseResourceArmPaginatedResult; +export type FeaturestoreEntityContainersListResponse = FeaturestoreEntityContainerResourceArmPaginatedResult; // @public -export type JobStatus = string; +export interface FeaturestoreEntityVersion extends Resource { + properties: FeaturestoreEntityVersionProperties; +} // @public -export type JobType = string; +export interface FeaturestoreEntityVersionProperties extends AssetBase { + indexColumns?: IndexColumn[]; + readonly provisioningState?: AssetProvisioningState; +} // @public -type KeyType_2 = string; -export { KeyType_2 as KeyType } +export interface FeaturestoreEntityVersionResourceArmPaginatedResult { + nextLink?: string; + value?: FeaturestoreEntityVersion[]; +} // @public -export enum KnownAllocationState { - Resizing = "Resizing", - Steady = "Steady" +export interface FeaturestoreEntityVersions { + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, name: string, version: string, body: FeaturestoreEntityVersion, options?: FeaturestoreEntityVersionsCreateOrUpdateOptionalParams): Promise, FeaturestoreEntityVersionsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, body: FeaturestoreEntityVersion, options?: FeaturestoreEntityVersionsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: FeaturestoreEntityVersionsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: FeaturestoreEntityVersionsDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: FeaturestoreEntityVersionsGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, name: string, options?: FeaturestoreEntityVersionsListOptionalParams): PagedAsyncIterableIterator; } // @public -export enum KnownApplicationSharingPolicy { - Personal = "Personal", - Shared = "Shared" +export interface FeaturestoreEntityVersionsCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } // @public -export enum KnownAutoRebuildSetting { - Disabled = "Disabled", - OnBaseImageUpdate = "OnBaseImageUpdate" +export interface FeaturestoreEntityVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export enum KnownAutosave { - Local = "Local", - None = "None", - Remote = "Remote" -} +export type FeaturestoreEntityVersionsCreateOrUpdateResponse = FeaturestoreEntityVersion; // @public -export enum KnownBatchLoggingLevel { - Debug = "Debug", - Info = "Info", - Warning = "Warning" +export interface FeaturestoreEntityVersionsDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; } // @public -export enum KnownBatchOutputAction { - AppendRow = "AppendRow", - SummaryOnly = "SummaryOnly" +export interface FeaturestoreEntityVersionsDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export enum KnownBillingCurrency { - USD = "USD" +export interface FeaturestoreEntityVersionsGetOptionalParams extends coreClient.OperationOptions { } // @public -export enum KnownBlockedTransformers { - CatTargetEncoder = "CatTargetEncoder", - CountVectorizer = "CountVectorizer", - HashOneHotEncoder = "HashOneHotEncoder", - LabelEncoder = "LabelEncoder", - NaiveBayes = "NaiveBayes", - OneHotEncoder = "OneHotEncoder", - TextTargetEncoder = "TextTargetEncoder", - TfIdf = "TfIdf", - WoETargetEncoder = "WoETargetEncoder", - WordEmbedding = "WordEmbedding" -} +export type FeaturestoreEntityVersionsGetResponse = FeaturestoreEntityVersion; // @public -export enum KnownCaching { - None = "None", - ReadOnly = "ReadOnly", - ReadWrite = "ReadWrite" +export interface FeaturestoreEntityVersionsListNextOptionalParams extends coreClient.OperationOptions { } // @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" -} +export type FeaturestoreEntityVersionsListNextResponse = FeaturestoreEntityVersionResourceArmPaginatedResult; // @public -export enum KnownClassificationMultilabelPrimaryMetrics { - Accuracy = "Accuracy", - AUCWeighted = "AUCWeighted", - AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", - IOU = "IOU", - NormMacroRecall = "NormMacroRecall", - PrecisionScoreWeighted = "PrecisionScoreWeighted" +export interface FeaturestoreEntityVersionsListOptionalParams extends coreClient.OperationOptions { + listViewType?: ListViewType; + skip?: string; + tags?: string; } // @public -export enum KnownClassificationPrimaryMetrics { - Accuracy = "Accuracy", - AUCWeighted = "AUCWeighted", - AveragePrecisionScoreWeighted = "AveragePrecisionScoreWeighted", - NormMacroRecall = "NormMacroRecall", - PrecisionScoreWeighted = "PrecisionScoreWeighted" -} +export type FeaturestoreEntityVersionsListResponse = FeaturestoreEntityVersionResourceArmPaginatedResult; // @public -export enum KnownClusterPurpose { - DenseProd = "DenseProd", - DevTest = "DevTest", - FastProd = "FastProd" -} +export type FeaturestoreJobType = string; // @public -export enum KnownComputeInstanceAuthorizationType { - Personal = "personal" +export interface FeatureWindow { + featureWindowEnd?: Date; + featureWindowStart?: Date; } // @public -export enum KnownComputeInstanceState { - CreateFailed = "CreateFailed", - Creating = "Creating", - Deleting = "Deleting", - JobRunning = "JobRunning", - Restarting = "Restarting", - Running = "Running", - SettingUp = "SettingUp", - SetupFailed = "SetupFailed", - Starting = "Starting", - Stopped = "Stopped", - Stopping = "Stopping", - Unknown = "Unknown", - Unusable = "Unusable", - UserSettingUp = "UserSettingUp", - UserSetupFailed = "UserSetupFailed" -} +export type FeaturizationMode = string; // @public -export enum KnownComputePowerAction { - Start = "Start", - Stop = "Stop" +export interface FeaturizationSettings { + datasetLanguage?: string; } -// @public -export enum KnownComputeType { - AKS = "AKS", - AmlCompute = "AmlCompute", - ComputeInstance = "ComputeInstance", - Databricks = "Databricks", - DataFactory = "DataFactory", - DataLakeAnalytics = "DataLakeAnalytics", - HDInsight = "HDInsight", - Kubernetes = "Kubernetes", - SynapseSpark = "SynapseSpark", - VirtualMachine = "VirtualMachine" +// @public (undocumented) +export interface FlavorData { + data?: { + [propertyName: string]: string | null; + }; } // @public -export enum KnownConnectionAuthType { - ManagedIdentity = "ManagedIdentity", - None = "None", - PAT = "PAT", - SAS = "SAS", - UsernamePassword = "UsernamePassword" +export interface ForecastHorizon { + mode: "Auto" | "Custom"; } // @public -export enum KnownConnectionCategory { - ContainerRegistry = "ContainerRegistry", - Git = "Git", - PythonFeed = "PythonFeed" -} +export type ForecastHorizonMode = string; + +// @public (undocumented) +export type ForecastHorizonUnion = ForecastHorizon | AutoForecastHorizon | CustomForecastHorizon; // @public -export enum KnownContainerType { - InferenceServer = "InferenceServer", - StorageInitializer = "StorageInitializer" +export interface Forecasting extends TableVertical, AutoMLVertical { + forecastingSettings?: ForecastingSettings; + primaryMetric?: ForecastingPrimaryMetrics; + trainingSettings?: ForecastingTrainingSettings; } // @public -export enum KnownCreatedByType { - Application = "Application", - Key = "Key", - ManagedIdentity = "ManagedIdentity", - User = "User" -} +export type ForecastingModels = string; // @public -export enum KnownCredentialsType { - AccountKey = "AccountKey", - Certificate = "Certificate", - None = "None", - Sas = "Sas", +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 interface ForecastingTrainingSettings extends TrainingSettings { + allowedTrainingAlgorithms?: ForecastingModels[]; + blockedTrainingAlgorithms?: ForecastingModels[]; +} + +// @public (undocumented) +export interface FqdnEndpoint { + // (undocumented) + domainName?: string; + // (undocumented) + endpointDetails?: FqdnEndpointDetail[]; +} + +// @public (undocumented) +export interface FqdnEndpointDetail { + // (undocumented) + port?: number; +} + +// @public (undocumented) +export interface FqdnEndpoints { + // (undocumented) + properties?: FqdnEndpointsProperties; +} + +// @public (undocumented) +export interface FqdnEndpointsProperties { + // (undocumented) + category?: string; + // (undocumented) + endpoints?: FqdnEndpoint[]; +} + +// @public +export function getContinuationToken(page: unknown): string | undefined; + +// @public +export interface GetFeatureRequest { + featureName?: string; +} + +// @public +export type Goal = string; + +// @public +export interface GridSamplingAlgorithm extends SamplingAlgorithm { + samplingAlgorithmType: "Grid"; +} + +// @public (undocumented) +export interface HdfsDatastore extends DatastoreProperties { + datastoreType: "Hdfs"; + hdfsServerCertificate?: string; + nameNodeAddress: string; + protocol?: string; +} + +// @public +export interface HDInsight extends Compute, HDInsightSchema { + computeType: "HDInsight"; +} + +// @public +export interface HDInsightProperties { + address?: string; + administratorAccount?: VirtualMachineSshCredentials; + sshPort?: number; +} + +// @public (undocumented) +export interface HDInsightSchema { + properties?: HDInsightProperties; +} + +// @public +export interface IdAssetReference extends AssetReferenceBase { + assetId: string; + referenceType: "Id"; +} + +// @public +export interface IdentityConfiguration { + identityType: "AMLToken" | "Managed" | "UserIdentity"; +} + +// @public +export type IdentityConfigurationType = string; + +// @public (undocumented) +export type IdentityConfigurationUnion = IdentityConfiguration | AmlToken | ManagedIdentity | UserIdentity; + +// @public +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 interface ImageClassification extends ImageClassificationBase, AutoMLVertical { + primaryMetric?: ClassificationPrimaryMetrics; +} + +// @public (undocumented) +export interface ImageClassificationBase extends ImageVertical { + modelSettings?: ImageModelSettingsClassification; + searchSpace?: ImageModelDistributionSettingsClassification[]; +} + +// @public +export interface ImageClassificationMultilabel extends ImageClassificationBase, AutoMLVertical { + primaryMetric?: ClassificationMultilabelPrimaryMetrics; +} + +// @public +export interface ImageInstanceSegmentation extends ImageObjectDetectionBase, AutoMLVertical { + primaryMetric?: InstanceSegmentationPrimaryMetrics; +} + +// @public +export interface ImageLimitSettings { + maxConcurrentTrials?: number; + maxTrials?: number; + timeout?: string; +} + +// @public +export interface ImageMetadata { + currentImageVersion?: string; + isLatestOsImageVersion?: boolean; + latestImageVersion?: 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 interface ImageModelDistributionSettingsClassification extends ImageModelDistributionSettings { + trainingCropSize?: string; + validationCropSize?: string; + validationResizeSize?: string; + weightedLoss?: string; +} + +// @public +export interface ImageModelDistributionSettingsObjectDetection extends 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 interface ImageModelSettingsClassification extends ImageModelSettings { + trainingCropSize?: number; + validationCropSize?: number; + validationResizeSize?: number; + weightedLoss?: number; +} + +// @public +export interface ImageModelSettingsObjectDetection extends 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 interface ImageObjectDetection extends ImageObjectDetectionBase, AutoMLVertical { + primaryMetric?: ObjectDetectionPrimaryMetrics; +} + +// @public (undocumented) +export interface ImageObjectDetectionBase extends ImageVertical { + modelSettings?: ImageModelSettingsObjectDetection; + searchSpace?: ImageModelDistributionSettingsObjectDetection[]; +} + +// @public +export interface ImageSweepSettings { + earlyTermination?: EarlyTerminationPolicyUnion; + samplingAlgorithm: SamplingAlgorithmType; +} + +// @public +export type ImageType = string; + +// @public +export interface ImageVertical { + limitSettings: ImageLimitSettings; + sweepSettings?: ImageSweepSettings; + validationData?: MLTableJobInput; + validationDataSize?: number; +} + +// @public +export type IncrementalDataRefresh = string; + +// @public +export interface IndexColumn { + columnName?: string; + dataType?: FeatureDataType; +} + +// @public (undocumented) +export interface InferenceContainerProperties { + livenessRoute?: Route; + readinessRoute?: Route; + scoringRoute?: Route; +} + +// @public (undocumented) +export interface InferencingServer { + serverType: "AzureMLBatch" | "AzureMLOnline" | "Custom" | "Triton"; +} + +// @public +export type InferencingServerType = string; + +// @public (undocumented) +export type InferencingServerUnion = InferencingServer | AzureMLBatchInferencingServer | AzureMLOnlineInferencingServer | CustomInferencingServer | TritonInferencingServer; + +// @public +export type InputDeliveryMode = string; + +// @public +export type InputPathType = string; + +// @public +export type InstanceSegmentationPrimaryMetrics = string; + +// @public +export interface InstanceTypeSchema { + nodeSelector?: { + [propertyName: string]: string | null; + }; + resources?: InstanceTypeSchemaResources; +} + +// @public +export interface InstanceTypeSchemaResources { + limits?: { + [propertyName: string]: string; + }; + requests?: { + [propertyName: string]: string; + }; +} + +// @public +export interface JobBase extends Resource { + properties: JobBasePropertiesUnion; +} + +// @public +export interface JobBaseProperties extends ResourceBase { + componentId?: string; + computeId?: string; + displayName?: string; + experimentName?: string; + identity?: IdentityConfigurationUnion; + isArchived?: boolean; + jobType: JobType; + notificationSetting?: NotificationSetting; + services?: { + [propertyName: string]: JobService | null; + }; + readonly status?: JobStatus; +} + +// @public (undocumented) +export type JobBasePropertiesUnion = JobBaseProperties | LabelingJobProperties | AutoMLJob | CommandJob | PipelineJob | SparkJob | SweepJob; + +// @public +export interface JobBaseResourceArmPaginatedResult { + nextLink?: string; + value?: JobBase[]; +} + +// @public +export interface JobInput { + description?: string; + jobInputType: "mltable" | "custom_model" | "mlflow_model" | "literal" | "triton_model" | "uri_file" | "uri_folder"; +} + +// @public +export type JobInputType = string; + +// @public (undocumented) +export type JobInputUnion = JobInput | MLTableJobInput | CustomModelJobInput | MLFlowModelJobInput | LiteralJobInput | TritonModelJobInput | UriFileJobInput | UriFolderJobInput; + +// @public (undocumented) +export interface JobLimits { + jobLimitsType: "Command" | "Sweep"; + timeout?: string; +} + +// @public +export type JobLimitsType = string; + +// @public (undocumented) +export type JobLimitsUnion = JobLimits | CommandJobLimits | SweepJobLimits; + +// @public +export interface JobOutput { + description?: string; + jobOutputType: "custom_model" | "mlflow_model" | "mltable" | "triton_model" | "uri_file" | "uri_folder"; +} + +// @public +export type JobOutputType = string; + +// @public (undocumented) +export type JobOutputUnion = JobOutput | CustomModelJobOutput | MLFlowModelJobOutput | MLTableJobOutput | TritonModelJobOutput | UriFileJobOutput | UriFolderJobOutput; + +// @public +export type JobProvisioningState = string; + +// @public (undocumented) +export interface JobResourceConfiguration extends ResourceConfiguration { + dockerArgs?: string; + shmSize?: string; +} + +// @public +export interface Jobs { + beginCancel(resourceGroupName: string, workspaceName: string, id: string, options?: JobsCancelOptionalParams): Promise, void>>; + beginCancelAndWait(resourceGroupName: string, workspaceName: string, id: string, options?: JobsCancelOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, id: string, options?: JobsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, id: string, options?: JobsDeleteOptionalParams): Promise; + createOrUpdate(resourceGroupName: string, workspaceName: string, id: string, body: JobBase, options?: JobsCreateOrUpdateOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, id: string, options?: JobsGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: JobsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface JobsCancelHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface JobsCancelOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public (undocumented) +export interface JobScheduleAction extends ScheduleActionBase { + actionType: "CreateJob"; + jobDefinition: JobBasePropertiesUnion; +} + +// @public +export interface JobsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type JobsCreateOrUpdateResponse = JobBase; + +// @public +export interface JobsDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; +} + +// @public +export interface JobsDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export interface JobService { + endpoint?: string; + readonly errorMessage?: string; + jobServiceType?: string; + nodes?: NodesUnion; + port?: number; + properties?: { + [propertyName: string]: string | null; + }; + readonly status?: string; +} + +// @public +export interface JobsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type JobsGetResponse = JobBase; + +// @public +export interface JobsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type JobsListNextResponse = JobBaseResourceArmPaginatedResult; + +// @public +export interface JobsListOptionalParams extends coreClient.OperationOptions { + assetName?: string; + jobType?: string; + listViewType?: ListViewType; + scheduled?: boolean; + scheduleId?: string; + skip?: string; + tag?: string; +} + +// @public +export type JobsListResponse = JobBaseResourceArmPaginatedResult; + +// @public +export type JobStatus = string; + +// @public +export type JobTier = string; + +// @public +export type JobType = string; + +// @public (undocumented) +export interface KerberosCredentials { + kerberosKdcAddress: string; + kerberosPrincipal: string; + kerberosRealm: string; +} + +// @public (undocumented) +export interface KerberosKeytabCredentials extends KerberosCredentials, DatastoreCredentials { + secrets: KerberosKeytabSecrets; +} + +// @public (undocumented) +export interface KerberosKeytabSecrets extends DatastoreSecrets { + kerberosKeytab?: string; + secretsType: "KerberosKeytab"; +} + +// @public (undocumented) +export interface KerberosPasswordCredentials extends KerberosCredentials, DatastoreCredentials { + secrets: KerberosPasswordSecrets; +} + +// @public (undocumented) +export interface KerberosPasswordSecrets extends DatastoreSecrets { + kerberosPassword?: string; + secretsType: "KerberosPassword"; +} + +// @public +type KeyType_2 = string; +export { KeyType_2 as KeyType } + +// @public +export enum KnownAllocationState { + Resizing = "Resizing", + Steady = "Steady" +} + +// @public +export enum KnownApplicationSharingPolicy { + Personal = "Personal", + Shared = "Shared" +} + +// @public +export enum KnownAssetProvisioningState { + Canceled = "Canceled", + Creating = "Creating", + Deleting = "Deleting", + Failed = "Failed", + Succeeded = "Succeeded", + Updating = "Updating" +} + +// @public +export enum KnownAutoRebuildSetting { + Disabled = "Disabled", + OnBaseImageUpdate = "OnBaseImageUpdate" +} + +// @public +export enum KnownAutosave { + Local = "Local", + None = "None", + Remote = "Remote" +} + +// @public +export enum KnownBaseEnvironmentSourceType { + EnvironmentAsset = "EnvironmentAsset" +} + +// @public +export enum KnownBatchDeploymentPropertyType { + Model = "Model", + PipelineComponent = "PipelineComponent" +} + +// @public +export enum KnownBatchLoggingLevel { + Debug = "Debug", + Info = "Info", + Warning = "Warning" +} + +// @public +export enum KnownBatchOutputAction { + AppendRow = "AppendRow", + SummaryOnly = "SummaryOnly" +} + +// @public +export enum KnownBillingCurrency { + 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 { + None = "None", + ReadOnly = "ReadOnly", + 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 { + DenseProd = "DenseProd", + DevTest = "DevTest", + FastProd = "FastProd" +} + +// @public +export enum KnownComputeInstanceAuthorizationType { + Personal = "personal" +} + +// @public +export enum KnownComputeInstanceState { + CreateFailed = "CreateFailed", + Creating = "Creating", + Deleting = "Deleting", + JobRunning = "JobRunning", + Restarting = "Restarting", + Running = "Running", + SettingUp = "SettingUp", + SetupFailed = "SetupFailed", + Starting = "Starting", + Stopped = "Stopped", + Stopping = "Stopping", + Unknown = "Unknown", + Unusable = "Unusable", + UserSettingUp = "UserSettingUp", + UserSetupFailed = "UserSetupFailed" +} + +// @public +export enum KnownComputePowerAction { + Start = "Start", + Stop = "Stop" +} + +// @public +export enum KnownComputeType { + AKS = "AKS", + AmlCompute = "AmlCompute", + ComputeInstance = "ComputeInstance", + Databricks = "Databricks", + DataFactory = "DataFactory", + DataLakeAnalytics = "DataLakeAnalytics", + HDInsight = "HDInsight", + Kubernetes = "Kubernetes", + SynapseSpark = "SynapseSpark", + VirtualMachine = "VirtualMachine" +} + +// @public +export enum KnownConnectionAuthType { + AccessKey = "AccessKey", + ManagedIdentity = "ManagedIdentity", + None = "None", + PAT = "PAT", + SAS = "SAS", + ServicePrincipal = "ServicePrincipal", + UsernamePassword = "UsernamePassword" +} + +// @public +export enum KnownConnectionCategory { + AzureSqlDb = "AzureSqlDb", + AzureSynapseAnalytics = "AzureSynapseAnalytics", + ContainerRegistry = "ContainerRegistry", + FeatureStore = "FeatureStore", + Git = "Git", + PythonFeed = "PythonFeed", + S3 = "S3", + Snowflake = "Snowflake" +} + +// @public +export enum KnownContainerType { + InferenceServer = "InferenceServer", + ModelDataCollector = "ModelDataCollector", + StorageInitializer = "StorageInitializer" +} + +// @public +export enum KnownCreatedByType { + Application = "Application", + Key = "Key", + ManagedIdentity = "ManagedIdentity", + User = "User" +} + +// @public +export enum KnownCredentialsType { + AccountKey = "AccountKey", + Certificate = "Certificate", + KerberosKeytab = "KerberosKeytab", + KerberosPassword = "KerberosPassword", + None = "None", + Sas = "Sas", + ServicePrincipal = "ServicePrincipal" +} + +// @public +export enum KnownDatastoreType { + AzureBlob = "AzureBlob", + AzureDataLakeGen1 = "AzureDataLakeGen1", + AzureDataLakeGen2 = "AzureDataLakeGen2", + AzureFile = "AzureFile", + Hdfs = "Hdfs" +} + +// @public +export enum KnownDataType { + Mltable = "mltable", + UriFile = "uri_file", + UriFolder = "uri_folder" +} + +// @public +export enum KnownDeploymentProvisioningState { + Canceled = "Canceled", + Creating = "Creating", + Deleting = "Deleting", + Failed = "Failed", + Scaling = "Scaling", + Succeeded = "Succeeded", + Updating = "Updating" +} + +// @public +export enum KnownDiagnoseResultLevel { + Error = "Error", + Information = "Information", + Warning = "Warning" +} + +// @public +export enum KnownDistributionType { + Mpi = "Mpi", + PyTorch = "PyTorch", + TensorFlow = "TensorFlow" +} + +// @public +export enum KnownEarlyTerminationPolicyType { + Bandit = "Bandit", + MedianStopping = "MedianStopping", + TruncationSelection = "TruncationSelection" +} + +// @public +export enum KnownEgressPublicNetworkAccessType { + Disabled = "Disabled", + Enabled = "Enabled" +} + +// @public +export enum KnownEmailNotificationEnableType { + JobCancelled = "JobCancelled", + JobCompleted = "JobCompleted", + JobFailed = "JobFailed" +} + +// @public +export enum KnownEncryptionStatus { + Disabled = "Disabled", + Enabled = "Enabled" +} + +// @public +export enum KnownEndpointAuthMode { + AADToken = "AADToken", + AMLToken = "AMLToken", + Key = "Key" +} + +// @public +export enum KnownEndpointComputeType { + AzureMLCompute = "AzureMLCompute", + Kubernetes = "Kubernetes", + Managed = "Managed" +} + +// @public +export enum KnownEndpointProvisioningState { + Canceled = "Canceled", + Creating = "Creating", + Deleting = "Deleting", + Failed = "Failed", + Succeeded = "Succeeded", + Updating = "Updating" +} + +// @public +export enum KnownEnvironmentType { + Curated = "Curated", + UserCreated = "UserCreated" +} + +// @public +export enum KnownEnvironmentVariableType { + Local = "local" +} + +// @public +export enum KnownExportFormatType { + Coco = "Coco", + CSV = "CSV", + Dataset = "Dataset" +} + +// @public +export enum KnownFeatureDataType { + Binary = "Binary", + Datetime = "Datetime", + Double = "Double", + Float = "Float", + Integer = "Integer", + Long = "Long", + String = "String" +} + +// @public +export enum KnownFeatureLags { + Auto = "Auto", + None = "None" +} + +// @public +export enum KnownFeaturestoreJobType { + BackfillMaterialization = "BackfillMaterialization", + RecurrentMaterialization = "RecurrentMaterialization" +} + +// @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 { + Maximize = "Maximize", + Minimize = "Minimize" +} + +// @public +export enum KnownIdentityConfigurationType { + AMLToken = "AMLToken", + Managed = "Managed", + UserIdentity = "UserIdentity" +} + +// @public +export enum KnownImageAnnotationType { + BoundingBox = "BoundingBox", + Classification = "Classification", + InstanceSegmentation = "InstanceSegmentation" +} + +// @public +export enum KnownImageType { + Azureml = "azureml", + Docker = "docker" +} + +// @public +export enum KnownIncrementalDataRefresh { + Disabled = "Disabled", + Enabled = "Enabled" +} + +// @public +export enum KnownInferencingServerType { + AzureMLBatch = "AzureMLBatch", + AzureMLOnline = "AzureMLOnline", + Custom = "Custom", + Triton = "Triton" +} + +// @public +export enum KnownInputDeliveryMode { + Direct = "Direct", + Download = "Download", + EvalDownload = "EvalDownload", + EvalMount = "EvalMount", + ReadOnlyMount = "ReadOnlyMount", + ReadWriteMount = "ReadWriteMount" +} + +// @public +export enum KnownInputPathType { + PathId = "PathId", + PathVersion = "PathVersion", + Url = "Url" +} + +// @public +export enum KnownInstanceSegmentationPrimaryMetrics { + MeanAveragePrecision = "MeanAveragePrecision" +} + +// @public +export enum KnownJobInputType { + CustomModel = "custom_model", + Literal = "literal", + MlflowModel = "mlflow_model", + Mltable = "mltable", + TritonModel = "triton_model", + UriFile = "uri_file", + UriFolder = "uri_folder" +} + +// @public +export enum KnownJobLimitsType { + Command = "Command", + Sweep = "Sweep" +} + +// @public +export enum KnownJobOutputType { + CustomModel = "custom_model", + MlflowModel = "mlflow_model", + Mltable = "mltable", + TritonModel = "triton_model", + UriFile = "uri_file", + UriFolder = "uri_folder" +} + +// @public +export enum KnownJobProvisioningState { + Canceled = "Canceled", + Failed = "Failed", + InProgress = "InProgress", + Succeeded = "Succeeded" +} + +// @public +export enum KnownJobStatus { + Canceled = "Canceled", + CancelRequested = "CancelRequested", + Completed = "Completed", + Failed = "Failed", + Finalizing = "Finalizing", + NotResponding = "NotResponding", + NotStarted = "NotStarted", + Paused = "Paused", + Preparing = "Preparing", + Provisioning = "Provisioning", + Queued = "Queued", + Running = "Running", + Scheduled = "Scheduled", + Starting = "Starting", + Unknown = "Unknown" +} + +// @public +export enum KnownJobTier { + Basic = "Basic", + Premium = "Premium", + Spot = "Spot", + Standard = "Standard" +} + +// @public +export enum KnownJobType { + AutoML = "AutoML", + Command = "Command", + Labeling = "Labeling", + Pipeline = "Pipeline", + Spark = "Spark", + Sweep = "Sweep" +} + +// @public +export enum KnownKeyType { + Primary = "Primary", + Secondary = "Secondary" +} + +// @public +export enum KnownLearningRateScheduler { + None = "None", + Step = "Step", + WarmupCosine = "WarmupCosine" +} + +// @public +export enum KnownListViewType { + ActiveOnly = "ActiveOnly", + All = "All", + ArchivedOnly = "ArchivedOnly" +} + +// @public +export enum KnownLoadBalancerType { + InternalLoadBalancer = "InternalLoadBalancer", + PublicIp = "PublicIp" +} + +// @public +export enum KnownLogVerbosity { + Critical = "Critical", + Debug = "Debug", + Error = "Error", + Info = "Info", + NotSet = "NotSet", + Warning = "Warning" +} + +// @public +export enum KnownManagedServiceIdentityType { + None = "None", + SystemAssigned = "SystemAssigned", + SystemAssignedUserAssigned = "SystemAssigned,UserAssigned", + UserAssigned = "UserAssigned" +} + +// @public +export enum KnownMaterializationStoreType { + None = "None", + Offline = "Offline", + Online = "Online", + OnlineAndOffline = "OnlineAndOffline" +} + +// @public +export enum KnownMediaType { + Image = "Image", + Text = "Text" +} + +// @public +export enum KnownMLAssistConfigurationType { + Disabled = "Disabled", + Enabled = "Enabled" +} + +// @public +export enum KnownMlflowAutologger { + Disabled = "Disabled", + Enabled = "Enabled" +} + +// @public +export enum KnownMLFlowAutologgerState { + Disabled = "Disabled", + Enabled = "Enabled" +} + +// @public +export enum KnownModelSize { + ExtraLarge = "ExtraLarge", + Large = "Large", + Medium = "Medium", + None = "None", + Small = "Small" +} + +// @public +export enum KnownMountAction { + Mount = "Mount", + Unmount = "Unmount" +} + +// @public +export enum KnownMountState { + Mounted = "Mounted", + MountFailed = "MountFailed", + MountRequested = "MountRequested", + Unmounted = "Unmounted", + UnmountFailed = "UnmountFailed", + UnmountRequested = "UnmountRequested" +} + +// @public +export enum KnownMultiSelect { + Disabled = "Disabled", + Enabled = "Enabled" +} + +// @public +export enum KnownNCrossValidationsMode { + Auto = "Auto", + Custom = "Custom" +} + +// @public +export enum KnownNetwork { + Bridge = "Bridge", + Host = "Host" +} + +// @public +export enum KnownNlpLearningRateScheduler { + Constant = "Constant", + ConstantWithWarmup = "ConstantWithWarmup", + Cosine = "Cosine", + CosineWithRestarts = "CosineWithRestarts", + Linear = "Linear", + None = "None", + Polynomial = "Polynomial" +} + +// @public +export enum KnownNodeState { + Idle = "idle", + Leaving = "leaving", + Preempted = "preempted", + Preparing = "preparing", + Running = "running", + Unusable = "unusable" +} + +// @public +export enum KnownNodesValueType { + All = "All", + Custom = "Custom" +} + +// @public +export enum KnownObjectDetectionPrimaryMetrics { + MeanAveragePrecision = "MeanAveragePrecision" +} + +// @public +export enum KnownOperatingSystemType { + Linux = "Linux", + Windows = "Windows" +} + +// @public +export enum KnownOperationName { + Create = "Create", + Delete = "Delete", + Reimage = "Reimage", + Restart = "Restart", + Start = "Start", + Stop = "Stop" +} + +// @public +export enum KnownOperationStatus { + CreateFailed = "CreateFailed", + DeleteFailed = "DeleteFailed", + InProgress = "InProgress", + ReimageFailed = "ReimageFailed", + RestartFailed = "RestartFailed", + StartFailed = "StartFailed", + StopFailed = "StopFailed", + Succeeded = "Succeeded" +} + +// @public +export enum KnownOperationTrigger { + IdleShutdown = "IdleShutdown", + Schedule = "Schedule", + User = "User" +} + +// @public +export enum KnownOrderString { + CreatedAtAsc = "CreatedAtAsc", + CreatedAtDesc = "CreatedAtDesc", + UpdatedAtAsc = "UpdatedAtAsc", + UpdatedAtDesc = "UpdatedAtDesc" +} + +// @public +export enum KnownOsType { + Linux = "Linux", + Windows = "Windows" +} + +// @public +export enum KnownOutputDeliveryMode { + Direct = "Direct", + ReadWriteMount = "ReadWriteMount", + Upload = "Upload" +} + +// @public +export enum KnownPackageBuildState { + Failed = "Failed", + NotStarted = "NotStarted", + Running = "Running", + Succeeded = "Succeeded" +} + +// @public +export enum KnownPackageInputDeliveryMode { + Download = "Download", + ReadOnlyMount = "ReadOnlyMount" +} + +// @public +export enum KnownPackageInputType { + UriFile = "UriFile", + UriFolder = "UriFolder" +} + +// @public +export enum KnownPrivateEndpointConnectionProvisioningState { + Creating = "Creating", + Deleting = "Deleting", + Failed = "Failed", + Succeeded = "Succeeded" +} + +// @public +export enum KnownPrivateEndpointServiceConnectionStatus { + Approved = "Approved", + Disconnected = "Disconnected", + Pending = "Pending", + Rejected = "Rejected", + Timeout = "Timeout" +} + +// @public +export enum KnownProtocol { + Http = "http", + Tcp = "tcp", + Udp = "udp" +} + +// @public +export enum KnownProvisioningState { + Canceled = "Canceled", + Creating = "Creating", + Deleting = "Deleting", + Failed = "Failed", + SoftDeleted = "SoftDeleted", + Succeeded = "Succeeded", + Unknown = "Unknown", + Updating = "Updating" +} + +// @public +export enum KnownProvisioningStatus { + Completed = "Completed", + Failed = "Failed", + Provisioning = "Provisioning" +} + +// @public +export enum KnownPublicNetworkAccess { + Disabled = "Disabled", + Enabled = "Enabled" +} + +// @public +export enum KnownPublicNetworkAccessType { + Disabled = "Disabled", + Enabled = "Enabled" +} + +// @public +export enum KnownQuotaUnit { + Count = "Count" +} + +// @public +export enum KnownRandomSamplingAlgorithmRule { + Random = "Random", + Sobol = "Sobol" +} + +// @public +export enum KnownRecurrenceFrequency { + Day = "Day", + Hour = "Hour", + Minute = "Minute", + Month = "Month", + Week = "Week" +} + +// @public +export enum KnownReferenceType { + DataPath = "DataPath", + Id = "Id", + 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 { + Disabled = "Disabled", + Enabled = "Enabled", + NotSpecified = "NotSpecified" +} + +// @public +export enum KnownSamplingAlgorithmType { + Bayesian = "Bayesian", + Grid = "Grid", + Random = "Random" +} + +// @public +export enum KnownScaleType { + Default = "Default", + TargetUtilization = "TargetUtilization" +} + +// @public +export enum KnownScheduleActionType { + CreateJob = "CreateJob", + InvokeBatchEndpoint = "InvokeBatchEndpoint" +} + +// @public +export enum KnownScheduleListViewType { + All = "All", + DisabledOnly = "DisabledOnly", + EnabledOnly = "EnabledOnly" +} + +// @public +export enum KnownScheduleProvisioningState { + Completed = "Completed", + Failed = "Failed", + Provisioning = "Provisioning" +} + +// @public +export enum KnownScheduleProvisioningStatus { + Canceled = "Canceled", + Creating = "Creating", + Deleting = "Deleting", + Failed = "Failed", + Succeeded = "Succeeded", + Updating = "Updating" +} + +// @public +export enum KnownScheduleStatus { + Disabled = "Disabled", + Enabled = "Enabled" +} + +// @public +export enum KnownSeasonalityMode { + Auto = "Auto", + Custom = "Custom" +} + +// @public +export enum KnownSecretsType { + AccountKey = "AccountKey", + Certificate = "Certificate", + KerberosKeytab = "KerberosKeytab", + KerberosPassword = "KerberosPassword", + Sas = "Sas", ServicePrincipal = "ServicePrincipal" } // @public -export enum KnownDatastoreType { - AzureBlob = "AzureBlob", - AzureDataLakeGen1 = "AzureDataLakeGen1", - AzureDataLakeGen2 = "AzureDataLakeGen2", - AzureFile = "AzureFile" -} +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 { + Dataset = "Dataset", + Datastore = "Datastore", + URI = "URI" +} + +// @public +export enum KnownSparkJobEntryType { + SparkJobPythonEntry = "SparkJobPythonEntry", + SparkJobScalaEntry = "SparkJobScalaEntry" +} + +// @public +export enum KnownSshPublicAccess { + Disabled = "Disabled", + Enabled = "Enabled" +} + +// @public +export enum KnownSslConfigStatus { + Auto = "Auto", + Disabled = "Disabled", + Enabled = "Enabled" +} + +// @public +export enum KnownStackMetaLearnerType { + ElasticNet = "ElasticNet", + ElasticNetCV = "ElasticNetCV", + LightGBMClassifier = "LightGBMClassifier", + LightGBMRegressor = "LightGBMRegressor", + LinearRegression = "LinearRegression", + LogisticRegression = "LogisticRegression", + LogisticRegressionCV = "LogisticRegressionCV", + None = "None" +} + +// @public +export enum KnownStatus { + Failure = "Failure", + InvalidQuotaBelowClusterMinimum = "InvalidQuotaBelowClusterMinimum", + InvalidQuotaExceedsSubscriptionLimit = "InvalidQuotaExceedsSubscriptionLimit", + InvalidVMFamilyName = "InvalidVMFamilyName", + OperationNotEnabledForRegion = "OperationNotEnabledForRegion", + OperationNotSupportedForSku = "OperationNotSupportedForSku", + Success = "Success", + Undefined = "Undefined" +} + +// @public +export enum KnownStatusMessageLevel { + Error = "Error", + Information = "Information", + Warning = "Warning" +} + +// @public +export enum KnownStochasticOptimizer { + Adam = "Adam", + Adamw = "Adamw", + None = "None", + Sgd = "Sgd" +} + +// @public +export enum KnownStorageAccountType { + PremiumLRS = "Premium_LRS", + StandardLRS = "Standard_LRS" +} + +// @public +export enum KnownTargetAggregationFunction { + Max = "Max", + Mean = "Mean", + Min = "Min", + None = "None", + 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 { + Classification = "Classification", + NamedEntityRecognition = "NamedEntityRecognition" +} + +// @public +export enum KnownTrainingMode { + Auto = "Auto", + Distributed = "Distributed", + NonDistributed = "NonDistributed" +} + +// @public +export enum KnownTriggerType { + Cron = "Cron", + Recurrence = "Recurrence" +} + +// @public +export enum KnownUnderlyingResourceAction { + Delete = "Delete", + Detach = "Detach" +} + +// @public +export enum KnownUnitOfMeasure { + OneHour = "OneHour" +} + +// @public +export enum KnownUsageUnit { + Count = "Count" +} + +// @public +export enum KnownUseStl { + None = "None", + Season = "Season", + SeasonTrend = "SeasonTrend" +} + +// @public +export enum KnownValidationMetricType { + Coco = "Coco", + CocoVoc = "CocoVoc", + None = "None", + Voc = "Voc" +} + +// @public +export enum KnownValueFormat { + Json = "JSON" +} + +// @public +export enum KnownVMPriceOSType { + Linux = "Linux", + Windows = "Windows" +} + +// @public +export enum KnownVmPriority { + Dedicated = "Dedicated", + LowPriority = "LowPriority" +} + +// @public +export enum KnownVMTier { + LowPriority = "LowPriority", + Spot = "Spot", + Standard = "Standard" +} + +// @public +export enum KnownVolumeDefinitionType { + Bind = "bind", + Npipe = "npipe", + Tmpfs = "tmpfs", + Volume = "volume" +} + +// @public +export enum KnownWeekDay { + Friday = "Friday", + Monday = "Monday", + Saturday = "Saturday", + Sunday = "Sunday", + Thursday = "Thursday", + Tuesday = "Tuesday", + Wednesday = "Wednesday" +} + +// @public +export interface Kubernetes extends Compute, KubernetesSchema { + computeType: "Kubernetes"; +} + +// @public +export interface KubernetesOnlineDeployment extends OnlineDeploymentProperties { + containerResourceRequirements?: ContainerResourceRequirements; + endpointComputeType: "Kubernetes"; +} + +// @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 interface LabelCategory { + classes?: { + [propertyName: string]: LabelClass | null; + }; + displayName?: string; + multiSelect?: MultiSelect; +} + +// @public +export interface LabelClass { + displayName?: string; + subclasses?: { + [propertyName: string]: LabelClass | null; + }; +} + +// @public +export interface LabelingDataConfiguration { + dataId?: string; + incrementalDataRefresh?: IncrementalDataRefresh; +} + +// @public +export interface LabelingJob extends Resource { + properties: LabelingJobProperties; +} + +// @public +export interface LabelingJobImageProperties extends LabelingJobMediaProperties { + annotationType?: ImageAnnotationType; + mediaType: "Image"; +} + +// @public +export interface LabelingJobInstructions { + uri?: string; +} + +// @public +export interface LabelingJobMediaProperties { + mediaType: "Image" | "Text"; +} + +// @public (undocumented) +export type LabelingJobMediaPropertiesUnion = LabelingJobMediaProperties | LabelingJobImageProperties | LabelingJobTextProperties; + +// @public +export interface LabelingJobProperties extends JobBaseProperties { + readonly createdDateTime?: Date; + dataConfiguration?: LabelingDataConfiguration; + jobInstructions?: LabelingJobInstructions; + jobType: "Labeling"; + labelCategories?: { + [propertyName: string]: LabelCategory | null; + }; + labelingJobMediaProperties?: LabelingJobMediaPropertiesUnion; + mlAssistConfiguration?: MLAssistConfigurationUnion; + readonly progressMetrics?: ProgressMetrics; + readonly projectId?: string; + readonly provisioningState?: JobProvisioningState; + readonly statusMessages?: StatusMessage[]; +} + +// @public +export interface LabelingJobResourceArmPaginatedResult { + nextLink?: string; + value?: LabelingJob[]; +} + +// @public +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 interface LabelingJobsCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; +} + +// @public +export interface LabelingJobsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type LabelingJobsCreateOrUpdateResponse = LabelingJob; + +// @public +export interface LabelingJobsDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface LabelingJobsExportLabelsHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface LabelingJobsExportLabelsOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type LabelingJobsExportLabelsResponse = ExportSummaryUnion; + +// @public +export interface LabelingJobsGetOptionalParams extends coreClient.OperationOptions { + includeJobInstructions?: boolean; + includeLabelCategories?: boolean; +} + +// @public +export type LabelingJobsGetResponse = LabelingJob; + +// @public +export interface LabelingJobsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type LabelingJobsListNextResponse = LabelingJobResourceArmPaginatedResult; + +// @public +export interface LabelingJobsListOptionalParams extends coreClient.OperationOptions { + skip?: string; + top?: number; +} + +// @public +export type LabelingJobsListResponse = LabelingJobResourceArmPaginatedResult; + +// @public +export interface LabelingJobsPauseOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface LabelingJobsResumeHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface LabelingJobsResumeOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export interface LabelingJobTextProperties extends LabelingJobMediaProperties { + annotationType?: TextAnnotationType; + mediaType: "Text"; +} + +// @public +export type LearningRateScheduler = string; + +// @public +export interface ListAmlUserFeatureResult { + readonly nextLink?: string; + readonly value?: AmlUserFeature[]; +} + +// @public (undocumented) +export interface ListNotebookKeysResult { + readonly primaryAccessKey?: string; + readonly secondaryAccessKey?: string; +} + +// @public (undocumented) +export interface ListStorageAccountKeysResult { + readonly userStorageKey?: string; +} + +// @public +export interface ListUsagesResult { + readonly nextLink?: string; + readonly value?: Usage[]; +} + +// @public +export type ListViewType = string; + +// @public (undocumented) +export interface ListWorkspaceKeysResult { + readonly appInsightsInstrumentationKey?: string; + readonly containerRegistryCredentials?: RegistryListCredentialsResult; + readonly notebookAccessKeys?: ListNotebookKeysResult; + readonly userStorageKey?: string; + readonly userStorageResourceId?: string; +} + +// @public +export interface ListWorkspaceQuotas { + readonly nextLink?: string; + readonly value?: ResourceQuota[]; +} + +// @public +export interface LiteralJobInput extends JobInput { + jobInputType: "literal"; + value: string; +} + +// @public +export type LoadBalancerType = string; + +// @public +export type LogVerbosity = string; + +// @public +export interface ManagedIdentity extends IdentityConfiguration { + clientId?: string; + identityType: "Managed"; + objectId?: string; + resourceId?: string; +} + +// @public (undocumented) +export interface ManagedIdentityAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { + authType: "ManagedIdentity"; + // (undocumented) + credentials?: WorkspaceConnectionManagedIdentity; +} + +// @public +export interface ManagedOnlineDeployment extends OnlineDeploymentProperties { + endpointComputeType: "Managed"; +} + +// @public +export interface ManagedServiceIdentity { + readonly principalId?: string; + readonly tenantId?: string; + type: ManagedServiceIdentityType; + userAssignedIdentities?: { + [propertyName: string]: UserAssignedIdentity; + }; +} + +// @public +export type ManagedServiceIdentityType = string; + +// @public (undocumented) +export interface MaterializationSettings { + notification?: NotificationSetting; + resource?: ComputeResourceAutoGenerated; + schedule?: RecurrenceTrigger; + sparkConfiguration?: { + [propertyName: string]: string | null; + }; + storeType?: MaterializationStoreType; +} + +// @public +export type MaterializationStoreType = string; + +// @public +export interface MedianStoppingPolicy extends EarlyTerminationPolicy { + policyType: "MedianStopping"; +} + +// @public +export type MediaType = string; + +// @public +export interface MLAssistConfiguration { + mlAssist: "Disabled" | "Enabled"; +} + +// @public +export interface MLAssistConfigurationDisabled extends MLAssistConfiguration { + mlAssist: "Disabled"; +} + +// @public +export interface MLAssistConfigurationEnabled extends MLAssistConfiguration { + inferencingComputeBinding: string; + mlAssist: "Enabled"; + trainingComputeBinding: string; +} + +// @public +export type MLAssistConfigurationType = string; + +// @public (undocumented) +export type MLAssistConfigurationUnion = MLAssistConfiguration | MLAssistConfigurationDisabled | MLAssistConfigurationEnabled; + +// @public +export type MlflowAutologger = string; + +// @public +export type MLFlowAutologgerState = string; + +// @public (undocumented) +export interface MLFlowModelJobInput extends AssetJobInput, JobInput { +} + +// @public (undocumented) +export interface MLFlowModelJobOutput extends AssetJobOutput, JobOutput { +} + +// @public +export interface MLTableData extends DataVersionBaseProperties { + dataType: "mltable"; + referencedUris?: string[]; +} + +// @public (undocumented) +export interface MLTableJobInput extends AssetJobInput, JobInput { +} + +// @public (undocumented) +export interface MLTableJobOutput extends AssetJobOutput, JobOutput { +} + +// @public +export interface ModelConfiguration { + mode?: PackageInputDeliveryMode; + mountPath?: string; +} + +// @public +export interface ModelContainer extends Resource { + properties: ModelContainerProperties; +} + +// @public (undocumented) +export interface ModelContainerProperties extends AssetContainer { + readonly provisioningState?: AssetProvisioningState; +} + +// @public +export interface ModelContainerResourceArmPaginatedResult { + nextLink?: string; + value?: ModelContainer[]; +} + +// @public +export interface ModelContainers { + createOrUpdate(resourceGroupName: string, workspaceName: string, name: string, body: ModelContainer, options?: ModelContainersCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, workspaceName: string, name: string, options?: ModelContainersDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, name: string, options?: ModelContainersGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: ModelContainersListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface ModelContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ModelContainersCreateOrUpdateResponse = ModelContainer; + +// @public +export interface ModelContainersDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface ModelContainersGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ModelContainersGetResponse = ModelContainer; + +// @public +export interface ModelContainersListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ModelContainersListNextResponse = ModelContainerResourceArmPaginatedResult; + +// @public +export interface ModelContainersListOptionalParams extends coreClient.OperationOptions { + count?: number; + listViewType?: ListViewType; + skip?: string; +} + +// @public +export type ModelContainersListResponse = ModelContainerResourceArmPaginatedResult; + +// @public +export interface ModelPackageInput { + inputType: PackageInputType; + mode?: PackageInputDeliveryMode; + mountPath?: string; + path: PackageInputPathBaseUnion; +} + +// @public +export type ModelSize = string; + +// @public +export interface ModelVersion extends Resource { + properties: ModelVersionProperties; +} + +// @public +export interface ModelVersionProperties extends AssetBase { + flavors?: { + [propertyName: string]: FlavorData | null; + }; + jobName?: string; + modelType?: string; + modelUri?: string; + readonly provisioningState?: AssetProvisioningState; +} + +// @public +export interface ModelVersionResourceArmPaginatedResult { + nextLink?: string; + value?: ModelVersion[]; +} + +// @public +export interface ModelVersions { + beginPackage(resourceGroupName: string, workspaceName: string, name: string, version: string, body: any, options?: ModelVersionsPackageOptionalParams): Promise, ModelVersionsPackageResponse>>; + beginPackageAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, body: any, options?: ModelVersionsPackageOptionalParams): Promise; + createOrUpdate(resourceGroupName: string, workspaceName: string, name: string, version: string, body: ModelVersion, options?: ModelVersionsCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: ModelVersionsDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: ModelVersionsGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, name: string, options?: ModelVersionsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface ModelVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ModelVersionsCreateOrUpdateResponse = ModelVersion; + +// @public +export interface ModelVersionsDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface ModelVersionsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ModelVersionsGetResponse = ModelVersion; + +// @public +export interface ModelVersionsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ModelVersionsListNextResponse = ModelVersionResourceArmPaginatedResult; + +// @public +export interface ModelVersionsListOptionalParams extends coreClient.OperationOptions { + description?: string; + feed?: string; + listViewType?: ListViewType; + offset?: number; + orderBy?: string; + properties?: string; + skip?: string; + tags?: string; + top?: number; + version?: string; +} + +// @public +export type ModelVersionsListResponse = ModelVersionResourceArmPaginatedResult; + +// @public +export interface ModelVersionsPackageHeaders { + location?: string; + retryAfter?: number; +} + +// @public +export interface ModelVersionsPackageOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type ModelVersionsPackageResponse = PackageResponse; + +// @public +export type MountAction = string; + +// @public +export type MountState = string; // @public -export enum KnownDataType { - Mltable = "mltable", - UriFile = "uri_file", - UriFolder = "uri_folder" +export interface Mpi extends DistributionConfiguration { + distributionType: "Mpi"; + processCountPerInstance?: number; } // @public -export enum KnownDeploymentProvisioningState { - Canceled = "Canceled", - Creating = "Creating", - Deleting = "Deleting", - Failed = "Failed", - Scaling = "Scaling", - Succeeded = "Succeeded", - Updating = "Updating" +export type MultiSelect = string; + +// @public +export interface NCrossValidations { + mode: "Auto" | "Custom"; } // @public -export enum KnownDiagnoseResultLevel { - Error = "Error", - Information = "Information", - Warning = "Warning" +export type NCrossValidationsMode = string; + +// @public (undocumented) +export type NCrossValidationsUnion = NCrossValidations | AutoNCrossValidations | CustomNCrossValidations; + +// @public +export type Network = string; + +// @public +export interface NlpFixedParameters { + gradientAccumulationSteps?: number; + learningRate?: number; + learningRateScheduler?: NlpLearningRateScheduler; + modelName?: string; + numberOfEpochs?: number; + trainingBatchSize?: number; + validationBatchSize?: number; + warmupRatio?: number; + weightDecay?: number; } // @public -export enum KnownDistributionType { - Mpi = "Mpi", - PyTorch = "PyTorch", - TensorFlow = "TensorFlow" +export type NlpLearningRateScheduler = string; + +// @public +export interface NlpParameterSubspace { + gradientAccumulationSteps?: string; + learningRate?: string; + learningRateScheduler?: string; + modelName?: string; + numberOfEpochs?: string; + trainingBatchSize?: string; + validationBatchSize?: string; + warmupRatio?: string; + weightDecay?: string; } // @public -export enum KnownEarlyTerminationPolicyType { - Bandit = "Bandit", - MedianStopping = "MedianStopping", - TruncationSelection = "TruncationSelection" +export interface NlpSweepSettings { + earlyTermination?: EarlyTerminationPolicyUnion; + samplingAlgorithm: SamplingAlgorithmType; } // @public -export enum KnownEgressPublicNetworkAccessType { - Disabled = "Disabled", - Enabled = "Enabled" +export interface NlpVertical { + featurizationSettings?: NlpVerticalFeaturizationSettings; + fixedParameters?: NlpFixedParameters; + limitSettings?: NlpVerticalLimitSettings; + searchSpace?: NlpParameterSubspace[]; + sweepSettings?: NlpSweepSettings; + validationData?: MLTableJobInput; +} + +// @public (undocumented) +export interface NlpVerticalFeaturizationSettings extends FeaturizationSettings { } // @public -export enum KnownEncryptionStatus { - Disabled = "Disabled", - Enabled = "Enabled" +export interface NlpVerticalLimitSettings { + maxConcurrentTrials?: number; + maxNodes?: number; + maxTrials?: number; + timeout?: string; + trialTimeout?: string; } // @public -export enum KnownEndpointAuthMode { - AADToken = "AADToken", - AMLToken = "AMLToken", - Key = "Key" +export interface Nodes { + nodesValueType: "All"; } // @public -export enum KnownEndpointComputeType { - AzureMLCompute = "AzureMLCompute", - Kubernetes = "Kubernetes", - Managed = "Managed" +export type NodeState = string; + +// @public +export interface NodeStateCounts { + readonly idleNodeCount?: number; + readonly leavingNodeCount?: number; + readonly preemptedNodeCount?: number; + readonly preparingNodeCount?: number; + readonly runningNodeCount?: number; + readonly unusableNodeCount?: number; } +// @public (undocumented) +export type NodesUnion = Nodes | AllNodes; + // @public -export enum KnownEndpointProvisioningState { - Canceled = "Canceled", - Creating = "Creating", - Deleting = "Deleting", - Failed = "Failed", - Succeeded = "Succeeded", - Updating = "Updating" +export type NodesValueType = string; + +// @public (undocumented) +export interface NoneAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { + authType: "None"; } // @public -export enum KnownEnvironmentType { - Curated = "Curated", - UserCreated = "UserCreated" +export interface NoneDatastoreCredentials extends DatastoreCredentials { + credentialsType: "None"; +} + +// @public (undocumented) +export interface NotebookAccessTokenResult { + readonly accessToken?: string; + readonly expiresIn?: number; + readonly hostName?: string; + readonly notebookResourceId?: string; + readonly publicDns?: string; + readonly refreshToken?: string; + readonly scope?: string; + readonly tokenType?: string; +} + +// @public (undocumented) +export interface NotebookPreparationError { + // (undocumented) + errorMessage?: string; + // (undocumented) + statusCode?: number; +} + +// @public (undocumented) +export interface NotebookResourceInfo { + // (undocumented) + fqdn?: string; + notebookPreparationError?: NotebookPreparationError; + resourceId?: string; } // @public -export enum KnownFeatureLags { - Auto = "Auto", - None = "None" +export interface NotificationSetting { + emailOn?: EmailNotificationEnableType[]; + emails?: string[]; } // @public -export enum KnownFeaturizationMode { - Auto = "Auto", - Custom = "Custom", - Off = "Off" +export type ObjectDetectionPrimaryMetrics = string; + +// @public +export interface Objective { + goal: Goal; + primaryMetric: string; +} + +// @public (undocumented) +export interface OnlineDeployment extends TrackedResource { + identity?: ManagedServiceIdentity; + kind?: string; + properties: OnlineDeploymentPropertiesUnion; + sku?: Sku; +} + +// @public (undocumented) +export interface OnlineDeploymentProperties extends EndpointDeploymentPropertiesBase { + appInsightsEnabled?: boolean; + egressPublicNetworkAccess?: EgressPublicNetworkAccessType; + endpointComputeType: EndpointComputeType; + instanceType?: string; + livenessProbe?: ProbeSettings; + model?: string; + modelMountPath?: string; + readonly provisioningState?: DeploymentProvisioningState; + readinessProbe?: ProbeSettings; + requestSettings?: OnlineRequestSettings; + scaleSettings?: OnlineScaleSettingsUnion; } +// @public (undocumented) +export type OnlineDeploymentPropertiesUnion = OnlineDeploymentProperties | KubernetesOnlineDeployment | ManagedOnlineDeployment; + // @public -export enum KnownForecastHorizonMode { - Auto = "Auto", - Custom = "Custom" +export interface OnlineDeployments { + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: OnlineDeployment, options?: OnlineDeploymentsCreateOrUpdateOptionalParams): Promise, OnlineDeploymentsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: OnlineDeployment, options?: OnlineDeploymentsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, options?: OnlineDeploymentsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, options?: OnlineDeploymentsDeleteOptionalParams): Promise; + beginUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: PartialMinimalTrackedResourceWithSku, options?: OnlineDeploymentsUpdateOptionalParams): Promise, OnlineDeploymentsUpdateResponse>>; + beginUpdateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: PartialMinimalTrackedResourceWithSku, options?: OnlineDeploymentsUpdateOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, options?: OnlineDeploymentsGetOptionalParams): Promise; + getLogs(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: DeploymentLogsRequest, options?: OnlineDeploymentsGetLogsOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, endpointName: string, options?: OnlineDeploymentsListOptionalParams): PagedAsyncIterableIterator; + listSkus(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, options?: OnlineDeploymentsListSkusOptionalParams): PagedAsyncIterableIterator; } // @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" +export interface OnlineDeploymentsCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } // @public -export enum KnownForecastingPrimaryMetrics { - NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError", - NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", - R2Score = "R2Score", - SpearmanCorrelation = "SpearmanCorrelation" +export interface OnlineDeploymentsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export enum KnownGoal { - Maximize = "Maximize", - Minimize = "Minimize" +export type OnlineDeploymentsCreateOrUpdateResponse = OnlineDeployment; + +// @public +export interface OnlineDeploymentsDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; } // @public -export enum KnownIdentityConfigurationType { - AMLToken = "AMLToken", - Managed = "Managed", - UserIdentity = "UserIdentity" +export interface OnlineDeploymentsDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export enum KnownInputDeliveryMode { - Direct = "Direct", - Download = "Download", - EvalDownload = "EvalDownload", - EvalMount = "EvalMount", - ReadOnlyMount = "ReadOnlyMount", - ReadWriteMount = "ReadWriteMount" +export interface OnlineDeploymentsGetLogsOptionalParams extends coreClient.OperationOptions { } // @public -export enum KnownInstanceSegmentationPrimaryMetrics { - MeanAveragePrecision = "MeanAveragePrecision" -} +export type OnlineDeploymentsGetLogsResponse = DeploymentLogs; // @public -export enum KnownJobInputType { - CustomModel = "custom_model", - Literal = "literal", - MlflowModel = "mlflow_model", - Mltable = "mltable", - TritonModel = "triton_model", - UriFile = "uri_file", - UriFolder = "uri_folder" +export interface OnlineDeploymentsGetOptionalParams extends coreClient.OperationOptions { } // @public -export enum KnownJobLimitsType { - Command = "Command", - Sweep = "Sweep" -} +export type OnlineDeploymentsGetResponse = OnlineDeployment; // @public -export enum KnownJobOutputType { - CustomModel = "custom_model", - MlflowModel = "mlflow_model", - Mltable = "mltable", - TritonModel = "triton_model", - UriFile = "uri_file", - UriFolder = "uri_folder" +export interface OnlineDeploymentsListNextOptionalParams extends coreClient.OperationOptions { } // @public -export enum KnownJobStatus { - Canceled = "Canceled", - CancelRequested = "CancelRequested", - Completed = "Completed", - Failed = "Failed", - Finalizing = "Finalizing", - NotResponding = "NotResponding", - NotStarted = "NotStarted", - Paused = "Paused", - Preparing = "Preparing", - Provisioning = "Provisioning", - Queued = "Queued", - Running = "Running", - Starting = "Starting", - Unknown = "Unknown" -} +export type OnlineDeploymentsListNextResponse = OnlineDeploymentTrackedResourceArmPaginatedResult; // @public -export enum KnownJobType { - AutoML = "AutoML", - Command = "Command", - Pipeline = "Pipeline", - Sweep = "Sweep" +export interface OnlineDeploymentsListOptionalParams extends coreClient.OperationOptions { + orderBy?: string; + skip?: string; + top?: number; } // @public -export enum KnownKeyType { - Primary = "Primary", - Secondary = "Secondary" -} +export type OnlineDeploymentsListResponse = OnlineDeploymentTrackedResourceArmPaginatedResult; // @public -export enum KnownLearningRateScheduler { - None = "None", - Step = "Step", - WarmupCosine = "WarmupCosine" +export interface OnlineDeploymentsListSkusNextOptionalParams extends coreClient.OperationOptions { } // @public -export enum KnownListViewType { - ActiveOnly = "ActiveOnly", - All = "All", - ArchivedOnly = "ArchivedOnly" -} +export type OnlineDeploymentsListSkusNextResponse = SkuResourceArmPaginatedResult; // @public -export enum KnownLoadBalancerType { - InternalLoadBalancer = "InternalLoadBalancer", - PublicIp = "PublicIp" +export interface OnlineDeploymentsListSkusOptionalParams extends coreClient.OperationOptions { + count?: number; + skip?: string; } // @public -export enum KnownLogVerbosity { - Critical = "Critical", - Debug = "Debug", - Error = "Error", - Info = "Info", - NotSet = "NotSet", - Warning = "Warning" -} +export type OnlineDeploymentsListSkusResponse = SkuResourceArmPaginatedResult; // @public -export enum KnownManagedServiceIdentityType { - None = "None", - SystemAssigned = "SystemAssigned", - SystemAssignedUserAssigned = "SystemAssigned,UserAssigned", - UserAssigned = "UserAssigned" +export interface OnlineDeploymentsUpdateHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; } // @public -export enum KnownModelSize { - ExtraLarge = "ExtraLarge", - Large = "Large", - Medium = "Medium", - None = "None", - Small = "Small" +export interface OnlineDeploymentsUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export enum KnownMountAction { - Mount = "Mount", - Unmount = "Unmount" -} +export type OnlineDeploymentsUpdateResponse = OnlineDeployment; // @public -export enum KnownMountState { - Mounted = "Mounted", - MountFailed = "MountFailed", - MountRequested = "MountRequested", - Unmounted = "Unmounted", - UnmountFailed = "UnmountFailed", - UnmountRequested = "UnmountRequested" +export interface OnlineDeploymentTrackedResourceArmPaginatedResult { + nextLink?: string; + value?: OnlineDeployment[]; } -// @public -export enum KnownNCrossValidationsMode { - Auto = "Auto", - Custom = "Custom" +// @public (undocumented) +export interface OnlineEndpoint extends TrackedResource { + identity?: ManagedServiceIdentity; + kind?: string; + properties: OnlineEndpointProperties; + sku?: Sku; } // @public -export enum KnownNetwork { - Bridge = "Bridge", - Host = "Host" +export interface OnlineEndpointProperties extends EndpointPropertiesBase { + compute?: string; + mirrorTraffic?: { + [propertyName: string]: number; + }; + readonly provisioningState?: EndpointProvisioningState; + publicNetworkAccess?: PublicNetworkAccessType; + traffic?: { + [propertyName: string]: number; + }; } // @public -export enum KnownNodeState { - Idle = "idle", - Leaving = "leaving", - Preempted = "preempted", - Preparing = "preparing", - Running = "running", - Unusable = "unusable" +export interface OnlineEndpoints { + beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, body: OnlineEndpoint, options?: OnlineEndpointsCreateOrUpdateOptionalParams): Promise, OnlineEndpointsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, body: OnlineEndpoint, options?: OnlineEndpointsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, workspaceName: string, endpointName: string, options?: OnlineEndpointsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, options?: OnlineEndpointsDeleteOptionalParams): Promise; + beginRegenerateKeys(resourceGroupName: string, workspaceName: string, endpointName: string, body: RegenerateEndpointKeysRequest, options?: OnlineEndpointsRegenerateKeysOptionalParams): Promise, void>>; + beginRegenerateKeysAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, body: RegenerateEndpointKeysRequest, options?: OnlineEndpointsRegenerateKeysOptionalParams): Promise; + beginUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, body: PartialMinimalTrackedResourceWithIdentity, options?: OnlineEndpointsUpdateOptionalParams): Promise, OnlineEndpointsUpdateResponse>>; + beginUpdateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, body: PartialMinimalTrackedResourceWithIdentity, options?: OnlineEndpointsUpdateOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, endpointName: string, options?: OnlineEndpointsGetOptionalParams): Promise; + getToken(resourceGroupName: string, workspaceName: string, endpointName: string, options?: OnlineEndpointsGetTokenOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: OnlineEndpointsListOptionalParams): PagedAsyncIterableIterator; + listKeys(resourceGroupName: string, workspaceName: string, endpointName: string, options?: OnlineEndpointsListKeysOptionalParams): Promise; } // @public -export enum KnownObjectDetectionPrimaryMetrics { - MeanAveragePrecision = "MeanAveragePrecision" +export interface OnlineEndpointsCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } // @public -export enum KnownOperatingSystemType { - Linux = "Linux", - Windows = "Windows" +export interface OnlineEndpointsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export enum KnownOperationName { - Create = "Create", - Delete = "Delete", - Reimage = "Reimage", - Restart = "Restart", - Start = "Start", - Stop = "Stop" -} +export type OnlineEndpointsCreateOrUpdateResponse = OnlineEndpoint; // @public -export enum KnownOperationStatus { - CreateFailed = "CreateFailed", - DeleteFailed = "DeleteFailed", - InProgress = "InProgress", - ReimageFailed = "ReimageFailed", - RestartFailed = "RestartFailed", - StartFailed = "StartFailed", - StopFailed = "StopFailed", - Succeeded = "Succeeded" +export interface OnlineEndpointsDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; } // @public -export enum KnownOperationTrigger { - IdleShutdown = "IdleShutdown", - Schedule = "Schedule", - User = "User" +export interface OnlineEndpointsDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export enum KnownOrderString { - CreatedAtAsc = "CreatedAtAsc", - CreatedAtDesc = "CreatedAtDesc", - UpdatedAtAsc = "UpdatedAtAsc", - UpdatedAtDesc = "UpdatedAtDesc" +export interface OnlineEndpointsGetOptionalParams extends coreClient.OperationOptions { } // @public -export enum KnownOsType { - Linux = "Linux", - Windows = "Windows" -} +export type OnlineEndpointsGetResponse = OnlineEndpoint; // @public -export enum KnownOutputDeliveryMode { - ReadWriteMount = "ReadWriteMount", - Upload = "Upload" +export interface OnlineEndpointsGetTokenOptionalParams extends coreClient.OperationOptions { } // @public -export enum KnownPrivateEndpointConnectionProvisioningState { - Creating = "Creating", - Deleting = "Deleting", - Failed = "Failed", - Succeeded = "Succeeded" -} +export type OnlineEndpointsGetTokenResponse = EndpointAuthToken; // @public -export enum KnownPrivateEndpointServiceConnectionStatus { - Approved = "Approved", - Disconnected = "Disconnected", - Pending = "Pending", - Rejected = "Rejected", - Timeout = "Timeout" +export interface OnlineEndpointsListKeysOptionalParams extends coreClient.OperationOptions { } // @public -export enum KnownProvisioningState { - Canceled = "Canceled", - Creating = "Creating", - Deleting = "Deleting", - Failed = "Failed", - Succeeded = "Succeeded", - Unknown = "Unknown", - Updating = "Updating" -} +export type OnlineEndpointsListKeysResponse = EndpointAuthKeys; // @public -export enum KnownProvisioningStatus { - Completed = "Completed", - Failed = "Failed", - Provisioning = "Provisioning" +export interface OnlineEndpointsListNextOptionalParams extends coreClient.OperationOptions { } // @public -export enum KnownPublicNetworkAccess { - Disabled = "Disabled", - Enabled = "Enabled" -} +export type OnlineEndpointsListNextResponse = OnlineEndpointTrackedResourceArmPaginatedResult; // @public -export enum KnownPublicNetworkAccessType { - Disabled = "Disabled", - Enabled = "Enabled" +export interface OnlineEndpointsListOptionalParams extends coreClient.OperationOptions { + computeType?: EndpointComputeType; + count?: number; + name?: string; + orderBy?: OrderString; + properties?: string; + skip?: string; + tags?: string; } // @public -export enum KnownQuotaUnit { - Count = "Count" -} +export type OnlineEndpointsListResponse = OnlineEndpointTrackedResourceArmPaginatedResult; // @public -export enum KnownRandomSamplingAlgorithmRule { - Random = "Random", - Sobol = "Sobol" +export interface OnlineEndpointsRegenerateKeysHeaders { + location?: string; + retryAfter?: number; } // @public -export enum KnownRecurrenceFrequency { - Day = "Day", - Hour = "Hour", - Minute = "Minute", - Month = "Month", - Week = "Week" +export interface OnlineEndpointsRegenerateKeysOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export enum KnownReferenceType { - DataPath = "DataPath", - Id = "Id", - OutputPath = "OutputPath" +export interface OnlineEndpointsUpdateHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; } // @public -export enum KnownRegressionModels { - DecisionTree = "DecisionTree", - ElasticNet = "ElasticNet", - ExtremeRandomTrees = "ExtremeRandomTrees", - GradientBoosting = "GradientBoosting", - KNN = "KNN", - LassoLars = "LassoLars", - LightGBM = "LightGBM", - RandomForest = "RandomForest", - SGD = "SGD", - XGBoostRegressor = "XGBoostRegressor" +export interface OnlineEndpointsUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export enum KnownRegressionPrimaryMetrics { - NormalizedMeanAbsoluteError = "NormalizedMeanAbsoluteError", - NormalizedRootMeanSquaredError = "NormalizedRootMeanSquaredError", - R2Score = "R2Score", - SpearmanCorrelation = "SpearmanCorrelation" -} +export type OnlineEndpointsUpdateResponse = OnlineEndpoint; // @public -export enum KnownRemoteLoginPortPublicAccess { - Disabled = "Disabled", - Enabled = "Enabled", - NotSpecified = "NotSpecified" +export interface OnlineEndpointTrackedResourceArmPaginatedResult { + nextLink?: string; + value?: OnlineEndpoint[]; } // @public -export enum KnownSamplingAlgorithmType { - Bayesian = "Bayesian", - Grid = "Grid", - Random = "Random" +export interface OnlineInferenceConfiguration { + configurations?: { + [propertyName: string]: string | null; + }; + entryScript?: string; + livenessRoute?: Route; + readinessRoute?: Route; + scoringRoute?: Route; } // @public -export enum KnownScaleType { - Default = "Default", - TargetUtilization = "TargetUtilization" +export interface OnlineRequestSettings { + maxConcurrentRequestsPerInstance?: number; + maxQueueWait?: string; + requestTimeout?: string; } // @public -export enum KnownScheduleActionType { - CreateJob = "CreateJob", - InvokeBatchEndpoint = "InvokeBatchEndpoint" +export interface OnlineScaleSettings { + scaleType: "Default" | "TargetUtilization"; } -// @public -export enum KnownScheduleListViewType { - All = "All", - DisabledOnly = "DisabledOnly", - EnabledOnly = "EnabledOnly" -} +// @public (undocumented) +export type OnlineScaleSettingsUnion = OnlineScaleSettings | DefaultScaleSettings | TargetUtilizationScaleSettings; // @public -export enum KnownScheduleProvisioningState { - Completed = "Completed", - Failed = "Failed", - Provisioning = "Provisioning" -} +export type OperatingSystemType = string; // @public -export enum KnownScheduleProvisioningStatus { - Canceled = "Canceled", - Creating = "Creating", - Deleting = "Deleting", - Failed = "Failed", - Succeeded = "Succeeded", - Updating = "Updating" -} +export type OperationName = string; // @public -export enum KnownScheduleStatus { - Disabled = "Disabled", - Enabled = "Enabled" +export interface Operations { + list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator; } // @public -export enum KnownSeasonalityMode { - Auto = "Auto", - Custom = "Custom" +export interface OperationsListOptionalParams extends coreClient.OperationOptions { } // @public -export enum KnownSecretsType { - AccountKey = "AccountKey", - Certificate = "Certificate", - Sas = "Sas", - ServicePrincipal = "ServicePrincipal" -} +export type OperationsListResponse = AmlOperationListResult; // @public -export enum KnownServiceDataAccessAuthIdentity { - None = "None", - WorkspaceSystemAssignedIdentity = "WorkspaceSystemAssignedIdentity", - WorkspaceUserAssignedIdentity = "WorkspaceUserAssignedIdentity" -} +export type OperationStatus = string; // @public -export enum KnownShortSeriesHandlingConfiguration { - Auto = "Auto", - Drop = "Drop", - None = "None", - Pad = "Pad" -} +export type OperationTrigger = string; // @public -export enum KnownSkuScaleType { - Automatic = "Automatic", - Manual = "Manual", - None = "None" -} +export type OrderString = string; // @public -export enum KnownSourceType { - Dataset = "Dataset", - Datastore = "Datastore", - URI = "URI" -} +export type OsType = string; // @public -export enum KnownSshPublicAccess { - Disabled = "Disabled", - Enabled = "Enabled" -} +export type OutputDeliveryMode = string; // @public -export enum KnownSslConfigStatus { - Auto = "Auto", - Disabled = "Disabled", - Enabled = "Enabled" +export interface OutputPathAssetReference extends AssetReferenceBase { + jobId?: string; + path?: string; + referenceType: "OutputPath"; } // @public -export enum KnownStackMetaLearnerType { - ElasticNet = "ElasticNet", - ElasticNetCV = "ElasticNetCV", - LightGBMClassifier = "LightGBMClassifier", - LightGBMRegressor = "LightGBMRegressor", - LinearRegression = "LinearRegression", - LogisticRegression = "LogisticRegression", - LogisticRegressionCV = "LogisticRegressionCV", - None = "None" -} +export type PackageBuildState = string; // @public -export enum KnownStatus { - Failure = "Failure", - InvalidQuotaBelowClusterMinimum = "InvalidQuotaBelowClusterMinimum", - InvalidQuotaExceedsSubscriptionLimit = "InvalidQuotaExceedsSubscriptionLimit", - InvalidVMFamilyName = "InvalidVMFamilyName", - OperationNotEnabledForRegion = "OperationNotEnabledForRegion", - OperationNotSupportedForSku = "OperationNotSupportedForSku", - Success = "Success", - Undefined = "Undefined" +export type PackageInputDeliveryMode = string; + +// @public (undocumented) +export interface PackageInputPathBase { + inputPathType: "PathId" | "Url" | "PathVersion"; } +// @public (undocumented) +export type PackageInputPathBaseUnion = PackageInputPathBase | PackageInputPathId | PackageInputPathUrl | PackageInputPathVersion; + // @public -export enum KnownStochasticOptimizer { - Adam = "Adam", - Adamw = "Adamw", - None = "None", - Sgd = "Sgd" +export interface PackageInputPathId extends PackageInputPathBase { + inputPathType: "PathId"; + resourceId?: string; } // @public -export enum KnownStorageAccountType { - PremiumLRS = "Premium_LRS", - StandardLRS = "Standard_LRS" +export interface PackageInputPathUrl extends PackageInputPathBase { + inputPathType: "Url"; + url?: string; } // @public -export enum KnownTargetAggregationFunction { - Max = "Max", - Mean = "Mean", - Min = "Min", - None = "None", - Sum = "Sum" +export interface PackageInputPathVersion extends PackageInputPathBase { + inputPathType: "PathVersion"; + resourceName?: string; + resourceVersion?: string; } // @public -export enum KnownTargetLagsMode { - Auto = "Auto", - Custom = "Custom" -} +export type PackageInputType = string; // @public -export enum KnownTargetRollingWindowSizeMode { - Auto = "Auto", - Custom = "Custom" +export interface PackageRequest { + baseEnvironmentSource?: BaseEnvironmentSourceUnion; + environmentVariables?: { + [propertyName: string]: string | null; + }; + inferencingServer: InferencingServerUnion; + inputs?: ModelPackageInput[]; + modelConfiguration?: ModelConfiguration; + tags?: { + [propertyName: string]: string | null; + }; + targetEnvironmentName: string; + targetEnvironmentVersion?: string; } // @public -export enum KnownTaskType { - Classification = "Classification", - Forecasting = "Forecasting", - ImageClassification = "ImageClassification", - ImageClassificationMultilabel = "ImageClassificationMultilabel", - ImageInstanceSegmentation = "ImageInstanceSegmentation", - ImageObjectDetection = "ImageObjectDetection", - Regression = "Regression", - TextClassification = "TextClassification", - TextClassificationMultilabel = "TextClassificationMultilabel", - TextNER = "TextNER" +export interface PackageResponse extends PackageRequest { + readonly buildId?: string; + readonly buildState?: PackageBuildState; + readonly logUrl?: string; + readonly targetEnvironmentId?: string; } // @public -export enum KnownTriggerType { - Cron = "Cron", - Recurrence = "Recurrence" +export interface PaginatedComputeResourcesList { + nextLink?: string; + value?: ComputeResource[]; } // @public -export enum KnownUnderlyingResourceAction { - Delete = "Delete", - Detach = "Detach" +export interface PartialBatchDeployment { + description?: string; } // @public -export enum KnownUnitOfMeasure { - OneHour = "OneHour" +export interface PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties { + properties?: PartialBatchDeployment; + tags?: { + [propertyName: string]: string | null; + }; } // @public -export enum KnownUsageUnit { - Count = "Count" +export interface PartialManagedServiceIdentity { + type?: ManagedServiceIdentityType; + userAssignedIdentities?: { + [propertyName: string]: Record; + }; } // @public -export enum KnownUseStl { - None = "None", - Season = "Season", - SeasonTrend = "SeasonTrend" +export interface PartialMinimalTrackedResource { + tags?: { + [propertyName: string]: string | null; + }; } // @public -export enum KnownValidationMetricType { - Coco = "Coco", - CocoVoc = "CocoVoc", - None = "None", - Voc = "Voc" +export interface PartialMinimalTrackedResourceWithIdentity extends PartialMinimalTrackedResource { + identity?: PartialManagedServiceIdentity; } // @public -export enum KnownValueFormat { - Json = "JSON" +export interface PartialMinimalTrackedResourceWithSku extends PartialMinimalTrackedResource { + sku?: PartialSku; } // @public -export enum KnownVMPriceOSType { - Linux = "Linux", - Windows = "Windows" +export interface PartialRegistryPartialTrackedResource { + identity?: PartialManagedServiceIdentity; + kind?: string; + properties?: Record; + sku?: PartialSku; + tags?: { + [propertyName: string]: string | null; + }; } // @public -export enum KnownVmPriority { - Dedicated = "Dedicated", - LowPriority = "LowPriority" +export interface PartialSku { + capacity?: number; + family?: string; + name?: string; + size?: string; + tier?: SkuTier; } -// @public -export enum KnownVMTier { - LowPriority = "LowPriority", - Spot = "Spot", - Standard = "Standard" +// @public (undocumented) +export interface Password { + readonly name?: string; + readonly value?: string; +} + +// @public (undocumented) +export interface PATAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { + authType: "PAT"; + // (undocumented) + credentials?: WorkspaceConnectionPersonalAccessToken; } // @public -export enum KnownWeekDay { - Friday = "Friday", - Monday = "Monday", - Saturday = "Saturday", - Sunday = "Sunday", - Thursday = "Thursday", - Tuesday = "Tuesday", - Wednesday = "Wednesday" +export interface PersonalComputeInstanceSettings { + assignedUser?: AssignedUser; } // @public -export interface Kubernetes extends Compute, KubernetesSchema { - computeType: "Kubernetes"; +export interface PipelineJob extends JobBaseProperties { + inputs?: { + [propertyName: string]: JobInputUnion | null; + }; + jobs?: { + [propertyName: string]: Record; + }; + jobType: "Pipeline"; + outputs?: { + [propertyName: string]: JobOutputUnion | null; + }; + settings?: Record; + sourceJobId?: string; } // @public -export interface KubernetesOnlineDeployment extends OnlineDeploymentProperties { - containerResourceRequirements?: ContainerResourceRequirements; - endpointComputeType: "Kubernetes"; +export interface PrivateEndpoint { + readonly id?: string; + readonly subnetArmId?: string; } // @public -export interface KubernetesProperties { - defaultInstanceType?: string; - extensionInstanceReleaseTrain?: string; - extensionPrincipalId?: string; - instanceTypes?: { - [propertyName: string]: InstanceTypeSchema; +export interface PrivateEndpointConnection extends Resource { + identity?: ManagedServiceIdentity; + location?: string; + privateEndpoint?: PrivateEndpoint; + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; + readonly provisioningState?: PrivateEndpointConnectionProvisioningState; + sku?: Sku; + tags?: { + [propertyName: string]: string; }; - namespace?: string; - relayConnectionString?: string; - serviceBusConnectionString?: string; - vcName?: string; } // @public -export interface KubernetesSchema { - properties?: KubernetesProperties; +export interface PrivateEndpointConnectionListResult { + value?: PrivateEndpointConnection[]; } // @public -export type LearningRateScheduler = string; +export type PrivateEndpointConnectionProvisioningState = string; // @public -export interface ListAmlUserFeatureResult { - readonly nextLink?: string; - readonly value?: AmlUserFeature[]; +export interface PrivateEndpointConnections { + createOrUpdate(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: PrivateEndpointConnectionsListOptionalParams): PagedAsyncIterableIterator; } -// @public (undocumented) -export interface ListNotebookKeysResult { - readonly primaryAccessKey?: string; - readonly secondaryAccessKey?: string; +// @public +export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { } -// @public (undocumented) -export interface ListStorageAccountKeysResult { - readonly userStorageKey?: string; -} +// @public +export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection; // @public -export interface ListUsagesResult { - readonly nextLink?: string; - readonly value?: Usage[]; +export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions { } // @public -export type ListViewType = string; - -// @public (undocumented) -export interface ListWorkspaceKeysResult { - readonly appInsightsInstrumentationKey?: string; - readonly containerRegistryCredentials?: RegistryListCredentialsResult; - readonly notebookAccessKeys?: ListNotebookKeysResult; - readonly userStorageKey?: string; - readonly userStorageResourceId?: string; +export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions { } // @public -export interface ListWorkspaceQuotas { - readonly nextLink?: string; - readonly value?: ResourceQuota[]; -} +export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection; // @public -export interface LiteralJobInput extends JobInput { - jobInputType: "literal"; - value: string; +export interface PrivateEndpointConnectionsListOptionalParams extends coreClient.OperationOptions { } // @public -export type LoadBalancerType = string; +export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult; // @public -export type LogVerbosity = string; +export type PrivateEndpointServiceConnectionStatus = string; // @public -export interface ManagedIdentity extends IdentityConfiguration { - clientId?: string; - identityType: "Managed"; - objectId?: string; - resourceId?: string; +export interface PrivateLinkResource extends Resource { + readonly groupId?: string; + identity?: ManagedServiceIdentity; + location?: string; + readonly requiredMembers?: string[]; + requiredZoneNames?: string[]; + sku?: Sku; + tags?: { + [propertyName: string]: string; + }; } -// @public (undocumented) -export interface ManagedIdentityAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { - authType: "ManagedIdentity"; - // (undocumented) - credentials?: WorkspaceConnectionManagedIdentity; +// @public +export interface PrivateLinkResourceListResult { + value?: PrivateLinkResource[]; } // @public -export interface ManagedOnlineDeployment extends OnlineDeploymentProperties { - endpointComputeType: "Managed"; +export interface PrivateLinkResources { + list(resourceGroupName: string, workspaceName: string, options?: PrivateLinkResourcesListOptionalParams): Promise; } // @public -export interface ManagedServiceIdentity { - readonly principalId?: string; - readonly tenantId?: string; - type: ManagedServiceIdentityType; - userAssignedIdentities?: { - [propertyName: string]: UserAssignedIdentity; - }; +export interface PrivateLinkResourcesListOptionalParams extends coreClient.OperationOptions { } // @public -export type ManagedServiceIdentityType = string; +export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult; // @public -export interface MedianStoppingPolicy extends EarlyTerminationPolicy { - policyType: "MedianStopping"; -} - -// @public (undocumented) -export interface MLFlowModelJobInput extends AssetJobInput, JobInput { +export interface PrivateLinkServiceConnectionState { + actionsRequired?: string; + description?: string; + status?: PrivateEndpointServiceConnectionStatus; } -// @public (undocumented) -export interface MLFlowModelJobOutput extends AssetJobOutput, JobOutput { +// @public +export interface ProbeSettings { + failureThreshold?: number; + initialDelay?: string; + period?: string; + successThreshold?: number; + timeout?: string; } // @public -export interface MLTableData extends DataVersionBaseProperties { - dataType: "mltable"; - referencedUris?: string[]; +export interface ProgressMetrics { + readonly completedDatapointCount?: number; + readonly incrementalDataLastRefreshDateTime?: Date; + readonly skippedDatapointCount?: number; + readonly totalDatapointCount?: number; } -// @public (undocumented) -export interface MLTableJobInput extends AssetJobInput, JobInput { -} +// @public +export type Protocol = string; -// @public (undocumented) -export interface MLTableJobOutput extends AssetJobOutput, JobOutput { -} +// @public +export type ProvisioningState = string; // @public -export interface ModelContainer extends Resource { - properties: ModelContainerProperties; -} +export type ProvisioningStatus = string; -// @public (undocumented) -export interface ModelContainerProperties extends AssetContainer { -} +// @public +export type PublicNetworkAccess = string; // @public -export interface ModelContainerResourceArmPaginatedResult { - nextLink?: string; - value?: ModelContainer[]; -} +export type PublicNetworkAccessType = string; // @public -export interface ModelContainers { - createOrUpdate(resourceGroupName: string, workspaceName: string, name: string, body: ModelContainer, options?: ModelContainersCreateOrUpdateOptionalParams): Promise; - delete(resourceGroupName: string, workspaceName: string, name: string, options?: ModelContainersDeleteOptionalParams): Promise; - get(resourceGroupName: string, workspaceName: string, name: string, options?: ModelContainersGetOptionalParams): Promise; - list(resourceGroupName: string, workspaceName: string, options?: ModelContainersListOptionalParams): PagedAsyncIterableIterator; +export interface PyTorch extends DistributionConfiguration { + distributionType: "PyTorch"; + processCountPerInstance?: number; } -// @public -export interface ModelContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +// @public (undocumented) +export interface QueueSettings { + jobTier?: JobTier; + priority?: number; } // @public -export type ModelContainersCreateOrUpdateResponse = ModelContainer; +export interface QuotaBaseProperties { + id?: string; + limit?: number; + type?: string; + unit?: QuotaUnit; +} // @public -export interface ModelContainersDeleteOptionalParams extends coreClient.OperationOptions { +export interface Quotas { + list(location: string, options?: QuotasListOptionalParams): PagedAsyncIterableIterator; + update(location: string, parameters: QuotaUpdateParameters, options?: QuotasUpdateOptionalParams): Promise; } // @public -export interface ModelContainersGetOptionalParams extends coreClient.OperationOptions { +export interface QuotasListNextOptionalParams extends coreClient.OperationOptions { } // @public -export type ModelContainersGetResponse = ModelContainer; +export type QuotasListNextResponse = ListWorkspaceQuotas; // @public -export interface ModelContainersListNextOptionalParams extends coreClient.OperationOptions { - count?: number; - listViewType?: ListViewType; - skip?: string; +export interface QuotasListOptionalParams extends coreClient.OperationOptions { } // @public -export type ModelContainersListNextResponse = ModelContainerResourceArmPaginatedResult; +export type QuotasListResponse = ListWorkspaceQuotas; // @public -export interface ModelContainersListOptionalParams extends coreClient.OperationOptions { - count?: number; - listViewType?: ListViewType; - skip?: string; +export interface QuotasUpdateOptionalParams extends coreClient.OperationOptions { } // @public -export type ModelContainersListResponse = ModelContainerResourceArmPaginatedResult; +export type QuotasUpdateResponse = UpdateWorkspaceQuotasResult; // @public -export type ModelSize = string; +export type QuotaUnit = string; // @public -export interface ModelVersion extends Resource { - properties: ModelVersionProperties; +export interface QuotaUpdateParameters { + location?: string; + value?: QuotaBaseProperties[]; } // @public -export interface ModelVersionProperties extends AssetBase { - flavors?: { - [propertyName: string]: FlavorData | null; - }; - jobName?: string; - modelType?: string; - modelUri?: string; +export interface RandomSamplingAlgorithm extends SamplingAlgorithm { + logbase?: string; + rule?: RandomSamplingAlgorithmRule; + samplingAlgorithmType: "Random"; + seed?: number; } // @public -export interface ModelVersionResourceArmPaginatedResult { - nextLink?: string; - value?: ModelVersion[]; -} +export type RandomSamplingAlgorithmRule = string; // @public -export interface ModelVersions { - createOrUpdate(resourceGroupName: string, workspaceName: string, name: string, version: string, body: ModelVersion, options?: ModelVersionsCreateOrUpdateOptionalParams): Promise; - delete(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: ModelVersionsDeleteOptionalParams): Promise; - get(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: ModelVersionsGetOptionalParams): Promise; - list(resourceGroupName: string, workspaceName: string, name: string, options?: ModelVersionsListOptionalParams): PagedAsyncIterableIterator; +export type RecurrenceFrequency = string; + +// @public (undocumented) +export interface RecurrenceSchedule { + hours: number[]; + minutes: number[]; + monthDays?: number[]; + weekDays?: WeekDay[]; } -// @public -export interface ModelVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +// @public (undocumented) +export interface RecurrenceTrigger extends TriggerBase { + frequency: RecurrenceFrequency; + interval: number; + schedule?: RecurrenceSchedule; + triggerType: "Recurrence"; } // @public -export type ModelVersionsCreateOrUpdateResponse = ModelVersion; +export type ReferenceType = string; + +// @public (undocumented) +export interface RegenerateEndpointKeysRequest { + keyType: KeyType_2; + keyValue?: string; +} // @public -export interface ModelVersionsDeleteOptionalParams extends coreClient.OperationOptions { +export interface Registries { + beginCreateOrUpdate(resourceGroupName: string, registryName: string, body: Registry, options?: RegistriesCreateOrUpdateOptionalParams): Promise, RegistriesCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, registryName: string, body: Registry, options?: RegistriesCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, registryName: string, options?: RegistriesDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, registryName: string, options?: RegistriesDeleteOptionalParams): Promise; + beginUpdate(resourceGroupName: string, registryName: string, body: PartialRegistryPartialTrackedResource, options?: RegistriesUpdateOptionalParams): Promise, RegistriesUpdateResponse>>; + beginUpdateAndWait(resourceGroupName: string, registryName: string, body: PartialRegistryPartialTrackedResource, options?: RegistriesUpdateOptionalParams): Promise; + get(resourceGroupName: string, registryName: string, options?: RegistriesGetOptionalParams): Promise; + list(resourceGroupName: string, options?: RegistriesListOptionalParams): PagedAsyncIterableIterator; + listBySubscription(options?: RegistriesListBySubscriptionOptionalParams): PagedAsyncIterableIterator; } // @public -export interface ModelVersionsGetOptionalParams extends coreClient.OperationOptions { +export interface RegistriesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export type ModelVersionsGetResponse = ModelVersion; +export type RegistriesCreateOrUpdateResponse = Registry; // @public -export interface ModelVersionsListNextOptionalParams extends coreClient.OperationOptions { - description?: string; - feed?: string; - listViewType?: ListViewType; - offset?: number; - orderBy?: string; - properties?: string; - skip?: string; - tags?: string; - top?: number; - version?: string; +export interface RegistriesDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; } // @public -export type ModelVersionsListNextResponse = ModelVersionResourceArmPaginatedResult; +export interface RegistriesDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} // @public -export interface ModelVersionsListOptionalParams extends coreClient.OperationOptions { - description?: string; - feed?: string; - listViewType?: ListViewType; - offset?: number; - orderBy?: string; - properties?: string; - skip?: string; - tags?: string; - top?: number; - version?: string; +export interface RegistriesGetOptionalParams extends coreClient.OperationOptions { } // @public -export type ModelVersionsListResponse = ModelVersionResourceArmPaginatedResult; +export type RegistriesGetResponse = Registry; // @public -export type MountAction = string; +export interface RegistriesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions { +} // @public -export type MountState = string; +export type RegistriesListBySubscriptionNextResponse = RegistryTrackedResourceArmPaginatedResult; // @public -export interface Mpi extends DistributionConfiguration { - distributionType: "Mpi"; - processCountPerInstance?: number; +export interface RegistriesListBySubscriptionOptionalParams extends coreClient.OperationOptions { + skip?: string; } // @public -export interface NCrossValidations { - mode: "Auto" | "Custom"; +export type RegistriesListBySubscriptionResponse = RegistryTrackedResourceArmPaginatedResult; + +// @public +export interface RegistriesListNextOptionalParams extends coreClient.OperationOptions { } // @public -export type NCrossValidationsMode = string; +export type RegistriesListNextResponse = RegistryTrackedResourceArmPaginatedResult; -// @public (undocumented) -export type NCrossValidationsUnion = NCrossValidations | AutoNCrossValidations | CustomNCrossValidations; +// @public +export interface RegistriesListOptionalParams extends coreClient.OperationOptions { + skip?: string; +} // @public -export type Network = string; +export type RegistriesListResponse = RegistryTrackedResourceArmPaginatedResult; // @public -export interface NlpVertical { - featurizationSettings?: NlpVerticalFeaturizationSettings; - limitSettings?: NlpVerticalLimitSettings; - validationData?: MLTableJobInput; +export interface RegistriesUpdateHeaders { + location?: string; + retryAfter?: number; } -// @public (undocumented) -export interface NlpVerticalFeaturizationSettings extends FeaturizationSettings { +// @public +export interface RegistriesUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export interface NlpVerticalLimitSettings { - maxConcurrentTrials?: number; - maxTrials?: number; - timeout?: string; +export type RegistriesUpdateResponse = Registry; + +// @public (undocumented) +export interface Registry extends TrackedResource { + identity?: ManagedServiceIdentity; + kind?: string; + properties: RegistryProperties; + sku?: Sku; } // @public -export type NodeState = string; +export interface RegistryCodeContainers { + beginCreateOrUpdate(resourceGroupName: string, registryName: string, codeName: string, body: CodeContainer, options?: RegistryCodeContainersCreateOrUpdateOptionalParams): Promise, RegistryCodeContainersCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, registryName: string, codeName: string, body: CodeContainer, options?: RegistryCodeContainersCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, registryName: string, codeName: string, options?: RegistryCodeContainersDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, registryName: string, codeName: string, options?: RegistryCodeContainersDeleteOptionalParams): Promise; + get(resourceGroupName: string, registryName: string, codeName: string, options?: RegistryCodeContainersGetOptionalParams): Promise; + list(resourceGroupName: string, registryName: string, options?: RegistryCodeContainersListOptionalParams): PagedAsyncIterableIterator; +} // @public -export interface NodeStateCounts { - readonly idleNodeCount?: number; - readonly leavingNodeCount?: number; - readonly preemptedNodeCount?: number; - readonly preparingNodeCount?: number; - readonly runningNodeCount?: number; - readonly unusableNodeCount?: number; +export interface RegistryCodeContainersCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } -// @public (undocumented) -export interface NoneAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { - authType: "None"; +// @public +export interface RegistryCodeContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export interface NoneDatastoreCredentials extends DatastoreCredentials { - credentialsType: "None"; -} +export type RegistryCodeContainersCreateOrUpdateResponse = CodeContainer; -// @public (undocumented) -export interface NotebookAccessTokenResult { - readonly accessToken?: string; - readonly expiresIn?: number; - readonly hostName?: string; - readonly notebookResourceId?: string; - readonly publicDns?: string; - readonly refreshToken?: string; - readonly scope?: string; - readonly tokenType?: string; +// @public +export interface RegistryCodeContainersDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; } -// @public (undocumented) -export interface NotebookPreparationError { - // (undocumented) - errorMessage?: string; - // (undocumented) - statusCode?: number; +// @public +export interface RegistryCodeContainersDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } -// @public (undocumented) -export interface NotebookResourceInfo { - // (undocumented) - fqdn?: string; - notebookPreparationError?: NotebookPreparationError; - resourceId?: string; +// @public +export interface RegistryCodeContainersGetOptionalParams extends coreClient.OperationOptions { } // @public -export type ObjectDetectionPrimaryMetrics = string; +export type RegistryCodeContainersGetResponse = CodeContainer; // @public -export interface Objective { - goal: Goal; - primaryMetric: string; +export interface RegistryCodeContainersListNextOptionalParams extends coreClient.OperationOptions { } -// @public (undocumented) -export interface OnlineDeployment extends TrackedResource { - identity?: ManagedServiceIdentity; - kind?: string; - properties: OnlineDeploymentPropertiesUnion; - sku?: Sku; -} +// @public +export type RegistryCodeContainersListNextResponse = CodeContainerResourceArmPaginatedResult; -// @public (undocumented) -export interface OnlineDeploymentProperties extends EndpointDeploymentPropertiesBase { - appInsightsEnabled?: boolean; - egressPublicNetworkAccess?: EgressPublicNetworkAccessType; - endpointComputeType: EndpointComputeType; - instanceType?: string; - livenessProbe?: ProbeSettings; - model?: string; - modelMountPath?: string; - readonly provisioningState?: DeploymentProvisioningState; - readinessProbe?: ProbeSettings; - requestSettings?: OnlineRequestSettings; - scaleSettings?: OnlineScaleSettingsUnion; +// @public +export interface RegistryCodeContainersListOptionalParams extends coreClient.OperationOptions { + skip?: string; } -// @public (undocumented) -export type OnlineDeploymentPropertiesUnion = OnlineDeploymentProperties | KubernetesOnlineDeployment | ManagedOnlineDeployment; +// @public +export type RegistryCodeContainersListResponse = CodeContainerResourceArmPaginatedResult; // @public -export interface OnlineDeployments { - beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: OnlineDeployment, options?: OnlineDeploymentsCreateOrUpdateOptionalParams): Promise, OnlineDeploymentsCreateOrUpdateResponse>>; - beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: OnlineDeployment, options?: OnlineDeploymentsCreateOrUpdateOptionalParams): Promise; - beginDelete(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, options?: OnlineDeploymentsDeleteOptionalParams): Promise, void>>; - beginDeleteAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, options?: OnlineDeploymentsDeleteOptionalParams): Promise; - beginUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: PartialMinimalTrackedResourceWithSku, options?: OnlineDeploymentsUpdateOptionalParams): Promise, OnlineDeploymentsUpdateResponse>>; - beginUpdateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: PartialMinimalTrackedResourceWithSku, options?: OnlineDeploymentsUpdateOptionalParams): Promise; - get(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, options?: OnlineDeploymentsGetOptionalParams): Promise; - getLogs(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, body: DeploymentLogsRequest, options?: OnlineDeploymentsGetLogsOptionalParams): Promise; - list(resourceGroupName: string, workspaceName: string, endpointName: string, options?: OnlineDeploymentsListOptionalParams): PagedAsyncIterableIterator; - listSkus(resourceGroupName: string, workspaceName: string, endpointName: string, deploymentName: string, options?: OnlineDeploymentsListSkusOptionalParams): PagedAsyncIterableIterator; +export interface RegistryCodeVersions { + beginCreateOrUpdate(resourceGroupName: string, registryName: string, codeName: string, version: string, body: CodeVersion, options?: RegistryCodeVersionsCreateOrUpdateOptionalParams): Promise, RegistryCodeVersionsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, registryName: string, codeName: string, version: string, body: CodeVersion, options?: RegistryCodeVersionsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, registryName: string, codeName: string, version: string, options?: RegistryCodeVersionsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, registryName: string, codeName: string, version: string, options?: RegistryCodeVersionsDeleteOptionalParams): Promise; + get(resourceGroupName: string, registryName: string, codeName: string, version: string, options?: RegistryCodeVersionsGetOptionalParams): Promise; + list(resourceGroupName: string, registryName: string, codeName: string, options?: RegistryCodeVersionsListOptionalParams): PagedAsyncIterableIterator; } // @public -export interface OnlineDeploymentsCreateOrUpdateHeaders { +export interface RegistryCodeVersionsCreateOrUpdateHeaders { azureAsyncOperation?: string; xMsAsyncOperationTimeout?: string; } // @public -export interface OnlineDeploymentsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +export interface RegistryCodeVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } // @public -export type OnlineDeploymentsCreateOrUpdateResponse = OnlineDeployment; +export type RegistryCodeVersionsCreateOrUpdateResponse = CodeVersion; // @public -export interface OnlineDeploymentsDeleteHeaders { +export interface RegistryCodeVersionsDeleteHeaders { location?: string; retryAfter?: number; xMsAsyncOperationTimeout?: string; } // @public -export interface OnlineDeploymentsDeleteOptionalParams extends coreClient.OperationOptions { +export interface RegistryCodeVersionsDeleteOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } // @public -export interface OnlineDeploymentsGetLogsOptionalParams extends coreClient.OperationOptions { +export interface RegistryCodeVersionsGetOptionalParams extends coreClient.OperationOptions { } // @public -export type OnlineDeploymentsGetLogsResponse = DeploymentLogs; +export type RegistryCodeVersionsGetResponse = CodeVersion; // @public -export interface OnlineDeploymentsGetOptionalParams extends coreClient.OperationOptions { +export interface RegistryCodeVersionsListNextOptionalParams extends coreClient.OperationOptions { } // @public -export type OnlineDeploymentsGetResponse = OnlineDeployment; +export type RegistryCodeVersionsListNextResponse = CodeVersionResourceArmPaginatedResult; // @public -export interface OnlineDeploymentsListNextOptionalParams extends coreClient.OperationOptions { +export interface RegistryCodeVersionsListOptionalParams extends coreClient.OperationOptions { orderBy?: string; skip?: string; top?: number; } // @public -export type OnlineDeploymentsListNextResponse = OnlineDeploymentTrackedResourceArmPaginatedResult; +export type RegistryCodeVersionsListResponse = CodeVersionResourceArmPaginatedResult; // @public -export interface OnlineDeploymentsListOptionalParams extends coreClient.OperationOptions { - orderBy?: string; - skip?: string; - top?: number; +export interface RegistryComponentContainers { + beginCreateOrUpdate(resourceGroupName: string, registryName: string, componentName: string, body: ComponentContainer, options?: RegistryComponentContainersCreateOrUpdateOptionalParams): Promise, RegistryComponentContainersCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, registryName: string, componentName: string, body: ComponentContainer, options?: RegistryComponentContainersCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, registryName: string, componentName: string, options?: RegistryComponentContainersDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, registryName: string, componentName: string, options?: RegistryComponentContainersDeleteOptionalParams): Promise; + get(resourceGroupName: string, registryName: string, componentName: string, options?: RegistryComponentContainersGetOptionalParams): Promise; + list(resourceGroupName: string, registryName: string, options?: RegistryComponentContainersListOptionalParams): PagedAsyncIterableIterator; } // @public -export type OnlineDeploymentsListResponse = OnlineDeploymentTrackedResourceArmPaginatedResult; - -// @public -export interface OnlineDeploymentsListSkusNextOptionalParams extends coreClient.OperationOptions { - count?: number; - skip?: string; +export interface RegistryComponentContainersCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } - -// @public -export type OnlineDeploymentsListSkusNextResponse = SkuResourceArmPaginatedResult; - -// @public -export interface OnlineDeploymentsListSkusOptionalParams extends coreClient.OperationOptions { - count?: number; - skip?: string; + +// @public +export interface RegistryComponentContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export type OnlineDeploymentsListSkusResponse = SkuResourceArmPaginatedResult; +export type RegistryComponentContainersCreateOrUpdateResponse = ComponentContainer; // @public -export interface OnlineDeploymentsUpdateHeaders { +export interface RegistryComponentContainersDeleteHeaders { location?: string; retryAfter?: number; xMsAsyncOperationTimeout?: string; } // @public -export interface OnlineDeploymentsUpdateOptionalParams extends coreClient.OperationOptions { +export interface RegistryComponentContainersDeleteOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } // @public -export type OnlineDeploymentsUpdateResponse = OnlineDeployment; +export interface RegistryComponentContainersGetOptionalParams extends coreClient.OperationOptions { +} // @public -export interface OnlineDeploymentTrackedResourceArmPaginatedResult { - nextLink?: string; - value?: OnlineDeployment[]; -} +export type RegistryComponentContainersGetResponse = ComponentContainer; -// @public (undocumented) -export interface OnlineEndpoint extends TrackedResource { - identity?: ManagedServiceIdentity; - kind?: string; - properties: OnlineEndpointProperties; - sku?: Sku; +// @public +export interface RegistryComponentContainersListNextOptionalParams extends coreClient.OperationOptions { } // @public -export interface OnlineEndpointProperties extends EndpointPropertiesBase { - compute?: string; - readonly provisioningState?: EndpointProvisioningState; - publicNetworkAccess?: PublicNetworkAccessType; - traffic?: { - [propertyName: string]: number; - }; +export type RegistryComponentContainersListNextResponse = ComponentContainerResourceArmPaginatedResult; + +// @public +export interface RegistryComponentContainersListOptionalParams extends coreClient.OperationOptions { + skip?: string; } // @public -export interface OnlineEndpoints { - beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, body: OnlineEndpoint, options?: OnlineEndpointsCreateOrUpdateOptionalParams): Promise, OnlineEndpointsCreateOrUpdateResponse>>; - beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, body: OnlineEndpoint, options?: OnlineEndpointsCreateOrUpdateOptionalParams): Promise; - beginDelete(resourceGroupName: string, workspaceName: string, endpointName: string, options?: OnlineEndpointsDeleteOptionalParams): Promise, void>>; - beginDeleteAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, options?: OnlineEndpointsDeleteOptionalParams): Promise; - beginRegenerateKeys(resourceGroupName: string, workspaceName: string, endpointName: string, body: RegenerateEndpointKeysRequest, options?: OnlineEndpointsRegenerateKeysOptionalParams): Promise, void>>; - beginRegenerateKeysAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, body: RegenerateEndpointKeysRequest, options?: OnlineEndpointsRegenerateKeysOptionalParams): Promise; - beginUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, body: PartialMinimalTrackedResourceWithIdentity, options?: OnlineEndpointsUpdateOptionalParams): Promise, OnlineEndpointsUpdateResponse>>; - beginUpdateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, body: PartialMinimalTrackedResourceWithIdentity, options?: OnlineEndpointsUpdateOptionalParams): Promise; - get(resourceGroupName: string, workspaceName: string, endpointName: string, options?: OnlineEndpointsGetOptionalParams): Promise; - getToken(resourceGroupName: string, workspaceName: string, endpointName: string, options?: OnlineEndpointsGetTokenOptionalParams): Promise; - list(resourceGroupName: string, workspaceName: string, options?: OnlineEndpointsListOptionalParams): PagedAsyncIterableIterator; - listKeys(resourceGroupName: string, workspaceName: string, endpointName: string, options?: OnlineEndpointsListKeysOptionalParams): Promise; +export type RegistryComponentContainersListResponse = ComponentContainerResourceArmPaginatedResult; + +// @public +export interface RegistryComponentVersions { + beginCreateOrUpdate(resourceGroupName: string, registryName: string, componentName: string, version: string, body: ComponentVersion, options?: RegistryComponentVersionsCreateOrUpdateOptionalParams): Promise, RegistryComponentVersionsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, registryName: string, componentName: string, version: string, body: ComponentVersion, options?: RegistryComponentVersionsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, registryName: string, componentName: string, version: string, options?: RegistryComponentVersionsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, registryName: string, componentName: string, version: string, options?: RegistryComponentVersionsDeleteOptionalParams): Promise; + get(resourceGroupName: string, registryName: string, componentName: string, version: string, options?: RegistryComponentVersionsGetOptionalParams): Promise; + list(resourceGroupName: string, registryName: string, componentName: string, options?: RegistryComponentVersionsListOptionalParams): PagedAsyncIterableIterator; } // @public -export interface OnlineEndpointsCreateOrUpdateHeaders { +export interface RegistryComponentVersionsCreateOrUpdateHeaders { azureAsyncOperation?: string; xMsAsyncOperationTimeout?: string; } // @public -export interface OnlineEndpointsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +export interface RegistryComponentVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } // @public -export type OnlineEndpointsCreateOrUpdateResponse = OnlineEndpoint; +export type RegistryComponentVersionsCreateOrUpdateResponse = ComponentVersion; // @public -export interface OnlineEndpointsDeleteHeaders { +export interface RegistryComponentVersionsDeleteHeaders { location?: string; retryAfter?: number; xMsAsyncOperationTimeout?: string; } // @public -export interface OnlineEndpointsDeleteOptionalParams extends coreClient.OperationOptions { +export interface RegistryComponentVersionsDeleteOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } // @public -export interface OnlineEndpointsGetOptionalParams extends coreClient.OperationOptions { -} - -// @public -export type OnlineEndpointsGetResponse = OnlineEndpoint; - -// @public -export interface OnlineEndpointsGetTokenOptionalParams extends coreClient.OperationOptions { +export interface RegistryComponentVersionsGetOptionalParams extends coreClient.OperationOptions { } // @public -export type OnlineEndpointsGetTokenResponse = EndpointAuthToken; +export type RegistryComponentVersionsGetResponse = ComponentVersion; // @public -export interface OnlineEndpointsListKeysOptionalParams extends coreClient.OperationOptions { +export interface RegistryComponentVersionsListNextOptionalParams extends coreClient.OperationOptions { } // @public -export type OnlineEndpointsListKeysResponse = EndpointAuthKeys; +export type RegistryComponentVersionsListNextResponse = ComponentVersionResourceArmPaginatedResult; // @public -export interface OnlineEndpointsListNextOptionalParams extends coreClient.OperationOptions { - computeType?: EndpointComputeType; - count?: number; - name?: string; - orderBy?: OrderString; - properties?: string; +export interface RegistryComponentVersionsListOptionalParams extends coreClient.OperationOptions { + orderBy?: string; skip?: string; - tags?: string; + top?: number; } // @public -export type OnlineEndpointsListNextResponse = OnlineEndpointTrackedResourceArmPaginatedResult; +export type RegistryComponentVersionsListResponse = ComponentVersionResourceArmPaginatedResult; // @public -export interface OnlineEndpointsListOptionalParams extends coreClient.OperationOptions { - computeType?: EndpointComputeType; - count?: number; - name?: string; - orderBy?: OrderString; - properties?: string; - skip?: string; - tags?: string; +export interface RegistryDataContainers { + beginCreateOrUpdate(resourceGroupName: string, registryName: string, name: string, body: DataContainer, options?: RegistryDataContainersCreateOrUpdateOptionalParams): Promise, RegistryDataContainersCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, registryName: string, name: string, body: DataContainer, options?: RegistryDataContainersCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, registryName: string, name: string, options?: RegistryDataContainersDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, registryName: string, name: string, options?: RegistryDataContainersDeleteOptionalParams): Promise; + get(resourceGroupName: string, registryName: string, name: string, options?: RegistryDataContainersGetOptionalParams): Promise; + list(resourceGroupName: string, registryName: string, options?: RegistryDataContainersListOptionalParams): PagedAsyncIterableIterator; } // @public -export type OnlineEndpointsListResponse = OnlineEndpointTrackedResourceArmPaginatedResult; - -// @public -export interface OnlineEndpointsRegenerateKeysHeaders { - location?: string; - retryAfter?: number; +export interface RegistryDataContainersCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } // @public -export interface OnlineEndpointsRegenerateKeysOptionalParams extends coreClient.OperationOptions { +export interface RegistryDataContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } // @public -export interface OnlineEndpointsUpdateHeaders { +export type RegistryDataContainersCreateOrUpdateResponse = DataContainer; + +// @public +export interface RegistryDataContainersDeleteHeaders { location?: string; retryAfter?: number; xMsAsyncOperationTimeout?: string; } // @public -export interface OnlineEndpointsUpdateOptionalParams extends coreClient.OperationOptions { +export interface RegistryDataContainersDeleteOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; updateIntervalInMs?: number; } // @public -export type OnlineEndpointsUpdateResponse = OnlineEndpoint; - -// @public -export interface OnlineEndpointTrackedResourceArmPaginatedResult { - nextLink?: string; - value?: OnlineEndpoint[]; +export interface RegistryDataContainersGetOptionalParams extends coreClient.OperationOptions { } // @public -export interface OnlineRequestSettings { - maxConcurrentRequestsPerInstance?: number; - maxQueueWait?: string; - requestTimeout?: string; -} +export type RegistryDataContainersGetResponse = DataContainer; // @public -export interface OnlineScaleSettings { - scaleType: "Default" | "TargetUtilization"; +export interface RegistryDataContainersListNextOptionalParams extends coreClient.OperationOptions { } -// @public (undocumented) -export type OnlineScaleSettingsUnion = OnlineScaleSettings | DefaultScaleSettings | TargetUtilizationScaleSettings; +// @public +export type RegistryDataContainersListNextResponse = DataContainerResourceArmPaginatedResult; // @public -export type OperatingSystemType = string; +export interface RegistryDataContainersListOptionalParams extends coreClient.OperationOptions { + listViewType?: ListViewType; + skip?: string; +} // @public -export type OperationName = string; +export type RegistryDataContainersListResponse = DataContainerResourceArmPaginatedResult; // @public -export interface Operations { - list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator; +export interface RegistryDataVersions { + beginCreateOrUpdate(resourceGroupName: string, registryName: string, name: string, version: string, body: DataVersionBase, options?: RegistryDataVersionsCreateOrUpdateOptionalParams): Promise, RegistryDataVersionsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, registryName: string, name: string, version: string, body: DataVersionBase, options?: RegistryDataVersionsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, registryName: string, name: string, version: string, options?: RegistryDataVersionsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, registryName: string, name: string, version: string, options?: RegistryDataVersionsDeleteOptionalParams): Promise; + get(resourceGroupName: string, registryName: string, name: string, version: string, options?: RegistryDataVersionsGetOptionalParams): Promise; + list(resourceGroupName: string, registryName: string, name: string, options?: RegistryDataVersionsListOptionalParams): PagedAsyncIterableIterator; } // @public -export interface OperationsListOptionalParams extends coreClient.OperationOptions { +export interface RegistryDataVersionsCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } // @public -export type OperationsListResponse = AmlOperationListResult; +export interface RegistryDataVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} // @public -export type OperationStatus = string; +export type RegistryDataVersionsCreateOrUpdateResponse = DataVersionBase; // @public -export type OperationTrigger = string; +export interface RegistryDataVersionsDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; +} // @public -export type OrderString = string; +export interface RegistryDataVersionsDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} // @public -export type OsType = string; +export interface RegistryDataVersionsGetOptionalParams extends coreClient.OperationOptions { +} // @public -export type OutputDeliveryMode = string; +export type RegistryDataVersionsGetResponse = DataVersionBase; // @public -export interface OutputPathAssetReference extends AssetReferenceBase { - jobId?: string; - path?: string; - referenceType: "OutputPath"; +export interface RegistryDataVersionsListNextOptionalParams extends coreClient.OperationOptions { } // @public -export interface PaginatedComputeResourcesList { - nextLink?: string; - value?: ComputeResource[]; -} +export type RegistryDataVersionsListNextResponse = DataVersionBaseResourceArmPaginatedResult; // @public -export interface PartialBatchDeployment { - description?: string; +export interface RegistryDataVersionsListOptionalParams extends coreClient.OperationOptions { + listViewType?: ListViewType; + orderBy?: string; + skip?: string; + tags?: string; + top?: number; } // @public -export interface PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties { - properties?: PartialBatchDeployment; - tags?: { - [propertyName: string]: string | null; - }; -} +export type RegistryDataVersionsListResponse = DataVersionBaseResourceArmPaginatedResult; // @public -export interface PartialManagedServiceIdentity { - type?: ManagedServiceIdentityType; - userAssignedIdentities?: { - [propertyName: string]: Record; - }; +export interface RegistryEnvironmentContainers { + beginCreateOrUpdate(resourceGroupName: string, registryName: string, environmentName: string, body: EnvironmentContainer, options?: RegistryEnvironmentContainersCreateOrUpdateOptionalParams): Promise, RegistryEnvironmentContainersCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, registryName: string, environmentName: string, body: EnvironmentContainer, options?: RegistryEnvironmentContainersCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, registryName: string, environmentName: string, options?: RegistryEnvironmentContainersDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, registryName: string, environmentName: string, options?: RegistryEnvironmentContainersDeleteOptionalParams): Promise; + get(resourceGroupName: string, registryName: string, environmentName: string, options?: RegistryEnvironmentContainersGetOptionalParams): Promise; + list(resourceGroupName: string, registryName: string, options?: RegistryEnvironmentContainersListOptionalParams): PagedAsyncIterableIterator; } // @public -export interface PartialMinimalTrackedResource { - tags?: { - [propertyName: string]: string | null; - }; +export interface RegistryEnvironmentContainersCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } // @public -export interface PartialMinimalTrackedResourceWithIdentity extends PartialMinimalTrackedResource { - identity?: PartialManagedServiceIdentity; +export interface RegistryEnvironmentContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export interface PartialMinimalTrackedResourceWithSku extends PartialMinimalTrackedResource { - sku?: PartialSku; -} +export type RegistryEnvironmentContainersCreateOrUpdateResponse = EnvironmentContainer; // @public -export interface PartialSku { - capacity?: number; - family?: string; - name?: string; - size?: string; - tier?: SkuTier; +export interface RegistryEnvironmentContainersDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; } -// @public (undocumented) -export interface Password { - readonly name?: string; - readonly value?: string; +// @public +export interface RegistryEnvironmentContainersDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } -// @public (undocumented) -export interface PATAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { - authType: "PAT"; - // (undocumented) - credentials?: WorkspaceConnectionPersonalAccessToken; +// @public +export interface RegistryEnvironmentContainersGetOptionalParams extends coreClient.OperationOptions { } // @public -export interface PersonalComputeInstanceSettings { - assignedUser?: AssignedUser; -} +export type RegistryEnvironmentContainersGetResponse = EnvironmentContainer; // @public -export interface PipelineJob extends JobBaseProperties { - inputs?: { - [propertyName: string]: JobInputUnion | null; - }; - jobs?: { - [propertyName: string]: Record; - }; - jobType: "Pipeline"; - outputs?: { - [propertyName: string]: JobOutputUnion | null; - }; - settings?: Record; - sourceJobId?: string; +export interface RegistryEnvironmentContainersListNextOptionalParams extends coreClient.OperationOptions { } // @public -export interface PrivateEndpoint { - readonly id?: string; - readonly subnetArmId?: string; -} +export type RegistryEnvironmentContainersListNextResponse = EnvironmentContainerResourceArmPaginatedResult; // @public -export interface PrivateEndpointConnection extends Resource { - identity?: ManagedServiceIdentity; - location?: string; - privateEndpoint?: PrivateEndpoint; - privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; - readonly provisioningState?: PrivateEndpointConnectionProvisioningState; - sku?: Sku; - tags?: { - [propertyName: string]: string; - }; +export interface RegistryEnvironmentContainersListOptionalParams extends coreClient.OperationOptions { + listViewType?: ListViewType; + skip?: string; } // @public -export interface PrivateEndpointConnectionListResult { - value?: PrivateEndpointConnection[]; -} +export type RegistryEnvironmentContainersListResponse = EnvironmentContainerResourceArmPaginatedResult; // @public -export type PrivateEndpointConnectionProvisioningState = string; +export interface RegistryEnvironmentVersions { + beginCreateOrUpdate(resourceGroupName: string, registryName: string, environmentName: string, version: string, body: EnvironmentVersion, options?: RegistryEnvironmentVersionsCreateOrUpdateOptionalParams): Promise, RegistryEnvironmentVersionsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, registryName: string, environmentName: string, version: string, body: EnvironmentVersion, options?: RegistryEnvironmentVersionsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, registryName: string, environmentName: string, version: string, options?: RegistryEnvironmentVersionsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, registryName: string, environmentName: string, version: string, options?: RegistryEnvironmentVersionsDeleteOptionalParams): Promise; + get(resourceGroupName: string, registryName: string, environmentName: string, version: string, options?: RegistryEnvironmentVersionsGetOptionalParams): Promise; + list(resourceGroupName: string, registryName: string, environmentName: string, options?: RegistryEnvironmentVersionsListOptionalParams): PagedAsyncIterableIterator; +} // @public -export interface PrivateEndpointConnections { - createOrUpdate(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise; - delete(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise; - get(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise; - list(resourceGroupName: string, workspaceName: string, options?: PrivateEndpointConnectionsListOptionalParams): PagedAsyncIterableIterator; +export interface RegistryEnvironmentVersionsCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } // @public -export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +export interface RegistryEnvironmentVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection; +export type RegistryEnvironmentVersionsCreateOrUpdateResponse = EnvironmentVersion; // @public -export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions { +export interface RegistryEnvironmentVersionsDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; } // @public -export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions { +export interface RegistryEnvironmentVersionsDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection; +export interface RegistryEnvironmentVersionsGetOptionalParams extends coreClient.OperationOptions { +} // @public -export interface PrivateEndpointConnectionsListOptionalParams extends coreClient.OperationOptions { +export type RegistryEnvironmentVersionsGetResponse = EnvironmentVersion; + +// @public +export interface RegistryEnvironmentVersionsListNextOptionalParams extends coreClient.OperationOptions { } // @public -export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult; +export type RegistryEnvironmentVersionsListNextResponse = EnvironmentVersionResourceArmPaginatedResult; // @public -export type PrivateEndpointServiceConnectionStatus = string; +export interface RegistryEnvironmentVersionsListOptionalParams extends coreClient.OperationOptions { + listViewType?: ListViewType; + orderBy?: string; + skip?: string; + top?: number; +} // @public -export interface PrivateLinkResource extends Resource { - readonly groupId?: string; - identity?: ManagedServiceIdentity; - location?: string; - readonly requiredMembers?: string[]; - requiredZoneNames?: string[]; - sku?: Sku; - tags?: { - [propertyName: string]: string; - }; +export type RegistryEnvironmentVersionsListResponse = EnvironmentVersionResourceArmPaginatedResult; + +// @public (undocumented) +export interface RegistryListCredentialsResult { + readonly location?: string; + // (undocumented) + passwords?: Password[]; + readonly username?: string; } // @public -export interface PrivateLinkResourceListResult { - value?: PrivateLinkResource[]; +export interface RegistryModelContainers { + beginCreateOrUpdate(resourceGroupName: string, registryName: string, modelName: string, body: ModelContainer, options?: RegistryModelContainersCreateOrUpdateOptionalParams): Promise, RegistryModelContainersCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, registryName: string, modelName: string, body: ModelContainer, options?: RegistryModelContainersCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, registryName: string, modelName: string, options?: RegistryModelContainersDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, registryName: string, modelName: string, options?: RegistryModelContainersDeleteOptionalParams): Promise; + get(resourceGroupName: string, registryName: string, modelName: string, options?: RegistryModelContainersGetOptionalParams): Promise; + list(resourceGroupName: string, registryName: string, options?: RegistryModelContainersListOptionalParams): PagedAsyncIterableIterator; } // @public -export interface PrivateLinkResources { - list(resourceGroupName: string, workspaceName: string, options?: PrivateLinkResourcesListOptionalParams): Promise; +export interface RegistryModelContainersCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } // @public -export interface PrivateLinkResourcesListOptionalParams extends coreClient.OperationOptions { +export interface RegistryModelContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult; +export type RegistryModelContainersCreateOrUpdateResponse = ModelContainer; // @public -export interface PrivateLinkServiceConnectionState { - actionsRequired?: string; - description?: string; - status?: PrivateEndpointServiceConnectionStatus; +export interface RegistryModelContainersDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; } // @public -export interface ProbeSettings { - failureThreshold?: number; - initialDelay?: string; - period?: string; - successThreshold?: number; - timeout?: string; +export interface RegistryModelContainersDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export type ProvisioningState = string; +export interface RegistryModelContainersGetOptionalParams extends coreClient.OperationOptions { +} // @public -export type ProvisioningStatus = string; +export type RegistryModelContainersGetResponse = ModelContainer; // @public -export type PublicNetworkAccess = string; +export interface RegistryModelContainersListNextOptionalParams extends coreClient.OperationOptions { +} // @public -export type PublicNetworkAccessType = string; +export type RegistryModelContainersListNextResponse = ModelContainerResourceArmPaginatedResult; // @public -export interface PyTorch extends DistributionConfiguration { - distributionType: "PyTorch"; - processCountPerInstance?: number; +export interface RegistryModelContainersListOptionalParams extends coreClient.OperationOptions { + listViewType?: ListViewType; + skip?: string; } // @public -export interface QuotaBaseProperties { - id?: string; - limit?: number; - type?: string; - unit?: QuotaUnit; +export type RegistryModelContainersListResponse = ModelContainerResourceArmPaginatedResult; + +// @public +export interface RegistryModelVersions { + beginCreateOrUpdate(resourceGroupName: string, registryName: string, modelName: string, version: string, body: ModelVersion, options?: RegistryModelVersionsCreateOrUpdateOptionalParams): Promise, RegistryModelVersionsCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, registryName: string, modelName: string, version: string, body: ModelVersion, options?: RegistryModelVersionsCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, registryName: string, modelName: string, version: string, options?: RegistryModelVersionsDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, registryName: string, modelName: string, version: string, options?: RegistryModelVersionsDeleteOptionalParams): Promise; + get(resourceGroupName: string, registryName: string, modelName: string, version: string, options?: RegistryModelVersionsGetOptionalParams): Promise; + list(resourceGroupName: string, registryName: string, modelName: string, options?: RegistryModelVersionsListOptionalParams): PagedAsyncIterableIterator; } // @public -export interface Quotas { - list(location: string, options?: QuotasListOptionalParams): PagedAsyncIterableIterator; - update(location: string, parameters: QuotaUpdateParameters, options?: QuotasUpdateOptionalParams): Promise; +export interface RegistryModelVersionsCreateOrUpdateHeaders { + azureAsyncOperation?: string; + xMsAsyncOperationTimeout?: string; } // @public -export interface QuotasListNextOptionalParams extends coreClient.OperationOptions { +export interface RegistryModelVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; } // @public -export type QuotasListNextResponse = ListWorkspaceQuotas; +export type RegistryModelVersionsCreateOrUpdateResponse = ModelVersion; // @public -export interface QuotasListOptionalParams extends coreClient.OperationOptions { +export interface RegistryModelVersionsDeleteHeaders { + location?: string; + retryAfter?: number; + xMsAsyncOperationTimeout?: string; } // @public -export type QuotasListResponse = ListWorkspaceQuotas; +export interface RegistryModelVersionsDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} // @public -export interface QuotasUpdateOptionalParams extends coreClient.OperationOptions { +export interface RegistryModelVersionsGetOptionalParams extends coreClient.OperationOptions { } // @public -export type QuotasUpdateResponse = UpdateWorkspaceQuotasResult; +export type RegistryModelVersionsGetResponse = ModelVersion; // @public -export type QuotaUnit = string; +export interface RegistryModelVersionsListNextOptionalParams extends coreClient.OperationOptions { +} // @public -export interface QuotaUpdateParameters { - location?: string; - value?: QuotaBaseProperties[]; -} +export type RegistryModelVersionsListNextResponse = ModelVersionResourceArmPaginatedResult; // @public -export interface RandomSamplingAlgorithm extends SamplingAlgorithm { - rule?: RandomSamplingAlgorithmRule; - samplingAlgorithmType: "Random"; - seed?: number; +export interface RegistryModelVersionsListOptionalParams extends coreClient.OperationOptions { + description?: string; + listViewType?: ListViewType; + orderBy?: string; + properties?: string; + skip?: string; + tags?: string; + top?: number; + version?: string; } // @public -export type RandomSamplingAlgorithmRule = string; +export type RegistryModelVersionsListResponse = ModelVersionResourceArmPaginatedResult; // @public -export type RecurrenceFrequency = string; - -// @public (undocumented) -export interface RecurrenceSchedule { - hours: number[]; - minutes: number[]; - monthDays?: number[]; - weekDays?: WeekDay[]; -} - -// @public (undocumented) -export interface RecurrenceTrigger extends TriggerBase { - frequency: RecurrenceFrequency; - interval: number; - schedule?: RecurrenceSchedule; - triggerType: "Recurrence"; +export interface RegistryProperties extends ResourceBase { + // (undocumented) + discoveryUrl?: string; + // (undocumented) + intellectualPropertyPublisher?: string; + managedResourceGroup?: ArmResourceId; + // (undocumented) + mlFlowRegistryUri?: string; + // (undocumented) + privateLinkCount?: number; + // (undocumented) + publicNetworkAccess?: string; + regionDetails?: RegistryRegionArmDetails[]; } // @public -export type ReferenceType = string; - -// @public (undocumented) -export interface RegenerateEndpointKeysRequest { - keyType: KeyType_2; - keyValue?: string; +export interface RegistryRegionArmDetails { + acrDetails?: AcrDetails[]; + location?: string; + storageAccountDetails?: StorageAccountDetails[]; } -// @public (undocumented) -export interface RegistryListCredentialsResult { - readonly location?: string; - // (undocumented) - passwords?: Password[]; - readonly username?: string; +// @public +export interface RegistryTrackedResourceArmPaginatedResult { + nextLink?: string; + value?: Registry[]; } // @public @@ -4509,6 +6645,7 @@ export interface ResourceBase { export interface ResourceConfiguration { instanceCount?: number; instanceType?: string; + locations?: string[]; properties?: { [propertyName: string]: Record; }; @@ -4680,8 +6817,6 @@ export type SchedulesGetResponse = Schedule; // @public export interface SchedulesListNextOptionalParams extends coreClient.OperationOptions { - listViewType?: ScheduleListViewType; - skip?: string; } // @public @@ -4735,6 +6870,13 @@ export interface ServiceManagedResourcesSettings { cosmosDb?: CosmosDbSettings; } +// @public (undocumented) +export interface ServicePrincipalAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { + authType: "ServicePrincipal"; + // (undocumented) + credentials?: WorkspaceConnectionServicePrincipal; +} + // @public export interface ServicePrincipalDatastoreCredentials extends DatastoreCredentials { authorityUrl?: string; @@ -4813,6 +6955,59 @@ export type SkuTier = "Free" | "Basic" | "Standard" | "Premium"; // @public export type SourceType = string; +// @public +export interface SparkJob extends 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[]; + jobType: "Spark"; + outputs?: { + [propertyName: string]: JobOutputUnion | null; + }; + pyFiles?: string[]; + queueSettings?: QueueSettings; + resources?: SparkResourceConfiguration; +} + +// @public +export interface SparkJobEntry { + sparkJobEntryType: "SparkJobPythonEntry" | "SparkJobScalaEntry"; +} + +// @public +export type SparkJobEntryType = string; + +// @public (undocumented) +export type SparkJobEntryUnion = SparkJobEntry | SparkJobPythonEntry | SparkJobScalaEntry; + +// @public (undocumented) +export interface SparkJobPythonEntry extends SparkJobEntry { + file: string; + sparkJobEntryType: "SparkJobPythonEntry"; +} + +// @public (undocumented) +export interface SparkJobScalaEntry extends SparkJobEntry { + className: string; + sparkJobEntryType: "SparkJobScalaEntry"; +} + +// @public (undocumented) +export interface SparkResourceConfiguration { + instanceType?: string; + runtimeVersion?: string; +} + // @public export type SshPublicAccess = string; @@ -4842,9 +7037,28 @@ 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 interface StorageAccountDetails { + // (undocumented) + systemCreatedStorageAccount?: SystemCreatedStorageAccount; + // (undocumented) + userCreatedStorageAccount?: UserCreatedStorageAccount; +} + // @public export type StorageAccountType = string; @@ -4860,6 +7074,7 @@ export interface SweepJob extends JobBaseProperties { outputs?: { [propertyName: string]: JobOutputUnion | null; }; + queueSettings?: QueueSettings; samplingAlgorithm: SamplingAlgorithmUnion; searchSpace: Record; trial: TrialComponent; @@ -4894,6 +7109,23 @@ export interface SynapseSparkProperties { workspaceName?: string; } +// @public (undocumented) +export interface SystemCreatedAcrAccount { + // (undocumented) + acrAccountSku?: string; + armResourceId?: ArmResourceId; +} + +// @public (undocumented) +export interface SystemCreatedStorageAccount { + // (undocumented) + allowBlobPublicAccess?: boolean; + armResourceId?: ArmResourceId; + // (undocumented) + storageAccountHnsEnabled?: boolean; + storageAccountType?: string; +} + // @public export interface SystemData { createdAt?: Date; @@ -4911,12 +7143,69 @@ export interface SystemService { readonly version?: string; } +// @public +export interface TableFixedParameters { + booster?: string; + boostingType?: string; + growPolicy?: string; + learningRate?: number; + maxBin?: number; + maxDepth?: number; + maxLeaves?: number; + minDataInLeaf?: number; + minSplitGain?: number; + modelName?: string; + nEstimators?: number; + numLeaves?: number; + preprocessorName?: string; + regAlpha?: number; + regLambda?: number; + subsample?: number; + subsampleFreq?: number; + treeMethod?: string; + withMean?: boolean; + withStd?: boolean; +} + +// @public (undocumented) +export interface TableParameterSubspace { + booster?: string; + boostingType?: string; + growPolicy?: string; + learningRate?: string; + maxBin?: string; + maxDepth?: string; + maxLeaves?: string; + minDataInLeaf?: string; + minSplitGain?: string; + modelName?: string; + nEstimators?: string; + numLeaves?: string; + preprocessorName?: string; + regAlpha?: string; + regLambda?: string; + subsample?: string; + subsampleFreq?: string; + treeMethod?: string; + withMean?: string; + withStd?: string; +} + +// @public (undocumented) +export interface TableSweepSettings { + earlyTermination?: EarlyTerminationPolicyUnion; + samplingAlgorithm: SamplingAlgorithmType; +} + // @public export interface TableVertical { cvSplitColumnNames?: string[]; featurizationSettings?: TableVerticalFeaturizationSettings; + fixedParameters?: TableFixedParameters; limitSettings?: TableVerticalLimitSettings; nCrossValidations?: NCrossValidationsUnion; + searchSpace?: TableParameterSubspace[]; + sweepSettings?: TableSweepSettings; testData?: MLTableJobInput; testDataSize?: number; validationData?: MLTableJobInput; @@ -4943,7 +7232,10 @@ export interface TableVerticalLimitSettings { exitScore?: number; maxConcurrentTrials?: number; maxCoresPerTrial?: number; + maxNodes?: number; maxTrials?: number; + sweepConcurrentTrials?: number; + sweepTrials?: number; timeout?: string; trialTimeout?: string; } @@ -4992,6 +7284,9 @@ export interface TensorFlow extends DistributionConfiguration { workerCount?: number; } +// @public +export type TextAnnotationType = string; + // @public export interface TextClassification extends NlpVertical, AutoMLVertical { primaryMetric?: ClassificationPrimaryMetrics; @@ -5007,6 +7302,11 @@ export interface TextNer extends NlpVertical, AutoMLVertical { readonly primaryMetric?: ClassificationPrimaryMetrics; } +// @public (undocumented) +export interface TmpfsOptions { + size?: number; +} + // @public export interface TrackedResource extends Resource { location: string; @@ -5015,6 +7315,9 @@ export interface TrackedResource extends Resource { }; } +// @public +export type TrainingMode = string; + // @public export interface TrainingSettings { enableDnnTraining?: boolean; @@ -5024,6 +7327,7 @@ export interface TrainingSettings { enableVoteEnsemble?: boolean; ensembleModelDownloadTimeout?: string; stackEnsembleSettings?: StackEnsembleSettings; + trainingMode?: TrainingMode; } // @public @@ -5052,6 +7356,12 @@ export type TriggerBaseUnion = TriggerBase | RecurrenceTrigger | CronTrigger; // @public export type TriggerType = string; +// @public +export interface TritonInferencingServer extends InferencingServer { + inferenceConfiguration?: OnlineInferenceConfiguration; + serverType: "Triton"; +} + // @public (undocumented) export interface TritonModelJobInput extends AssetJobInput, JobInput { } @@ -5165,6 +7475,16 @@ export interface UserAssignedIdentity { readonly principalId?: string; } +// @public (undocumented) +export interface UserCreatedAcrAccount { + armResourceId?: ArmResourceId; +} + +// @public (undocumented) +export interface UserCreatedStorageAccount { + armResourceId?: ArmResourceId; +} + // @public export interface UserIdentity extends IdentityConfiguration { identityType: "UserIdentity"; @@ -5271,6 +7591,26 @@ 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 type VolumeDefinitionType = string; + +// @public (undocumented) +export interface VolumeOptions { + nocopy?: boolean; +} + // @public export type WeekDay = string; @@ -5295,12 +7635,15 @@ export interface Workspace extends Resource { readonly privateLinkCount?: number; readonly provisioningState?: ProvisioningState; publicNetworkAccess?: PublicNetworkAccess; + readonly scheduledPurgeDate?: string; serviceManagedResourcesSettings?: ServiceManagedResourcesSettings; readonly serviceProvisionedResourceGroup?: string; sharedPrivateLinkResources?: SharedPrivateLinkResource[]; sku?: Sku; + readonly softDeletedAt?: string; storageAccount?: string; readonly storageHnsEnabled?: boolean; + systemDatastoresAuthMode?: string; tags?: { [propertyName: string]: string; }; @@ -5309,6 +7652,14 @@ export interface Workspace extends Resource { readonly workspaceId?: string; } +// @public (undocumented) +export interface WorkspaceConnectionAccessKey { + // (undocumented) + accessKeyId?: string; + // (undocumented) + secretAccessKey?: string; +} + // @public (undocumented) export interface WorkspaceConnectionManagedIdentity { // (undocumented) @@ -5325,7 +7676,7 @@ export interface WorkspaceConnectionPersonalAccessToken { // @public (undocumented) export interface WorkspaceConnectionPropertiesV2 { - authType: "PAT" | "SAS" | "UsernamePassword" | "None" | "ManagedIdentity"; + authType: "PAT" | "SAS" | "UsernamePassword" | "AccessKey" | "ServicePrincipal" | "None" | "ManagedIdentity"; category?: ConnectionCategory; // (undocumented) target?: string; @@ -5347,7 +7698,7 @@ export interface WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult } // @public (undocumented) -export type WorkspaceConnectionPropertiesV2Union = WorkspaceConnectionPropertiesV2 | PATAuthTypeWorkspaceConnectionProperties | SASAuthTypeWorkspaceConnectionProperties | UsernamePasswordAuthTypeWorkspaceConnectionProperties | NoneAuthTypeWorkspaceConnectionProperties | ManagedIdentityAuthTypeWorkspaceConnectionProperties; +export type WorkspaceConnectionPropertiesV2Union = WorkspaceConnectionPropertiesV2 | PATAuthTypeWorkspaceConnectionProperties | SASAuthTypeWorkspaceConnectionProperties | UsernamePasswordAuthTypeWorkspaceConnectionProperties | AccessKeyAuthTypeWorkspaceConnectionProperties | ServicePrincipalAuthTypeWorkspaceConnectionProperties | NoneAuthTypeWorkspaceConnectionProperties | ManagedIdentityAuthTypeWorkspaceConnectionProperties; // @public export interface WorkspaceConnections { @@ -5372,6 +7723,16 @@ export type WorkspaceConnectionsCreateResponse = WorkspaceConnectionPropertiesV2 export interface WorkspaceConnectionsDeleteOptionalParams extends coreClient.OperationOptions { } +// @public (undocumented) +export interface WorkspaceConnectionServicePrincipal { + // (undocumented) + clientId?: string; + // (undocumented) + clientSecret?: string; + // (undocumented) + tenantId?: string; +} + // @public export interface WorkspaceConnectionsGetOptionalParams extends coreClient.OperationOptions { } @@ -5387,8 +7748,6 @@ export interface WorkspaceConnectionSharedAccessSignature { // @public export interface WorkspaceConnectionsListNextOptionalParams extends coreClient.OperationOptions { - category?: string; - target?: string; } // @public @@ -5500,7 +7859,6 @@ export type WorkspacesGetResponse = Workspace; // @public export interface WorkspacesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions { - skip?: string; } // @public @@ -5516,7 +7874,6 @@ export type WorkspacesListByResourceGroupResponse = WorkspaceListResult; // @public export interface WorkspacesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions { - skip?: string; } // @public @@ -5594,6 +7951,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/azureMachineLearningServices.ts similarity index 69% rename from sdk/machinelearning/arm-machinelearning/src/azureMachineLearningWorkspaces.ts rename to sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServices.ts index 141a281ef475..386a311761d3 100644 --- a/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningWorkspaces.ts +++ b/sdk/machinelearning/arm-machinelearning/src/azureMachineLearningServices.ts @@ -24,6 +24,16 @@ import { PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl, WorkspaceConnectionsImpl, + RegistryCodeContainersImpl, + RegistryCodeVersionsImpl, + RegistryComponentContainersImpl, + RegistryComponentVersionsImpl, + RegistryDataContainersImpl, + RegistryDataVersionsImpl, + RegistryEnvironmentContainersImpl, + RegistryEnvironmentVersionsImpl, + RegistryModelContainersImpl, + RegistryModelVersionsImpl, BatchEndpointsImpl, BatchDeploymentsImpl, CodeContainersImpl, @@ -35,12 +45,18 @@ import { DatastoresImpl, EnvironmentContainersImpl, EnvironmentVersionsImpl, + FeaturesetContainersImpl, + FeaturesetVersionsImpl, + FeaturestoreEntityContainersImpl, + FeaturestoreEntityVersionsImpl, JobsImpl, + LabelingJobsImpl, ModelContainersImpl, ModelVersionsImpl, OnlineEndpointsImpl, OnlineDeploymentsImpl, SchedulesImpl, + RegistriesImpl, WorkspaceFeaturesImpl } from "./operations"; import { @@ -53,6 +69,16 @@ import { PrivateEndpointConnections, PrivateLinkResources, WorkspaceConnections, + RegistryCodeContainers, + RegistryCodeVersions, + RegistryComponentContainers, + RegistryComponentVersions, + RegistryDataContainers, + RegistryDataVersions, + RegistryEnvironmentContainers, + RegistryEnvironmentVersions, + RegistryModelContainers, + RegistryModelVersions, BatchEndpoints, BatchDeployments, CodeContainers, @@ -64,23 +90,29 @@ import { Datastores, EnvironmentContainers, EnvironmentVersions, + FeaturesetContainers, + FeaturesetVersions, + FeaturestoreEntityContainers, + FeaturestoreEntityVersions, Jobs, + LabelingJobs, ModelContainers, ModelVersions, OnlineEndpoints, OnlineDeployments, Schedules, + Registries, WorkspaceFeatures } from "./operationsInterfaces"; -import { AzureMachineLearningWorkspacesOptionalParams } from "./models"; +import { AzureMachineLearningServicesOptionalParams } from "./models"; -export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { +export class AzureMachineLearningServices extends coreClient.ServiceClient { $host: string; apiVersion: string; subscriptionId: string; /** - * Initializes a new instance of the AzureMachineLearningWorkspaces class. + * Initializes a new instance of the AzureMachineLearningServices class. * @param credentials Subscription credentials which uniquely identify client subscription. * @param subscriptionId The ID of the target subscription. * @param options The parameter options @@ -88,7 +120,7 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { constructor( credentials: coreAuth.TokenCredential, subscriptionId: string, - options?: AzureMachineLearningWorkspacesOptionalParams + options?: AzureMachineLearningServicesOptionalParams ) { if (credentials === undefined) { throw new Error("'credentials' cannot be null"); @@ -101,12 +133,12 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { if (!options) { options = {}; } - const defaults: AzureMachineLearningWorkspacesOptionalParams = { + const defaults: AzureMachineLearningServicesOptionalParams = { requestContentType: "application/json; charset=utf-8", credential: credentials }; - const packageDetails = `azsdk-js-arm-machinelearning/2.1.2`; + const packageDetails = `azsdk-js-arm-machinelearning/3.0.0-beta.1`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -159,7 +191,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-10-01"; + this.apiVersion = options.apiVersion || "2023-02-01-preview"; this.operations = new OperationsImpl(this); this.workspaces = new WorkspacesImpl(this); this.usages = new UsagesImpl(this); @@ -169,6 +201,22 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this); this.privateLinkResources = new PrivateLinkResourcesImpl(this); this.workspaceConnections = new WorkspaceConnectionsImpl(this); + this.registryCodeContainers = new RegistryCodeContainersImpl(this); + this.registryCodeVersions = new RegistryCodeVersionsImpl(this); + this.registryComponentContainers = new RegistryComponentContainersImpl( + this + ); + this.registryComponentVersions = new RegistryComponentVersionsImpl(this); + this.registryDataContainers = new RegistryDataContainersImpl(this); + this.registryDataVersions = new RegistryDataVersionsImpl(this); + this.registryEnvironmentContainers = new RegistryEnvironmentContainersImpl( + this + ); + this.registryEnvironmentVersions = new RegistryEnvironmentVersionsImpl( + this + ); + this.registryModelContainers = new RegistryModelContainersImpl(this); + this.registryModelVersions = new RegistryModelVersionsImpl(this); this.batchEndpoints = new BatchEndpointsImpl(this); this.batchDeployments = new BatchDeploymentsImpl(this); this.codeContainers = new CodeContainersImpl(this); @@ -180,12 +228,20 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { this.datastores = new DatastoresImpl(this); this.environmentContainers = new EnvironmentContainersImpl(this); this.environmentVersions = new EnvironmentVersionsImpl(this); + this.featuresetContainers = new FeaturesetContainersImpl(this); + this.featuresetVersions = new FeaturesetVersionsImpl(this); + this.featurestoreEntityContainers = new FeaturestoreEntityContainersImpl( + this + ); + this.featurestoreEntityVersions = new FeaturestoreEntityVersionsImpl(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.registries = new RegistriesImpl(this); this.workspaceFeatures = new WorkspaceFeaturesImpl(this); this.addCustomApiVersionPolicy(options.apiVersion); } @@ -227,6 +283,16 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { privateEndpointConnections: PrivateEndpointConnections; privateLinkResources: PrivateLinkResources; workspaceConnections: WorkspaceConnections; + registryCodeContainers: RegistryCodeContainers; + registryCodeVersions: RegistryCodeVersions; + registryComponentContainers: RegistryComponentContainers; + registryComponentVersions: RegistryComponentVersions; + registryDataContainers: RegistryDataContainers; + registryDataVersions: RegistryDataVersions; + registryEnvironmentContainers: RegistryEnvironmentContainers; + registryEnvironmentVersions: RegistryEnvironmentVersions; + registryModelContainers: RegistryModelContainers; + registryModelVersions: RegistryModelVersions; batchEndpoints: BatchEndpoints; batchDeployments: BatchDeployments; codeContainers: CodeContainers; @@ -238,11 +304,17 @@ export class AzureMachineLearningWorkspaces extends coreClient.ServiceClient { datastores: Datastores; environmentContainers: EnvironmentContainers; environmentVersions: EnvironmentVersions; + featuresetContainers: FeaturesetContainers; + featuresetVersions: FeaturesetVersions; + featurestoreEntityContainers: FeaturestoreEntityContainers; + featurestoreEntityVersions: FeaturestoreEntityVersions; jobs: Jobs; + labelingJobs: LabelingJobs; modelContainers: ModelContainers; modelVersions: ModelVersions; onlineEndpoints: OnlineEndpoints; onlineDeployments: OnlineDeployments; schedules: Schedules; + registries: Registries; workspaceFeatures: WorkspaceFeatures; } diff --git a/sdk/machinelearning/arm-machinelearning/src/index.ts b/sdk/machinelearning/arm-machinelearning/src/index.ts index fa7dd652dbe3..e034d9465142 100644 --- a/sdk/machinelearning/arm-machinelearning/src/index.ts +++ b/sdk/machinelearning/arm-machinelearning/src/index.ts @@ -9,5 +9,5 @@ /// export { getContinuationToken } from "./pagingHelper"; export * from "./models"; -export { AzureMachineLearningWorkspaces } from "./azureMachineLearningWorkspaces"; +export { AzureMachineLearningServices } from "./azureMachineLearningServices"; export * from "./operationsInterfaces"; diff --git a/sdk/machinelearning/arm-machinelearning/src/models/index.ts b/sdk/machinelearning/arm-machinelearning/src/models/index.ts index bb0f66101d3d..175e221c40ad 100644 --- a/sdk/machinelearning/arm-machinelearning/src/models/index.ts +++ b/sdk/machinelearning/arm-machinelearning/src/models/index.ts @@ -30,17 +30,24 @@ export type WorkspaceConnectionPropertiesV2Union = | PATAuthTypeWorkspaceConnectionProperties | SASAuthTypeWorkspaceConnectionProperties | UsernamePasswordAuthTypeWorkspaceConnectionProperties + | AccessKeyAuthTypeWorkspaceConnectionProperties + | ServicePrincipalAuthTypeWorkspaceConnectionProperties | NoneAuthTypeWorkspaceConnectionProperties | ManagedIdentityAuthTypeWorkspaceConnectionProperties; +export type BatchDeploymentPropertiesAutoGeneratedUnion = + | BatchDeploymentPropertiesAutoGenerated + | BatchPipelineComponentDeploymentProperties; export type AssetReferenceBaseUnion = | AssetReferenceBase - | DataPathAssetReference | IdAssetReference + | DataPathAssetReference | OutputPathAssetReference; export type DatastoreCredentialsUnion = | DatastoreCredentials | AccountKeyDatastoreCredentials | CertificateDatastoreCredentials + | KerberosKeytabCredentials + | KerberosPasswordCredentials | NoneDatastoreCredentials | SasDatastoreCredentials | ServicePrincipalDatastoreCredentials; @@ -48,13 +55,44 @@ export type DatastoreSecretsUnion = | DatastoreSecrets | AccountKeyDatastoreSecrets | CertificateDatastoreSecrets + | KerberosKeytabSecrets + | KerberosPasswordSecrets | SasDatastoreSecrets | ServicePrincipalDatastoreSecrets; +export type TriggerBaseUnion = TriggerBase | RecurrenceTrigger | CronTrigger; export type IdentityConfigurationUnion = | IdentityConfiguration | AmlToken | ManagedIdentity | UserIdentity; +export type NodesUnion = Nodes | AllNodes; +export type LabelingJobMediaPropertiesUnion = + | LabelingJobMediaProperties + | LabelingJobImageProperties + | LabelingJobTextProperties; +export type MLAssistConfigurationUnion = + | MLAssistConfiguration + | MLAssistConfigurationDisabled + | MLAssistConfigurationEnabled; +export type ExportSummaryUnion = + | ExportSummary + | CocoExportSummary + | CsvExportSummary + | DatasetExportSummary; +export type BaseEnvironmentSourceUnion = + | BaseEnvironmentSource + | BaseEnvironmentId; +export type InferencingServerUnion = + | InferencingServer + | AzureMLBatchInferencingServer + | AzureMLOnlineInferencingServer + | CustomInferencingServer + | TritonInferencingServer; +export type PackageInputPathBaseUnion = + | PackageInputPathBase + | PackageInputPathId + | PackageInputPathUrl + | PackageInputPathVersion; export type OnlineScaleSettingsUnion = | OnlineScaleSettings | DefaultScaleSettings @@ -63,7 +101,6 @@ export type ScheduleActionBaseUnion = | ScheduleActionBase | EndpointScheduleAction | JobScheduleAction; -export type TriggerBaseUnion = TriggerBase | RecurrenceTrigger | CronTrigger; export type ForecastHorizonUnion = | ForecastHorizon | AutoForecastHorizon @@ -126,22 +163,29 @@ export type DistributionConfigurationUnion = | PyTorch | TensorFlow; export type JobLimitsUnion = JobLimits | CommandJobLimits | SweepJobLimits; -export type OnlineDeploymentPropertiesUnion = - | OnlineDeploymentProperties - | KubernetesOnlineDeployment - | ManagedOnlineDeployment; +export type SparkJobEntryUnion = + | SparkJobEntry + | SparkJobPythonEntry + | SparkJobScalaEntry; export type DatastorePropertiesUnion = | DatastoreProperties | AzureBlobDatastore | AzureDataLakeGen1Datastore | AzureDataLakeGen2Datastore - | AzureFileDatastore; + | AzureFileDatastore + | HdfsDatastore; export type JobBasePropertiesUnion = | JobBaseProperties + | LabelingJobProperties | AutoMLJob | CommandJob | PipelineJob + | SparkJob | SweepJob; +export type OnlineDeploymentPropertiesUnion = + | OnlineDeploymentProperties + | KubernetesOnlineDeployment + | ManagedOnlineDeployment; export type DataVersionBasePropertiesUnion = | DataVersionBaseProperties | MLTableData @@ -150,11 +194,11 @@ export type DataVersionBasePropertiesUnion = /** An array of operations supported by the resource provider. */ export interface AmlOperationListResult { - /** List of AML workspace operations supported by the AML workspace resource provider. */ + /** List of AML operations supported by the AML resource provider. */ value?: AmlOperation[]; } -/** Azure Machine Learning workspace REST API operation */ +/** Azure Machine Learning REST API operation */ export interface AmlOperation { /** Operation name: {provider}/{resource}/{operation} */ name?: string; @@ -419,6 +463,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. */ @@ -875,6 +931,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 { /** @@ -948,6 +1098,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 */ @@ -967,7 +1123,14 @@ export interface ListStorageAccountKeysResult { export interface WorkspaceConnectionPropertiesV2 { /** Polymorphic discriminator, which specifies the different types this object can be */ - authType: "PAT" | "SAS" | "UsernamePassword" | "None" | "ManagedIdentity"; + authType: + | "PAT" + | "SAS" + | "UsernamePassword" + | "AccessKey" + | "ServicePrincipal" + | "None" + | "ManagedIdentity"; /** Category of the connection */ category?: ConnectionCategory; target?: string; @@ -1005,6 +1168,130 @@ export interface FqdnEndpointDetail { port?: number; } +/** A paginated list of CodeContainer entities. */ +export interface CodeContainerResourceArmPaginatedResult { + /** The link to the next page of CodeContainer objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type CodeContainer. */ + value?: CodeContainer[]; +} + +export interface ResourceBase { + /** The asset description text. */ + description?: string; + /** The asset property dictionary. */ + properties?: { [propertyName: string]: string | null }; + /** Tag dictionary. Tags can be added, removed, and updated. */ + tags?: { [propertyName: string]: string | null }; +} + +/** A paginated list of CodeVersion entities. */ +export interface CodeVersionResourceArmPaginatedResult { + /** The link to the next page of CodeVersion objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type CodeVersion. */ + value?: CodeVersion[]; +} + +/** A paginated list of ComponentContainer entities. */ +export interface ComponentContainerResourceArmPaginatedResult { + /** The link to the next page of ComponentContainer objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type ComponentContainer. */ + value?: ComponentContainer[]; +} + +/** A paginated list of ComponentVersion entities. */ +export interface ComponentVersionResourceArmPaginatedResult { + /** The link to the next page of ComponentVersion objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type ComponentVersion. */ + value?: ComponentVersion[]; +} + +/** A paginated list of DataContainer entities. */ +export interface DataContainerResourceArmPaginatedResult { + /** The link to the next page of DataContainer objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type DataContainer. */ + value?: DataContainer[]; +} + +/** A paginated list of DataVersionBase entities. */ +export interface DataVersionBaseResourceArmPaginatedResult { + /** The link to the next page of DataVersionBase objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type DataVersionBase. */ + value?: DataVersionBase[]; +} + +/** A paginated list of EnvironmentContainer entities. */ +export interface EnvironmentContainerResourceArmPaginatedResult { + /** The link to the next page of EnvironmentContainer objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type EnvironmentContainer. */ + value?: EnvironmentContainer[]; +} + +/** A paginated list of EnvironmentVersion entities. */ +export interface EnvironmentVersionResourceArmPaginatedResult { + /** The link to the next page of EnvironmentVersion objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type EnvironmentVersion. */ + value?: EnvironmentVersion[]; +} + +/** Configuration settings for Docker build context */ +export interface BuildContext { + /** + * [Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs. + * + */ + contextUri: string; + /** + * Path to the Dockerfile in the build context. + * + */ + dockerfilePath?: string; +} + +export interface InferenceContainerProperties { + /** The route to check the liveness of the inference server container. */ + livenessRoute?: Route; + /** The route to check the readiness of the inference server container. */ + readinessRoute?: Route; + /** The port to send the scoring requests to, within the inference server container. */ + scoringRoute?: Route; +} + +export interface Route { + /** [Required] The path for the route. */ + path: string; + /** [Required] The port for the route. */ + port: number; +} + +/** 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. */ + nextLink?: string; + /** An array of objects of type ModelContainer. */ + value?: ModelContainer[]; +} + +/** A paginated list of ModelVersion entities. */ +export interface ModelVersionResourceArmPaginatedResult { + /** The link to the next page of ModelVersion objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type ModelVersion. */ + value?: ModelVersion[]; +} + +export interface FlavorData { + /** Model flavor-specific data. */ + data?: { [propertyName: string]: string | null }; +} + /** A paginated list of BatchEndpoint entities. */ export interface BatchEndpointTrackedResourceArmPaginatedResult { /** The link to the next page of BatchEndpoint objects. If null, there are no additional pages. */ @@ -1077,10 +1364,16 @@ export interface BatchDeploymentTrackedResourceArmPaginatedResult { value?: BatchDeployment[]; } +/** Properties relevant to different deployment types. */ +export interface BatchDeploymentPropertiesAutoGenerated { + /** Polymorphic discriminator, which specifies the different types this object can be */ + deploymentPropertyType: "PipelineComponent"; +} + /** Base definition for asset references. */ export interface AssetReferenceBase { /** Polymorphic discriminator, which specifies the different types this object can be */ - referenceType: "DataPath" | "Id" | "OutputPath"; + referenceType: "Id" | "DataPath" | "OutputPath"; } export interface ResourceConfiguration { @@ -1088,6 +1381,8 @@ export interface ResourceConfiguration { instanceCount?: number; /** Optional type of VM used as supported by the compute target. */ instanceType?: string; + /** Locations where the job can run. */ + locations?: string[]; /** Additional properties bag. */ properties?: { [propertyName: string]: Record }; } @@ -1106,7 +1401,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 }; @@ -1136,63 +1431,6 @@ export interface PartialBatchDeployment { description?: string; } -/** A paginated list of CodeContainer entities. */ -export interface CodeContainerResourceArmPaginatedResult { - /** The link to the next page of CodeContainer objects. If null, there are no additional pages. */ - nextLink?: string; - /** An array of objects of type CodeContainer. */ - value?: CodeContainer[]; -} - -export interface ResourceBase { - /** The asset description text. */ - description?: string; - /** The asset property dictionary. */ - properties?: { [propertyName: string]: string | null }; - /** Tag dictionary. Tags can be added, removed, and updated. */ - tags?: { [propertyName: string]: string | null }; -} - -/** A paginated list of CodeVersion entities. */ -export interface CodeVersionResourceArmPaginatedResult { - /** The link to the next page of CodeVersion objects. If null, there are no additional pages. */ - nextLink?: string; - /** An array of objects of type CodeVersion. */ - value?: CodeVersion[]; -} - -/** A paginated list of ComponentContainer entities. */ -export interface ComponentContainerResourceArmPaginatedResult { - /** The link to the next page of ComponentContainer objects. If null, there are no additional pages. */ - nextLink?: string; - /** An array of objects of type ComponentContainer. */ - value?: ComponentContainer[]; -} - -/** A paginated list of ComponentVersion entities. */ -export interface ComponentVersionResourceArmPaginatedResult { - /** The link to the next page of ComponentVersion objects. If null, there are no additional pages. */ - nextLink?: string; - /** An array of objects of type ComponentVersion. */ - value?: ComponentVersion[]; -} - -/** A paginated list of DataContainer entities. */ -export interface DataContainerResourceArmPaginatedResult { - /** The link to the next page of DataContainer objects. If null, there are no additional pages. */ - nextLink?: string; - /** An array of objects of type DataContainer. */ - value?: DataContainer[]; -} - -/** A paginated list of DataVersionBase entities. */ -export interface DataVersionBaseResourceArmPaginatedResult { - /** The link to the next page of DataVersionBase objects. If null, there are no additional pages. */ - nextLink?: string; - /** An array of objects of type DataVersionBase. */ - value?: DataVersionBase[]; -} - /** A paginated list of Datastore entities. */ export interface DatastoreResourceArmPaginatedResult { /** The link to the next page of Datastore objects. If null, there are no additional pages. */ @@ -1207,6 +1445,8 @@ export interface DatastoreCredentials { credentialsType: | "AccountKey" | "Certificate" + | "KerberosKeytab" + | "KerberosPassword" | "None" | "Sas" | "ServicePrincipal"; @@ -1215,53 +1455,201 @@ 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. */ -export interface EnvironmentContainerResourceArmPaginatedResult { - /** The link to the next page of EnvironmentContainer objects. If null, there are no additional pages. */ +/** A paginated list of FeaturesetContainer entities. */ +export interface FeaturesetContainerResourceArmPaginatedResult { + /** The link to the next page of FeaturesetContainer objects. If null, there are no additional pages. */ nextLink?: string; - /** An array of objects of type EnvironmentContainer. */ - value?: EnvironmentContainer[]; + /** An array of objects of type FeaturesetContainer. */ + value?: FeaturesetContainer[]; } -/** A paginated list of EnvironmentVersion entities. */ -export interface EnvironmentVersionResourceArmPaginatedResult { - /** The link to the next page of EnvironmentVersion objects. If null, there are no additional pages. */ +/** A paginated list of FeaturesetVersion entities. */ +export interface FeaturesetVersionResourceArmPaginatedResult { + /** The link to the next page of FeaturesetVersion objects. If null, there are no additional pages. */ nextLink?: string; - /** An array of objects of type EnvironmentVersion. */ - value?: EnvironmentVersion[]; + /** An array of objects of type FeaturesetVersion. */ + value?: FeaturesetVersion[]; +} + +export interface MaterializationSettings { + /** Specifies the notification details */ + notification?: NotificationSetting; + /** Specifies the compute resource settings */ + resource?: ComputeResourceAutoGenerated; + /** Specifies the schedule details */ + schedule?: RecurrenceTrigger; + /** Specifies the spark compute settings */ + sparkConfiguration?: { [propertyName: string]: string | null }; + /** Specifies the stores to which materialization should happen */ + storeType?: MaterializationStoreType; +} + +/** Configuration for notification. */ +export interface NotificationSetting { + /** Send email notification to user on specified notification type */ + emailOn?: EmailNotificationEnableType[]; + /** This is the email recipient list which has a limitation of 499 characters in total concat with comma separator */ + emails?: string[]; +} + +/** Dto object representing compute resource */ +export interface ComputeResourceAutoGenerated { + /** Specifies the instance type */ + instanceType?: string; } -/** Configuration settings for Docker build context */ -export interface BuildContext { +export interface RecurrenceSchedule { + /** [Required] List of hours for the schedule. */ + hours: number[]; + /** [Required] List of minutes for the schedule. */ + minutes: number[]; + /** List of month days for the schedule */ + monthDays?: number[]; + /** List of days for the schedule. */ + weekDays?: WeekDay[]; +} + +export interface TriggerBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + triggerType: "Recurrence" | "Cron"; /** - * [Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs. - * - */ - contextUri: string; + * 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; /** - * Path to the Dockerfile in the build context. - * + * 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 */ - dockerfilePath?: string; + timeZone?: string; } -export interface InferenceContainerProperties { - /** The route to check the liveness of the inference server container. */ - livenessRoute?: Route; - /** The route to check the readiness of the inference server container. */ - readinessRoute?: Route; - /** The port to send the scoring requests to, within the inference server container. */ - scoringRoute?: Route; +/** Dto object representing specification */ +export interface FeaturesetSpecification { + /** Specifies the spec path */ + path?: string; } -export interface Route { - /** [Required] The path for the route. */ - path: string; - /** [Required] The port for the route. */ - port: number; +/** Request payload for creating a backfill request for a given feature set version */ +export interface FeaturesetVersionBackfillRequest { + /** Specifies description */ + description?: string; + /** Specifies description */ + displayName?: string; + /** Specifies the backfill feature window to be materialized */ + featureWindow?: FeatureWindow; + /** Specifies the compute resource settings */ + resource?: ComputeResourceAutoGenerated; + /** Specifies the spark compute settings */ + sparkConfiguration?: { [propertyName: string]: string | null }; + /** Specifies the tags */ + tags?: { [propertyName: string]: string | null }; +} + +/** Specifies the feature window */ +export interface FeatureWindow { + /** Specifies the feature window end time */ + featureWindowEnd?: Date; + /** Specifies the feature window start time */ + featureWindowStart?: Date; +} + +/** Response payload for creating a backfill request for a given feature set version */ +export interface FeaturesetVersionBackfillResponse { + /** Job id created as part of request */ + jobId?: string; +} + +/** Request payload to retrieve feature information from a given feature set version */ +export interface GetFeatureRequest { + /** Specifies name of the feature. */ + featureName?: string; +} + +/** Dto object representing feature */ +export interface Feature { + /** Specifies type */ + dataType?: FeatureDataType; + /** Specifies description */ + description?: string; + /** Specifies name */ + featureName?: string; + /** Specifies tags */ + tags?: { [propertyName: string]: string | null }; +} + +/** A paginated list of Feature entities. */ +export interface FeatureArmPaginatedResult { + /** The link to the next page of Feature objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type Feature. */ + value?: Feature[]; +} + +/** A paginated list of FeaturesetJob entities. */ +export interface FeaturesetJobArmPaginatedResult { + /** The link to the next page of FeaturesetJob objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type FeaturesetJob. */ + value?: FeaturesetJob[]; +} + +/** Dto object representing the feature set job */ +export interface FeaturesetJob { + /** Specifies the created date */ + createdDate?: Date; + /** Specifies the display name */ + displayName?: string; + /** Specifies the duration */ + duration?: string; + /** Specifies the experiment id */ + experimentId?: string; + /** Specifies the backfill feature window to be materialized */ + featureWindow?: FeatureWindow; + /** Specifies the job id */ + jobId?: string; + /** Specifies the job status */ + status?: JobStatus; + /** Specifies the tags if any */ + tags?: { [propertyName: string]: string | null }; + /** Specifies the feature store job type */ + type?: FeaturestoreJobType; +} + +/** A paginated list of FeaturestoreEntityContainer entities. */ +export interface FeaturestoreEntityContainerResourceArmPaginatedResult { + /** The link to the next page of FeaturestoreEntityContainer objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type FeaturestoreEntityContainer. */ + value?: FeaturestoreEntityContainer[]; +} + +/** A paginated list of FeaturestoreEntityVersion entities. */ +export interface FeaturestoreEntityVersionResourceArmPaginatedResult { + /** The link to the next page of FeaturestoreEntityVersion objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type FeaturestoreEntityVersion. */ + value?: FeaturestoreEntityVersion[]; +} + +/** Dto object representing index column */ +export interface IndexColumn { + /** Specifies the column name */ + columnName?: string; + /** Specifies the data type */ + dataType?: FeatureDataType; } /** A paginated list of JobBase entities. */ @@ -1289,7 +1677,12 @@ export interface JobService { readonly errorMessage?: string; /** Endpoint type. */ jobServiceType?: string; - /** Port for endpoint. */ + /** + * Nodes that user would like to start the service on. + * If Nodes is not set or set to null, the service will only be started on leader node. + */ + nodes?: NodesUnion; + /** Port for endpoint set by user. */ port?: number; /** Additional properties to set on the endpoint. */ properties?: { [propertyName: string]: string | null }; @@ -1300,25 +1693,190 @@ export interface JobService { readonly status?: string; } -/** 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. */ - nextLink?: string; - /** An array of objects of type ModelContainer. */ - value?: ModelContainer[]; +/** Abstract Nodes definition */ +export interface Nodes { + /** Polymorphic discriminator, which specifies the different types this object can be */ + nodesValueType: "All"; } -/** A paginated list of ModelVersion entities. */ -export interface ModelVersionResourceArmPaginatedResult { - /** The link to the next page of ModelVersion objects. If null, there are no additional pages. */ +/** 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 ModelVersion. */ - value?: ModelVersion[]; + /** An array of objects of type LabelingJob. */ + value?: LabelingJob[]; } -export interface FlavorData { - /** Model flavor-specific data. */ - data?: { [propertyName: string]: string | null }; +/** 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. */ + incrementalDataRefresh?: IncrementalDataRefresh; +} + +/** 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. */ + multiSelect?: MultiSelect; +} + +/** 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; +} + +/** Model package operation request properties. */ +export interface PackageRequest { + /** Base environment to start with. */ + baseEnvironmentSource?: BaseEnvironmentSourceUnion; + /** Collection of environment variables. */ + environmentVariables?: { [propertyName: string]: string | null }; + /** [Required] Inferencing server configurations. */ + inferencingServer: InferencingServerUnion; + /** Collection of inputs. */ + inputs?: ModelPackageInput[]; + /** Model configuration including the mount mode. */ + modelConfiguration?: ModelConfiguration; + /** Tag dictionary. Tags can be added, removed, and updated. */ + tags?: { [propertyName: string]: string | null }; + /** [Required] Target environment name to be generated by package. */ + targetEnvironmentName: string; + /** Target environment version to be generated by package. */ + targetEnvironmentVersion?: string; +} + +export interface BaseEnvironmentSource { + /** Polymorphic discriminator, which specifies the different types this object can be */ + baseEnvironmentSourceType: "EnvironmentAsset"; +} + +export interface InferencingServer { + /** Polymorphic discriminator, which specifies the different types this object can be */ + serverType: "AzureMLBatch" | "AzureMLOnline" | "Custom" | "Triton"; +} + +/** Model package input options. */ +export interface ModelPackageInput { + /** [Required] Type of the input included in the target image. */ + inputType: PackageInputType; + /** Input delivery mode of the input. */ + mode?: PackageInputDeliveryMode; + /** Relative mount path of the input in the target image. */ + mountPath?: string; + /** [Required] Location of the input. */ + path: PackageInputPathBaseUnion; +} + +export interface PackageInputPathBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + inputPathType: "PathId" | "Url" | "PathVersion"; +} + +/** Model configuration options. */ +export interface ModelConfiguration { + /** Input delivery mode for the model. */ + mode?: PackageInputDeliveryMode; + /** Relative mounting path of the model in the target image. */ + mountPath?: string; } /** A paginated list of OnlineEndpoint entities. */ @@ -1472,22 +2030,92 @@ export interface ScheduleActionBase { actionType: "InvokeBatchEndpoint" | "CreateJob"; } -export interface TriggerBase { - /** Polymorphic discriminator, which specifies the different types this object can be */ - triggerType: "Recurrence" | "Cron"; +/** A paginated list of Registry entities. */ +export interface RegistryTrackedResourceArmPaginatedResult { + /** The link to the next page of Registry objects. If null, there are no additional pages. */ + nextLink?: string; + /** An array of objects of type Registry. */ + value?: Registry[]; +} + +/** ARM ResourceId of a resource */ +export interface ArmResourceId { /** - * 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 + * Arm ResourceId is in the format "/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Storage/storageAccounts/{StorageAccountName}" + * or "/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{AcrName}" */ - endTime?: string; - /** Specifies start time of schedule in ISO 8601 format, but without a UTC offset. */ - startTime?: string; + resourceId?: string; +} + +/** Details for each region the registry is in */ +export interface RegistryRegionArmDetails { + /** List of ACR accounts */ + acrDetails?: AcrDetails[]; + /** The location where the registry exists */ + location?: string; + /** List of storage accounts */ + storageAccountDetails?: StorageAccountDetails[]; +} + +/** Details of ACR account to be used for the Registry */ +export interface AcrDetails { + systemCreatedAcrAccount?: SystemCreatedAcrAccount; + userCreatedAcrAccount?: UserCreatedAcrAccount; +} + +export interface SystemCreatedAcrAccount { + acrAccountSku?: string; + /** ARM ResourceId of a resource */ + armResourceId?: ArmResourceId; +} + +export interface UserCreatedAcrAccount { + /** ARM ResourceId of a resource */ + armResourceId?: ArmResourceId; +} + +/** Details of storage account to be used for the Registry */ +export interface StorageAccountDetails { + systemCreatedStorageAccount?: SystemCreatedStorageAccount; + userCreatedStorageAccount?: UserCreatedStorageAccount; +} + +export interface SystemCreatedStorageAccount { + /** ARM ResourceId of a resource */ + armResourceId?: ArmResourceId; + storageAccountHnsEnabled?: boolean; /** - * 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 + * Allowed values: + * "Standard_LRS", + * "Standard_GRS", + * "Standard_RAGRS", + * "Standard_ZRS", + * "Standard_GZRS", + * "Standard_RAGZRS", + * "Premium_LRS", + * "Premium_ZRS" */ - timeZone?: string; + storageAccountType?: string; + allowBlobPublicAccess?: boolean; +} + +export interface UserCreatedStorageAccount { + /** ARM ResourceId of a resource */ + armResourceId?: ArmResourceId; +} + +/** Strictly used in update requests. */ +export interface PartialRegistryPartialTrackedResource { + /** Managed service identity (system assigned and/or user assigned identities) */ + identity?: PartialManagedServiceIdentity; + /** Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. */ + kind?: string; + /** Additional attributes of the entity. */ + properties?: Record; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: PartialSku; + /** Resource tags. */ + tags?: { [propertyName: string]: string | null }; } /** The List Aml user feature operation response. */ @@ -1759,8 +2387,17 @@ export interface ComputeInstanceProperties { subnet?: ResourceId; /** Policy for sharing applications on this compute instance among users of parent workspace. If Personal, only the creator can access applications on this compute instance. When Shared, any workspace user can access applications on this instance depending on his/her assigned role. */ applicationSharingPolicy?: ApplicationSharingPolicy; + /** Specifies settings for autologger. */ + autologgerSettings?: ComputeInstanceAutologgerSettings; /** Specifies policy and settings for SSH access. */ sshSettings?: ComputeInstanceSshSettings; + /** List of Custom Services added to the compute. */ + customServices?: CustomService[]; + /** + * Returns metadata about the operating system image for this compute instance. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly osImageMetadata?: ImageMetadata; /** * Describes all connectivity endpoints available for this ComputeInstance. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1797,11 +2434,10 @@ export interface ComputeInstanceProperties { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly lastOperation?: ComputeInstanceLastOperation; - /** - * The list of schedules to be applied on the computes. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly schedules?: ComputeSchedules; + /** The list of schedules to be applied on the computes. */ + 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; /** @@ -1826,6 +2462,12 @@ export interface ComputeInstanceProperties { readonly versions?: ComputeInstanceVersion; } +/** Specifies settings for autologger. */ +export interface ComputeInstanceAutologgerSettings { + /** Indicates whether mlflow autologger is enabled for notebooks. */ + mlflowAutologger?: MlflowAutologger; +} + /** Specifies policy and settings for SSH access. */ export interface ComputeInstanceSshSettings { /** State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on this instance. Enabled - Indicates that the public ssh port is open and accessible according to the VNet/subnet policy if applicable. */ @@ -1844,6 +2486,16 @@ export interface ComputeInstanceSshSettings { adminPublicKey?: string; } +/** Returns metadata about the operating system image for this compute instance. */ +export interface ImageMetadata { + /** Specifies the current operating system image version this compute instance is running on. */ + currentImageVersion?: string; + /** Specifies the latest available operating system image version. */ + latestImageVersion?: string; + /** Specifies whether this compute instance is running on the latest operating system image. */ + isLatestOsImageVersion?: boolean; +} + /** Defines all connectivity endpoints and properties for an ComputeInstance. */ export interface ComputeInstanceConnectivityEndpoints { /** @@ -1915,7 +2567,7 @@ export interface ScriptsToExecute { /** Script reference */ export interface ScriptReference { - /** The storage source of the script: workspace. */ + /** The storage source of the script: inline, workspace. */ scriptSource?: string; /** The location of scripts in the mounted volume. */ scriptData?: string; @@ -1969,17 +2621,6 @@ export interface ComputeStartStopSchedule { schedule?: ScheduleBase; } -export interface RecurrenceSchedule { - /** [Required] List of hours for the schedule. */ - hours: number[]; - /** [Required] List of minutes for the schedule. */ - minutes: number[]; - /** List of month days for the schedule */ - monthDays?: number[]; - /** List of days for the schedule. */ - weekDays?: WeekDay[]; -} - export interface ScheduleBase { /** A system assigned id for the schedule. */ id?: string; @@ -2200,6 +2841,17 @@ export interface WorkspaceConnectionSharedAccessSignature { sas?: string; } +export interface WorkspaceConnectionAccessKey { + accessKeyId?: string; + secretAccessKey?: string; +} + +export interface WorkspaceConnectionServicePrincipal { + clientId?: string; + clientSecret?: string; + tenantId?: string; +} + export interface WorkspaceConnectionManagedIdentity { resourceId?: string; clientId?: string; @@ -2215,6 +2867,10 @@ export interface AssetJobInput { /** Asset output type. */ export interface AssetJobOutput { + /** Output Asset Name. */ + assetName?: string; + /** Output Asset Version. */ + assetVersion?: string; /** Output Asset Delivery Mode. */ mode?: OutputDeliveryMode; /** Output Asset URI. */ @@ -2227,6 +2883,12 @@ export interface ForecastHorizon { mode: "Auto" | "Custom"; } +/** Settings for Autologger. */ +export interface AutologgerSettings { + /** [Required] Indicates whether mlflow autologger is enabled. */ + mlflowAutologger: MLFlowAutologgerState; +} + /** 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 */ @@ -2241,6 +2903,13 @@ export interface JobOutput { description?: string; } +export interface QueueSettings { + /** Enum to determine the job tier. */ + jobTier?: JobTier; + /** Controls the priority of the job on a compute. */ + priority?: number; +} + /** * AutoML vertical class. * Base class for AutoML verticals - TableVertical/ImageVertical/NLPVertical @@ -2308,6 +2977,14 @@ export interface TargetRollingWindowSize { 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 */ @@ -2346,6 +3023,12 @@ export interface TrainingSettings { ensembleModelDownloadTimeout?: string; /** Stack ensemble settings for stack ensemble run. */ stackEnsembleSettings?: StackEnsembleSettings; + /** + * TrainingMode mode - Setting to 'auto' is same as setting it to 'non-distributed' for now, however in the future may result in mixed mode or heuristics based mode selection. Default is 'auto'. + * If 'Distributed' then only distributed featurization is used and distributed algorithms are chosen. + * If 'NonDistributed' then only non distributed algorithms are chosen. + */ + trainingMode?: TrainingMode; } /** Advances setting to customize StackEnsemble run. */ @@ -2364,6 +3047,8 @@ export interface TableVertical { cvSplitColumnNames?: string[]; /** Featurization inputs needed for AutoML job. */ featurizationSettings?: TableVerticalFeaturizationSettings; + /** Model/training parameters that will remain constant throughout training. */ + fixedParameters?: TableFixedParameters; /** Execution constraints for AutoMLJob. */ limitSettings?: TableVerticalLimitSettings; /** @@ -2371,6 +3056,10 @@ export interface TableVertical { * when validation dataset is not provided. */ nCrossValidations?: NCrossValidationsUnion; + /** Search space for sampling different combinations of models and their hyperparameters. */ + searchSpace?: TableParameterSubspace[]; + /** Settings for model sweeping and hyperparameter tuning. */ + sweepSettings?: TableSweepSettings; /** Test data input. */ testData?: MLTableJobInput; /** @@ -2408,6 +3097,50 @@ export interface FeaturizationSettings { datasetLanguage?: string; } +/** Fixed training parameters that won't be swept over during AutoML Table training. */ +export interface TableFixedParameters { + /** Specify the boosting type, e.g gbdt for XGBoost. */ + booster?: string; + /** Specify the boosting type, e.g gbdt for LightGBM. */ + boostingType?: string; + /** Specify the grow policy, which controls the way new nodes are added to the tree. */ + growPolicy?: string; + /** The learning rate for the training procedure. */ + learningRate?: number; + /** Specify the Maximum number of discrete bins to bucket continuous features . */ + maxBin?: number; + /** Specify the max depth to limit the tree depth explicitly. */ + maxDepth?: number; + /** Specify the max leaves to limit the tree leaves explicitly. */ + maxLeaves?: number; + /** The minimum number of data per leaf. */ + minDataInLeaf?: number; + /** Minimum loss reduction required to make a further partition on a leaf node of the tree. */ + minSplitGain?: number; + /** The name of the model to train. */ + modelName?: string; + /** Specify the number of trees (or rounds) in an model. */ + nEstimators?: number; + /** Specify the number of leaves. */ + numLeaves?: number; + /** The name of the preprocessor to use. */ + preprocessorName?: string; + /** L1 regularization term on weights. */ + regAlpha?: number; + /** L2 regularization term on weights. */ + regLambda?: number; + /** Subsample ratio of the training instance. */ + subsample?: number; + /** Frequency of subsample. */ + subsampleFreq?: number; + /** Specify the tree method. */ + treeMethod?: string; + /** If true, center before scaling the data with StandardScalar. */ + withMean?: boolean; + /** If true, scaling the data with Unit Variance with StandardScalar. */ + withStd?: boolean; +} + /** 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. */ @@ -2418,14 +3151,70 @@ export interface TableVerticalLimitSettings { maxConcurrentTrials?: number; /** Max cores per iteration. */ maxCoresPerTrial?: number; + /** Maximum nodes to use for the experiment. */ + maxNodes?: number; /** Number of iterations. */ maxTrials?: number; + /** Number of concurrent sweeping runs that user wants to trigger. */ + sweepConcurrentTrials?: number; + /** Number of sweeping runs that user wants to trigger. */ + sweepTrials?: number; /** AutoML job timeout. */ timeout?: string; /** Iteration timeout. */ trialTimeout?: string; } +export interface TableParameterSubspace { + /** Specify the boosting type, e.g gbdt for XGBoost. */ + booster?: string; + /** Specify the boosting type, e.g gbdt for LightGBM. */ + boostingType?: string; + /** Specify the grow policy, which controls the way new nodes are added to the tree. */ + growPolicy?: string; + /** The learning rate for the training procedure. */ + learningRate?: string; + /** Specify the Maximum number of discrete bins to bucket continuous features . */ + maxBin?: string; + /** Specify the max depth to limit the tree depth explicitly. */ + maxDepth?: string; + /** Specify the max leaves to limit the tree leaves explicitly. */ + maxLeaves?: string; + /** The minimum number of data per leaf. */ + minDataInLeaf?: string; + /** Minimum loss reduction required to make a further partition on a leaf node of the tree. */ + minSplitGain?: string; + /** The name of the model to train. */ + modelName?: string; + /** Specify the number of trees (or rounds) in an model. */ + nEstimators?: string; + /** Specify the number of leaves. */ + numLeaves?: string; + /** The name of the preprocessor to use. */ + preprocessorName?: string; + /** L1 regularization term on weights. */ + regAlpha?: string; + /** L2 regularization term on weights. */ + regLambda?: string; + /** Subsample ratio of the training instance. */ + subsample?: string; + /** Frequency of subsample */ + subsampleFreq?: string; + /** Specify the tree method. */ + treeMethod?: string; + /** If true, center before scaling the data with StandardScalar. */ + withMean?: string; + /** If true, scaling the data with Unit Variance with StandardScalar. */ + withStd?: string; +} + +export interface TableSweepSettings { + /** Type of early termination policy for the sweeping job. */ + earlyTermination?: EarlyTerminationPolicyUnion; + /** [Required] Type of sampling algorithm. */ + samplingAlgorithm: SamplingAlgorithmType; +} + /** Base definition for job distribution configuration. */ export interface DistributionConfiguration { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -2465,6 +3254,20 @@ export interface ContainerResourceSettings { memory?: string; } +/** Online inference configuration options. */ +export interface OnlineInferenceConfiguration { + /** Additional configurations */ + configurations?: { [propertyName: string]: string | null }; + /** Entry script or command to invoke. */ + entryScript?: string; + /** The route to check the liveness of the inference server container. */ + livenessRoute?: Route; + /** The route to check the readiness of the inference server container. */ + readinessRoute?: Route; + /** The port to send the scoring requests to, within the inference server container. */ + scoringRoute?: Route; +} + /** Forecasting specific parameters. */ export interface ForecastingSettings { /** @@ -2733,6 +3536,67 @@ export interface ImageSweepSettings { samplingAlgorithm: SamplingAlgorithmType; } +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; +} + +/** Fixed training parameters that won't be swept over during AutoML NLP training. */ +export interface NlpFixedParameters { + /** Number of steps to accumulate gradients over before running a backward pass. */ + gradientAccumulationSteps?: number; + /** The learning rate for the training procedure. */ + learningRate?: number; + /** The type of learning rate schedule to use during the training procedure. */ + learningRateScheduler?: NlpLearningRateScheduler; + /** The name of the model to train. */ + modelName?: string; + /** Number of training epochs. */ + numberOfEpochs?: number; + /** The batch size for the training procedure. */ + trainingBatchSize?: number; + /** The batch size to be used during evaluation. */ + validationBatchSize?: number; + /** The warmup ratio, used alongside LrSchedulerType. */ + warmupRatio?: number; + /** The weight decay for the training procedure. */ + weightDecay?: number; +} + +/** Stringified search spaces for each parameter. See below examples. */ +export interface NlpParameterSubspace { + /** Number of steps to accumulate gradients over before running a backward pass. */ + gradientAccumulationSteps?: string; + /** The learning rate for the training procedure. */ + learningRate?: string; + /** The type of learning rate schedule to use during the training procedure. */ + learningRateScheduler?: string; + /** The name of the model to train. */ + modelName?: string; + /** Number of training epochs. */ + numberOfEpochs?: string; + /** The batch size for the training procedure. */ + trainingBatchSize?: string; + /** The batch size to be used during evaluation. */ + validationBatchSize?: string; + /** The warmup ratio, used alongside LrSchedulerType. */ + warmupRatio?: string; + /** The weight decay for the training procedure. */ + weightDecay?: string; +} + +/** Model sweeping and hyperparameter tuning related settings. */ +export interface NlpSweepSettings { + /** Type of early termination policy for the sweeping job. */ + earlyTermination?: EarlyTerminationPolicyUnion; + /** [Required] Type of sampling algorithm. */ + samplingAlgorithm: SamplingAlgorithmType; +} + /** * Abstract class for NLP related AutoML tasks. * NLP - Natural Language Processing. @@ -2740,8 +3604,14 @@ export interface ImageSweepSettings { export interface NlpVertical { /** Featurization inputs needed for AutoML job. */ featurizationSettings?: NlpVerticalFeaturizationSettings; + /** Model/training parameters that will remain constant throughout training. */ + fixedParameters?: NlpFixedParameters; /** Execution constraints for AutoMLJob. */ limitSettings?: NlpVerticalLimitSettings; + /** Search space for sampling different combinations of models and their hyperparameters. */ + searchSpace?: NlpParameterSubspace[]; + /** Settings for model sweeping and hyperparameter tuning. */ + sweepSettings?: NlpSweepSettings; /** Validation data inputs. */ validationData?: MLTableJobInput; } @@ -2750,10 +3620,14 @@ export interface NlpVertical { export interface NlpVerticalLimitSettings { /** Maximum Concurrent AutoML iterations. */ maxConcurrentTrials?: number; + /** Maximum nodes to use for the experiment. */ + maxNodes?: number; /** Number of AutoML iterations. */ maxTrials?: number; /** AutoML job timeout. */ timeout?: string; + /** Timeout for individual HD trials. */ + trialTimeout?: string; } /** Optimization objective. */ @@ -2764,6 +3638,19 @@ export interface Objective { primaryMetric: string; } +/** Spark job entry point definition. */ +export interface SparkJobEntry { + /** Polymorphic discriminator, which specifies the different types this object can be */ + sparkJobEntryType: "SparkJobPythonEntry" | "SparkJobScalaEntry"; +} + +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. */ @@ -2888,6 +3775,18 @@ 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; + /** + * The timestamp when the workspace was soft deleted + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly softDeletedAt?: string; + /** + * The timestamp when the soft deleted workspace is going to be purged + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly scheduledPurgeDate?: string; + /** The auth mode used for accessing the system datastores of the workspace */ + systemDatastoresAuthMode?: string; } /** Machine Learning compute object wrapped into ARM resource envelope. */ @@ -2930,14 +3829,6 @@ export interface WorkspaceConnectionPropertiesV2BasicResource extends 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 { - /** 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 { /** [Required] Additional attributes of the entity. */ @@ -2974,6 +3865,38 @@ export interface DataVersionBase extends Resource { properties: DataVersionBasePropertiesUnion; } +/** Azure Resource Manager resource envelope. */ +export interface EnvironmentContainer extends Resource { + /** [Required] Additional attributes of the entity. */ + properties: EnvironmentContainerProperties; +} + +/** Azure Resource Manager resource envelope. */ +export interface EnvironmentVersion extends Resource { + /** [Required] Additional attributes of the entity. */ + properties: EnvironmentVersionProperties; +} + +/** Azure Resource Manager resource envelope. */ +export interface ModelContainer extends Resource { + /** [Required] Additional attributes of the entity. */ + properties: ModelContainerProperties; +} + +/** Azure Resource Manager resource envelope. */ +export interface ModelVersion extends Resource { + /** [Required] Additional attributes of the entity. */ + properties: ModelVersionProperties; +} + +/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ +export interface TrackedResource extends Resource { + /** Resource tags. */ + tags?: { [propertyName: string]: string }; + /** The geo-location where the resource lives */ + location: string; +} + /** Azure Resource Manager resource envelope. */ export interface Datastore extends Resource { /** [Required] Additional attributes of the entity. */ @@ -2981,33 +3904,39 @@ export interface Datastore extends Resource { } /** Azure Resource Manager resource envelope. */ -export interface EnvironmentContainer extends Resource { +export interface FeaturesetContainer extends Resource { /** [Required] Additional attributes of the entity. */ - properties: EnvironmentContainerProperties; + properties: FeaturesetContainerProperties; } /** Azure Resource Manager resource envelope. */ -export interface EnvironmentVersion extends Resource { +export interface FeaturesetVersion extends Resource { /** [Required] Additional attributes of the entity. */ - properties: EnvironmentVersionProperties; + properties: FeaturesetVersionProperties; } /** Azure Resource Manager resource envelope. */ -export interface JobBase extends Resource { +export interface FeaturestoreEntityContainer extends Resource { /** [Required] Additional attributes of the entity. */ - properties: JobBasePropertiesUnion; + properties: FeaturestoreEntityContainerProperties; } /** Azure Resource Manager resource envelope. */ -export interface ModelContainer extends Resource { +export interface FeaturestoreEntityVersion extends Resource { /** [Required] Additional attributes of the entity. */ - properties: ModelContainerProperties; + properties: FeaturestoreEntityVersionProperties; } /** Azure Resource Manager resource envelope. */ -export interface ModelVersion extends Resource { +export interface JobBase extends Resource { /** [Required] Additional attributes of the entity. */ - properties: ModelVersionProperties; + properties: JobBasePropertiesUnion; +} + +/** Azure Resource Manager resource envelope. */ +export interface LabelingJob extends Resource { + /** [Required] Additional attributes of the entity. */ + properties: LabelingJobProperties; } /** Azure Resource Manager resource envelope. */ @@ -3122,6 +4051,20 @@ export interface UsernamePasswordAuthTypeWorkspaceConnectionProperties credentials?: WorkspaceConnectionUsernamePassword; } +export interface AccessKeyAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "AccessKey"; + credentials?: WorkspaceConnectionAccessKey; +} + +export interface ServicePrincipalAuthTypeWorkspaceConnectionProperties + extends WorkspaceConnectionPropertiesV2 { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "ServicePrincipal"; + credentials?: WorkspaceConnectionServicePrincipal; +} + export interface NoneAuthTypeWorkspaceConnectionProperties extends WorkspaceConnectionPropertiesV2 { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -3135,9 +4078,107 @@ export interface ManagedIdentityAuthTypeWorkspaceConnectionProperties credentials?: WorkspaceConnectionManagedIdentity; } +export interface AssetContainer extends ResourceBase { + /** Is the asset archived? */ + isArchived?: boolean; + /** + * The latest version inside this container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly latestVersion?: string; + /** + * The next auto incremental version + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextVersion?: string; +} + +export interface AssetBase extends 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 { + /** [Required] Account credentials. */ + credentials: DatastoreCredentialsUnion; + /** [Required] Storage type backing the datastore. */ + datastoreType: DatastoreType; + /** + * Readonly property to indicate if datastore is the workspace default datastore + * 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 { + /** ARM resource ID of the component resource. */ + componentId?: string; + /** ARM resource ID of the compute resource. */ + computeId?: string; + /** Display name of job. */ + displayName?: string; + /** The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment. */ + experimentName?: string; + /** + * Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null. + * Defaults to AmlToken if null. + */ + identity?: IdentityConfigurationUnion; + /** Is the asset archived? */ + isArchived?: boolean; + /** [Required] Specifies the type of job. */ + jobType: JobType; + /** Notification setting for the job */ + notificationSetting?: NotificationSetting; + /** + * List of JobEndpoints. + * For local jobs, a job endpoint will have an endpoint value of FileStreamObject. + */ + services?: { [propertyName: string]: JobService | null }; + /** + * Status of the job. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly status?: JobStatus; +} + +/** Base definition of a schedule */ +export interface ScheduleProperties extends 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; +} + +/** Details of the Registry */ +export interface RegistryProperties extends ResourceBase { + publicNetworkAccess?: string; + discoveryUrl?: string; + intellectualPropertyPublisher?: string; + /** Managed resource group created for the registry */ + managedResourceGroup?: ArmResourceId; + mlFlowRegistryUri?: string; + privateLinkCount?: number; + /** Details of each region the registry is in */ + regionDetails?: RegistryRegionArmDetails[]; +} + /** Batch endpoint configuration. */ export interface BatchEndpointProperties extends EndpointPropertiesBase { - /** Default values for Batch Endpoint */ + /** Default values for Batch Endpoint. */ defaults?: BatchEndpointDefaults; /** * Provisioning state for the endpoint. @@ -3153,6 +4194,8 @@ export interface OnlineEndpointProperties extends EndpointPropertiesBase { * 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. @@ -3178,14 +4221,19 @@ export interface PartialMinimalTrackedResourceWithSku sku?: PartialSku; } -/** Reference to an asset via its path in a datastore. */ -export interface DataPathAssetReference extends AssetReferenceBase { +/** Properties for a Batch Pipeline Component Deployment. */ +export interface BatchPipelineComponentDeploymentProperties + extends BatchDeploymentPropertiesAutoGenerated { /** 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; + deploymentPropertyType: "PipelineComponent"; + /** The ARM id of the component to be run. */ + componentId?: IdAssetReference; + /** The description which will be applied to the job. */ + description?: string; + /** Run-time settings for the pipeline job. */ + settings?: { [propertyName: string]: string | null }; + /** The tags which will be applied to the job. */ + tags?: { [propertyName: string]: string | null }; } /** Reference to an asset via its ARM resource ID. */ @@ -3196,6 +4244,16 @@ export interface IdAssetReference extends AssetReferenceBase { assetId: string; } +/** Reference to an asset via its path in a datastore. */ +export interface DataPathAssetReference extends 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 path in a job output. */ export interface OutputPathAssetReference extends AssetReferenceBase { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -3221,6 +4279,8 @@ export interface BatchDeploymentProperties extends EndpointDeploymentPropertiesBase { /** Compute target for batch inference operation. */ compute?: string; + /** Properties relevant to different deployment types. */ + deploymentProperties?: BatchDeploymentPropertiesAutoGeneratedUnion; /** * Error threshold, if the error count for the entire input goes above this value, * the batch inference will be aborted. Range is [-1, int.MaxValue]. @@ -3296,113 +4356,44 @@ export interface OnlineDeploymentProperties scaleSettings?: OnlineScaleSettingsUnion; } -export interface AssetContainer extends ResourceBase { - /** Is the asset archived? */ - isArchived?: boolean; - /** - * The latest version inside this container. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly latestVersion?: string; - /** - * The next auto incremental version - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextVersion?: string; +/** Account key datastore credentials configuration. */ +export interface AccountKeyDatastoreCredentials extends DatastoreCredentials { + /** Polymorphic discriminator, which specifies the different types this object can be */ + credentialsType: "AccountKey"; + /** [Required] Storage account secrets. */ + secrets: AccountKeyDatastoreSecrets; } -export interface AssetBase extends ResourceBase { - /** If the name version are system generated (anonymous registration). */ - isAnonymous?: boolean; - /** Is the asset archived? */ - isArchived?: boolean; +/** Certificate datastore credentials configuration. */ +export interface CertificateDatastoreCredentials extends DatastoreCredentials { + /** Polymorphic discriminator, which specifies the different types this object can be */ + credentialsType: "Certificate"; + /** Authority URL used for authentication. */ + authorityUrl?: string; + /** [Required] Service principal client ID. */ + clientId: string; + /** Resource the service principal has access to. */ + resourceUrl?: string; + /** [Required] Service principal secrets. */ + secrets: CertificateDatastoreSecrets; + /** [Required] ID of the tenant to which the service principal belongs. */ + tenantId: string; + /** [Required] Thumbprint of the certificate used for authentication. */ + thumbprint: string; } -/** Base definition for datastore contents configuration. */ -export interface DatastoreProperties extends ResourceBase { - /** [Required] Account credentials. */ - credentials: DatastoreCredentialsUnion; - /** [Required] Storage type backing the datastore. */ - datastoreType: DatastoreType; - /** - * Readonly property to indicate if datastore is the workspace default datastore - * 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 { - /** ARM resource ID of the component resource. */ - componentId?: string; - /** ARM resource ID of the compute resource. */ - computeId?: string; - /** Display name of job. */ - displayName?: string; - /** The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment. */ - experimentName?: string; - /** - * Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null. - * Defaults to AmlToken if null. - */ - identity?: IdentityConfigurationUnion; - /** Is the asset archived? */ - isArchived?: boolean; - /** [Required] Specifies the type of job. */ - jobType: JobType; - /** - * List of JobEndpoints. - * For local jobs, a job endpoint will have an endpoint value of FileStreamObject. - */ - services?: { [propertyName: string]: JobService | null }; - /** - * Status of the job. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly status?: JobStatus; -} - -/** Base definition of a schedule */ -export interface ScheduleProperties extends 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 { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialsType: "AccountKey"; - /** [Required] Storage account secrets. */ - secrets: AccountKeyDatastoreSecrets; +export interface KerberosKeytabCredentials + extends KerberosCredentials, + DatastoreCredentials { + /** [Required] Keytab secrets. */ + secrets: KerberosKeytabSecrets; } -/** Certificate datastore credentials configuration. */ -export interface CertificateDatastoreCredentials extends DatastoreCredentials { - /** Polymorphic discriminator, which specifies the different types this object can be */ - credentialsType: "Certificate"; - /** Authority URL used for authentication. */ - authorityUrl?: string; - /** [Required] Service principal client ID. */ - clientId: string; - /** Resource the service principal has access to. */ - resourceUrl?: string; - /** [Required] Service principal secrets. */ - secrets: CertificateDatastoreSecrets; - /** [Required] ID of the tenant to which the service principal belongs. */ - tenantId: string; - /** [Required] Thumbprint of the certificate used for authentication. */ - thumbprint: string; +export interface KerberosPasswordCredentials + extends KerberosCredentials, + DatastoreCredentials { + /** [Required] Kerberos password secrets. */ + secrets: KerberosPasswordSecrets; } /** Empty/none datastore credentials. */ @@ -3452,6 +4443,20 @@ export interface CertificateDatastoreSecrets extends DatastoreSecrets { certificate?: string; } +export interface KerberosKeytabSecrets extends DatastoreSecrets { + /** Polymorphic discriminator, which specifies the different types this object can be */ + secretsType: "KerberosKeytab"; + /** Kerberos keytab secret. */ + kerberosKeytab?: string; +} + +export interface KerberosPasswordSecrets extends 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 { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -3468,6 +4473,27 @@ export interface ServicePrincipalDatastoreSecrets extends DatastoreSecrets { clientSecret?: string; } +export interface RecurrenceTrigger extends 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; + /** The recurrence schedule. */ + schedule?: RecurrenceSchedule; +} + +export interface CronTrigger extends 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; +} + /** AML Token identity configuration. */ export interface AmlToken extends IdentityConfiguration { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -3492,6 +4518,174 @@ export interface UserIdentity extends IdentityConfiguration { identityType: "UserIdentity"; } +/** All nodes means the service will be running on all of the nodes of the job */ +export interface AllNodes extends Nodes { + /** Polymorphic discriminator, which specifies the different types this object can be */ + nodesValueType: "All"; +} + +/** Properties of a labeling job for image data */ +export interface LabelingJobImageProperties extends 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 interface LabelingJobTextProperties extends 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 interface MLAssistConfigurationDisabled extends MLAssistConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + mlAssist: "Disabled"; +} + +/** Labeling MLAssist configuration definition when MLAssist is enabled */ +export interface MLAssistConfigurationEnabled extends 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 interface CocoExportSummary extends 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 interface CsvExportSummary extends 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 interface DatasetExportSummary extends 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; +} + +/** Package response returned after async package operation completes successfully. */ +export interface PackageResponse extends PackageRequest { + /** + * Build id of the image build operation. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly buildId?: string; + /** + * Build state of the image build operation. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly buildState?: PackageBuildState; + /** + * Log url of the image build operation. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly logUrl?: string; + /** + * Asset ID of the target environment created by package operation. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly targetEnvironmentId?: string; +} + +/** Base environment type. */ +export interface BaseEnvironmentId extends BaseEnvironmentSource { + /** Polymorphic discriminator, which specifies the different types this object can be */ + baseEnvironmentSourceType: "EnvironmentAsset"; + /** [Required] Resource id accepting ArmId or AzureMlId. */ + resourceId: string; +} + +/** Azure ML batch inferencing server configurations. */ +export interface AzureMLBatchInferencingServer extends InferencingServer { + /** Polymorphic discriminator, which specifies the different types this object can be */ + serverType: "AzureMLBatch"; + /** Code configuration for AML batch inferencing server. */ + codeConfiguration?: CodeConfiguration; +} + +/** Azure ML online inferencing configurations. */ +export interface AzureMLOnlineInferencingServer extends InferencingServer { + /** Polymorphic discriminator, which specifies the different types this object can be */ + serverType: "AzureMLOnline"; + /** Code configuration for AML inferencing server. */ + codeConfiguration?: CodeConfiguration; +} + +/** Custom inference server configurations. */ +export interface CustomInferencingServer extends InferencingServer { + /** Polymorphic discriminator, which specifies the different types this object can be */ + serverType: "Custom"; + /** Inference configuration for custom inferencing. */ + inferenceConfiguration?: OnlineInferenceConfiguration; +} + +/** Triton inferencing server configurations. */ +export interface TritonInferencingServer extends InferencingServer { + /** Polymorphic discriminator, which specifies the different types this object can be */ + serverType: "Triton"; + /** Inference configuration for Triton. */ + inferenceConfiguration?: OnlineInferenceConfiguration; +} + +/** Package input path specified with a resource id. */ +export interface PackageInputPathId extends PackageInputPathBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + inputPathType: "PathId"; + /** Input resource id. */ + resourceId?: string; +} + +/** Package input path specified as an url. */ +export interface PackageInputPathUrl extends PackageInputPathBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + inputPathType: "Url"; + /** Input path url. */ + url?: string; +} + +/** Package input path specified with name and version. */ +export interface PackageInputPathVersion extends PackageInputPathBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + inputPathType: "PathVersion"; + /** Input resource name. */ + resourceName?: string; + /** Input resource version. */ + resourceVersion?: string; +} + export interface DefaultScaleSettings extends OnlineScaleSettings { /** Polymorphic discriminator, which specifies the different types this object can be */ scaleType: "Default"; @@ -3527,27 +4721,6 @@ export interface JobScheduleAction extends ScheduleActionBase { jobDefinition: JobBasePropertiesUnion; } -export interface RecurrenceTrigger extends 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; - /** The recurrence schedule. */ - schedule?: RecurrenceSchedule; -} - -export interface CronTrigger extends 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 interface CustomModelJobInput extends AssetJobInput, JobInput {} @@ -3755,6 +4928,64 @@ export interface CustomTargetRollingWindowSize extends TargetRollingWindowSize { value: number; } +/** Azure Blob datastore configuration. */ +export interface AzureBlobDatastore + extends 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 interface AzureDataLakeGen1Datastore + extends 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 interface AzureDataLakeGen2Datastore + extends 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 interface AzureFileDatastore + extends 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 interface BanditPolicy extends EarlyTerminationPolicy { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -3795,6 +5026,8 @@ export interface GridSamplingAlgorithm extends SamplingAlgorithm { export interface RandomSamplingAlgorithm extends SamplingAlgorithm { /** Polymorphic discriminator, which specifies the different types this object can be */ samplingAlgorithmType: "Random"; + /** An optional positive number or e in string format to be used as base for log based random sampling */ + logbase?: string; /** The specific type of random algorithm */ rule?: RandomSamplingAlgorithmRule; /** An optional integer to use as the seed for random number generation */ @@ -4106,6 +5339,20 @@ export interface ImageObjectDetectionBase extends ImageVertical { searchSpace?: ImageModelDistributionSettingsObjectDetection[]; } +export interface SparkJobPythonEntry extends 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 interface SparkJobScalaEntry extends SparkJobEntry { + /** Polymorphic discriminator, which specifies the different types this object can be */ + sparkJobEntryType: "SparkJobScalaEntry"; + /** [Required] Scala class name used as entry point. */ + className: string; +} + export interface BatchEndpoint extends TrackedResource { /** Managed service identity (system assigned and/or user assigned identities) */ identity?: ManagedServiceIdentity; @@ -4150,28 +5397,37 @@ export interface OnlineDeployment extends TrackedResource { sku?: Sku; } -/** Properties specific to a KubernetesOnlineDeployment. */ -export interface KubernetesOnlineDeployment extends OnlineDeploymentProperties { - /** Polymorphic discriminator, which specifies the different types this object can be */ - endpointComputeType: "Kubernetes"; - /** The resource requirements for the container (cpu and memory). */ - containerResourceRequirements?: ContainerResourceRequirements; -} - -/** Properties specific to a ManagedOnlineDeployment. */ -export interface ManagedOnlineDeployment extends OnlineDeploymentProperties { - /** Polymorphic discriminator, which specifies the different types this object can be */ - endpointComputeType: "Managed"; +export interface Registry extends 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. */ + kind?: string; + /** [Required] Additional attributes of the entity. */ + properties: RegistryProperties; + /** Sku details required for ARM contract for Autoscaling. */ + sku?: Sku; } /** Container for code asset versions. */ -export interface CodeContainerProperties extends AssetContainer {} +export interface CodeContainerProperties extends AssetContainer { + /** + * Provisioning state for the code container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; +} /** * Component container definition. * */ -export interface ComponentContainerProperties extends AssetContainer {} +export interface ComponentContainerProperties extends AssetContainer { + /** + * Provisioning state for the component container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; +} /** Container for data asset versions. */ export interface DataContainerProperties extends AssetContainer { @@ -4180,14 +5436,49 @@ export interface DataContainerProperties extends AssetContainer { } /** Container for environment specification versions. */ -export interface EnvironmentContainerProperties extends AssetContainer {} +export interface EnvironmentContainerProperties extends AssetContainer { + /** + * Provisioning state for the environment container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; +} + +export interface ModelContainerProperties extends AssetContainer { + /** + * Provisioning state for the model container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; +} + +/** Dto object representing feature set */ +export interface FeaturesetContainerProperties extends AssetContainer { + /** + * Provisioning state for the featureset container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; +} -export interface ModelContainerProperties extends AssetContainer {} +/** Dto object representing feature entity */ +export interface FeaturestoreEntityContainerProperties extends AssetContainer { + /** + * Provisioning state for the featurestore entity container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; +} /** Code asset version details. */ export interface CodeVersionProperties extends AssetBase { /** Uri where code is located */ codeUri?: string; + /** + * Provisioning state for the code version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; } /** Definition of a component version: defines resources that span component types. */ @@ -4197,13 +5488,18 @@ export interface ComponentVersionProperties extends AssetBase { * */ componentSpec?: Record; + /** + * Provisioning state for the component version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; } /** Data version base definition */ export interface DataVersionBaseProperties extends AssetBase { /** [Required] Specifies the type of data. */ dataType: DataType; - /** [Required] Uri of the data. Usage/meaning depends on Microsoft.MachineLearning.ManagementFrontEnd.Contracts.V20221001.Assets.DataVersionBase.DataType */ + /** [Required] Uri of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330 */ dataUri: string; } @@ -4233,6 +5529,11 @@ export interface EnvironmentVersionProperties extends AssetBase { inferenceConfig?: InferenceContainerProperties; /** The OS type of the environment. */ osType?: OperatingSystemType; + /** + * Provisioning state for the environment version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; } /** Model asset version details. */ @@ -4245,64 +5546,91 @@ export interface ModelVersionProperties extends AssetBase { modelType?: string; /** The URI path to the model contents. */ modelUri?: string; + /** + * Provisioning state for the model version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; } -/** Azure Blob datastore configuration. */ -export interface AzureBlobDatastore extends DatastoreProperties { - /** Polymorphic discriminator, which specifies the different types this object can be */ - datastoreType: "AzureBlob"; - /** 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; +/** Dto object representing feature set version */ +export interface FeaturesetVersionProperties extends AssetBase { + /** Specifies list of entities */ + entities?: string[]; + /** Specifies the materialization settings */ + materializationSettings?: MaterializationSettings; + /** + * Provisioning state for the featureset version container. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; + /** Specifies the feature spec details */ + specification?: FeaturesetSpecification; + /** Specifies the asset stage */ + stage?: string; } -/** Azure Data Lake Gen1 datastore configuration. */ -export interface AzureDataLakeGen1Datastore extends DatastoreProperties { - /** Polymorphic discriminator, which specifies the different types this object can be */ - datastoreType: "AzureDataLakeGen1"; - /** Indicates which identity to use to authenticate service data access to customer's storage. */ - serviceDataAccessAuthIdentity?: ServiceDataAccessAuthIdentity; - /** [Required] Azure Data Lake store name. */ - storeName: string; +/** Dto object representing feature entity version */ +export interface FeaturestoreEntityVersionProperties extends AssetBase { + /** Specifies index columns */ + indexColumns?: IndexColumn[]; + /** + * Provisioning state for the featurestore entity version. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: AssetProvisioningState; } -/** Azure Data Lake Gen2 datastore configuration. */ -export interface AzureDataLakeGen2Datastore extends DatastoreProperties { +export interface HdfsDatastore extends DatastoreProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ - datastoreType: "AzureDataLakeGen2"; - /** [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. */ + datastoreType: "Hdfs"; + /** 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 File datastore configuration. */ -export interface AzureFileDatastore extends DatastoreProperties { +/** Labeling job definition */ +export interface LabelingJobProperties extends JobBaseProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ - datastoreType: "AzureFile"; - /** [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; + jobType: "Labeling"; + /** + * 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[]; } /** @@ -4322,6 +5650,8 @@ export interface AutoMLJob extends JobBaseProperties { environmentVariables?: { [propertyName: string]: string | null }; /** Mapping of output data bindings used in the job. */ outputs?: { [propertyName: string]: JobOutputUnion | null }; + /** Queue settings for the job */ + queueSettings?: QueueSettings; /** Compute Resource configuration for the job. */ resources?: JobResourceConfiguration; /** [Required] This represents scenario which can be one of Tables/NLP/Image */ @@ -4332,6 +5662,8 @@ export interface AutoMLJob extends JobBaseProperties { export interface CommandJob extends JobBaseProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ jobType: "Command"; + /** Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null. */ + autologgerSettings?: AutologgerSettings; /** ARM resource ID of the code asset. */ codeId?: string; /** [Required] The command to execute on startup of the job. eg. "python train.py" */ @@ -4353,6 +5685,8 @@ export interface CommandJob extends JobBaseProperties { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly parameters?: Record; + /** Queue settings for the job */ + queueSettings?: QueueSettings; /** Compute Resource configuration for the job. */ resources?: JobResourceConfiguration; } @@ -4373,6 +5707,38 @@ export interface PipelineJob extends JobBaseProperties { sourceJobId?: string; } +/** Spark job definition. */ +export interface SparkJob extends JobBaseProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + jobType: "Spark"; + /** 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[]; + /** Queue settings for the job */ + queueSettings?: QueueSettings; + /** Compute Resource configuration for the job. */ + resources?: SparkResourceConfiguration; +} + /** Sweep job definition. */ export interface SweepJob extends JobBaseProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -4387,6 +5753,8 @@ export interface SweepJob extends JobBaseProperties { objective: Objective; /** Mapping of output data bindings used in the job. */ outputs?: { [propertyName: string]: JobOutputUnion | null }; + /** Queue settings for the job */ + queueSettings?: QueueSettings; /** [Required] The hyperparameter sampling algorithm */ samplingAlgorithm: SamplingAlgorithmUnion; /** [Required] A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter */ @@ -4395,6 +5763,20 @@ export interface SweepJob extends JobBaseProperties { trial: TrialComponent; } +/** Properties specific to a KubernetesOnlineDeployment. */ +export interface KubernetesOnlineDeployment extends OnlineDeploymentProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointComputeType: "Kubernetes"; + /** The resource requirements for the container (cpu and memory). */ + containerResourceRequirements?: ContainerResourceRequirements; +} + +/** Properties specific to a ManagedOnlineDeployment. */ +export interface ManagedOnlineDeployment extends OnlineDeploymentProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + endpointComputeType: "Managed"; +} + /** MLTable data definition */ export interface MLTableData extends DataVersionBaseProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -4437,8 +5819,8 @@ export interface ComputeDeleteHeaders { location?: string; } -/** Defines headers for BatchEndpoints_delete operation. */ -export interface BatchEndpointsDeleteHeaders { +/** Defines headers for RegistryCodeContainers_delete operation. */ +export interface RegistryCodeContainersDeleteHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation result. */ @@ -4447,8 +5829,16 @@ export interface BatchEndpointsDeleteHeaders { retryAfter?: number; } -/** Defines headers for BatchEndpoints_update operation. */ -export interface BatchEndpointsUpdateHeaders { +/** Defines headers for RegistryCodeContainers_createOrUpdate operation. */ +export interface RegistryCodeContainersCreateOrUpdateHeaders { + /** 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 RegistryCodeVersions_delete operation. */ +export interface RegistryCodeVersionsDeleteHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation result. */ @@ -4457,16 +5847,16 @@ export interface BatchEndpointsUpdateHeaders { retryAfter?: number; } -/** Defines headers for BatchEndpoints_createOrUpdate operation. */ -export interface BatchEndpointsCreateOrUpdateHeaders { +/** Defines headers for RegistryCodeVersions_createOrUpdate operation. */ +export interface RegistryCodeVersionsCreateOrUpdateHeaders { /** 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 BatchDeployments_delete operation. */ -export interface BatchDeploymentsDeleteHeaders { +/** Defines headers for RegistryComponentContainers_delete operation. */ +export interface RegistryComponentContainersDeleteHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation result. */ @@ -4475,8 +5865,16 @@ export interface BatchDeploymentsDeleteHeaders { retryAfter?: number; } -/** Defines headers for BatchDeployments_update operation. */ -export interface BatchDeploymentsUpdateHeaders { +/** Defines headers for RegistryComponentContainers_createOrUpdate operation. */ +export interface RegistryComponentContainersCreateOrUpdateHeaders { + /** 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 RegistryComponentVersions_delete operation. */ +export interface RegistryComponentVersionsDeleteHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation result. */ @@ -4485,16 +5883,16 @@ export interface BatchDeploymentsUpdateHeaders { retryAfter?: number; } -/** Defines headers for BatchDeployments_createOrUpdate operation. */ -export interface BatchDeploymentsCreateOrUpdateHeaders { +/** Defines headers for RegistryComponentVersions_createOrUpdate operation. */ +export interface RegistryComponentVersionsCreateOrUpdateHeaders { /** 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 Jobs_delete operation. */ -export interface JobsDeleteHeaders { +/** Defines headers for RegistryDataContainers_delete operation. */ +export interface RegistryDataContainersDeleteHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation result. */ @@ -4503,16 +5901,34 @@ export interface JobsDeleteHeaders { retryAfter?: number; } -/** Defines headers for Jobs_cancel operation. */ -export interface JobsCancelHeaders { +/** Defines headers for RegistryDataContainers_createOrUpdate operation. */ +export interface RegistryDataContainersCreateOrUpdateHeaders { + /** 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 RegistryDataVersions_delete operation. */ +export interface RegistryDataVersionsDeleteHeaders { + /** 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 OnlineEndpoints_delete operation. */ -export interface OnlineEndpointsDeleteHeaders { +/** Defines headers for RegistryDataVersions_createOrUpdate operation. */ +export interface RegistryDataVersionsCreateOrUpdateHeaders { + /** 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 RegistryEnvironmentContainers_delete operation. */ +export interface RegistryEnvironmentContainersDeleteHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation result. */ @@ -4521,8 +5937,16 @@ export interface OnlineEndpointsDeleteHeaders { retryAfter?: number; } -/** Defines headers for OnlineEndpoints_update operation. */ -export interface OnlineEndpointsUpdateHeaders { +/** Defines headers for RegistryEnvironmentContainers_createOrUpdate operation. */ +export interface RegistryEnvironmentContainersCreateOrUpdateHeaders { + /** 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 RegistryEnvironmentVersions_delete operation. */ +export interface RegistryEnvironmentVersionsDeleteHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation result. */ @@ -4531,24 +5955,34 @@ export interface OnlineEndpointsUpdateHeaders { retryAfter?: number; } -/** Defines headers for OnlineEndpoints_createOrUpdate operation. */ -export interface OnlineEndpointsCreateOrUpdateHeaders { +/** Defines headers for RegistryEnvironmentVersions_createOrUpdate operation. */ +export interface RegistryEnvironmentVersionsCreateOrUpdateHeaders { /** 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 OnlineEndpoints_regenerateKeys operation. */ -export interface OnlineEndpointsRegenerateKeysHeaders { +/** Defines headers for RegistryModelContainers_delete operation. */ +export interface RegistryModelContainersDeleteHeaders { + /** 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 OnlineDeployments_delete operation. */ -export interface OnlineDeploymentsDeleteHeaders { +/** Defines headers for RegistryModelContainers_createOrUpdate operation. */ +export interface RegistryModelContainersCreateOrUpdateHeaders { + /** 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 RegistryModelVersions_delete operation. */ +export interface RegistryModelVersionsDeleteHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation result. */ @@ -4557,8 +5991,16 @@ export interface OnlineDeploymentsDeleteHeaders { retryAfter?: number; } -/** Defines headers for OnlineDeployments_update operation. */ -export interface OnlineDeploymentsUpdateHeaders { +/** Defines headers for RegistryModelVersions_createOrUpdate operation. */ +export interface RegistryModelVersionsCreateOrUpdateHeaders { + /** 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 BatchEndpoints_delete operation. */ +export interface BatchEndpointsDeleteHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation result. */ @@ -4567,16 +6009,26 @@ export interface OnlineDeploymentsUpdateHeaders { retryAfter?: number; } -/** Defines headers for OnlineDeployments_createOrUpdate operation. */ -export interface OnlineDeploymentsCreateOrUpdateHeaders { +/** Defines headers for BatchEndpoints_update operation. */ +export interface BatchEndpointsUpdateHeaders { + /** 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 BatchEndpoints_createOrUpdate operation. */ +export interface BatchEndpointsCreateOrUpdateHeaders { /** 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 Schedules_delete operation. */ -export interface SchedulesDeleteHeaders { +/** Defines headers for BatchDeployments_delete operation. */ +export interface BatchDeploymentsDeleteHeaders { /** Timeout for the client to use when polling the asynchronous operation. */ xMsAsyncOperationTimeout?: string; /** URI to poll for asynchronous operation result. */ @@ -4585,30 +6037,272 @@ export interface SchedulesDeleteHeaders { retryAfter?: number; } -/** Defines headers for Schedules_createOrUpdate operation. */ -export interface SchedulesCreateOrUpdateHeaders { +/** Defines headers for BatchDeployments_update operation. */ +export interface BatchDeploymentsUpdateHeaders { + /** 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 BatchDeployments_createOrUpdate operation. */ +export interface BatchDeploymentsCreateOrUpdateHeaders { /** 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 */ +/** Defines headers for FeaturesetContainers_delete operation. */ +export interface FeaturesetContainersDeleteHeaders { + /** 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 FeaturesetContainers_createOrUpdate operation. */ +export interface FeaturesetContainersCreateOrUpdateHeaders { + /** 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 FeaturesetVersions_delete operation. */ +export interface FeaturesetVersionsDeleteHeaders { + /** 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 FeaturesetVersions_createOrUpdate operation. */ +export interface FeaturesetVersionsCreateOrUpdateHeaders { + /** 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 FeaturesetVersions_backfill operation. */ +export interface FeaturesetVersionsBackfillHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for FeaturestoreEntityContainers_delete operation. */ +export interface FeaturestoreEntityContainersDeleteHeaders { + /** 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 FeaturestoreEntityContainers_createOrUpdate operation. */ +export interface FeaturestoreEntityContainersCreateOrUpdateHeaders { + /** 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 FeaturestoreEntityVersions_delete operation. */ +export interface FeaturestoreEntityVersionsDeleteHeaders { + /** 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 FeaturestoreEntityVersions_createOrUpdate operation. */ +export interface FeaturestoreEntityVersionsCreateOrUpdateHeaders { + /** 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 Jobs_delete operation. */ +export interface JobsDeleteHeaders { + /** 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 Jobs_cancel operation. */ +export interface JobsCancelHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + 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 ModelVersions_package operation. */ +export interface ModelVersionsPackageHeaders { + /** 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. */ + 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 OnlineEndpoints_update operation. */ +export interface OnlineEndpointsUpdateHeaders { + /** 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 OnlineEndpoints_createOrUpdate operation. */ +export interface OnlineEndpointsCreateOrUpdateHeaders { + /** 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 OnlineEndpoints_regenerateKeys operation. */ +export interface OnlineEndpointsRegenerateKeysHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** Defines headers for OnlineDeployments_delete operation. */ +export interface OnlineDeploymentsDeleteHeaders { + /** 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 OnlineDeployments_update operation. */ +export interface OnlineDeploymentsUpdateHeaders { + /** 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 OnlineDeployments_createOrUpdate operation. */ +export interface OnlineDeploymentsCreateOrUpdateHeaders { + /** 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 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; +} + +/** Defines headers for Registries_delete operation. */ +export interface RegistriesDeleteHeaders { + /** 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 Registries_update operation. */ +export interface RegistriesUpdateHeaders { + /** URI to poll for asynchronous operation result. */ + location?: string; + /** Duration the client should wait between requests, in seconds. */ + retryAfter?: number; +} + +/** 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" + Canceled = "Canceled", + /** SoftDeleted */ + SoftDeleted = "SoftDeleted" } /** @@ -4622,7 +6316,8 @@ export enum KnownProvisioningState { * **Deleting** \ * **Succeeded** \ * **Failed** \ - * **Canceled** + * **Canceled** \ + * **SoftDeleted** */ export type ProvisioningState = string; @@ -4977,6 +6672,84 @@ export enum KnownUnderlyingResourceAction { */ export type UnderlyingResourceAction = string; +/** Known values of {@link ImageType} that the service accepts. */ +export enum KnownImageType { + /** Docker */ + Docker = "docker", + /** Azureml */ + 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 = "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 = "tcp", + /** Udp */ + Udp = "udp", + /** Http */ + 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 = "bind", + /** Volume */ + Volume = "volume", + /** Tmpfs */ + Tmpfs = "tmpfs", + /** Npipe */ + 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 */ @@ -5018,7 +6791,11 @@ export enum KnownConnectionAuthType { /** None */ None = "None", /** SAS */ - SAS = "SAS" + SAS = "SAS", + /** ServicePrincipal */ + ServicePrincipal = "ServicePrincipal", + /** AccessKey */ + AccessKey = "AccessKey" } /** @@ -5030,7 +6807,9 @@ export enum KnownConnectionAuthType { * **ManagedIdentity** \ * **UsernamePassword** \ * **None** \ - * **SAS** + * **SAS** \ + * **ServicePrincipal** \ + * **AccessKey** */ export type ConnectionAuthType = string; @@ -5041,7 +6820,17 @@ export enum KnownConnectionCategory { /** ContainerRegistry */ ContainerRegistry = "ContainerRegistry", /** Git */ - Git = "Git" + Git = "Git", + /** FeatureStore */ + FeatureStore = "FeatureStore", + /** S3 */ + S3 = "S3", + /** Snowflake */ + Snowflake = "Snowflake", + /** AzureSqlDb */ + AzureSqlDb = "AzureSqlDb", + /** AzureSynapseAnalytics */ + AzureSynapseAnalytics = "AzureSynapseAnalytics" } /** @@ -5051,7 +6840,12 @@ export enum KnownConnectionCategory { * ### Known values supported by the service * **PythonFeed** \ * **ContainerRegistry** \ - * **Git** + * **Git** \ + * **FeatureStore** \ + * **S3** \ + * **Snowflake** \ + * **AzureSqlDb** \ + * **AzureSynapseAnalytics** */ export type ConnectionCategory = string; @@ -5070,24 +6864,150 @@ export enum KnownValueFormat { */ export type ValueFormat = string; -/** Known values of {@link EndpointProvisioningState} that the service accepts. */ -export enum KnownEndpointProvisioningState { - /** Creating */ - Creating = "Creating", - /** Deleting */ - Deleting = "Deleting", +/** Known values of {@link AssetProvisioningState} that the service accepts. */ +export enum KnownAssetProvisioningState { /** Succeeded */ Succeeded = "Succeeded", /** Failed */ Failed = "Failed", + /** Canceled */ + Canceled = "Canceled", + /** Creating */ + Creating = "Creating", /** Updating */ Updating = "Updating", - /** Canceled */ - Canceled = "Canceled" + /** Deleting */ + Deleting = "Deleting" } /** - * Defines values for EndpointProvisioningState. \ + * Defines values for AssetProvisioningState. \ + * {@link KnownAssetProvisioningState} can be used interchangeably with AssetProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Succeeded** \ + * **Failed** \ + * **Canceled** \ + * **Creating** \ + * **Updating** \ + * **Deleting** + */ +export type AssetProvisioningState = string; + +/** Known values of {@link ListViewType} that the service accepts. */ +export enum KnownListViewType { + /** ActiveOnly */ + ActiveOnly = "ActiveOnly", + /** ArchivedOnly */ + ArchivedOnly = "ArchivedOnly", + /** All */ + All = "All" +} + +/** + * Defines values for ListViewType. \ + * {@link KnownListViewType} can be used interchangeably with ListViewType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ActiveOnly** \ + * **ArchivedOnly** \ + * **All** + */ +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" +} + +/** + * Defines values for DataType. \ + * {@link KnownDataType} can be used interchangeably with DataType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **uri_file** \ + * **uri_folder** \ + * **mltable** + */ +export type DataType = string; + +/** Known values of {@link AutoRebuildSetting} that the service accepts. */ +export enum KnownAutoRebuildSetting { + /** Disabled */ + Disabled = "Disabled", + /** OnBaseImageUpdate */ + OnBaseImageUpdate = "OnBaseImageUpdate" +} + +/** + * Defines values for AutoRebuildSetting. \ + * {@link KnownAutoRebuildSetting} can be used interchangeably with AutoRebuildSetting, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Disabled** \ + * **OnBaseImageUpdate** + */ +export type AutoRebuildSetting = string; + +/** Known values of {@link EnvironmentType} that the service accepts. */ +export enum KnownEnvironmentType { + /** Curated */ + Curated = "Curated", + /** UserCreated */ + UserCreated = "UserCreated" +} + +/** + * Defines values for EnvironmentType. \ + * {@link KnownEnvironmentType} can be used interchangeably with EnvironmentType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Curated** \ + * **UserCreated** + */ +export type EnvironmentType = string; + +/** Known values of {@link OperatingSystemType} that the service accepts. */ +export enum KnownOperatingSystemType { + /** Linux */ + Linux = "Linux", + /** Windows */ + Windows = "Windows" +} + +/** + * Defines values for OperatingSystemType. \ + * {@link KnownOperatingSystemType} can be used interchangeably with OperatingSystemType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Linux** \ + * **Windows** + */ +export type OperatingSystemType = 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" +} + +/** + * Defines values for EndpointProvisioningState. \ * {@link KnownEndpointProvisioningState} can be used interchangeably with EndpointProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service @@ -5121,6 +7041,24 @@ export enum KnownEndpointAuthMode { */ export type EndpointAuthMode = string; +/** Known values of {@link BatchDeploymentPropertyType} that the service accepts. */ +export enum KnownBatchDeploymentPropertyType { + /** Model */ + Model = "Model", + /** PipelineComponent */ + PipelineComponent = "PipelineComponent" +} + +/** + * Defines values for BatchDeploymentPropertyType. \ + * {@link KnownBatchDeploymentPropertyType} can be used interchangeably with BatchDeploymentPropertyType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Model** \ + * **PipelineComponent** + */ +export type BatchDeploymentPropertyType = string; + /** Known values of {@link BatchLoggingLevel} that the service accepts. */ export enum KnownBatchLoggingLevel { /** Info */ @@ -5214,48 +7152,6 @@ export enum KnownDeploymentProvisioningState { */ 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" -} - -/** - * Defines values for ListViewType. \ - * {@link KnownListViewType} can be used interchangeably with ListViewType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **ActiveOnly** \ - * **ArchivedOnly** \ - * **All** - */ -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" -} - -/** - * Defines values for DataType. \ - * {@link KnownDataType} can be used interchangeably with DataType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **uri_file** \ - * **uri_folder** \ - * **mltable** - */ -export type DataType = string; - /** Known values of {@link CredentialsType} that the service accepts. */ export enum KnownCredentialsType { /** AccountKey */ @@ -5267,7 +7163,11 @@ export enum KnownCredentialsType { /** Sas */ Sas = "Sas", /** ServicePrincipal */ - ServicePrincipal = "ServicePrincipal" + ServicePrincipal = "ServicePrincipal", + /** KerberosKeytab */ + KerberosKeytab = "KerberosKeytab", + /** KerberosPassword */ + KerberosPassword = "KerberosPassword" } /** @@ -5279,7 +7179,9 @@ export enum KnownCredentialsType { * **Certificate** \ * **None** \ * **Sas** \ - * **ServicePrincipal** + * **ServicePrincipal** \ + * **KerberosKeytab** \ + * **KerberosPassword** */ export type CredentialsType = string; @@ -5292,7 +7194,9 @@ export enum KnownDatastoreType { /** AzureDataLakeGen2 */ AzureDataLakeGen2 = "AzureDataLakeGen2", /** AzureFile */ - AzureFile = "AzureFile" + AzureFile = "AzureFile", + /** Hdfs */ + Hdfs = "Hdfs" } /** @@ -5303,7 +7207,8 @@ export enum KnownDatastoreType { * **AzureBlob** \ * **AzureDataLakeGen1** \ * **AzureDataLakeGen2** \ - * **AzureFile** + * **AzureFile** \ + * **Hdfs** */ export type DatastoreType = string; @@ -5316,7 +7221,11 @@ export enum KnownSecretsType { /** Sas */ Sas = "Sas", /** ServicePrincipal */ - ServicePrincipal = "ServicePrincipal" + ServicePrincipal = "ServicePrincipal", + /** KerberosPassword */ + KerberosPassword = "KerberosPassword", + /** KerberosKeytab */ + KerberosKeytab = "KerberosKeytab" } /** @@ -5327,108 +7236,167 @@ export enum KnownSecretsType { * **AccountKey** \ * **Certificate** \ * **Sas** \ - * **ServicePrincipal** + * **ServicePrincipal** \ + * **KerberosPassword** \ + * **KerberosKeytab** */ export type SecretsType = string; -/** Known values of {@link AutoRebuildSetting} that the service accepts. */ -export enum KnownAutoRebuildSetting { - /** Disabled */ - Disabled = "Disabled", - /** OnBaseImageUpdate */ - OnBaseImageUpdate = "OnBaseImageUpdate" +/** Known values of {@link EmailNotificationEnableType} that the service accepts. */ +export enum KnownEmailNotificationEnableType { + /** JobCompleted */ + JobCompleted = "JobCompleted", + /** JobFailed */ + JobFailed = "JobFailed", + /** JobCancelled */ + JobCancelled = "JobCancelled" } /** - * Defines values for AutoRebuildSetting. \ - * {@link KnownAutoRebuildSetting} can be used interchangeably with AutoRebuildSetting, + * Defines values for EmailNotificationEnableType. \ + * {@link KnownEmailNotificationEnableType} can be used interchangeably with EmailNotificationEnableType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Disabled** \ - * **OnBaseImageUpdate** + * **JobCompleted** \ + * **JobFailed** \ + * **JobCancelled** */ -export type AutoRebuildSetting = string; +export type EmailNotificationEnableType = string; -/** Known values of {@link EnvironmentType} that the service accepts. */ -export enum KnownEnvironmentType { - /** Curated */ - Curated = "Curated", - /** UserCreated */ - UserCreated = "UserCreated" +/** 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 EnvironmentType. \ - * {@link KnownEnvironmentType} can be used interchangeably with EnvironmentType, + * 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 - * **Curated** \ - * **UserCreated** + * **Minute**: Minute frequency \ + * **Hour**: Hour frequency \ + * **Day**: Day frequency \ + * **Week**: Week frequency \ + * **Month**: Month frequency */ -export type EnvironmentType = string; +export type RecurrenceFrequency = string; -/** Known values of {@link OperatingSystemType} that the service accepts. */ -export enum KnownOperatingSystemType { - /** Linux */ - Linux = "Linux", - /** Windows */ - Windows = "Windows" +/** 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 OperatingSystemType. \ - * {@link KnownOperatingSystemType} can be used interchangeably with OperatingSystemType, + * 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 - * **Linux** \ - * **Windows** + * **Monday**: Monday weekday \ + * **Tuesday**: Tuesday weekday \ + * **Wednesday**: Wednesday weekday \ + * **Thursday**: Thursday weekday \ + * **Friday**: Friday weekday \ + * **Saturday**: Saturday weekday \ + * **Sunday**: Sunday weekday */ -export type OperatingSystemType = string; +export type WeekDay = string; -/** Known values of {@link IdentityConfigurationType} that the service accepts. */ -export enum KnownIdentityConfigurationType { - /** Managed */ - Managed = "Managed", - /** AMLToken */ - AMLToken = "AMLToken", - /** UserIdentity */ - UserIdentity = "UserIdentity" +/** Known values of {@link TriggerType} that the service accepts. */ +export enum KnownTriggerType { + /** Recurrence */ + Recurrence = "Recurrence", + /** Cron */ + Cron = "Cron" } /** - * Defines values for IdentityConfigurationType. \ - * {@link KnownIdentityConfigurationType} can be used interchangeably with IdentityConfigurationType, + * 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 - * **Managed** \ - * **AMLToken** \ - * **UserIdentity** + * **Recurrence** \ + * **Cron** */ -export type IdentityConfigurationType = string; +export type TriggerType = string; -/** Known values of {@link JobType} that the service accepts. */ -export enum KnownJobType { - /** AutoML */ - AutoML = "AutoML", - /** Command */ - Command = "Command", - /** Sweep */ - Sweep = "Sweep", - /** Pipeline */ - Pipeline = "Pipeline" +/** Known values of {@link MaterializationStoreType} that the service accepts. */ +export enum KnownMaterializationStoreType { + /** None */ + None = "None", + /** Online */ + Online = "Online", + /** Offline */ + Offline = "Offline", + /** OnlineAndOffline */ + OnlineAndOffline = "OnlineAndOffline" } /** - * Defines values for JobType. \ - * {@link KnownJobType} can be used interchangeably with JobType, + * Defines values for MaterializationStoreType. \ + * {@link KnownMaterializationStoreType} can be used interchangeably with MaterializationStoreType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AutoML** \ - * **Command** \ - * **Sweep** \ - * **Pipeline** + * **None** \ + * **Online** \ + * **Offline** \ + * **OnlineAndOffline** + */ +export type MaterializationStoreType = string; + +/** Known values of {@link FeatureDataType} that the service accepts. */ +export enum KnownFeatureDataType { + /** String */ + String = "String", + /** Integer */ + Integer = "Integer", + /** Long */ + Long = "Long", + /** Float */ + Float = "Float", + /** Double */ + Double = "Double", + /** Binary */ + Binary = "Binary", + /** Datetime */ + Datetime = "Datetime" +} + +/** + * Defines values for FeatureDataType. \ + * {@link KnownFeatureDataType} can be used interchangeably with FeatureDataType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **String** \ + * **Integer** \ + * **Long** \ + * **Float** \ + * **Double** \ + * **Binary** \ + * **Datetime** */ -export type JobType = string; +export type FeatureDataType = string; /** Known values of {@link JobStatus} that the service accepts. */ export enum KnownJobStatus { @@ -5462,7 +7430,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" } /** @@ -5484,10 +7454,356 @@ 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 FeaturestoreJobType} that the service accepts. */ +export enum KnownFeaturestoreJobType { + /** RecurrentMaterialization */ + RecurrentMaterialization = "RecurrentMaterialization", + /** BackfillMaterialization */ + BackfillMaterialization = "BackfillMaterialization" +} + +/** + * Defines values for FeaturestoreJobType. \ + * {@link KnownFeaturestoreJobType} can be used interchangeably with FeaturestoreJobType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **RecurrentMaterialization** \ + * **BackfillMaterialization** + */ +export type FeaturestoreJobType = string; + +/** Known values of {@link IdentityConfigurationType} that the service accepts. */ +export enum KnownIdentityConfigurationType { + /** Managed */ + Managed = "Managed", + /** AMLToken */ + AMLToken = "AMLToken", + /** UserIdentity */ + UserIdentity = "UserIdentity" +} + +/** + * Defines values for IdentityConfigurationType. \ + * {@link KnownIdentityConfigurationType} can be used interchangeably with IdentityConfigurationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Managed** \ + * **AMLToken** \ + * **UserIdentity** + */ +export type IdentityConfigurationType = string; + +/** Known values of {@link JobType} that the service accepts. */ +export enum KnownJobType { + /** AutoML */ + AutoML = "AutoML", + /** Command */ + Command = "Command", + /** Labeling */ + Labeling = "Labeling", + /** Sweep */ + Sweep = "Sweep", + /** Pipeline */ + Pipeline = "Pipeline", + /** Spark */ + Spark = "Spark" +} + +/** + * Defines values for JobType. \ + * {@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** \ + * **Spark** + */ +export type JobType = string; + +/** Known values of {@link NodesValueType} that the service accepts. */ +export enum KnownNodesValueType { + /** All */ + All = "All", + /** Custom */ + Custom = "Custom" +} + +/** + * Defines values for NodesValueType. \ + * {@link KnownNodesValueType} can be used interchangeably with NodesValueType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **All** \ + * **Custom** + */ +export type NodesValueType = string; + +/** Known values of {@link IncrementalDataRefresh} that the service accepts. */ +export enum KnownIncrementalDataRefresh { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled" +} + +/** + * Defines values for IncrementalDataRefresh. \ + * {@link KnownIncrementalDataRefresh} can be used interchangeably with IncrementalDataRefresh, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Enabled** \ + * **Disabled** + */ +export type IncrementalDataRefresh = string; + +/** Known values of {@link MultiSelect} that the service accepts. */ +export enum KnownMultiSelect { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled" +} + +/** + * Defines values for MultiSelect. \ + * {@link KnownMultiSelect} can be used interchangeably with MultiSelect, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Enabled** \ + * **Disabled** + */ +export type MultiSelect = string; + +/** Known values of {@link MediaType} that the service accepts. */ +export enum KnownMediaType { + /** Image */ + Image = "Image", + /** Text */ + Text = "Text" +} + +/** + * 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 = "Enabled", + /** Disabled */ + 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 = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Canceled */ + Canceled = "Canceled", + /** InProgress */ + 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 = "Error", + /** Information */ + Information = "Information", + /** Warning */ + 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 = "Dataset", + /** Coco */ + Coco = "Coco", + /** CSV */ + 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 PackageBuildState} that the service accepts. */ +export enum KnownPackageBuildState { + /** NotStarted */ + NotStarted = "NotStarted", + /** Running */ + Running = "Running", + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed" +} + +/** + * Defines values for PackageBuildState. \ + * {@link KnownPackageBuildState} can be used interchangeably with PackageBuildState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **NotStarted** \ + * **Running** \ + * **Succeeded** \ + * **Failed** + */ +export type PackageBuildState = string; + +/** Known values of {@link BaseEnvironmentSourceType} that the service accepts. */ +export enum KnownBaseEnvironmentSourceType { + /** EnvironmentAsset */ + EnvironmentAsset = "EnvironmentAsset" +} + +/** + * Defines values for BaseEnvironmentSourceType. \ + * {@link KnownBaseEnvironmentSourceType} can be used interchangeably with BaseEnvironmentSourceType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **EnvironmentAsset** + */ +export type BaseEnvironmentSourceType = string; + +/** Known values of {@link InferencingServerType} that the service accepts. */ +export enum KnownInferencingServerType { + /** AzureMLOnline */ + AzureMLOnline = "AzureMLOnline", + /** AzureMLBatch */ + AzureMLBatch = "AzureMLBatch", + /** Triton */ + Triton = "Triton", + /** Custom */ + Custom = "Custom" +} + +/** + * Defines values for InferencingServerType. \ + * {@link KnownInferencingServerType} can be used interchangeably with InferencingServerType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AzureMLOnline** \ + * **AzureMLBatch** \ + * **Triton** \ + * **Custom** + */ +export type InferencingServerType = string; + +/** Known values of {@link PackageInputType} that the service accepts. */ +export enum KnownPackageInputType { + /** UriFile */ + UriFile = "UriFile", + /** UriFolder */ + UriFolder = "UriFolder" +} + +/** + * Defines values for PackageInputType. \ + * {@link KnownPackageInputType} can be used interchangeably with PackageInputType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **UriFile** \ + * **UriFolder** + */ +export type PackageInputType = string; + +/** Known values of {@link PackageInputDeliveryMode} that the service accepts. */ +export enum KnownPackageInputDeliveryMode { + /** ReadOnlyMount */ + ReadOnlyMount = "ReadOnlyMount", + /** Download */ + Download = "Download" +} + +/** + * Defines values for PackageInputDeliveryMode. \ + * {@link KnownPackageInputDeliveryMode} can be used interchangeably with PackageInputDeliveryMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ReadOnlyMount** \ + * **Download** + */ +export type PackageInputDeliveryMode = string; + +/** Known values of {@link InputPathType} that the service accepts. */ +export enum KnownInputPathType { + /** Url */ + Url = "Url", + /** PathId */ + PathId = "PathId", + /** PathVersion */ + PathVersion = "PathVersion" +} + +/** + * Defines values for InputPathType. \ + * {@link KnownInputPathType} can be used interchangeably with InputPathType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Url** \ + * **PathId** \ + * **PathVersion** + */ +export type InputPathType = string; + /** Known values of {@link EndpointComputeType} that the service accepts. */ export enum KnownEndpointComputeType { /** Managed */ @@ -5589,10 +7905,12 @@ export type ScaleType = string; /** Known values of {@link ContainerType} that the service accepts. */ export enum KnownContainerType { - /** StorageInitializer */ + /** The container used to download models and score script. */ StorageInitializer = "StorageInitializer", - /** InferenceServer */ - InferenceServer = "InferenceServer" + /** The container used to serve user's request. */ + InferenceServer = "InferenceServer", + /** The container used to collect payload and custom logging when mdc is enabled. */ + ModelDataCollector = "ModelDataCollector" } /** @@ -5600,8 +7918,9 @@ export enum KnownContainerType { * {@link KnownContainerType} can be used interchangeably with ContainerType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **StorageInitializer** \ - * **InferenceServer** + * **StorageInitializer**: The container used to download models and score script. \ + * **InferenceServer**: The container used to serve user's request. \ + * **ModelDataCollector**: The container used to collect payload and custom logging when mdc is enabled. */ export type ContainerType = string; @@ -5713,32 +8032,14 @@ export enum KnownScheduleProvisioningStatus { */ export type ScheduleProvisioningStatus = string; -/** Known values of {@link TriggerType} that the service accepts. */ -export enum KnownTriggerType { - /** Recurrence */ - Recurrence = "Recurrence", - /** Cron */ - 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" +/** Known values of {@link ClusterPurpose} that the service accepts. */ +export enum KnownClusterPurpose { + /** FastProd */ + FastProd = "FastProd", + /** DenseProd */ + DenseProd = "DenseProd", + /** DevTest */ + DevTest = "DevTest" } /** @@ -5884,6 +8185,24 @@ export enum KnownApplicationSharingPolicy { */ export type ApplicationSharingPolicy = string; +/** Known values of {@link MlflowAutologger} that the service accepts. */ +export enum KnownMlflowAutologger { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled" +} + +/** + * Defines values for MlflowAutologger. \ + * {@link KnownMlflowAutologger} can be used interchangeably with MlflowAutologger, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Enabled** \ + * **Disabled** + */ +export type MlflowAutologger = string; + /** Known values of {@link SshPublicAccess} that the service accepts. */ export enum KnownSshPublicAccess { /** Enabled */ @@ -6118,66 +8437,6 @@ export enum KnownComputePowerAction { */ export type ComputePowerAction = 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 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 ScheduleProvisioningState} that the service accepts. */ export enum KnownScheduleProvisioningState { /** Completed */ @@ -6381,7 +8640,9 @@ export enum KnownOutputDeliveryMode { /** ReadWriteMount */ ReadWriteMount = "ReadWriteMount", /** Upload */ - Upload = "Upload" + Upload = "Upload", + /** Direct */ + Direct = "Direct" } /** @@ -6390,7 +8651,8 @@ export enum KnownOutputDeliveryMode { * this enum contains the known values that the service supports. * ### Known values supported by the service * **ReadWriteMount** \ - * **Upload** + * **Upload** \ + * **Direct** */ export type OutputDeliveryMode = string; @@ -6412,6 +8674,24 @@ export enum KnownForecastHorizonMode { */ export type ForecastHorizonMode = string; +/** Known values of {@link MLFlowAutologgerState} that the service accepts. */ +export enum KnownMLFlowAutologgerState { + /** Enabled */ + Enabled = "Enabled", + /** Disabled */ + Disabled = "Disabled" +} + +/** + * Defines values for MLFlowAutologgerState. \ + * {@link KnownMLFlowAutologgerState} can be used interchangeably with MLFlowAutologgerState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Enabled** \ + * **Disabled** + */ +export type MLFlowAutologgerState = string; + /** Known values of {@link JobOutputType} that the service accepts. */ export enum KnownJobOutputType { /** UriFile */ @@ -6442,6 +8722,30 @@ export enum KnownJobOutputType { */ export type JobOutputType = string; +/** Known values of {@link JobTier} that the service accepts. */ +export enum KnownJobTier { + /** Spot */ + Spot = "Spot", + /** Basic */ + Basic = "Basic", + /** Standard */ + Standard = "Standard", + /** Premium */ + Premium = "Premium" +} + +/** + * Defines values for JobTier. \ + * {@link KnownJobTier} can be used interchangeably with JobTier, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Spot** \ + * **Basic** \ + * **Standard** \ + * **Premium** + */ +export type JobTier = string; + /** Known values of {@link LogVerbosity} that the service accepts. */ export enum KnownLogVerbosity { /** No logs emitted. */ @@ -6799,7 +9103,7 @@ export enum KnownClassificationModels { 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 "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", @@ -6837,7 +9141,7 @@ export enum KnownClassificationModels { * **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 "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. \ @@ -6882,6 +9186,27 @@ export enum KnownStackMetaLearnerType { */ export type StackMetaLearnerType = string; +/** Known values of {@link TrainingMode} that the service accepts. */ +export enum KnownTrainingMode { + /** Auto mode */ + Auto = "Auto", + /** Distributed training mode */ + Distributed = "Distributed", + /** Non distributed training mode */ + NonDistributed = "NonDistributed" +} + +/** + * Defines values for TrainingMode. \ + * {@link KnownTrainingMode} can be used interchangeably with TrainingMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Auto**: Auto mode \ + * **Distributed**: Distributed training mode \ + * **NonDistributed**: Non distributed training mode + */ +export type TrainingMode = string; + /** Known values of {@link BlockedTransformers} that the service accepts. */ export enum KnownBlockedTransformers { /** Target encoding for text data. */ @@ -7151,7 +9476,7 @@ export enum KnownForecastingModels { 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 "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", @@ -7191,7 +9516,7 @@ export enum KnownForecastingModels { * 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 "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. \ @@ -7377,6 +9702,78 @@ export enum KnownObjectDetectionPrimaryMetrics { */ export type ObjectDetectionPrimaryMetrics = string; +/** Known values of {@link ImageAnnotationType} that the service accepts. */ +export enum KnownImageAnnotationType { + /** Classification */ + Classification = "Classification", + /** BoundingBox */ + BoundingBox = "BoundingBox", + /** InstanceSegmentation */ + InstanceSegmentation = "InstanceSegmentation" +} + +/** + * 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 + * **Classification** \ + * **BoundingBox** \ + * **InstanceSegmentation** + */ +export type ImageAnnotationType = string; + +/** Known values of {@link TextAnnotationType} that the service accepts. */ +export enum KnownTextAnnotationType { + /** Classification */ + Classification = "Classification", + /** NamedEntityRecognition */ + NamedEntityRecognition = "NamedEntityRecognition" +} + +/** + * 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 + * **Classification** \ + * **NamedEntityRecognition** + */ +export type TextAnnotationType = string; + +/** Known values of {@link NlpLearningRateScheduler} that the service accepts. */ +export enum KnownNlpLearningRateScheduler { + /** No learning rate schedule. */ + None = "None", + /** Linear warmup and decay. */ + Linear = "Linear", + /** Linear warmup then cosine decay. */ + Cosine = "Cosine", + /** Linear warmup, cosine decay, then restart to initial LR. */ + CosineWithRestarts = "CosineWithRestarts", + /** Increase linearly then polynomially decay. */ + Polynomial = "Polynomial", + /** Constant learning rate. */ + Constant = "Constant", + /** Linear warmup followed by constant value. */ + ConstantWithWarmup = "ConstantWithWarmup" +} + +/** + * Defines values for NlpLearningRateScheduler. \ + * {@link KnownNlpLearningRateScheduler} can be used interchangeably with NlpLearningRateScheduler, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None**: No learning rate schedule. \ + * **Linear**: Linear warmup and decay. \ + * **Cosine**: Linear warmup then cosine decay. \ + * **CosineWithRestarts**: Linear warmup, cosine decay, then restart to initial LR. \ + * **Polynomial**: Increase linearly then polynomially decay. \ + * **Constant**: Constant learning rate. \ + * **ConstantWithWarmup**: Linear warmup followed by constant value. + */ +export type NlpLearningRateScheduler = string; + /** Known values of {@link Goal} that the service accepts. */ export enum KnownGoal { /** Minimize */ @@ -7463,7 +9860,7 @@ export enum KnownRegressionModels { 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 "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", @@ -7491,13 +9888,31 @@ export enum KnownRegressionModels { * 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 "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 = "SparkJobPythonEntry", + /** SparkJobScalaEntry */ + 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"; @@ -7640,20 +10055,14 @@ export type WorkspacesListOutboundNetworkDependenciesEndpointsResponse = Externa /** Optional parameters. */ export interface WorkspacesListByResourceGroupNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listByResourceGroupNext operation. */ export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult; /** Optional parameters. */ export interface WorkspacesListBySubscriptionNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listBySubscriptionNext operation. */ export type WorkspacesListBySubscriptionNextResponse = WorkspaceListResult; @@ -7661,60 +10070,496 @@ export type WorkspacesListBySubscriptionNextResponse = WorkspaceListResult; /** Optional parameters. */ export interface UsagesListOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type UsagesListResponse = ListUsagesResult; +/** Contains response data for the list operation. */ +export type UsagesListResponse = ListUsagesResult; + +/** Optional parameters. */ +export interface UsagesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type UsagesListNextResponse = ListUsagesResult; + +/** Optional parameters. */ +export interface VirtualMachineSizesListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type VirtualMachineSizesListResponse = VirtualMachineSizeListResult; + +/** Optional parameters. */ +export interface QuotasUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the update operation. */ +export type QuotasUpdateResponse = UpdateWorkspaceQuotasResult; + +/** Optional parameters. */ +export interface QuotasListOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type QuotasListResponse = ListWorkspaceQuotas; + +/** Optional parameters. */ +export interface QuotasListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type QuotasListNextResponse = ListWorkspaceQuotas; + +/** Optional parameters. */ +export interface ComputeListOptionalParams extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; +} + +/** Contains response data for the list operation. */ +export type ComputeListResponse = PaginatedComputeResourcesList; + +/** Optional parameters. */ +export interface ComputeGetOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type ComputeGetResponse = ComputeResource; + +/** Optional parameters. */ +export interface ComputeCreateOrUpdateOptionalParams + 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 ComputeCreateOrUpdateResponse = ComputeResource; + +/** Optional parameters. */ +export interface ComputeUpdateOptionalParams + 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 update operation. */ +export type ComputeUpdateResponse = ComputeResource; + +/** Optional parameters. */ +export interface ComputeDeleteOptionalParams + 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 ComputeUpdateCustomServicesOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface ComputeListNodesOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNodes operation. */ +export type ComputeListNodesResponse = AmlComputeNodesInformation; + +/** Optional parameters. */ +export interface ComputeListKeysOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listKeys operation. */ +export type ComputeListKeysResponse = ComputeSecretsUnion; + +/** Optional parameters. */ +export interface ComputeStartOptionalParams + 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 ComputeStopOptionalParams 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 ComputeRestartOptionalParams + 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 ComputeUpdateIdleShutdownSettingOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface ComputeListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type ComputeListNextResponse = PaginatedComputeResourcesList; + +/** Optional parameters. */ +export interface ComputeListNodesNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNodesNext operation. */ +export type ComputeListNodesNextResponse = AmlComputeNodesInformation; + +/** Optional parameters. */ +export interface PrivateEndpointConnectionsListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult; + +/** Optional parameters. */ +export interface PrivateEndpointConnectionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection; + +/** Optional parameters. */ +export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection; + +/** Optional parameters. */ +export interface PrivateEndpointConnectionsDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface PrivateLinkResourcesListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult; + +/** Optional parameters. */ +export interface WorkspaceConnectionsCreateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the create operation. */ +export type WorkspaceConnectionsCreateResponse = WorkspaceConnectionPropertiesV2BasicResource; + +/** Optional parameters. */ +export interface WorkspaceConnectionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type WorkspaceConnectionsGetResponse = WorkspaceConnectionPropertiesV2BasicResource; + +/** Optional parameters. */ +export interface WorkspaceConnectionsDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface WorkspaceConnectionsListOptionalParams + extends coreClient.OperationOptions { + /** Target of the workspace connection. */ + target?: string; + /** Category of the workspace connection. */ + category?: string; +} + +/** Contains response data for the list operation. */ +export type WorkspaceConnectionsListResponse = WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface WorkspaceConnectionsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type WorkspaceConnectionsListNextResponse = WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryCodeContainersListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; +} + +/** Contains response data for the list operation. */ +export type RegistryCodeContainersListResponse = CodeContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryCodeContainersDeleteOptionalParams + 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 RegistryCodeContainersGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type RegistryCodeContainersGetResponse = CodeContainer; + +/** Optional parameters. */ +export interface RegistryCodeContainersCreateOrUpdateOptionalParams + 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 RegistryCodeContainersCreateOrUpdateResponse = CodeContainer; + +/** Optional parameters. */ +export interface RegistryCodeContainersListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RegistryCodeContainersListNextResponse = CodeContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryCodeVersionsListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Ordering of list. */ + orderBy?: string; + /** Maximum number of records to return. */ + top?: number; +} + +/** Contains response data for the list operation. */ +export type RegistryCodeVersionsListResponse = CodeVersionResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryCodeVersionsDeleteOptionalParams + 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 RegistryCodeVersionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type RegistryCodeVersionsGetResponse = CodeVersion; + +/** Optional parameters. */ +export interface RegistryCodeVersionsCreateOrUpdateOptionalParams + 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 RegistryCodeVersionsCreateOrUpdateResponse = CodeVersion; + +/** Optional parameters. */ +export interface RegistryCodeVersionsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RegistryCodeVersionsListNextResponse = CodeVersionResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryComponentContainersListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; +} + +/** Contains response data for the list operation. */ +export type RegistryComponentContainersListResponse = ComponentContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryComponentContainersDeleteOptionalParams + 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 RegistryComponentContainersGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type RegistryComponentContainersGetResponse = ComponentContainer; + +/** Optional parameters. */ +export interface RegistryComponentContainersCreateOrUpdateOptionalParams + 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 RegistryComponentContainersCreateOrUpdateResponse = ComponentContainer; + +/** Optional parameters. */ +export interface RegistryComponentContainersListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RegistryComponentContainersListNextResponse = ComponentContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryComponentVersionsListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Ordering of list. */ + orderBy?: string; + /** Maximum number of records to return. */ + top?: number; +} + +/** Contains response data for the list operation. */ +export type RegistryComponentVersionsListResponse = ComponentVersionResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryComponentVersionsDeleteOptionalParams + 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 RegistryComponentVersionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type RegistryComponentVersionsGetResponse = ComponentVersion; + +/** Optional parameters. */ +export interface RegistryComponentVersionsCreateOrUpdateOptionalParams + 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 RegistryComponentVersionsCreateOrUpdateResponse = ComponentVersion; /** Optional parameters. */ -export interface UsagesListNextOptionalParams +export interface RegistryComponentVersionsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type UsagesListNextResponse = ListUsagesResult; +export type RegistryComponentVersionsListNextResponse = ComponentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface VirtualMachineSizesListOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryDataContainersListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; +} /** Contains response data for the list operation. */ -export type VirtualMachineSizesListResponse = VirtualMachineSizeListResult; +export type RegistryDataContainersListResponse = DataContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface QuotasUpdateOptionalParams +export interface RegistryDataContainersDeleteOptionalParams + 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 RegistryDataContainersGetOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the update operation. */ -export type QuotasUpdateResponse = UpdateWorkspaceQuotasResult; +/** Contains response data for the get operation. */ +export type RegistryDataContainersGetResponse = DataContainer; /** Optional parameters. */ -export interface QuotasListOptionalParams extends coreClient.OperationOptions {} +export interface RegistryDataContainersCreateOrUpdateOptionalParams + 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 list operation. */ -export type QuotasListResponse = ListWorkspaceQuotas; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryDataContainersCreateOrUpdateResponse = DataContainer; /** Optional parameters. */ -export interface QuotasListNextOptionalParams +export interface RegistryDataContainersListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type QuotasListNextResponse = ListWorkspaceQuotas; +export type RegistryDataContainersListNextResponse = DataContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComputeListOptionalParams extends coreClient.OperationOptions { +export interface RegistryDataVersionsListOptionalParams + extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; + /** Please choose OrderBy value from ['createdtime', 'modifiedtime'] */ + orderBy?: string; + /** + * Top count of results, top count cannot be greater than the page size. + * If topCount > page size, results with be default page size count will be returned + */ + top?: number; + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; } /** Contains response data for the list operation. */ -export type ComputeListResponse = PaginatedComputeResourcesList; +export type RegistryDataVersionsListResponse = DataVersionBaseResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComputeGetOptionalParams extends coreClient.OperationOptions {} +export interface RegistryDataVersionsDeleteOptionalParams + 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 RegistryDataVersionsGetOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type ComputeGetResponse = ComputeResource; +export type RegistryDataVersionsGetResponse = DataVersionBase; /** Optional parameters. */ -export interface ComputeCreateOrUpdateOptionalParams +export interface RegistryDataVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -7723,10 +10568,29 @@ export interface ComputeCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type ComputeCreateOrUpdateResponse = ComputeResource; +export type RegistryDataVersionsCreateOrUpdateResponse = DataVersionBase; /** Optional parameters. */ -export interface ComputeUpdateOptionalParams +export interface RegistryDataVersionsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type RegistryDataVersionsListNextResponse = DataVersionBaseResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryEnvironmentContainersListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; +} + +/** Contains response data for the list operation. */ +export type RegistryEnvironmentContainersListResponse = EnvironmentContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistryEnvironmentContainersDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -7734,11 +10598,15 @@ export interface ComputeUpdateOptionalParams resumeFrom?: string; } -/** Contains response data for the update operation. */ -export type ComputeUpdateResponse = ComputeResource; +/** Optional parameters. */ +export interface RegistryEnvironmentContainersGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type RegistryEnvironmentContainersGetResponse = EnvironmentContainer; /** Optional parameters. */ -export interface ComputeDeleteOptionalParams +export interface RegistryEnvironmentContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -7746,22 +10614,34 @@ export interface ComputeDeleteOptionalParams resumeFrom?: string; } +/** Contains response data for the createOrUpdate operation. */ +export type RegistryEnvironmentContainersCreateOrUpdateResponse = EnvironmentContainer; + /** Optional parameters. */ -export interface ComputeListNodesOptionalParams +export interface RegistryEnvironmentContainersListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNodes operation. */ -export type ComputeListNodesResponse = AmlComputeNodesInformation; +/** Contains response data for the listNext operation. */ +export type RegistryEnvironmentContainersListNextResponse = EnvironmentContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComputeListKeysOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryEnvironmentVersionsListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Ordering of list. */ + orderBy?: string; + /** Maximum number of records to return. */ + top?: number; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; +} -/** Contains response data for the listKeys operation. */ -export type ComputeListKeysResponse = ComputeSecretsUnion; +/** Contains response data for the list operation. */ +export type RegistryEnvironmentVersionsListResponse = EnvironmentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface ComputeStartOptionalParams +export interface RegistryEnvironmentVersionsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -7770,15 +10650,14 @@ export interface ComputeStartOptionalParams } /** Optional parameters. */ -export interface ComputeStopOptionalParams 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; -} +export interface RegistryEnvironmentVersionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type RegistryEnvironmentVersionsGetResponse = EnvironmentVersion; /** Optional parameters. */ -export interface ComputeRestartOptionalParams +export interface RegistryEnvironmentVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; @@ -7786,96 +10665,121 @@ export interface ComputeRestartOptionalParams resumeFrom?: string; } -/** Optional parameters. */ -export interface ComputeListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; -} - -/** Contains response data for the listNext operation. */ -export type ComputeListNextResponse = PaginatedComputeResourcesList; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryEnvironmentVersionsCreateOrUpdateResponse = EnvironmentVersion; /** Optional parameters. */ -export interface ComputeListNodesNextOptionalParams +export interface RegistryEnvironmentVersionsListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNodesNext operation. */ -export type ComputeListNodesNextResponse = AmlComputeNodesInformation; +/** Contains response data for the listNext operation. */ +export type RegistryEnvironmentVersionsListNextResponse = EnvironmentVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface PrivateEndpointConnectionsListOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryModelContainersListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; +} /** Contains response data for the list operation. */ -export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult; +export type RegistryModelContainersListResponse = ModelContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface PrivateEndpointConnectionsGetOptionalParams +export interface RegistryModelContainersDeleteOptionalParams + 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 RegistryModelContainersGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection; +export type RegistryModelContainersGetResponse = ModelContainer; /** Optional parameters. */ -export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryModelContainersCreateOrUpdateOptionalParams + 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 PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection; +export type RegistryModelContainersCreateOrUpdateResponse = ModelContainer; /** Optional parameters. */ -export interface PrivateEndpointConnectionsDeleteOptionalParams +export interface RegistryModelContainersListNextOptionalParams extends coreClient.OperationOptions {} +/** Contains response data for the listNext operation. */ +export type RegistryModelContainersListNextResponse = ModelContainerResourceArmPaginatedResult; + /** Optional parameters. */ -export interface PrivateLinkResourcesListOptionalParams - extends coreClient.OperationOptions {} +export interface RegistryModelVersionsListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Ordering of list. */ + orderBy?: string; + /** Maximum number of records to return. */ + top?: number; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; + /** Version identifier. */ + version?: string; + /** Model description. */ + description?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; + /** Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2 */ + properties?: string; +} /** Contains response data for the list operation. */ -export type PrivateLinkResourcesListResponse = PrivateLinkResourceListResult; +export type RegistryModelVersionsListResponse = ModelVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface WorkspaceConnectionsCreateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the create operation. */ -export type WorkspaceConnectionsCreateResponse = WorkspaceConnectionPropertiesV2BasicResource; +export interface RegistryModelVersionsDeleteOptionalParams + 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 WorkspaceConnectionsGetOptionalParams +export interface RegistryModelVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type WorkspaceConnectionsGetResponse = WorkspaceConnectionPropertiesV2BasicResource; - -/** Optional parameters. */ -export interface WorkspaceConnectionsDeleteOptionalParams - extends coreClient.OperationOptions {} +export type RegistryModelVersionsGetResponse = ModelVersion; /** Optional parameters. */ -export interface WorkspaceConnectionsListOptionalParams +export interface RegistryModelVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { - /** Target of the workspace connection. */ - target?: string; - /** Category of the workspace connection. */ - category?: string; + /** 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 list operation. */ -export type WorkspaceConnectionsListResponse = WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; +/** Contains response data for the createOrUpdate operation. */ +export type RegistryModelVersionsCreateOrUpdateResponse = ModelVersion; /** Optional parameters. */ -export interface WorkspaceConnectionsListNextOptionalParams - extends coreClient.OperationOptions { - /** Target of the workspace connection. */ - target?: string; - /** Category of the workspace connection. */ - category?: string; -} +export interface RegistryModelVersionsListNextOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type WorkspaceConnectionsListNextResponse = WorkspaceConnectionPropertiesV2BasicResourceArmPaginatedResult; +export type RegistryModelVersionsListNextResponse = ModelVersionResourceArmPaginatedResult; /** Optional parameters. */ export interface BatchEndpointsListOptionalParams @@ -7938,12 +10842,7 @@ export type BatchEndpointsListKeysResponse = EndpointAuthKeys; /** Optional parameters. */ export interface BatchEndpointsListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Number of endpoints to be retrieved in a page of results. */ - count?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type BatchEndpointsListNextResponse = BatchEndpointTrackedResourceArmPaginatedResult; @@ -8004,14 +10903,7 @@ export type BatchDeploymentsCreateOrUpdateResponse = BatchDeployment; /** Optional parameters. */ export interface BatchDeploymentsListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Top of list. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type BatchDeploymentsListNextResponse = BatchDeploymentTrackedResourceArmPaginatedResult; @@ -8046,10 +10938,7 @@ export type CodeContainersCreateOrUpdateResponse = CodeContainer; /** Optional parameters. */ export interface CodeContainersListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type CodeContainersListNextResponse = CodeContainerResourceArmPaginatedResult; @@ -8088,14 +10977,7 @@ export type CodeVersionsCreateOrUpdateResponse = CodeVersion; /** Optional parameters. */ export interface CodeVersionsListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Maximum number of records to return. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type CodeVersionsListNextResponse = CodeVersionResourceArmPaginatedResult; @@ -8132,12 +11014,7 @@ export type ComponentContainersCreateOrUpdateResponse = ComponentContainer; /** Optional parameters. */ export interface ComponentContainersListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type ComponentContainersListNextResponse = ComponentContainerResourceArmPaginatedResult; @@ -8178,16 +11055,7 @@ export type ComponentVersionsCreateOrUpdateResponse = ComponentVersion; /** Optional parameters. */ export interface ComponentVersionsListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Maximum number of records to return. */ - top?: number; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type ComponentVersionsListNextResponse = ComponentVersionResourceArmPaginatedResult; @@ -8224,12 +11092,7 @@ export type DataContainersCreateOrUpdateResponse = DataContainer; /** Optional parameters. */ export interface DataContainersListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type DataContainersListNextResponse = DataContainerResourceArmPaginatedResult; @@ -8275,21 +11138,7 @@ export type DataVersionsCreateOrUpdateResponse = DataVersionBase; /** Optional parameters. */ export interface DataVersionsListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Please choose OrderBy value from ['createdtime', 'modifiedtime'] */ - orderBy?: string; - /** - * Top count of results, top count cannot be greater than the page size. - * If topCount > page size, results with be default page size count will be returned - */ - top?: number; - /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; - /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ - tags?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type DataVersionsListNextResponse = DataVersionBaseResourceArmPaginatedResult; @@ -8346,22 +11195,7 @@ export type DatastoresListSecretsResponse = DatastoreSecretsUnion; /** Optional parameters. */ export interface DatastoresListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Maximum number of results to return. */ - count?: number; - /** Filter down to the workspace default datastore. */ - isDefault?: boolean; - /** Names of datastores to return. */ - names?: string[]; - /** Text to search for in the datastore names. */ - searchText?: string; - /** Order by property (createdtime | modifiedtime | name). */ - orderBy?: string; - /** Order by property in ascending order. */ - orderByAsc?: boolean; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type DatastoresListNextResponse = DatastoreResourceArmPaginatedResult; @@ -8394,69 +11228,312 @@ export interface EnvironmentContainersCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type EnvironmentContainersCreateOrUpdateResponse = EnvironmentContainer; +export type EnvironmentContainersCreateOrUpdateResponse = EnvironmentContainer; + +/** Optional parameters. */ +export interface EnvironmentContainersListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type EnvironmentContainersListNextResponse = EnvironmentContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface EnvironmentVersionsListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Ordering of list. */ + orderBy?: string; + /** Maximum number of records to return. */ + top?: number; + /** View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; +} + +/** Contains response data for the list operation. */ +export type EnvironmentVersionsListResponse = EnvironmentVersionResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface EnvironmentVersionsDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface EnvironmentVersionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type EnvironmentVersionsGetResponse = EnvironmentVersion; + +/** Optional parameters. */ +export interface EnvironmentVersionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type EnvironmentVersionsCreateOrUpdateResponse = EnvironmentVersion; + +/** Optional parameters. */ +export interface EnvironmentVersionsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type EnvironmentVersionsListNextResponse = EnvironmentVersionResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface FeaturesetContainersListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; +} + +/** Contains response data for the list operation. */ +export type FeaturesetContainersListResponse = FeaturesetContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface FeaturesetContainersDeleteOptionalParams + 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 FeaturesetContainersGetEntityOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the getEntity operation. */ +export type FeaturesetContainersGetEntityResponse = FeaturesetContainer; + +/** Optional parameters. */ +export interface FeaturesetContainersCreateOrUpdateOptionalParams + 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 FeaturesetContainersCreateOrUpdateResponse = FeaturesetContainer; + +/** Optional parameters. */ +export interface FeaturesetContainersListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type FeaturesetContainersListNextResponse = FeaturesetContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface FeaturesetVersionsListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; +} + +/** Contains response data for the list operation. */ +export type FeaturesetVersionsListResponse = FeaturesetVersionResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface FeaturesetVersionsDeleteOptionalParams + 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 FeaturesetVersionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type FeaturesetVersionsGetResponse = FeaturesetVersion; + +/** Optional parameters. */ +export interface FeaturesetVersionsCreateOrUpdateOptionalParams + 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 FeaturesetVersionsCreateOrUpdateResponse = FeaturesetVersion; + +/** Optional parameters. */ +export interface FeaturesetVersionsBackfillOptionalParams + 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 backfill operation. */ +export type FeaturesetVersionsBackfillResponse = FeaturesetVersionBackfillResponse; + +/** Optional parameters. */ +export interface FeaturesetVersionsGetFeatureOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the getFeature operation. */ +export type FeaturesetVersionsGetFeatureResponse = Feature; + +/** Optional parameters. */ +export interface FeaturesetVersionsListFeaturesOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; +} + +/** Contains response data for the listFeatures operation. */ +export type FeaturesetVersionsListFeaturesResponse = FeatureArmPaginatedResult; + +/** Optional parameters. */ +export interface FeaturesetVersionsListMaterializationJobsOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + filters?: string; + /** Start time of the feature window to filter materialization jobs. */ + featureWindowStart?: string; + /** End time of the feature window to filter materialization jobs. */ + featureWindowEnd?: string; +} + +/** Contains response data for the listMaterializationJobs operation. */ +export type FeaturesetVersionsListMaterializationJobsResponse = FeaturesetJobArmPaginatedResult; + +/** Optional parameters. */ +export interface FeaturesetVersionsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type FeaturesetVersionsListNextResponse = FeaturesetVersionResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface FeaturesetVersionsListFeaturesNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listFeaturesNext operation. */ +export type FeaturesetVersionsListFeaturesNextResponse = FeatureArmPaginatedResult; + +/** Optional parameters. */ +export interface FeaturesetVersionsListMaterializationJobsNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listMaterializationJobsNext operation. */ +export type FeaturesetVersionsListMaterializationJobsNextResponse = FeaturesetJobArmPaginatedResult; + +/** Optional parameters. */ +export interface FeaturestoreEntityContainersListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ + listViewType?: ListViewType; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; +} + +/** Contains response data for the list operation. */ +export type FeaturestoreEntityContainersListResponse = FeaturestoreEntityContainerResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface FeaturestoreEntityContainersDeleteOptionalParams + 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 FeaturestoreEntityContainersGetEntityOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the getEntity operation. */ +export type FeaturestoreEntityContainersGetEntityResponse = FeaturestoreEntityContainer; + +/** Optional parameters. */ +export interface FeaturestoreEntityContainersCreateOrUpdateOptionalParams + 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 FeaturestoreEntityContainersCreateOrUpdateResponse = FeaturestoreEntityContainer; /** Optional parameters. */ -export interface EnvironmentContainersListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; -} +export interface FeaturestoreEntityContainersListNextOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type EnvironmentContainersListNextResponse = EnvironmentContainerResourceArmPaginatedResult; +export type FeaturestoreEntityContainersListNextResponse = FeaturestoreEntityContainerResourceArmPaginatedResult; /** Optional parameters. */ -export interface EnvironmentVersionsListOptionalParams +export interface FeaturestoreEntityVersionsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Maximum number of records to return. */ - top?: number; - /** View type for including/excluding (for example) archived entities. */ + /** [ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities. */ listViewType?: ListViewType; + /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ + tags?: string; } /** Contains response data for the list operation. */ -export type EnvironmentVersionsListResponse = EnvironmentVersionResourceArmPaginatedResult; +export type FeaturestoreEntityVersionsListResponse = FeaturestoreEntityVersionResourceArmPaginatedResult; /** Optional parameters. */ -export interface EnvironmentVersionsDeleteOptionalParams - extends coreClient.OperationOptions {} +export interface FeaturestoreEntityVersionsDeleteOptionalParams + 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 EnvironmentVersionsGetOptionalParams +export interface FeaturestoreEntityVersionsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type EnvironmentVersionsGetResponse = EnvironmentVersion; +export type FeaturestoreEntityVersionsGetResponse = FeaturestoreEntityVersion; /** Optional parameters. */ -export interface EnvironmentVersionsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface FeaturestoreEntityVersionsCreateOrUpdateOptionalParams + 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 EnvironmentVersionsCreateOrUpdateResponse = EnvironmentVersion; +export type FeaturestoreEntityVersionsCreateOrUpdateResponse = FeaturestoreEntityVersion; /** Optional parameters. */ -export interface EnvironmentVersionsListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Maximum number of records to return. */ - top?: number; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; -} +export interface FeaturestoreEntityVersionsListNextOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type EnvironmentVersionsListNextResponse = EnvironmentVersionResourceArmPaginatedResult; +export type FeaturestoreEntityVersionsListNextResponse = FeaturestoreEntityVersionResourceArmPaginatedResult; /** Optional parameters. */ export interface JobsListOptionalParams extends coreClient.OperationOptions { @@ -8468,6 +11545,12 @@ export interface JobsListOptionalParams extends coreClient.OperationOptions { jobType?: string; /** Jobs returned will have this tag key. */ tag?: string; + /** Asset name the job's named output is registered with */ + assetName?: 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. */ @@ -8504,29 +11587,92 @@ export interface JobsCancelOptionalParams extends coreClient.OperationOptions { /** Optional parameters. */ export interface JobsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** 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; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; - /** Type of job to be returned. */ - jobType?: string; - /** Jobs returned will have this tag key. */ - tag?: string; + /** Number of labeling jobs to return. */ + top?: 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 {} + /** Contains response data for the listNext operation. */ -export type JobsListNextResponse = JobBaseResourceArmPaginatedResult; +export type LabelingJobsListNextResponse = LabelingJobResourceArmPaginatedResult; /** Optional parameters. */ export interface ModelContainersListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Maximum number of results to return. */ - count?: number; /** View type for including/excluding (for example) archived entities. */ listViewType?: ListViewType; + /** Maximum number of results to return. */ + count?: number; } /** Contains response data for the list operation. */ @@ -8552,14 +11698,7 @@ export type ModelContainersCreateOrUpdateResponse = ModelContainer; /** Optional parameters. */ export interface ModelContainersListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Maximum number of results to return. */ - count?: number; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type ModelContainersListNextResponse = ModelContainerResourceArmPaginatedResult; @@ -8579,12 +11718,12 @@ export interface ModelVersionsListOptionalParams version?: string; /** Model description. */ description?: string; - /** Number of initial results to skip. */ - offset?: number; /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ tags?: string; /** Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2 */ properties?: string; + /** Number of initial results to skip. */ + offset?: number; /** Name of the feed. */ feed?: string; } @@ -8611,30 +11750,21 @@ export interface ModelVersionsCreateOrUpdateOptionalParams export type ModelVersionsCreateOrUpdateResponse = ModelVersion; /** Optional parameters. */ -export interface ModelVersionsListNextOptionalParams +export interface ModelVersionsPackageOptionalParams extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Maximum number of records to return. */ - top?: number; - /** View type for including/excluding (for example) archived entities. */ - listViewType?: ListViewType; - /** Model version. */ - version?: string; - /** Model description. */ - description?: string; - /** Number of initial results to skip. */ - offset?: number; - /** Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 */ - tags?: string; - /** Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2 */ - properties?: string; - /** Name of the feed. */ - feed?: string; + /** 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 package operation. */ +export type ModelVersionsPackageResponse = PackageResponse; + +/** Optional parameters. */ +export interface ModelVersionsListNextOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the listNext operation. */ export type ModelVersionsListNextResponse = ModelVersionResourceArmPaginatedResult; @@ -8643,12 +11773,12 @@ export interface OnlineEndpointsListOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Number of endpoints to be retrieved in a page of results. */ - count?: number; /** A set of tags with which to filter the returned models. It is a comma separated string of tags key or tags key=value. Example: tagKey1,tagKey2,tagKey3=value3 . */ tags?: string; /** A set of properties with which to filter the returned models. It is a comma separated string of properties key and/or properties key=value Example: propKey1,propKey2,propKey3=value3 . */ properties?: string; + /** Number of endpoints to be retrieved in a page of results. */ + count?: number; /** Name of the endpoint. */ name?: string; /** EndpointComputeType to be filtered by. */ @@ -8725,22 +11855,7 @@ export type OnlineEndpointsGetTokenResponse = EndpointAuthToken; /** Optional parameters. */ export interface OnlineEndpointsListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Number of endpoints to be retrieved in a page of results. */ - count?: number; - /** A set of tags with which to filter the returned models. It is a comma separated string of tags key or tags key=value. Example: tagKey1,tagKey2,tagKey3=value3 . */ - tags?: string; - /** A set of properties with which to filter the returned models. It is a comma separated string of properties key and/or properties key=value Example: propKey1,propKey2,propKey3=value3 . */ - properties?: string; - /** Name of the endpoint. */ - name?: string; - /** EndpointComputeType to be filtered by. */ - computeType?: EndpointComputeType; - /** The option to order the response. */ - orderBy?: OrderString; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type OnlineEndpointsListNextResponse = OnlineEndpointTrackedResourceArmPaginatedResult; @@ -8820,26 +11935,14 @@ export type OnlineDeploymentsListSkusResponse = SkuResourceArmPaginatedResult; /** Optional parameters. */ export interface OnlineDeploymentsListNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Ordering of list. */ - orderBy?: string; - /** Top of list. */ - top?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ export type OnlineDeploymentsListNextResponse = OnlineDeploymentTrackedResourceArmPaginatedResult; /** Optional parameters. */ export interface OnlineDeploymentsListSkusNextOptionalParams - extends coreClient.OperationOptions { - /** Continuation token for pagination. */ - skip?: string; - /** Number of Skus to be retrieved in a page of results. */ - count?: number; -} + extends coreClient.OperationOptions {} /** Contains response data for the listSkusNext operation. */ export type OnlineDeploymentsListSkusNextResponse = SkuResourceArmPaginatedResult; @@ -8886,15 +11989,84 @@ export type SchedulesCreateOrUpdateResponse = Schedule; /** Optional parameters. */ export interface SchedulesListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type SchedulesListNextResponse = ScheduleResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistriesListBySubscriptionOptionalParams extends coreClient.OperationOptions { /** Continuation token for pagination. */ skip?: string; - /** Status filter for schedule. */ - listViewType?: ScheduleListViewType; } +/** Contains response data for the listBySubscription operation. */ +export type RegistriesListBySubscriptionResponse = RegistryTrackedResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistriesListOptionalParams + extends coreClient.OperationOptions { + /** Continuation token for pagination. */ + skip?: string; +} + +/** Contains response data for the list operation. */ +export type RegistriesListResponse = RegistryTrackedResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistriesDeleteOptionalParams + 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 RegistriesGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type RegistriesGetResponse = Registry; + +/** Optional parameters. */ +export interface RegistriesUpdateOptionalParams + 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 update operation. */ +export type RegistriesUpdateResponse = Registry; + +/** Optional parameters. */ +export interface RegistriesCreateOrUpdateOptionalParams + 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 RegistriesCreateOrUpdateResponse = Registry; + +/** Optional parameters. */ +export interface RegistriesListBySubscriptionNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listBySubscriptionNext operation. */ +export type RegistriesListBySubscriptionNextResponse = RegistryTrackedResourceArmPaginatedResult; + +/** Optional parameters. */ +export interface RegistriesListNextOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the listNext operation. */ -export type SchedulesListNextResponse = ScheduleResourceArmPaginatedResult; +export type RegistriesListNextResponse = RegistryTrackedResourceArmPaginatedResult; /** Optional parameters. */ export interface WorkspaceFeaturesListOptionalParams @@ -8911,7 +12083,7 @@ export interface WorkspaceFeaturesListNextOptionalParams export type WorkspaceFeaturesListNextResponse = ListAmlUserFeatureResult; /** Optional parameters. */ -export interface AzureMachineLearningWorkspacesOptionalParams +export interface AzureMachineLearningServicesOptionalParams extends coreClient.ServiceClientOptions { /** server parameter */ $host?: string; diff --git a/sdk/machinelearning/arm-machinelearning/src/models/mappers.ts b/sdk/machinelearning/arm-machinelearning/src/models/mappers.ts index ef591872516f..f90e3501cec5 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" + } } } } @@ -1828,27 +1867,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" } @@ -1857,51 +1953,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" @@ -1911,63 +2035,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" } @@ -1976,75 +2128,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: { @@ -2234,10 +2580,10 @@ export const FqdnEndpointDetail: coreClient.CompositeMapper = { } }; -export const BatchEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const CodeContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointTrackedResourceArmPaginatedResult", + className: "CodeContainerResourceArmPaginatedResult", modelProperties: { nextLink: { serializedName: "nextLink", @@ -2252,7 +2598,7 @@ export const BatchEndpointTrackedResourceArmPaginatedResult: coreClient.Composit element: { type: { name: "Composite", - className: "BatchEndpoint" + className: "CodeContainer" } } } @@ -2261,34 +2607,11 @@ export const BatchEndpointTrackedResourceArmPaginatedResult: coreClient.Composit } }; -export const BatchEndpointDefaults: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "BatchEndpointDefaults", - modelProperties: { - deploymentName: { - serializedName: "deploymentName", - nullable: true, - type: { - name: "String" - } - } - } - } -}; - -export const EndpointPropertiesBase: coreClient.CompositeMapper = { +export const ResourceBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointPropertiesBase", + className: "ResourceBase", modelProperties: { - authMode: { - serializedName: "authMode", - required: true, - type: { - name: "String" - } - }, description: { serializedName: "description", nullable: true, @@ -2296,13 +2619,6 @@ export const EndpointPropertiesBase: coreClient.CompositeMapper = { name: "String" } }, - keys: { - serializedName: "keys", - type: { - name: "Composite", - className: "EndpointAuthKeys" - } - }, properties: { serializedName: "properties", nullable: true, @@ -2311,66 +2627,65 @@ export const EndpointPropertiesBase: coreClient.CompositeMapper = { value: { type: { name: "String" } } } }, - scoringUri: { - serializedName: "scoringUri", - readOnly: true, - nullable: true, - type: { - name: "String" - } - }, - swaggerUri: { - serializedName: "swaggerUri", - readOnly: true, + tags: { + serializedName: "tags", nullable: true, type: { - name: "String" + name: "Dictionary", + value: { type: { name: "String" } } } } } } }; -export const EndpointAuthKeys: coreClient.CompositeMapper = { +export const CodeVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointAuthKeys", + className: "CodeVersionResourceArmPaginatedResult", modelProperties: { - primaryKey: { - serializedName: "primaryKey", - nullable: true, + nextLink: { + serializedName: "nextLink", type: { name: "String" } }, - secondaryKey: { - serializedName: "secondaryKey", - nullable: true, + value: { + serializedName: "value", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CodeVersion" + } + } } } } } }; -export const PartialManagedServiceIdentity: coreClient.CompositeMapper = { +export const ComponentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PartialManagedServiceIdentity", + className: "ComponentContainerResourceArmPaginatedResult", modelProperties: { - type: { - serializedName: "type", + nextLink: { + serializedName: "nextLink", type: { name: "String" } }, - userAssignedIdentities: { - serializedName: "userAssignedIdentities", + value: { + serializedName: "value", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComponentContainer" + } } } } @@ -2378,26 +2693,37 @@ export const PartialManagedServiceIdentity: coreClient.CompositeMapper = { } }; -export const PartialMinimalTrackedResource: coreClient.CompositeMapper = { +export const ComponentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PartialMinimalTrackedResource", + className: "ComponentVersionResourceArmPaginatedResult", modelProperties: { - tags: { - serializedName: "tags", + nextLink: { + serializedName: "nextLink", type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "String" + } + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComponentVersion" + } + } } } } } }; -export const BatchDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const DataContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentTrackedResourceArmPaginatedResult", + className: "DataContainerResourceArmPaginatedResult", modelProperties: { nextLink: { serializedName: "nextLink", @@ -2412,7 +2738,7 @@ export const BatchDeploymentTrackedResourceArmPaginatedResult: coreClient.Compos element: { type: { name: "Composite", - className: "BatchDeployment" + className: "DataContainer" } } } @@ -2421,53 +2747,53 @@ export const BatchDeploymentTrackedResourceArmPaginatedResult: coreClient.Compos } }; -export const AssetReferenceBase: coreClient.CompositeMapper = { +export const DataVersionBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssetReferenceBase", - uberParent: "AssetReferenceBase", - polymorphicDiscriminator: { - serializedName: "referenceType", - clientName: "referenceType" - }, + className: "DataVersionBaseResourceArmPaginatedResult", modelProperties: { - referenceType: { - serializedName: "referenceType", - required: true, + nextLink: { + serializedName: "nextLink", type: { name: "String" } + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataVersionBase" + } + } + } } } } }; -export const ResourceConfiguration: coreClient.CompositeMapper = { +export const EnvironmentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceConfiguration", + className: "EnvironmentContainerResourceArmPaginatedResult", modelProperties: { - instanceCount: { - defaultValue: 1, - serializedName: "instanceCount", - type: { - name: "Number" - } - }, - instanceType: { - serializedName: "instanceType", - nullable: true, + nextLink: { + serializedName: "nextLink", type: { name: "String" } }, - properties: { - serializedName: "properties", - nullable: true, + value: { + serializedName: "value", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EnvironmentContainer" + } } } } @@ -2475,146 +2801,146 @@ export const ResourceConfiguration: coreClient.CompositeMapper = { } }; -export const BatchRetrySettings: coreClient.CompositeMapper = { +export const EnvironmentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchRetrySettings", + className: "EnvironmentVersionResourceArmPaginatedResult", modelProperties: { - maxRetries: { - defaultValue: 3, - serializedName: "maxRetries", + nextLink: { + serializedName: "nextLink", type: { - name: "Number" + name: "String" } }, - timeout: { - defaultValue: "PT30S", - serializedName: "timeout", + value: { + serializedName: "value", type: { - name: "TimeSpan" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EnvironmentVersion" + } + } } } } } }; -export const EndpointDeploymentPropertiesBase: coreClient.CompositeMapper = { +export const BuildContext: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EndpointDeploymentPropertiesBase", + className: "BuildContext", modelProperties: { - codeConfiguration: { - serializedName: "codeConfiguration", + contextUri: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "contextUri", + required: true, type: { - name: "Composite", - className: "CodeConfiguration" + name: "String" } }, - description: { - serializedName: "description", - nullable: true, + dockerfilePath: { + defaultValue: "Dockerfile", + serializedName: "dockerfilePath", type: { name: "String" } - }, - environmentId: { - serializedName: "environmentId", - nullable: true, + } + } + } +}; + +export const InferenceContainerProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "InferenceContainerProperties", + modelProperties: { + livenessRoute: { + serializedName: "livenessRoute", type: { - name: "String" + name: "Composite", + className: "Route" } }, - environmentVariables: { - serializedName: "environmentVariables", - nullable: true, + readinessRoute: { + serializedName: "readinessRoute", type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "Composite", + className: "Route" } }, - properties: { - serializedName: "properties", - nullable: true, + scoringRoute: { + serializedName: "scoringRoute", type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "Composite", + className: "Route" } } } } }; -export const CodeConfiguration: coreClient.CompositeMapper = { +export const Route: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeConfiguration", + className: "Route", modelProperties: { - codeId: { - serializedName: "codeId", - nullable: true, + path: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "path", + required: true, type: { name: "String" } }, - scoringScript: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1 - }, - serializedName: "scoringScript", + port: { + serializedName: "port", required: true, type: { - name: "String" + name: "Number" } } } } }; -export const PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties: coreClient.CompositeMapper = { +export const ModelContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: - "PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties", + className: "ModelContainerResourceArmPaginatedResult", modelProperties: { - properties: { - serializedName: "properties", + nextLink: { + serializedName: "nextLink", type: { - name: "Composite", - className: "PartialBatchDeployment" + name: "String" } }, - tags: { - serializedName: "tags", + value: { + serializedName: "value", type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ModelContainer" + } + } } } } } }; -export const PartialBatchDeployment: coreClient.CompositeMapper = { +export const ModelVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PartialBatchDeployment", - modelProperties: { - description: { - serializedName: "description", - nullable: true, - type: { - name: "String" - } - } - } - } -}; - -export const CodeContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CodeContainerResourceArmPaginatedResult", + className: "ModelVersionResourceArmPaginatedResult", modelProperties: { nextLink: { serializedName: "nextLink", @@ -2629,7 +2955,7 @@ export const CodeContainerResourceArmPaginatedResult: coreClient.CompositeMapper element: { type: { name: "Composite", - className: "CodeContainer" + className: "ModelVersion" } } } @@ -2638,28 +2964,13 @@ export const CodeContainerResourceArmPaginatedResult: coreClient.CompositeMapper } }; -export const ResourceBase: coreClient.CompositeMapper = { +export const FlavorData: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceBase", + className: "FlavorData", modelProperties: { - description: { - serializedName: "description", - nullable: true, - type: { - name: "String" - } - }, - properties: { - serializedName: "properties", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - }, - tags: { - serializedName: "tags", + data: { + serializedName: "data", nullable: true, type: { name: "Dictionary", @@ -2670,10 +2981,10 @@ export const ResourceBase: coreClient.CompositeMapper = { } }; -export const CodeVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const BatchEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeVersionResourceArmPaginatedResult", + className: "BatchEndpointTrackedResourceArmPaginatedResult", modelProperties: { nextLink: { serializedName: "nextLink", @@ -2688,7 +2999,7 @@ export const CodeVersionResourceArmPaginatedResult: coreClient.CompositeMapper = element: { type: { name: "Composite", - className: "CodeVersion" + className: "BatchEndpoint" } } } @@ -2697,107 +3008,116 @@ export const CodeVersionResourceArmPaginatedResult: coreClient.CompositeMapper = } }; -export const ComponentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const BatchEndpointDefaults: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComponentContainerResourceArmPaginatedResult", + className: "BatchEndpointDefaults", modelProperties: { - nextLink: { - serializedName: "nextLink", + deploymentName: { + serializedName: "deploymentName", + nullable: true, type: { name: "String" } - }, - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComponentContainer" - } - } - } } } } }; -export const ComponentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const EndpointPropertiesBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComponentVersionResourceArmPaginatedResult", + className: "EndpointPropertiesBase", modelProperties: { - nextLink: { - serializedName: "nextLink", + authMode: { + serializedName: "authMode", + required: true, type: { name: "String" } }, - value: { - serializedName: "value", + description: { + serializedName: "description", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComponentVersion" - } - } + name: "String" + } + }, + keys: { + serializedName: "keys", + type: { + name: "Composite", + className: "EndpointAuthKeys" + } + }, + properties: { + serializedName: "properties", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + scoringUri: { + serializedName: "scoringUri", + readOnly: true, + nullable: true, + type: { + name: "String" + } + }, + swaggerUri: { + serializedName: "swaggerUri", + readOnly: true, + nullable: true, + type: { + name: "String" } } } } }; -export const DataContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const EndpointAuthKeys: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataContainerResourceArmPaginatedResult", + className: "EndpointAuthKeys", modelProperties: { - nextLink: { - serializedName: "nextLink", + primaryKey: { + serializedName: "primaryKey", + nullable: true, type: { name: "String" } }, - value: { - serializedName: "value", + secondaryKey: { + serializedName: "secondaryKey", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DataContainer" - } - } + name: "String" } } } } }; -export const DataVersionBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const PartialManagedServiceIdentity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataVersionBaseResourceArmPaginatedResult", + className: "PartialManagedServiceIdentity", modelProperties: { - nextLink: { - serializedName: "nextLink", + type: { + serializedName: "type", type: { name: "String" } }, - value: { - serializedName: "value", + userAssignedIdentities: { + serializedName: "userAssignedIdentities", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DataVersionBase" - } + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } } } } @@ -2805,10 +3125,26 @@ export const DataVersionBaseResourceArmPaginatedResult: coreClient.CompositeMapp } }; -export const DatastoreResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const PartialMinimalTrackedResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreResourceArmPaginatedResult", + className: "PartialMinimalTrackedResource", + modelProperties: { + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + } + } + } +}; + +export const BatchDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchDeploymentTrackedResourceArmPaginatedResult", modelProperties: { nextLink: { serializedName: "nextLink", @@ -2823,7 +3159,7 @@ export const DatastoreResourceArmPaginatedResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Datastore" + className: "BatchDeployment" } } } @@ -2832,18 +3168,18 @@ export const DatastoreResourceArmPaginatedResult: coreClient.CompositeMapper = { } }; -export const DatastoreCredentials: coreClient.CompositeMapper = { +export const BatchDeploymentPropertiesAutoGenerated: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreCredentials", - uberParent: "DatastoreCredentials", + className: "BatchDeploymentPropertiesAutoGenerated", + uberParent: "BatchDeploymentPropertiesAutoGenerated", polymorphicDiscriminator: { - serializedName: "credentialsType", - clientName: "credentialsType" + serializedName: "deploymentPropertyType", + clientName: "deploymentPropertyType" }, modelProperties: { - credentialsType: { - serializedName: "credentialsType", + deploymentPropertyType: { + serializedName: "deploymentPropertyType", required: true, type: { name: "String" @@ -2853,18 +3189,18 @@ export const DatastoreCredentials: coreClient.CompositeMapper = { } }; -export const DatastoreSecrets: coreClient.CompositeMapper = { +export const AssetReferenceBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatastoreSecrets", - uberParent: "DatastoreSecrets", + className: "AssetReferenceBase", + uberParent: "AssetReferenceBase", polymorphicDiscriminator: { - serializedName: "secretsType", - clientName: "secretsType" + serializedName: "referenceType", + clientName: "referenceType" }, modelProperties: { - secretsType: { - serializedName: "secretsType", + referenceType: { + serializedName: "referenceType", required: true, type: { name: "String" @@ -2874,146 +3210,191 @@ export const DatastoreSecrets: coreClient.CompositeMapper = { } }; -export const EnvironmentContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const ResourceConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnvironmentContainerResourceArmPaginatedResult", + className: "ResourceConfiguration", modelProperties: { - nextLink: { - serializedName: "nextLink", + instanceCount: { + defaultValue: 1, + serializedName: "instanceCount", + type: { + name: "Number" + } + }, + instanceType: { + serializedName: "instanceType", + nullable: true, type: { name: "String" } }, - value: { - serializedName: "value", + locations: { + serializedName: "locations", + nullable: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "EnvironmentContainer" + name: "String" } } } + }, + properties: { + serializedName: "properties", + nullable: true, + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } + } + } } } } }; -export const EnvironmentVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const BatchRetrySettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnvironmentVersionResourceArmPaginatedResult", + className: "BatchRetrySettings", modelProperties: { - nextLink: { - serializedName: "nextLink", + maxRetries: { + defaultValue: 3, + serializedName: "maxRetries", type: { - name: "String" + name: "Number" } }, - value: { - serializedName: "value", + timeout: { + defaultValue: "PT30S", + serializedName: "timeout", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EnvironmentVersion" - } - } + name: "TimeSpan" } } } } }; -export const BuildContext: coreClient.CompositeMapper = { +export const EndpointDeploymentPropertiesBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BuildContext", + className: "EndpointDeploymentPropertiesBase", modelProperties: { - contextUri: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") - }, - serializedName: "contextUri", - required: true, + codeConfiguration: { + serializedName: "codeConfiguration", + type: { + name: "Composite", + className: "CodeConfiguration" + } + }, + description: { + serializedName: "description", + nullable: true, type: { name: "String" } }, - dockerfilePath: { - defaultValue: "Dockerfile", - serializedName: "dockerfilePath", + environmentId: { + serializedName: "environmentId", + nullable: true, type: { name: "String" } + }, + environmentVariables: { + serializedName: "environmentVariables", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + properties: { + serializedName: "properties", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } } } } }; -export const InferenceContainerProperties: coreClient.CompositeMapper = { +export const CodeConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InferenceContainerProperties", + className: "CodeConfiguration", modelProperties: { - livenessRoute: { - serializedName: "livenessRoute", + codeId: { + serializedName: "codeId", + nullable: true, type: { - name: "Composite", - className: "Route" + name: "String" } }, - readinessRoute: { - serializedName: "readinessRoute", + scoringScript: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1 + }, + serializedName: "scoringScript", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: + "PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties", + modelProperties: { + properties: { + serializedName: "properties", type: { name: "Composite", - className: "Route" + className: "PartialBatchDeployment" } }, - scoringRoute: { - serializedName: "scoringRoute", + tags: { + serializedName: "tags", type: { - name: "Composite", - className: "Route" + name: "Dictionary", + value: { type: { name: "String" } } } } } } }; -export const Route: coreClient.CompositeMapper = { +export const PartialBatchDeployment: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Route", + className: "PartialBatchDeployment", modelProperties: { - path: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") - }, - serializedName: "path", - required: true, + description: { + serializedName: "description", + nullable: true, type: { name: "String" } - }, - port: { - serializedName: "port", - required: true, - type: { - name: "Number" - } } } } }; -export const JobBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const DatastoreResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobBaseResourceArmPaginatedResult", + className: "DatastoreResourceArmPaginatedResult", modelProperties: { nextLink: { serializedName: "nextLink", @@ -3028,7 +3409,7 @@ export const JobBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "JobBase" + className: "Datastore" } } } @@ -3037,18 +3418,18 @@ export const JobBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { } }; -export const IdentityConfiguration: coreClient.CompositeMapper = { +export const DatastoreCredentials: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IdentityConfiguration", - uberParent: "IdentityConfiguration", + className: "DatastoreCredentials", + uberParent: "DatastoreCredentials", polymorphicDiscriminator: { - serializedName: "identityType", - clientName: "identityType" + serializedName: "credentialsType", + clientName: "credentialsType" }, modelProperties: { - identityType: { - serializedName: "identityType", + credentialsType: { + serializedName: "credentialsType", required: true, type: { name: "String" @@ -3058,52 +3439,19 @@ export const IdentityConfiguration: coreClient.CompositeMapper = { } }; -export const JobService: coreClient.CompositeMapper = { +export const DatastoreSecrets: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobService", + className: "DatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: { + serializedName: "secretsType", + clientName: "secretsType" + }, modelProperties: { - endpoint: { - serializedName: "endpoint", - nullable: true, - type: { - name: "String" - } - }, - errorMessage: { - serializedName: "errorMessage", - readOnly: true, - nullable: true, - type: { - name: "String" - } - }, - jobServiceType: { - serializedName: "jobServiceType", - nullable: true, - type: { - name: "String" - } - }, - port: { - serializedName: "port", - nullable: true, - type: { - name: "Number" - } - }, - properties: { - serializedName: "properties", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - }, - status: { - serializedName: "status", - readOnly: true, - nullable: true, + secretsType: { + serializedName: "secretsType", + required: true, type: { name: "String" } @@ -3112,10 +3460,10 @@ export const JobService: coreClient.CompositeMapper = { } }; -export const ModelContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const FeaturesetContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelContainerResourceArmPaginatedResult", + className: "FeaturesetContainerResourceArmPaginatedResult", modelProperties: { nextLink: { serializedName: "nextLink", @@ -3130,7 +3478,7 @@ export const ModelContainerResourceArmPaginatedResult: coreClient.CompositeMappe element: { type: { name: "Composite", - className: "ModelContainer" + className: "FeaturesetContainer" } } } @@ -3139,10 +3487,10 @@ export const ModelContainerResourceArmPaginatedResult: coreClient.CompositeMappe } }; -export const ModelVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const FeaturesetVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelVersionResourceArmPaginatedResult", + className: "FeaturesetVersionResourceArmPaginatedResult", modelProperties: { nextLink: { serializedName: "nextLink", @@ -3157,7 +3505,7 @@ export const ModelVersionResourceArmPaginatedResult: coreClient.CompositeMapper element: { type: { name: "Composite", - className: "ModelVersion" + className: "FeaturesetVersion" } } } @@ -3166,69 +3514,75 @@ export const ModelVersionResourceArmPaginatedResult: coreClient.CompositeMapper } }; -export const FlavorData: coreClient.CompositeMapper = { +export const MaterializationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FlavorData", + className: "MaterializationSettings", modelProperties: { - data: { - serializedName: "data", + notification: { + serializedName: "notification", + type: { + name: "Composite", + className: "NotificationSetting" + } + }, + resource: { + serializedName: "resource", + type: { + name: "Composite", + className: "ComputeResourceAutoGenerated" + } + }, + schedule: { + serializedName: "schedule", + type: { + name: "Composite", + className: "RecurrenceTrigger" + } + }, + sparkConfiguration: { + serializedName: "sparkConfiguration", nullable: true, type: { name: "Dictionary", value: { type: { name: "String" } } } + }, + storeType: { + serializedName: "storeType", + type: { + name: "String" + } } } } }; -export const OnlineEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const NotificationSetting: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineEndpointTrackedResourceArmPaginatedResult", + className: "NotificationSetting", modelProperties: { - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - }, - value: { - serializedName: "value", + emailOn: { + serializedName: "emailOn", + nullable: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "OnlineEndpoint" + name: "String" } } } - } - } - } -}; - -export const OnlineDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OnlineDeploymentTrackedResourceArmPaginatedResult", - modelProperties: { - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } }, - value: { - serializedName: "value", + emails: { + serializedName: "emails", + nullable: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "OnlineDeployment" + name: "String" } } } @@ -3237,93 +3591,129 @@ export const OnlineDeploymentTrackedResourceArmPaginatedResult: coreClient.Compo } }; -export const ProbeSettings: coreClient.CompositeMapper = { +export const ComputeResourceAutoGenerated: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ProbeSettings", + className: "ComputeResourceAutoGenerated", modelProperties: { - failureThreshold: { - defaultValue: 30, - serializedName: "failureThreshold", + instanceType: { + serializedName: "instanceType", + nullable: true, type: { - name: "Number" + name: "String" } - }, - initialDelay: { - serializedName: "initialDelay", - nullable: true, + } + } + } +}; + +export const RecurrenceSchedule: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RecurrenceSchedule", + modelProperties: { + hours: { + serializedName: "hours", + required: true, type: { - name: "TimeSpan" + name: "Sequence", + element: { + type: { + name: "Number" + } + } } }, - period: { - defaultValue: "PT10S", - serializedName: "period", + minutes: { + serializedName: "minutes", + required: true, type: { - name: "TimeSpan" + name: "Sequence", + element: { + type: { + name: "Number" + } + } } }, - successThreshold: { - defaultValue: 1, - serializedName: "successThreshold", + monthDays: { + serializedName: "monthDays", + nullable: true, type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Number" + } + } } }, - timeout: { - defaultValue: "PT2S", - serializedName: "timeout", + weekDays: { + serializedName: "weekDays", + nullable: true, type: { - name: "TimeSpan" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const OnlineRequestSettings: coreClient.CompositeMapper = { +export const TriggerBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineRequestSettings", + className: "TriggerBase", + uberParent: "TriggerBase", + polymorphicDiscriminator: { + serializedName: "triggerType", + clientName: "triggerType" + }, modelProperties: { - maxConcurrentRequestsPerInstance: { - defaultValue: 1, - serializedName: "maxConcurrentRequestsPerInstance", + endTime: { + serializedName: "endTime", + nullable: true, type: { - name: "Number" + name: "String" } }, - maxQueueWait: { - defaultValue: "PT0.5S", - serializedName: "maxQueueWait", + startTime: { + serializedName: "startTime", + nullable: true, type: { - name: "TimeSpan" + name: "String" } }, - requestTimeout: { - defaultValue: "PT5S", - serializedName: "requestTimeout", + timeZone: { + defaultValue: "UTC", + serializedName: "timeZone", type: { - name: "TimeSpan" + name: "String" + } + }, + triggerType: { + serializedName: "triggerType", + required: true, + type: { + name: "String" } } } } }; -export const OnlineScaleSettings: coreClient.CompositeMapper = { +export const FeaturesetSpecification: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OnlineScaleSettings", - uberParent: "OnlineScaleSettings", - polymorphicDiscriminator: { - serializedName: "scaleType", - clientName: "scaleType" - }, + className: "FeaturesetSpecification", modelProperties: { - scaleType: { - serializedName: "scaleType", - required: true, + path: { + serializedName: "path", + nullable: true, type: { name: "String" } @@ -3332,75 +3722,85 @@ export const OnlineScaleSettings: coreClient.CompositeMapper = { } }; -export const PartialSku: coreClient.CompositeMapper = { +export const FeaturesetVersionBackfillRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PartialSku", + className: "FeaturesetVersionBackfillRequest", modelProperties: { - capacity: { - serializedName: "capacity", + description: { + serializedName: "description", type: { - name: "Number" + name: "String" } }, - family: { - serializedName: "family", + displayName: { + serializedName: "displayName", type: { name: "String" } }, - name: { - serializedName: "name", + featureWindow: { + serializedName: "featureWindow", type: { - name: "String" + name: "Composite", + className: "FeatureWindow" } }, - size: { - serializedName: "size", + resource: { + serializedName: "resource", type: { - name: "String" + name: "Composite", + className: "ComputeResourceAutoGenerated" } }, - tier: { - serializedName: "tier", + sparkConfiguration: { + serializedName: "sparkConfiguration", type: { - name: "Enum", - allowedValues: ["Free", "Basic", "Standard", "Premium"] + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } } } } } } }; -export const DeploymentLogsRequest: coreClient.CompositeMapper = { +export const FeatureWindow: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeploymentLogsRequest", + className: "FeatureWindow", modelProperties: { - containerType: { - serializedName: "containerType", + featureWindowEnd: { + serializedName: "featureWindowEnd", + nullable: true, type: { - name: "String" + name: "DateTime" } }, - tail: { - serializedName: "tail", + featureWindowStart: { + serializedName: "featureWindowStart", nullable: true, type: { - name: "Number" + name: "DateTime" } } } } }; -export const DeploymentLogs: coreClient.CompositeMapper = { +export const FeaturesetVersionBackfillResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DeploymentLogs", + className: "FeaturesetVersionBackfillResponse", modelProperties: { - content: { - serializedName: "content", + jobId: { + serializedName: "jobId", nullable: true, type: { name: "String" @@ -3410,178 +3810,176 @@ export const DeploymentLogs: coreClient.CompositeMapper = { } }; -export const SkuResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const GetFeatureRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SkuResourceArmPaginatedResult", + className: "GetFeatureRequest", modelProperties: { - nextLink: { - serializedName: "nextLink", + featureName: { + serializedName: "featureName", + nullable: true, type: { name: "String" } - }, - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SkuResource" - } - } - } } } } }; -export const SkuResource: coreClient.CompositeMapper = { +export const Feature: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SkuResource", + className: "Feature", modelProperties: { - capacity: { - serializedName: "capacity", + dataType: { + serializedName: "dataType", type: { - name: "Composite", - className: "SkuCapacity" + name: "String" } }, - resourceType: { - serializedName: "resourceType", - readOnly: true, + description: { + serializedName: "description", nullable: true, type: { name: "String" } }, - sku: { - serializedName: "sku", + featureName: { + serializedName: "featureName", + nullable: true, type: { - name: "Composite", - className: "SkuSetting" + name: "String" + } + }, + tags: { + serializedName: "tags", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } } } } } } }; -export const SkuCapacity: coreClient.CompositeMapper = { +export const FeatureArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SkuCapacity", + className: "FeatureArmPaginatedResult", modelProperties: { - default: { - defaultValue: 0, - serializedName: "default", - type: { - name: "Number" - } - }, - maximum: { - defaultValue: 0, - serializedName: "maximum", - type: { - name: "Number" - } - }, - minimum: { - defaultValue: 0, - serializedName: "minimum", + nextLink: { + serializedName: "nextLink", type: { - name: "Number" + name: "String" } }, - scaleType: { - serializedName: "scaleType", + value: { + serializedName: "value", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Feature" + } + } } } } } }; -export const SkuSetting: coreClient.CompositeMapper = { +export const FeaturesetJobArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SkuSetting", + className: "FeaturesetJobArmPaginatedResult", modelProperties: { - name: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") - }, - serializedName: "name", - required: true, + nextLink: { + serializedName: "nextLink", type: { name: "String" } }, - tier: { - serializedName: "tier", + value: { + serializedName: "value", type: { - name: "Enum", - allowedValues: ["Free", "Basic", "Standard", "Premium"] + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FeaturesetJob" + } + } } } } } }; -export const RegenerateEndpointKeysRequest: coreClient.CompositeMapper = { +export const FeaturesetJob: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RegenerateEndpointKeysRequest", + className: "FeaturesetJob", modelProperties: { - keyType: { - serializedName: "keyType", - required: true, + createdDate: { + serializedName: "createdDate", + nullable: true, type: { - name: "String" + name: "DateTime" } }, - keyValue: { - serializedName: "keyValue", + displayName: { + serializedName: "displayName", nullable: true, type: { name: "String" } - } - } - } -}; - -export const EndpointAuthToken: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EndpointAuthToken", - modelProperties: { - accessToken: { - serializedName: "accessToken", + }, + duration: { + serializedName: "duration", + nullable: true, + type: { + name: "TimeSpan" + } + }, + experimentId: { + serializedName: "experimentId", nullable: true, type: { name: "String" } }, - expiryTimeUtc: { - defaultValue: 0, - serializedName: "expiryTimeUtc", + featureWindow: { + serializedName: "featureWindow", type: { - name: "Number" + name: "Composite", + className: "FeatureWindow" } }, - refreshAfterTimeUtc: { - defaultValue: 0, - serializedName: "refreshAfterTimeUtc", + jobId: { + serializedName: "jobId", + nullable: true, type: { - name: "Number" + name: "String" } }, - tokenType: { - serializedName: "tokenType", + status: { + serializedName: "status", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + type: { + serializedName: "type", type: { name: "String" } @@ -3590,10 +3988,10 @@ export const EndpointAuthToken: coreClient.CompositeMapper = { } }; -export const ScheduleResourceArmPaginatedResult: coreClient.CompositeMapper = { +export const FeaturestoreEntityContainerResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScheduleResourceArmPaginatedResult", + className: "FeaturestoreEntityContainerResourceArmPaginatedResult", modelProperties: { nextLink: { serializedName: "nextLink", @@ -3608,7 +4006,7 @@ export const ScheduleResourceArmPaginatedResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Schedule" + className: "FeaturestoreEntityContainer" } } } @@ -3617,61 +4015,47 @@ export const ScheduleResourceArmPaginatedResult: coreClient.CompositeMapper = { } }; -export const ScheduleActionBase: coreClient.CompositeMapper = { +export const FeaturestoreEntityVersionResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScheduleActionBase", - uberParent: "ScheduleActionBase", - polymorphicDiscriminator: { - serializedName: "actionType", - clientName: "actionType" - }, + className: "FeaturestoreEntityVersionResourceArmPaginatedResult", modelProperties: { - actionType: { - serializedName: "actionType", - required: true, + nextLink: { + serializedName: "nextLink", type: { name: "String" } + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "FeaturestoreEntityVersion" + } + } + } } } } }; -export const TriggerBase: coreClient.CompositeMapper = { +export const IndexColumn: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TriggerBase", - uberParent: "TriggerBase", - polymorphicDiscriminator: { - serializedName: "triggerType", - clientName: "triggerType" - }, + className: "IndexColumn", modelProperties: { - endTime: { - serializedName: "endTime", - nullable: true, - type: { - name: "String" - } - }, - startTime: { - serializedName: "startTime", + columnName: { + serializedName: "columnName", nullable: true, type: { name: "String" } }, - timeZone: { - defaultValue: "UTC", - serializedName: "timeZone", - type: { - name: "String" - } - }, - triggerType: { - serializedName: "triggerType", - required: true, + dataType: { + serializedName: "dataType", type: { name: "String" } @@ -3680,27 +4064,46 @@ export const TriggerBase: coreClient.CompositeMapper = { } }; -export const ListAmlUserFeatureResult: coreClient.CompositeMapper = { +export const JobBaseResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ListAmlUserFeatureResult", + className: "JobBaseResourceArmPaginatedResult", modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + }, value: { serializedName: "value", - readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "AmlUserFeature" + className: "JobBase" } } } - }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + } + } + } +}; + +export const IdentityConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "IdentityConfiguration", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: { + serializedName: "identityType", + clientName: "identityType" + }, + modelProperties: { + identityType: { + serializedName: "identityType", + required: true, type: { name: "String" } @@ -3709,25 +4112,59 @@ export const ListAmlUserFeatureResult: coreClient.CompositeMapper = { } }; -export const AmlUserFeature: coreClient.CompositeMapper = { +export const JobService: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlUserFeature", + className: "JobService", modelProperties: { - id: { - serializedName: "id", + endpoint: { + serializedName: "endpoint", + nullable: true, type: { name: "String" } }, - displayName: { - serializedName: "displayName", + errorMessage: { + serializedName: "errorMessage", + readOnly: true, + nullable: true, type: { name: "String" } }, - description: { - serializedName: "description", + jobServiceType: { + serializedName: "jobServiceType", + nullable: true, + type: { + name: "String" + } + }, + nodes: { + serializedName: "nodes", + type: { + name: "Composite", + className: "Nodes" + } + }, + port: { + serializedName: "port", + nullable: true, + type: { + name: "Number" + } + }, + properties: { + serializedName: "properties", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + status: { + serializedName: "status", + readOnly: true, + nullable: true, type: { name: "String" } @@ -3736,13 +4173,18 @@ export const AmlUserFeature: coreClient.CompositeMapper = { } }; -export const ResourceId: coreClient.CompositeMapper = { +export const Nodes: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResourceId", + className: "Nodes", + uberParent: "Nodes", + polymorphicDiscriminator: { + serializedName: "nodesValueType", + clientName: "nodesValueType" + }, modelProperties: { - id: { - serializedName: "id", + nodesValueType: { + serializedName: "nodesValueType", required: true, type: { name: "String" @@ -3752,96 +4194,93 @@ export const ResourceId: coreClient.CompositeMapper = { } }; -export const AKSSchema: coreClient.CompositeMapper = { +export const LabelingJobResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AKSSchema", + className: "LabelingJobResourceArmPaginatedResult", modelProperties: { - properties: { - serializedName: "properties", + nextLink: { + serializedName: "nextLink", type: { - name: "Composite", - className: "AKSSchemaProperties" + name: "String" + } + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LabelingJob" + } + } } } } } }; -export const AKSSchemaProperties: coreClient.CompositeMapper = { +export const LabelingDataConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AKSSchemaProperties", + className: "LabelingDataConfiguration", modelProperties: { - clusterFqdn: { - serializedName: "clusterFqdn", + dataId: { + serializedName: "dataId", nullable: true, type: { name: "String" } }, - systemServices: { - serializedName: "systemServices", - readOnly: true, - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SystemService" - } - } - } - }, - agentCount: { - constraints: { - InclusiveMinimum: 0 - }, - serializedName: "agentCount", - nullable: true, - type: { - name: "Number" - } - }, - agentVmSize: { - serializedName: "agentVmSize", - nullable: true, + incrementalDataRefresh: { + serializedName: "incrementalDataRefresh", type: { name: "String" } - }, - clusterPurpose: { - defaultValue: "FastProd", - serializedName: "clusterPurpose", + } + } + } +}; + +export const LabelingJobInstructions: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "LabelingJobInstructions", + modelProperties: { + uri: { + serializedName: "uri", + nullable: true, type: { name: "String" } - }, - sslConfiguration: { - serializedName: "sslConfiguration", - type: { - name: "Composite", - className: "SslConfiguration" - } - }, - aksNetworkingConfiguration: { - serializedName: "aksNetworkingConfiguration", + } + } + } +}; + +export const LabelCategory: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "LabelCategory", + modelProperties: { + classes: { + serializedName: "classes", + nullable: true, type: { - name: "Composite", - className: "AksNetworkingConfiguration" + name: "Dictionary", + value: { type: { name: "Composite", className: "LabelClass" } } } }, - loadBalancerType: { - defaultValue: "PublicIp", - serializedName: "loadBalancerType", + displayName: { + serializedName: "displayName", + nullable: true, type: { name: "String" } }, - loadBalancerSubnet: { - serializedName: "loadBalancerSubnet", - nullable: true, + multiSelect: { + serializedName: "multiSelect", type: { name: "String" } @@ -3850,28 +4289,43 @@ export const AKSSchemaProperties: coreClient.CompositeMapper = { } }; -export const SystemService: coreClient.CompositeMapper = { +export const LabelClass: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SystemService", + className: "LabelClass", modelProperties: { - systemServiceType: { - serializedName: "systemServiceType", - readOnly: true, + displayName: { + serializedName: "displayName", + nullable: true, type: { name: "String" } }, - publicIpAddress: { - serializedName: "publicIpAddress", - readOnly: true, + subclasses: { + serializedName: "subclasses", + nullable: true, type: { - name: "String" + name: "Dictionary", + value: { type: { name: "Composite", className: "LabelClass" } } } - }, - version: { - serializedName: "version", - readOnly: true, + } + } + } +}; + +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" } @@ -3880,95 +4334,100 @@ export const SystemService: coreClient.CompositeMapper = { } }; -export const SslConfiguration: coreClient.CompositeMapper = { +export const MLAssistConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SslConfiguration", + className: "MLAssistConfiguration", + uberParent: "MLAssistConfiguration", + polymorphicDiscriminator: { + serializedName: "mlAssist", + clientName: "mlAssist" + }, modelProperties: { - status: { - serializedName: "status", + mlAssist: { + serializedName: "mlAssist", + required: true, type: { name: "String" } - }, - cert: { - serializedName: "cert", + } + } + } +}; + +export const ProgressMetrics: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ProgressMetrics", + modelProperties: { + completedDatapointCount: { + serializedName: "completedDatapointCount", + readOnly: true, nullable: true, type: { - name: "String" + name: "Number" } }, - key: { - serializedName: "key", + incrementalDataLastRefreshDateTime: { + serializedName: "incrementalDataLastRefreshDateTime", + readOnly: true, nullable: true, type: { - name: "String" + name: "DateTime" } }, - cname: { - serializedName: "cname", + skippedDatapointCount: { + serializedName: "skippedDatapointCount", + readOnly: true, nullable: true, type: { - name: "String" + name: "Number" } }, - leafDomainLabel: { - serializedName: "leafDomainLabel", + totalDatapointCount: { + serializedName: "totalDatapointCount", + readOnly: true, nullable: true, type: { - name: "String" - } - }, - overwriteExistingDomain: { - serializedName: "overwriteExistingDomain", - type: { - name: "Boolean" + name: "Number" } } } } }; -export const AksNetworkingConfiguration: coreClient.CompositeMapper = { +export const StatusMessage: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AksNetworkingConfiguration", + className: "StatusMessage", modelProperties: { - subnetId: { - serializedName: "subnetId", + code: { + serializedName: "code", + readOnly: true, + nullable: true, type: { name: "String" } }, - serviceCidr: { - constraints: { - Pattern: new RegExp( - "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$" - ) - }, - serializedName: "serviceCidr", + createdDateTime: { + serializedName: "createdDateTime", + readOnly: true, + nullable: true, type: { - name: "String" + name: "DateTime" } }, - dnsServiceIP: { - constraints: { - Pattern: new RegExp( - "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" - ) - }, - serializedName: "dnsServiceIP", + level: { + serializedName: "level", + readOnly: true, type: { name: "String" } }, - dockerBridgeCidr: { - constraints: { - Pattern: new RegExp( - "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$" - ) - }, - serializedName: "dockerBridgeCidr", + message: { + serializedName: "message", + readOnly: true, + nullable: true, type: { name: "String" } @@ -3977,276 +4436,147 @@ export const AksNetworkingConfiguration: coreClient.CompositeMapper = { } }; -export const KubernetesSchema: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "KubernetesSchema", - modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "KubernetesProperties" - } - } - } - } -}; - -export const KubernetesProperties: coreClient.CompositeMapper = { +export const ExportSummary: coreClient.CompositeMapper = { type: { name: "Composite", - className: "KubernetesProperties", + className: "ExportSummary", + uberParent: "ExportSummary", + polymorphicDiscriminator: { + serializedName: "format", + clientName: "format" + }, modelProperties: { - relayConnectionString: { - serializedName: "relayConnectionString", - nullable: true, - type: { - name: "String" - } - }, - serviceBusConnectionString: { - serializedName: "serviceBusConnectionString", + endDateTime: { + serializedName: "endDateTime", + readOnly: true, nullable: true, type: { - name: "String" + name: "DateTime" } }, - extensionPrincipalId: { - serializedName: "extensionPrincipalId", + exportedRowCount: { + serializedName: "exportedRowCount", + readOnly: true, nullable: true, type: { - name: "String" - } - }, - extensionInstanceReleaseTrain: { - serializedName: "extensionInstanceReleaseTrain", - type: { - name: "String" - } - }, - vcName: { - serializedName: "vcName", - type: { - name: "String" + name: "Number" } }, - namespace: { - defaultValue: "default", - serializedName: "namespace", + format: { + serializedName: "format", + required: true, type: { name: "String" } }, - defaultInstanceType: { - serializedName: "defaultInstanceType", + labelingJobId: { + serializedName: "labelingJobId", + readOnly: true, + nullable: true, type: { name: "String" } }, - instanceTypes: { - serializedName: "instanceTypes", + startDateTime: { + serializedName: "startDateTime", + readOnly: true, + nullable: true, type: { - name: "Dictionary", - value: { - type: { name: "Composite", className: "InstanceTypeSchema" } - } + name: "DateTime" } } } } }; -export const InstanceTypeSchema: coreClient.CompositeMapper = { +export const PackageRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InstanceTypeSchema", + className: "PackageRequest", modelProperties: { - nodeSelector: { - serializedName: "nodeSelector", + baseEnvironmentSource: { + serializedName: "baseEnvironmentSource", + type: { + name: "Composite", + className: "BaseEnvironmentSource" + } + }, + environmentVariables: { + serializedName: "environmentVariables", nullable: true, type: { name: "Dictionary", value: { type: { name: "String" } } } }, - resources: { - serializedName: "resources", + inferencingServer: { + serializedName: "inferencingServer", type: { name: "Composite", - className: "InstanceTypeSchemaResources" - } - } - } - } -}; - -export const InstanceTypeSchemaResources: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "InstanceTypeSchemaResources", - modelProperties: { - requests: { - serializedName: "requests", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - }, - limits: { - serializedName: "limits", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - } - } - } -}; - -export const AmlComputeProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AmlComputeProperties", - modelProperties: { - osType: { - defaultValue: "Linux", - serializedName: "osType", - type: { - name: "String" - } - }, - vmSize: { - serializedName: "vmSize", - type: { - name: "String" - } - }, - vmPriority: { - serializedName: "vmPriority", - type: { - name: "String" - } - }, - virtualMachineImage: { - serializedName: "virtualMachineImage", - type: { - name: "Composite", - className: "VirtualMachineImage" - } - }, - isolatedNetwork: { - serializedName: "isolatedNetwork", - type: { - name: "Boolean" - } - }, - scaleSettings: { - serializedName: "scaleSettings", - type: { - name: "Composite", - className: "ScaleSettings" - } - }, - userAccountCredentials: { - serializedName: "userAccountCredentials", - type: { - name: "Composite", - className: "UserAccountCredentials" - } - }, - subnet: { - serializedName: "subnet", - type: { - name: "Composite", - className: "ResourceId" - } - }, - remoteLoginPortPublicAccess: { - defaultValue: "NotSpecified", - serializedName: "remoteLoginPortPublicAccess", - type: { - name: "String" - } - }, - allocationState: { - serializedName: "allocationState", - readOnly: true, - type: { - name: "String" - } - }, - allocationStateTransitionTime: { - serializedName: "allocationStateTransitionTime", - readOnly: true, - type: { - name: "DateTime" + className: "InferencingServer" } }, - errors: { - serializedName: "errors", - readOnly: true, + inputs: { + serializedName: "inputs", nullable: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ErrorResponse" + className: "ModelPackageInput" } } } }, - currentNodeCount: { - serializedName: "currentNodeCount", - readOnly: true, - nullable: true, + modelConfiguration: { + serializedName: "modelConfiguration", type: { - name: "Number" + name: "Composite", + className: "ModelConfiguration" } }, - targetNodeCount: { - serializedName: "targetNodeCount", - readOnly: true, + tags: { + serializedName: "tags", nullable: true, type: { - name: "Number" - } - }, - nodeStateCounts: { - serializedName: "nodeStateCounts", - type: { - name: "Composite", - className: "NodeStateCounts" + name: "Dictionary", + value: { type: { name: "String" } } } }, - enableNodePublicIp: { - defaultValue: true, - serializedName: "enableNodePublicIp", - nullable: true, + targetEnvironmentName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "targetEnvironmentName", + required: true, type: { - name: "Boolean" + name: "String" } }, - propertyBag: { - serializedName: "propertyBag", + targetEnvironmentVersion: { + serializedName: "targetEnvironmentVersion", nullable: true, type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "String" } } } } }; -export const VirtualMachineImage: coreClient.CompositeMapper = { +export const BaseEnvironmentSource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineImage", + className: "BaseEnvironmentSource", + uberParent: "BaseEnvironmentSource", + polymorphicDiscriminator: { + serializedName: "baseEnvironmentSourceType", + clientName: "baseEnvironmentSourceType" + }, modelProperties: { - id: { - serializedName: "id", + baseEnvironmentSourceType: { + serializedName: "baseEnvironmentSourceType", required: true, type: { name: "String" @@ -4256,349 +4586,325 @@ export const VirtualMachineImage: coreClient.CompositeMapper = { } }; -export const UserAccountCredentials: coreClient.CompositeMapper = { +export const InferencingServer: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UserAccountCredentials", + className: "InferencingServer", + uberParent: "InferencingServer", + polymorphicDiscriminator: { + serializedName: "serverType", + clientName: "serverType" + }, modelProperties: { - adminUserName: { - serializedName: "adminUserName", + serverType: { + serializedName: "serverType", required: true, type: { name: "String" } - }, - adminUserSshPublicKey: { - serializedName: "adminUserSshPublicKey", - type: { - name: "String" - } - }, - adminUserPassword: { - serializedName: "adminUserPassword", - type: { - name: "String" - } } } } }; -export const NodeStateCounts: coreClient.CompositeMapper = { +export const ModelPackageInput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NodeStateCounts", + className: "ModelPackageInput", modelProperties: { - idleNodeCount: { - serializedName: "idleNodeCount", - readOnly: true, - type: { - name: "Number" - } - }, - runningNodeCount: { - serializedName: "runningNodeCount", - readOnly: true, - type: { - name: "Number" - } - }, - preparingNodeCount: { - serializedName: "preparingNodeCount", - readOnly: true, + inputType: { + serializedName: "inputType", + required: true, type: { - name: "Number" + name: "String" } }, - unusableNodeCount: { - serializedName: "unusableNodeCount", - readOnly: true, + mode: { + serializedName: "mode", type: { - name: "Number" + name: "String" } }, - leavingNodeCount: { - serializedName: "leavingNodeCount", - readOnly: true, + mountPath: { + serializedName: "mountPath", + nullable: true, type: { - name: "Number" + name: "String" } }, - preemptedNodeCount: { - serializedName: "preemptedNodeCount", - readOnly: true, + path: { + serializedName: "path", type: { - name: "Number" + name: "Composite", + className: "PackageInputPathBase" } } } } }; -export const AmlComputeSchema: coreClient.CompositeMapper = { +export const PackageInputPathBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AmlComputeSchema", + className: "PackageInputPathBase", + uberParent: "PackageInputPathBase", + polymorphicDiscriminator: { + serializedName: "inputPathType", + clientName: "inputPathType" + }, modelProperties: { - properties: { - serializedName: "properties", + inputPathType: { + serializedName: "inputPathType", + required: true, type: { - name: "Composite", - className: "AmlComputeProperties" + name: "String" } } } } }; -export const ComputeInstanceProperties: coreClient.CompositeMapper = { +export const ModelConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceProperties", + className: "ModelConfiguration", modelProperties: { - vmSize: { - serializedName: "vmSize", + mode: { + serializedName: "mode", type: { name: "String" } }, - subnet: { - serializedName: "subnet", - type: { - name: "Composite", - className: "ResourceId" - } - }, - applicationSharingPolicy: { - defaultValue: "Shared", - serializedName: "applicationSharingPolicy", + mountPath: { + serializedName: "mountPath", + nullable: true, type: { name: "String" } - }, - sshSettings: { - serializedName: "sshSettings", - type: { - name: "Composite", - className: "ComputeInstanceSshSettings" - } - }, - connectivityEndpoints: { - serializedName: "connectivityEndpoints", + } + } + } +}; + +export const OnlineEndpointTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OnlineEndpointTrackedResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", type: { - name: "Composite", - className: "ComputeInstanceConnectivityEndpoints" + name: "String" } }, - applications: { - serializedName: "applications", - readOnly: true, + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ComputeInstanceApplication" + className: "OnlineEndpoint" } } } - }, - createdBy: { - serializedName: "createdBy", + } + } + } +}; + +export const OnlineDeploymentTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OnlineDeploymentTrackedResourceArmPaginatedResult", + modelProperties: { + nextLink: { + serializedName: "nextLink", type: { - name: "Composite", - className: "ComputeInstanceCreatedBy" + name: "String" } }, - errors: { - serializedName: "errors", - readOnly: true, + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ErrorResponse" + className: "OnlineDeployment" } } } - }, - state: { - serializedName: "state", - readOnly: true, + } + } + } +}; + +export const ProbeSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ProbeSettings", + modelProperties: { + failureThreshold: { + defaultValue: 30, + serializedName: "failureThreshold", type: { - name: "String" + name: "Number" } }, - computeInstanceAuthorizationType: { - defaultValue: "personal", - serializedName: "computeInstanceAuthorizationType", + initialDelay: { + serializedName: "initialDelay", nullable: true, type: { - name: "String" - } - }, - personalComputeInstanceSettings: { - serializedName: "personalComputeInstanceSettings", - type: { - name: "Composite", - className: "PersonalComputeInstanceSettings" - } - }, - setupScripts: { - serializedName: "setupScripts", - type: { - name: "Composite", - className: "SetupScripts" + name: "TimeSpan" } }, - lastOperation: { - serializedName: "lastOperation", + period: { + defaultValue: "PT10S", + serializedName: "period", type: { - name: "Composite", - className: "ComputeInstanceLastOperation" + name: "TimeSpan" } }, - schedules: { - serializedName: "schedules", + successThreshold: { + defaultValue: 1, + serializedName: "successThreshold", type: { - name: "Composite", - className: "ComputeSchedules" + name: "Number" } }, - enableNodePublicIp: { - serializedName: "enableNodePublicIp", + timeout: { + defaultValue: "PT2S", + serializedName: "timeout", type: { - name: "Boolean" + name: "TimeSpan" } - }, - containers: { - serializedName: "containers", - readOnly: true, - nullable: true, + } + } + } +}; + +export const OnlineRequestSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OnlineRequestSettings", + modelProperties: { + maxConcurrentRequestsPerInstance: { + defaultValue: 1, + serializedName: "maxConcurrentRequestsPerInstance", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComputeInstanceContainer" - } - } + name: "Number" } }, - dataDisks: { - serializedName: "dataDisks", - readOnly: true, - nullable: true, + maxQueueWait: { + defaultValue: "PT0.5S", + serializedName: "maxQueueWait", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComputeInstanceDataDisk" - } - } + name: "TimeSpan" } }, - dataMounts: { - serializedName: "dataMounts", - readOnly: true, - nullable: true, + requestTimeout: { + defaultValue: "PT5S", + serializedName: "requestTimeout", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComputeInstanceDataMount" - } - } + name: "TimeSpan" } - }, - versions: { - serializedName: "versions", + } + } + } +}; + +export const OnlineScaleSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OnlineScaleSettings", + uberParent: "OnlineScaleSettings", + polymorphicDiscriminator: { + serializedName: "scaleType", + clientName: "scaleType" + }, + modelProperties: { + scaleType: { + serializedName: "scaleType", + required: true, type: { - name: "Composite", - className: "ComputeInstanceVersion" + name: "String" } } } } }; -export const ComputeInstanceSshSettings: coreClient.CompositeMapper = { +export const PartialSku: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceSshSettings", + className: "PartialSku", modelProperties: { - sshPublicAccess: { - defaultValue: "Disabled", - serializedName: "sshPublicAccess", + capacity: { + serializedName: "capacity", type: { - name: "String" + name: "Number" } }, - adminUserName: { - serializedName: "adminUserName", - readOnly: true, + family: { + serializedName: "family", type: { name: "String" } }, - sshPort: { - serializedName: "sshPort", - readOnly: true, + name: { + serializedName: "name", type: { - name: "Number" + name: "String" } }, - adminPublicKey: { - serializedName: "adminPublicKey", + size: { + serializedName: "size", type: { name: "String" } + }, + tier: { + serializedName: "tier", + type: { + name: "Enum", + allowedValues: ["Free", "Basic", "Standard", "Premium"] + } } } } }; -export const ComputeInstanceConnectivityEndpoints: coreClient.CompositeMapper = { +export const DeploymentLogsRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceConnectivityEndpoints", + className: "DeploymentLogsRequest", modelProperties: { - publicIpAddress: { - serializedName: "publicIpAddress", - readOnly: true, - nullable: true, + containerType: { + serializedName: "containerType", type: { name: "String" } }, - privateIpAddress: { - serializedName: "privateIpAddress", - readOnly: true, + tail: { + serializedName: "tail", nullable: true, type: { - name: "String" + name: "Number" } } } } }; -export const ComputeInstanceApplication: coreClient.CompositeMapper = { +export const DeploymentLogs: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceApplication", + className: "DeploymentLogs", modelProperties: { - displayName: { - serializedName: "displayName", - type: { - name: "String" - } - }, - endpointUri: { - serializedName: "endpointUri", + content: { + serializedName: "content", + nullable: true, type: { name: "String" } @@ -4607,69 +4913,92 @@ export const ComputeInstanceApplication: coreClient.CompositeMapper = { } }; -export const ComputeInstanceCreatedBy: coreClient.CompositeMapper = { +export const SkuResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceCreatedBy", + className: "SkuResourceArmPaginatedResult", modelProperties: { - userName: { - serializedName: "userName", - readOnly: true, - nullable: true, - type: { - name: "String" - } - }, - userOrgId: { - serializedName: "userOrgId", - readOnly: true, + nextLink: { + serializedName: "nextLink", type: { name: "String" } }, - userId: { - serializedName: "userId", - readOnly: true, - nullable: true, + value: { + serializedName: "value", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SkuResource" + } + } } } } } }; -export const PersonalComputeInstanceSettings: coreClient.CompositeMapper = { +export const SkuResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PersonalComputeInstanceSettings", + className: "SkuResource", modelProperties: { - assignedUser: { - serializedName: "assignedUser", + capacity: { + serializedName: "capacity", type: { name: "Composite", - className: "AssignedUser" + className: "SkuCapacity" + } + }, + resourceType: { + serializedName: "resourceType", + readOnly: true, + nullable: true, + type: { + name: "String" + } + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "SkuSetting" } } } } }; -export const AssignedUser: coreClient.CompositeMapper = { +export const SkuCapacity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssignedUser", + className: "SkuCapacity", modelProperties: { - objectId: { - serializedName: "objectId", - required: true, + default: { + defaultValue: 0, + serializedName: "default", type: { - name: "String" + name: "Number" } }, - tenantId: { - serializedName: "tenantId", - required: true, + maximum: { + defaultValue: 0, + serializedName: "maximum", + type: { + name: "Number" + } + }, + minimum: { + defaultValue: 0, + serializedName: "minimum", + type: { + name: "Number" + } + }, + scaleType: { + serializedName: "scaleType", type: { name: "String" } @@ -4678,70 +5007,84 @@ export const AssignedUser: coreClient.CompositeMapper = { } }; -export const SetupScripts: coreClient.CompositeMapper = { +export const SkuSetting: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SetupScripts", + className: "SkuSetting", modelProperties: { - scripts: { - serializedName: "scripts", + name: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "name", + required: true, type: { - name: "Composite", - className: "ScriptsToExecute" + name: "String" + } + }, + tier: { + serializedName: "tier", + type: { + name: "Enum", + allowedValues: ["Free", "Basic", "Standard", "Premium"] } } } } }; -export const ScriptsToExecute: coreClient.CompositeMapper = { +export const RegenerateEndpointKeysRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScriptsToExecute", + className: "RegenerateEndpointKeysRequest", modelProperties: { - startupScript: { - serializedName: "startupScript", + keyType: { + serializedName: "keyType", + required: true, type: { - name: "Composite", - className: "ScriptReference" + name: "String" } }, - creationScript: { - serializedName: "creationScript", + keyValue: { + serializedName: "keyValue", + nullable: true, type: { - name: "Composite", - className: "ScriptReference" + name: "String" } } } } }; -export const ScriptReference: coreClient.CompositeMapper = { +export const EndpointAuthToken: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScriptReference", + className: "EndpointAuthToken", modelProperties: { - scriptSource: { - serializedName: "scriptSource", + accessToken: { + serializedName: "accessToken", + nullable: true, type: { name: "String" } }, - scriptData: { - serializedName: "scriptData", + expiryTimeUtc: { + defaultValue: 0, + serializedName: "expiryTimeUtc", type: { - name: "String" + name: "Number" } }, - scriptArguments: { - serializedName: "scriptArguments", + refreshAfterTimeUtc: { + defaultValue: 0, + serializedName: "refreshAfterTimeUtc", type: { - name: "String" + name: "Number" } }, - timeout: { - serializedName: "timeout", + tokenType: { + serializedName: "tokenType", + nullable: true, type: { name: "String" } @@ -4750,31 +5093,46 @@ export const ScriptReference: coreClient.CompositeMapper = { } }; -export const ComputeInstanceLastOperation: coreClient.CompositeMapper = { +export const ScheduleResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceLastOperation", + className: "ScheduleResourceArmPaginatedResult", modelProperties: { - operationName: { - serializedName: "operationName", + nextLink: { + serializedName: "nextLink", type: { name: "String" } }, - operationTime: { - serializedName: "operationTime", - type: { - name: "DateTime" - } - }, - operationStatus: { - serializedName: "operationStatus", + value: { + serializedName: "value", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Schedule" + } + } } - }, - operationTrigger: { - serializedName: "operationTrigger", + } + } + } +}; + +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" } @@ -4783,19 +5141,25 @@ export const ComputeInstanceLastOperation: coreClient.CompositeMapper = { } }; -export const ComputeSchedules: coreClient.CompositeMapper = { +export const RegistryTrackedResourceArmPaginatedResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeSchedules", + className: "RegistryTrackedResourceArmPaginatedResult", modelProperties: { - computeStartStop: { - serializedName: "computeStartStop", + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + }, + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ComputeStartStopSchedule" + className: "Registry" } } } @@ -4804,220 +5168,264 @@ export const ComputeSchedules: coreClient.CompositeMapper = { } }; -export const ComputeStartStopSchedule: coreClient.CompositeMapper = { +export const ArmResourceId: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeStartStopSchedule", + className: "ArmResourceId", modelProperties: { - id: { - serializedName: "id", - readOnly: true, + resourceId: { + serializedName: "resourceId", nullable: true, type: { name: "String" } - }, - provisioningStatus: { - serializedName: "provisioningStatus", - readOnly: true, + } + } + } +}; + +export const RegistryRegionArmDetails: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryRegionArmDetails", + modelProperties: { + acrDetails: { + serializedName: "acrDetails", + nullable: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AcrDetails" + } + } } }, - status: { - serializedName: "status", + location: { + serializedName: "location", + nullable: true, type: { name: "String" } }, - action: { - serializedName: "action", + storageAccountDetails: { + serializedName: "storageAccountDetails", + nullable: true, type: { - name: "String" - } - }, - triggerType: { - serializedName: "triggerType", - type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StorageAccountDetails" + } + } } - }, - recurrence: { - serializedName: "recurrence", + } + } + } +}; + +export const AcrDetails: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AcrDetails", + modelProperties: { + systemCreatedAcrAccount: { + serializedName: "systemCreatedAcrAccount", type: { name: "Composite", - className: "RecurrenceTrigger" + className: "SystemCreatedAcrAccount" } }, - cron: { - serializedName: "cron", + userCreatedAcrAccount: { + serializedName: "userCreatedAcrAccount", type: { name: "Composite", - className: "CronTrigger" + className: "UserCreatedAcrAccount" + } + } + } + } +}; + +export const SystemCreatedAcrAccount: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SystemCreatedAcrAccount", + modelProperties: { + acrAccountSku: { + serializedName: "acrAccountSku", + nullable: true, + type: { + name: "String" } }, - schedule: { - serializedName: "schedule", + armResourceId: { + serializedName: "armResourceId", type: { name: "Composite", - className: "ScheduleBase" + className: "ArmResourceId" } } } } }; -export const RecurrenceSchedule: coreClient.CompositeMapper = { +export const UserCreatedAcrAccount: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RecurrenceSchedule", + className: "UserCreatedAcrAccount", modelProperties: { - hours: { - serializedName: "hours", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Number" - } - } - } - }, - minutes: { - serializedName: "minutes", - required: true, + armResourceId: { + serializedName: "armResourceId", type: { - name: "Sequence", - element: { - type: { - name: "Number" - } - } + name: "Composite", + className: "ArmResourceId" } - }, - monthDays: { - serializedName: "monthDays", - nullable: true, + } + } + } +}; + +export const StorageAccountDetails: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "StorageAccountDetails", + modelProperties: { + systemCreatedStorageAccount: { + serializedName: "systemCreatedStorageAccount", type: { - name: "Sequence", - element: { - type: { - name: "Number" - } - } + name: "Composite", + className: "SystemCreatedStorageAccount" } }, - weekDays: { - serializedName: "weekDays", - nullable: true, + userCreatedStorageAccount: { + serializedName: "userCreatedStorageAccount", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "UserCreatedStorageAccount" } } } } }; -export const ScheduleBase: coreClient.CompositeMapper = { +export const SystemCreatedStorageAccount: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ScheduleBase", + className: "SystemCreatedStorageAccount", modelProperties: { - id: { - serializedName: "id", - nullable: true, + armResourceId: { + serializedName: "armResourceId", type: { - name: "String" + name: "Composite", + className: "ArmResourceId" } }, - provisioningStatus: { - serializedName: "provisioningStatus", + storageAccountHnsEnabled: { + serializedName: "storageAccountHnsEnabled", type: { - name: "String" + name: "Boolean" } }, - status: { - serializedName: "status", + storageAccountType: { + serializedName: "storageAccountType", + nullable: true, type: { name: "String" } + }, + allowBlobPublicAccess: { + serializedName: "allowBlobPublicAccess", + type: { + name: "Boolean" + } } } } }; -export const ComputeInstanceContainer: coreClient.CompositeMapper = { +export const UserCreatedStorageAccount: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceContainer", + className: "UserCreatedStorageAccount", modelProperties: { - name: { - serializedName: "name", + armResourceId: { + serializedName: "armResourceId", type: { - name: "String" + name: "Composite", + className: "ArmResourceId" } - }, - autosave: { - serializedName: "autosave", + } + } + } +}; + +export const PartialRegistryPartialTrackedResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PartialRegistryPartialTrackedResource", + modelProperties: { + identity: { + serializedName: "identity", type: { - name: "String" + name: "Composite", + className: "PartialManagedServiceIdentity" } }, - gpu: { - serializedName: "gpu", + kind: { + serializedName: "kind", type: { name: "String" } }, - network: { - serializedName: "network", + properties: { + serializedName: "properties", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - environment: { - serializedName: "environment", + sku: { + serializedName: "sku", type: { name: "Composite", - className: "ComputeInstanceEnvironmentInfo" + className: "PartialSku" } }, - services: { - serializedName: "services", - readOnly: true, + tags: { + serializedName: "tags", type: { - name: "Sequence", - element: { - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } + name: "Dictionary", + value: { type: { name: "String" } } } } } } }; -export const ComputeInstanceEnvironmentInfo: coreClient.CompositeMapper = { +export const ListAmlUserFeatureResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceEnvironmentInfo", + className: "ListAmlUserFeatureResult", modelProperties: { - name: { - serializedName: "name", + value: { + serializedName: "value", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AmlUserFeature" + } + } } }, - version: { - serializedName: "version", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { name: "String" } @@ -5026,32 +5434,25 @@ export const ComputeInstanceEnvironmentInfo: coreClient.CompositeMapper = { } }; -export const ComputeInstanceDataDisk: coreClient.CompositeMapper = { +export const AmlUserFeature: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceDataDisk", + className: "AmlUserFeature", modelProperties: { - caching: { - serializedName: "caching", + id: { + serializedName: "id", type: { name: "String" } }, - diskSizeGB: { - serializedName: "diskSizeGB", - type: { - name: "Number" - } - }, - lun: { - serializedName: "lun", + displayName: { + serializedName: "displayName", type: { - name: "Number" + name: "String" } }, - storageAccountType: { - defaultValue: "Standard_LRS", - serializedName: "storageAccountType", + description: { + serializedName: "description", type: { name: "String" } @@ -5060,76 +5461,111 @@ export const ComputeInstanceDataDisk: coreClient.CompositeMapper = { } }; -export const ComputeInstanceDataMount: coreClient.CompositeMapper = { +export const ResourceId: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceDataMount", + className: "ResourceId", modelProperties: { - source: { - serializedName: "source", + id: { + serializedName: "id", + required: true, type: { name: "String" } - }, - sourceType: { - serializedName: "sourceType", + } + } + } +}; + +export const AKSSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AKSSchema", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "AKSSchemaProperties" } - }, - mountName: { - serializedName: "mountName", + } + } + } +}; + +export const AKSSchemaProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AKSSchemaProperties", + modelProperties: { + clusterFqdn: { + serializedName: "clusterFqdn", + nullable: true, type: { name: "String" } }, - mountAction: { - serializedName: "mountAction", + systemServices: { + serializedName: "systemServices", + readOnly: true, + nullable: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SystemService" + } + } } }, - createdBy: { - serializedName: "createdBy", + agentCount: { + constraints: { + InclusiveMinimum: 0 + }, + serializedName: "agentCount", + nullable: true, type: { - name: "String" + name: "Number" } }, - mountPath: { - serializedName: "mountPath", + agentVmSize: { + serializedName: "agentVmSize", + nullable: true, type: { name: "String" } }, - mountState: { - serializedName: "mountState", + clusterPurpose: { + defaultValue: "FastProd", + serializedName: "clusterPurpose", type: { name: "String" } }, - mountedOn: { - serializedName: "mountedOn", + sslConfiguration: { + serializedName: "sslConfiguration", type: { - name: "DateTime" + name: "Composite", + className: "SslConfiguration" } }, - error: { - serializedName: "error", + aksNetworkingConfiguration: { + serializedName: "aksNetworkingConfiguration", + type: { + name: "Composite", + className: "AksNetworkingConfiguration" + } + }, + loadBalancerType: { + defaultValue: "PublicIp", + serializedName: "loadBalancerType", type: { name: "String" } - } - } - } -}; - -export const ComputeInstanceVersion: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ComputeInstanceVersion", - modelProperties: { - runtime: { - serializedName: "runtime", + }, + loadBalancerSubnet: { + serializedName: "loadBalancerSubnet", nullable: true, type: { name: "String" @@ -5139,76 +5575,77 @@ export const ComputeInstanceVersion: coreClient.CompositeMapper = { } }; -export const ComputeInstanceSchema: coreClient.CompositeMapper = { +export const SystemService: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeInstanceSchema", + className: "SystemService", modelProperties: { - properties: { - serializedName: "properties", + systemServiceType: { + serializedName: "systemServiceType", + readOnly: true, type: { - name: "Composite", - className: "ComputeInstanceProperties" + name: "String" } - } - } - } -}; - -export const VirtualMachineSchema: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VirtualMachineSchema", - modelProperties: { - properties: { - serializedName: "properties", + }, + publicIpAddress: { + serializedName: "publicIpAddress", + readOnly: true, type: { - name: "Composite", - className: "VirtualMachineSchemaProperties" + name: "String" + } + }, + version: { + serializedName: "version", + readOnly: true, + type: { + name: "String" } } } } }; -export const VirtualMachineSchemaProperties: coreClient.CompositeMapper = { +export const SslConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSchemaProperties", + className: "SslConfiguration", modelProperties: { - virtualMachineSize: { - serializedName: "virtualMachineSize", + status: { + serializedName: "status", type: { name: "String" } }, - sshPort: { - serializedName: "sshPort", + cert: { + serializedName: "cert", + nullable: true, type: { - name: "Number" + name: "String" } }, - notebookServerPort: { - serializedName: "notebookServerPort", + key: { + serializedName: "key", + nullable: true, type: { - name: "Number" + name: "String" } }, - address: { - serializedName: "address", + cname: { + serializedName: "cname", + nullable: true, type: { name: "String" } }, - administratorAccount: { - serializedName: "administratorAccount", + leafDomainLabel: { + serializedName: "leafDomainLabel", + nullable: true, type: { - name: "Composite", - className: "VirtualMachineSshCredentials" + name: "String" } }, - isNotebookInstanceCompute: { - serializedName: "isNotebookInstanceCompute", + overwriteExistingDomain: { + serializedName: "overwriteExistingDomain", type: { name: "Boolean" } @@ -5217,290 +5654,353 @@ export const VirtualMachineSchemaProperties: coreClient.CompositeMapper = { } }; -export const VirtualMachineSshCredentials: coreClient.CompositeMapper = { +export const AksNetworkingConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSshCredentials", + className: "AksNetworkingConfiguration", modelProperties: { - username: { - serializedName: "username", - type: { - name: "String" - } - }, - password: { - serializedName: "password", + subnetId: { + serializedName: "subnetId", type: { name: "String" } }, - publicKeyData: { - serializedName: "publicKeyData", + serviceCidr: { + constraints: { + Pattern: new RegExp( + "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$" + ) + }, + serializedName: "serviceCidr", type: { name: "String" } }, - privateKeyData: { - serializedName: "privateKeyData", + dnsServiceIP: { + constraints: { + Pattern: new RegExp( + "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + ) + }, + serializedName: "dnsServiceIP", type: { name: "String" } - } - } - } -}; - -export const HDInsightProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "HDInsightProperties", - modelProperties: { - sshPort: { - serializedName: "sshPort", - type: { - name: "Number" - } }, - address: { - serializedName: "address", + dockerBridgeCidr: { + constraints: { + Pattern: new RegExp( + "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$" + ) + }, + serializedName: "dockerBridgeCidr", type: { name: "String" } - }, - administratorAccount: { - serializedName: "administratorAccount", - type: { - name: "Composite", - className: "VirtualMachineSshCredentials" - } } } } }; -export const HDInsightSchema: coreClient.CompositeMapper = { +export const KubernetesSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HDInsightSchema", + className: "KubernetesSchema", modelProperties: { properties: { serializedName: "properties", type: { name: "Composite", - className: "HDInsightProperties" + className: "KubernetesProperties" } } } } }; -export const DatabricksProperties: coreClient.CompositeMapper = { +export const KubernetesProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatabricksProperties", + className: "KubernetesProperties", modelProperties: { - databricksAccessToken: { - serializedName: "databricksAccessToken", + relayConnectionString: { + serializedName: "relayConnectionString", + nullable: true, type: { name: "String" } }, - workspaceUrl: { - serializedName: "workspaceUrl", + serviceBusConnectionString: { + serializedName: "serviceBusConnectionString", + nullable: true, type: { name: "String" } - } - } - } -}; - -export const DatabricksSchema: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DatabricksSchema", - modelProperties: { - properties: { - serializedName: "properties", + }, + extensionPrincipalId: { + serializedName: "extensionPrincipalId", + nullable: true, type: { - name: "Composite", - className: "DatabricksProperties" + name: "String" } - } - } - } -}; - -export const DataLakeAnalyticsSchema: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DataLakeAnalyticsSchema", - modelProperties: { - properties: { - serializedName: "properties", + }, + extensionInstanceReleaseTrain: { + serializedName: "extensionInstanceReleaseTrain", + type: { + name: "String" + } + }, + vcName: { + serializedName: "vcName", + type: { + name: "String" + } + }, + namespace: { + defaultValue: "default", + serializedName: "namespace", + type: { + name: "String" + } + }, + defaultInstanceType: { + serializedName: "defaultInstanceType", + type: { + name: "String" + } + }, + instanceTypes: { + serializedName: "instanceTypes", + type: { + name: "Dictionary", + value: { + type: { name: "Composite", className: "InstanceTypeSchema" } + } + } + } + } + } +}; + +export const InstanceTypeSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "InstanceTypeSchema", + modelProperties: { + nodeSelector: { + serializedName: "nodeSelector", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + resources: { + serializedName: "resources", type: { name: "Composite", - className: "DataLakeAnalyticsSchemaProperties" + className: "InstanceTypeSchemaResources" } } } } }; -export const DataLakeAnalyticsSchemaProperties: coreClient.CompositeMapper = { +export const InstanceTypeSchemaResources: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataLakeAnalyticsSchemaProperties", + className: "InstanceTypeSchemaResources", modelProperties: { - dataLakeStoreAccountName: { - serializedName: "dataLakeStoreAccountName", + requests: { + serializedName: "requests", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + limits: { + serializedName: "limits", + type: { + name: "Dictionary", + value: { type: { name: "String" } } } } } } }; -export const SynapseSparkProperties: coreClient.CompositeMapper = { +export const AmlComputeProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SynapseSparkProperties", + className: "AmlComputeProperties", modelProperties: { - autoScaleProperties: { - serializedName: "autoScaleProperties", + osType: { + defaultValue: "Linux", + serializedName: "osType", type: { - name: "Composite", - className: "AutoScaleProperties" + name: "String" } }, - autoPauseProperties: { - serializedName: "autoPauseProperties", + vmSize: { + serializedName: "vmSize", type: { - name: "Composite", - className: "AutoPauseProperties" + name: "String" } }, - sparkVersion: { - serializedName: "sparkVersion", + vmPriority: { + serializedName: "vmPriority", type: { name: "String" } }, - nodeCount: { - serializedName: "nodeCount", + virtualMachineImage: { + serializedName: "virtualMachineImage", type: { - name: "Number" + name: "Composite", + className: "VirtualMachineImage" } }, - nodeSize: { - serializedName: "nodeSize", + isolatedNetwork: { + serializedName: "isolatedNetwork", type: { - name: "String" + name: "Boolean" } }, - nodeSizeFamily: { - serializedName: "nodeSizeFamily", + scaleSettings: { + serializedName: "scaleSettings", type: { - name: "String" + name: "Composite", + className: "ScaleSettings" } }, - subscriptionId: { - serializedName: "subscriptionId", + userAccountCredentials: { + serializedName: "userAccountCredentials", type: { - name: "String" + name: "Composite", + className: "UserAccountCredentials" } }, - resourceGroup: { - serializedName: "resourceGroup", + subnet: { + serializedName: "subnet", type: { - name: "String" + name: "Composite", + className: "ResourceId" } }, - workspaceName: { - serializedName: "workspaceName", + remoteLoginPortPublicAccess: { + defaultValue: "NotSpecified", + serializedName: "remoteLoginPortPublicAccess", type: { name: "String" } }, - poolName: { - serializedName: "poolName", + allocationState: { + serializedName: "allocationState", + readOnly: true, type: { name: "String" } - } - } - } -}; - -export const AutoScaleProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AutoScaleProperties", - modelProperties: { - minNodeCount: { - serializedName: "minNodeCount", + }, + allocationStateTransitionTime: { + serializedName: "allocationStateTransitionTime", + readOnly: true, + type: { + name: "DateTime" + } + }, + errors: { + serializedName: "errors", + readOnly: true, + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorResponse" + } + } + } + }, + currentNodeCount: { + serializedName: "currentNodeCount", + readOnly: true, + nullable: true, type: { name: "Number" } }, - enabled: { - serializedName: "enabled", + targetNodeCount: { + serializedName: "targetNodeCount", + readOnly: true, + nullable: true, + type: { + name: "Number" + } + }, + nodeStateCounts: { + serializedName: "nodeStateCounts", + type: { + name: "Composite", + className: "NodeStateCounts" + } + }, + enableNodePublicIp: { + defaultValue: true, + serializedName: "enableNodePublicIp", + nullable: true, type: { name: "Boolean" } }, - maxNodeCount: { - serializedName: "maxNodeCount", + propertyBag: { + serializedName: "propertyBag", + nullable: true, type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const AutoPauseProperties: coreClient.CompositeMapper = { +export const VirtualMachineImage: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutoPauseProperties", + className: "VirtualMachineImage", modelProperties: { - delayInMinutes: { - serializedName: "delayInMinutes", - type: { - name: "Number" - } - }, - enabled: { - serializedName: "enabled", + id: { + serializedName: "id", + required: true, type: { - name: "Boolean" + name: "String" } } } } }; -export const AksComputeSecretsProperties: coreClient.CompositeMapper = { +export const UserAccountCredentials: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AksComputeSecretsProperties", + className: "UserAccountCredentials", modelProperties: { - userKubeConfig: { - serializedName: "userKubeConfig", + adminUserName: { + serializedName: "adminUserName", + required: true, type: { name: "String" } }, - adminKubeConfig: { - serializedName: "adminKubeConfig", + adminUserSshPublicKey: { + serializedName: "adminUserSshPublicKey", type: { name: "String" } }, - imagePullSecretName: { - serializedName: "imagePullSecretName", - nullable: true, + adminUserPassword: { + serializedName: "adminUserPassword", type: { name: "String" } @@ -5509,266 +6009,287 @@ export const AksComputeSecretsProperties: coreClient.CompositeMapper = { } }; -export const VirtualMachineSecretsSchema: coreClient.CompositeMapper = { +export const NodeStateCounts: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineSecretsSchema", + className: "NodeStateCounts", modelProperties: { - administratorAccount: { - serializedName: "administratorAccount", + idleNodeCount: { + serializedName: "idleNodeCount", + readOnly: true, type: { - name: "Composite", - className: "VirtualMachineSshCredentials" + name: "Number" } - } - } - } -}; - -export const DatabricksComputeSecretsProperties: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DatabricksComputeSecretsProperties", - modelProperties: { - databricksAccessToken: { - serializedName: "databricksAccessToken", + }, + runningNodeCount: { + serializedName: "runningNodeCount", + readOnly: true, type: { - name: "String" + name: "Number" } - } - } - } -}; - -export const WorkspaceConnectionUsernamePassword: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WorkspaceConnectionUsernamePassword", - modelProperties: { - username: { - serializedName: "username", + }, + preparingNodeCount: { + serializedName: "preparingNodeCount", + readOnly: true, type: { - name: "String" + name: "Number" } }, - password: { - serializedName: "password", + unusableNodeCount: { + serializedName: "unusableNodeCount", + readOnly: true, type: { - name: "String" + name: "Number" } - } - } - } -}; - -export const WorkspaceConnectionPersonalAccessToken: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "WorkspaceConnectionPersonalAccessToken", - modelProperties: { - pat: { - serializedName: "pat", + }, + leavingNodeCount: { + serializedName: "leavingNodeCount", + readOnly: true, type: { - name: "String" + name: "Number" + } + }, + preemptedNodeCount: { + serializedName: "preemptedNodeCount", + readOnly: true, + type: { + name: "Number" } } } } }; -export const WorkspaceConnectionSharedAccessSignature: coreClient.CompositeMapper = { +export const AmlComputeSchema: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionSharedAccessSignature", + className: "AmlComputeSchema", modelProperties: { - sas: { - serializedName: "sas", + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "AmlComputeProperties" } } } } }; -export const WorkspaceConnectionManagedIdentity: coreClient.CompositeMapper = { +export const ComputeInstanceProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspaceConnectionManagedIdentity", + className: "ComputeInstanceProperties", modelProperties: { - resourceId: { - serializedName: "resourceId", + vmSize: { + serializedName: "vmSize", type: { name: "String" } }, - clientId: { - serializedName: "clientId", + subnet: { + serializedName: "subnet", type: { - name: "String" + name: "Composite", + className: "ResourceId" } - } - } - } -}; - -export const AssetJobInput: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AssetJobInput", - modelProperties: { - mode: { - serializedName: "mode", + }, + applicationSharingPolicy: { + defaultValue: "Shared", + serializedName: "applicationSharingPolicy", type: { name: "String" } }, - uri: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") - }, - serializedName: "uri", - required: true, + autologgerSettings: { + serializedName: "autologgerSettings", type: { - name: "String" + name: "Composite", + className: "ComputeInstanceAutologgerSettings" } - } - } - } -}; - -export const AssetJobOutput: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AssetJobOutput", - modelProperties: { - mode: { - serializedName: "mode", + }, + sshSettings: { + serializedName: "sshSettings", type: { - name: "String" + name: "Composite", + className: "ComputeInstanceSshSettings" } }, - uri: { - serializedName: "uri", + customServices: { + serializedName: "customServices", nullable: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CustomService" + } + } } - } - } - } -}; - -export const ForecastHorizon: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ForecastHorizon", - uberParent: "ForecastHorizon", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode" - }, - modelProperties: { - mode: { - serializedName: "mode", - required: true, + }, + osImageMetadata: { + serializedName: "osImageMetadata", type: { - name: "String" + name: "Composite", + className: "ImageMetadata" } - } - } - } -}; - -export const JobOutput: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "JobOutput", - uberParent: "JobOutput", - polymorphicDiscriminator: { - serializedName: "jobOutputType", - clientName: "jobOutputType" - }, - modelProperties: { - description: { - serializedName: "description", - nullable: true, + }, + connectivityEndpoints: { + serializedName: "connectivityEndpoints", type: { - name: "String" + name: "Composite", + className: "ComputeInstanceConnectivityEndpoints" } }, - jobOutputType: { - serializedName: "jobOutputType", - required: true, + applications: { + serializedName: "applications", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeInstanceApplication" + } + } } - } - } - } -}; - -export const AutoMLVertical: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AutoMLVertical", - uberParent: "AutoMLVertical", - polymorphicDiscriminator: { - serializedName: "taskType", - clientName: "taskType" - }, - modelProperties: { - logVerbosity: { - serializedName: "logVerbosity", + }, + createdBy: { + serializedName: "createdBy", type: { - name: "String" + name: "Composite", + className: "ComputeInstanceCreatedBy" } }, - targetColumnName: { - serializedName: "targetColumnName", - nullable: true, + errors: { + serializedName: "errors", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorResponse" + } + } } }, - taskType: { - serializedName: "taskType", - required: true, + state: { + serializedName: "state", + readOnly: true, type: { name: "String" } }, - trainingData: { - serializedName: "trainingData", + computeInstanceAuthorizationType: { + defaultValue: "personal", + serializedName: "computeInstanceAuthorizationType", + nullable: true, type: { - name: "Composite", - className: "MLTableJobInput" + name: "String" + } + }, + personalComputeInstanceSettings: { + serializedName: "personalComputeInstanceSettings", + type: { + name: "Composite", + className: "PersonalComputeInstanceSettings" + } + }, + setupScripts: { + serializedName: "setupScripts", + type: { + name: "Composite", + className: "SetupScripts" + } + }, + lastOperation: { + serializedName: "lastOperation", + type: { + name: "Composite", + className: "ComputeInstanceLastOperation" + } + }, + schedules: { + serializedName: "schedules", + type: { + name: "Composite", + className: "ComputeSchedules" + } + }, + idleTimeBeforeShutdown: { + serializedName: "idleTimeBeforeShutdown", + type: { + name: "String" + } + }, + enableNodePublicIp: { + serializedName: "enableNodePublicIp", + type: { + name: "Boolean" + } + }, + containers: { + serializedName: "containers", + readOnly: true, + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeInstanceContainer" + } + } + } + }, + dataDisks: { + serializedName: "dataDisks", + readOnly: true, + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeInstanceDataDisk" + } + } + } + }, + dataMounts: { + serializedName: "dataMounts", + readOnly: true, + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComputeInstanceDataMount" + } + } + } + }, + versions: { + serializedName: "versions", + type: { + name: "Composite", + className: "ComputeInstanceVersion" } } } } }; -export const JobInput: coreClient.CompositeMapper = { +export const ComputeInstanceAutologgerSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobInput", - uberParent: "JobInput", - polymorphicDiscriminator: { - serializedName: "jobInputType", - clientName: "jobInputType" - }, + className: "ComputeInstanceAutologgerSettings", modelProperties: { - description: { - serializedName: "description", - nullable: true, - type: { - name: "String" - } - }, - jobInputType: { - serializedName: "jobInputType", - required: true, + mlflowAutologger: { + serializedName: "mlflowAutologger", type: { name: "String" } @@ -5777,19 +6298,34 @@ export const JobInput: coreClient.CompositeMapper = { } }; -export const NCrossValidations: coreClient.CompositeMapper = { +export const ComputeInstanceSshSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NCrossValidations", - uberParent: "NCrossValidations", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode" - }, + className: "ComputeInstanceSshSettings", modelProperties: { - mode: { - serializedName: "mode", - required: true, + sshPublicAccess: { + defaultValue: "Disabled", + serializedName: "sshPublicAccess", + type: { + name: "String" + } + }, + adminUserName: { + serializedName: "adminUserName", + readOnly: true, + type: { + name: "String" + } + }, + sshPort: { + serializedName: "sshPort", + readOnly: true, + type: { + name: "Number" + } + }, + adminPublicKey: { + serializedName: "adminPublicKey", type: { name: "String" } @@ -5798,40 +6334,50 @@ export const NCrossValidations: coreClient.CompositeMapper = { } }; -export const Seasonality: coreClient.CompositeMapper = { +export const ImageMetadata: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Seasonality", - uberParent: "Seasonality", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode" - }, + className: "ImageMetadata", modelProperties: { - mode: { - serializedName: "mode", - required: true, + currentImageVersion: { + serializedName: "currentImageVersion", + type: { + name: "String" + } + }, + latestImageVersion: { + serializedName: "latestImageVersion", type: { name: "String" } + }, + isLatestOsImageVersion: { + serializedName: "isLatestOsImageVersion", + type: { + name: "Boolean" + } } } } }; -export const TargetLags: coreClient.CompositeMapper = { +export const ComputeInstanceConnectivityEndpoints: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TargetLags", - uberParent: "TargetLags", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode" - }, + className: "ComputeInstanceConnectivityEndpoints", modelProperties: { - mode: { - serializedName: "mode", - required: true, + publicIpAddress: { + serializedName: "publicIpAddress", + readOnly: true, + nullable: true, + type: { + name: "String" + } + }, + privateIpAddress: { + serializedName: "privateIpAddress", + readOnly: true, + nullable: true, type: { name: "String" } @@ -5840,19 +6386,19 @@ export const TargetLags: coreClient.CompositeMapper = { } }; -export const TargetRollingWindowSize: coreClient.CompositeMapper = { +export const ComputeInstanceApplication: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TargetRollingWindowSize", - uberParent: "TargetRollingWindowSize", - polymorphicDiscriminator: { - serializedName: "mode", - clientName: "mode" - }, + className: "ComputeInstanceApplication", modelProperties: { - mode: { - serializedName: "mode", - required: true, + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + }, + endpointUri: { + serializedName: "endpointUri", type: { name: "String" } @@ -5861,33 +6407,30 @@ export const TargetRollingWindowSize: coreClient.CompositeMapper = { } }; -export const EarlyTerminationPolicy: coreClient.CompositeMapper = { +export const ComputeInstanceCreatedBy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EarlyTerminationPolicy", - uberParent: "EarlyTerminationPolicy", - polymorphicDiscriminator: { - serializedName: "policyType", - clientName: "policyType" - }, + className: "ComputeInstanceCreatedBy", modelProperties: { - delayEvaluation: { - defaultValue: 0, - serializedName: "delayEvaluation", + userName: { + serializedName: "userName", + readOnly: true, + nullable: true, type: { - name: "Number" + name: "String" } }, - evaluationInterval: { - defaultValue: 0, - serializedName: "evaluationInterval", + userOrgId: { + serializedName: "userOrgId", + readOnly: true, type: { - name: "Number" + name: "String" } }, - policyType: { - serializedName: "policyType", - required: true, + userId: { + serializedName: "userId", + readOnly: true, + nullable: true, type: { name: "String" } @@ -5896,107 +6439,142 @@ export const EarlyTerminationPolicy: coreClient.CompositeMapper = { } }; -export const SamplingAlgorithm: coreClient.CompositeMapper = { +export const PersonalComputeInstanceSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SamplingAlgorithm", - uberParent: "SamplingAlgorithm", - polymorphicDiscriminator: { - serializedName: "samplingAlgorithmType", - clientName: "samplingAlgorithmType" - }, + className: "PersonalComputeInstanceSettings", modelProperties: { - samplingAlgorithmType: { - serializedName: "samplingAlgorithmType", - required: true, + assignedUser: { + serializedName: "assignedUser", type: { - name: "String" + name: "Composite", + className: "AssignedUser" } } } } }; -export const TrainingSettings: coreClient.CompositeMapper = { +export const AssignedUser: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TrainingSettings", + className: "AssignedUser", modelProperties: { - enableDnnTraining: { - defaultValue: false, - serializedName: "enableDnnTraining", + objectId: { + serializedName: "objectId", + required: true, type: { - name: "Boolean" + name: "String" } }, - enableModelExplainability: { - defaultValue: true, - serializedName: "enableModelExplainability", + tenantId: { + serializedName: "tenantId", + required: true, type: { - name: "Boolean" + name: "String" } - }, - enableOnnxCompatibleModels: { - defaultValue: false, - serializedName: "enableOnnxCompatibleModels", + } + } + } +}; + +export const SetupScripts: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SetupScripts", + modelProperties: { + scripts: { + serializedName: "scripts", type: { - name: "Boolean" + name: "Composite", + className: "ScriptsToExecute" + } + } + } + } +}; + +export const ScriptsToExecute: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ScriptsToExecute", + modelProperties: { + startupScript: { + serializedName: "startupScript", + type: { + name: "Composite", + className: "ScriptReference" } }, - enableStackEnsemble: { - defaultValue: true, - serializedName: "enableStackEnsemble", + creationScript: { + serializedName: "creationScript", type: { - name: "Boolean" + name: "Composite", + className: "ScriptReference" + } + } + } + } +}; + +export const ScriptReference: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ScriptReference", + modelProperties: { + scriptSource: { + serializedName: "scriptSource", + type: { + name: "String" } }, - enableVoteEnsemble: { - defaultValue: true, - serializedName: "enableVoteEnsemble", + scriptData: { + serializedName: "scriptData", type: { - name: "Boolean" + name: "String" } }, - ensembleModelDownloadTimeout: { - defaultValue: "PT5M", - serializedName: "ensembleModelDownloadTimeout", + scriptArguments: { + serializedName: "scriptArguments", type: { - name: "TimeSpan" + name: "String" } }, - stackEnsembleSettings: { - serializedName: "stackEnsembleSettings", + timeout: { + serializedName: "timeout", type: { - name: "Composite", - className: "StackEnsembleSettings" + name: "String" } } } } }; -export const StackEnsembleSettings: coreClient.CompositeMapper = { +export const ComputeInstanceLastOperation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "StackEnsembleSettings", + className: "ComputeInstanceLastOperation", modelProperties: { - stackMetaLearnerKWargs: { - serializedName: "stackMetaLearnerKWargs", - nullable: true, + operationName: { + serializedName: "operationName", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "String" } }, - stackMetaLearnerTrainPercentage: { - defaultValue: 0.2, - serializedName: "stackMetaLearnerTrainPercentage", + operationTime: { + serializedName: "operationTime", type: { - name: "Number" + name: "DateTime" } }, - stackMetaLearnerType: { - serializedName: "stackMetaLearnerType", + operationStatus: { + serializedName: "operationStatus", + type: { + name: "String" + } + }, + operationTrigger: { + serializedName: "operationTrigger", type: { name: "String" } @@ -6005,120 +6583,110 @@ export const StackEnsembleSettings: coreClient.CompositeMapper = { } }; -export const TableVertical: coreClient.CompositeMapper = { +export const ComputeSchedules: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TableVertical", + className: "ComputeSchedules", modelProperties: { - cvSplitColumnNames: { - serializedName: "cvSplitColumnNames", - nullable: true, + computeStartStop: { + serializedName: "computeStartStop", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "ComputeStartStopSchedule" } } } - }, - featurizationSettings: { - serializedName: "featurizationSettings", + } + } + } +}; + +export const ComputeStartStopSchedule: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeStartStopSchedule", + modelProperties: { + id: { + serializedName: "id", + readOnly: true, + nullable: true, type: { - name: "Composite", - className: "TableVerticalFeaturizationSettings" + name: "String" } }, - limitSettings: { - serializedName: "limitSettings", + provisioningStatus: { + serializedName: "provisioningStatus", + readOnly: true, type: { - name: "Composite", - className: "TableVerticalLimitSettings" + name: "String" } }, - nCrossValidations: { - serializedName: "nCrossValidations", + status: { + serializedName: "status", type: { - name: "Composite", - className: "NCrossValidations" + name: "String" } }, - testData: { - serializedName: "testData", + action: { + serializedName: "action", type: { - name: "Composite", - className: "MLTableJobInput" + name: "String" } }, - testDataSize: { - serializedName: "testDataSize", - nullable: true, + triggerType: { + serializedName: "triggerType", type: { - name: "Number" + name: "String" } }, - validationData: { - serializedName: "validationData", + recurrence: { + serializedName: "recurrence", type: { name: "Composite", - className: "MLTableJobInput" + className: "RecurrenceTrigger" } }, - validationDataSize: { - serializedName: "validationDataSize", - nullable: true, + cron: { + serializedName: "cron", type: { - name: "Number" + name: "Composite", + className: "CronTrigger" } }, - weightColumnName: { - serializedName: "weightColumnName", - nullable: true, + schedule: { + serializedName: "schedule", type: { - name: "String" + name: "Composite", + className: "ScheduleBase" } } } } }; -export const ColumnTransformer: coreClient.CompositeMapper = { +export const ScheduleBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ColumnTransformer", + className: "ScheduleBase", modelProperties: { - fields: { - serializedName: "fields", + id: { + serializedName: "id", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - parameters: { - serializedName: "parameters", - nullable: true, + provisioningStatus: { + serializedName: "provisioningStatus", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "String" } - } - } - } -}; - -export const FeaturizationSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FeaturizationSettings", - modelProperties: { - datasetLanguage: { - serializedName: "datasetLanguage", - nullable: true, + }, + status: { + serializedName: "status", type: { name: "String" } @@ -6127,158 +6695,106 @@ export const FeaturizationSettings: coreClient.CompositeMapper = { } }; -export const TableVerticalLimitSettings: coreClient.CompositeMapper = { +export const ComputeInstanceContainer: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TableVerticalLimitSettings", + className: "ComputeInstanceContainer", modelProperties: { - enableEarlyTermination: { - defaultValue: true, - serializedName: "enableEarlyTermination", + name: { + serializedName: "name", type: { - name: "Boolean" - } - }, - exitScore: { - serializedName: "exitScore", - nullable: true, - type: { - name: "Number" + name: "String" } }, - maxConcurrentTrials: { - defaultValue: 1, - serializedName: "maxConcurrentTrials", + autosave: { + serializedName: "autosave", type: { - name: "Number" + name: "String" } }, - maxCoresPerTrial: { - defaultValue: -1, - serializedName: "maxCoresPerTrial", + gpu: { + serializedName: "gpu", type: { - name: "Number" + name: "String" } }, - maxTrials: { - defaultValue: 1000, - serializedName: "maxTrials", + network: { + serializedName: "network", type: { - name: "Number" + name: "String" } }, - timeout: { - defaultValue: "PT6H", - serializedName: "timeout", + environment: { + serializedName: "environment", type: { - name: "TimeSpan" + name: "Composite", + className: "ComputeInstanceEnvironmentInfo" } }, - trialTimeout: { - defaultValue: "PT30M", - serializedName: "trialTimeout", - type: { - name: "TimeSpan" - } - } - } - } -}; - -export const DistributionConfiguration: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DistributionConfiguration", - uberParent: "DistributionConfiguration", - polymorphicDiscriminator: { - serializedName: "distributionType", - clientName: "distributionType" - }, - modelProperties: { - distributionType: { - serializedName: "distributionType", - required: true, + services: { + serializedName: "services", + readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } } } } } }; -export const JobLimits: coreClient.CompositeMapper = { +export const ComputeInstanceEnvironmentInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobLimits", - uberParent: "JobLimits", - polymorphicDiscriminator: { - serializedName: "jobLimitsType", - clientName: "jobLimitsType" - }, + className: "ComputeInstanceEnvironmentInfo", modelProperties: { - jobLimitsType: { - serializedName: "jobLimitsType", - required: true, + name: { + serializedName: "name", type: { name: "String" } }, - timeout: { - serializedName: "timeout", - nullable: true, + version: { + serializedName: "version", type: { - name: "TimeSpan" + name: "String" } } } } }; -export const ContainerResourceRequirements: coreClient.CompositeMapper = { +export const ComputeInstanceDataDisk: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ContainerResourceRequirements", + className: "ComputeInstanceDataDisk", modelProperties: { - containerResourceLimits: { - serializedName: "containerResourceLimits", + caching: { + serializedName: "caching", type: { - name: "Composite", - className: "ContainerResourceSettings" + name: "String" } }, - containerResourceRequests: { - serializedName: "containerResourceRequests", - type: { - name: "Composite", - className: "ContainerResourceSettings" - } - } - } - } -}; - -export const ContainerResourceSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ContainerResourceSettings", - modelProperties: { - cpu: { - serializedName: "cpu", - nullable: true, + diskSizeGB: { + serializedName: "diskSizeGB", type: { - name: "String" + name: "Number" } }, - gpu: { - serializedName: "gpu", - nullable: true, + lun: { + serializedName: "lun", type: { - name: "String" + name: "Number" } }, - memory: { - serializedName: "memory", - nullable: true, + storageAccountType: { + defaultValue: "Standard_LRS", + serializedName: "storageAccountType", type: { name: "String" } @@ -6287,99 +6803,61 @@ export const ContainerResourceSettings: coreClient.CompositeMapper = { } }; -export const ForecastingSettings: coreClient.CompositeMapper = { +export const ComputeInstanceDataMount: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ForecastingSettings", + className: "ComputeInstanceDataMount", modelProperties: { - countryOrRegionForHolidays: { - serializedName: "countryOrRegionForHolidays", - nullable: true, + source: { + serializedName: "source", type: { name: "String" } }, - cvStepSize: { - serializedName: "cvStepSize", - nullable: true, - type: { - name: "Number" - } - }, - featureLags: { - serializedName: "featureLags", + sourceType: { + serializedName: "sourceType", type: { name: "String" } }, - forecastHorizon: { - serializedName: "forecastHorizon", - type: { - name: "Composite", - className: "ForecastHorizon" - } - }, - frequency: { - serializedName: "frequency", - nullable: true, + mountName: { + serializedName: "mountName", type: { name: "String" } }, - seasonality: { - serializedName: "seasonality", - type: { - name: "Composite", - className: "Seasonality" - } - }, - shortSeriesHandlingConfig: { - serializedName: "shortSeriesHandlingConfig", + mountAction: { + serializedName: "mountAction", type: { name: "String" } }, - targetAggregateFunction: { - serializedName: "targetAggregateFunction", + createdBy: { + serializedName: "createdBy", type: { name: "String" } }, - targetLags: { - serializedName: "targetLags", - type: { - name: "Composite", - className: "TargetLags" - } - }, - targetRollingWindowSize: { - serializedName: "targetRollingWindowSize", + mountPath: { + serializedName: "mountPath", type: { - name: "Composite", - className: "TargetRollingWindowSize" + name: "String" } }, - timeColumnName: { - serializedName: "timeColumnName", - nullable: true, + mountState: { + serializedName: "mountState", type: { name: "String" } }, - timeSeriesIdColumnNames: { - serializedName: "timeSeriesIdColumnNames", - nullable: true, + mountedOn: { + serializedName: "mountedOn", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "DateTime" } }, - useStl: { - serializedName: "useStl", + error: { + serializedName: "error", type: { name: "String" } @@ -6388,433 +6866,595 @@ export const ForecastingSettings: coreClient.CompositeMapper = { } }; -export const ImageModelSettings: coreClient.CompositeMapper = { +export const ComputeInstanceVersion: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageModelSettings", + className: "ComputeInstanceVersion", modelProperties: { - advancedSettings: { - serializedName: "advancedSettings", + runtime: { + serializedName: "runtime", nullable: true, type: { name: "String" } - }, - amsGradient: { - serializedName: "amsGradient", - nullable: true, - type: { - name: "Boolean" - } - }, - augmentations: { - serializedName: "augmentations", - nullable: true, + } + } + } +}; + +export const ComputeInstanceSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ComputeInstanceSchema", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "ComputeInstanceProperties" } - }, - beta1: { - serializedName: "beta1", - nullable: true, + } + } + } +}; + +export const VirtualMachineSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineSchema", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "Number" + name: "Composite", + className: "VirtualMachineSchemaProperties" } - }, - beta2: { - serializedName: "beta2", - nullable: true, + } + } + } +}; + +export const VirtualMachineSchemaProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineSchemaProperties", + modelProperties: { + virtualMachineSize: { + serializedName: "virtualMachineSize", type: { - name: "Number" + name: "String" } }, - checkpointFrequency: { - serializedName: "checkpointFrequency", - nullable: true, + sshPort: { + serializedName: "sshPort", type: { name: "Number" } }, - checkpointModel: { - serializedName: "checkpointModel", + notebookServerPort: { + serializedName: "notebookServerPort", type: { - name: "Composite", - className: "MLFlowModelJobInput" + name: "Number" } }, - checkpointRunId: { - serializedName: "checkpointRunId", - nullable: true, + address: { + serializedName: "address", type: { name: "String" } }, - distributed: { - serializedName: "distributed", - nullable: true, + administratorAccount: { + serializedName: "administratorAccount", type: { - name: "Boolean" + name: "Composite", + className: "VirtualMachineSshCredentials" } }, - earlyStopping: { - serializedName: "earlyStopping", - nullable: true, + isNotebookInstanceCompute: { + serializedName: "isNotebookInstanceCompute", type: { name: "Boolean" } - }, - earlyStoppingDelay: { - serializedName: "earlyStoppingDelay", - nullable: true, + } + } + } +}; + +export const VirtualMachineSshCredentials: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineSshCredentials", + modelProperties: { + username: { + serializedName: "username", type: { - name: "Number" + name: "String" } }, - earlyStoppingPatience: { - serializedName: "earlyStoppingPatience", - nullable: true, + password: { + serializedName: "password", type: { - name: "Number" + name: "String" } }, - enableOnnxNormalization: { - serializedName: "enableOnnxNormalization", - nullable: true, + publicKeyData: { + serializedName: "publicKeyData", type: { - name: "Boolean" + name: "String" } }, - evaluationFrequency: { - serializedName: "evaluationFrequency", - nullable: true, + privateKeyData: { + serializedName: "privateKeyData", type: { - name: "Number" + name: "String" } - }, - gradientAccumulationStep: { - serializedName: "gradientAccumulationStep", - nullable: true, + } + } + } +}; + +export const HDInsightProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "HDInsightProperties", + modelProperties: { + sshPort: { + serializedName: "sshPort", type: { name: "Number" } }, - layersToFreeze: { - serializedName: "layersToFreeze", - nullable: true, + address: { + serializedName: "address", type: { - name: "Number" + name: "String" } }, - learningRate: { - serializedName: "learningRate", - nullable: true, + administratorAccount: { + serializedName: "administratorAccount", type: { - name: "Number" + name: "Composite", + className: "VirtualMachineSshCredentials" } - }, - learningRateScheduler: { - serializedName: "learningRateScheduler", + } + } + } +}; + +export const HDInsightSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "HDInsightSchema", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "HDInsightProperties" + } + } + } + } +}; + +export const DatabricksProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DatabricksProperties", + modelProperties: { + databricksAccessToken: { + serializedName: "databricksAccessToken", type: { name: "String" } }, - modelName: { - serializedName: "modelName", - nullable: true, + workspaceUrl: { + serializedName: "workspaceUrl", type: { name: "String" } - }, - momentum: { - serializedName: "momentum", - nullable: true, + } + } + } +}; + +export const DatabricksSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DatabricksSchema", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "Number" + name: "Composite", + className: "DatabricksProperties" } - }, - nesterov: { - serializedName: "nesterov", - nullable: true, + } + } + } +}; + +export const DataLakeAnalyticsSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataLakeAnalyticsSchema", + modelProperties: { + properties: { + serializedName: "properties", type: { - name: "Boolean" + name: "Composite", + className: "DataLakeAnalyticsSchemaProperties" } - }, - numberOfEpochs: { - serializedName: "numberOfEpochs", - nullable: true, + } + } + } +}; + +export const DataLakeAnalyticsSchemaProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataLakeAnalyticsSchemaProperties", + modelProperties: { + dataLakeStoreAccountName: { + serializedName: "dataLakeStoreAccountName", type: { - name: "Number" + name: "String" } - }, - numberOfWorkers: { - serializedName: "numberOfWorkers", - nullable: true, + } + } + } +}; + +export const SynapseSparkProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SynapseSparkProperties", + modelProperties: { + autoScaleProperties: { + serializedName: "autoScaleProperties", type: { - name: "Number" + name: "Composite", + className: "AutoScaleProperties" } }, - optimizer: { - serializedName: "optimizer", + autoPauseProperties: { + serializedName: "autoPauseProperties", type: { - name: "String" + name: "Composite", + className: "AutoPauseProperties" } }, - randomSeed: { - serializedName: "randomSeed", - nullable: true, + sparkVersion: { + serializedName: "sparkVersion", type: { - name: "Number" + name: "String" } }, - stepLRGamma: { - serializedName: "stepLRGamma", - nullable: true, + nodeCount: { + serializedName: "nodeCount", type: { name: "Number" } }, - stepLRStepSize: { - serializedName: "stepLRStepSize", - nullable: true, + nodeSize: { + serializedName: "nodeSize", type: { - name: "Number" + name: "String" } }, - trainingBatchSize: { - serializedName: "trainingBatchSize", - nullable: true, + nodeSizeFamily: { + serializedName: "nodeSizeFamily", type: { - name: "Number" + name: "String" } }, - validationBatchSize: { - serializedName: "validationBatchSize", - nullable: true, + subscriptionId: { + serializedName: "subscriptionId", type: { - name: "Number" + name: "String" } }, - warmupCosineLRCycles: { - serializedName: "warmupCosineLRCycles", - nullable: true, + resourceGroup: { + serializedName: "resourceGroup", type: { - name: "Number" + name: "String" } }, - warmupCosineLRWarmupEpochs: { - serializedName: "warmupCosineLRWarmupEpochs", - nullable: true, + workspaceName: { + serializedName: "workspaceName", type: { - name: "Number" + name: "String" } }, - weightDecay: { - serializedName: "weightDecay", - nullable: true, + poolName: { + serializedName: "poolName", type: { - name: "Number" + name: "String" } } } } }; -export const ImageModelDistributionSettings: coreClient.CompositeMapper = { +export const AutoScaleProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageModelDistributionSettings", + className: "AutoScaleProperties", modelProperties: { - amsGradient: { - serializedName: "amsGradient", - nullable: true, + minNodeCount: { + serializedName: "minNodeCount", type: { - name: "String" + name: "Number" } }, - augmentations: { - serializedName: "augmentations", - nullable: true, + enabled: { + serializedName: "enabled", type: { - name: "String" + name: "Boolean" } }, - beta1: { - serializedName: "beta1", - nullable: true, + maxNodeCount: { + serializedName: "maxNodeCount", type: { - name: "String" + name: "Number" } - }, - beta2: { - serializedName: "beta2", - nullable: true, + } + } + } +}; + +export const AutoPauseProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AutoPauseProperties", + modelProperties: { + delayInMinutes: { + serializedName: "delayInMinutes", type: { - name: "String" + name: "Number" } }, - distributed: { - serializedName: "distributed", - nullable: true, + enabled: { + serializedName: "enabled", type: { - name: "String" + name: "Boolean" } - }, - earlyStopping: { - serializedName: "earlyStopping", - nullable: true, + } + } + } +}; + +export const AksComputeSecretsProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AksComputeSecretsProperties", + modelProperties: { + userKubeConfig: { + serializedName: "userKubeConfig", type: { name: "String" } }, - earlyStoppingDelay: { - serializedName: "earlyStoppingDelay", - nullable: true, + adminKubeConfig: { + serializedName: "adminKubeConfig", type: { name: "String" } }, - earlyStoppingPatience: { - serializedName: "earlyStoppingPatience", + imagePullSecretName: { + serializedName: "imagePullSecretName", nullable: true, type: { name: "String" } - }, - enableOnnxNormalization: { - serializedName: "enableOnnxNormalization", - nullable: true, + } + } + } +}; + +export const VirtualMachineSecretsSchema: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VirtualMachineSecretsSchema", + modelProperties: { + administratorAccount: { + serializedName: "administratorAccount", type: { - name: "String" + name: "Composite", + className: "VirtualMachineSshCredentials" } - }, - evaluationFrequency: { - serializedName: "evaluationFrequency", - nullable: true, + } + } + } +}; + +export const DatabricksComputeSecretsProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DatabricksComputeSecretsProperties", + modelProperties: { + databricksAccessToken: { + serializedName: "databricksAccessToken", type: { name: "String" } - }, - gradientAccumulationStep: { - serializedName: "gradientAccumulationStep", - nullable: true, + } + } + } +}; + +export const WorkspaceConnectionUsernamePassword: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionUsernamePassword", + modelProperties: { + username: { + serializedName: "username", type: { name: "String" } }, - layersToFreeze: { - serializedName: "layersToFreeze", - nullable: true, + password: { + serializedName: "password", type: { name: "String" } - }, - learningRate: { - serializedName: "learningRate", - nullable: true, + } + } + } +}; + +export const WorkspaceConnectionPersonalAccessToken: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionPersonalAccessToken", + modelProperties: { + pat: { + serializedName: "pat", type: { name: "String" } - }, - learningRateScheduler: { - serializedName: "learningRateScheduler", - nullable: true, + } + } + } +}; + +export const WorkspaceConnectionSharedAccessSignature: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionSharedAccessSignature", + modelProperties: { + sas: { + serializedName: "sas", type: { name: "String" } - }, - modelName: { - serializedName: "modelName", - nullable: true, + } + } + } +}; + +export const WorkspaceConnectionAccessKey: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionAccessKey", + modelProperties: { + accessKeyId: { + serializedName: "accessKeyId", type: { name: "String" } }, - momentum: { - serializedName: "momentum", - nullable: true, + secretAccessKey: { + serializedName: "secretAccessKey", type: { name: "String" } - }, - nesterov: { - serializedName: "nesterov", - nullable: true, + } + } + } +}; + +export const WorkspaceConnectionServicePrincipal: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionServicePrincipal", + modelProperties: { + clientId: { + serializedName: "clientId", type: { name: "String" } }, - numberOfEpochs: { - serializedName: "numberOfEpochs", - nullable: true, + clientSecret: { + serializedName: "clientSecret", type: { name: "String" } }, - numberOfWorkers: { - serializedName: "numberOfWorkers", - nullable: true, + tenantId: { + serializedName: "tenantId", type: { name: "String" } - }, - optimizer: { - serializedName: "optimizer", - nullable: true, - type: { - name: "String" - } - }, - randomSeed: { - serializedName: "randomSeed", - nullable: true, + } + } + } +}; + +export const WorkspaceConnectionManagedIdentity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WorkspaceConnectionManagedIdentity", + modelProperties: { + resourceId: { + serializedName: "resourceId", type: { name: "String" } }, - stepLRGamma: { - serializedName: "stepLRGamma", - nullable: true, + clientId: { + serializedName: "clientId", type: { name: "String" } - }, - stepLRStepSize: { - serializedName: "stepLRStepSize", - nullable: true, + } + } + } +}; + +export const AssetJobInput: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AssetJobInput", + modelProperties: { + mode: { + serializedName: "mode", type: { name: "String" } }, - trainingBatchSize: { - serializedName: "trainingBatchSize", - nullable: true, + uri: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "uri", + required: true, type: { name: "String" } - }, - validationBatchSize: { - serializedName: "validationBatchSize", + } + } + } +}; + +export const AssetJobOutput: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AssetJobOutput", + modelProperties: { + assetName: { + serializedName: "assetName", nullable: true, type: { name: "String" } }, - warmupCosineLRCycles: { - serializedName: "warmupCosineLRCycles", + assetVersion: { + serializedName: "assetVersion", nullable: true, type: { name: "String" } }, - warmupCosineLRWarmupEpochs: { - serializedName: "warmupCosineLRWarmupEpochs", - nullable: true, + mode: { + serializedName: "mode", type: { name: "String" } }, - weightDecay: { - serializedName: "weightDecay", + uri: { + serializedName: "uri", nullable: true, type: { name: "String" @@ -6824,87 +7464,62 @@ export const ImageModelDistributionSettings: coreClient.CompositeMapper = { } }; -export const ImageVertical: coreClient.CompositeMapper = { +export const ForecastHorizon: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageVertical", + className: "ForecastHorizon", + uberParent: "ForecastHorizon", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode" + }, 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, + mode: { + serializedName: "mode", + required: true, type: { - name: "Number" + name: "String" } } } } }; -export const ImageLimitSettings: coreClient.CompositeMapper = { +export const AutologgerSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageLimitSettings", + className: "AutologgerSettings", modelProperties: { - maxConcurrentTrials: { - defaultValue: 1, - serializedName: "maxConcurrentTrials", - type: { - name: "Number" - } - }, - maxTrials: { - defaultValue: 1, - serializedName: "maxTrials", - type: { - name: "Number" - } - }, - timeout: { - defaultValue: "P7D", - serializedName: "timeout", + mlflowAutologger: { + serializedName: "mlflowAutologger", + required: true, type: { - name: "TimeSpan" + name: "String" } } } } }; -export const ImageSweepSettings: coreClient.CompositeMapper = { +export const JobOutput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageSweepSettings", + className: "JobOutput", + uberParent: "JobOutput", + polymorphicDiscriminator: { + serializedName: "jobOutputType", + clientName: "jobOutputType" + }, modelProperties: { - earlyTermination: { - serializedName: "earlyTermination", + description: { + serializedName: "description", + nullable: true, type: { - name: "Composite", - className: "EarlyTerminationPolicy" + name: "String" } }, - samplingAlgorithm: { - serializedName: "samplingAlgorithm", + jobOutputType: { + serializedName: "jobOutputType", required: true, type: { name: "String" @@ -6914,82 +7529,88 @@ export const ImageSweepSettings: coreClient.CompositeMapper = { } }; -export const NlpVertical: coreClient.CompositeMapper = { +export const QueueSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NlpVertical", + className: "QueueSettings", modelProperties: { - featurizationSettings: { - serializedName: "featurizationSettings", - type: { - name: "Composite", - className: "NlpVerticalFeaturizationSettings" - } - }, - limitSettings: { - serializedName: "limitSettings", + jobTier: { + serializedName: "jobTier", type: { - name: "Composite", - className: "NlpVerticalLimitSettings" + name: "String" } }, - validationData: { - serializedName: "validationData", + priority: { + serializedName: "priority", + nullable: true, type: { - name: "Composite", - className: "MLTableJobInput" + name: "Number" } } } } }; -export const NlpVerticalLimitSettings: coreClient.CompositeMapper = { +export const AutoMLVertical: coreClient.CompositeMapper = { type: { name: "Composite", - className: "NlpVerticalLimitSettings", + className: "AutoMLVertical", + uberParent: "AutoMLVertical", + polymorphicDiscriminator: { + serializedName: "taskType", + clientName: "taskType" + }, modelProperties: { - maxConcurrentTrials: { - defaultValue: 1, - serializedName: "maxConcurrentTrials", + logVerbosity: { + serializedName: "logVerbosity", type: { - name: "Number" + name: "String" } }, - maxTrials: { - defaultValue: 1, - serializedName: "maxTrials", + targetColumnName: { + serializedName: "targetColumnName", + nullable: true, type: { - name: "Number" + name: "String" } }, - timeout: { - serializedName: "timeout", + taskType: { + serializedName: "taskType", + required: true, type: { - name: "TimeSpan" + name: "String" + } + }, + trainingData: { + serializedName: "trainingData", + type: { + name: "Composite", + className: "MLTableJobInput" } } } } }; -export const Objective: coreClient.CompositeMapper = { +export const JobInput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Objective", + className: "JobInput", + uberParent: "JobInput", + polymorphicDiscriminator: { + serializedName: "jobInputType", + clientName: "jobInputType" + }, modelProperties: { - goal: { - serializedName: "goal", - required: true, + description: { + serializedName: "description", + nullable: true, type: { name: "String" } }, - primaryMetric: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") - }, - serializedName: "primaryMetric", + jobInputType: { + serializedName: "jobInputType", required: true, type: { name: "String" @@ -6999,115 +7620,161 @@ export const Objective: coreClient.CompositeMapper = { } }; -export const TrialComponent: coreClient.CompositeMapper = { +export const NCrossValidations: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TrialComponent", + className: "NCrossValidations", + uberParent: "NCrossValidations", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode" + }, modelProperties: { - codeId: { - serializedName: "codeId", - nullable: true, + mode: { + serializedName: "mode", + required: true, type: { name: "String" } - }, - command: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1 - }, - serializedName: "command", + } + } + } +}; + +export const Seasonality: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Seasonality", + uberParent: "Seasonality", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode" + }, + modelProperties: { + mode: { + serializedName: "mode", required: true, type: { name: "String" } - }, - distribution: { - serializedName: "distribution", - type: { - name: "Composite", - className: "DistributionConfiguration" - } - }, - environmentId: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") - }, - serializedName: "environmentId", + } + } + } +}; + +export const TargetLags: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TargetLags", + uberParent: "TargetLags", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode" + }, + modelProperties: { + mode: { + serializedName: "mode", 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 = { +export const TargetRollingWindowSize: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointConnection", + className: "TargetRollingWindowSize", + uberParent: "TargetRollingWindowSize", + polymorphicDiscriminator: { + serializedName: "mode", + clientName: "mode" + }, modelProperties: { - ...Resource.type.modelProperties, - identity: { - serializedName: "identity", + mode: { + serializedName: "mode", + required: true, type: { - name: "Composite", - className: "ManagedServiceIdentity" + name: "String" } - }, - location: { - serializedName: "location", + } + } + } +}; + +export const AzureDatastore: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AzureDatastore", + modelProperties: { + resourceGroup: { + serializedName: "resourceGroup", + nullable: true, type: { name: "String" } }, - tags: { - serializedName: "tags", + subscriptionId: { + serializedName: "subscriptionId", + nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "String" } - }, - sku: { - serializedName: "sku", + } + } + } +}; + +export const EarlyTerminationPolicy: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EarlyTerminationPolicy", + uberParent: "EarlyTerminationPolicy", + polymorphicDiscriminator: { + serializedName: "policyType", + clientName: "policyType" + }, + modelProperties: { + delayEvaluation: { + defaultValue: 0, + serializedName: "delayEvaluation", type: { - name: "Composite", - className: "Sku" + name: "Number" } }, - privateEndpoint: { - serializedName: "properties.privateEndpoint", + evaluationInterval: { + defaultValue: 0, + serializedName: "evaluationInterval", type: { - name: "Composite", - className: "PrivateEndpoint" + name: "Number" } }, - privateLinkServiceConnectionState: { - serializedName: "properties.privateLinkServiceConnectionState", + policyType: { + serializedName: "policyType", + required: true, type: { - name: "Composite", - className: "PrivateLinkServiceConnectionState" + name: "String" } - }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + } + } + } +}; + +export const SamplingAlgorithm: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SamplingAlgorithm", + uberParent: "SamplingAlgorithm", + polymorphicDiscriminator: { + serializedName: "samplingAlgorithmType", + clientName: "samplingAlgorithmType" + }, + modelProperties: { + samplingAlgorithmType: { + serializedName: "samplingAlgorithmType", + required: true, type: { name: "String" } @@ -7116,889 +7783,4498 @@ export const PrivateEndpointConnection: coreClient.CompositeMapper = { } }; -export const Workspace: coreClient.CompositeMapper = { +export const TrainingSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Workspace", + 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" } }, - workspaceId: { - serializedName: "properties.workspaceId", - readOnly: true, + enableVoteEnsemble: { + defaultValue: true, + serializedName: "enableVoteEnsemble", type: { - name: "String" + name: "Boolean" } }, - description: { - serializedName: "properties.description", + ensembleModelDownloadTimeout: { + defaultValue: "PT5M", + serializedName: "ensembleModelDownloadTimeout", type: { - name: "String" + name: "TimeSpan" } }, - friendlyName: { - serializedName: "properties.friendlyName", + stackEnsembleSettings: { + serializedName: "stackEnsembleSettings", type: { - name: "String" + name: "Composite", + className: "StackEnsembleSettings" } }, - keyVault: { - serializedName: "properties.keyVault", + trainingMode: { + serializedName: "trainingMode", type: { name: "String" } + } + } + } +}; + +export const StackEnsembleSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "StackEnsembleSettings", + modelProperties: { + stackMetaLearnerKWargs: { + serializedName: "stackMetaLearnerKWargs", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } }, - applicationInsights: { - serializedName: "properties.applicationInsights", + stackMetaLearnerTrainPercentage: { + defaultValue: 0.2, + serializedName: "stackMetaLearnerTrainPercentage", type: { - name: "String" + name: "Number" } }, - containerRegistry: { - serializedName: "properties.containerRegistry", - nullable: true, + stackMetaLearnerType: { + serializedName: "stackMetaLearnerType", type: { name: "String" } - }, - storageAccount: { - serializedName: "properties.storageAccount", - type: { - name: "String" - } - }, - discoveryUrl: { - serializedName: "properties.discoveryUrl", - type: { - name: "String" - } - }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + } + } + } +}; + +export const TableVertical: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TableVertical", + modelProperties: { + cvSplitColumnNames: { + serializedName: "cvSplitColumnNames", + nullable: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - encryption: { - serializedName: "properties.encryption", + featurizationSettings: { + serializedName: "featurizationSettings", 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" + className: "TableVerticalFeaturizationSettings" } }, - allowPublicAccessWhenBehindVnet: { - defaultValue: false, - serializedName: "properties.allowPublicAccessWhenBehindVnet", + fixedParameters: { + serializedName: "fixedParameters", type: { - name: "Boolean" + name: "Composite", + className: "TableFixedParameters" } }, - publicNetworkAccess: { - serializedName: "properties.publicNetworkAccess", + limitSettings: { + serializedName: "limitSettings", type: { - name: "String" + name: "Composite", + className: "TableVerticalLimitSettings" } }, - privateEndpointConnections: { - serializedName: "properties.privateEndpointConnections", - readOnly: true, + nCrossValidations: { + serializedName: "nCrossValidations", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointConnection" - } - } + name: "Composite", + className: "NCrossValidations" } }, - sharedPrivateLinkResources: { - serializedName: "properties.sharedPrivateLinkResources", + searchSpace: { + serializedName: "searchSpace", + nullable: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "SharedPrivateLinkResource" + className: "TableParameterSubspace" } } } }, - notebookInfo: { - serializedName: "properties.notebookInfo", + sweepSettings: { + serializedName: "sweepSettings", type: { name: "Composite", - className: "NotebookResourceInfo" + className: "TableSweepSettings" } }, - serviceManagedResourcesSettings: { - serializedName: "properties.serviceManagedResourcesSettings", + testData: { + serializedName: "testData", type: { name: "Composite", - className: "ServiceManagedResourcesSettings" + className: "MLTableJobInput" } }, - primaryUserAssignedIdentity: { - serializedName: "properties.primaryUserAssignedIdentity", + testDataSize: { + serializedName: "testDataSize", + nullable: true, type: { - name: "String" + name: "Number" } }, - tenantId: { - serializedName: "properties.tenantId", - readOnly: true, + validationData: { + serializedName: "validationData", type: { - name: "String" + name: "Composite", + className: "MLTableJobInput" } }, - storageHnsEnabled: { - serializedName: "properties.storageHnsEnabled", - readOnly: true, + validationDataSize: { + serializedName: "validationDataSize", + nullable: true, type: { - name: "Boolean" + name: "Number" } }, - mlFlowTrackingUri: { - serializedName: "properties.mlFlowTrackingUri", - readOnly: true, + weightColumnName: { + serializedName: "weightColumnName", + nullable: true, type: { name: "String" } - }, - v1LegacyMode: { - defaultValue: false, - serializedName: "properties.v1LegacyMode", - type: { - name: "Boolean" - } } } } }; -export const ComputeResource: coreClient.CompositeMapper = { +export const ColumnTransformer: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeResource", + className: "ColumnTransformer", modelProperties: { - ...Resource.type.modelProperties, - ...ComputeResourceSchema.type.modelProperties, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "ManagedServiceIdentity" - } - }, - location: { - serializedName: "location", + fields: { + serializedName: "fields", + nullable: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - tags: { - serializedName: "tags", + parameters: { + serializedName: "parameters", nullable: true, type: { name: "Dictionary", - value: { type: { name: "String" } } + value: { type: { name: "any" } } } - }, - sku: { - serializedName: "sku", + } + } + } +}; + +export const FeaturizationSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturizationSettings", + modelProperties: { + datasetLanguage: { + serializedName: "datasetLanguage", + nullable: true, type: { - name: "Composite", - className: "Sku" + name: "String" } } } } }; -export const PrivateLinkResource: coreClient.CompositeMapper = { +export const TableFixedParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateLinkResource", + className: "TableFixedParameters", modelProperties: { - ...Resource.type.modelProperties, - identity: { - serializedName: "identity", + booster: { + serializedName: "booster", + nullable: true, type: { - name: "Composite", - className: "ManagedServiceIdentity" + name: "String" } }, - location: { - serializedName: "location", + boostingType: { + serializedName: "boostingType", + nullable: true, type: { name: "String" } }, - tags: { - serializedName: "tags", + growPolicy: { + serializedName: "growPolicy", + nullable: true, type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "String" } }, - sku: { - serializedName: "sku", + learningRate: { + serializedName: "learningRate", + nullable: true, type: { - name: "Composite", - className: "Sku" + name: "Number" } }, - groupId: { - serializedName: "properties.groupId", - readOnly: true, + maxBin: { + serializedName: "maxBin", + nullable: true, type: { - name: "String" + name: "Number" } }, - requiredMembers: { - serializedName: "properties.requiredMembers", - readOnly: true, + maxDepth: { + serializedName: "maxDepth", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Number" } }, - requiredZoneNames: { - serializedName: "properties.requiredZoneNames", + maxLeaves: { + serializedName: "maxLeaves", + nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Number" } - } - } - } -}; - + }, + minDataInLeaf: { + serializedName: "minDataInLeaf", + nullable: true, + type: { + name: "Number" + } + }, + minSplitGain: { + serializedName: "minSplitGain", + nullable: true, + type: { + name: "Number" + } + }, + modelName: { + serializedName: "modelName", + nullable: true, + type: { + name: "String" + } + }, + nEstimators: { + serializedName: "nEstimators", + nullable: true, + type: { + name: "Number" + } + }, + numLeaves: { + serializedName: "numLeaves", + nullable: true, + type: { + name: "Number" + } + }, + preprocessorName: { + serializedName: "preprocessorName", + nullable: true, + type: { + name: "String" + } + }, + regAlpha: { + serializedName: "regAlpha", + nullable: true, + type: { + name: "Number" + } + }, + regLambda: { + serializedName: "regLambda", + nullable: true, + type: { + name: "Number" + } + }, + subsample: { + serializedName: "subsample", + nullable: true, + type: { + name: "Number" + } + }, + subsampleFreq: { + serializedName: "subsampleFreq", + nullable: true, + type: { + name: "Number" + } + }, + treeMethod: { + serializedName: "treeMethod", + nullable: true, + type: { + name: "String" + } + }, + withMean: { + defaultValue: false, + serializedName: "withMean", + type: { + name: "Boolean" + } + }, + withStd: { + defaultValue: false, + serializedName: "withStd", + type: { + name: "Boolean" + } + } + } + } +}; + +export const TableVerticalLimitSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TableVerticalLimitSettings", + modelProperties: { + enableEarlyTermination: { + defaultValue: true, + serializedName: "enableEarlyTermination", + type: { + name: "Boolean" + } + }, + exitScore: { + serializedName: "exitScore", + nullable: true, + type: { + name: "Number" + } + }, + maxConcurrentTrials: { + defaultValue: 1, + serializedName: "maxConcurrentTrials", + type: { + name: "Number" + } + }, + maxCoresPerTrial: { + defaultValue: -1, + serializedName: "maxCoresPerTrial", + type: { + name: "Number" + } + }, + maxNodes: { + defaultValue: 1, + serializedName: "maxNodes", + type: { + name: "Number" + } + }, + maxTrials: { + defaultValue: 1000, + serializedName: "maxTrials", + type: { + name: "Number" + } + }, + sweepConcurrentTrials: { + defaultValue: 0, + serializedName: "sweepConcurrentTrials", + type: { + name: "Number" + } + }, + sweepTrials: { + defaultValue: 0, + serializedName: "sweepTrials", + type: { + name: "Number" + } + }, + timeout: { + defaultValue: "PT6H", + serializedName: "timeout", + type: { + name: "TimeSpan" + } + }, + trialTimeout: { + defaultValue: "PT30M", + serializedName: "trialTimeout", + type: { + name: "TimeSpan" + } + } + } + } +}; + +export const TableParameterSubspace: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TableParameterSubspace", + modelProperties: { + booster: { + serializedName: "booster", + nullable: true, + type: { + name: "String" + } + }, + boostingType: { + serializedName: "boostingType", + nullable: true, + type: { + name: "String" + } + }, + growPolicy: { + serializedName: "growPolicy", + nullable: true, + type: { + name: "String" + } + }, + learningRate: { + serializedName: "learningRate", + nullable: true, + type: { + name: "String" + } + }, + maxBin: { + serializedName: "maxBin", + nullable: true, + type: { + name: "String" + } + }, + maxDepth: { + serializedName: "maxDepth", + nullable: true, + type: { + name: "String" + } + }, + maxLeaves: { + serializedName: "maxLeaves", + nullable: true, + type: { + name: "String" + } + }, + minDataInLeaf: { + serializedName: "minDataInLeaf", + nullable: true, + type: { + name: "String" + } + }, + minSplitGain: { + serializedName: "minSplitGain", + nullable: true, + type: { + name: "String" + } + }, + modelName: { + serializedName: "modelName", + nullable: true, + type: { + name: "String" + } + }, + nEstimators: { + serializedName: "nEstimators", + nullable: true, + type: { + name: "String" + } + }, + numLeaves: { + serializedName: "numLeaves", + nullable: true, + type: { + name: "String" + } + }, + preprocessorName: { + serializedName: "preprocessorName", + nullable: true, + type: { + name: "String" + } + }, + regAlpha: { + serializedName: "regAlpha", + nullable: true, + type: { + name: "String" + } + }, + regLambda: { + serializedName: "regLambda", + nullable: true, + type: { + name: "String" + } + }, + subsample: { + serializedName: "subsample", + nullable: true, + type: { + name: "String" + } + }, + subsampleFreq: { + serializedName: "subsampleFreq", + nullable: true, + type: { + name: "String" + } + }, + treeMethod: { + serializedName: "treeMethod", + nullable: true, + type: { + name: "String" + } + }, + withMean: { + serializedName: "withMean", + nullable: true, + type: { + name: "String" + } + }, + withStd: { + serializedName: "withStd", + nullable: true, + type: { + name: "String" + } + } + } + } +}; + +export const TableSweepSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TableSweepSettings", + modelProperties: { + earlyTermination: { + serializedName: "earlyTermination", + type: { + name: "Composite", + className: "EarlyTerminationPolicy" + } + }, + samplingAlgorithm: { + serializedName: "samplingAlgorithm", + required: true, + type: { + name: "String" + } + } + } + } +}; + +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: "String" + } + } + } + } +}; + +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: "String" + } + }, + timeout: { + serializedName: "timeout", + nullable: true, + type: { + name: "TimeSpan" + } + } + } + } +}; + +export const ContainerResourceRequirements: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ContainerResourceRequirements", + modelProperties: { + containerResourceLimits: { + serializedName: "containerResourceLimits", + type: { + name: "Composite", + className: "ContainerResourceSettings" + } + }, + containerResourceRequests: { + serializedName: "containerResourceRequests", + type: { + name: "Composite", + className: "ContainerResourceSettings" + } + } + } + } +}; + +export const ContainerResourceSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ContainerResourceSettings", + modelProperties: { + cpu: { + serializedName: "cpu", + nullable: true, + type: { + name: "String" + } + }, + gpu: { + serializedName: "gpu", + nullable: true, + type: { + name: "String" + } + }, + memory: { + serializedName: "memory", + nullable: true, + type: { + name: "String" + } + } + } + } +}; + +export const OnlineInferenceConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OnlineInferenceConfiguration", + modelProperties: { + configurations: { + serializedName: "configurations", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + entryScript: { + serializedName: "entryScript", + nullable: true, + type: { + name: "String" + } + }, + livenessRoute: { + serializedName: "livenessRoute", + type: { + name: "Composite", + className: "Route" + } + }, + readinessRoute: { + serializedName: "readinessRoute", + type: { + name: "Composite", + className: "Route" + } + }, + scoringRoute: { + serializedName: "scoringRoute", + type: { + name: "Composite", + className: "Route" + } + } + } + } +}; + +export const ForecastingSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ForecastingSettings", + modelProperties: { + countryOrRegionForHolidays: { + serializedName: "countryOrRegionForHolidays", + nullable: true, + type: { + name: "String" + } + }, + cvStepSize: { + serializedName: "cvStepSize", + nullable: true, + type: { + name: "Number" + } + }, + featureLags: { + serializedName: "featureLags", + type: { + name: "String" + } + }, + forecastHorizon: { + serializedName: "forecastHorizon", + type: { + name: "Composite", + className: "ForecastHorizon" + } + }, + frequency: { + serializedName: "frequency", + nullable: true, + type: { + name: "String" + } + }, + seasonality: { + serializedName: "seasonality", + type: { + name: "Composite", + className: "Seasonality" + } + }, + shortSeriesHandlingConfig: { + serializedName: "shortSeriesHandlingConfig", + type: { + name: "String" + } + }, + targetAggregateFunction: { + serializedName: "targetAggregateFunction", + type: { + name: "String" + } + }, + targetLags: { + serializedName: "targetLags", + type: { + name: "Composite", + className: "TargetLags" + } + }, + targetRollingWindowSize: { + serializedName: "targetRollingWindowSize", + type: { + name: "Composite", + className: "TargetRollingWindowSize" + } + }, + timeColumnName: { + serializedName: "timeColumnName", + nullable: true, + type: { + name: "String" + } + }, + timeSeriesIdColumnNames: { + serializedName: "timeSeriesIdColumnNames", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + useStl: { + serializedName: "useStl", + type: { + name: "String" + } + } + } + } +}; + +export const ImageModelSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageModelSettings", + modelProperties: { + advancedSettings: { + serializedName: "advancedSettings", + nullable: true, + type: { + name: "String" + } + }, + amsGradient: { + serializedName: "amsGradient", + nullable: true, + type: { + name: "Boolean" + } + }, + augmentations: { + serializedName: "augmentations", + nullable: true, + type: { + name: "String" + } + }, + beta1: { + serializedName: "beta1", + nullable: true, + type: { + name: "Number" + } + }, + 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" + } + }, + samplingAlgorithm: { + serializedName: "samplingAlgorithm", + required: true, + type: { + name: "String" + } + } + } + } +}; + +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 NlpFixedParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NlpFixedParameters", + modelProperties: { + gradientAccumulationSteps: { + serializedName: "gradientAccumulationSteps", + 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" + } + }, + numberOfEpochs: { + serializedName: "numberOfEpochs", + nullable: true, + type: { + name: "Number" + } + }, + trainingBatchSize: { + serializedName: "trainingBatchSize", + nullable: true, + type: { + name: "Number" + } + }, + validationBatchSize: { + serializedName: "validationBatchSize", + nullable: true, + type: { + name: "Number" + } + }, + warmupRatio: { + serializedName: "warmupRatio", + nullable: true, + type: { + name: "Number" + } + }, + weightDecay: { + serializedName: "weightDecay", + nullable: true, + type: { + name: "Number" + } + } + } + } +}; + +export const NlpParameterSubspace: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NlpParameterSubspace", + modelProperties: { + gradientAccumulationSteps: { + serializedName: "gradientAccumulationSteps", + 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" + } + }, + numberOfEpochs: { + serializedName: "numberOfEpochs", + nullable: true, + type: { + name: "String" + } + }, + trainingBatchSize: { + serializedName: "trainingBatchSize", + nullable: true, + type: { + name: "String" + } + }, + validationBatchSize: { + serializedName: "validationBatchSize", + nullable: true, + type: { + name: "String" + } + }, + warmupRatio: { + serializedName: "warmupRatio", + nullable: true, + type: { + name: "String" + } + }, + weightDecay: { + serializedName: "weightDecay", + nullable: true, + type: { + name: "String" + } + } + } + } +}; + +export const NlpSweepSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NlpSweepSettings", + modelProperties: { + earlyTermination: { + serializedName: "earlyTermination", + type: { + name: "Composite", + className: "EarlyTerminationPolicy" + } + }, + samplingAlgorithm: { + serializedName: "samplingAlgorithm", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const NlpVertical: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NlpVertical", + modelProperties: { + featurizationSettings: { + serializedName: "featurizationSettings", + type: { + name: "Composite", + className: "NlpVerticalFeaturizationSettings" + } + }, + fixedParameters: { + serializedName: "fixedParameters", + type: { + name: "Composite", + className: "NlpFixedParameters" + } + }, + limitSettings: { + serializedName: "limitSettings", + type: { + name: "Composite", + className: "NlpVerticalLimitSettings" + } + }, + searchSpace: { + serializedName: "searchSpace", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NlpParameterSubspace" + } + } + } + }, + sweepSettings: { + serializedName: "sweepSettings", + type: { + name: "Composite", + className: "NlpSweepSettings" + } + }, + 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" + } + }, + maxNodes: { + defaultValue: 1, + serializedName: "maxNodes", + type: { + name: "Number" + } + }, + maxTrials: { + defaultValue: 1, + serializedName: "maxTrials", + type: { + name: "Number" + } + }, + timeout: { + defaultValue: "P7D", + serializedName: "timeout", + type: { + name: "TimeSpan" + } + }, + trialTimeout: { + serializedName: "trialTimeout", + 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 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" + } + }, + softDeletedAt: { + serializedName: "properties.softDeletedAt", + readOnly: true, + type: { + name: "String" + } + }, + scheduledPurgeDate: { + serializedName: "properties.scheduledPurgeDate", + readOnly: true, + type: { + name: "String" + } + }, + systemDatastoresAuthMode: { + serializedName: "properties.systemDatastoresAuthMode", + type: { + name: "String" + } + } + } + } +}; + +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", + className: "WorkspaceConnectionPropertiesV2BasicResource", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "WorkspaceConnectionPropertiesV2" + } + } + } + } +}; + +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", + 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 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 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 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 Datastore: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Datastore", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "DatastoreProperties" + } + } + } + } +}; + +export const FeaturesetContainer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturesetContainer", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "FeaturesetContainerProperties" + } + } + } + } +}; + +export const FeaturesetVersion: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturesetVersion", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "FeaturesetVersionProperties" + } + } + } + } +}; + +export const FeaturestoreEntityContainer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturestoreEntityContainer", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "FeaturestoreEntityContainerProperties" + } + } + } + } +}; + +export const FeaturestoreEntityVersion: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturestoreEntityVersion", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "FeaturestoreEntityVersionProperties" + } + } + } + } +}; + +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 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 AccessKeyAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "AccessKey", + type: { + name: "Composite", + className: "AccessKeyAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionAccessKey" + } + } + } + } +}; + +export const ServicePrincipalAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { + serializedName: "ServicePrincipal", + type: { + name: "Composite", + className: "ServicePrincipalAuthTypeWorkspaceConnectionProperties", + uberParent: "WorkspaceConnectionPropertiesV2", + polymorphicDiscriminator: + WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + modelProperties: { + ...WorkspaceConnectionPropertiesV2.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "WorkspaceConnectionServicePrincipal" + } + } + } + } +}; + +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 AssetContainer: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AssetContainer", + modelProperties: { + ...ResourceBase.type.modelProperties, + isArchived: { + defaultValue: false, + serializedName: "isArchived", + type: { + name: "Boolean" + } + }, + latestVersion: { + serializedName: "latestVersion", + readOnly: true, + nullable: true, + type: { + name: "String" + } + }, + nextVersion: { + serializedName: "nextVersion", + readOnly: true, + nullable: true, + type: { + name: "String" + } + } + } + } +}; + +export const AssetBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AssetBase", + modelProperties: { + ...ResourceBase.type.modelProperties, + isAnonymous: { + defaultValue: false, + serializedName: "isAnonymous", + type: { + name: "Boolean" + } + }, + isArchived: { + defaultValue: false, + serializedName: "isArchived", + type: { + name: "Boolean" + } + } + } + } +}; + +export const DatastoreProperties: coreClient.CompositeMapper = { + serializedName: "DatastoreProperties", + type: { + name: "Composite", + className: "DatastoreProperties", + uberParent: "ResourceBase", + polymorphicDiscriminator: { + serializedName: "datastoreType", + clientName: "datastoreType" + }, + modelProperties: { + ...ResourceBase.type.modelProperties, + credentials: { + serializedName: "credentials", + type: { + name: "Composite", + className: "DatastoreCredentials" + } + }, + datastoreType: { + serializedName: "datastoreType", + required: true, + type: { + name: "String" + } + }, + isDefault: { + serializedName: "isDefault", + readOnly: true, + type: { + name: "Boolean" + } + } + } + } +}; + +export const JobBaseProperties: coreClient.CompositeMapper = { + serializedName: "JobBaseProperties", + type: { + name: "Composite", + className: "JobBaseProperties", + uberParent: "ResourceBase", + polymorphicDiscriminator: { + serializedName: "jobType", + clientName: "jobType" + }, + modelProperties: { + ...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: "IdentityConfiguration" + } + }, + isArchived: { + defaultValue: false, + serializedName: "isArchived", + type: { + name: "Boolean" + } + }, + jobType: { + serializedName: "jobType", + required: true, + type: { + name: "String" + } + }, + notificationSetting: { + serializedName: "notificationSetting", + type: { + name: "Composite", + className: "NotificationSetting" + } + }, + services: { + serializedName: "services", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "JobService" } } + } + }, + status: { + serializedName: "status", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const ScheduleProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ScheduleProperties", + modelProperties: { + ...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: "TriggerBase" + } + } + } + } +}; + +export const RegistryProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryProperties", + modelProperties: { + ...ResourceBase.type.modelProperties, + publicNetworkAccess: { + serializedName: "publicNetworkAccess", + nullable: true, + type: { + name: "String" + } + }, + discoveryUrl: { + serializedName: "discoveryUrl", + nullable: true, + type: { + name: "String" + } + }, + intellectualPropertyPublisher: { + serializedName: "intellectualPropertyPublisher", + nullable: true, + type: { + name: "String" + } + }, + managedResourceGroup: { + serializedName: "managedResourceGroup", + type: { + name: "Composite", + className: "ArmResourceId" + } + }, + mlFlowRegistryUri: { + serializedName: "mlFlowRegistryUri", + nullable: true, + type: { + name: "String" + } + }, + privateLinkCount: { + serializedName: "privateLinkCount", + type: { + name: "Number" + } + }, + regionDetails: { + serializedName: "regionDetails", + nullable: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RegistryRegionArmDetails" + } + } + } + } + } + } +}; + +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 BatchPipelineComponentDeploymentProperties: coreClient.CompositeMapper = { + serializedName: "PipelineComponent", + type: { + name: "Composite", + className: "BatchPipelineComponentDeploymentProperties", + uberParent: "BatchDeploymentPropertiesAutoGenerated", + polymorphicDiscriminator: + BatchDeploymentPropertiesAutoGenerated.type.polymorphicDiscriminator, + modelProperties: { + ...BatchDeploymentPropertiesAutoGenerated.type.modelProperties, + componentId: { + serializedName: "componentId", + type: { + name: "Composite", + className: "IdAssetReference" + } + }, + description: { + serializedName: "description", + nullable: true, + type: { + name: "String" + } + }, + settings: { + serializedName: "settings", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + tags: { + serializedName: "tags", + nullable: true, + type: { + name: "Dictionary", + value: { 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 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 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: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...EndpointDeploymentPropertiesBase.type.modelProperties, + compute: { + serializedName: "compute", + nullable: true, + type: { + name: "String" + } + }, + deploymentProperties: { + serializedName: "deploymentProperties", + type: { + name: "Composite", + className: "BatchDeploymentPropertiesAutoGenerated" + } + }, + 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: "ProbeSettings" + } + }, + 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: "ProbeSettings" + } + }, + requestSettings: { + serializedName: "requestSettings", + type: { + name: "Composite", + className: "OnlineRequestSettings" + } + }, + scaleSettings: { + serializedName: "scaleSettings", + type: { + name: "Composite", + className: "OnlineScaleSettings" + } + } + } + } +}; + +export const AccountKeyDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "AccountKey", + type: { + name: "Composite", + className: "AccountKeyDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: + DatastoreCredentials.type.polymorphicDiscriminator, + modelProperties: { + ...DatastoreCredentials.type.modelProperties, + secrets: { + serializedName: "secrets", + type: { + name: "Composite", + className: "AccountKeyDatastoreSecrets" + } + } + } + } +}; + +export const CertificateDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "Certificate", + type: { + name: "Composite", + className: "CertificateDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: + DatastoreCredentials.type.polymorphicDiscriminator, + modelProperties: { + ...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: "CertificateDatastoreSecrets" + } + }, + tenantId: { + serializedName: "tenantId", + required: true, + type: { + name: "Uuid" + } + }, + thumbprint: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "thumbprint", + required: true, type: { - name: "Composite", - className: "WorkspaceConnectionPropertiesV2" + name: "String" } } } } }; -export const TrackedResource: coreClient.CompositeMapper = { +export const KerberosKeytabCredentials: coreClient.CompositeMapper = { + serializedName: "KerberosKeytab", type: { name: "Composite", - className: "TrackedResource", + className: "KerberosKeytabCredentials", + uberParent: "KerberosCredentials", + polymorphicDiscriminator: KerberosCredentials.type.polymorphicDiscriminator, modelProperties: { - ...Resource.type.modelProperties, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - }, - location: { - serializedName: "location", - required: true, + ...KerberosCredentials.type.modelProperties, + ...DatastoreCredentials.type.modelProperties, + secrets: { + serializedName: "secrets", type: { - name: "String" + name: "Composite", + className: "KerberosKeytabSecrets" } } } } }; -export const CodeContainer: coreClient.CompositeMapper = { +export const KerberosPasswordCredentials: coreClient.CompositeMapper = { + serializedName: "KerberosPassword", type: { name: "Composite", - className: "CodeContainer", + className: "KerberosPasswordCredentials", + 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: "CodeContainerProperties" + className: "KerberosPasswordSecrets" } } } } }; -export const CodeVersion: coreClient.CompositeMapper = { +export const NoneDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "None", type: { name: "Composite", - className: "CodeVersion", + className: "NoneDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: + DatastoreCredentials.type.polymorphicDiscriminator, modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "CodeVersionProperties" - } - } + ...DatastoreCredentials.type.modelProperties } } }; -export const ComponentContainer: coreClient.CompositeMapper = { +export const SasDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "Sas", type: { name: "Composite", - className: "ComponentContainer", + className: "SasDatastoreCredentials", + uberParent: "DatastoreCredentials", + polymorphicDiscriminator: + DatastoreCredentials.type.polymorphicDiscriminator, modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...DatastoreCredentials.type.modelProperties, + secrets: { + serializedName: "secrets", type: { name: "Composite", - className: "ComponentContainerProperties" + className: "SasDatastoreSecrets" } } } } }; -export const ComponentVersion: coreClient.CompositeMapper = { +export const ServicePrincipalDatastoreCredentials: coreClient.CompositeMapper = { + serializedName: "ServicePrincipal", type: { name: "Composite", - className: "ComponentVersion", + className: "ServicePrincipalDatastoreCredentials", + 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: "ComponentVersionProperties" + className: "ServicePrincipalDatastoreSecrets" + } + }, + tenantId: { + serializedName: "tenantId", + required: true, + type: { + name: "Uuid" } } } } }; -export const DataContainer: coreClient.CompositeMapper = { +export const AccountKeyDatastoreSecrets: coreClient.CompositeMapper = { + serializedName: "AccountKey", type: { name: "Composite", - className: "DataContainer", + className: "AccountKeyDatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...DatastoreSecrets.type.modelProperties, + key: { + serializedName: "key", + nullable: true, type: { - name: "Composite", - className: "DataContainerProperties" + name: "String" } } } } }; -export const DataVersionBase: coreClient.CompositeMapper = { +export const CertificateDatastoreSecrets: coreClient.CompositeMapper = { + serializedName: "Certificate", type: { name: "Composite", - className: "DataVersionBase", + className: "CertificateDatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...DatastoreSecrets.type.modelProperties, + certificate: { + serializedName: "certificate", + nullable: true, type: { - name: "Composite", - className: "DataVersionBaseProperties" + name: "String" } } } } }; -export const Datastore: coreClient.CompositeMapper = { +export const KerberosKeytabSecrets: coreClient.CompositeMapper = { + serializedName: "KerberosKeytab", type: { name: "Composite", - className: "Datastore", + className: "KerberosKeytabSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...DatastoreSecrets.type.modelProperties, + kerberosKeytab: { + serializedName: "kerberosKeytab", + nullable: true, type: { - name: "Composite", - className: "DatastoreProperties" + name: "String" } } } } }; -export const EnvironmentContainer: coreClient.CompositeMapper = { +export const KerberosPasswordSecrets: coreClient.CompositeMapper = { + serializedName: "KerberosPassword", type: { name: "Composite", - className: "EnvironmentContainer", + className: "KerberosPasswordSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...DatastoreSecrets.type.modelProperties, + kerberosPassword: { + serializedName: "kerberosPassword", + nullable: true, type: { - name: "Composite", - className: "EnvironmentContainerProperties" + name: "String" } } } } }; -export const EnvironmentVersion: coreClient.CompositeMapper = { +export const SasDatastoreSecrets: coreClient.CompositeMapper = { + serializedName: "Sas", type: { name: "Composite", - className: "EnvironmentVersion", + className: "SasDatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...DatastoreSecrets.type.modelProperties, + sasToken: { + serializedName: "sasToken", + nullable: true, type: { - name: "Composite", - className: "EnvironmentVersionProperties" + name: "String" } } } } }; -export const JobBase: coreClient.CompositeMapper = { +export const ServicePrincipalDatastoreSecrets: coreClient.CompositeMapper = { + serializedName: "ServicePrincipal", type: { name: "Composite", - className: "JobBase", + className: "ServicePrincipalDatastoreSecrets", + uberParent: "DatastoreSecrets", + polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...DatastoreSecrets.type.modelProperties, + clientSecret: { + serializedName: "clientSecret", + nullable: true, type: { - name: "Composite", - className: "JobBaseProperties" + name: "String" } } } } }; -export const ModelContainer: coreClient.CompositeMapper = { +export const RecurrenceTrigger: coreClient.CompositeMapper = { + serializedName: "Recurrence", type: { name: "Composite", - className: "ModelContainer", + className: "RecurrenceTrigger", + uberParent: "TriggerBase", + polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + ...TriggerBase.type.modelProperties, + frequency: { + serializedName: "frequency", + required: true, + type: { + name: "String" + } + }, + interval: { + serializedName: "interval", + required: true, + type: { + name: "Number" + } + }, + schedule: { + serializedName: "schedule", type: { name: "Composite", - className: "ModelContainerProperties" + className: "RecurrenceSchedule" } } } } }; -export const ModelVersion: coreClient.CompositeMapper = { +export const CronTrigger: coreClient.CompositeMapper = { + serializedName: "Cron", type: { name: "Composite", - className: "ModelVersion", + className: "CronTrigger", + uberParent: "TriggerBase", + polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "ModelVersionProperties" + ...TriggerBase.type.modelProperties, + expression: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "expression", + required: true, + type: { + name: "String" } } } } }; -export const Schedule: coreClient.CompositeMapper = { +export const AmlToken: coreClient.CompositeMapper = { + serializedName: "AMLToken", type: { name: "Composite", - className: "Schedule", + className: "AmlToken", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: + IdentityConfiguration.type.polymorphicDiscriminator, modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "ScheduleProperties" - } - } + ...IdentityConfiguration.type.modelProperties } } }; -export const Aks: coreClient.CompositeMapper = { - serializedName: "AKS", +export const ManagedIdentity: coreClient.CompositeMapper = { + serializedName: "Managed", type: { name: "Composite", - className: "Aks", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "ManagedIdentity", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: + IdentityConfiguration.type.polymorphicDiscriminator, modelProperties: { - ...Compute.type.modelProperties, - ...AKSSchema.type.modelProperties + ...IdentityConfiguration.type.modelProperties, + clientId: { + serializedName: "clientId", + nullable: true, + type: { + name: "Uuid" + } + }, + objectId: { + serializedName: "objectId", + nullable: true, + type: { + name: "Uuid" + } + }, + resourceId: { + serializedName: "resourceId", + nullable: true, + type: { + name: "String" + } + } } } }; -export const Kubernetes: coreClient.CompositeMapper = { - serializedName: "Kubernetes", +export const UserIdentity: coreClient.CompositeMapper = { + serializedName: "UserIdentity", type: { name: "Composite", - className: "Kubernetes", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "UserIdentity", + uberParent: "IdentityConfiguration", + polymorphicDiscriminator: + IdentityConfiguration.type.polymorphicDiscriminator, modelProperties: { - ...Compute.type.modelProperties, - ...KubernetesSchema.type.modelProperties + ...IdentityConfiguration.type.modelProperties } } }; -export const AmlCompute: coreClient.CompositeMapper = { - serializedName: "AmlCompute", +export const AllNodes: coreClient.CompositeMapper = { + serializedName: "All", type: { name: "Composite", - className: "AmlCompute", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "AllNodes", + uberParent: "Nodes", + polymorphicDiscriminator: Nodes.type.polymorphicDiscriminator, modelProperties: { - ...Compute.type.modelProperties, - ...AmlComputeSchema.type.modelProperties + ...Nodes.type.modelProperties } } }; -export const ComputeInstance: coreClient.CompositeMapper = { - serializedName: "ComputeInstance", +export const LabelingJobImageProperties: coreClient.CompositeMapper = { + serializedName: "Image", type: { name: "Composite", - className: "ComputeInstance", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "LabelingJobImageProperties", + uberParent: "LabelingJobMediaProperties", + polymorphicDiscriminator: + LabelingJobMediaProperties.type.polymorphicDiscriminator, modelProperties: { - ...Compute.type.modelProperties, - ...ComputeInstanceSchema.type.modelProperties + ...LabelingJobMediaProperties.type.modelProperties, + annotationType: { + serializedName: "annotationType", + type: { + name: "String" + } + } } } }; -export const VirtualMachine: coreClient.CompositeMapper = { - serializedName: "VirtualMachine", +export const LabelingJobTextProperties: coreClient.CompositeMapper = { + serializedName: "Text", type: { name: "Composite", - className: "VirtualMachine", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "LabelingJobTextProperties", + uberParent: "LabelingJobMediaProperties", + polymorphicDiscriminator: + LabelingJobMediaProperties.type.polymorphicDiscriminator, modelProperties: { - ...Compute.type.modelProperties, - ...VirtualMachineSchema.type.modelProperties + ...LabelingJobMediaProperties.type.modelProperties, + annotationType: { + serializedName: "annotationType", + type: { + name: "String" + } + } } } }; -export const HDInsight: coreClient.CompositeMapper = { - serializedName: "HDInsight", +export const MLAssistConfigurationDisabled: coreClient.CompositeMapper = { + serializedName: "Disabled", type: { name: "Composite", - className: "HDInsight", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "MLAssistConfigurationDisabled", + uberParent: "MLAssistConfiguration", + polymorphicDiscriminator: + MLAssistConfiguration.type.polymorphicDiscriminator, modelProperties: { - ...Compute.type.modelProperties, - ...HDInsightSchema.type.modelProperties + ...MLAssistConfiguration.type.modelProperties } } }; -export const DataFactory: coreClient.CompositeMapper = { - serializedName: "DataFactory", +export const MLAssistConfigurationEnabled: coreClient.CompositeMapper = { + serializedName: "Enabled", type: { name: "Composite", - className: "DataFactory", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "MLAssistConfigurationEnabled", + uberParent: "MLAssistConfiguration", + polymorphicDiscriminator: + MLAssistConfiguration.type.polymorphicDiscriminator, modelProperties: { - ...Compute.type.modelProperties + ...MLAssistConfiguration.type.modelProperties, + inferencingComputeBinding: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "inferencingComputeBinding", + required: true, + type: { + name: "String" + } + }, + trainingComputeBinding: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "trainingComputeBinding", + required: true, + type: { + name: "String" + } + } } } }; -export const Databricks: coreClient.CompositeMapper = { - serializedName: "Databricks", +export const CocoExportSummary: coreClient.CompositeMapper = { + serializedName: "Coco", type: { name: "Composite", - className: "Databricks", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "CocoExportSummary", + uberParent: "ExportSummary", + polymorphicDiscriminator: ExportSummary.type.polymorphicDiscriminator, modelProperties: { - ...Compute.type.modelProperties, - ...DatabricksSchema.type.modelProperties + ...ExportSummary.type.modelProperties, + containerName: { + serializedName: "containerName", + readOnly: true, + nullable: true, + type: { + name: "String" + } + }, + snapshotPath: { + serializedName: "snapshotPath", + readOnly: true, + nullable: true, + type: { + name: "String" + } + } } } }; -export const DataLakeAnalytics: coreClient.CompositeMapper = { - serializedName: "DataLakeAnalytics", +export const CsvExportSummary: coreClient.CompositeMapper = { + serializedName: "CSV", type: { name: "Composite", - className: "DataLakeAnalytics", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "CsvExportSummary", + uberParent: "ExportSummary", + polymorphicDiscriminator: ExportSummary.type.polymorphicDiscriminator, modelProperties: { - ...Compute.type.modelProperties, - ...DataLakeAnalyticsSchema.type.modelProperties + ...ExportSummary.type.modelProperties, + containerName: { + serializedName: "containerName", + readOnly: true, + nullable: true, + type: { + name: "String" + } + }, + snapshotPath: { + serializedName: "snapshotPath", + readOnly: true, + nullable: true, + type: { + name: "String" + } + } } } }; -export const SynapseSpark: coreClient.CompositeMapper = { - serializedName: "SynapseSpark", +export const DatasetExportSummary: coreClient.CompositeMapper = { + serializedName: "Dataset", type: { name: "Composite", - className: "SynapseSpark", - uberParent: "Compute", - polymorphicDiscriminator: Compute.type.polymorphicDiscriminator, + className: "DatasetExportSummary", + uberParent: "ExportSummary", + polymorphicDiscriminator: ExportSummary.type.polymorphicDiscriminator, modelProperties: { - ...Compute.type.modelProperties, - properties: { - serializedName: "properties", + ...ExportSummary.type.modelProperties, + labeledAssetName: { + serializedName: "labeledAssetName", + readOnly: true, + nullable: true, type: { - name: "Composite", - className: "SynapseSparkProperties" + name: "String" } } } } }; -export const AksComputeSecrets: coreClient.CompositeMapper = { - serializedName: "AKS", +export const PackageResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AksComputeSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + className: "PackageResponse", modelProperties: { - ...ComputeSecrets.type.modelProperties, - ...AksComputeSecretsProperties.type.modelProperties + ...PackageRequest.type.modelProperties, + buildId: { + serializedName: "buildId", + readOnly: true, + nullable: true, + type: { + name: "String" + } + }, + buildState: { + serializedName: "buildState", + readOnly: true, + type: { + name: "String" + } + }, + logUrl: { + serializedName: "logUrl", + readOnly: true, + nullable: true, + type: { + name: "String" + } + }, + targetEnvironmentId: { + serializedName: "targetEnvironmentId", + readOnly: true, + nullable: true, + type: { + name: "String" + } + } } } }; -export const VirtualMachineSecrets: coreClient.CompositeMapper = { - serializedName: "VirtualMachine", +export const BaseEnvironmentId: coreClient.CompositeMapper = { + serializedName: "EnvironmentAsset", type: { name: "Composite", - className: "VirtualMachineSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + className: "BaseEnvironmentId", + uberParent: "BaseEnvironmentSource", + polymorphicDiscriminator: + BaseEnvironmentSource.type.polymorphicDiscriminator, modelProperties: { - ...ComputeSecrets.type.modelProperties, - ...VirtualMachineSecretsSchema.type.modelProperties + ...BaseEnvironmentSource.type.modelProperties, + resourceId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "resourceId", + required: true, + type: { + name: "String" + } + } } } }; -export const DatabricksComputeSecrets: coreClient.CompositeMapper = { - serializedName: "Databricks", +export const AzureMLBatchInferencingServer: coreClient.CompositeMapper = { + serializedName: "AzureMLBatch", type: { name: "Composite", - className: "DatabricksComputeSecrets", - uberParent: "ComputeSecrets", - polymorphicDiscriminator: ComputeSecrets.type.polymorphicDiscriminator, + className: "AzureMLBatchInferencingServer", + uberParent: "InferencingServer", + polymorphicDiscriminator: InferencingServer.type.polymorphicDiscriminator, modelProperties: { - ...ComputeSecrets.type.modelProperties, - ...DatabricksComputeSecretsProperties.type.modelProperties + ...InferencingServer.type.modelProperties, + codeConfiguration: { + serializedName: "codeConfiguration", + type: { + name: "Composite", + className: "CodeConfiguration" + } + } } } }; - -export const PATAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { - serializedName: "PAT", - type: { - name: "Composite", - className: "PATAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + +export const AzureMLOnlineInferencingServer: coreClient.CompositeMapper = { + serializedName: "AzureMLOnline", + type: { + name: "Composite", + className: "AzureMLOnlineInferencingServer", + uberParent: "InferencingServer", + polymorphicDiscriminator: InferencingServer.type.polymorphicDiscriminator, modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", + ...InferencingServer.type.modelProperties, + codeConfiguration: { + serializedName: "codeConfiguration", type: { name: "Composite", - className: "WorkspaceConnectionPersonalAccessToken" + className: "CodeConfiguration" } } } } }; -export const SASAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { - serializedName: "SAS", +export const CustomInferencingServer: coreClient.CompositeMapper = { + serializedName: "Custom", type: { name: "Composite", - className: "SASAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + className: "CustomInferencingServer", + uberParent: "InferencingServer", + polymorphicDiscriminator: InferencingServer.type.polymorphicDiscriminator, modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", + ...InferencingServer.type.modelProperties, + inferenceConfiguration: { + serializedName: "inferenceConfiguration", type: { name: "Composite", - className: "WorkspaceConnectionSharedAccessSignature" + className: "OnlineInferenceConfiguration" } } } } }; -export const UsernamePasswordAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { - serializedName: "UsernamePassword", +export const TritonInferencingServer: coreClient.CompositeMapper = { + serializedName: "Triton", type: { name: "Composite", - className: "UsernamePasswordAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", - polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + className: "TritonInferencingServer", + uberParent: "InferencingServer", + polymorphicDiscriminator: InferencingServer.type.polymorphicDiscriminator, modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", + ...InferencingServer.type.modelProperties, + inferenceConfiguration: { + serializedName: "inferenceConfiguration", type: { name: "Composite", - className: "WorkspaceConnectionUsernamePassword" + className: "OnlineInferenceConfiguration" } } } } }; -export const NoneAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { - serializedName: "None", +export const PackageInputPathId: coreClient.CompositeMapper = { + serializedName: "PathId", type: { name: "Composite", - className: "NoneAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", + className: "PackageInputPathId", + uberParent: "PackageInputPathBase", polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + PackageInputPathBase.type.polymorphicDiscriminator, modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties + ...PackageInputPathBase.type.modelProperties, + resourceId: { + serializedName: "resourceId", + nullable: true, + type: { + name: "String" + } + } } } }; -export const ManagedIdentityAuthTypeWorkspaceConnectionProperties: coreClient.CompositeMapper = { - serializedName: "ManagedIdentity", +export const PackageInputPathUrl: coreClient.CompositeMapper = { + serializedName: "Url", type: { name: "Composite", - className: "ManagedIdentityAuthTypeWorkspaceConnectionProperties", - uberParent: "WorkspaceConnectionPropertiesV2", + className: "PackageInputPathUrl", + uberParent: "PackageInputPathBase", polymorphicDiscriminator: - WorkspaceConnectionPropertiesV2.type.polymorphicDiscriminator, + PackageInputPathBase.type.polymorphicDiscriminator, modelProperties: { - ...WorkspaceConnectionPropertiesV2.type.modelProperties, - credentials: { - serializedName: "credentials", + ...PackageInputPathBase.type.modelProperties, + url: { + serializedName: "url", + nullable: true, type: { - name: "Composite", - className: "WorkspaceConnectionManagedIdentity" + name: "String" } } } } }; -export const BatchEndpointProperties: coreClient.CompositeMapper = { +export const PackageInputPathVersion: coreClient.CompositeMapper = { + serializedName: "PathVersion", type: { name: "Composite", - className: "BatchEndpointProperties", + className: "PackageInputPathVersion", + uberParent: "PackageInputPathBase", + polymorphicDiscriminator: + PackageInputPathBase.type.polymorphicDiscriminator, modelProperties: { - ...EndpointPropertiesBase.type.modelProperties, - defaults: { - serializedName: "defaults", + ...PackageInputPathBase.type.modelProperties, + resourceName: { + serializedName: "resourceName", + nullable: true, type: { - name: "Composite", - className: "BatchEndpointDefaults" + name: "String" } }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + resourceVersion: { + serializedName: "resourceVersion", + nullable: true, type: { name: "String" } @@ -8007,535 +12283,504 @@ export const BatchEndpointProperties: coreClient.CompositeMapper = { } }; -export const OnlineEndpointProperties: coreClient.CompositeMapper = { +export const DefaultScaleSettings: coreClient.CompositeMapper = { + serializedName: "Default", type: { name: "Composite", - className: "OnlineEndpointProperties", + className: "DefaultScaleSettings", + uberParent: "OnlineScaleSettings", + polymorphicDiscriminator: OnlineScaleSettings.type.polymorphicDiscriminator, modelProperties: { - ...EndpointPropertiesBase.type.modelProperties, - compute: { - serializedName: "compute", - nullable: true, + ...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" } }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + minInstances: { + defaultValue: 1, + serializedName: "minInstances", type: { - name: "String" + name: "Number" } }, - publicNetworkAccess: { - serializedName: "publicNetworkAccess", + pollingInterval: { + defaultValue: "PT1S", + serializedName: "pollingInterval", type: { - name: "String" + name: "TimeSpan" } }, - traffic: { - serializedName: "traffic", - nullable: true, + targetUtilizationPercentage: { + defaultValue: 70, + serializedName: "targetUtilizationPercentage", type: { - name: "Dictionary", - value: { type: { name: "Number" } } + name: "Number" } } } } }; -export const PartialMinimalTrackedResourceWithIdentity: coreClient.CompositeMapper = { +export const EndpointScheduleAction: coreClient.CompositeMapper = { + serializedName: "InvokeBatchEndpoint", type: { name: "Composite", - className: "PartialMinimalTrackedResourceWithIdentity", + className: "EndpointScheduleAction", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, modelProperties: { - ...PartialMinimalTrackedResource.type.modelProperties, - identity: { - serializedName: "identity", + ...ScheduleActionBase.type.modelProperties, + endpointInvocationDefinition: { + serializedName: "endpointInvocationDefinition", + required: true, type: { - name: "Composite", - className: "PartialManagedServiceIdentity" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const PartialMinimalTrackedResourceWithSku: coreClient.CompositeMapper = { +export const JobScheduleAction: coreClient.CompositeMapper = { + serializedName: "CreateJob", type: { name: "Composite", - className: "PartialMinimalTrackedResourceWithSku", + className: "JobScheduleAction", + uberParent: "ScheduleActionBase", + polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, modelProperties: { - ...PartialMinimalTrackedResource.type.modelProperties, - sku: { - serializedName: "sku", + ...ScheduleActionBase.type.modelProperties, + jobDefinition: { + serializedName: "jobDefinition", type: { name: "Composite", - className: "PartialSku" + className: "JobBaseProperties" } } } } }; -export const DataPathAssetReference: coreClient.CompositeMapper = { - serializedName: "DataPath", +export const MLTableJobInput: coreClient.CompositeMapper = { + serializedName: "mltable", + type: { + name: "Composite", + className: "MLTableJobInput", + uberParent: "AssetJobInput", + polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, + modelProperties: { + ...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: "DataPathAssetReference", - uberParent: "AssetReferenceBase", - polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + className: "MLFlowModelJobOutput", + uberParent: "AssetJobOutput", + polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, modelProperties: { - ...AssetReferenceBase.type.modelProperties, - datastoreId: { - serializedName: "datastoreId", - nullable: true, - type: { - name: "String" - } - }, - path: { - serializedName: "path", - nullable: true, - type: { - name: "String" - } - } + ...AssetJobOutput.type.modelProperties, + ...JobOutput.type.modelProperties } } }; -export const IdAssetReference: coreClient.CompositeMapper = { - serializedName: "Id", +export const MLTableJobOutput: coreClient.CompositeMapper = { + serializedName: "mltable", type: { name: "Composite", - className: "IdAssetReference", - uberParent: "AssetReferenceBase", - polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + className: "MLTableJobOutput", + uberParent: "AssetJobOutput", + polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, modelProperties: { - ...AssetReferenceBase.type.modelProperties, - assetId: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") - }, - serializedName: "assetId", - required: true, - type: { - name: "String" - } - } + ...AssetJobOutput.type.modelProperties, + ...JobOutput.type.modelProperties } } }; -export const OutputPathAssetReference: coreClient.CompositeMapper = { - serializedName: "OutputPath", +export const TritonModelJobOutput: coreClient.CompositeMapper = { + serializedName: "triton_model", type: { name: "Composite", - className: "OutputPathAssetReference", - uberParent: "AssetReferenceBase", - polymorphicDiscriminator: AssetReferenceBase.type.polymorphicDiscriminator, + className: "TritonModelJobOutput", + uberParent: "AssetJobOutput", + polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, modelProperties: { - ...AssetReferenceBase.type.modelProperties, - jobId: { - serializedName: "jobId", - nullable: true, - type: { - name: "String" - } - }, - path: { - serializedName: "path", - nullable: true, - type: { - name: "String" - } - } + ...AssetJobOutput.type.modelProperties, + ...JobOutput.type.modelProperties } } }; -export const DeploymentResourceConfiguration: coreClient.CompositeMapper = { +export const UriFileJobOutput: coreClient.CompositeMapper = { + serializedName: "uri_file", type: { name: "Composite", - className: "DeploymentResourceConfiguration", + className: "UriFileJobOutput", + uberParent: "AssetJobOutput", + polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, modelProperties: { - ...ResourceConfiguration.type.modelProperties + ...AssetJobOutput.type.modelProperties, + ...JobOutput.type.modelProperties } } }; -export const JobResourceConfiguration: coreClient.CompositeMapper = { +export const UriFolderJobOutput: coreClient.CompositeMapper = { + serializedName: "uri_folder", type: { name: "Composite", - className: "JobResourceConfiguration", + className: "UriFolderJobOutput", + uberParent: "AssetJobOutput", + polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, 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" - } - } + ...AssetJobOutput.type.modelProperties, + ...JobOutput.type.modelProperties } } }; -export const BatchDeploymentProperties: coreClient.CompositeMapper = { +export const AutoForecastHorizon: coreClient.CompositeMapper = { + serializedName: "Auto", type: { name: "Composite", - className: "BatchDeploymentProperties", + className: "AutoForecastHorizon", + uberParent: "ForecastHorizon", + polymorphicDiscriminator: ForecastHorizon.type.polymorphicDiscriminator, 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" - } - } + ...ForecastHorizon.type.modelProperties } } }; -export const OnlineDeploymentProperties: coreClient.CompositeMapper = { - serializedName: "OnlineDeploymentProperties", +export const CustomForecastHorizon: coreClient.CompositeMapper = { + serializedName: "Custom", type: { name: "Composite", - className: "OnlineDeploymentProperties", - uberParent: "EndpointDeploymentPropertiesBase", - polymorphicDiscriminator: { - serializedName: "endpointComputeType", - clientName: "endpointComputeType" - }, + className: "CustomForecastHorizon", + uberParent: "ForecastHorizon", + polymorphicDiscriminator: ForecastHorizon.type.polymorphicDiscriminator, modelProperties: { - ...EndpointDeploymentPropertiesBase.type.modelProperties, - appInsightsEnabled: { - defaultValue: false, - serializedName: "appInsightsEnabled", - type: { - name: "Boolean" - } - }, - egressPublicNetworkAccess: { - serializedName: "egressPublicNetworkAccess", - type: { - name: "String" - } - }, - endpointComputeType: { - serializedName: "endpointComputeType", + ...ForecastHorizon.type.modelProperties, + value: { + serializedName: "value", required: true, type: { - name: "String" - } - }, - instanceType: { - serializedName: "instanceType", - nullable: true, - type: { - name: "String" - } - }, - livenessProbe: { - serializedName: "livenessProbe", - type: { - name: "Composite", - className: "ProbeSettings" - } - }, - model: { - serializedName: "model", - nullable: true, - type: { - name: "String" + name: "Number" } - }, - modelMountPath: { - serializedName: "modelMountPath", + } + } + } +}; + +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" } }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + primaryMetric: { + serializedName: "primaryMetric", type: { name: "String" } }, - readinessProbe: { - serializedName: "readinessProbe", - type: { - name: "Composite", - className: "ProbeSettings" - } - }, - requestSettings: { - serializedName: "requestSettings", - type: { - name: "Composite", - className: "OnlineRequestSettings" - } - }, - scaleSettings: { - serializedName: "scaleSettings", + trainingSettings: { + serializedName: "trainingSettings", type: { name: "Composite", - className: "OnlineScaleSettings" + className: "ClassificationTrainingSettings" } } } } }; -export const AssetContainer: coreClient.CompositeMapper = { +export const Forecasting: coreClient.CompositeMapper = { + serializedName: "Forecasting", type: { name: "Composite", - className: "AssetContainer", + className: "Forecasting", + uberParent: "TableVertical", + polymorphicDiscriminator: TableVertical.type.polymorphicDiscriminator, modelProperties: { - ...ResourceBase.type.modelProperties, - isArchived: { - defaultValue: false, - serializedName: "isArchived", + ...TableVertical.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + forecastingSettings: { + serializedName: "forecastingSettings", type: { - name: "Boolean" + name: "Composite", + className: "ForecastingSettings" } }, - latestVersion: { - serializedName: "latestVersion", - readOnly: true, - nullable: true, + primaryMetric: { + serializedName: "primaryMetric", type: { name: "String" } }, - nextVersion: { - serializedName: "nextVersion", - readOnly: true, - nullable: true, + trainingSettings: { + serializedName: "trainingSettings", type: { - name: "String" + name: "Composite", + className: "ForecastingTrainingSettings" } } } } }; -export const AssetBase: coreClient.CompositeMapper = { +export const ImageClassificationBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AssetBase", + className: "ImageClassificationBase", modelProperties: { - ...ResourceBase.type.modelProperties, - isAnonymous: { - defaultValue: false, - serializedName: "isAnonymous", + ...ImageVertical.type.modelProperties, + modelSettings: { + serializedName: "modelSettings", type: { - name: "Boolean" + name: "Composite", + className: "ImageModelSettingsClassification" } }, - isArchived: { - defaultValue: false, - serializedName: "isArchived", + searchSpace: { + serializedName: "searchSpace", + nullable: true, type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ImageModelDistributionSettingsClassification" + } + } } } } } }; -export const DatastoreProperties: coreClient.CompositeMapper = { - serializedName: "DatastoreProperties", +export const ImageClassification: coreClient.CompositeMapper = { + serializedName: "ImageClassification", type: { name: "Composite", - className: "DatastoreProperties", - uberParent: "ResourceBase", - polymorphicDiscriminator: { - serializedName: "datastoreType", - clientName: "datastoreType" - }, + className: "ImageClassification", + uberParent: "ImageClassificationBase", modelProperties: { - ...ResourceBase.type.modelProperties, - credentials: { - serializedName: "credentials", - type: { - name: "Composite", - className: "DatastoreCredentials" - } - }, - datastoreType: { - serializedName: "datastoreType", - required: true, + ...ImageClassificationBase.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", type: { name: "String" } - }, - isDefault: { - serializedName: "isDefault", - readOnly: true, - type: { - name: "Boolean" - } } } } }; +ImageClassificationBase.type.polymorphicDiscriminator = + ImageClassificationBase.type.polymorphicDiscriminator; -export const JobBaseProperties: coreClient.CompositeMapper = { - serializedName: "JobBaseProperties", +export const ImageClassificationMultilabel: coreClient.CompositeMapper = { + serializedName: "ImageClassificationMultilabel", type: { name: "Composite", - className: "JobBaseProperties", - uberParent: "ResourceBase", - polymorphicDiscriminator: { - serializedName: "jobType", - clientName: "jobType" - }, + className: "ImageClassificationMultilabel", + uberParent: "ImageClassificationBase", + polymorphicDiscriminator: + ImageClassificationBase.type.polymorphicDiscriminator, modelProperties: { - ...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", + ...ImageClassificationBase.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", type: { name: "String" } - }, - identity: { - serializedName: "identity", + } + } + } +}; + +export const ImageObjectDetectionBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ImageObjectDetectionBase", + modelProperties: { + ...ImageVertical.type.modelProperties, + modelSettings: { + serializedName: "modelSettings", type: { name: "Composite", - className: "IdentityConfiguration" + className: "ImageModelSettingsObjectDetection" } }, - isArchived: { - defaultValue: false, - serializedName: "isArchived", + searchSpace: { + serializedName: "searchSpace", + nullable: true, type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ImageModelDistributionSettingsObjectDetection" + } + } } - }, - jobType: { - serializedName: "jobType", - required: true, + } + } + } +}; + +export const ImageInstanceSegmentation: coreClient.CompositeMapper = { + serializedName: "ImageInstanceSegmentation", + type: { + name: "Composite", + className: "ImageInstanceSegmentation", + uberParent: "ImageObjectDetectionBase", + polymorphicDiscriminator: + ImageObjectDetectionBase.type.polymorphicDiscriminator, + modelProperties: { + ...ImageObjectDetectionBase.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + 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, + } + } + } +}; + +export const ImageObjectDetection: coreClient.CompositeMapper = { + serializedName: "ImageObjectDetection", + type: { + name: "Composite", + className: "ImageObjectDetection", + uberParent: "ImageObjectDetectionBase", + modelProperties: { + ...ImageObjectDetectionBase.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", type: { name: "String" } @@ -8543,248 +12788,330 @@ export const JobBaseProperties: coreClient.CompositeMapper = { } } }; +ImageObjectDetectionBase.type.polymorphicDiscriminator = + ImageObjectDetectionBase.type.polymorphicDiscriminator; -export const ScheduleProperties: coreClient.CompositeMapper = { +export const Regression: coreClient.CompositeMapper = { + serializedName: "Regression", type: { name: "Composite", - className: "ScheduleProperties", + className: "Regression", + uberParent: "TableVertical", + polymorphicDiscriminator: TableVertical.type.polymorphicDiscriminator, modelProperties: { - ...ResourceBase.type.modelProperties, - action: { - serializedName: "action", - type: { - name: "Composite", - className: "ScheduleActionBase" - } - }, - displayName: { - serializedName: "displayName", - nullable: true, + ...TableVertical.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", type: { name: "String" } }, - isEnabled: { - defaultValue: true, - serializedName: "isEnabled", + trainingSettings: { + serializedName: "trainingSettings", type: { - name: "Boolean" + name: "Composite", + className: "RegressionTrainingSettings" } - }, - provisioningState: { - serializedName: "provisioningState", - readOnly: true, + } + } + } +}; + +export const TextClassification: coreClient.CompositeMapper = { + serializedName: "TextClassification", + type: { + name: "Composite", + className: "TextClassification", + uberParent: "NlpVertical", + polymorphicDiscriminator: NlpVertical.type.polymorphicDiscriminator, + modelProperties: { + ...NlpVertical.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", type: { name: "String" } - }, - trigger: { - serializedName: "trigger", - type: { - name: "Composite", - className: "TriggerBase" - } } } } }; -export const AccountKeyDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "AccountKey", +export const TextClassificationMultilabel: coreClient.CompositeMapper = { + serializedName: "TextClassificationMultilabel", type: { name: "Composite", - className: "AccountKeyDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + className: "TextClassificationMultilabel", + uberParent: "NlpVertical", + polymorphicDiscriminator: NlpVertical.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreCredentials.type.modelProperties, - secrets: { - serializedName: "secrets", + ...NlpVertical.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", + readOnly: true, type: { - name: "Composite", - className: "AccountKeyDatastoreSecrets" + name: "String" } } } } }; -export const CertificateDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "Certificate", +export const TextNer: coreClient.CompositeMapper = { + serializedName: "TextNER", type: { name: "Composite", - className: "CertificateDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + className: "TextNer", + uberParent: "NlpVertical", + polymorphicDiscriminator: NlpVertical.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreCredentials.type.modelProperties, - authorityUrl: { - serializedName: "authorityUrl", - nullable: true, + ...NlpVertical.type.modelProperties, + ...AutoMLVertical.type.modelProperties, + primaryMetric: { + serializedName: "primaryMetric", + readOnly: true, type: { name: "String" } - }, - clientId: { - serializedName: "clientId", + } + } + } +}; + +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: "Uuid" - } - }, - resourceUrl: { - serializedName: "resourceUrl", - nullable: true, type: { name: "String" } - }, - secrets: { - serializedName: "secrets", + } + } + } +}; + +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: "Composite", - className: "CertificateDatastoreSecrets" + name: "Number" } - }, - tenantId: { - serializedName: "tenantId", + } + } + } +}; + +export const AutoSeasonality: coreClient.CompositeMapper = { + serializedName: "Auto", + type: { + name: "Composite", + className: "AutoSeasonality", + uberParent: "Seasonality", + polymorphicDiscriminator: Seasonality.type.polymorphicDiscriminator, + modelProperties: { + ...Seasonality.type.modelProperties + } + } +}; + +export const CustomSeasonality: coreClient.CompositeMapper = { + serializedName: "Custom", + type: { + name: "Composite", + className: "CustomSeasonality", + uberParent: "Seasonality", + polymorphicDiscriminator: Seasonality.type.polymorphicDiscriminator, + modelProperties: { + ...Seasonality.type.modelProperties, + value: { + serializedName: "value", required: true, type: { - name: "Uuid" + name: "Number" } - }, - thumbprint: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") - }, - serializedName: "thumbprint", + } + } + } +}; + +export const AutoTargetLags: coreClient.CompositeMapper = { + serializedName: "Auto", + type: { + name: "Composite", + className: "AutoTargetLags", + uberParent: "TargetLags", + polymorphicDiscriminator: TargetLags.type.polymorphicDiscriminator, + modelProperties: { + ...TargetLags.type.modelProperties + } + } +}; + +export const CustomTargetLags: coreClient.CompositeMapper = { + serializedName: "Custom", + type: { + name: "Composite", + className: "CustomTargetLags", + uberParent: "TargetLags", + polymorphicDiscriminator: TargetLags.type.polymorphicDiscriminator, + modelProperties: { + ...TargetLags.type.modelProperties, + values: { + serializedName: "values", required: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Number" + } + } } } } } }; -export const NoneDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "None", +export const AutoTargetRollingWindowSize: coreClient.CompositeMapper = { + serializedName: "Auto", type: { name: "Composite", - className: "NoneDatastoreCredentials", - uberParent: "DatastoreCredentials", + className: "AutoTargetRollingWindowSize", + uberParent: "TargetRollingWindowSize", polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + TargetRollingWindowSize.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreCredentials.type.modelProperties + ...TargetRollingWindowSize.type.modelProperties } } }; -export const SasDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "Sas", +export const CustomTargetRollingWindowSize: coreClient.CompositeMapper = { + serializedName: "Custom", type: { name: "Composite", - className: "SasDatastoreCredentials", - uberParent: "DatastoreCredentials", + className: "CustomTargetRollingWindowSize", + uberParent: "TargetRollingWindowSize", polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + TargetRollingWindowSize.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreCredentials.type.modelProperties, - secrets: { - serializedName: "secrets", + ...TargetRollingWindowSize.type.modelProperties, + value: { + serializedName: "value", + required: true, type: { - name: "Composite", - className: "SasDatastoreSecrets" + name: "Number" } } } } }; -export const ServicePrincipalDatastoreCredentials: coreClient.CompositeMapper = { - serializedName: "ServicePrincipal", +export const AzureBlobDatastore: coreClient.CompositeMapper = { + serializedName: "AzureBlob", type: { name: "Composite", - className: "ServicePrincipalDatastoreCredentials", - uberParent: "DatastoreCredentials", - polymorphicDiscriminator: - DatastoreCredentials.type.polymorphicDiscriminator, + className: "AzureBlobDatastore", + uberParent: "AzureDatastore", + polymorphicDiscriminator: AzureDatastore.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreCredentials.type.modelProperties, - authorityUrl: { - serializedName: "authorityUrl", + ...AzureDatastore.type.modelProperties, + ...DatastoreProperties.type.modelProperties, + accountName: { + serializedName: "accountName", nullable: true, type: { name: "String" } }, - clientId: { - serializedName: "clientId", - required: true, + containerName: { + serializedName: "containerName", + nullable: true, type: { - name: "Uuid" + name: "String" } }, - resourceUrl: { - serializedName: "resourceUrl", + endpoint: { + serializedName: "endpoint", nullable: true, type: { name: "String" } }, - secrets: { - serializedName: "secrets", + protocol: { + serializedName: "protocol", + nullable: true, type: { - name: "Composite", - className: "ServicePrincipalDatastoreSecrets" + name: "String" } }, - tenantId: { - serializedName: "tenantId", - required: true, + serviceDataAccessAuthIdentity: { + serializedName: "serviceDataAccessAuthIdentity", type: { - name: "Uuid" + name: "String" } } } } }; -export const AccountKeyDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "AccountKey", +export const AzureDataLakeGen1Datastore: coreClient.CompositeMapper = { + serializedName: "AzureDataLakeGen1", type: { name: "Composite", - className: "AccountKeyDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + className: "AzureDataLakeGen1Datastore", + uberParent: "AzureDatastore", + polymorphicDiscriminator: AzureDatastore.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreSecrets.type.modelProperties, - key: { - serializedName: "key", - nullable: true, + ...AzureDatastore.type.modelProperties, + ...DatastoreProperties.type.modelProperties, + serviceDataAccessAuthIdentity: { + serializedName: "serviceDataAccessAuthIdentity", type: { name: "String" } - } - } - } -}; - -export const CertificateDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "Certificate", - type: { - name: "Composite", - className: "CertificateDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, - modelProperties: { - ...DatastoreSecrets.type.modelProperties, - certificate: { - serializedName: "certificate", - nullable: true, + }, + storeName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "storeName", + required: true, type: { name: "String" } @@ -8793,87 +13120,52 @@ export const CertificateDatastoreSecrets: coreClient.CompositeMapper = { } }; -export const SasDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "Sas", +export const AzureDataLakeGen2Datastore: coreClient.CompositeMapper = { + serializedName: "AzureDataLakeGen2", type: { name: "Composite", - className: "SasDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, + className: "AzureDataLakeGen2Datastore", + uberParent: "AzureDatastore", + polymorphicDiscriminator: AzureDatastore.type.polymorphicDiscriminator, modelProperties: { - ...DatastoreSecrets.type.modelProperties, - sasToken: { - serializedName: "sasToken", - nullable: true, + ...AzureDatastore.type.modelProperties, + ...DatastoreProperties.type.modelProperties, + accountName: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "accountName", + required: true, type: { name: "String" } - } - } - } -}; - -export const ServicePrincipalDatastoreSecrets: coreClient.CompositeMapper = { - serializedName: "ServicePrincipal", - type: { - name: "Composite", - className: "ServicePrincipalDatastoreSecrets", - uberParent: "DatastoreSecrets", - polymorphicDiscriminator: DatastoreSecrets.type.polymorphicDiscriminator, - modelProperties: { - ...DatastoreSecrets.type.modelProperties, - clientSecret: { - serializedName: "clientSecret", + }, + endpoint: { + serializedName: "endpoint", nullable: true, type: { name: "String" } - } - } - } -}; - -export const AmlToken: coreClient.CompositeMapper = { - serializedName: "AMLToken", - type: { - name: "Composite", - className: "AmlToken", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: - IdentityConfiguration.type.polymorphicDiscriminator, - modelProperties: { - ...IdentityConfiguration.type.modelProperties - } - } -}; - -export const ManagedIdentity: coreClient.CompositeMapper = { - serializedName: "Managed", - type: { - name: "Composite", - className: "ManagedIdentity", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: - IdentityConfiguration.type.polymorphicDiscriminator, - modelProperties: { - ...IdentityConfiguration.type.modelProperties, - clientId: { - serializedName: "clientId", - nullable: true, + }, + filesystem: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "filesystem", + required: true, type: { - name: "Uuid" + name: "String" } }, - objectId: { - serializedName: "objectId", + protocol: { + serializedName: "protocol", nullable: true, type: { - name: "Uuid" + name: "String" } }, - resourceId: { - serializedName: "resourceId", - nullable: true, + serviceDataAccessAuthIdentity: { + serializedName: "serviceDataAccessAuthIdentity", type: { name: "String" } @@ -8882,556 +13174,761 @@ export const ManagedIdentity: coreClient.CompositeMapper = { } }; -export const UserIdentity: coreClient.CompositeMapper = { - serializedName: "UserIdentity", - type: { - name: "Composite", - className: "UserIdentity", - uberParent: "IdentityConfiguration", - polymorphicDiscriminator: - IdentityConfiguration.type.polymorphicDiscriminator, - modelProperties: { - ...IdentityConfiguration.type.modelProperties - } - } -}; - -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", +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: "Number" + name: "String" } }, - pollingInterval: { - defaultValue: "PT1S", - serializedName: "pollingInterval", + protocol: { + serializedName: "protocol", + nullable: true, type: { - name: "TimeSpan" + name: "String" } }, - targetUtilizationPercentage: { - defaultValue: 70, - serializedName: "targetUtilizationPercentage", + serviceDataAccessAuthIdentity: { + serializedName: "serviceDataAccessAuthIdentity", type: { - name: "Number" + name: "String" } } } } }; -export const EndpointScheduleAction: coreClient.CompositeMapper = { - serializedName: "InvokeBatchEndpoint", +export const BanditPolicy: coreClient.CompositeMapper = { + serializedName: "Bandit", type: { name: "Composite", - className: "EndpointScheduleAction", - uberParent: "ScheduleActionBase", - polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + className: "BanditPolicy", + uberParent: "EarlyTerminationPolicy", + polymorphicDiscriminator: + EarlyTerminationPolicy.type.polymorphicDiscriminator, modelProperties: { - ...ScheduleActionBase.type.modelProperties, - endpointInvocationDefinition: { - serializedName: "endpointInvocationDefinition", - required: true, + ...EarlyTerminationPolicy.type.modelProperties, + slackAmount: { + defaultValue: 0, + serializedName: "slackAmount", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "Number" + } + }, + slackFactor: { + defaultValue: 0, + serializedName: "slackFactor", + type: { + name: "Number" } } } } }; -export const JobScheduleAction: coreClient.CompositeMapper = { - serializedName: "CreateJob", +export const MedianStoppingPolicy: coreClient.CompositeMapper = { + serializedName: "MedianStopping", type: { name: "Composite", - className: "JobScheduleAction", - uberParent: "ScheduleActionBase", - polymorphicDiscriminator: ScheduleActionBase.type.polymorphicDiscriminator, + className: "MedianStoppingPolicy", + uberParent: "EarlyTerminationPolicy", + polymorphicDiscriminator: + EarlyTerminationPolicy.type.polymorphicDiscriminator, modelProperties: { - ...ScheduleActionBase.type.modelProperties, - jobDefinition: { - serializedName: "jobDefinition", - type: { - name: "Composite", - className: "JobBaseProperties" - } - } + ...EarlyTerminationPolicy.type.modelProperties } } }; -export const RecurrenceTrigger: coreClient.CompositeMapper = { - serializedName: "Recurrence", +export const TruncationSelectionPolicy: coreClient.CompositeMapper = { + serializedName: "TruncationSelection", type: { name: "Composite", - className: "RecurrenceTrigger", - uberParent: "TriggerBase", - polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, + className: "TruncationSelectionPolicy", + uberParent: "EarlyTerminationPolicy", + polymorphicDiscriminator: + EarlyTerminationPolicy.type.polymorphicDiscriminator, modelProperties: { - ...TriggerBase.type.modelProperties, - frequency: { - serializedName: "frequency", - required: true, - type: { - name: "String" - } - }, - interval: { - serializedName: "interval", - required: true, + ...EarlyTerminationPolicy.type.modelProperties, + truncationPercentage: { + defaultValue: 0, + serializedName: "truncationPercentage", type: { name: "Number" } - }, - schedule: { - serializedName: "schedule", - type: { - name: "Composite", - className: "RecurrenceSchedule" - } } } } }; -export const CronTrigger: coreClient.CompositeMapper = { - serializedName: "Cron", +export const BayesianSamplingAlgorithm: coreClient.CompositeMapper = { + serializedName: "Bayesian", type: { name: "Composite", - className: "CronTrigger", - uberParent: "TriggerBase", - polymorphicDiscriminator: TriggerBase.type.polymorphicDiscriminator, + className: "BayesianSamplingAlgorithm", + uberParent: "SamplingAlgorithm", + polymorphicDiscriminator: SamplingAlgorithm.type.polymorphicDiscriminator, modelProperties: { - ...TriggerBase.type.modelProperties, - expression: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") - }, - serializedName: "expression", - required: true, - type: { - name: "String" - } - } + ...SamplingAlgorithm.type.modelProperties } } }; -export const MLTableJobInput: coreClient.CompositeMapper = { - serializedName: "mltable", +export const GridSamplingAlgorithm: coreClient.CompositeMapper = { + serializedName: "Grid", type: { name: "Composite", - className: "MLTableJobInput", - 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 CustomModelJobInput: coreClient.CompositeMapper = { - serializedName: "custom_model", +export const RandomSamplingAlgorithm: coreClient.CompositeMapper = { + serializedName: "Random", type: { name: "Composite", - className: "CustomModelJobInput", - uberParent: "AssetJobInput", - polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, + className: "RandomSamplingAlgorithm", + uberParent: "SamplingAlgorithm", + polymorphicDiscriminator: SamplingAlgorithm.type.polymorphicDiscriminator, modelProperties: { - ...AssetJobInput.type.modelProperties, - ...JobInput.type.modelProperties + ...SamplingAlgorithm.type.modelProperties, + logbase: { + serializedName: "logbase", + nullable: true, + type: { + name: "String" + } + }, + rule: { + serializedName: "rule", + type: { + name: "String" + } + }, + seed: { + serializedName: "seed", + nullable: true, + type: { + name: "Number" + } + } } } }; -export const MLFlowModelJobInput: coreClient.CompositeMapper = { - serializedName: "mlflow_model", +export const ClassificationTrainingSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MLFlowModelJobInput", - 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 TritonModelJobInput: coreClient.CompositeMapper = { - serializedName: "triton_model", +export const ForecastingTrainingSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TritonModelJobInput", - uberParent: "AssetJobInput", - polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, + className: "ForecastingTrainingSettings", 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 UriFileJobInput: coreClient.CompositeMapper = { - serializedName: "uri_file", +export const RegressionTrainingSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UriFileJobInput", - uberParent: "AssetJobInput", - polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, + className: "RegressionTrainingSettings", 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 UriFolderJobInput: coreClient.CompositeMapper = { - serializedName: "uri_folder", +export const TableVerticalFeaturizationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UriFolderJobInput", - uberParent: "AssetJobInput", - polymorphicDiscriminator: AssetJobInput.type.polymorphicDiscriminator, + className: "TableVerticalFeaturizationSettings", modelProperties: { - ...AssetJobInput.type.modelProperties, - ...JobInput.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 CustomModelJobOutput: coreClient.CompositeMapper = { - serializedName: "custom_model", +export const NlpVerticalFeaturizationSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomModelJobOutput", - uberParent: "AssetJobOutput", - polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + className: "NlpVerticalFeaturizationSettings", modelProperties: { - ...AssetJobOutput.type.modelProperties, - ...JobOutput.type.modelProperties + ...FeaturizationSettings.type.modelProperties } } }; -export const MLFlowModelJobOutput: coreClient.CompositeMapper = { - serializedName: "mlflow_model", +export const Mpi: coreClient.CompositeMapper = { + serializedName: "Mpi", type: { name: "Composite", - className: "MLFlowModelJobOutput", - 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 MLTableJobOutput: coreClient.CompositeMapper = { - serializedName: "mltable", +export const PyTorch: coreClient.CompositeMapper = { + serializedName: "PyTorch", type: { name: "Composite", - className: "MLTableJobOutput", - 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 TritonModelJobOutput: coreClient.CompositeMapper = { - serializedName: "triton_model", +export const TensorFlow: coreClient.CompositeMapper = { + serializedName: "TensorFlow", type: { name: "Composite", - className: "TritonModelJobOutput", - uberParent: "AssetJobOutput", - polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + className: "TensorFlow", + uberParent: "DistributionConfiguration", + polymorphicDiscriminator: + DistributionConfiguration.type.polymorphicDiscriminator, modelProperties: { - ...AssetJobOutput.type.modelProperties, - ...JobOutput.type.modelProperties + ...DistributionConfiguration.type.modelProperties, + parameterServerCount: { + defaultValue: 0, + serializedName: "parameterServerCount", + type: { + name: "Number" + } + }, + workerCount: { + serializedName: "workerCount", + nullable: true, + type: { + name: "Number" + } + } } } }; -export const UriFileJobOutput: coreClient.CompositeMapper = { - serializedName: "uri_file", +export const CommandJobLimits: coreClient.CompositeMapper = { + serializedName: "Command", type: { name: "Composite", - className: "UriFileJobOutput", - uberParent: "AssetJobOutput", - polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + className: "CommandJobLimits", + uberParent: "JobLimits", + polymorphicDiscriminator: JobLimits.type.polymorphicDiscriminator, modelProperties: { - ...AssetJobOutput.type.modelProperties, - ...JobOutput.type.modelProperties + ...JobLimits.type.modelProperties } } }; -export const UriFolderJobOutput: coreClient.CompositeMapper = { - serializedName: "uri_folder", +export const SweepJobLimits: coreClient.CompositeMapper = { + serializedName: "Sweep", type: { name: "Composite", - className: "UriFolderJobOutput", - uberParent: "AssetJobOutput", - polymorphicDiscriminator: AssetJobOutput.type.polymorphicDiscriminator, + className: "SweepJobLimits", + uberParent: "JobLimits", + polymorphicDiscriminator: JobLimits.type.polymorphicDiscriminator, modelProperties: { - ...AssetJobOutput.type.modelProperties, - ...JobOutput.type.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, + type: { + name: "TimeSpan" + } + } } } }; -export const AutoForecastHorizon: coreClient.CompositeMapper = { - serializedName: "Auto", +export const ImageModelSettingsClassification: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutoForecastHorizon", - uberParent: "ForecastHorizon", - polymorphicDiscriminator: ForecastHorizon.type.polymorphicDiscriminator, + className: "ImageModelSettingsClassification", modelProperties: { - ...ForecastHorizon.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 CustomForecastHorizon: coreClient.CompositeMapper = { - serializedName: "Custom", +export const ImageModelSettingsObjectDetection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomForecastHorizon", - uberParent: "ForecastHorizon", - polymorphicDiscriminator: ForecastHorizon.type.polymorphicDiscriminator, + className: "ImageModelSettingsObjectDetection", modelProperties: { - ...ForecastHorizon.type.modelProperties, - value: { - serializedName: "value", - required: true, + ...ImageModelSettings.type.modelProperties, + boxDetectionsPerImage: { + serializedName: "boxDetectionsPerImage", + nullable: true, + type: { + name: "Number" + } + }, + boxScoreThreshold: { + serializedName: "boxScoreThreshold", + nullable: true, type: { name: "Number" } - } - } - } -}; - -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", + }, + 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" } }, - primaryMetric: { - serializedName: "primaryMetric", + multiScale: { + serializedName: "multiScale", + nullable: true, + type: { + name: "Boolean" + } + }, + nmsIouThreshold: { + serializedName: "nmsIouThreshold", + nullable: true, + type: { + name: "Number" + } + }, + tileGridSize: { + serializedName: "tileGridSize", + nullable: true, type: { name: "String" } }, - trainingSettings: { - serializedName: "trainingSettings", + tileOverlapRatio: { + serializedName: "tileOverlapRatio", + nullable: true, type: { - name: "Composite", - className: "ClassificationTrainingSettings" + 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 Forecasting: coreClient.CompositeMapper = { - serializedName: "Forecasting", +export const ImageModelDistributionSettingsClassification: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Forecasting", - uberParent: "TableVertical", - polymorphicDiscriminator: TableVertical.type.polymorphicDiscriminator, + className: "ImageModelDistributionSettingsClassification", modelProperties: { - ...TableVertical.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - forecastingSettings: { - serializedName: "forecastingSettings", + ...ImageModelDistributionSettings.type.modelProperties, + trainingCropSize: { + serializedName: "trainingCropSize", + nullable: true, type: { - name: "Composite", - className: "ForecastingSettings" + name: "String" } }, - primaryMetric: { - serializedName: "primaryMetric", + validationCropSize: { + serializedName: "validationCropSize", + nullable: true, type: { name: "String" } }, - trainingSettings: { - serializedName: "trainingSettings", + validationResizeSize: { + serializedName: "validationResizeSize", + nullable: true, type: { - name: "Composite", - className: "ForecastingTrainingSettings" + name: "String" + } + }, + weightedLoss: { + serializedName: "weightedLoss", + nullable: true, + type: { + name: "String" } } } } }; -export const ImageClassificationBase: coreClient.CompositeMapper = { +export const ImageModelDistributionSettingsObjectDetection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ImageClassificationBase", + className: "ImageModelDistributionSettingsObjectDetection", modelProperties: { - ...ImageVertical.type.modelProperties, - modelSettings: { - serializedName: "modelSettings", + ...ImageModelDistributionSettings.type.modelProperties, + boxDetectionsPerImage: { + serializedName: "boxDetectionsPerImage", + nullable: true, type: { - name: "Composite", - className: "ImageModelSettingsClassification" + name: "String" } }, - searchSpace: { - serializedName: "searchSpace", + boxScoreThreshold: { + serializedName: "boxScoreThreshold", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ImageModelDistributionSettingsClassification" - } - } + name: "String" } - } - } - } -}; - -export const ImageClassification: coreClient.CompositeMapper = { - serializedName: "ImageClassification", - type: { - name: "Composite", - className: "ImageClassification", - uberParent: "ImageClassificationBase", - modelProperties: { - ...ImageClassificationBase.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", + }, + imageSize: { + serializedName: "imageSize", + nullable: true, type: { name: "String" } - } - } - } -}; -ImageClassificationBase.type.polymorphicDiscriminator = - ImageClassificationBase.type.polymorphicDiscriminator; - -export const ImageClassificationMultilabel: coreClient.CompositeMapper = { - serializedName: "ImageClassificationMultilabel", - type: { - name: "Composite", - className: "ImageClassificationMultilabel", - uberParent: "ImageClassificationBase", - polymorphicDiscriminator: - ImageClassificationBase.type.polymorphicDiscriminator, - modelProperties: { - ...ImageClassificationBase.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", + }, + maxSize: { + serializedName: "maxSize", + nullable: true, type: { name: "String" } - } - } - } -}; - -export const ImageObjectDetectionBase: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ImageObjectDetectionBase", - modelProperties: { - ...ImageVertical.type.modelProperties, - modelSettings: { - serializedName: "modelSettings", + }, + 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" + } + }, + tileGridSize: { + serializedName: "tileGridSize", + nullable: true, + type: { + name: "String" + } + }, + tileOverlapRatio: { + serializedName: "tileOverlapRatio", + nullable: true, + type: { + name: "String" + } + }, + tilePredictionsNmsThreshold: { + serializedName: "tilePredictionsNmsThreshold", + nullable: true, type: { - name: "Composite", - className: "ImageModelSettingsObjectDetection" + name: "String" } }, - searchSpace: { - serializedName: "searchSpace", + validationIouThreshold: { + serializedName: "validationIouThreshold", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ImageModelDistributionSettingsObjectDetection" - } - } + name: "String" + } + }, + validationMetricType: { + serializedName: "validationMetricType", + nullable: true, + type: { + name: "String" } } } } }; -export const ImageInstanceSegmentation: coreClient.CompositeMapper = { - serializedName: "ImageInstanceSegmentation", +export const SparkJobPythonEntry: coreClient.CompositeMapper = { + serializedName: "SparkJobPythonEntry", type: { name: "Composite", - className: "ImageInstanceSegmentation", - uberParent: "ImageObjectDetectionBase", - polymorphicDiscriminator: - ImageObjectDetectionBase.type.polymorphicDiscriminator, + className: "SparkJobPythonEntry", + uberParent: "SparkJobEntry", + polymorphicDiscriminator: SparkJobEntry.type.polymorphicDiscriminator, modelProperties: { - ...ImageObjectDetectionBase.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", + ...SparkJobEntry.type.modelProperties, + file: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1 + }, + serializedName: "file", + required: true, type: { name: "String" } @@ -9440,17 +13937,22 @@ export const ImageInstanceSegmentation: coreClient.CompositeMapper = { } }; -export const ImageObjectDetection: coreClient.CompositeMapper = { - serializedName: "ImageObjectDetection", +export const SparkJobScalaEntry: coreClient.CompositeMapper = { + serializedName: "SparkJobScalaEntry", type: { name: "Composite", - className: "ImageObjectDetection", - uberParent: "ImageObjectDetectionBase", + className: "SparkJobScalaEntry", + uberParent: "SparkJobEntry", + polymorphicDiscriminator: SparkJobEntry.type.polymorphicDiscriminator, modelProperties: { - ...ImageObjectDetectionBase.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", + ...SparkJobEntry.type.modelProperties, + className: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1 + }, + serializedName: "className", + required: true, type: { name: "String" } @@ -9458,485 +13960,509 @@ export const ImageObjectDetection: coreClient.CompositeMapper = { } } }; -ImageObjectDetectionBase.type.polymorphicDiscriminator = - ImageObjectDetectionBase.type.polymorphicDiscriminator; -export const Regression: coreClient.CompositeMapper = { - serializedName: "Regression", +export const BatchEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Regression", - uberParent: "TableVertical", - polymorphicDiscriminator: TableVertical.type.polymorphicDiscriminator, + className: "BatchEndpoint", modelProperties: { - ...TableVertical.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity" + } + }, + kind: { + serializedName: "kind", type: { name: "String" } }, - trainingSettings: { - serializedName: "trainingSettings", + properties: { + serializedName: "properties", type: { name: "Composite", - className: "RegressionTrainingSettings" + className: "BatchEndpointProperties" + } + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" } } } } }; -export const TextClassification: coreClient.CompositeMapper = { - serializedName: "TextClassification", +export const BatchDeployment: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TextClassification", - uberParent: "NlpVertical", - polymorphicDiscriminator: NlpVertical.type.polymorphicDiscriminator, + className: "BatchDeployment", modelProperties: { - ...NlpVertical.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity" + } + }, + kind: { + serializedName: "kind", type: { name: "String" } + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "BatchDeploymentProperties" + } + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } } } } }; -export const TextClassificationMultilabel: coreClient.CompositeMapper = { - serializedName: "TextClassificationMultilabel", +export const OnlineEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TextClassificationMultilabel", - uberParent: "NlpVertical", - polymorphicDiscriminator: NlpVertical.type.polymorphicDiscriminator, + className: "OnlineEndpoint", modelProperties: { - ...NlpVertical.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", - readOnly: true, + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity" + } + }, + kind: { + serializedName: "kind", type: { name: "String" } + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "OnlineEndpointProperties" + } + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } } } } }; -export const TextNer: coreClient.CompositeMapper = { - serializedName: "TextNER", +export const OnlineDeployment: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TextNer", - uberParent: "NlpVertical", - polymorphicDiscriminator: NlpVertical.type.polymorphicDiscriminator, + className: "OnlineDeployment", modelProperties: { - ...NlpVertical.type.modelProperties, - ...AutoMLVertical.type.modelProperties, - primaryMetric: { - serializedName: "primaryMetric", - readOnly: true, + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity" + } + }, + kind: { + serializedName: "kind", type: { name: "String" } + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "OnlineDeploymentProperties" + } + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } } } } }; -export const LiteralJobInput: coreClient.CompositeMapper = { - serializedName: "literal", +export const Registry: coreClient.CompositeMapper = { type: { name: "Composite", - className: "LiteralJobInput", - uberParent: "JobInput", - polymorphicDiscriminator: JobInput.type.polymorphicDiscriminator, + className: "Registry", modelProperties: { - ...JobInput.type.modelProperties, - value: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") - }, - serializedName: "value", - required: true, + ...TrackedResource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity" + } + }, + kind: { + serializedName: "kind", type: { name: "String" } - } - } - } -}; - -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, + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "RegistryProperties" + } + }, + sku: { + serializedName: "sku", type: { - name: "Number" + name: "Composite", + className: "Sku" } } } } }; -export const AutoSeasonality: coreClient.CompositeMapper = { - serializedName: "Auto", - type: { - name: "Composite", - className: "AutoSeasonality", - uberParent: "Seasonality", - polymorphicDiscriminator: Seasonality.type.polymorphicDiscriminator, - modelProperties: { - ...Seasonality.type.modelProperties - } - } -}; - -export const CustomSeasonality: coreClient.CompositeMapper = { - serializedName: "Custom", +export const CodeContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomSeasonality", - uberParent: "Seasonality", - polymorphicDiscriminator: Seasonality.type.polymorphicDiscriminator, + className: "CodeContainerProperties", modelProperties: { - ...Seasonality.type.modelProperties, - value: { - serializedName: "value", - required: true, + ...AssetContainer.type.modelProperties, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Number" + name: "String" } } } } }; -export const AutoTargetLags: coreClient.CompositeMapper = { - serializedName: "Auto", +export const ComponentContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutoTargetLags", - uberParent: "TargetLags", - polymorphicDiscriminator: TargetLags.type.polymorphicDiscriminator, + className: "ComponentContainerProperties", modelProperties: { - ...TargetLags.type.modelProperties + ...AssetContainer.type.modelProperties, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String" + } + } } } }; -export const CustomTargetLags: coreClient.CompositeMapper = { - serializedName: "Custom", +export const DataContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomTargetLags", - uberParent: "TargetLags", - polymorphicDiscriminator: TargetLags.type.polymorphicDiscriminator, + className: "DataContainerProperties", modelProperties: { - ...TargetLags.type.modelProperties, - values: { - serializedName: "values", + ...AssetContainer.type.modelProperties, + dataType: { + serializedName: "dataType", required: true, type: { - name: "Sequence", - element: { - type: { - name: "Number" - } - } + name: "String" } } } } }; -export const AutoTargetRollingWindowSize: coreClient.CompositeMapper = { - serializedName: "Auto", +export const EnvironmentContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutoTargetRollingWindowSize", - uberParent: "TargetRollingWindowSize", - polymorphicDiscriminator: - TargetRollingWindowSize.type.polymorphicDiscriminator, + className: "EnvironmentContainerProperties", modelProperties: { - ...TargetRollingWindowSize.type.modelProperties + ...AssetContainer.type.modelProperties, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String" + } + } } } }; -export const CustomTargetRollingWindowSize: coreClient.CompositeMapper = { - serializedName: "Custom", +export const ModelContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomTargetRollingWindowSize", - uberParent: "TargetRollingWindowSize", - polymorphicDiscriminator: - TargetRollingWindowSize.type.polymorphicDiscriminator, + className: "ModelContainerProperties", modelProperties: { - ...TargetRollingWindowSize.type.modelProperties, - value: { - serializedName: "value", - required: true, + ...AssetContainer.type.modelProperties, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Number" + name: "String" } } } } }; -export const BanditPolicy: coreClient.CompositeMapper = { - serializedName: "Bandit", +export const FeaturesetContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BanditPolicy", - uberParent: "EarlyTerminationPolicy", - polymorphicDiscriminator: - EarlyTerminationPolicy.type.polymorphicDiscriminator, + className: "FeaturesetContainerProperties", modelProperties: { - ...EarlyTerminationPolicy.type.modelProperties, - slackAmount: { - defaultValue: 0, - serializedName: "slackAmount", - type: { - name: "Number" - } - }, - slackFactor: { - defaultValue: 0, - serializedName: "slackFactor", + ...AssetContainer.type.modelProperties, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Number" + name: "String" } } } } }; -export const MedianStoppingPolicy: coreClient.CompositeMapper = { - serializedName: "MedianStopping", +export const FeaturestoreEntityContainerProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MedianStoppingPolicy", - uberParent: "EarlyTerminationPolicy", - polymorphicDiscriminator: - EarlyTerminationPolicy.type.polymorphicDiscriminator, + className: "FeaturestoreEntityContainerProperties", modelProperties: { - ...EarlyTerminationPolicy.type.modelProperties + ...AssetContainer.type.modelProperties, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String" + } + } } } }; -export const TruncationSelectionPolicy: coreClient.CompositeMapper = { - serializedName: "TruncationSelection", +export const CodeVersionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TruncationSelectionPolicy", - uberParent: "EarlyTerminationPolicy", - polymorphicDiscriminator: - EarlyTerminationPolicy.type.polymorphicDiscriminator, + className: "CodeVersionProperties", modelProperties: { - ...EarlyTerminationPolicy.type.modelProperties, - truncationPercentage: { - defaultValue: 0, - serializedName: "truncationPercentage", + ...AssetBase.type.modelProperties, + codeUri: { + serializedName: "codeUri", + nullable: true, type: { - name: "Number" + name: "String" + } + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String" } } } } }; -export const BayesianSamplingAlgorithm: coreClient.CompositeMapper = { - serializedName: "Bayesian", +export const ComponentVersionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BayesianSamplingAlgorithm", - uberParent: "SamplingAlgorithm", - polymorphicDiscriminator: SamplingAlgorithm.type.polymorphicDiscriminator, + className: "ComponentVersionProperties", modelProperties: { - ...SamplingAlgorithm.type.modelProperties + ...AssetBase.type.modelProperties, + componentSpec: { + serializedName: "componentSpec", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String" + } + } } } }; -export const GridSamplingAlgorithm: coreClient.CompositeMapper = { - serializedName: "Grid", +export const DataVersionBaseProperties: coreClient.CompositeMapper = { + serializedName: "DataVersionBaseProperties", type: { name: "Composite", - className: "GridSamplingAlgorithm", - uberParent: "SamplingAlgorithm", - polymorphicDiscriminator: SamplingAlgorithm.type.polymorphicDiscriminator, + className: "DataVersionBaseProperties", + uberParent: "AssetBase", + polymorphicDiscriminator: { + serializedName: "dataType", + clientName: "dataType" + }, modelProperties: { - ...SamplingAlgorithm.type.modelProperties + ...AssetBase.type.modelProperties, + dataType: { + serializedName: "dataType", + required: true, + type: { + name: "String" + } + }, + dataUri: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "dataUri", + required: true, + type: { + name: "String" + } + } } } }; -export const RandomSamplingAlgorithm: coreClient.CompositeMapper = { - serializedName: "Random", +export const EnvironmentVersionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RandomSamplingAlgorithm", - uberParent: "SamplingAlgorithm", - polymorphicDiscriminator: SamplingAlgorithm.type.polymorphicDiscriminator, + className: "EnvironmentVersionProperties", modelProperties: { - ...SamplingAlgorithm.type.modelProperties, - rule: { - serializedName: "rule", + ...AssetBase.type.modelProperties, + autoRebuild: { + serializedName: "autoRebuild", + type: { + name: "String" + } + }, + build: { + serializedName: "build", + type: { + name: "Composite", + className: "BuildContext" + } + }, + condaFile: { + serializedName: "condaFile", + type: { + name: "String" + } + }, + environmentType: { + serializedName: "environmentType", + readOnly: true, type: { name: "String" } }, - seed: { - serializedName: "seed", - nullable: true, + image: { + serializedName: "image", type: { - name: "Number" + name: "String" } - } - } - } -}; - -export const ClassificationTrainingSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ClassificationTrainingSettings", - modelProperties: { - ...TrainingSettings.type.modelProperties, - allowedTrainingAlgorithms: { - serializedName: "allowedTrainingAlgorithms", - nullable: true, + }, + inferenceConfig: { + serializedName: "inferenceConfig", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "InferenceContainerProperties" } }, - blockedTrainingAlgorithms: { - serializedName: "blockedTrainingAlgorithms", - nullable: true, + osType: { + serializedName: "osType", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" + } + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String" } } } } }; -export const ForecastingTrainingSettings: coreClient.CompositeMapper = { +export const ModelVersionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ForecastingTrainingSettings", + className: "ModelVersionProperties", modelProperties: { - ...TrainingSettings.type.modelProperties, - allowedTrainingAlgorithms: { - serializedName: "allowedTrainingAlgorithms", + ...AssetBase.type.modelProperties, + flavors: { + serializedName: "flavors", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Dictionary", + value: { type: { name: "Composite", className: "FlavorData" } } } }, - blockedTrainingAlgorithms: { - serializedName: "blockedTrainingAlgorithms", + jobName: { + serializedName: "jobName", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } - } - } - } -}; - -export const RegressionTrainingSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RegressionTrainingSettings", - modelProperties: { - ...TrainingSettings.type.modelProperties, - allowedTrainingAlgorithms: { - serializedName: "allowedTrainingAlgorithms", + }, + modelType: { + serializedName: "modelType", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - blockedTrainingAlgorithms: { - serializedName: "blockedTrainingAlgorithms", + modelUri: { + serializedName: "modelUri", nullable: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" + } + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String" } } } } }; -export const TableVerticalFeaturizationSettings: coreClient.CompositeMapper = { +export const FeaturesetVersionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TableVerticalFeaturizationSettings", + className: "FeaturesetVersionProperties", modelProperties: { - ...FeaturizationSettings.type.modelProperties, - blockedTransformers: { - serializedName: "blockedTransformers", + ...AssetBase.type.modelProperties, + entities: { + serializedName: "entities", nullable: true, type: { name: "Sequence", @@ -9947,339 +14473,408 @@ export const TableVerticalFeaturizationSettings: coreClient.CompositeMapper = { } } }, - columnNameAndTypes: { - serializedName: "columnNameAndTypes", - nullable: true, + materializationSettings: { + serializedName: "materializationSettings", type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "Composite", + className: "MaterializationSettings" } }, - enableDnnFeaturization: { - defaultValue: false, - serializedName: "enableDnnFeaturization", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { - name: "Boolean" + name: "String" } }, - mode: { - serializedName: "mode", + specification: { + serializedName: "specification", type: { - name: "String" + name: "Composite", + className: "FeaturesetSpecification" } }, - transformerParams: { - serializedName: "transformerParams", + stage: { + serializedName: "stage", nullable: true, type: { - name: "Dictionary", - value: { - type: { - name: "Sequence", - element: { - type: { name: "Composite", className: "ColumnTransformer" } - } - } - } + name: "String" } } } } }; -export const NlpVerticalFeaturizationSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "NlpVerticalFeaturizationSettings", - modelProperties: { - ...FeaturizationSettings.type.modelProperties - } - } -}; - -export const Mpi: coreClient.CompositeMapper = { - serializedName: "Mpi", +export const FeaturestoreEntityVersionProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Mpi", - uberParent: "DistributionConfiguration", - polymorphicDiscriminator: - DistributionConfiguration.type.polymorphicDiscriminator, + className: "FeaturestoreEntityVersionProperties", modelProperties: { - ...DistributionConfiguration.type.modelProperties, - processCountPerInstance: { - serializedName: "processCountPerInstance", + ...AssetBase.type.modelProperties, + indexColumns: { + serializedName: "indexColumns", nullable: true, type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IndexColumn" + } + } + } + }, + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String" } } } } }; -export const PyTorch: coreClient.CompositeMapper = { - serializedName: "PyTorch", +export const HdfsDatastore: coreClient.CompositeMapper = { + serializedName: "Hdfs", type: { name: "Composite", - className: "PyTorch", - uberParent: "DistributionConfiguration", - polymorphicDiscriminator: - DistributionConfiguration.type.polymorphicDiscriminator, + className: "HdfsDatastore", + uberParent: "DatastoreProperties", + polymorphicDiscriminator: DatastoreProperties.type.polymorphicDiscriminator, modelProperties: { - ...DistributionConfiguration.type.modelProperties, - processCountPerInstance: { - serializedName: "processCountPerInstance", + ...DatastoreProperties.type.modelProperties, + hdfsServerCertificate: { + serializedName: "hdfsServerCertificate", 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", + }, + nameNodeAddress: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "nameNodeAddress", + required: true, type: { - name: "Number" + name: "String" } }, - workerCount: { - serializedName: "workerCount", - nullable: true, + protocol: { + defaultValue: "http", + serializedName: "protocol", type: { - name: "Number" + name: "String" } } } } }; -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 LabelingJobProperties: coreClient.CompositeMapper = { + serializedName: "Labeling", type: { - name: "Composite", - className: "SweepJobLimits", - uberParent: "JobLimits", - polymorphicDiscriminator: JobLimits.type.polymorphicDiscriminator, + name: "Composite", + className: "LabelingJobProperties", + uberParent: "JobBaseProperties", + polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...JobLimits.type.modelProperties, - maxConcurrentTrials: { - serializedName: "maxConcurrentTrials", + ...JobBaseProperties.type.modelProperties, + createdDateTime: { + serializedName: "createdDateTime", + readOnly: true, nullable: true, type: { - name: "Number" + name: "DateTime" } }, - maxTotalTrials: { - serializedName: "maxTotalTrials", + dataConfiguration: { + serializedName: "dataConfiguration", + type: { + name: "Composite", + className: "LabelingDataConfiguration" + } + }, + jobInstructions: { + serializedName: "jobInstructions", + type: { + name: "Composite", + className: "LabelingJobInstructions" + } + }, + labelCategories: { + serializedName: "labelCategories", nullable: true, type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "Composite", className: "LabelCategory" } } } }, - trialTimeout: { - serializedName: "trialTimeout", + labelingJobMediaProperties: { + serializedName: "labelingJobMediaProperties", + type: { + name: "Composite", + className: "LabelingJobMediaProperties" + } + }, + mlAssistConfiguration: { + serializedName: "mlAssistConfiguration", + type: { + name: "Composite", + className: "MLAssistConfiguration" + } + }, + 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: "TimeSpan" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StatusMessage" + } + } } } } } }; -export const ImageModelSettingsClassification: coreClient.CompositeMapper = { +export const AutoMLJob: coreClient.CompositeMapper = { + serializedName: "AutoML", type: { name: "Composite", - className: "ImageModelSettingsClassification", + className: "AutoMLJob", + uberParent: "JobBaseProperties", + polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...ImageModelSettings.type.modelProperties, - trainingCropSize: { - serializedName: "trainingCropSize", + ...JobBaseProperties.type.modelProperties, + environmentId: { + serializedName: "environmentId", nullable: true, type: { - name: "Number" + name: "String" } }, - validationCropSize: { - serializedName: "validationCropSize", + environmentVariables: { + serializedName: "environmentVariables", nullable: true, type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "String" } } } }, - validationResizeSize: { - serializedName: "validationResizeSize", + outputs: { + serializedName: "outputs", nullable: true, type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } } } }, - weightedLoss: { - serializedName: "weightedLoss", - nullable: true, + queueSettings: { + serializedName: "queueSettings", type: { - name: "Number" + name: "Composite", + className: "QueueSettings" + } + }, + resources: { + serializedName: "resources", + type: { + name: "Composite", + className: "JobResourceConfiguration" + } + }, + taskDetails: { + serializedName: "taskDetails", + type: { + name: "Composite", + className: "AutoMLVertical" } } } } }; -export const ImageModelSettingsObjectDetection: coreClient.CompositeMapper = { +export const CommandJob: coreClient.CompositeMapper = { + serializedName: "Command", type: { name: "Composite", - className: "ImageModelSettingsObjectDetection", + className: "CommandJob", + uberParent: "JobBaseProperties", + polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...ImageModelSettings.type.modelProperties, - boxDetectionsPerImage: { - serializedName: "boxDetectionsPerImage", - nullable: true, - type: { - name: "Number" - } - }, - boxScoreThreshold: { - serializedName: "boxScoreThreshold", - nullable: true, + ...JobBaseProperties.type.modelProperties, + autologgerSettings: { + serializedName: "autologgerSettings", type: { - name: "Number" + name: "Composite", + className: "AutologgerSettings" } }, - imageSize: { - serializedName: "imageSize", + codeId: { + serializedName: "codeId", nullable: true, type: { - name: "Number" + name: "String" } }, - maxSize: { - serializedName: "maxSize", - nullable: true, + command: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]"), + MinLength: 1 + }, + serializedName: "command", + required: true, type: { - name: "Number" + name: "String" } }, - minSize: { - serializedName: "minSize", - nullable: true, + distribution: { + serializedName: "distribution", type: { - name: "Number" + name: "Composite", + className: "DistributionConfiguration" } }, - modelSize: { - serializedName: "modelSize", + environmentId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "environmentId", + required: true, type: { name: "String" } }, - multiScale: { - serializedName: "multiScale", + environmentVariables: { + serializedName: "environmentVariables", nullable: true, type: { - name: "Boolean" + name: "Dictionary", + value: { type: { name: "String" } } } }, - nmsIouThreshold: { - serializedName: "nmsIouThreshold", + inputs: { + serializedName: "inputs", nullable: true, type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "Composite", className: "JobInput" } } } }, - tileGridSize: { - serializedName: "tileGridSize", - nullable: true, + limits: { + serializedName: "limits", type: { - name: "String" + name: "Composite", + className: "CommandJobLimits" } }, - tileOverlapRatio: { - serializedName: "tileOverlapRatio", + outputs: { + serializedName: "outputs", nullable: true, type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } } } }, - tilePredictionsNmsThreshold: { - serializedName: "tilePredictionsNmsThreshold", + parameters: { + serializedName: "parameters", + readOnly: true, nullable: true, type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "any" } } } }, - validationIouThreshold: { - serializedName: "validationIouThreshold", - nullable: true, + queueSettings: { + serializedName: "queueSettings", type: { - name: "Number" + name: "Composite", + className: "QueueSettings" } }, - validationMetricType: { - serializedName: "validationMetricType", + resources: { + serializedName: "resources", type: { - name: "String" + name: "Composite", + className: "JobResourceConfiguration" } } } } }; -export const ImageModelDistributionSettingsClassification: coreClient.CompositeMapper = { +export const PipelineJob: coreClient.CompositeMapper = { + serializedName: "Pipeline", type: { name: "Composite", - className: "ImageModelDistributionSettingsClassification", + className: "PipelineJob", + uberParent: "JobBaseProperties", + polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...ImageModelDistributionSettings.type.modelProperties, - trainingCropSize: { - serializedName: "trainingCropSize", + ...JobBaseProperties.type.modelProperties, + inputs: { + serializedName: "inputs", nullable: true, type: { - name: "String" + name: "Dictionary", + value: { type: { name: "Composite", className: "JobInput" } } } }, - validationCropSize: { - serializedName: "validationCropSize", + jobs: { + serializedName: "jobs", nullable: true, type: { - name: "String" + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } + } } }, - validationResizeSize: { - serializedName: "validationResizeSize", + outputs: { + serializedName: "outputs", nullable: true, type: { - name: "String" + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } } } }, - weightedLoss: { - serializedName: "weightedLoss", + settings: { + serializedName: "settings", + nullable: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + sourceJobId: { + serializedName: "sourceJobId", nullable: true, type: { name: "String" @@ -10289,319 +14884,357 @@ export const ImageModelDistributionSettingsClassification: coreClient.CompositeM } }; -export const ImageModelDistributionSettingsObjectDetection: coreClient.CompositeMapper = { +export const SparkJob: coreClient.CompositeMapper = { + serializedName: "Spark", type: { name: "Composite", - className: "ImageModelDistributionSettingsObjectDetection", + className: "SparkJob", + uberParent: "JobBaseProperties", + polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...ImageModelDistributionSettings.type.modelProperties, - boxDetectionsPerImage: { - serializedName: "boxDetectionsPerImage", + ...JobBaseProperties.type.modelProperties, + archives: { + serializedName: "archives", nullable: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - boxScoreThreshold: { - serializedName: "boxScoreThreshold", + args: { + serializedName: "args", nullable: true, type: { name: "String" } }, - imageSize: { - serializedName: "imageSize", - nullable: true, + codeId: { + constraints: { + Pattern: new RegExp("[a-zA-Z0-9_]") + }, + serializedName: "codeId", + required: true, type: { name: "String" } }, - maxSize: { - serializedName: "maxSize", + conf: { + serializedName: "conf", nullable: true, type: { - name: "String" + name: "Dictionary", + value: { type: { name: "String" } } } }, - minSize: { - serializedName: "minSize", - nullable: true, + entry: { + serializedName: "entry", type: { - name: "String" + name: "Composite", + className: "SparkJobEntry" } }, - modelSize: { - serializedName: "modelSize", + environmentId: { + serializedName: "environmentId", nullable: true, type: { name: "String" } }, - multiScale: { - serializedName: "multiScale", + files: { + serializedName: "files", nullable: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - nmsIouThreshold: { - serializedName: "nmsIouThreshold", + inputs: { + serializedName: "inputs", nullable: true, type: { - name: "String" + name: "Dictionary", + value: { type: { name: "Composite", className: "JobInput" } } } }, - tileGridSize: { - serializedName: "tileGridSize", + jars: { + serializedName: "jars", nullable: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - tileOverlapRatio: { - serializedName: "tileOverlapRatio", + outputs: { + serializedName: "outputs", nullable: true, type: { - name: "String" + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } } } }, - tilePredictionsNmsThreshold: { - serializedName: "tilePredictionsNmsThreshold", + pyFiles: { + serializedName: "pyFiles", nullable: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - validationIouThreshold: { - serializedName: "validationIouThreshold", - nullable: true, + queueSettings: { + serializedName: "queueSettings", type: { - name: "String" + name: "Composite", + className: "QueueSettings" } }, - validationMetricType: { - serializedName: "validationMetricType", - nullable: true, + resources: { + serializedName: "resources", type: { - name: "String" + name: "Composite", + className: "SparkResourceConfiguration" } } } } }; -export const BatchEndpoint: coreClient.CompositeMapper = { +export const SweepJob: coreClient.CompositeMapper = { + serializedName: "Sweep", type: { name: "Composite", - className: "BatchEndpoint", + className: "SweepJob", + uberParent: "JobBaseProperties", + polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...TrackedResource.type.modelProperties, - identity: { - serializedName: "identity", + ...JobBaseProperties.type.modelProperties, + earlyTermination: { + serializedName: "earlyTermination", type: { name: "Composite", - className: "ManagedServiceIdentity" + className: "EarlyTerminationPolicy" } }, - kind: { - serializedName: "kind", + inputs: { + serializedName: "inputs", + nullable: true, type: { - name: "String" + name: "Dictionary", + value: { type: { name: "Composite", className: "JobInput" } } } }, - properties: { - serializedName: "properties", + limits: { + serializedName: "limits", type: { name: "Composite", - className: "BatchEndpointProperties" + className: "SweepJobLimits" } }, - sku: { - serializedName: "sku", + objective: { + serializedName: "objective", type: { name: "Composite", - className: "Sku" + className: "Objective" } - } - } - } -}; - -export const BatchDeployment: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "BatchDeployment", - modelProperties: { - ...TrackedResource.type.modelProperties, - identity: { - serializedName: "identity", + }, + outputs: { + serializedName: "outputs", + nullable: true, type: { - name: "Composite", - className: "ManagedServiceIdentity" + name: "Dictionary", + value: { type: { name: "Composite", className: "JobOutput" } } } }, - kind: { - serializedName: "kind", + queueSettings: { + serializedName: "queueSettings", type: { - name: "String" + name: "Composite", + className: "QueueSettings" } }, - properties: { - serializedName: "properties", + samplingAlgorithm: { + serializedName: "samplingAlgorithm", type: { name: "Composite", - className: "BatchDeploymentProperties" + className: "SamplingAlgorithm" } }, - sku: { - serializedName: "sku", + searchSpace: { + serializedName: "searchSpace", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + trial: { + serializedName: "trial", type: { name: "Composite", - className: "Sku" + className: "TrialComponent" } } } } }; -export const OnlineEndpoint: coreClient.CompositeMapper = { +export const KubernetesOnlineDeployment: coreClient.CompositeMapper = { + serializedName: "Kubernetes", type: { name: "Composite", - className: "OnlineEndpoint", + className: "KubernetesOnlineDeployment", + uberParent: "OnlineDeploymentProperties", + polymorphicDiscriminator: + OnlineDeploymentProperties.type.polymorphicDiscriminator, modelProperties: { - ...TrackedResource.type.modelProperties, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "ManagedServiceIdentity" - } - }, - kind: { - serializedName: "kind", - type: { - name: "String" - } - }, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "OnlineEndpointProperties" - } - }, - sku: { - serializedName: "sku", + ...OnlineDeploymentProperties.type.modelProperties, + containerResourceRequirements: { + serializedName: "containerResourceRequirements", type: { name: "Composite", - className: "Sku" + className: "ContainerResourceRequirements" } } } } }; -export const OnlineDeployment: coreClient.CompositeMapper = { +export const ManagedOnlineDeployment: coreClient.CompositeMapper = { + serializedName: "Managed", type: { name: "Composite", - className: "OnlineDeployment", + className: "ManagedOnlineDeployment", + uberParent: "OnlineDeploymentProperties", + polymorphicDiscriminator: + OnlineDeploymentProperties.type.polymorphicDiscriminator, modelProperties: { - ...TrackedResource.type.modelProperties, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "ManagedServiceIdentity" - } - }, - kind: { - serializedName: "kind", - type: { - name: "String" - } - }, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "OnlineDeploymentProperties" - } - }, - sku: { - serializedName: "sku", + ...OnlineDeploymentProperties.type.modelProperties + } + } +}; + +export const MLTableData: coreClient.CompositeMapper = { + serializedName: "mltable", + type: { + name: "Composite", + className: "MLTableData", + uberParent: "DataVersionBaseProperties", + polymorphicDiscriminator: + DataVersionBaseProperties.type.polymorphicDiscriminator, + modelProperties: { + ...DataVersionBaseProperties.type.modelProperties, + referencedUris: { + serializedName: "referencedUris", + nullable: true, type: { - name: "Composite", - className: "Sku" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const KubernetesOnlineDeployment: coreClient.CompositeMapper = { - serializedName: "Kubernetes", +export const UriFileDataVersion: coreClient.CompositeMapper = { + serializedName: "uri_file", type: { name: "Composite", - className: "KubernetesOnlineDeployment", - uberParent: "OnlineDeploymentProperties", + className: "UriFileDataVersion", + uberParent: "DataVersionBaseProperties", polymorphicDiscriminator: - OnlineDeploymentProperties.type.polymorphicDiscriminator, + DataVersionBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...OnlineDeploymentProperties.type.modelProperties, - containerResourceRequirements: { - serializedName: "containerResourceRequirements", - type: { - name: "Composite", - className: "ContainerResourceRequirements" - } - } + ...DataVersionBaseProperties.type.modelProperties } } }; -export const ManagedOnlineDeployment: coreClient.CompositeMapper = { - serializedName: "Managed", +export const UriFolderDataVersion: coreClient.CompositeMapper = { + serializedName: "uri_folder", type: { name: "Composite", - className: "ManagedOnlineDeployment", - uberParent: "OnlineDeploymentProperties", + className: "UriFolderDataVersion", + uberParent: "DataVersionBaseProperties", polymorphicDiscriminator: - OnlineDeploymentProperties.type.polymorphicDiscriminator, + DataVersionBaseProperties.type.polymorphicDiscriminator, modelProperties: { - ...OnlineDeploymentProperties.type.modelProperties + ...DataVersionBaseProperties.type.modelProperties } } }; -export const CodeContainerProperties: coreClient.CompositeMapper = { +export const WorkspacesDiagnoseHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeContainerProperties", + className: "WorkspacesDiagnoseHeaders", modelProperties: { - ...AssetContainer.type.modelProperties + location: { + serializedName: "location", + type: { + name: "String" + } + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10 + }, + serializedName: "retry-after", + type: { + name: "Number" + } + } } } }; -export const ComponentContainerProperties: coreClient.CompositeMapper = { +export const ComputeCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComponentContainerProperties", + className: "ComputeCreateOrUpdateHeaders", modelProperties: { - ...AssetContainer.type.modelProperties + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String" + } + } } } }; -export const DataContainerProperties: coreClient.CompositeMapper = { +export const ComputeDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataContainerProperties", + className: "ComputeDeleteHeaders", modelProperties: { - ...AssetContainer.type.modelProperties, - dataType: { - serializedName: "dataType", - required: true, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String" + } + }, + location: { + serializedName: "location", type: { name: "String" } @@ -10610,141 +15243,206 @@ export const DataContainerProperties: coreClient.CompositeMapper = { } }; -export const EnvironmentContainerProperties: coreClient.CompositeMapper = { +export const RegistryCodeContainersDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnvironmentContainerProperties", + className: "RegistryCodeContainersDeleteHeaders", modelProperties: { - ...AssetContainer.type.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 ModelContainerProperties: coreClient.CompositeMapper = { +export const RegistryCodeContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelContainerProperties", + className: "RegistryCodeContainersCreateOrUpdateHeaders", modelProperties: { - ...AssetContainer.type.modelProperties + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan" + } + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String" + } + } } } }; -export const CodeVersionProperties: coreClient.CompositeMapper = { +export const RegistryCodeVersionsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CodeVersionProperties", + className: "RegistryCodeVersionsDeleteHeaders", modelProperties: { - ...AssetBase.type.modelProperties, - codeUri: { - serializedName: "codeUri", - nullable: true, + 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 ComponentVersionProperties: coreClient.CompositeMapper = { +export const RegistryCodeVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComponentVersionProperties", + className: "RegistryCodeVersionsCreateOrUpdateHeaders", modelProperties: { - ...AssetBase.type.modelProperties, - componentSpec: { - serializedName: "componentSpec", - nullable: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "TimeSpan" + } + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String" } } } } }; -export const DataVersionBaseProperties: coreClient.CompositeMapper = { - serializedName: "DataVersionBaseProperties", +export const RegistryComponentContainersDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataVersionBaseProperties", - uberParent: "AssetBase", - polymorphicDiscriminator: { - serializedName: "dataType", - clientName: "dataType" - }, + className: "RegistryComponentContainersDeleteHeaders", modelProperties: { - ...AssetBase.type.modelProperties, - dataType: { - serializedName: "dataType", - required: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan" + } + }, + location: { + serializedName: "location", type: { name: "String" } }, - dataUri: { + retryAfter: { constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") + InclusiveMaximum: 600, + InclusiveMinimum: 10 }, - serializedName: "dataUri", - required: true, + serializedName: "retry-after", type: { - name: "String" + name: "Number" } } } } }; -export const EnvironmentVersionProperties: coreClient.CompositeMapper = { +export const RegistryComponentContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnvironmentVersionProperties", + className: "RegistryComponentContainersCreateOrUpdateHeaders", modelProperties: { - ...AssetBase.type.modelProperties, - autoRebuild: { - serializedName: "autoRebuild", + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String" + name: "TimeSpan" } }, - build: { - serializedName: "build", + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { - name: "Composite", - className: "BuildContext" + name: "String" } - }, - condaFile: { - serializedName: "condaFile", + } + } + } +}; + +export const RegistryComponentVersionsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryComponentVersionsDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String" + name: "TimeSpan" } }, - environmentType: { - serializedName: "environmentType", - readOnly: true, + location: { + serializedName: "location", type: { name: "String" } }, - image: { - serializedName: "image", + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10 + }, + serializedName: "retry-after", type: { - name: "String" + name: "Number" } - }, - inferenceConfig: { - serializedName: "inferenceConfig", + } + } + } +}; + +export const RegistryComponentVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryComponentVersionsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Composite", - className: "InferenceContainerProperties" + name: "TimeSpan" } }, - osType: { - serializedName: "osType", + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { name: "String" } @@ -10753,113 +15451,102 @@ export const EnvironmentVersionProperties: coreClient.CompositeMapper = { } }; -export const ModelVersionProperties: coreClient.CompositeMapper = { +export const RegistryDataContainersDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ModelVersionProperties", + className: "RegistryDataContainersDeleteHeaders", modelProperties: { - ...AssetBase.type.modelProperties, - flavors: { - serializedName: "flavors", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "FlavorData" } } - } - }, - jobName: { - serializedName: "jobName", - nullable: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String" + name: "TimeSpan" } }, - modelType: { - serializedName: "modelType", - nullable: true, + location: { + serializedName: "location", type: { name: "String" } }, - modelUri: { - serializedName: "modelUri", - nullable: true, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10 + }, + serializedName: "retry-after", type: { - name: "String" + name: "Number" } } } } }; -export const AzureBlobDatastore: coreClient.CompositeMapper = { - serializedName: "AzureBlob", +export const RegistryDataContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AzureBlobDatastore", - uberParent: "DatastoreProperties", - polymorphicDiscriminator: DatastoreProperties.type.polymorphicDiscriminator, + className: "RegistryDataContainersCreateOrUpdateHeaders", modelProperties: { - ...DatastoreProperties.type.modelProperties, - accountName: { - serializedName: "accountName", - nullable: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String" + name: "TimeSpan" } }, - containerName: { - serializedName: "containerName", - nullable: true, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { name: "String" } - }, - endpoint: { - serializedName: "endpoint", - nullable: true, + } + } + } +}; + +export const RegistryDataVersionsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryDataVersionsDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String" + name: "TimeSpan" } }, - protocol: { - serializedName: "protocol", - nullable: true, + location: { + serializedName: "location", type: { name: "String" } }, - serviceDataAccessAuthIdentity: { - serializedName: "serviceDataAccessAuthIdentity", + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10 + }, + serializedName: "retry-after", type: { - name: "String" + name: "Number" } } } } }; -export const AzureDataLakeGen1Datastore: coreClient.CompositeMapper = { - serializedName: "AzureDataLakeGen1", +export const RegistryDataVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AzureDataLakeGen1Datastore", - uberParent: "DatastoreProperties", - polymorphicDiscriminator: DatastoreProperties.type.polymorphicDiscriminator, + className: "RegistryDataVersionsCreateOrUpdateHeaders", modelProperties: { - ...DatastoreProperties.type.modelProperties, - serviceDataAccessAuthIdentity: { - serializedName: "serviceDataAccessAuthIdentity", + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String" + name: "TimeSpan" } }, - storeName: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") - }, - serializedName: "storeName", - required: true, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { name: "String" } @@ -10868,51 +15555,50 @@ export const AzureDataLakeGen1Datastore: coreClient.CompositeMapper = { } }; -export const AzureDataLakeGen2Datastore: coreClient.CompositeMapper = { - serializedName: "AzureDataLakeGen2", +export const RegistryEnvironmentContainersDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AzureDataLakeGen2Datastore", - uberParent: "DatastoreProperties", - polymorphicDiscriminator: DatastoreProperties.type.polymorphicDiscriminator, + className: "RegistryEnvironmentContainersDeleteHeaders", modelProperties: { - ...DatastoreProperties.type.modelProperties, - accountName: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") - }, - serializedName: "accountName", - required: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String" + name: "TimeSpan" } }, - endpoint: { - serializedName: "endpoint", - nullable: true, + location: { + serializedName: "location", type: { name: "String" } }, - filesystem: { + retryAfter: { constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") + InclusiveMaximum: 600, + InclusiveMinimum: 10 }, - serializedName: "filesystem", - required: true, + serializedName: "retry-after", type: { - name: "String" + name: "Number" } - }, - protocol: { - serializedName: "protocol", - nullable: true, + } + } + } +}; + +export const RegistryEnvironmentContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryEnvironmentContainersCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String" + name: "TimeSpan" } }, - serviceDataAccessAuthIdentity: { - serializedName: "serviceDataAccessAuthIdentity", + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { name: "String" } @@ -10921,51 +15607,50 @@ export const AzureDataLakeGen2Datastore: coreClient.CompositeMapper = { } }; -export const AzureFileDatastore: coreClient.CompositeMapper = { - serializedName: "AzureFile", +export const RegistryEnvironmentVersionsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AzureFileDatastore", - uberParent: "DatastoreProperties", - polymorphicDiscriminator: DatastoreProperties.type.polymorphicDiscriminator, + className: "RegistryEnvironmentVersionsDeleteHeaders", modelProperties: { - ...DatastoreProperties.type.modelProperties, - accountName: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") - }, - serializedName: "accountName", - required: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String" + name: "TimeSpan" } }, - endpoint: { - serializedName: "endpoint", - nullable: true, + location: { + serializedName: "location", type: { name: "String" } }, - fileShareName: { + retryAfter: { constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") + InclusiveMaximum: 600, + InclusiveMinimum: 10 }, - serializedName: "fileShareName", - required: true, + serializedName: "retry-after", type: { - name: "String" + name: "Number" } - }, - protocol: { - serializedName: "protocol", - nullable: true, + } + } + } +}; + +export const RegistryEnvironmentVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryEnvironmentVersionsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String" + name: "TimeSpan" } }, - serviceDataAccessAuthIdentity: { - serializedName: "serviceDataAccessAuthIdentity", + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { name: "String" } @@ -10974,197 +15659,185 @@ export const AzureFileDatastore: coreClient.CompositeMapper = { } }; -export const AutoMLJob: coreClient.CompositeMapper = { - serializedName: "AutoML", +export const RegistryModelContainersDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AutoMLJob", - uberParent: "JobBaseProperties", - polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, + className: "RegistryModelContainersDeleteHeaders", modelProperties: { - ...JobBaseProperties.type.modelProperties, - environmentId: { - serializedName: "environmentId", - nullable: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String" + name: "TimeSpan" } }, - environmentVariables: { - serializedName: "environmentVariables", - nullable: true, + location: { + serializedName: "location", type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "String" } }, - outputs: { - serializedName: "outputs", - nullable: true, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10 + }, + serializedName: "retry-after", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobOutput" } } + name: "Number" } - }, - resources: { - serializedName: "resources", - type: { - name: "Composite", - className: "JobResourceConfiguration" + } + } + } +}; + +export const RegistryModelContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryModelContainersCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan" } }, - taskDetails: { - serializedName: "taskDetails", + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { - name: "Composite", - className: "AutoMLVertical" + name: "String" } } } } }; -export const CommandJob: coreClient.CompositeMapper = { - serializedName: "Command", +export const RegistryModelVersionsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CommandJob", - uberParent: "JobBaseProperties", - polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, + className: "RegistryModelVersionsDeleteHeaders", modelProperties: { - ...JobBaseProperties.type.modelProperties, - codeId: { - serializedName: "codeId", - nullable: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "String" + name: "TimeSpan" } }, - command: { - constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]"), - MinLength: 1 - }, - serializedName: "command", - required: true, + location: { + serializedName: "location", type: { name: "String" } }, - distribution: { - serializedName: "distribution", - type: { - name: "Composite", - className: "DistributionConfiguration" - } - }, - environmentId: { + retryAfter: { constraints: { - Pattern: new RegExp("[a-zA-Z0-9_]") + InclusiveMaximum: 600, + InclusiveMinimum: 10 }, - serializedName: "environmentId", - required: true, - type: { - name: "String" - } - }, - environmentVariables: { - serializedName: "environmentVariables", - nullable: true, + serializedName: "retry-after", type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "Number" } - }, - inputs: { - serializedName: "inputs", - nullable: true, + } + } + } +}; + +export const RegistryModelVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistryModelVersionsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobInput" } } + name: "TimeSpan" } }, - limits: { - serializedName: "limits", + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { - name: "Composite", - className: "CommandJobLimits" + name: "String" } - }, - outputs: { - serializedName: "outputs", - nullable: true, + } + } + } +}; + +export const BatchEndpointsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchEndpointsDeleteHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobOutput" } } + name: "TimeSpan" } }, - parameters: { - serializedName: "parameters", - readOnly: true, - nullable: true, + location: { + serializedName: "location", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "String" } }, - resources: { - serializedName: "resources", + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10 + }, + serializedName: "retry-after", type: { - name: "Composite", - className: "JobResourceConfiguration" + name: "Number" } } } } }; -export const PipelineJob: coreClient.CompositeMapper = { - serializedName: "Pipeline", +export const BatchEndpointsUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PipelineJob", - uberParent: "JobBaseProperties", - polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, + className: "BatchEndpointsUpdateHeaders", modelProperties: { - ...JobBaseProperties.type.modelProperties, - inputs: { - serializedName: "inputs", - nullable: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobInput" } } + name: "TimeSpan" } }, - jobs: { - serializedName: "jobs", - nullable: true, + location: { + serializedName: "location", type: { - name: "Dictionary", - value: { - type: { name: "Dictionary", value: { type: { name: "any" } } } - } + name: "String" } }, - outputs: { - serializedName: "outputs", - nullable: true, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10 + }, + serializedName: "retry-after", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobOutput" } } + name: "Number" } - }, - settings: { - serializedName: "settings", - nullable: true, + } + } + } +}; + +export const BatchEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchEndpointsCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "TimeSpan" } }, - sourceJobId: { - serializedName: "sourceJobId", - nullable: true, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", type: { name: "String" } @@ -11173,137 +15846,152 @@ export const PipelineJob: coreClient.CompositeMapper = { } }; -export const SweepJob: coreClient.CompositeMapper = { - serializedName: "Sweep", +export const BatchDeploymentsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SweepJob", - uberParent: "JobBaseProperties", - polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator, + className: "BatchDeploymentsDeleteHeaders", modelProperties: { - ...JobBaseProperties.type.modelProperties, - earlyTermination: { - serializedName: "earlyTermination", - type: { - name: "Composite", - className: "EarlyTerminationPolicy" - } - }, - inputs: { - serializedName: "inputs", - nullable: true, - type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobInput" } } - } - }, - limits: { - serializedName: "limits", + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Composite", - className: "SweepJobLimits" + name: "TimeSpan" } }, - objective: { - serializedName: "objective", + location: { + serializedName: "location", type: { - name: "Composite", - className: "Objective" + name: "String" } }, - outputs: { - serializedName: "outputs", - nullable: true, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10 + }, + serializedName: "retry-after", type: { - name: "Dictionary", - value: { type: { name: "Composite", className: "JobOutput" } } + name: "Number" } - }, - samplingAlgorithm: { - serializedName: "samplingAlgorithm", + } + } + } +}; + +export const BatchDeploymentsUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BatchDeploymentsUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Composite", - className: "SamplingAlgorithm" + name: "TimeSpan" } }, - searchSpace: { - serializedName: "searchSpace", - required: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } } + location: { + serializedName: "location", + type: { + name: "String" } }, - trial: { - serializedName: "trial", + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10 + }, + serializedName: "retry-after", type: { - name: "Composite", - className: "TrialComponent" + name: "Number" } } } } }; -export const MLTableData: coreClient.CompositeMapper = { - serializedName: "mltable", +export const BatchDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MLTableData", - uberParent: "DataVersionBaseProperties", - polymorphicDiscriminator: - DataVersionBaseProperties.type.polymorphicDiscriminator, + className: "BatchDeploymentsCreateOrUpdateHeaders", modelProperties: { - ...DataVersionBaseProperties.type.modelProperties, - referencedUris: { - serializedName: "referencedUris", - nullable: true, + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "TimeSpan" + } + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String" } } } } }; -export const UriFileDataVersion: coreClient.CompositeMapper = { - serializedName: "uri_file", +export const FeaturesetContainersDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UriFileDataVersion", - uberParent: "DataVersionBaseProperties", - polymorphicDiscriminator: - DataVersionBaseProperties.type.polymorphicDiscriminator, + className: "FeaturesetContainersDeleteHeaders", modelProperties: { - ...DataVersionBaseProperties.type.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 UriFolderDataVersion: coreClient.CompositeMapper = { - serializedName: "uri_folder", +export const FeaturesetContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UriFolderDataVersion", - uberParent: "DataVersionBaseProperties", - polymorphicDiscriminator: - DataVersionBaseProperties.type.polymorphicDiscriminator, + className: "FeaturesetContainersCreateOrUpdateHeaders", modelProperties: { - ...DataVersionBaseProperties.type.modelProperties + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan" + } + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String" + } + } } } }; -export const WorkspacesDiagnoseHeaders: coreClient.CompositeMapper = { +export const FeaturesetVersionsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkspacesDiagnoseHeaders", + className: "FeaturesetVersionsDeleteHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan" + } + }, location: { serializedName: "location", type: { @@ -11324,11 +16012,17 @@ export const WorkspacesDiagnoseHeaders: coreClient.CompositeMapper = { } }; -export const ComputeCreateOrUpdateHeaders: coreClient.CompositeMapper = { +export const FeaturesetVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeCreateOrUpdateHeaders", + className: "FeaturesetVersionsCreateOrUpdateHeaders", modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan" + } + }, azureAsyncOperation: { serializedName: "azure-asyncoperation", type: { @@ -11339,31 +16033,35 @@ export const ComputeCreateOrUpdateHeaders: coreClient.CompositeMapper = { } }; -export const ComputeDeleteHeaders: coreClient.CompositeMapper = { +export const FeaturesetVersionsBackfillHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ComputeDeleteHeaders", + className: "FeaturesetVersionsBackfillHeaders", modelProperties: { - azureAsyncOperation: { - serializedName: "azure-asyncoperation", + location: { + serializedName: "location", type: { name: "String" } }, - location: { - serializedName: "location", + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10 + }, + serializedName: "retry-after", type: { - name: "String" + name: "Number" } } } } }; -export const BatchEndpointsDeleteHeaders: coreClient.CompositeMapper = { +export const FeaturestoreEntityContainersDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointsDeleteHeaders", + className: "FeaturestoreEntityContainersDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -11391,10 +16089,31 @@ export const BatchEndpointsDeleteHeaders: coreClient.CompositeMapper = { } }; -export const BatchEndpointsUpdateHeaders: coreClient.CompositeMapper = { +export const FeaturestoreEntityContainersCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointsUpdateHeaders", + className: "FeaturestoreEntityContainersCreateOrUpdateHeaders", + modelProperties: { + xMsAsyncOperationTimeout: { + serializedName: "x-ms-async-operation-timeout", + type: { + name: "TimeSpan" + } + }, + azureAsyncOperation: { + serializedName: "azure-asyncoperation", + type: { + name: "String" + } + } + } + } +}; + +export const FeaturestoreEntityVersionsDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FeaturestoreEntityVersionsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -11422,10 +16141,10 @@ export const BatchEndpointsUpdateHeaders: coreClient.CompositeMapper = { } }; -export const BatchEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { +export const FeaturestoreEntityVersionsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchEndpointsCreateOrUpdateHeaders", + className: "FeaturestoreEntityVersionsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -11443,10 +16162,10 @@ export const BatchEndpointsCreateOrUpdateHeaders: coreClient.CompositeMapper = { } }; -export const BatchDeploymentsDeleteHeaders: coreClient.CompositeMapper = { +export const JobsDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentsDeleteHeaders", + className: "JobsDeleteHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -11474,17 +16193,11 @@ export const BatchDeploymentsDeleteHeaders: coreClient.CompositeMapper = { } }; -export const BatchDeploymentsUpdateHeaders: coreClient.CompositeMapper = { +export const JobsCancelHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentsUpdateHeaders", + className: "JobsCancelHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", - type: { - name: "TimeSpan" - } - }, location: { serializedName: "location", type: { @@ -11505,10 +16218,10 @@ export const BatchDeploymentsUpdateHeaders: coreClient.CompositeMapper = { } }; -export const BatchDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = { +export const LabelingJobsCreateOrUpdateHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BatchDeploymentsCreateOrUpdateHeaders", + className: "LabelingJobsCreateOrUpdateHeaders", modelProperties: { xMsAsyncOperationTimeout: { serializedName: "x-ms-async-operation-timeout", @@ -11526,17 +16239,36 @@ export const BatchDeploymentsCreateOrUpdateHeaders: coreClient.CompositeMapper = } }; -export const JobsDeleteHeaders: coreClient.CompositeMapper = { +export const LabelingJobsExportLabelsHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobsDeleteHeaders", + className: "LabelingJobsExportLabelsHeaders", modelProperties: { - xMsAsyncOperationTimeout: { - serializedName: "x-ms-async-operation-timeout", + location: { + serializedName: "location", type: { - name: "TimeSpan" + 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: { @@ -11557,10 +16289,10 @@ export const JobsDeleteHeaders: coreClient.CompositeMapper = { } }; -export const JobsCancelHeaders: coreClient.CompositeMapper = { +export const ModelVersionsPackageHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobsCancelHeaders", + className: "ModelVersionsPackageHeaders", modelProperties: { location: { serializedName: "location", @@ -11825,17 +16557,81 @@ export const SchedulesCreateOrUpdateHeaders: coreClient.CompositeMapper = { } }; +export const RegistriesDeleteHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistriesDeleteHeaders", + 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 RegistriesUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RegistriesUpdateHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String" + } + }, + retryAfter: { + constraints: { + InclusiveMaximum: 600, + InclusiveMinimum: 10 + }, + serializedName: "retry-after", + type: { + name: "Number" + } + } + } + } +}; + export let discriminators = { Compute: Compute, ComputeSecrets: ComputeSecrets, WorkspaceConnectionPropertiesV2: WorkspaceConnectionPropertiesV2, + BatchDeploymentPropertiesAutoGenerated: BatchDeploymentPropertiesAutoGenerated, AssetReferenceBase: AssetReferenceBase, DatastoreCredentials: DatastoreCredentials, DatastoreSecrets: DatastoreSecrets, + TriggerBase: TriggerBase, IdentityConfiguration: IdentityConfiguration, + Nodes: Nodes, + LabelingJobMediaProperties: LabelingJobMediaProperties, + MLAssistConfiguration: MLAssistConfiguration, + ExportSummary: ExportSummary, + BaseEnvironmentSource: BaseEnvironmentSource, + InferencingServer: InferencingServer, + PackageInputPathBase: PackageInputPathBase, OnlineScaleSettings: OnlineScaleSettings, ScheduleActionBase: ScheduleActionBase, - TriggerBase: TriggerBase, ForecastHorizon: ForecastHorizon, JobOutput: JobOutput, AutoMLVertical: AutoMLVertical, @@ -11848,6 +16644,7 @@ export let discriminators = { SamplingAlgorithm: SamplingAlgorithm, DistributionConfiguration: DistributionConfiguration, JobLimits: JobLimits, + SparkJobEntry: SparkJobEntry, "Compute.AKS": Aks, "Compute.Kubernetes": Kubernetes, "Compute.AmlCompute": AmlCompute, @@ -11864,32 +16661,55 @@ export let discriminators = { "WorkspaceConnectionPropertiesV2.PAT": PATAuthTypeWorkspaceConnectionProperties, "WorkspaceConnectionPropertiesV2.SAS": SASAuthTypeWorkspaceConnectionProperties, "WorkspaceConnectionPropertiesV2.UsernamePassword": UsernamePasswordAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.AccessKey": AccessKeyAuthTypeWorkspaceConnectionProperties, + "WorkspaceConnectionPropertiesV2.ServicePrincipal": ServicePrincipalAuthTypeWorkspaceConnectionProperties, "WorkspaceConnectionPropertiesV2.None": NoneAuthTypeWorkspaceConnectionProperties, "WorkspaceConnectionPropertiesV2.ManagedIdentity": ManagedIdentityAuthTypeWorkspaceConnectionProperties, - "AssetReferenceBase.DataPath": DataPathAssetReference, + "ResourceBase.DatastoreProperties": DatastoreProperties, + "ResourceBase.JobBaseProperties": JobBaseProperties, + "BatchDeploymentPropertiesAutoGenerated.PipelineComponent": BatchPipelineComponentDeploymentProperties, "AssetReferenceBase.Id": IdAssetReference, + "AssetReferenceBase.DataPath": DataPathAssetReference, "AssetReferenceBase.OutputPath": OutputPathAssetReference, "EndpointDeploymentPropertiesBase.OnlineDeploymentProperties": OnlineDeploymentProperties, - "ResourceBase.DatastoreProperties": DatastoreProperties, - "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, + "TriggerBase.Recurrence": RecurrenceTrigger, + "TriggerBase.Cron": CronTrigger, "IdentityConfiguration.AMLToken": AmlToken, "IdentityConfiguration.Managed": ManagedIdentity, "IdentityConfiguration.UserIdentity": UserIdentity, + "Nodes.All": AllNodes, + "LabelingJobMediaProperties.Image": LabelingJobImageProperties, + "LabelingJobMediaProperties.Text": LabelingJobTextProperties, + "MLAssistConfiguration.Disabled": MLAssistConfigurationDisabled, + "MLAssistConfiguration.Enabled": MLAssistConfigurationEnabled, + "ExportSummary.Coco": CocoExportSummary, + "ExportSummary.CSV": CsvExportSummary, + "ExportSummary.Dataset": DatasetExportSummary, + "BaseEnvironmentSource.EnvironmentAsset": BaseEnvironmentId, + "InferencingServer.AzureMLBatch": AzureMLBatchInferencingServer, + "InferencingServer.AzureMLOnline": AzureMLOnlineInferencingServer, + "InferencingServer.Custom": CustomInferencingServer, + "InferencingServer.Triton": TritonInferencingServer, + "PackageInputPathBase.PathId": PackageInputPathId, + "PackageInputPathBase.Url": PackageInputPathUrl, + "PackageInputPathBase.PathVersion": PackageInputPathVersion, "OnlineScaleSettings.Default": DefaultScaleSettings, "OnlineScaleSettings.TargetUtilization": TargetUtilizationScaleSettings, "ScheduleActionBase.InvokeBatchEndpoint": EndpointScheduleAction, "ScheduleActionBase.CreateJob": JobScheduleAction, - "TriggerBase.Recurrence": RecurrenceTrigger, - "TriggerBase.Cron": CronTrigger, "AssetJobInput.mltable": MLTableJobInput, "AssetJobInput.custom_model": CustomModelJobInput, "AssetJobInput.mlflow_model": MLFlowModelJobInput, @@ -11923,6 +16743,10 @@ export let discriminators = { "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, @@ -11934,17 +16758,18 @@ export let discriminators = { "DistributionConfiguration.TensorFlow": TensorFlow, "JobLimits.Command": CommandJobLimits, "JobLimits.Sweep": SweepJobLimits, - "OnlineDeploymentProperties.Kubernetes": KubernetesOnlineDeployment, - "OnlineDeploymentProperties.Managed": ManagedOnlineDeployment, + "SparkJobEntry.SparkJobPythonEntry": SparkJobPythonEntry, + "SparkJobEntry.SparkJobScalaEntry": SparkJobScalaEntry, "AssetBase.DataVersionBaseProperties": DataVersionBaseProperties, - "DatastoreProperties.AzureBlob": AzureBlobDatastore, - "DatastoreProperties.AzureDataLakeGen1": AzureDataLakeGen1Datastore, - "DatastoreProperties.AzureDataLakeGen2": AzureDataLakeGen2Datastore, - "DatastoreProperties.AzureFile": AzureFileDatastore, + "DatastoreProperties.Hdfs": HdfsDatastore, + "JobBaseProperties.Labeling": LabelingJobProperties, "JobBaseProperties.AutoML": AutoMLJob, "JobBaseProperties.Command": CommandJob, "JobBaseProperties.Pipeline": PipelineJob, + "JobBaseProperties.Spark": SparkJob, "JobBaseProperties.Sweep": SweepJob, + "OnlineDeploymentProperties.Kubernetes": KubernetesOnlineDeployment, + "OnlineDeploymentProperties.Managed": ManagedOnlineDeployment, "DataVersionBaseProperties.mltable": MLTableData, "DataVersionBaseProperties.uri_file": UriFileDataVersion, "DataVersionBaseProperties.uri_folder": UriFolderDataVersion diff --git a/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts b/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts index 1774bcca03b6..1213c01c93e0 100644 --- a/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts +++ b/sdk/machinelearning/arm-machinelearning/src/models/parameters.ts @@ -18,30 +18,41 @@ import { QuotaUpdateParameters as QuotaUpdateParametersMapper, ComputeResource as ComputeResourceMapper, ClusterUpdateParameters as ClusterUpdateParametersMapper, + IdleShutdownSetting as IdleShutdownSettingMapper, PrivateEndpointConnection as PrivateEndpointConnectionMapper, WorkspaceConnectionPropertiesV2BasicResource as WorkspaceConnectionPropertiesV2BasicResourceMapper, - PartialMinimalTrackedResourceWithIdentity as PartialMinimalTrackedResourceWithIdentityMapper, - BatchEndpoint as BatchEndpointMapper, - PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties as PartialBatchDeploymentPartialMinimalTrackedResourceWithPropertiesMapper, - BatchDeployment as BatchDeploymentMapper, CodeContainer as CodeContainerMapper, CodeVersion as CodeVersionMapper, ComponentContainer as ComponentContainerMapper, ComponentVersion as ComponentVersionMapper, DataContainer as DataContainerMapper, DataVersionBase as DataVersionBaseMapper, - Datastore as DatastoreMapper, EnvironmentContainer as EnvironmentContainerMapper, EnvironmentVersion as EnvironmentVersionMapper, - JobBase as JobBaseMapper, ModelContainer as ModelContainerMapper, ModelVersion as ModelVersionMapper, + PartialMinimalTrackedResourceWithIdentity as PartialMinimalTrackedResourceWithIdentityMapper, + BatchEndpoint as BatchEndpointMapper, + PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties as PartialBatchDeploymentPartialMinimalTrackedResourceWithPropertiesMapper, + BatchDeployment as BatchDeploymentMapper, + Datastore as DatastoreMapper, + FeaturesetContainer as FeaturesetContainerMapper, + FeaturesetVersion as FeaturesetVersionMapper, + FeaturesetVersionBackfillRequest as FeaturesetVersionBackfillRequestMapper, + GetFeatureRequest as GetFeatureRequestMapper, + FeaturestoreEntityContainer as FeaturestoreEntityContainerMapper, + FeaturestoreEntityVersion as FeaturestoreEntityVersionMapper, + JobBase as JobBaseMapper, + LabelingJob as LabelingJobMapper, + ExportSummary as ExportSummaryMapper, OnlineEndpoint as OnlineEndpointMapper, RegenerateEndpointKeysRequest as RegenerateEndpointKeysRequestMapper, PartialMinimalTrackedResourceWithSku as PartialMinimalTrackedResourceWithSkuMapper, OnlineDeployment as OnlineDeploymentMapper, DeploymentLogsRequest as DeploymentLogsRequestMapper, - Schedule as ScheduleMapper + Schedule as ScheduleMapper, + PartialRegistryPartialTrackedResource as PartialRegistryPartialTrackedResourceMapper, + Registry as RegistryMapper } from "../models/mappers"; export const accept: OperationParameter = { @@ -71,7 +82,7 @@ export const $host: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2022-10-01", + defaultValue: "2023-02-01-preview", isConstant: true, serializedName: "api-version", type: { @@ -220,6 +231,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: { @@ -236,7 +269,7 @@ export const properties: OperationParameter = { mapper: PrivateEndpointConnectionMapper }; -export const parameters6: OperationParameter = { +export const parameters7: OperationParameter = { parameterPath: "parameters", mapper: WorkspaceConnectionPropertiesV2BasicResourceMapper }; @@ -272,20 +305,21 @@ export const category: OperationQueryParameter = { } }; -export const count: OperationQueryParameter = { - parameterPath: ["options", "count"], +export const registryName: OperationURLParameter = { + parameterPath: "registryName", mapper: { - serializedName: "count", + serializedName: "registryName", + required: true, type: { - name: "Number" + name: "String" } } }; -export const endpointName: OperationURLParameter = { - parameterPath: "endpointName", +export const codeName: OperationURLParameter = { + parameterPath: "codeName", mapper: { - serializedName: "endpointName", + serializedName: "codeName", required: true, type: { name: "String" @@ -295,16 +329,16 @@ export const endpointName: OperationURLParameter = { export const body: OperationParameter = { parameterPath: "body", - mapper: PartialMinimalTrackedResourceWithIdentityMapper + mapper: CodeContainerMapper }; -export const endpointName1: OperationURLParameter = { - parameterPath: "endpointName", +export const codeName1: OperationURLParameter = { + parameterPath: "codeName", mapper: { constraints: { Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$") }, - serializedName: "endpointName", + serializedName: "codeName", required: true, type: { name: "String" @@ -312,11 +346,6 @@ export const endpointName1: OperationURLParameter = { } }; -export const body1: OperationParameter = { - parameterPath: "body", - mapper: BatchEndpointMapper -}; - export const orderBy: OperationQueryParameter = { parameterPath: ["options", "orderBy"], mapper: { @@ -337,10 +366,26 @@ export const top: OperationQueryParameter = { } }; -export const deploymentName: OperationURLParameter = { - parameterPath: "deploymentName", +export const version: OperationURLParameter = { + parameterPath: "version", mapper: { - serializedName: "deploymentName", + serializedName: "version", + required: true, + type: { + name: "String" + } + } +}; + +export const body1: OperationParameter = { + parameterPath: "body", + mapper: CodeVersionMapper +}; + +export const componentName: OperationURLParameter = { + parameterPath: "componentName", + mapper: { + serializedName: "componentName", required: true, type: { name: "String" @@ -350,16 +395,16 @@ export const deploymentName: OperationURLParameter = { export const body2: OperationParameter = { parameterPath: "body", - mapper: PartialBatchDeploymentPartialMinimalTrackedResourceWithPropertiesMapper + mapper: ComponentContainerMapper }; -export const deploymentName1: OperationURLParameter = { - parameterPath: "deploymentName", +export const componentName1: OperationURLParameter = { + parameterPath: "componentName", mapper: { constraints: { Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$") }, - serializedName: "deploymentName", + serializedName: "componentName", required: true, type: { name: "String" @@ -369,7 +414,31 @@ export const deploymentName1: OperationURLParameter = { export const body3: OperationParameter = { parameterPath: "body", - mapper: BatchDeploymentMapper + mapper: ComponentVersionMapper +}; + +export const registryName1: OperationURLParameter = { + parameterPath: "registryName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$") + }, + serializedName: "registryName", + required: true, + type: { + name: "String" + } + } +}; + +export const listViewType: OperationQueryParameter = { + parameterPath: ["options", "listViewType"], + mapper: { + serializedName: "listViewType", + type: { + name: "String" + } + } }; export const name: OperationURLParameter = { @@ -385,7 +454,7 @@ export const name: OperationURLParameter = { export const body4: OperationParameter = { parameterPath: "body", - mapper: CodeContainerMapper + mapper: DataContainerMapper }; export const name1: OperationURLParameter = { @@ -402,11 +471,10 @@ export const name1: OperationURLParameter = { } }; -export const version: OperationURLParameter = { - parameterPath: "version", +export const tags: OperationQueryParameter = { + parameterPath: ["options", "tags"], mapper: { - serializedName: "version", - required: true, + serializedName: "$tags", type: { name: "String" } @@ -415,13 +483,14 @@ export const version: OperationURLParameter = { export const body5: OperationParameter = { parameterPath: "body", - mapper: CodeVersionMapper + mapper: DataVersionBaseMapper }; -export const listViewType: OperationQueryParameter = { - parameterPath: ["options", "listViewType"], +export const environmentName: OperationURLParameter = { + parameterPath: "environmentName", mapper: { - serializedName: "listViewType", + serializedName: "environmentName", + required: true, type: { name: "String" } @@ -430,23 +499,92 @@ export const listViewType: OperationQueryParameter = { export const body6: OperationParameter = { parameterPath: "body", - mapper: ComponentContainerMapper + mapper: EnvironmentContainerMapper +}; + +export const environmentName1: OperationURLParameter = { + parameterPath: "environmentName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$") + }, + serializedName: "environmentName", + required: true, + type: { + name: "String" + } + } }; export const body7: OperationParameter = { parameterPath: "body", - mapper: ComponentVersionMapper + mapper: EnvironmentVersionMapper +}; + +export const modelName: OperationURLParameter = { + parameterPath: "modelName", + mapper: { + serializedName: "modelName", + required: true, + type: { + name: "String" + } + } }; export const body8: OperationParameter = { parameterPath: "body", - mapper: DataContainerMapper + mapper: ModelContainerMapper }; -export const tags: OperationQueryParameter = { +export const modelName1: OperationURLParameter = { + parameterPath: "modelName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$") + }, + serializedName: "modelName", + required: true, + type: { + name: "String" + } + } +}; + +export const version1: OperationQueryParameter = { + parameterPath: ["options", "version"], + mapper: { + serializedName: "version", + type: { + name: "String" + } + } +}; + +export const description: OperationQueryParameter = { + parameterPath: ["options", "description"], + mapper: { + serializedName: "description", + type: { + name: "String" + } + } +}; + +export const tags1: OperationQueryParameter = { parameterPath: ["options", "tags"], mapper: { - serializedName: "$tags", + serializedName: "tags", + type: { + name: "String" + } + } +}; + +export const properties1: OperationQueryParameter = { + parameterPath: ["options", "properties"], + mapper: { + serializedName: "properties", type: { name: "String" } @@ -455,7 +593,87 @@ export const tags: OperationQueryParameter = { export const body9: OperationParameter = { parameterPath: "body", - mapper: DataVersionBaseMapper + mapper: ModelVersionMapper +}; + +export const count: OperationQueryParameter = { + parameterPath: ["options", "count"], + mapper: { + serializedName: "count", + type: { + name: "Number" + } + } +}; + +export const endpointName: OperationURLParameter = { + parameterPath: "endpointName", + mapper: { + serializedName: "endpointName", + required: true, + type: { + name: "String" + } + } +}; + +export const body10: OperationParameter = { + parameterPath: "body", + mapper: PartialMinimalTrackedResourceWithIdentityMapper +}; + +export const endpointName1: OperationURLParameter = { + parameterPath: "endpointName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$") + }, + serializedName: "endpointName", + required: true, + type: { + name: "String" + } + } +}; + +export const body11: OperationParameter = { + parameterPath: "body", + mapper: BatchEndpointMapper +}; + +export const deploymentName: OperationURLParameter = { + parameterPath: "deploymentName", + mapper: { + serializedName: "deploymentName", + required: true, + type: { + name: "String" + } + } +}; + +export const body12: OperationParameter = { + parameterPath: "body", + mapper: PartialBatchDeploymentPartialMinimalTrackedResourceWithPropertiesMapper +}; + +export const deploymentName1: OperationURLParameter = { + parameterPath: "deploymentName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$") + }, + serializedName: "deploymentName", + required: true, + type: { + name: "String" + } + } +}; + +export const body13: OperationParameter = { + parameterPath: "body", + mapper: BatchDeploymentMapper }; export const count1: OperationQueryParameter = { @@ -526,7 +744,7 @@ export const orderByAsc: OperationQueryParameter = { } }; -export const body10: OperationParameter = { +export const body14: OperationParameter = { parameterPath: "body", mapper: DatastoreMapper }; @@ -542,14 +760,64 @@ export const skipValidation: OperationQueryParameter = { } }; -export const body11: OperationParameter = { +export const body15: OperationParameter = { parameterPath: "body", - mapper: EnvironmentContainerMapper + mapper: FeaturesetContainerMapper }; -export const body12: OperationParameter = { +export const body16: OperationParameter = { parameterPath: "body", - mapper: EnvironmentVersionMapper + mapper: FeaturesetVersionMapper +}; + +export const body17: OperationParameter = { + parameterPath: "body", + mapper: FeaturesetVersionBackfillRequestMapper +}; + +export const body18: OperationParameter = { + parameterPath: "body", + mapper: GetFeatureRequestMapper +}; + +export const filters: OperationQueryParameter = { + parameterPath: ["options", "filters"], + mapper: { + serializedName: "filters", + type: { + name: "String" + } + } +}; + +export const featureWindowStart: OperationQueryParameter = { + parameterPath: ["options", "featureWindowStart"], + mapper: { + serializedName: "featureWindowStart", + type: { + name: "String" + } + } +}; + +export const featureWindowEnd: OperationQueryParameter = { + parameterPath: ["options", "featureWindowEnd"], + mapper: { + serializedName: "featureWindowEnd", + type: { + name: "String" + } + } +}; + +export const body19: OperationParameter = { + parameterPath: "body", + mapper: FeaturestoreEntityContainerMapper +}; + +export const body20: OperationParameter = { + parameterPath: "body", + mapper: FeaturestoreEntityVersionMapper }; export const jobType: OperationQueryParameter = { @@ -572,6 +840,36 @@ export const tag: OperationQueryParameter = { } }; +export const assetName: OperationQueryParameter = { + parameterPath: ["options", "assetName"], + mapper: { + serializedName: "assetName", + type: { + name: "String" + } + } +}; + +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: { @@ -583,7 +881,7 @@ export const id: OperationURLParameter = { } }; -export const body13: OperationParameter = { +export const body21: OperationParameter = { parameterPath: "body", mapper: JobBaseMapper }; @@ -602,57 +900,44 @@ export const id1: OperationURLParameter = { } }; -export const body14: OperationParameter = { - parameterPath: "body", - mapper: ModelContainerMapper -}; - -export const version1: OperationQueryParameter = { - parameterPath: ["options", "version"], +export const includeJobInstructions: OperationQueryParameter = { + parameterPath: ["options", "includeJobInstructions"], mapper: { - serializedName: "version", + defaultValue: false, + serializedName: "includeJobInstructions", type: { - name: "String" + name: "Boolean" } } }; -export const description: OperationQueryParameter = { - parameterPath: ["options", "description"], +export const includeLabelCategories: OperationQueryParameter = { + parameterPath: ["options", "includeLabelCategories"], mapper: { - serializedName: "description", + defaultValue: false, + serializedName: "includeLabelCategories", type: { - name: "String" + name: "Boolean" } } }; -export const offset: OperationQueryParameter = { - parameterPath: ["options", "offset"], - mapper: { - serializedName: "offset", - type: { - name: "Number" - } - } +export const body22: OperationParameter = { + parameterPath: "body", + mapper: LabelingJobMapper }; -export const tags1: OperationQueryParameter = { - parameterPath: ["options", "tags"], - mapper: { - serializedName: "tags", - type: { - name: "String" - } - } +export const body23: OperationParameter = { + parameterPath: "body", + mapper: ExportSummaryMapper }; -export const properties1: OperationQueryParameter = { - parameterPath: ["options", "properties"], +export const offset: OperationQueryParameter = { + parameterPath: ["options", "offset"], mapper: { - serializedName: "properties", + serializedName: "offset", type: { - name: "String" + name: "Number" } } }; @@ -667,9 +952,15 @@ export const feed: OperationQueryParameter = { } }; -export const body15: OperationParameter = { +export const body24: OperationParameter = { parameterPath: "body", - mapper: ModelVersionMapper + mapper: { + serializedName: "body", + required: true, + type: { + name: "any" + } + } }; export const name2: OperationQueryParameter = { @@ -702,27 +993,27 @@ export const orderBy2: OperationQueryParameter = { } }; -export const body16: OperationParameter = { +export const body25: OperationParameter = { parameterPath: "body", mapper: OnlineEndpointMapper }; -export const body17: OperationParameter = { +export const body26: OperationParameter = { parameterPath: "body", mapper: RegenerateEndpointKeysRequestMapper }; -export const body18: OperationParameter = { +export const body27: OperationParameter = { parameterPath: "body", mapper: PartialMinimalTrackedResourceWithSkuMapper }; -export const body19: OperationParameter = { +export const body28: OperationParameter = { parameterPath: "body", mapper: OnlineDeploymentMapper }; -export const body20: OperationParameter = { +export const body29: OperationParameter = { parameterPath: "body", mapper: DeploymentLogsRequestMapper }; @@ -737,7 +1028,31 @@ export const listViewType1: OperationQueryParameter = { } }; -export const body21: OperationParameter = { +export const body30: OperationParameter = { parameterPath: "body", mapper: ScheduleMapper }; + +export const registryName2: OperationURLParameter = { + parameterPath: "registryName", + mapper: { + constraints: { + Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$") + }, + serializedName: "registryName", + required: true, + type: { + name: "String" + } + } +}; + +export const body31: OperationParameter = { + parameterPath: "body", + mapper: PartialRegistryPartialTrackedResourceMapper +}; + +export const body32: OperationParameter = { + parameterPath: "body", + mapper: RegistryMapper +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/batchDeployments.ts b/sdk/machinelearning/arm-machinelearning/src/operations/batchDeployments.ts index 1e22d4ba5c63..0c5c180d3cb8 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/batchDeployments.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/batchDeployments.ts @@ -12,7 +12,7 @@ import { BatchDeployments } 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; import { LroImpl } from "../lroImpl"; import { @@ -34,13 +34,13 @@ import { /// /** Class containing BatchDeployments operations. */ export class BatchDeploymentsImpl implements BatchDeployments { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class BatchDeployments class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -621,7 +621,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body2, + requestBody: Parameters.body12, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -656,7 +656,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body3, + requestBody: Parameters.body13, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -681,12 +681,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.orderBy, - Parameters.top - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/batchEndpoints.ts b/sdk/machinelearning/arm-machinelearning/src/operations/batchEndpoints.ts index 6517735a2a32..f9d0f7823e08 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/batchEndpoints.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/batchEndpoints.ts @@ -12,7 +12,7 @@ import { BatchEndpoints } 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; import { LroImpl } from "../lroImpl"; import { @@ -36,13 +36,13 @@ import { /// /** Class containing BatchEndpoints operations. */ export class BatchEndpointsImpl implements BatchEndpoints { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class BatchEndpoints class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -570,7 +570,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body, + requestBody: Parameters.body10, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -604,7 +604,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body1, + requestBody: Parameters.body11, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -651,7 +651,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.count], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/codeContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/codeContainers.ts index 67e964d179c1..c85f8d40b1fb 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/codeContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/codeContainers.ts @@ -12,7 +12,7 @@ import { CodeContainers } 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { CodeContainer, CodeContainersListNextOptionalParams, @@ -29,13 +29,13 @@ import { /// /** Class containing CodeContainers operations. */ export class CodeContainersImpl implements CodeContainers { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class CodeContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -295,7 +295,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body4, + requestBody: Parameters.body, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -319,7 +319,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.skip], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/codeVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/codeVersions.ts index aecb1bc79fd7..16bafb13f010 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/codeVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/codeVersions.ts @@ -12,7 +12,7 @@ import { CodeVersions } 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { CodeVersion, CodeVersionsListNextOptionalParams, @@ -29,13 +29,13 @@ import { /// /** Class containing CodeVersions operations. */ export class CodeVersionsImpl implements CodeVersions { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class CodeVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -285,8 +285,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name, - Parameters.version + Parameters.version, + Parameters.name ], headerParameters: [Parameters.accept], serializer @@ -309,8 +309,8 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name, - Parameters.version + Parameters.version, + Parameters.name ], headerParameters: [Parameters.accept], serializer @@ -330,15 +330,15 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body5, + requestBody: Parameters.body1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name1, - Parameters.version + Parameters.version, + Parameters.name1 ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -355,12 +355,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.orderBy, - Parameters.top - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/componentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/componentContainers.ts index 26779c163b36..884e5d3c2dbf 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/componentContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/componentContainers.ts @@ -12,7 +12,7 @@ import { ComponentContainers } 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { ComponentContainer, ComponentContainersListNextOptionalParams, @@ -29,13 +29,13 @@ import { /// /** Class containing ComponentContainers operations. */ export class ComponentContainersImpl implements ComponentContainers { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class ComponentContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -299,7 +299,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body6, + requestBody: Parameters.body2, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -323,11 +323,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.listViewType - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/componentVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/componentVersions.ts index 4f84d94d01f1..06a558bbd26c 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/componentVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/componentVersions.ts @@ -12,7 +12,7 @@ import { ComponentVersions } 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { ComponentVersion, ComponentVersionsListNextOptionalParams, @@ -29,13 +29,13 @@ import { /// /** Class containing ComponentVersions operations. */ export class ComponentVersionsImpl implements ComponentVersions { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class ComponentVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -286,8 +286,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name, - Parameters.version + Parameters.version, + Parameters.name ], headerParameters: [Parameters.accept], serializer @@ -310,8 +310,8 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name, - Parameters.version + Parameters.version, + Parameters.name ], headerParameters: [Parameters.accept], serializer @@ -331,15 +331,15 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body7, + requestBody: Parameters.body3, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name1, - Parameters.version + Parameters.version, + Parameters.name1 ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -356,13 +356,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.orderBy, - Parameters.top, - Parameters.listViewType - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts b/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts index 702e18d066aa..dd726ad23c5c 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/computeOperations.ts @@ -12,7 +12,7 @@ import { ComputeOperations } 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; import { LroImpl } from "../lroImpl"; import { @@ -33,11 +33,15 @@ import { ComputeUpdateResponse, UnderlyingResourceAction, ComputeDeleteOptionalParams, + CustomService, + ComputeUpdateCustomServicesOptionalParams, ComputeListKeysOptionalParams, ComputeListKeysResponse, ComputeStartOptionalParams, ComputeStopOptionalParams, ComputeRestartOptionalParams, + IdleShutdownSetting, + ComputeUpdateIdleShutdownSettingOptionalParams, ComputeListNextResponse, ComputeListNodesNextResponse } from "../models"; @@ -45,13 +49,13 @@ import { /// /** Class containing ComputeOperations operations. */ export class ComputeOperationsImpl implements ComputeOperations { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class ComputeOperations class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -558,6 +562,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. @@ -857,6 +888,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. @@ -1037,6 +1089,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", @@ -1155,6 +1230,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", @@ -1166,7 +1264,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.skip], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1188,7 +1285,6 @@ const listNodesNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/dataContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/dataContainers.ts index 919fb4a2dcec..78da6bdc61f9 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/dataContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/dataContainers.ts @@ -12,7 +12,7 @@ import { DataContainers } 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { DataContainer, DataContainersListNextOptionalParams, @@ -29,13 +29,13 @@ import { /// /** Class containing DataContainers operations. */ export class DataContainersImpl implements DataContainers { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class DataContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -299,7 +299,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body8, + requestBody: Parameters.body4, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -323,11 +323,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.listViewType - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/dataVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/dataVersions.ts index 30559627d079..9eb2b4fe6058 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/dataVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/dataVersions.ts @@ -12,7 +12,7 @@ import { DataVersions } 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { DataVersionBase, DataVersionsListNextOptionalParams, @@ -29,13 +29,13 @@ import { /// /** Class containing DataVersions operations. */ export class DataVersionsImpl implements DataVersions { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class DataVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -287,8 +287,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name, - Parameters.version + Parameters.version, + Parameters.name ], headerParameters: [Parameters.accept], serializer @@ -311,8 +311,8 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name, - Parameters.version + Parameters.version, + Parameters.name ], headerParameters: [Parameters.accept], serializer @@ -332,15 +332,15 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body9, + requestBody: Parameters.body5, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name1, - Parameters.version + Parameters.version, + Parameters.name1 ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -357,14 +357,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.orderBy, - Parameters.top, - Parameters.listViewType, - Parameters.tags - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/datastores.ts b/sdk/machinelearning/arm-machinelearning/src/operations/datastores.ts index d7879f3d50ca..e7ff4e095fca 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/datastores.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/datastores.ts @@ -12,7 +12,7 @@ import { Datastores } 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { Datastore, DatastoresListNextOptionalParams, @@ -31,13 +31,13 @@ import { /// /** Class containing Datastores operations. */ export class DatastoresImpl implements Datastores { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class Datastores class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -325,7 +325,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body10, + requestBody: Parameters.body14, queryParameters: [Parameters.apiVersion, Parameters.skipValidation], urlParameters: [ Parameters.$host, @@ -372,16 +372,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.count1, - Parameters.isDefault, - Parameters.names, - Parameters.searchText, - Parameters.orderBy1, - Parameters.orderByAsc - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/environmentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/environmentContainers.ts index 2dbf74f59490..84c7643193bd 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/environmentContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/environmentContainers.ts @@ -12,7 +12,7 @@ import { EnvironmentContainers } 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { EnvironmentContainer, EnvironmentContainersListNextOptionalParams, @@ -29,13 +29,13 @@ import { /// /** Class containing EnvironmentContainers operations. */ export class EnvironmentContainersImpl implements EnvironmentContainers { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class EnvironmentContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -299,7 +299,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body11, + requestBody: Parameters.body6, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -323,11 +323,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.listViewType - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/environmentVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/environmentVersions.ts index eab18e455003..02b8fa126d43 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/environmentVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/environmentVersions.ts @@ -12,7 +12,7 @@ import { EnvironmentVersions } 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { EnvironmentVersion, EnvironmentVersionsListNextOptionalParams, @@ -29,13 +29,13 @@ import { /// /** Class containing EnvironmentVersions operations. */ export class EnvironmentVersionsImpl implements EnvironmentVersions { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class EnvironmentVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -286,8 +286,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name, - Parameters.version + Parameters.version, + Parameters.name ], headerParameters: [Parameters.accept], serializer @@ -310,8 +310,8 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name, - Parameters.version + Parameters.version, + Parameters.name ], headerParameters: [Parameters.accept], serializer @@ -331,15 +331,15 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body12, + requestBody: Parameters.body7, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name1, - Parameters.version + Parameters.version, + Parameters.name1 ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -356,13 +356,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.orderBy, - Parameters.top, - Parameters.listViewType - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/featuresetContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/featuresetContainers.ts new file mode 100644 index 000000000000..0d0dfe8a1d96 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featuresetContainers.ts @@ -0,0 +1,492 @@ +/* + * 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, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { FeaturesetContainers } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + FeaturesetContainer, + FeaturesetContainersListNextOptionalParams, + FeaturesetContainersListOptionalParams, + FeaturesetContainersListResponse, + FeaturesetContainersDeleteOptionalParams, + FeaturesetContainersGetEntityOptionalParams, + FeaturesetContainersGetEntityResponse, + FeaturesetContainersCreateOrUpdateOptionalParams, + FeaturesetContainersCreateOrUpdateResponse, + FeaturesetContainersListNextResponse +} from "../models"; + +/// +/** Class containing FeaturesetContainers operations. */ +export class FeaturesetContainersImpl implements FeaturesetContainers { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class FeaturesetContainers class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List featurestore entity containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + options?: FeaturesetContainersListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + options, + settings + ); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: FeaturesetContainersListOptionalParams, + settings?: PageSettings + ): AsyncIterableIterator { + let result: FeaturesetContainersListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, workspaceName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + continuationToken, + options + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: FeaturesetContainersListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options + )) { + yield* page; + } + } + + /** + * List featurestore entity containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: FeaturesetContainersListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec + ); + } + + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturesetContainersDeleteOptionalParams + ): 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, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturesetContainersDeleteOptionalParams + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + name, + options + ); + return poller.pollUntilDone(); + } + + /** + * Get container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param options The options parameters. + */ + getEntity( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturesetContainersGetEntityOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, name, options }, + getEntityOperationSpec + ); + } + + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + name: string, + body: FeaturesetContainer, + options?: FeaturesetContainersCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + FeaturesetContainersCreateOrUpdateResponse + > + > { + 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, + lroResourceLocationConfig: "original-uri" + }); + await poller.poll(); + return poller; + } + + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + body: FeaturesetContainer, + options?: FeaturesetContainersCreateOrUpdateOptionalParams + ): 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?: FeaturesetContainersListNextOptionalParams + ): 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}/featuresets", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FeaturesetContainerResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.listViewType, + Parameters.tags1 + ], + 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}/featuresets/{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 getEntityOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FeaturesetContainer + }, + 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}/featuresets/{name}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.FeaturesetContainer + }, + 201: { + bodyMapper: Mappers.FeaturesetContainer + }, + 202: { + bodyMapper: Mappers.FeaturesetContainer + }, + 204: { + bodyMapper: Mappers.FeaturesetContainer + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.body15, + 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.FeaturesetContainerResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/featuresetVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/featuresetVersions.ts new file mode 100644 index 000000000000..7614c326095f --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featuresetVersions.ts @@ -0,0 +1,1126 @@ +/* + * 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, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { FeaturesetVersions } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + FeaturesetVersion, + FeaturesetVersionsListNextOptionalParams, + FeaturesetVersionsListOptionalParams, + FeaturesetVersionsListResponse, + Feature, + FeaturesetVersionsListFeaturesNextOptionalParams, + FeaturesetVersionsListFeaturesOptionalParams, + FeaturesetVersionsListFeaturesResponse, + FeaturesetJob, + FeaturesetVersionsListMaterializationJobsNextOptionalParams, + FeaturesetVersionsListMaterializationJobsOptionalParams, + FeaturesetVersionsListMaterializationJobsResponse, + FeaturesetVersionsDeleteOptionalParams, + FeaturesetVersionsGetOptionalParams, + FeaturesetVersionsGetResponse, + FeaturesetVersionsCreateOrUpdateOptionalParams, + FeaturesetVersionsCreateOrUpdateResponse, + FeaturesetVersionBackfillRequest, + FeaturesetVersionsBackfillOptionalParams, + FeaturesetVersionsBackfillResponse, + GetFeatureRequest, + FeaturesetVersionsGetFeatureOptionalParams, + FeaturesetVersionsGetFeatureResponse, + FeaturesetVersionsListNextResponse, + FeaturesetVersionsListFeaturesNextResponse, + FeaturesetVersionsListMaterializationJobsNextResponse +} from "../models"; + +/// +/** Class containing FeaturesetVersions operations. */ +export class FeaturesetVersionsImpl implements FeaturesetVersions { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class FeaturesetVersions class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Featureset name. This is case-sensitive. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturesetVersionsListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + name, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + name, + options, + settings + ); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturesetVersionsListOptionalParams, + settings?: PageSettings + ): AsyncIterableIterator { + let result: FeaturesetVersionsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + name, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + name, + continuationToken, + options + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturesetVersionsListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + name, + options + )) { + yield* page; + } + } + + /** + * List Features. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Featureset name. This is case-sensitive. + * @param version Featureset Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + public listFeatures( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturesetVersionsListFeaturesOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listFeaturesPagingAll( + resourceGroupName, + workspaceName, + name, + version, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listFeaturesPagingPage( + resourceGroupName, + workspaceName, + name, + version, + options, + settings + ); + } + }; + } + + private async *listFeaturesPagingPage( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturesetVersionsListFeaturesOptionalParams, + settings?: PageSettings + ): AsyncIterableIterator { + let result: FeaturesetVersionsListFeaturesResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listFeatures( + resourceGroupName, + workspaceName, + name, + version, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listFeaturesNext( + resourceGroupName, + workspaceName, + name, + version, + continuationToken, + options + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listFeaturesPagingAll( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturesetVersionsListFeaturesOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listFeaturesPagingPage( + resourceGroupName, + workspaceName, + name, + version, + options + )) { + yield* page; + } + } + + /** + * List materialization Jobs. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + public listMaterializationJobs( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturesetVersionsListMaterializationJobsOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listMaterializationJobsPagingAll( + resourceGroupName, + workspaceName, + name, + version, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listMaterializationJobsPagingPage( + resourceGroupName, + workspaceName, + name, + version, + options, + settings + ); + } + }; + } + + private async *listMaterializationJobsPagingPage( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturesetVersionsListMaterializationJobsOptionalParams, + settings?: PageSettings + ): AsyncIterableIterator { + let result: FeaturesetVersionsListMaterializationJobsResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listMaterializationJobs( + resourceGroupName, + workspaceName, + name, + version, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listMaterializationJobsNext( + resourceGroupName, + workspaceName, + name, + version, + continuationToken, + options + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listMaterializationJobsPagingAll( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturesetVersionsListMaterializationJobsOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listMaterializationJobsPagingPage( + resourceGroupName, + workspaceName, + name, + version, + options + )) { + yield* page; + } + } + + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Featureset name. This is case-sensitive. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturesetVersionsListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, name, options }, + listOperationSpec + ); + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturesetVersionsDeleteOptionalParams + ): 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, version, options }, + deleteOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturesetVersionsDeleteOptionalParams + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + name, + version, + options + ); + return poller.pollUntilDone(); + } + + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturesetVersionsGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, name, version, options }, + getOperationSpec + ); + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: FeaturesetVersion, + options?: FeaturesetVersionsCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + FeaturesetVersionsCreateOrUpdateResponse + > + > { + 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, version, body, options }, + createOrUpdateOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "azure-async-operation" + }); + await poller.poll(); + return poller; + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: FeaturesetVersion, + options?: FeaturesetVersionsCreateOrUpdateOptionalParams + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + workspaceName, + name, + version, + body, + options + ); + return poller.pollUntilDone(); + } + + /** + * Backfill. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Feature set version backfill request entity. + * @param options The options parameters. + */ + async beginBackfill( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: FeaturesetVersionBackfillRequest, + options?: FeaturesetVersionsBackfillOptionalParams + ): Promise< + PollerLike< + PollOperationState, + FeaturesetVersionsBackfillResponse + > + > { + 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, version, body, options }, + backfillOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Backfill. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Feature set version backfill request entity. + * @param options The options parameters. + */ + async beginBackfillAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: FeaturesetVersionBackfillRequest, + options?: FeaturesetVersionsBackfillOptionalParams + ): Promise { + const poller = await this.beginBackfill( + resourceGroupName, + workspaceName, + name, + version, + body, + options + ); + return poller.pollUntilDone(); + } + + /** + * Get feature. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Feature set name. This is case-sensitive. + * @param version Feature set version identifier. This is case-sensitive. + * @param body Feature Name request. This is case-sensitive. + * @param options The options parameters. + */ + getFeature( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: GetFeatureRequest, + options?: FeaturesetVersionsGetFeatureOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, name, version, body, options }, + getFeatureOperationSpec + ); + } + + /** + * List Features. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Featureset name. This is case-sensitive. + * @param version Featureset Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + private _listFeatures( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturesetVersionsListFeaturesOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, name, version, options }, + listFeaturesOperationSpec + ); + } + + /** + * List materialization Jobs. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + private _listMaterializationJobs( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturesetVersionsListMaterializationJobsOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, name, version, options }, + listMaterializationJobsOperationSpec + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Featureset name. This is case-sensitive. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + name: string, + nextLink: string, + options?: FeaturesetVersionsListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, name, nextLink, options }, + listNextOperationSpec + ); + } + + /** + * ListFeaturesNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Featureset name. This is case-sensitive. + * @param version Featureset Version identifier. This is case-sensitive. + * @param nextLink The nextLink from the previous successful call to the ListFeatures method. + * @param options The options parameters. + */ + private _listFeaturesNext( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + nextLink: string, + options?: FeaturesetVersionsListFeaturesNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, name, version, nextLink, options }, + listFeaturesNextOperationSpec + ); + } + + /** + * ListMaterializationJobsNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param nextLink The nextLink from the previous successful call to the ListMaterializationJobs + * method. + * @param options The options parameters. + */ + private _listMaterializationJobsNext( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + nextLink: string, + options?: FeaturesetVersionsListMaterializationJobsNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, name, version, nextLink, options }, + listMaterializationJobsNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FeaturesetVersionResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.listViewType, + Parameters.tags1 + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.name + ], + headerParameters: [Parameters.accept], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions/{version}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.version, + Parameters.name + ], + headerParameters: [Parameters.accept], + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions/{version}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FeaturesetVersion + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.version, + Parameters.name + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions/{version}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.FeaturesetVersion + }, + 201: { + bodyMapper: Mappers.FeaturesetVersion + }, + 202: { + bodyMapper: Mappers.FeaturesetVersion + }, + 204: { + bodyMapper: Mappers.FeaturesetVersion + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.body16, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.version, + Parameters.name1 + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const backfillOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions/{version}/backfill", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.FeaturesetVersionBackfillResponse + }, + 201: { + bodyMapper: Mappers.FeaturesetVersionBackfillResponse + }, + 202: { + bodyMapper: Mappers.FeaturesetVersionBackfillResponse + }, + 204: { + bodyMapper: Mappers.FeaturesetVersionBackfillResponse + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.body17, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.version, + Parameters.name + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const getFeatureOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions/{version}/getFeature", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.Feature + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.body18, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.version, + Parameters.name + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const listFeaturesOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions/{version}/listFeatures", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.FeatureArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.tags], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.version, + Parameters.name + ], + headerParameters: [Parameters.accept], + serializer +}; +const listMaterializationJobsOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions/{version}/listMaterializationJobs", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.FeaturesetJobArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.filters, + Parameters.featureWindowStart, + Parameters.featureWindowEnd + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.version, + Parameters.name + ], + headerParameters: [Parameters.accept], + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FeaturesetVersionResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink, + Parameters.name + ], + headerParameters: [Parameters.accept], + serializer +}; +const listFeaturesNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FeatureArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink, + Parameters.version, + Parameters.name + ], + headerParameters: [Parameters.accept], + serializer +}; +const listMaterializationJobsNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FeaturesetJobArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink, + Parameters.version, + Parameters.name + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityContainers.ts new file mode 100644 index 000000000000..ffdb925bb355 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityContainers.ts @@ -0,0 +1,493 @@ +/* + * 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, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { FeaturestoreEntityContainers } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + FeaturestoreEntityContainer, + FeaturestoreEntityContainersListNextOptionalParams, + FeaturestoreEntityContainersListOptionalParams, + FeaturestoreEntityContainersListResponse, + FeaturestoreEntityContainersDeleteOptionalParams, + FeaturestoreEntityContainersGetEntityOptionalParams, + FeaturestoreEntityContainersGetEntityResponse, + FeaturestoreEntityContainersCreateOrUpdateOptionalParams, + FeaturestoreEntityContainersCreateOrUpdateResponse, + FeaturestoreEntityContainersListNextResponse +} from "../models"; + +/// +/** Class containing FeaturestoreEntityContainers operations. */ +export class FeaturestoreEntityContainersImpl + implements FeaturestoreEntityContainers { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class FeaturestoreEntityContainers class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List featurestore entity containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + options?: FeaturestoreEntityContainersListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + options, + settings + ); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: FeaturestoreEntityContainersListOptionalParams, + settings?: PageSettings + ): AsyncIterableIterator { + let result: FeaturestoreEntityContainersListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, workspaceName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + continuationToken, + options + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: FeaturestoreEntityContainersListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options + )) { + yield* page; + } + } + + /** + * List featurestore entity containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: FeaturestoreEntityContainersListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec + ); + } + + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturestoreEntityContainersDeleteOptionalParams + ): 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, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturestoreEntityContainersDeleteOptionalParams + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + name, + options + ); + return poller.pollUntilDone(); + } + + /** + * Get container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param options The options parameters. + */ + getEntity( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturestoreEntityContainersGetEntityOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, name, options }, + getEntityOperationSpec + ); + } + + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + name: string, + body: FeaturestoreEntityContainer, + options?: FeaturestoreEntityContainersCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + FeaturestoreEntityContainersCreateOrUpdateResponse + > + > { + 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, + lroResourceLocationConfig: "azure-async-operation" + }); + await poller.poll(); + return poller; + } + + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + body: FeaturestoreEntityContainer, + options?: FeaturestoreEntityContainersCreateOrUpdateOptionalParams + ): 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?: FeaturestoreEntityContainersListNextOptionalParams + ): 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}/featurestoreEntities", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FeaturestoreEntityContainerResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.listViewType, + Parameters.tags1 + ], + 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}/featurestoreEntities/{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 getEntityOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FeaturestoreEntityContainer + }, + 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}/featurestoreEntities/{name}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.FeaturestoreEntityContainer + }, + 201: { + bodyMapper: Mappers.FeaturestoreEntityContainer + }, + 202: { + bodyMapper: Mappers.FeaturestoreEntityContainer + }, + 204: { + bodyMapper: Mappers.FeaturestoreEntityContainer + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.body19, + 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.FeaturestoreEntityContainerResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityVersions.ts new file mode 100644 index 000000000000..2c5c820725d1 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/featurestoreEntityVersions.ts @@ -0,0 +1,531 @@ +/* + * 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, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { FeaturestoreEntityVersions } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + FeaturestoreEntityVersion, + FeaturestoreEntityVersionsListNextOptionalParams, + FeaturestoreEntityVersionsListOptionalParams, + FeaturestoreEntityVersionsListResponse, + FeaturestoreEntityVersionsDeleteOptionalParams, + FeaturestoreEntityVersionsGetOptionalParams, + FeaturestoreEntityVersionsGetResponse, + FeaturestoreEntityVersionsCreateOrUpdateOptionalParams, + FeaturestoreEntityVersionsCreateOrUpdateResponse, + FeaturestoreEntityVersionsListNextResponse +} from "../models"; + +/// +/** Class containing FeaturestoreEntityVersions operations. */ +export class FeaturestoreEntityVersionsImpl + implements FeaturestoreEntityVersions { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class FeaturestoreEntityVersions class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Feature entity name. This is case-sensitive. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturestoreEntityVersionsListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + workspaceName, + name, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + name, + options, + settings + ); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturestoreEntityVersionsListOptionalParams, + settings?: PageSettings + ): AsyncIterableIterator { + let result: FeaturestoreEntityVersionsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + workspaceName, + name, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + name, + continuationToken, + options + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturestoreEntityVersionsListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + name, + options + )) { + yield* page; + } + } + + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Feature entity name. This is case-sensitive. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturestoreEntityVersionsListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, name, options }, + listOperationSpec + ); + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturestoreEntityVersionsDeleteOptionalParams + ): 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, version, options }, + deleteOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturestoreEntityVersionsDeleteOptionalParams + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + workspaceName, + name, + version, + options + ); + return poller.pollUntilDone(); + } + + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturestoreEntityVersionsGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, name, version, options }, + getOperationSpec + ); + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: FeaturestoreEntityVersion, + options?: FeaturestoreEntityVersionsCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + FeaturestoreEntityVersionsCreateOrUpdateResponse + > + > { + 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, version, body, options }, + createOrUpdateOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "azure-async-operation" + }); + await poller.poll(); + return poller; + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: FeaturestoreEntityVersion, + options?: FeaturestoreEntityVersionsCreateOrUpdateOptionalParams + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + workspaceName, + name, + version, + 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 name Feature entity name. This is case-sensitive. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + name: string, + nextLink: string, + options?: FeaturestoreEntityVersionsListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, name, 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}/featurestoreEntities/{name}/versions", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FeaturestoreEntityVersionResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.listViewType, + Parameters.tags1 + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.name + ], + headerParameters: [Parameters.accept], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}/versions/{version}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.version, + Parameters.name + ], + headerParameters: [Parameters.accept], + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}/versions/{version}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FeaturestoreEntityVersion + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.version, + Parameters.name + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}/versions/{version}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.FeaturestoreEntityVersion + }, + 201: { + bodyMapper: Mappers.FeaturestoreEntityVersion + }, + 202: { + bodyMapper: Mappers.FeaturestoreEntityVersion + }, + 204: { + bodyMapper: Mappers.FeaturestoreEntityVersion + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.body20, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.version, + Parameters.name1 + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.FeaturestoreEntityVersionResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink, + Parameters.name + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/index.ts b/sdk/machinelearning/arm-machinelearning/src/operations/index.ts index 5c0eba4f45e0..f398830cb56f 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/index.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/index.ts @@ -15,6 +15,16 @@ export * from "./computeOperations"; export * from "./privateEndpointConnections"; export * from "./privateLinkResources"; export * from "./workspaceConnections"; +export * from "./registryCodeContainers"; +export * from "./registryCodeVersions"; +export * from "./registryComponentContainers"; +export * from "./registryComponentVersions"; +export * from "./registryDataContainers"; +export * from "./registryDataVersions"; +export * from "./registryEnvironmentContainers"; +export * from "./registryEnvironmentVersions"; +export * from "./registryModelContainers"; +export * from "./registryModelVersions"; export * from "./batchEndpoints"; export * from "./batchDeployments"; export * from "./codeContainers"; @@ -26,10 +36,16 @@ export * from "./dataVersions"; export * from "./datastores"; export * from "./environmentContainers"; export * from "./environmentVersions"; +export * from "./featuresetContainers"; +export * from "./featuresetVersions"; +export * from "./featurestoreEntityContainers"; +export * from "./featurestoreEntityVersions"; export * from "./jobs"; +export * from "./labelingJobs"; export * from "./modelContainers"; export * from "./modelVersions"; export * from "./onlineEndpoints"; export * from "./onlineDeployments"; export * from "./schedules"; +export * from "./registries"; export * from "./workspaceFeatures"; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts b/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts index 36387941c513..e57d5ea35efe 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/jobs.ts @@ -12,7 +12,7 @@ import { Jobs } 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; import { LroImpl } from "../lroImpl"; import { @@ -32,13 +32,13 @@ import { /// /** Class containing Jobs operations. */ export class JobsImpl implements Jobs { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class Jobs class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -389,7 +389,10 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.skip, Parameters.listViewType, Parameters.jobType, - Parameters.tag + Parameters.tag, + Parameters.assetName, + Parameters.scheduled, + Parameters.scheduleId ], urlParameters: [ Parameters.$host, @@ -462,7 +465,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body13, + requestBody: Parameters.body21, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -510,13 +513,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.listViewType, - Parameters.jobType, - Parameters.tag - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, 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..9bfabb2930c3 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/labelingJobs.ts @@ -0,0 +1,708 @@ +/* + * 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, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { LabelingJobs } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +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: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class LabelingJobs class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + 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: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + workspaceName, + options, + settings + ); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: LabelingJobsListOptionalParams, + settings?: PageSettings + ): AsyncIterableIterator { + let result: LabelingJobsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, workspaceName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + continuationToken, + options + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + 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.top], + 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.body22, + 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.body23, + 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 + } + }, + 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 5500f5d4d643..1f073c4fd71c 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/modelContainers.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/modelContainers.ts @@ -12,7 +12,7 @@ import { ModelContainers } 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { ModelContainer, ModelContainersListNextOptionalParams, @@ -29,13 +29,13 @@ import { /// /** Class containing ModelContainers operations. */ export class ModelContainersImpl implements ModelContainers { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class ModelContainers class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -228,8 +228,8 @@ const listOperationSpec: coreClient.OperationSpec = { queryParameters: [ Parameters.apiVersion, Parameters.skip, - Parameters.count, - Parameters.listViewType + Parameters.listViewType, + Parameters.count ], urlParameters: [ Parameters.$host, @@ -300,7 +300,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body14, + requestBody: Parameters.body8, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -324,12 +324,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.count, - Parameters.listViewType - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts index 966c9225da40..4f1a6c7bf55d 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/modelVersions.ts @@ -12,7 +12,9 @@ import { ModelVersions } 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; import { ModelVersion, ModelVersionsListNextOptionalParams, @@ -23,19 +25,21 @@ import { ModelVersionsGetResponse, ModelVersionsCreateOrUpdateOptionalParams, ModelVersionsCreateOrUpdateResponse, + ModelVersionsPackageOptionalParams, + ModelVersionsPackageResponse, ModelVersionsListNextResponse } from "../models"; /// /** Class containing ModelVersions operations. */ export class ModelVersionsImpl implements ModelVersions { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class ModelVersions class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -216,6 +220,109 @@ export class ModelVersionsImpl implements ModelVersions { ); } + /** + * Model Version Package operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Package operation request body. + * @param options The options parameters. + */ + async beginPackage( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: any, + options?: ModelVersionsPackageOptionalParams + ): Promise< + PollerLike< + PollOperationState, + ModelVersionsPackageResponse + > + > { + 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, version, body, options }, + packageOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Model Version Package operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Package operation request body. + * @param options The options parameters. + */ + async beginPackageAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: any, + options?: ModelVersionsPackageOptionalParams + ): Promise { + const poller = await this.beginPackage( + resourceGroupName, + workspaceName, + name, + version, + body, + options + ); + return poller.pollUntilDone(); + } + /** * ListNext * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -260,9 +367,9 @@ const listOperationSpec: coreClient.OperationSpec = { Parameters.listViewType, Parameters.version1, Parameters.description, - Parameters.offset, Parameters.tags1, Parameters.properties1, + Parameters.offset, Parameters.feed ], urlParameters: [ @@ -292,8 +399,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name, - Parameters.version + Parameters.version, + Parameters.name ], headerParameters: [Parameters.accept], serializer @@ -316,8 +423,8 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name, - Parameters.version + Parameters.version, + Parameters.name ], headerParameters: [Parameters.accept], serializer @@ -337,15 +444,50 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body15, + requestBody: Parameters.body9, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.workspaceName, - Parameters.name1, - Parameters.version + Parameters.version, + Parameters.name1 + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const packageOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions/{version}/package", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.PackageResponse + }, + 201: { + bodyMapper: Mappers.PackageResponse + }, + 202: { + bodyMapper: Mappers.PackageResponse + }, + 204: { + bodyMapper: Mappers.PackageResponse + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.body24, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.version, + Parameters.name1 ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -362,19 +504,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.orderBy, - Parameters.top, - Parameters.listViewType, - Parameters.version1, - Parameters.description, - Parameters.offset, - Parameters.tags1, - Parameters.properties1, - Parameters.feed - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/onlineDeployments.ts b/sdk/machinelearning/arm-machinelearning/src/operations/onlineDeployments.ts index 0d71a80f4298..8a43039eea79 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/onlineDeployments.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/onlineDeployments.ts @@ -12,7 +12,7 @@ import { OnlineDeployments } 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; import { LroImpl } from "../lroImpl"; import { @@ -42,13 +42,13 @@ import { /// /** Class containing OnlineDeployments operations. */ export class OnlineDeploymentsImpl implements OnlineDeployments { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class OnlineDeployments class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -818,7 +818,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body18, + requestBody: Parameters.body27, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -853,7 +853,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body19, + requestBody: Parameters.body28, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -879,7 +879,7 @@ const getLogsOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body20, + requestBody: Parameters.body29, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -928,12 +928,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.orderBy, - Parameters.top - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -956,7 +950,6 @@ const listSkusNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.count], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts b/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts index ec5c78271803..841d8a164495 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/onlineEndpoints.ts @@ -12,7 +12,7 @@ import { OnlineEndpoints } 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; import { LroImpl } from "../lroImpl"; import { @@ -40,13 +40,13 @@ import { /// /** Class containing OnlineEndpoints operations. */ export class OnlineEndpointsImpl implements OnlineEndpoints { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class OnlineEndpoints class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -611,9 +611,9 @@ const listOperationSpec: coreClient.OperationSpec = { queryParameters: [ Parameters.apiVersion, Parameters.skip, - Parameters.count, Parameters.tags1, Parameters.properties1, + Parameters.count, Parameters.name2, Parameters.computeType, Parameters.orderBy2 @@ -695,7 +695,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body, + requestBody: Parameters.body10, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -729,7 +729,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body16, + requestBody: Parameters.body25, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -778,7 +778,7 @@ const regenerateKeysOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body17, + requestBody: Parameters.body26, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -825,16 +825,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.count, - Parameters.tags1, - Parameters.properties1, - Parameters.name2, - Parameters.computeType, - Parameters.orderBy2 - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/operations.ts b/sdk/machinelearning/arm-machinelearning/src/operations/operations.ts index 2dc181c81bfb..cf946615f407 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/operations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/operations.ts @@ -11,7 +11,7 @@ import { Operations } 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { AmlOperation, OperationsListOptionalParams, @@ -21,18 +21,18 @@ import { /// /** Class containing Operations operations. */ export class OperationsImpl implements Operations { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class Operations class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } /** - * Lists all of the available Azure Machine Learning Workspaces REST API operations. + * Lists all of the available Azure Machine Learning Services REST API operations. * @param options The options parameters. */ public list( @@ -73,7 +73,7 @@ export class OperationsImpl implements Operations { } /** - * Lists all of the available Azure Machine Learning Workspaces REST API operations. + * Lists all of the available Azure Machine Learning Services REST API operations. * @param options The options parameters. */ private _list( diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts b/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts index ce71a81f37c6..6dae16bebb86 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/privateEndpointConnections.ts @@ -11,7 +11,7 @@ import { PrivateEndpointConnections } 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { PrivateEndpointConnection, PrivateEndpointConnectionsListOptionalParams, @@ -27,13 +27,13 @@ import { /** Class containing PrivateEndpointConnections operations. */ export class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class PrivateEndpointConnections class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/privateLinkResources.ts b/sdk/machinelearning/arm-machinelearning/src/operations/privateLinkResources.ts index efe5fab5b56b..d45a4dae291c 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/privateLinkResources.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/privateLinkResources.ts @@ -10,7 +10,7 @@ import { PrivateLinkResources } 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { PrivateLinkResourcesListOptionalParams, PrivateLinkResourcesListResponse @@ -18,13 +18,13 @@ import { /** Class containing PrivateLinkResources operations. */ export class PrivateLinkResourcesImpl implements PrivateLinkResources { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class PrivateLinkResources class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts b/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts index 8ba2d40e0eeb..e3607b4bfcd0 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/quotas.ts @@ -12,7 +12,7 @@ import { Quotas } 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { ResourceQuota, QuotasListNextOptionalParams, @@ -27,13 +27,13 @@ import { /// /** Class containing Quotas operations. */ export class QuotasImpl implements Quotas { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class Quotas class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -202,7 +202,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registries.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registries.ts new file mode 100644 index 000000000000..6175380bc63e --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registries.ts @@ -0,0 +1,703 @@ +/* + * 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, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { Registries } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + Registry, + RegistriesListBySubscriptionNextOptionalParams, + RegistriesListBySubscriptionOptionalParams, + RegistriesListBySubscriptionResponse, + RegistriesListNextOptionalParams, + RegistriesListOptionalParams, + RegistriesListResponse, + RegistriesDeleteOptionalParams, + RegistriesGetOptionalParams, + RegistriesGetResponse, + PartialRegistryPartialTrackedResource, + RegistriesUpdateOptionalParams, + RegistriesUpdateResponse, + RegistriesCreateOrUpdateOptionalParams, + RegistriesCreateOrUpdateResponse, + RegistriesListBySubscriptionNextResponse, + RegistriesListNextResponse +} from "../models"; + +/// +/** Class containing Registries operations. */ +export class RegistriesImpl implements Registries { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class Registries class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List registries by subscription + * @param options The options parameters. + */ + public listBySubscription( + options?: RegistriesListBySubscriptionOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listBySubscriptionPagingAll(options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listBySubscriptionPagingPage(options, settings); + } + }; + } + + private async *listBySubscriptionPagingPage( + options?: RegistriesListBySubscriptionOptionalParams, + settings?: PageSettings + ): AsyncIterableIterator { + let result: RegistriesListBySubscriptionResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listBySubscription(options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listBySubscriptionNext(continuationToken, options); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listBySubscriptionPagingAll( + options?: RegistriesListBySubscriptionOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listBySubscriptionPagingPage(options)) { + yield* page; + } + } + + /** + * List registries + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + options?: RegistriesListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage(resourceGroupName, options, settings); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + options?: RegistriesListOptionalParams, + settings?: PageSettings + ): AsyncIterableIterator { + let result: RegistriesListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + continuationToken, + options + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + options?: RegistriesListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage(resourceGroupName, options)) { + yield* page; + } + } + + /** + * List registries by subscription + * @param options The options parameters. + */ + private _listBySubscription( + options?: RegistriesListBySubscriptionOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { options }, + listBySubscriptionOperationSpec + ); + } + + /** + * List registries + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + options?: RegistriesListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, options }, + listOperationSpec + ); + } + + /** + * Delete registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of registry. This is case-insensitive + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + registryName: string, + options?: RegistriesDeleteOptionalParams + ): 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, registryName, options }, + deleteOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Delete registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of registry. This is case-insensitive + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + options?: RegistriesDeleteOptionalParams + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + registryName, + options + ); + return poller.pollUntilDone(); + } + + /** + * Get registry + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of registry. This is case-insensitive + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + options?: RegistriesGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, options }, + getOperationSpec + ); + } + + /** + * Update tags + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of registry. This is case-insensitive + * @param body Details required to create the registry. + * @param options The options parameters. + */ + async beginUpdate( + resourceGroupName: string, + registryName: string, + body: PartialRegistryPartialTrackedResource, + options?: RegistriesUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + RegistriesUpdateResponse + > + > { + 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, registryName, body, options }, + updateOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Update tags + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of registry. This is case-insensitive + * @param body Details required to create the registry. + * @param options The options parameters. + */ + async beginUpdateAndWait( + resourceGroupName: string, + registryName: string, + body: PartialRegistryPartialTrackedResource, + options?: RegistriesUpdateOptionalParams + ): Promise { + const poller = await this.beginUpdate( + resourceGroupName, + registryName, + body, + options + ); + return poller.pollUntilDone(); + } + + /** + * Create or update registry + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of registry. This is case-insensitive + * @param body Details required to create the registry. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + body: Registry, + options?: RegistriesCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + RegistriesCreateOrUpdateResponse + > + > { + 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, registryName, body, options }, + createOrUpdateOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "azure-async-operation" + }); + await poller.poll(); + return poller; + } + + /** + * Create or update registry + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of registry. This is case-insensitive + * @param body Details required to create the registry. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + body: Registry, + options?: RegistriesCreateOrUpdateOptionalParams + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + registryName, + body, + options + ); + return poller.pollUntilDone(); + } + + /** + * ListBySubscriptionNext + * @param nextLink The nextLink from the previous successful call to the ListBySubscription method. + * @param options The options parameters. + */ + private _listBySubscriptionNext( + nextLink: string, + options?: RegistriesListBySubscriptionNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { nextLink, options }, + listBySubscriptionNextOperationSpec + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + nextLink: string, + options?: RegistriesListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, nextLink, options }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listBySubscriptionOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/registries", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RegistryTrackedResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion, Parameters.skip], + urlParameters: [Parameters.$host, Parameters.subscriptionId], + headerParameters: [Parameters.accept], + serializer +}; +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RegistryTrackedResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion, Parameters.skip], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName + ], + headerParameters: [Parameters.accept], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName2 + ], + headerParameters: [Parameters.accept], + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.Registry + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName + ], + headerParameters: [Parameters.accept], + serializer +}; +const updateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}", + httpMethod: "PATCH", + responses: { + 200: { + bodyMapper: Mappers.Registry + }, + 201: { + bodyMapper: Mappers.Registry + }, + 202: { + bodyMapper: Mappers.Registry + }, + 204: { + bodyMapper: Mappers.Registry + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.body31, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName2 + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.Registry + }, + 201: { + bodyMapper: Mappers.Registry + }, + 202: { + bodyMapper: Mappers.Registry + }, + 204: { + bodyMapper: Mappers.Registry + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.body32, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName2 + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RegistryTrackedResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink + ], + headerParameters: [Parameters.accept], + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.RegistryTrackedResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeContainers.ts new file mode 100644 index 000000000000..bd88f50c633b --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeContainers.ts @@ -0,0 +1,487 @@ +/* + * 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, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { RegistryCodeContainers } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + CodeContainer, + RegistryCodeContainersListNextOptionalParams, + RegistryCodeContainersListOptionalParams, + RegistryCodeContainersListResponse, + RegistryCodeContainersDeleteOptionalParams, + RegistryCodeContainersGetOptionalParams, + RegistryCodeContainersGetResponse, + RegistryCodeContainersCreateOrUpdateOptionalParams, + RegistryCodeContainersCreateOrUpdateResponse, + RegistryCodeContainersListNextResponse +} from "../models"; + +/// +/** Class containing RegistryCodeContainers operations. */ +export class RegistryCodeContainersImpl implements RegistryCodeContainers { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class RegistryCodeContainers class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + registryName: string, + options?: RegistryCodeContainersListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, registryName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + registryName, + options, + settings + ); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + registryName: string, + options?: RegistryCodeContainersListOptionalParams, + settings?: PageSettings + ): AsyncIterableIterator { + let result: RegistryCodeContainersListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, registryName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + registryName, + continuationToken, + options + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + registryName: string, + options?: RegistryCodeContainersListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + registryName, + options + )) { + yield* page; + } + } + + /** + * List containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + registryName: string, + options?: RegistryCodeContainersListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, options }, + listOperationSpec + ); + } + + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param codeName Container name. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + registryName: string, + codeName: string, + options?: RegistryCodeContainersDeleteOptionalParams + ): 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, registryName, codeName, options }, + deleteOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param codeName Container name. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + codeName: string, + options?: RegistryCodeContainersDeleteOptionalParams + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + registryName, + codeName, + options + ); + return poller.pollUntilDone(); + } + + /** + * Get container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param codeName Container name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + codeName: string, + options?: RegistryCodeContainersGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, codeName, options }, + getOperationSpec + ); + } + + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param codeName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + codeName: string, + body: CodeContainer, + options?: RegistryCodeContainersCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + RegistryCodeContainersCreateOrUpdateResponse + > + > { + 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, registryName, codeName, body, options }, + createOrUpdateOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "original-uri" + }); + await poller.poll(); + return poller; + } + + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param codeName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + codeName: string, + body: CodeContainer, + options?: RegistryCodeContainersCreateOrUpdateOptionalParams + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + registryName, + codeName, + body, + options + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + registryName: string, + nextLink: string, + options?: RegistryCodeContainersListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, nextLink, options }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.CodeContainerResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion, Parameters.skip], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName + ], + headerParameters: [Parameters.accept], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.codeName + ], + headerParameters: [Parameters.accept], + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.CodeContainer + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.codeName + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.CodeContainer + }, + 201: { + bodyMapper: Mappers.CodeContainer + }, + 202: { + bodyMapper: Mappers.CodeContainer + }, + 204: { + bodyMapper: Mappers.CodeContainer + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.body, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.codeName1 + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.CodeContainerResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.registryName + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeVersions.ts new file mode 100644 index 000000000000..ecabaad9243b --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryCodeVersions.ts @@ -0,0 +1,530 @@ +/* + * 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, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { RegistryCodeVersions } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + CodeVersion, + RegistryCodeVersionsListNextOptionalParams, + RegistryCodeVersionsListOptionalParams, + RegistryCodeVersionsListResponse, + RegistryCodeVersionsDeleteOptionalParams, + RegistryCodeVersionsGetOptionalParams, + RegistryCodeVersionsGetResponse, + RegistryCodeVersionsCreateOrUpdateOptionalParams, + RegistryCodeVersionsCreateOrUpdateResponse, + RegistryCodeVersionsListNextResponse +} from "../models"; + +/// +/** Class containing RegistryCodeVersions operations. */ +export class RegistryCodeVersionsImpl implements RegistryCodeVersions { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class RegistryCodeVersions class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param codeName Container name. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + registryName: string, + codeName: string, + options?: RegistryCodeVersionsListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + registryName, + codeName, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + registryName, + codeName, + options, + settings + ); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + registryName: string, + codeName: string, + options?: RegistryCodeVersionsListOptionalParams, + settings?: PageSettings + ): AsyncIterableIterator { + let result: RegistryCodeVersionsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + registryName, + codeName, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + registryName, + codeName, + continuationToken, + options + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + registryName: string, + codeName: string, + options?: RegistryCodeVersionsListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + registryName, + codeName, + options + )) { + yield* page; + } + } + + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param codeName Container name. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + registryName: string, + codeName: string, + options?: RegistryCodeVersionsListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, codeName, options }, + listOperationSpec + ); + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param codeName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + registryName: string, + codeName: string, + version: string, + options?: RegistryCodeVersionsDeleteOptionalParams + ): 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, registryName, codeName, version, options }, + deleteOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param codeName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + codeName: string, + version: string, + options?: RegistryCodeVersionsDeleteOptionalParams + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + registryName, + codeName, + version, + options + ); + return poller.pollUntilDone(); + } + + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param codeName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + codeName: string, + version: string, + options?: RegistryCodeVersionsGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, codeName, version, options }, + getOperationSpec + ); + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param codeName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + codeName: string, + version: string, + body: CodeVersion, + options?: RegistryCodeVersionsCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + RegistryCodeVersionsCreateOrUpdateResponse + > + > { + 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, registryName, codeName, version, body, options }, + createOrUpdateOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "original-uri" + }); + await poller.poll(); + return poller; + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param codeName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + codeName: string, + version: string, + body: CodeVersion, + options?: RegistryCodeVersionsCreateOrUpdateOptionalParams + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + registryName, + codeName, + version, + body, + options + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param codeName Container name. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + registryName: string, + codeName: string, + nextLink: string, + options?: RegistryCodeVersionsListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, codeName, nextLink, options }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.CodeVersionResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.orderBy, + Parameters.top + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.codeName + ], + headerParameters: [Parameters.accept], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions/{version}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.codeName, + Parameters.version + ], + headerParameters: [Parameters.accept], + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions/{version}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.CodeVersion + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.codeName, + Parameters.version + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions/{version}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.CodeVersion + }, + 201: { + bodyMapper: Mappers.CodeVersion + }, + 202: { + bodyMapper: Mappers.CodeVersion + }, + 204: { + bodyMapper: Mappers.CodeVersion + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.body1, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.codeName1, + Parameters.version + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.CodeVersionResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.registryName, + Parameters.codeName + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentContainers.ts new file mode 100644 index 000000000000..1377bd4e63e4 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentContainers.ts @@ -0,0 +1,488 @@ +/* + * 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, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { RegistryComponentContainers } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + ComponentContainer, + RegistryComponentContainersListNextOptionalParams, + RegistryComponentContainersListOptionalParams, + RegistryComponentContainersListResponse, + RegistryComponentContainersDeleteOptionalParams, + RegistryComponentContainersGetOptionalParams, + RegistryComponentContainersGetResponse, + RegistryComponentContainersCreateOrUpdateOptionalParams, + RegistryComponentContainersCreateOrUpdateResponse, + RegistryComponentContainersListNextResponse +} from "../models"; + +/// +/** Class containing RegistryComponentContainers operations. */ +export class RegistryComponentContainersImpl + implements RegistryComponentContainers { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class RegistryComponentContainers class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + registryName: string, + options?: RegistryComponentContainersListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, registryName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + registryName, + options, + settings + ); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + registryName: string, + options?: RegistryComponentContainersListOptionalParams, + settings?: PageSettings + ): AsyncIterableIterator { + let result: RegistryComponentContainersListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, registryName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + registryName, + continuationToken, + options + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + registryName: string, + options?: RegistryComponentContainersListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + registryName, + options + )) { + yield* page; + } + } + + /** + * List containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + registryName: string, + options?: RegistryComponentContainersListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, options }, + listOperationSpec + ); + } + + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param componentName Container name. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + registryName: string, + componentName: string, + options?: RegistryComponentContainersDeleteOptionalParams + ): 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, registryName, componentName, options }, + deleteOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param componentName Container name. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + componentName: string, + options?: RegistryComponentContainersDeleteOptionalParams + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + registryName, + componentName, + options + ); + return poller.pollUntilDone(); + } + + /** + * Get container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param componentName Container name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + componentName: string, + options?: RegistryComponentContainersGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, componentName, options }, + getOperationSpec + ); + } + + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param componentName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + componentName: string, + body: ComponentContainer, + options?: RegistryComponentContainersCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + RegistryComponentContainersCreateOrUpdateResponse + > + > { + 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, registryName, componentName, body, options }, + createOrUpdateOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "original-uri" + }); + await poller.poll(); + return poller; + } + + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param componentName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + componentName: string, + body: ComponentContainer, + options?: RegistryComponentContainersCreateOrUpdateOptionalParams + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + registryName, + componentName, + body, + options + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + registryName: string, + nextLink: string, + options?: RegistryComponentContainersListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, nextLink, options }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ComponentContainerResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion, Parameters.skip], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName + ], + headerParameters: [Parameters.accept], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.componentName + ], + headerParameters: [Parameters.accept], + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ComponentContainer + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.componentName + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.ComponentContainer + }, + 201: { + bodyMapper: Mappers.ComponentContainer + }, + 202: { + bodyMapper: Mappers.ComponentContainer + }, + 204: { + bodyMapper: Mappers.ComponentContainer + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.body2, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.componentName1 + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ComponentContainerResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.registryName + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentVersions.ts new file mode 100644 index 000000000000..6a5fd194cc81 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryComponentVersions.ts @@ -0,0 +1,538 @@ +/* + * 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, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { RegistryComponentVersions } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + ComponentVersion, + RegistryComponentVersionsListNextOptionalParams, + RegistryComponentVersionsListOptionalParams, + RegistryComponentVersionsListResponse, + RegistryComponentVersionsDeleteOptionalParams, + RegistryComponentVersionsGetOptionalParams, + RegistryComponentVersionsGetResponse, + RegistryComponentVersionsCreateOrUpdateOptionalParams, + RegistryComponentVersionsCreateOrUpdateResponse, + RegistryComponentVersionsListNextResponse +} from "../models"; + +/// +/** Class containing RegistryComponentVersions operations. */ +export class RegistryComponentVersionsImpl + implements RegistryComponentVersions { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class RegistryComponentVersions class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param componentName Container name. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + registryName: string, + componentName: string, + options?: RegistryComponentVersionsListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + registryName, + componentName, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + registryName, + componentName, + options, + settings + ); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + registryName: string, + componentName: string, + options?: RegistryComponentVersionsListOptionalParams, + settings?: PageSettings + ): AsyncIterableIterator { + let result: RegistryComponentVersionsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + registryName, + componentName, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + registryName, + componentName, + continuationToken, + options + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + registryName: string, + componentName: string, + options?: RegistryComponentVersionsListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + registryName, + componentName, + options + )) { + yield* page; + } + } + + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param componentName Container name. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + registryName: string, + componentName: string, + options?: RegistryComponentVersionsListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, componentName, options }, + listOperationSpec + ); + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param componentName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + registryName: string, + componentName: string, + version: string, + options?: RegistryComponentVersionsDeleteOptionalParams + ): 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, registryName, componentName, version, options }, + deleteOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param componentName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + componentName: string, + version: string, + options?: RegistryComponentVersionsDeleteOptionalParams + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + registryName, + componentName, + version, + options + ); + return poller.pollUntilDone(); + } + + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param componentName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + componentName: string, + version: string, + options?: RegistryComponentVersionsGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, componentName, version, options }, + getOperationSpec + ); + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param componentName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + componentName: string, + version: string, + body: ComponentVersion, + options?: RegistryComponentVersionsCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + RegistryComponentVersionsCreateOrUpdateResponse + > + > { + 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, + registryName, + componentName, + version, + body, + options + }, + createOrUpdateOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "original-uri" + }); + await poller.poll(); + return poller; + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param componentName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + componentName: string, + version: string, + body: ComponentVersion, + options?: RegistryComponentVersionsCreateOrUpdateOptionalParams + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + registryName, + componentName, + version, + body, + options + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param componentName Container name. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + registryName: string, + componentName: string, + nextLink: string, + options?: RegistryComponentVersionsListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, componentName, nextLink, options }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}/versions", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ComponentVersionResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.orderBy, + Parameters.top + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.componentName + ], + headerParameters: [Parameters.accept], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}/versions/{version}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.version, + Parameters.componentName + ], + headerParameters: [Parameters.accept], + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}/versions/{version}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ComponentVersion + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.version, + Parameters.componentName + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}/versions/{version}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.ComponentVersion + }, + 201: { + bodyMapper: Mappers.ComponentVersion + }, + 202: { + bodyMapper: Mappers.ComponentVersion + }, + 204: { + bodyMapper: Mappers.ComponentVersion + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.body3, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.version, + Parameters.componentName1 + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ComponentVersionResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.registryName, + Parameters.componentName + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataContainers.ts new file mode 100644 index 000000000000..d4bcf70e9041 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataContainers.ts @@ -0,0 +1,491 @@ +/* + * 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, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { RegistryDataContainers } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + DataContainer, + RegistryDataContainersListNextOptionalParams, + RegistryDataContainersListOptionalParams, + RegistryDataContainersListResponse, + RegistryDataContainersDeleteOptionalParams, + RegistryDataContainersGetOptionalParams, + RegistryDataContainersGetResponse, + RegistryDataContainersCreateOrUpdateOptionalParams, + RegistryDataContainersCreateOrUpdateResponse, + RegistryDataContainersListNextResponse +} from "../models"; + +/// +/** Class containing RegistryDataContainers operations. */ +export class RegistryDataContainersImpl implements RegistryDataContainers { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class RegistryDataContainers class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + registryName: string, + options?: RegistryDataContainersListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, registryName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + registryName, + options, + settings + ); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + registryName: string, + options?: RegistryDataContainersListOptionalParams, + settings?: PageSettings + ): AsyncIterableIterator { + let result: RegistryDataContainersListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, registryName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + registryName, + continuationToken, + options + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + registryName: string, + options?: RegistryDataContainersListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + registryName, + options + )) { + yield* page; + } + } + + /** + * List containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + registryName: string, + options?: RegistryDataContainersListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, options }, + listOperationSpec + ); + } + + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param name Container name. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + registryName: string, + name: string, + options?: RegistryDataContainersDeleteOptionalParams + ): 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, registryName, name, options }, + deleteOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param name Container name. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + name: string, + options?: RegistryDataContainersDeleteOptionalParams + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + registryName, + name, + options + ); + return poller.pollUntilDone(); + } + + /** + * Get container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param name Container name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + name: string, + options?: RegistryDataContainersGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, name, options }, + getOperationSpec + ); + } + + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param name Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + name: string, + body: DataContainer, + options?: RegistryDataContainersCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + RegistryDataContainersCreateOrUpdateResponse + > + > { + 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, registryName, name, body, options }, + createOrUpdateOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "original-uri" + }); + await poller.poll(); + return poller; + } + + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param name Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + name: string, + body: DataContainer, + options?: RegistryDataContainersCreateOrUpdateOptionalParams + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + registryName, + name, + body, + options + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + registryName: string, + nextLink: string, + options?: RegistryDataContainersListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, nextLink, options }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DataContainerResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.listViewType + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName1 + ], + headerParameters: [Parameters.accept], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName1, + Parameters.name + ], + headerParameters: [Parameters.accept], + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DataContainer + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.name + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.DataContainer + }, + 201: { + bodyMapper: Mappers.DataContainer + }, + 202: { + bodyMapper: Mappers.DataContainer + }, + 204: { + bodyMapper: Mappers.DataContainer + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.body4, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.name1 + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DataContainerResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.registryName1 + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryDataVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataVersions.ts new file mode 100644 index 000000000000..d5c4d96688fe --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryDataVersions.ts @@ -0,0 +1,527 @@ +/* + * 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, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { RegistryDataVersions } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + DataVersionBase, + RegistryDataVersionsListNextOptionalParams, + RegistryDataVersionsListOptionalParams, + RegistryDataVersionsListResponse, + RegistryDataVersionsDeleteOptionalParams, + RegistryDataVersionsGetOptionalParams, + RegistryDataVersionsGetResponse, + RegistryDataVersionsCreateOrUpdateOptionalParams, + RegistryDataVersionsCreateOrUpdateResponse, + RegistryDataVersionsListNextResponse +} from "../models"; + +/// +/** Class containing RegistryDataVersions operations. */ +export class RegistryDataVersionsImpl implements RegistryDataVersions { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class RegistryDataVersions class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List data versions in the data container + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param name Data container's name + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + registryName: string, + name: string, + options?: RegistryDataVersionsListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + registryName, + name, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + registryName, + name, + options, + settings + ); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + registryName: string, + name: string, + options?: RegistryDataVersionsListOptionalParams, + settings?: PageSettings + ): AsyncIterableIterator { + let result: RegistryDataVersionsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, registryName, name, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + registryName, + name, + continuationToken, + options + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + registryName: string, + name: string, + options?: RegistryDataVersionsListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + registryName, + name, + options + )) { + yield* page; + } + } + + /** + * List data versions in the data container + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param name Data container's name + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + registryName: string, + name: string, + options?: RegistryDataVersionsListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, name, options }, + listOperationSpec + ); + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param name Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + registryName: string, + name: string, + version: string, + options?: RegistryDataVersionsDeleteOptionalParams + ): 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, registryName, name, version, options }, + deleteOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param name Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + name: string, + version: string, + options?: RegistryDataVersionsDeleteOptionalParams + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + registryName, + name, + version, + options + ); + return poller.pollUntilDone(); + } + + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param name Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + name: string, + version: string, + options?: RegistryDataVersionsGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, name, version, options }, + getOperationSpec + ); + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param name Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + name: string, + version: string, + body: DataVersionBase, + options?: RegistryDataVersionsCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + RegistryDataVersionsCreateOrUpdateResponse + > + > { + 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, registryName, name, version, body, options }, + createOrUpdateOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "azure-async-operation" + }); + await poller.poll(); + return poller; + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param name Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + name: string, + version: string, + body: DataVersionBase, + options?: RegistryDataVersionsCreateOrUpdateOptionalParams + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + registryName, + name, + version, + body, + options + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param name Data container's name + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + registryName: string, + name: string, + nextLink: string, + options?: RegistryDataVersionsListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, name, nextLink, options }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}/versions", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DataVersionBaseResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.orderBy, + Parameters.top, + Parameters.listViewType, + Parameters.tags + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName1, + Parameters.name + ], + headerParameters: [Parameters.accept], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}/versions/{version}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.version, + Parameters.registryName1, + Parameters.name + ], + headerParameters: [Parameters.accept], + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}/versions/{version}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DataVersionBase + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.version, + Parameters.name + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}/versions/{version}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.DataVersionBase + }, + 201: { + bodyMapper: Mappers.DataVersionBase + }, + 202: { + bodyMapper: Mappers.DataVersionBase + }, + 204: { + bodyMapper: Mappers.DataVersionBase + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.body5, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.version, + Parameters.name1 + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DataVersionBaseResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.registryName1, + Parameters.name + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentContainers.ts new file mode 100644 index 000000000000..5ba0f9d754ef --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentContainers.ts @@ -0,0 +1,492 @@ +/* + * 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, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { RegistryEnvironmentContainers } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + EnvironmentContainer, + RegistryEnvironmentContainersListNextOptionalParams, + RegistryEnvironmentContainersListOptionalParams, + RegistryEnvironmentContainersListResponse, + RegistryEnvironmentContainersDeleteOptionalParams, + RegistryEnvironmentContainersGetOptionalParams, + RegistryEnvironmentContainersGetResponse, + RegistryEnvironmentContainersCreateOrUpdateOptionalParams, + RegistryEnvironmentContainersCreateOrUpdateResponse, + RegistryEnvironmentContainersListNextResponse +} from "../models"; + +/// +/** Class containing RegistryEnvironmentContainers operations. */ +export class RegistryEnvironmentContainersImpl + implements RegistryEnvironmentContainers { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class RegistryEnvironmentContainers class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List environment containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + registryName: string, + options?: RegistryEnvironmentContainersListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, registryName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + registryName, + options, + settings + ); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + registryName: string, + options?: RegistryEnvironmentContainersListOptionalParams, + settings?: PageSettings + ): AsyncIterableIterator { + let result: RegistryEnvironmentContainersListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, registryName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + registryName, + continuationToken, + options + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + registryName: string, + options?: RegistryEnvironmentContainersListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + registryName, + options + )) { + yield* page; + } + } + + /** + * List environment containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + registryName: string, + options?: RegistryEnvironmentContainersListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, options }, + listOperationSpec + ); + } + + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param environmentName Container name. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + registryName: string, + environmentName: string, + options?: RegistryEnvironmentContainersDeleteOptionalParams + ): 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, registryName, environmentName, options }, + deleteOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param environmentName Container name. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + environmentName: string, + options?: RegistryEnvironmentContainersDeleteOptionalParams + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + registryName, + environmentName, + options + ); + return poller.pollUntilDone(); + } + + /** + * Get container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param environmentName Container name. This is case-sensitive. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + environmentName: string, + options?: RegistryEnvironmentContainersGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, environmentName, options }, + getOperationSpec + ); + } + + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param environmentName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + environmentName: string, + body: EnvironmentContainer, + options?: RegistryEnvironmentContainersCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + RegistryEnvironmentContainersCreateOrUpdateResponse + > + > { + 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, registryName, environmentName, body, options }, + createOrUpdateOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "original-uri" + }); + await poller.poll(); + return poller; + } + + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param environmentName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + environmentName: string, + body: EnvironmentContainer, + options?: RegistryEnvironmentContainersCreateOrUpdateOptionalParams + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + registryName, + environmentName, + body, + options + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + registryName: string, + nextLink: string, + options?: RegistryEnvironmentContainersListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, nextLink, options }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EnvironmentContainerResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.listViewType + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName + ], + headerParameters: [Parameters.accept], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.environmentName + ], + headerParameters: [Parameters.accept], + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EnvironmentContainer + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.environmentName + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.EnvironmentContainer + }, + 201: { + bodyMapper: Mappers.EnvironmentContainer + }, + 202: { + bodyMapper: Mappers.EnvironmentContainer + }, + 204: { + bodyMapper: Mappers.EnvironmentContainer + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.body6, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.environmentName1 + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EnvironmentContainerResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.registryName + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentVersions.ts new file mode 100644 index 000000000000..2d85f26db9d3 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryEnvironmentVersions.ts @@ -0,0 +1,539 @@ +/* + * 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, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { RegistryEnvironmentVersions } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + EnvironmentVersion, + RegistryEnvironmentVersionsListNextOptionalParams, + RegistryEnvironmentVersionsListOptionalParams, + RegistryEnvironmentVersionsListResponse, + RegistryEnvironmentVersionsDeleteOptionalParams, + RegistryEnvironmentVersionsGetOptionalParams, + RegistryEnvironmentVersionsGetResponse, + RegistryEnvironmentVersionsCreateOrUpdateOptionalParams, + RegistryEnvironmentVersionsCreateOrUpdateResponse, + RegistryEnvironmentVersionsListNextResponse +} from "../models"; + +/// +/** Class containing RegistryEnvironmentVersions operations. */ +export class RegistryEnvironmentVersionsImpl + implements RegistryEnvironmentVersions { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class RegistryEnvironmentVersions class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param environmentName Container name. This is case-sensitive. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + registryName: string, + environmentName: string, + options?: RegistryEnvironmentVersionsListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + registryName, + environmentName, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + registryName, + environmentName, + options, + settings + ); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + registryName: string, + environmentName: string, + options?: RegistryEnvironmentVersionsListOptionalParams, + settings?: PageSettings + ): AsyncIterableIterator { + let result: RegistryEnvironmentVersionsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + registryName, + environmentName, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + registryName, + environmentName, + continuationToken, + options + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + registryName: string, + environmentName: string, + options?: RegistryEnvironmentVersionsListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + registryName, + environmentName, + options + )) { + yield* page; + } + } + + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param environmentName Container name. This is case-sensitive. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + registryName: string, + environmentName: string, + options?: RegistryEnvironmentVersionsListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, environmentName, options }, + listOperationSpec + ); + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param environmentName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + registryName: string, + environmentName: string, + version: string, + options?: RegistryEnvironmentVersionsDeleteOptionalParams + ): 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, registryName, environmentName, version, options }, + deleteOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param environmentName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + environmentName: string, + version: string, + options?: RegistryEnvironmentVersionsDeleteOptionalParams + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + registryName, + environmentName, + version, + options + ); + return poller.pollUntilDone(); + } + + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param environmentName Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + environmentName: string, + version: string, + options?: RegistryEnvironmentVersionsGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, environmentName, version, options }, + getOperationSpec + ); + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param environmentName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + environmentName: string, + version: string, + body: EnvironmentVersion, + options?: RegistryEnvironmentVersionsCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + RegistryEnvironmentVersionsCreateOrUpdateResponse + > + > { + 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, + registryName, + environmentName, + version, + body, + options + }, + createOrUpdateOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "original-uri" + }); + await poller.poll(); + return poller; + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param environmentName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + environmentName: string, + version: string, + body: EnvironmentVersion, + options?: RegistryEnvironmentVersionsCreateOrUpdateOptionalParams + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + registryName, + environmentName, + version, + body, + options + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param environmentName Container name. This is case-sensitive. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + registryName: string, + environmentName: string, + nextLink: string, + options?: RegistryEnvironmentVersionsListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, environmentName, nextLink, options }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}/versions", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EnvironmentVersionResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.orderBy, + Parameters.top, + Parameters.listViewType + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.environmentName + ], + headerParameters: [Parameters.accept], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}/versions/{version}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.version, + Parameters.environmentName + ], + headerParameters: [Parameters.accept], + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}/versions/{version}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EnvironmentVersion + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.version, + Parameters.environmentName + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}/versions/{version}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.EnvironmentVersion + }, + 201: { + bodyMapper: Mappers.EnvironmentVersion + }, + 202: { + bodyMapper: Mappers.EnvironmentVersion + }, + 204: { + bodyMapper: Mappers.EnvironmentVersion + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.body7, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.version, + Parameters.environmentName1 + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.EnvironmentVersionResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.registryName, + Parameters.environmentName + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryModelContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryModelContainers.ts new file mode 100644 index 000000000000..9d6f145e4d4c --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryModelContainers.ts @@ -0,0 +1,491 @@ +/* + * 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, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { RegistryModelContainers } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + ModelContainer, + RegistryModelContainersListNextOptionalParams, + RegistryModelContainersListOptionalParams, + RegistryModelContainersListResponse, + RegistryModelContainersDeleteOptionalParams, + RegistryModelContainersGetOptionalParams, + RegistryModelContainersGetResponse, + RegistryModelContainersCreateOrUpdateOptionalParams, + RegistryModelContainersCreateOrUpdateResponse, + RegistryModelContainersListNextResponse +} from "../models"; + +/// +/** Class containing RegistryModelContainers operations. */ +export class RegistryModelContainersImpl implements RegistryModelContainers { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class RegistryModelContainers class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List model containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + registryName: string, + options?: RegistryModelContainersListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, registryName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + registryName, + options, + settings + ); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + registryName: string, + options?: RegistryModelContainersListOptionalParams, + settings?: PageSettings + ): AsyncIterableIterator { + let result: RegistryModelContainersListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, registryName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + registryName, + continuationToken, + options + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + registryName: string, + options?: RegistryModelContainersListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + registryName, + options + )) { + yield* page; + } + } + + /** + * List model containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + registryName: string, + options?: RegistryModelContainersListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, options }, + listOperationSpec + ); + } + + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param modelName Container name. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + registryName: string, + modelName: string, + options?: RegistryModelContainersDeleteOptionalParams + ): 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, registryName, modelName, options }, + deleteOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param modelName Container name. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + modelName: string, + options?: RegistryModelContainersDeleteOptionalParams + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + registryName, + modelName, + options + ); + return poller.pollUntilDone(); + } + + /** + * Get container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param modelName Container name. This is case-sensitive. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + modelName: string, + options?: RegistryModelContainersGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, modelName, options }, + getOperationSpec + ); + } + + /** + * Create or update model container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param modelName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + modelName: string, + body: ModelContainer, + options?: RegistryModelContainersCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + RegistryModelContainersCreateOrUpdateResponse + > + > { + 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, registryName, modelName, body, options }, + createOrUpdateOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "original-uri" + }); + await poller.poll(); + return poller; + } + + /** + * Create or update model container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param modelName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + modelName: string, + body: ModelContainer, + options?: RegistryModelContainersCreateOrUpdateOptionalParams + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + registryName, + modelName, + body, + options + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + registryName: string, + nextLink: string, + options?: RegistryModelContainersListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, nextLink, options }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ModelContainerResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.listViewType + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName + ], + headerParameters: [Parameters.accept], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.modelName + ], + headerParameters: [Parameters.accept], + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ModelContainer + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.modelName + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.ModelContainer + }, + 201: { + bodyMapper: Mappers.ModelContainer + }, + 202: { + bodyMapper: Mappers.ModelContainer + }, + 204: { + bodyMapper: Mappers.ModelContainer + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.body8, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.modelName1 + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ModelContainerResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.registryName + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/registryModelVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operations/registryModelVersions.ts new file mode 100644 index 000000000000..32e88fcfa7e4 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operations/registryModelVersions.ts @@ -0,0 +1,535 @@ +/* + * 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, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { RegistryModelVersions } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { AzureMachineLearningServices } from "../azureMachineLearningServices"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + ModelVersion, + RegistryModelVersionsListNextOptionalParams, + RegistryModelVersionsListOptionalParams, + RegistryModelVersionsListResponse, + RegistryModelVersionsDeleteOptionalParams, + RegistryModelVersionsGetOptionalParams, + RegistryModelVersionsGetResponse, + RegistryModelVersionsCreateOrUpdateOptionalParams, + RegistryModelVersionsCreateOrUpdateResponse, + RegistryModelVersionsListNextResponse +} from "../models"; + +/// +/** Class containing RegistryModelVersions operations. */ +export class RegistryModelVersionsImpl implements RegistryModelVersions { + private readonly client: AzureMachineLearningServices; + + /** + * Initialize a new instance of the class RegistryModelVersions class. + * @param client Reference to the service client + */ + constructor(client: AzureMachineLearningServices) { + this.client = client; + } + + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param modelName Container name. This is case-sensitive. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + registryName: string, + modelName: string, + options?: RegistryModelVersionsListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + registryName, + modelName, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + registryName, + modelName, + options, + settings + ); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + registryName: string, + modelName: string, + options?: RegistryModelVersionsListOptionalParams, + settings?: PageSettings + ): AsyncIterableIterator { + let result: RegistryModelVersionsListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list( + resourceGroupName, + registryName, + modelName, + options + ); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + registryName, + modelName, + continuationToken, + options + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + registryName: string, + modelName: string, + options?: RegistryModelVersionsListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + registryName, + modelName, + options + )) { + yield* page; + } + } + + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param modelName Container name. This is case-sensitive. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + registryName: string, + modelName: string, + options?: RegistryModelVersionsListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, modelName, options }, + listOperationSpec + ); + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param modelName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + registryName: string, + modelName: string, + version: string, + options?: RegistryModelVersionsDeleteOptionalParams + ): 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, registryName, modelName, version, options }, + deleteOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param modelName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + modelName: string, + version: string, + options?: RegistryModelVersionsDeleteOptionalParams + ): Promise { + const poller = await this.beginDelete( + resourceGroupName, + registryName, + modelName, + version, + options + ); + return poller.pollUntilDone(); + } + + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param modelName Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + modelName: string, + version: string, + options?: RegistryModelVersionsGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, modelName, version, options }, + getOperationSpec + ); + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param modelName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + modelName: string, + version: string, + body: ModelVersion, + options?: RegistryModelVersionsCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + RegistryModelVersionsCreateOrUpdateResponse + > + > { + 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, registryName, modelName, version, body, options }, + createOrUpdateOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "original-uri" + }); + await poller.poll(); + return poller; + } + + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param modelName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + modelName: string, + version: string, + body: ModelVersion, + options?: RegistryModelVersionsCreateOrUpdateOptionalParams + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + registryName, + modelName, + version, + body, + options + ); + return poller.pollUntilDone(); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param modelName Container name. This is case-sensitive. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + registryName: string, + modelName: string, + nextLink: string, + options?: RegistryModelVersionsListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, registryName, modelName, nextLink, options }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ModelVersionResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.skip, + Parameters.orderBy, + Parameters.top, + Parameters.listViewType, + Parameters.version1, + Parameters.description, + Parameters.tags1, + Parameters.properties1 + ], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.modelName + ], + headerParameters: [Parameters.accept], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions/{version}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.version, + Parameters.modelName + ], + headerParameters: [Parameters.accept], + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions/{version}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ModelVersion + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.version, + Parameters.modelName + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions/{version}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.ModelVersion + }, + 201: { + bodyMapper: Mappers.ModelVersion + }, + 202: { + bodyMapper: Mappers.ModelVersion + }, + 204: { + bodyMapper: Mappers.ModelVersion + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.body9, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.registryName, + Parameters.version, + Parameters.modelName1 + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ModelVersionResourceArmPaginatedResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.registryName, + Parameters.modelName + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/schedules.ts b/sdk/machinelearning/arm-machinelearning/src/operations/schedules.ts index e50c9ecb7227..89425847c01d 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/schedules.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/schedules.ts @@ -12,7 +12,7 @@ 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; import { LroImpl } from "../lroImpl"; import { @@ -31,13 +31,13 @@ import { /// /** Class containing Schedules operations. */ export class SchedulesImpl implements Schedules { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class Schedules class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -453,7 +453,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.body21, + requestBody: Parameters.body30, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -477,11 +477,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.skip, - Parameters.listViewType1 - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/usages.ts b/sdk/machinelearning/arm-machinelearning/src/operations/usages.ts index d3abf9d81047..bc019912d0ec 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/usages.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/usages.ts @@ -12,7 +12,7 @@ import { Usages } 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { Usage, UsagesListNextOptionalParams, @@ -24,13 +24,13 @@ import { /// /** Class containing Usages operations. */ export class UsagesImpl implements Usages { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class Usages class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -161,7 +161,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/virtualMachineSizes.ts b/sdk/machinelearning/arm-machinelearning/src/operations/virtualMachineSizes.ts index 1b937ab98879..c393dc0a01e7 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/virtualMachineSizes.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/virtualMachineSizes.ts @@ -10,7 +10,7 @@ import { VirtualMachineSizes } 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { VirtualMachineSizesListOptionalParams, VirtualMachineSizesListResponse @@ -18,13 +18,13 @@ import { /** Class containing VirtualMachineSizes operations. */ export class VirtualMachineSizesImpl implements VirtualMachineSizes { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class VirtualMachineSizes class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts index ec30dfa77d23..2c473463ac4e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceConnections.ts @@ -12,7 +12,7 @@ import { WorkspaceConnections } 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { WorkspaceConnectionPropertiesV2BasicResource, WorkspaceConnectionsListNextOptionalParams, @@ -29,13 +29,13 @@ import { /// /** Class containing WorkspaceConnections operations. */ export class WorkspaceConnectionsImpl implements WorkspaceConnections { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class WorkspaceConnections class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -220,7 +220,7 @@ const createOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters6, + requestBody: Parameters.parameters7, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -317,11 +317,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [ - Parameters.apiVersion, - Parameters.target, - Parameters.category - ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceFeatures.ts b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceFeatures.ts index 2dfb2a4b8794..38dd38e4715a 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/workspaceFeatures.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/workspaceFeatures.ts @@ -12,7 +12,7 @@ import { WorkspaceFeatures } 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { AmlUserFeature, WorkspaceFeaturesListNextOptionalParams, @@ -24,13 +24,13 @@ import { /// /** Class containing WorkspaceFeatures operations. */ export class WorkspaceFeaturesImpl implements WorkspaceFeatures { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class WorkspaceFeatures class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -182,7 +182,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/machinelearning/arm-machinelearning/src/operations/workspaces.ts b/sdk/machinelearning/arm-machinelearning/src/operations/workspaces.ts index c9cbd5890ede..e272f2cbd186 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operations/workspaces.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operations/workspaces.ts @@ -12,7 +12,7 @@ import { Workspaces } 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 { AzureMachineLearningServices } from "../azureMachineLearningServices"; import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; import { LroImpl } from "../lroImpl"; import { @@ -53,13 +53,13 @@ import { /// /** Class containing Workspaces operations. */ export class WorkspacesImpl implements Workspaces { - private readonly client: AzureMachineLearningWorkspaces; + private readonly client: AzureMachineLearningServices; /** * Initialize a new instance of the class Workspaces class. * @param client Reference to the service client */ - constructor(client: AzureMachineLearningWorkspaces) { + constructor(client: AzureMachineLearningServices) { this.client = client; } @@ -1236,7 +1236,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.skip], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1257,7 +1256,6 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.skip], urlParameters: [ Parameters.$host, Parameters.subscriptionId, 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/featuresetContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featuresetContainers.ts new file mode 100644 index 000000000000..f8f8b387b2f5 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featuresetContainers.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 { + FeaturesetContainer, + FeaturesetContainersListOptionalParams, + FeaturesetContainersDeleteOptionalParams, + FeaturesetContainersGetEntityOptionalParams, + FeaturesetContainersGetEntityResponse, + FeaturesetContainersCreateOrUpdateOptionalParams, + FeaturesetContainersCreateOrUpdateResponse +} from "../models"; + +/// +/** Interface representing a FeaturesetContainers. */ +export interface FeaturesetContainers { + /** + * List featurestore entity containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: FeaturesetContainersListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturesetContainersDeleteOptionalParams + ): Promise, void>>; + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturesetContainersDeleteOptionalParams + ): Promise; + /** + * Get container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param options The options parameters. + */ + getEntity( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturesetContainersGetEntityOptionalParams + ): Promise; + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + name: string, + body: FeaturesetContainer, + options?: FeaturesetContainersCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + FeaturesetContainersCreateOrUpdateResponse + > + >; + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + body: FeaturesetContainer, + options?: FeaturesetContainersCreateOrUpdateOptionalParams + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featuresetVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featuresetVersions.ts new file mode 100644 index 000000000000..bff9d71a4269 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featuresetVersions.ts @@ -0,0 +1,217 @@ +/* + * 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 { + FeaturesetVersion, + FeaturesetVersionsListOptionalParams, + Feature, + FeaturesetVersionsListFeaturesOptionalParams, + FeaturesetJob, + FeaturesetVersionsListMaterializationJobsOptionalParams, + FeaturesetVersionsDeleteOptionalParams, + FeaturesetVersionsGetOptionalParams, + FeaturesetVersionsGetResponse, + FeaturesetVersionsCreateOrUpdateOptionalParams, + FeaturesetVersionsCreateOrUpdateResponse, + FeaturesetVersionBackfillRequest, + FeaturesetVersionsBackfillOptionalParams, + FeaturesetVersionsBackfillResponse, + GetFeatureRequest, + FeaturesetVersionsGetFeatureOptionalParams, + FeaturesetVersionsGetFeatureResponse +} from "../models"; + +/// +/** Interface representing a FeaturesetVersions. */ +export interface FeaturesetVersions { + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Featureset name. This is case-sensitive. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturesetVersionsListOptionalParams + ): PagedAsyncIterableIterator; + /** + * List Features. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Featureset name. This is case-sensitive. + * @param version Featureset Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + listFeatures( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturesetVersionsListFeaturesOptionalParams + ): PagedAsyncIterableIterator; + /** + * List materialization Jobs. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + listMaterializationJobs( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturesetVersionsListMaterializationJobsOptionalParams + ): PagedAsyncIterableIterator; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturesetVersionsDeleteOptionalParams + ): Promise, void>>; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturesetVersionsDeleteOptionalParams + ): Promise; + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturesetVersionsGetOptionalParams + ): Promise; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: FeaturesetVersion, + options?: FeaturesetVersionsCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + FeaturesetVersionsCreateOrUpdateResponse + > + >; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: FeaturesetVersion, + options?: FeaturesetVersionsCreateOrUpdateOptionalParams + ): Promise; + /** + * Backfill. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Feature set version backfill request entity. + * @param options The options parameters. + */ + beginBackfill( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: FeaturesetVersionBackfillRequest, + options?: FeaturesetVersionsBackfillOptionalParams + ): Promise< + PollerLike< + PollOperationState, + FeaturesetVersionsBackfillResponse + > + >; + /** + * Backfill. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Feature set version backfill request entity. + * @param options The options parameters. + */ + beginBackfillAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: FeaturesetVersionBackfillRequest, + options?: FeaturesetVersionsBackfillOptionalParams + ): Promise; + /** + * Get feature. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Feature set name. This is case-sensitive. + * @param version Feature set version identifier. This is case-sensitive. + * @param body Feature Name request. This is case-sensitive. + * @param options The options parameters. + */ + getFeature( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: GetFeatureRequest, + options?: FeaturesetVersionsGetFeatureOptionalParams + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featurestoreEntityContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featurestoreEntityContainers.ts new file mode 100644 index 000000000000..09164c78a204 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featurestoreEntityContainers.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 { + FeaturestoreEntityContainer, + FeaturestoreEntityContainersListOptionalParams, + FeaturestoreEntityContainersDeleteOptionalParams, + FeaturestoreEntityContainersGetEntityOptionalParams, + FeaturestoreEntityContainersGetEntityResponse, + FeaturestoreEntityContainersCreateOrUpdateOptionalParams, + FeaturestoreEntityContainersCreateOrUpdateResponse +} from "../models"; + +/// +/** Interface representing a FeaturestoreEntityContainers. */ +export interface FeaturestoreEntityContainers { + /** + * List featurestore entity containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: FeaturestoreEntityContainersListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturestoreEntityContainersDeleteOptionalParams + ): Promise, void>>; + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturestoreEntityContainersDeleteOptionalParams + ): Promise; + /** + * Get container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param options The options parameters. + */ + getEntity( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturestoreEntityContainersGetEntityOptionalParams + ): Promise; + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + name: string, + body: FeaturestoreEntityContainer, + options?: FeaturestoreEntityContainersCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + FeaturestoreEntityContainersCreateOrUpdateResponse + > + >; + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + body: FeaturestoreEntityContainer, + options?: FeaturestoreEntityContainersCreateOrUpdateOptionalParams + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featurestoreEntityVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featurestoreEntityVersions.ts new file mode 100644 index 000000000000..5db686745f30 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/featurestoreEntityVersions.ts @@ -0,0 +1,121 @@ +/* + * 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 { + FeaturestoreEntityVersion, + FeaturestoreEntityVersionsListOptionalParams, + FeaturestoreEntityVersionsDeleteOptionalParams, + FeaturestoreEntityVersionsGetOptionalParams, + FeaturestoreEntityVersionsGetResponse, + FeaturestoreEntityVersionsCreateOrUpdateOptionalParams, + FeaturestoreEntityVersionsCreateOrUpdateResponse +} from "../models"; + +/// +/** Interface representing a FeaturestoreEntityVersions. */ +export interface FeaturestoreEntityVersions { + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Feature entity name. This is case-sensitive. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + name: string, + options?: FeaturestoreEntityVersionsListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturestoreEntityVersionsDeleteOptionalParams + ): Promise, void>>; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturestoreEntityVersionsDeleteOptionalParams + ): Promise; + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + options?: FeaturestoreEntityVersionsGetOptionalParams + ): Promise; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: FeaturestoreEntityVersion, + options?: FeaturestoreEntityVersionsCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + FeaturestoreEntityVersionsCreateOrUpdateResponse + > + >; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: FeaturestoreEntityVersion, + options?: FeaturestoreEntityVersionsCreateOrUpdateOptionalParams + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts index 5c0eba4f45e0..f398830cb56f 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/index.ts @@ -15,6 +15,16 @@ export * from "./computeOperations"; export * from "./privateEndpointConnections"; export * from "./privateLinkResources"; export * from "./workspaceConnections"; +export * from "./registryCodeContainers"; +export * from "./registryCodeVersions"; +export * from "./registryComponentContainers"; +export * from "./registryComponentVersions"; +export * from "./registryDataContainers"; +export * from "./registryDataVersions"; +export * from "./registryEnvironmentContainers"; +export * from "./registryEnvironmentVersions"; +export * from "./registryModelContainers"; +export * from "./registryModelVersions"; export * from "./batchEndpoints"; export * from "./batchDeployments"; export * from "./codeContainers"; @@ -26,10 +36,16 @@ export * from "./dataVersions"; export * from "./datastores"; export * from "./environmentContainers"; export * from "./environmentVersions"; +export * from "./featuresetContainers"; +export * from "./featuresetVersions"; +export * from "./featurestoreEntityContainers"; +export * from "./featurestoreEntityVersions"; export * from "./jobs"; +export * from "./labelingJobs"; export * from "./modelContainers"; export * from "./modelVersions"; export * from "./onlineEndpoints"; export * from "./onlineDeployments"; export * from "./schedules"; +export * from "./registries"; 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/modelVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/modelVersions.ts index 14cf3f6fa73c..81f0fc55c39e 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/modelVersions.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/modelVersions.ts @@ -7,6 +7,7 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PollerLike, PollOperationState } from "@azure/core-lro"; import { ModelVersion, ModelVersionsListOptionalParams, @@ -14,7 +15,9 @@ import { ModelVersionsGetOptionalParams, ModelVersionsGetResponse, ModelVersionsCreateOrUpdateOptionalParams, - ModelVersionsCreateOrUpdateResponse + ModelVersionsCreateOrUpdateResponse, + ModelVersionsPackageOptionalParams, + ModelVersionsPackageResponse } from "../models"; /// @@ -80,4 +83,43 @@ export interface ModelVersions { body: ModelVersion, options?: ModelVersionsCreateOrUpdateOptionalParams ): Promise; + /** + * Model Version Package operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Package operation request body. + * @param options The options parameters. + */ + beginPackage( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: any, + options?: ModelVersionsPackageOptionalParams + ): Promise< + PollerLike< + PollOperationState, + ModelVersionsPackageResponse + > + >; + /** + * Model Version Package operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName Name of Azure Machine Learning workspace. + * @param name Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param body Package operation request body. + * @param options The options parameters. + */ + beginPackageAndWait( + resourceGroupName: string, + workspaceName: string, + name: string, + version: string, + body: any, + options?: ModelVersionsPackageOptionalParams + ): Promise; } diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts index b36bbe2a8d98..01963c684fd7 100644 --- a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/operations.ts @@ -13,7 +13,7 @@ import { AmlOperation, OperationsListOptionalParams } from "../models"; /** Interface representing a Operations. */ export interface Operations { /** - * Lists all of the available Azure Machine Learning Workspaces REST API operations. + * Lists all of the available Azure Machine Learning Services REST API operations. * @param options The options parameters. */ list( diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registries.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registries.ts new file mode 100644 index 000000000000..4c84b1ef5ae2 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registries.ts @@ -0,0 +1,139 @@ +/* + * 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 { + Registry, + RegistriesListBySubscriptionOptionalParams, + RegistriesListOptionalParams, + RegistriesDeleteOptionalParams, + RegistriesGetOptionalParams, + RegistriesGetResponse, + PartialRegistryPartialTrackedResource, + RegistriesUpdateOptionalParams, + RegistriesUpdateResponse, + RegistriesCreateOrUpdateOptionalParams, + RegistriesCreateOrUpdateResponse +} from "../models"; + +/// +/** Interface representing a Registries. */ +export interface Registries { + /** + * List registries by subscription + * @param options The options parameters. + */ + listBySubscription( + options?: RegistriesListBySubscriptionOptionalParams + ): PagedAsyncIterableIterator; + /** + * List registries + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + options?: RegistriesListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Delete registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of registry. This is case-insensitive + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + registryName: string, + options?: RegistriesDeleteOptionalParams + ): Promise, void>>; + /** + * Delete registry. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of registry. This is case-insensitive + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + options?: RegistriesDeleteOptionalParams + ): Promise; + /** + * Get registry + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of registry. This is case-insensitive + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + options?: RegistriesGetOptionalParams + ): Promise; + /** + * Update tags + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of registry. This is case-insensitive + * @param body Details required to create the registry. + * @param options The options parameters. + */ + beginUpdate( + resourceGroupName: string, + registryName: string, + body: PartialRegistryPartialTrackedResource, + options?: RegistriesUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + RegistriesUpdateResponse + > + >; + /** + * Update tags + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of registry. This is case-insensitive + * @param body Details required to create the registry. + * @param options The options parameters. + */ + beginUpdateAndWait( + resourceGroupName: string, + registryName: string, + body: PartialRegistryPartialTrackedResource, + options?: RegistriesUpdateOptionalParams + ): Promise; + /** + * Create or update registry + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of registry. This is case-insensitive + * @param body Details required to create the registry. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + body: Registry, + options?: RegistriesCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + RegistriesCreateOrUpdateResponse + > + >; + /** + * Create or update registry + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of registry. This is case-insensitive + * @param body Details required to create the registry. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + body: Registry, + options?: RegistriesCreateOrUpdateOptionalParams + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryCodeContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryCodeContainers.ts new file mode 100644 index 000000000000..dfd12c9447af --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryCodeContainers.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 { + CodeContainer, + RegistryCodeContainersListOptionalParams, + RegistryCodeContainersDeleteOptionalParams, + RegistryCodeContainersGetOptionalParams, + RegistryCodeContainersGetResponse, + RegistryCodeContainersCreateOrUpdateOptionalParams, + RegistryCodeContainersCreateOrUpdateResponse +} from "../models"; + +/// +/** Interface representing a RegistryCodeContainers. */ +export interface RegistryCodeContainers { + /** + * List containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + registryName: string, + options?: RegistryCodeContainersListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param codeName Container name. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + registryName: string, + codeName: string, + options?: RegistryCodeContainersDeleteOptionalParams + ): Promise, void>>; + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param codeName Container name. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + codeName: string, + options?: RegistryCodeContainersDeleteOptionalParams + ): Promise; + /** + * Get container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param codeName Container name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + codeName: string, + options?: RegistryCodeContainersGetOptionalParams + ): Promise; + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param codeName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + codeName: string, + body: CodeContainer, + options?: RegistryCodeContainersCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + RegistryCodeContainersCreateOrUpdateResponse + > + >; + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param codeName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + codeName: string, + body: CodeContainer, + options?: RegistryCodeContainersCreateOrUpdateOptionalParams + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryCodeVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryCodeVersions.ts new file mode 100644 index 000000000000..e2c6b210066b --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryCodeVersions.ts @@ -0,0 +1,121 @@ +/* + * 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 { + CodeVersion, + RegistryCodeVersionsListOptionalParams, + RegistryCodeVersionsDeleteOptionalParams, + RegistryCodeVersionsGetOptionalParams, + RegistryCodeVersionsGetResponse, + RegistryCodeVersionsCreateOrUpdateOptionalParams, + RegistryCodeVersionsCreateOrUpdateResponse +} from "../models"; + +/// +/** Interface representing a RegistryCodeVersions. */ +export interface RegistryCodeVersions { + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param codeName Container name. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + registryName: string, + codeName: string, + options?: RegistryCodeVersionsListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param codeName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + registryName: string, + codeName: string, + version: string, + options?: RegistryCodeVersionsDeleteOptionalParams + ): Promise, void>>; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param codeName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + codeName: string, + version: string, + options?: RegistryCodeVersionsDeleteOptionalParams + ): Promise; + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param codeName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + codeName: string, + version: string, + options?: RegistryCodeVersionsGetOptionalParams + ): Promise; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param codeName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + codeName: string, + version: string, + body: CodeVersion, + options?: RegistryCodeVersionsCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + RegistryCodeVersionsCreateOrUpdateResponse + > + >; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param codeName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + codeName: string, + version: string, + body: CodeVersion, + options?: RegistryCodeVersionsCreateOrUpdateOptionalParams + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryComponentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryComponentContainers.ts new file mode 100644 index 000000000000..15bf919ab2c5 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryComponentContainers.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 { + ComponentContainer, + RegistryComponentContainersListOptionalParams, + RegistryComponentContainersDeleteOptionalParams, + RegistryComponentContainersGetOptionalParams, + RegistryComponentContainersGetResponse, + RegistryComponentContainersCreateOrUpdateOptionalParams, + RegistryComponentContainersCreateOrUpdateResponse +} from "../models"; + +/// +/** Interface representing a RegistryComponentContainers. */ +export interface RegistryComponentContainers { + /** + * List containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + registryName: string, + options?: RegistryComponentContainersListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param componentName Container name. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + registryName: string, + componentName: string, + options?: RegistryComponentContainersDeleteOptionalParams + ): Promise, void>>; + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param componentName Container name. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + componentName: string, + options?: RegistryComponentContainersDeleteOptionalParams + ): Promise; + /** + * Get container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param componentName Container name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + componentName: string, + options?: RegistryComponentContainersGetOptionalParams + ): Promise; + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param componentName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + componentName: string, + body: ComponentContainer, + options?: RegistryComponentContainersCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + RegistryComponentContainersCreateOrUpdateResponse + > + >; + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param componentName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + componentName: string, + body: ComponentContainer, + options?: RegistryComponentContainersCreateOrUpdateOptionalParams + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryComponentVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryComponentVersions.ts new file mode 100644 index 000000000000..4d9e3ffcd1d4 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryComponentVersions.ts @@ -0,0 +1,121 @@ +/* + * 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 { + ComponentVersion, + RegistryComponentVersionsListOptionalParams, + RegistryComponentVersionsDeleteOptionalParams, + RegistryComponentVersionsGetOptionalParams, + RegistryComponentVersionsGetResponse, + RegistryComponentVersionsCreateOrUpdateOptionalParams, + RegistryComponentVersionsCreateOrUpdateResponse +} from "../models"; + +/// +/** Interface representing a RegistryComponentVersions. */ +export interface RegistryComponentVersions { + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param componentName Container name. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + registryName: string, + componentName: string, + options?: RegistryComponentVersionsListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param componentName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + registryName: string, + componentName: string, + version: string, + options?: RegistryComponentVersionsDeleteOptionalParams + ): Promise, void>>; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param componentName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + componentName: string, + version: string, + options?: RegistryComponentVersionsDeleteOptionalParams + ): Promise; + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param componentName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + componentName: string, + version: string, + options?: RegistryComponentVersionsGetOptionalParams + ): Promise; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param componentName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + componentName: string, + version: string, + body: ComponentVersion, + options?: RegistryComponentVersionsCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + RegistryComponentVersionsCreateOrUpdateResponse + > + >; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param componentName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + componentName: string, + version: string, + body: ComponentVersion, + options?: RegistryComponentVersionsCreateOrUpdateOptionalParams + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryDataContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryDataContainers.ts new file mode 100644 index 000000000000..6c00dd3352cb --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryDataContainers.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 { + DataContainer, + RegistryDataContainersListOptionalParams, + RegistryDataContainersDeleteOptionalParams, + RegistryDataContainersGetOptionalParams, + RegistryDataContainersGetResponse, + RegistryDataContainersCreateOrUpdateOptionalParams, + RegistryDataContainersCreateOrUpdateResponse +} from "../models"; + +/// +/** Interface representing a RegistryDataContainers. */ +export interface RegistryDataContainers { + /** + * List containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + registryName: string, + options?: RegistryDataContainersListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param name Container name. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + registryName: string, + name: string, + options?: RegistryDataContainersDeleteOptionalParams + ): Promise, void>>; + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param name Container name. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + name: string, + options?: RegistryDataContainersDeleteOptionalParams + ): Promise; + /** + * Get container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param name Container name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + name: string, + options?: RegistryDataContainersGetOptionalParams + ): Promise; + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param name Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + name: string, + body: DataContainer, + options?: RegistryDataContainersCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + RegistryDataContainersCreateOrUpdateResponse + > + >; + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param name Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + name: string, + body: DataContainer, + options?: RegistryDataContainersCreateOrUpdateOptionalParams + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryDataVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryDataVersions.ts new file mode 100644 index 000000000000..59ca335c1cc1 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryDataVersions.ts @@ -0,0 +1,121 @@ +/* + * 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 { + DataVersionBase, + RegistryDataVersionsListOptionalParams, + RegistryDataVersionsDeleteOptionalParams, + RegistryDataVersionsGetOptionalParams, + RegistryDataVersionsGetResponse, + RegistryDataVersionsCreateOrUpdateOptionalParams, + RegistryDataVersionsCreateOrUpdateResponse +} from "../models"; + +/// +/** Interface representing a RegistryDataVersions. */ +export interface RegistryDataVersions { + /** + * List data versions in the data container + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param name Data container's name + * @param options The options parameters. + */ + list( + resourceGroupName: string, + registryName: string, + name: string, + options?: RegistryDataVersionsListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param name Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + registryName: string, + name: string, + version: string, + options?: RegistryDataVersionsDeleteOptionalParams + ): Promise, void>>; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param name Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + name: string, + version: string, + options?: RegistryDataVersionsDeleteOptionalParams + ): Promise; + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param name Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + name: string, + version: string, + options?: RegistryDataVersionsGetOptionalParams + ): Promise; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param name Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + name: string, + version: string, + body: DataVersionBase, + options?: RegistryDataVersionsCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + RegistryDataVersionsCreateOrUpdateResponse + > + >; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param name Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + name: string, + version: string, + body: DataVersionBase, + options?: RegistryDataVersionsCreateOrUpdateOptionalParams + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryEnvironmentContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryEnvironmentContainers.ts new file mode 100644 index 000000000000..e93fae1c9590 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryEnvironmentContainers.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 { + EnvironmentContainer, + RegistryEnvironmentContainersListOptionalParams, + RegistryEnvironmentContainersDeleteOptionalParams, + RegistryEnvironmentContainersGetOptionalParams, + RegistryEnvironmentContainersGetResponse, + RegistryEnvironmentContainersCreateOrUpdateOptionalParams, + RegistryEnvironmentContainersCreateOrUpdateResponse +} from "../models"; + +/// +/** Interface representing a RegistryEnvironmentContainers. */ +export interface RegistryEnvironmentContainers { + /** + * List environment containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + registryName: string, + options?: RegistryEnvironmentContainersListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param environmentName Container name. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + registryName: string, + environmentName: string, + options?: RegistryEnvironmentContainersDeleteOptionalParams + ): Promise, void>>; + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param environmentName Container name. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + environmentName: string, + options?: RegistryEnvironmentContainersDeleteOptionalParams + ): Promise; + /** + * Get container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param environmentName Container name. This is case-sensitive. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + environmentName: string, + options?: RegistryEnvironmentContainersGetOptionalParams + ): Promise; + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param environmentName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + environmentName: string, + body: EnvironmentContainer, + options?: RegistryEnvironmentContainersCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + RegistryEnvironmentContainersCreateOrUpdateResponse + > + >; + /** + * Create or update container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param environmentName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + environmentName: string, + body: EnvironmentContainer, + options?: RegistryEnvironmentContainersCreateOrUpdateOptionalParams + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryEnvironmentVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryEnvironmentVersions.ts new file mode 100644 index 000000000000..8e685338d85e --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryEnvironmentVersions.ts @@ -0,0 +1,121 @@ +/* + * 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 { + EnvironmentVersion, + RegistryEnvironmentVersionsListOptionalParams, + RegistryEnvironmentVersionsDeleteOptionalParams, + RegistryEnvironmentVersionsGetOptionalParams, + RegistryEnvironmentVersionsGetResponse, + RegistryEnvironmentVersionsCreateOrUpdateOptionalParams, + RegistryEnvironmentVersionsCreateOrUpdateResponse +} from "../models"; + +/// +/** Interface representing a RegistryEnvironmentVersions. */ +export interface RegistryEnvironmentVersions { + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param environmentName Container name. This is case-sensitive. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + registryName: string, + environmentName: string, + options?: RegistryEnvironmentVersionsListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param environmentName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + registryName: string, + environmentName: string, + version: string, + options?: RegistryEnvironmentVersionsDeleteOptionalParams + ): Promise, void>>; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param environmentName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + environmentName: string, + version: string, + options?: RegistryEnvironmentVersionsDeleteOptionalParams + ): Promise; + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param environmentName Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + environmentName: string, + version: string, + options?: RegistryEnvironmentVersionsGetOptionalParams + ): Promise; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param environmentName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + environmentName: string, + version: string, + body: EnvironmentVersion, + options?: RegistryEnvironmentVersionsCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + RegistryEnvironmentVersionsCreateOrUpdateResponse + > + >; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param environmentName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + environmentName: string, + version: string, + body: EnvironmentVersion, + options?: RegistryEnvironmentVersionsCreateOrUpdateOptionalParams + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryModelContainers.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryModelContainers.ts new file mode 100644 index 000000000000..1d62b6daad07 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryModelContainers.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 { + ModelContainer, + RegistryModelContainersListOptionalParams, + RegistryModelContainersDeleteOptionalParams, + RegistryModelContainersGetOptionalParams, + RegistryModelContainersGetResponse, + RegistryModelContainersCreateOrUpdateOptionalParams, + RegistryModelContainersCreateOrUpdateResponse +} from "../models"; + +/// +/** Interface representing a RegistryModelContainers. */ +export interface RegistryModelContainers { + /** + * List model containers. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + registryName: string, + options?: RegistryModelContainersListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param modelName Container name. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + registryName: string, + modelName: string, + options?: RegistryModelContainersDeleteOptionalParams + ): Promise, void>>; + /** + * Delete container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param modelName Container name. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + modelName: string, + options?: RegistryModelContainersDeleteOptionalParams + ): Promise; + /** + * Get container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param modelName Container name. This is case-sensitive. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + modelName: string, + options?: RegistryModelContainersGetOptionalParams + ): Promise; + /** + * Create or update model container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param modelName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + modelName: string, + body: ModelContainer, + options?: RegistryModelContainersCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + RegistryModelContainersCreateOrUpdateResponse + > + >; + /** + * Create or update model container. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param modelName Container name. + * @param body Container entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + modelName: string, + body: ModelContainer, + options?: RegistryModelContainersCreateOrUpdateOptionalParams + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryModelVersions.ts b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryModelVersions.ts new file mode 100644 index 000000000000..410a42d00c24 --- /dev/null +++ b/sdk/machinelearning/arm-machinelearning/src/operationsInterfaces/registryModelVersions.ts @@ -0,0 +1,121 @@ +/* + * 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 { + ModelVersion, + RegistryModelVersionsListOptionalParams, + RegistryModelVersionsDeleteOptionalParams, + RegistryModelVersionsGetOptionalParams, + RegistryModelVersionsGetResponse, + RegistryModelVersionsCreateOrUpdateOptionalParams, + RegistryModelVersionsCreateOrUpdateResponse +} from "../models"; + +/// +/** Interface representing a RegistryModelVersions. */ +export interface RegistryModelVersions { + /** + * List versions. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param modelName Container name. This is case-sensitive. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + registryName: string, + modelName: string, + options?: RegistryModelVersionsListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param modelName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + registryName: string, + modelName: string, + version: string, + options?: RegistryModelVersionsDeleteOptionalParams + ): Promise, void>>; + /** + * Delete version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param modelName Container name. + * @param version Version identifier. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + registryName: string, + modelName: string, + version: string, + options?: RegistryModelVersionsDeleteOptionalParams + ): Promise; + /** + * Get version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param modelName Container name. This is case-sensitive. + * @param version Version identifier. This is case-sensitive. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + registryName: string, + modelName: string, + version: string, + options?: RegistryModelVersionsGetOptionalParams + ): Promise; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param modelName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + registryName: string, + modelName: string, + version: string, + body: ModelVersion, + options?: RegistryModelVersionsCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + RegistryModelVersionsCreateOrUpdateResponse + > + >; + /** + * Create or update version. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param registryName Name of Azure Machine Learning registry. + * @param modelName Container name. + * @param version Version identifier. + * @param body Version entity to create or update. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + registryName: string, + modelName: string, + version: string, + body: ModelVersion, + options?: RegistryModelVersionsCreateOrUpdateOptionalParams + ): Promise; +} diff --git a/sdk/machinelearning/arm-machinelearning/src/pagingHelper.ts b/sdk/machinelearning/arm-machinelearning/src/pagingHelper.ts index d85fc13bce1e..269a2b9814b5 100644 --- a/sdk/machinelearning/arm-machinelearning/src/pagingHelper.ts +++ b/sdk/machinelearning/arm-machinelearning/src/pagingHelper.ts @@ -13,11 +13,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { 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"